Search This thread
OK, yeah OTG doesn't seem to work on my Oneplus 5t with POST MARKETS so I can't use keyboard or mouse with it. It's not very usable on that phone unless I somehow remote through my desktop some way. SSH or something maybe. At that point it would be a glorified small screen, maybe it could show stats of my PC somehow. I'm trying to find a way to make that phone useful, it feels like a waste having a good computer/phone that could be made useful somehow.

With the Pad 5 I'm stuck with MIUI for now altho I've rooted it, it would be fun to install an actually good Android on it. I'm not a big fan of MIUI, it's not awful but it could be better.

I've never run a GSI on it but are those bad or something? ROMs are so specific to the specific hardware so I bet we won't see much development for custom ROMs for this one unless I somehow learn how to port another Android ROM to it and I'm no programmer(But I want to learn). I'm very tech savvy, I daily drive Arch Linux but unless I follow a speicifc guide on building software I'm kinda out of luck atm. At least with my current level of technical knowledge.
As far as i can understand OTG do not work yet on qcom devices in mainline, but i am not sure, my poco f1 does not have otg, neither my lavender, actually it seems that are only device-mode (peripheral-mode) capable, not host or dual role. Probably a bluetooth keyboard should do.

Yeah, MIUI is not the OS that i like either, everywhere commercials, i paid for that device, was not free..... and that carousel is driving me crazy....

I don't know anything about those GSI images unfortunately, and probably will take a while for a lineageos to be available
 
Last edited:
  • Like
Reactions: SivaMaxwell
I deleted most of the bloat when I wasn't rooted and now that I'm rooted, I've deleted more of the apps that has ads in them because I don't want that, there's plenty of free open source-apps with no telemetry and ads in them that I use instead.

How come OTG doesn't work? It works on MIUI and on my Oneplus 5t and my new Xiaomi POCO F3(running EvolutionX, amazing ROM BTW) OTG works but those are also Qualcomm chips. But I'm no hardware expert tho.
 
Unfortunately charging and/or monitoring do not work yet, i have ported the charging chip driver, but is not able to read the battery status yet, and usb does not work for charging either at this point
I admire your amazing work ethic, keep it on! I dont wanna brick my device but I assume if you get that charging working Id def consider being your Guinea-pig/beta-tester.

Ive tested a GSI-ROM on this tablet and it was fine, but linux on an Arm-tablet is sooo damn appealing to me.
 

zhxt

New member
Aug 16, 2021
3
1
Thank you, unfortunately the pro version has a totally different CPU and this version will not work, however, the source code will help to understand what i did and maybe others can start from there
yeah, I know, I had got a ssh connection on enuma with nothing displayed on screen. Is there any link of the source code I can get?So I can give it a try, thanks a lot!
 
