Search This thread

ClearStaff

Member
Mar 21, 2015
24
28
I don't think that there is any potential issue to brick your device, yet altering the internal storage is something to be careful, at least do backups of your data.
No audio yet, only over bluetooth, seems stable enough, but yet not perfect, power management do not work properly and from time to time may crash. It seem that Chromium web browser performs better, i never throughly tested anything as i am currently working to fix things around.
I found out that some graphical glitches can be fixed by building newest mesa from sources with different build config (forcing different GL driver, gallium or zink and i cant check now which one because im out for a week, seems broken on nabu for now)
 

ClearStaff

Member
Mar 21, 2015
24
28
Marc, i added you to my arch / kupfer project on GitHub if you want you can check that out :) Already uploaded kernel and device PKGBUILDs (but with mapv220 kernel's as source until i push my kernel trees, or we find a way to fix power management / panel issue on yours more recent kernel).

As for other users or "testers", its not even ready to be tested by normal users to please don't bother trying, i'll let everyone know when it will be something useful :) For now have patience for us :)
 
  • Like
Reactions: serdeliuk
Marc, i added you to my arch / kupfer project on GitHub if you want you can check that out :) Already uploaded kernel and device PKGBUILDs (but with mapv220 kernel's as source until i push my kernel trees, or we find a way to fix power management / panel issue on yours more recent kernel).

As for other users or "testers", its not even ready to be tested by normal users to please don't bother trying, i'll let everyone know when it will be something useful :) For now have patience for us :)
Thanks, I am hyper busy in the next few weeks, but hopefully I will find a few hours to test. I think map220v kernel has the same issues with power management, as soon as a bit of power is added then the panel becomes in some cases unavailable, that's why I disabled that in UI. I think that the issue in the panel driver/port but didn't dig too much, probably missing some functions.
 

ClearStaff

Member
Mar 21, 2015
24
28
Thanks, I am hyper busy in the next few weeks, but hopefully I will find a few hours to test. I think map220v kernel has the same issues with power management, as soon as a bit of power is added then the panel becomes in some cases unavailable, that's why I disabled that in UI. I think that the issue in the panel driver/port but didn't dig too much, probably missing some functions.
That's not a pressing issue, i can disable PM for now on my PKGBUILD, im more interested into getting in touch with KupferOS team and adding proper support for a device to their tooling, and then we can iron out bugs, having device supported by more than one OS greatly increases our chances of having proper Linux support for nabu :)
 
  • Like
Reactions: serdeliuk
That's not a pressing issue, i can disable PM for now on my PKGBUILD, im more interested into getting in touch with KupferOS team and adding proper support for a device to their tooling, and then we can iron out bugs, having device supported by more than one OS greatly increases our chances of having proper Linux support for nabu :)
Are there any issues with touch driver? map220v driver works, mine too. The pen is not yet implemented. ah getting in touch, not getting the touch :))))
 
  • Like
Reactions: occupied_username

ProfessorSparrs

Senior Member
Nov 23, 2021
51
28
OnePlus 5T
OnePlus 8 Pro
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.
 
At some point i will purchase a xiaomi keyboard too, but for now is not working for sure. You can try to install a virtual BT keyboard on your phone and use your phone as a BT keyboard i think this is the one https://play.google.com/store/apps/details?id=io.appground.blek
I found this touch/keyboard android app too https://play.google.com/store/apps/details?id=com.github.roarappstudio.btkontroller which is opensource either https://github.com/raghavk92/Kontroller

Those apps allows you to use your android phone as a BlueTooth keyboard and mouse on your tab, or toher device.
 

ProfessorSparrs

Senior Member
Nov 23, 2021
51
28
OnePlus 5T
OnePlus 8 Pro
I was gonna ask if there was progress, also if this project Ever will be open sourced so maybe others could help out and port this awesome project to full functionality . Ive been thinking to try this out, altho I really doubt its daily driver-ready for me though, its quite an extensive process to install this thing , and I really have issues with this project not being open sourced yet..
 
  • Like
Reactions: serdeliuk
I was gonna ask if there was progress, also if this project Ever will be open sourced so maybe others could help out and port this awesome project to full functionality . Ive been thinking to try this out, altho I really doubt its daily driver-ready for me though, its quite an extensive process to install this thing , and I really have issues with this project not being open sourced yet..
It is already opensource, you can find all my patches on github, please see post #1
 
