A Xiaomi Pad 6 tablet port from verdanditeam

there’s nothing to be done from my side, I’ve already done my part

1 Like

Smaller tablet for just €79.

1 Like

Feel free to port it but it’s quite off-topic at this point

Also also, I understand that you might not be familiar with sfos requirements but trust me when I tell you it’s not that simple, and the tablet has been picked after careful consideration, talking over with multiple people who are “in the know” and more variables have been considered than you’re aware of it’s not just “x tablet for x price” because if you do it that way you get trash xperia ports like official ones. And I say our pick paid off so well, everything is working except for pen and stuff jolla has yet to fix

1 Like

In the conversation above people were asking for a smaller cheaper tablet, and that is what Honor Pad X7 is. Obviously you are the one capable of creating a working port, which is great. Thats all.

3 Likes

BTW guys, since I bought the pen and if I get it to work, you might be tempted to buy one too so watch out. There’s multiple versions of the pen and one is for china, mainly if it has 3 buttons its china. For now, and I’m not sure if its correct, the BHR7237GL model seems to be correct one, contrary to BHR7237CN which by the CN sounds lot like china while the other being global. @armorica helped me a lot with the info about pen

7 Likes

Okay so i checked out GitHub - styluslabs/Write: Cross-platform app with unique features for editing and organizing handwritten notes as I was hoping that it would be simple to port and it would be… if it SUPPORTED WAYLAND. But it doesn’t, it relies on xinput. Maybe you could write appropriate code to send it the events but i can’t be bothered

2 Likes

The stylus is sweet to hold, looks sweet, and its being held nicely. There’s one tiny change needed in kernel to enable it permanently (or just use setprop) and it works flawlessly.

Now, that doesn’t mean it works works, I am yet to debug why in fact it doesn’t work. The pen is sending events so hardware side is a-okay, byt theres something wrong in Qt cause its getting events and doing nothing with them. If I fix the pen that will be last thing to fix.

Also thanks to everyone who donated mone cause this thing is insanely ovepriced and I would’ve never bought it otherwise.

12 Likes

Double tap 2 wake is fixed, but its not yet released. I’ll add it to packages when i fix the stylus

7 Likes

Ok turns out buying pen was giant waste of money

So to summarise what I’ve learned. Netiher lipstick, sfos’s qtwayland, or qt support tablet. all was implemented in qt5.15

To be more precise, qt5.6 does support tablet events but only in qtwidgets and qtwidgets apps do not integrate with sfos at all no rotation, no scaling nothing. But also you cannot have lipstick send you events through wayland tablet v2 protocol because it is simply not implemented. Qt and lipstick currently just discard tablet events. You could maybe backport tablet v2 implementation into qtwayland so that apps actually receive tablet events but still, qml won’t be aware of them. You might say “ok then use the qt5.15 build that someone did” it also doesn’t integrate into sfos so you achieve exactly nothing. But if you feed evdev events directly into the app you can react to them.

So its purely theoretically possible to write qml sfos app for tablet drawing but I am not doing it. I have enough on my plate. And lets be honest if I don’t do it, nobody will.

So while pen does work, there’s no software support/app for it.

4 Likes

I was bored and very tired and decided too cook up world’s worst note taking app

15 Likes

Alright i included dt2w fix + some fixes for tablet like remapping upper button to function as an eraser. I did try to get battery as kernel driver supposedly has that value but when dumping it it was just 0 all the time.

zypper ref; zypper dup; reboot # and pray your device still boots

edit: whoop hold on, i think I broke audio

edit2: fixed. when you reboot it might not boot but just hold power button and it will boot just fine

6 Likes

Okay so apparently update doesn’t update the kernel, despite it working on all my other ports it doesn’t seem to work (see the it doesn’t reboot itself part) which is gonna be pain to debug

for now after you update do as root

/usr/sbin/flash-partition boot /boot/hybris-boot.img
/usr/sbin/flash-partition dtbo /boot/dtbo.img
/usr/sbin/flash-partition vendor_boot /boot/vendor_boot.img

to flash kernel

7 Likes

Update guys

beside having to connect charger after booting for suspend to work, do not limit charge amount in settings. It permanently breaks suspend.

If you did, the only fix for now is reinstall

2 Likes

Hi guys. I’m curious if this port supports Waydroid. After all it’s a tablet and I would like to have access to some android apps. Thank you in advance)