Search This thread
Do you have any image? I can't wait to test!
Hi, thanks, not yet, as you can see from post #1 XDA requirements are quite strict when comes to ROM development, which on the bright side that is really fine, so, i need to prepare the source of my mods in order to be able to provide a test image, this will add a bit of delay, hopefully by the end of the week i will have all done.
 
Hello, can you explain what are your kernel modules for ?
Kernel modules are device drivers, if you read the post #1 you will see the progression of making things working, as usb, wifi, bluetooth, gpu, panel, brightness, and battery, there is still a lot of work to be done, but at least at this stage the tablet can be used safely without ruining the battery.
 
Kernel modules are device drivers, if you read the post #1 you will see the progression of making things working, as usb, wifi, bluetooth, gpu, panel, brightness, and battery, there is still a lot of work to be done, but at least at this stage the tablet can be used safely without ruining the battery.

I know what kernel modules are. And I read the #1 post, even if only the top post/edit this time...

I was specifically asking what YOUR modules (those you mention in post #1) are for. I wanted to know what HW those modules/drivers are handling.

I guess you answered that with: "usb, wifi, bluetooth, gpu, panel, brightness, and battery".

Thanks
 
I know what kernel modules are. And I read the #1 post, even if only the top post/edit this time...

I was specifically asking what YOUR modules (those you mention in post #1) are for. I wanted to know what HW those modules/drivers are handling.

I guess you answered that with: "usb, wifi, bluetooth, gpu, panel, brightness, and battery".

Thanks
I am afraid i am not following, is not very clear what they do from post #1? For example the first thing posted there is about touchscreen is not clear what the post want to say? Then I fixed the wifi, if for the touch was required to port the chip nt36523 touch driver from downstream kernel, for wifi only firmware files were required to be added, however, any new driver/module requires DTS entries. Then I started to work on battery status that require a few kenel modules to be ported, unfortunately there are too many changes to be explained here, but worth to mention following kernel modules
- ln8000 charging chip driver
- bq2597x charging chip driver
- power delivery driver (PD)
- step charging driver
- nabu smb5 driver
- pmic voter
etc.....

For GPU and panel i used map220v mods extracted from his kenrel
For backlight i used the KTZ8866 ported by Jianhua Lu (from map220v repo too, as was quicker)

All will be more clear when the source code will be released, as I will release patch files to let others easily upgrade the kernel and migrate all mods to latest stable if they want or get inspiration from my mods for their new device porting
 
Last edited:
Hi, can you drop kernel patches (in any form you can, even in pmos APKBUILD) later? I'm porting Arch Linux for nabu, but while i can make userspace works flawlessly i'm still using mapv220 kernel because i know nothing about Linux kernel programming.
The kernel 6.1.10 patches are now available for download. Please see post #1
 

aznd

Member
Oct 7, 2020
9
5
Xiaomi Poco X3 NFC
is there some different virtual keyboard to use? there are no arrow buttons or a tab button and typing in a terminal without that is really painful
also, is something like auto rotation possible?
edit: also, the pen is not working even if connected via bluetooth. would be nice if it would work
 
  • Like
Reactions: serdeliuk
is there some different virtual keyboard to use? there are no arrow buttons or a tab button and typing in a terminal without that is really painful
also, is something like auto rotation possible?
edit: also, the pen is not working even if connected via bluetooth. would be nice if it would work
The only viable on screen (virtual) keyboard is the one that i installed, you can try other ones too, they have a special page for this https://wiki.postmarketos.org/wiki/Input_methods

Auto rotation is not yet available, yet you can rotate the screen from settings.

Thanks for the info in regards to the pen, i suppose that pen charging does not work either, unfortunately i do not own one and i am not able to make it to work. I suppose that you do not have an original keyboard to let us know if works.
 

aznd

Member
Oct 7, 2020
9
5
Xiaomi Poco X3 NFC
The only viable on screen (virtual) keyboard is the one that i installed, you can try other ones too, they have a special page for this https://wiki.postmarketos.org/wiki/Input_methods

Auto rotation is not yet available, yet you can rotate the screen from settings.

Thanks for the info in regards to the pen, i suppose that pen charging does not work either, unfortunately i do not own one and i am not able to make it to work. I suppose that you do not have an original keyboard to let us know if works.
will have a look at the other input methods, thanks.
yeah, i dont have an original keyboard
 
  • Like
Reactions: serdeliuk

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    I think i'll upload PKGbuilds in a few days. A little teaser for you.
    IMG_20230303_174621_50.jpg
    5
    Let the fun begin....
    1677700121581.png
    4
    A bit of progress
    1677967825001.png
    2
    so Ive used Alpine Linux and PMOS in the past, will I feel this works pretty much as running it on Raspberry Pi or my phone ? Im a bit bored , and as long as I can't murder my tablet like Ive done to my Oneplus 8 Pro(seems to be 99.99% bricked, zero life) this sounds..possible. Necessary ? Maybe not. But Im a connoisseur of putting my time, sweat and tears into not necessary things :D.
    2
    Upgrade, nothing new or extra, yet latest stable.

    1677894336116.png
  • 40
    [UPDATE 08 Feb 2023]
    - I am using official linux kernel Linux-6.1.10
    - Preview images are available for download xiaomi-nabu-pmos-preview.6.1.10.tar.gz
    - The GUI user/pass are the standard PMOS ones
    1. user: user
    2. pass: 147147
    - Use the info from this thread about how to resize your internal storage and flash preview images
    1. Resize internal storage on Xiaomi Pad 5 (nabu) and install PostmarketOS Preview
    - Latest stable mainline kernel 6.1.10 for xiaomi pad 5 (nabu) patches are now available
    1. Touch pad takes 80 seconds to initialize at boot time, you may need to wait for it.
    2. Battery status does not work yet, i have placed a bash app that can collect battery status from dmesg, you have a shortcut on desktop, do not keep the app open, will drain battery.
    _______________________________
    Donate a coffee to support development:
    Donate via PayPal to serdeliuk



    [UPDATE 23 Jan 2023]
    - XDA staff is pushing me to provide kernel source waving the linux kernel's GPL OpenSource license.
    I am using the latest stable linux kernel which can be found here linux-6.1.7.tar.xz
    - I am using as well some mods made by others which are put together by map220v and this kernel may be found here sm8150-mainline
    - As anyone may know kernel modules/drivers can be closed source and my kernel modules will remain as such until i decide that i am ready to make them OpenSource.

    JUST TO BE NOTED, I DIDN'T PROVIDED YET ANY ROM OR BINARY KERNEL, SO I AM NOT BOUND TO ANY GPL

    [UPDATE 20 Jan 2023]
    - Mainlined to the latest kernel 6.2-rc4
    - Created the HowTo Resize internal storage on Xiaomi Pad 5 (nabu) and install PostmarketOS Preview
    - Preparing the preview images, please check https://github.com/serdeliuk/xiaomi-nabu-postmarketos

    [UPDATE 17 Dec 2022]
    - Fixed battery charging, now battery is charging as well, on slow speed.
    Yet the battery indicator still do not work properly

    [UPDATE 22 Oct 2022]
    - finally working battery status
    1666434328506.png

    1666436173168.jpeg


    [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
    10
    I have a bit of success, finally working battery status as you can see on images updated on #1 post
    9
    I have created the official device page, is not ready yet, but a start
    PostmarketOS Xiaomi-nabu page
    9
    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.
    8
    I have a bit of success here, WiFi finally works, see post #1 for a nice image.