It is very cool. I sometimes use pmos on 1+6.
Nabu can run phosh or gnome de?
And 1+6 has perfect dualboot with split userdata (userdata_a/_b). We can make dualboot too? Ex crdroid 8.8 and pmos?
Right now i have triple boot, MIUI android on boot_a, pmos and windows on boot_b depending on what boot.img you write on boot_b or load with fastboot, pmos and windows have different partitions as i did repartition the storage and used 50% for android (64gb) and the rest in two new partitions for Windows and PostmarketOS.
In the near future i will create a boot loader to have a real triple boot upon reboot.
Nabu as of now can run phosh as the GPU, panel and brightness are working, however, i didn't tested phosh, i am using plasma desktop which is more appropriate for a tablet.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    I have a bit of progress as mentioned on post #1, bluetooth, gpu, panel and brightness are working now.
    Basically sound, sensors, cameras and not the last power/battery management remained.
    In regards to the power is still WIP, with just a bit of success and still a lot to do.
    4
    I started to port pmos from an existing device that has a similar CPU, xiaomi cepheus, ported the work of Alexei Min, modified the configs and dts until i had something on screen, from there it was a progression of stuff, making ufs tro work and able to boot from device itself, making usb to work as a network adapter and have access to system messages, then make wifi to work, etc, the, migrating all work to latest available kernel, now i think i am 60% done with PMOS port to nabu. but the most important stuff yet to come, the battery
    4
    wow that is so cool, are the drivers for those functions not open-source? I see that often with other devices these functions are partly working(or not at all). Amazing to hear your progress with this! Looking forward to hearing more in the future. I would love to hear more details on struggles with porting PMOS to this tablet.
    Good work!
    All the drivers are opensource and are ported from downstream android kernel (vendor kernel), except panel driver which is extracted from vendor dts. Probably a kernel developer can make this more easy, but to me is fun and learn a lot during the process. While porting a driver you find that the driver has dependencies on other drivers or headers from old kernel, which should be ported either, each new dependency lead to another one and so on, to solve each issue along you need to compile the kernel, operation that sometimes require full recompilation of the kernel, imagine to compile the kernel "100" times.... on a reasonably good computer a full compilation can take around 10 minutes, at least on my i7-12700H with 16GB ram, on my old computer a full compile took approx 30 minutes... the struggle is with time afterall, and with differences between old kernel and the new kernel as som existing functions changed over time, most of them have more or less parameters.
    3
    It is very cool. I sometimes use pmos on 1+6.
    Nabu can run phosh or gnome de?
    And 1+6 has perfect dualboot with split userdata (userdata_a/_b). We can make dualboot too? Ex crdroid 8.8 and pmos?
    Right now i have triple boot, MIUI android on boot_a, pmos and windows on boot_b depending on what boot.img you write on boot_b or load with fastboot, pmos and windows have different partitions as i did repartition the storage and used 50% for android (64gb) and the rest in two new partitions for Windows and PostmarketOS.
    In the near future i will create a boot loader to have a real triple boot upon reboot.
    Nabu as of now can run phosh as the GPU, panel and brightness are working, however, i didn't tested phosh, i am using plasma desktop which is more appropriate for a tablet.
    3
    I would like to see the work of pmos even at this stage. (I once tried to use PMOS on Nexus 10, but gave it up and bought a T550). I mean, some devices do not even have the same functionality that nabu has now. And it's very cool.
    And then is another work to be done, make the stuff public :) at this stage, without power/battery management, is very risky, it is easy to loose time and get your battery empty, it happened to me and with the fast charger took a lot to recover, initially i thought that i did something wrong that bricked the tablet, well, after an hour in the charger started to display the empty battery icon.
    Due to this reason, i am afraid to publish the source of my work and delay this until at least the battery status will work, i see that all pmos developers publish their work as is, but i know how easy is to destroy a lipo battery so i try to avoid this by not publishing the source.
  • 21
    [UPDATE 11 Sep 2022]
    - mainlined to 6.0-RC4
    - GPU is finally working
    - panel and brightness is working
    - bluetooths is working

    [UPDATE 2 Jul 2022]
    - mainlined to the latest available kernel, 5.19.0-RC4
    - WiFi finally works
    nabu.wifi.ok.jpg

    Hello,

    I have successfully ported PostmarketOS to my Xiaomi Pad 5 tablet.
    pmos.working.touch.jpg

    I have fixed SPI touchscreen and currently boot from B slot, on A slot is still Android (dual boot)
    WiFI do not work yet and the network is provided via USB, as the ssh access on the tablet too.

    # here you can find the official page for this device
    PostmarketOS Xiaomi-nabu page

    I will keep you posted about the progress.

    Best regards

    M
    7
    I have a bit of success here, WiFi finally works, see post #1 for a nice image.
    7
    It's bluetooth, as well as the Smart Pen, but they don't work in non-stock... GSIs, for exemple
    Thanks for the info, if are bluetooth and if i will make the BT work then for sure I will find a way to make them work, will be a bit difficult to test as i do not have the keyboard or the pen and are a bit expensive....
    There is just a matter of time to make the already ported touchscreen driver from downstream to mainline to have the pen working, in regards to the keyboard that should work directly (without charging) the pogo pins probably have a hall sensor to activate the power output to charge the keyboard when connected, the same should exists on the other side for pen, but those are far away on my development scale, as right now i am trying to bring up the multi touch gestures and prepare a release, as the wifi works, even without GPU the tablet is usable as a Linux device already.
    6
    I have created the official device page, is not ready yet, but a start
    PostmarketOS Xiaomi-nabu page
    6
    Bro can you port Ubuntu touch please as using it in tab will replace my laptop needs and helps many people
    If i am able to successful port the PostmarketOS then next project will be to port Ubuntu 20.04LTS not Ubuntu touch.