if open-source means no source code available in your repos, Ive checked , then its super FOSS. you do u. I aint gonna use this, it's a trust issue imho.
Can you please clarify your issues? The full source code of my mods is public, in my last update of post #1 is a link to my patches. You can use those patches to build your own kernel. Is there something that I am missing?

Please check the link in the following quote from my port #1, after you click the link check the releases section of the repo......
- Latest stable mainline kernel 6.1.10 for xiaomi pad 5 (nabu) patches are now available
 
Testing downstream kernel, it seems to work flawless, i have FULL USB working, including charger sense and proper battery reporting.

working.usb.jpg
 

Tryanks

Member
Sep 15, 2022
13
14
I haven't had time to continue participating in this thread until recently, and I'm glad to see the numerous advances that have been made in that time.
I would like to try this mirror, but I've been through too much with my tablet before this time. This resulted in its partition table being unknown to me, especially since the splash partition was moved by an automated tool.
Is there any way to recover my partition and clear my WOA?
 
  • Like
Reactions: serdeliuk
I haven't had time to continue participating in this thread until recently, and I'm glad to see the numerous advances that have been made in that time.
I would like to try this mirror, but I've been through too much with my tablet before this time. This resulted in its partition table being unknown to me, especially since the splash partition was moved by an automated tool.
Is there any way to recover my partition and clear my WOA?
What kind of issues you had with your partitions? I have created a How TO thread that explains how to resize/re-partition the nabu storage
Resize internal storage on Xiaomi Pad 5 (nabu) and install PostmarketOS Preview
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Moderator announcement

    This thread provides no kernel or ROM. I have deleted the GPL discussion as off-topic.

    regards
    alecxs
    XDA moderator
    2
    Without being sarcastic I think you have a wrong idea about what is OpenSource and what is Code, my CODE is OpenSource and the source code of my work is public. I have published only my modifications, the rest is not mine.

    OTHER people already take advantage of my OpenSource CODE and they already ported ArchLinux, based on my CODE.

    As far as I can see your complain is about that I provide patches instead of regular kernel repo, I explained the reason already, I do not intend to maintain a kernel repo, please clone the official kernel repo, apply my patches and publish your own version if you think this is better.

    If you do not know how to apply those patched you can ask this, it is easy, please see the following steps.

    Create a temporary folder
    Code:
    mkdir -p ~/nabu-kernel

    Change to that folder:
    Code:
    cd ~/nabu-kernel/

    Download the official Linux kernel
    Code:
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.10.tar.xz

    Download my patches
    Code:
    wget https://github.com/serdeliuk/xiaomi-nabu-sm8150-mainline/releases/download/6.1.10/xiaomi-nabu-sm8150-mainline.6.1.10.tar

    Extract archives
    Code:
    tar -xf linux-6.1.10.tar.xz
    tar -xf xiaomi-nabu-sm8150-mainline.6.1.10.tar

    And apply patches
    Code:
    cd linux-6.1.10/
    for p in $(ls -1 ../*.patch); do patch -p1 < $p ; done

    Now, your folder linux-6.1.10 contain the patched kernel for Nabu, you can create your own GitHub repo and upload that folder and play around.
    2
    A couple of off-topic posts, one of which attacked moderation, have been deleted. The moderation team is discussing what if anything needs to be done so the thread is in compliance with our rules and will work directly with the OP if needed. Please keep the discussion on topic; I'll be subscribing to the thread to make sure everyone remains civil. If you have any questions, please feel free to send me a PM.

    Thanks,
    coal686
    Senior Moderator
    Developer Relations Team
    1
    I plan to use your kernel (from post #1).
    If we have a working kernel, then in principle we can run any linux distribution further by creating rootfs, which is not a problem.
    I think we need to deal with initrd.
    There is also an experience of running grub on our device.
    There are a few bootloaders that may work, you need to search for them.

    In regards to the kernel is not enough alone, the kernel alone is useless without the kernel drivers, some of the drivers may be compiled in, others are on system partition, some may be included in initrd (ramdisk) you may need to properly study this reading a lot of docs, I suggest you to start with UBports docs, are the most complete and very well documented.
    1
    Hello! Have you created patches based on the open source android kernel for our device?
    Indeed, I have ported android drivers from downstream/vendor kernel to linux kernel.
  • 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 (include defconfig), check release section.
    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.