Search This thread

ClearStaff

Member
Mar 21, 2015
24
28
I think i'll upload PKGbuilds in a few days. A little teaser for you.
IMG_20230303_174621_50.jpg
 
Hi everyone,
few things i did for desktop experience
upgrading..
sudo apk update
sudo apk upgrade

Anyone who wants to try gnome for complete desktop experience can run below command

sudo apk add postmarketos-ui-gnome

After it is installed, you can can logout and login in gnome(wayland) session,

For installing chromium
sudo apk add chromium

Chromium works better than firefox, you can watch youtube etc , on firefox audio and video also lags

for adding jdk 17 below command
sudo apk add openjdk17

for installing node
sudo apk add nodejs

intellij idea i downloaded for programming, uses java which we configured before

Attaching pics for some of the customisations i did and tested few development things
I see on your images as well the sound icon, and you say that sound works, do you use my patches, on which kernel version?
 

ProfessorSparrs

Senior Member
Nov 23, 2021
51
28
OnePlus 5T
OnePlus 8 Pro
wow this is crazy seeing much progress since I last checked in here. Is charging still not working ? what other things aren't working atm? Man, my dream is to have REAL actual Linux on this Pad 5 Im typing on atm. Man, I wish I could help out somehow !
 
wow this is crazy seeing much progress since I last checked in here. Is charging still not working ? what other things aren't working atm? Man, my dream is to have REAL actual Linux on this Pad 5 Im typing on atm. Man, I wish I could help out somehow !
Charging is working now (slow charge), battery status does not works yet via battery icon, to get the battery percent there is a script that read the dmesg logs.
 

ProfessorSparrs

Senior Member
Nov 23, 2021
51
28
OnePlus 5T
OnePlus 8 Pro
is it possible to hardbrick my Pad 5 if I try this out? I consider myself EXTREMELY experience now with flashing and modding Android devices , but I like one week ago 99.99% hardbricked my new Oneplus 8 Pro, probably by flashing the wrong RAM-image to it.. so much money, just down the drain. Anyhow, Im weary about things even more so now than before this tragedy I created. Im still interested in tryin this custom ROM out when Im well rested. How functional is it? audio? stability and so on? This tablet is Perfect to run Linux on imho, would be so awsm to be able to do so.
 
is it possible to hardbrick my Pad 5 if I try this out? I consider myself EXTREMELY experience now with flashing and modding Android devices , but I like one week ago 99.99% hardbricked my new Oneplus 8 Pro, probably by flashing the wrong RAM-image to it.. so much money, just down the drain. Anyhow, Im weary about things even more so now than before this tragedy I created. Im still interested in tryin this custom ROM out when Im well rested. How functional is it? audio? stability and so on? This tablet is Perfect to run Linux on imho, would be so awsm to be able to do so.
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.
 

ClearStaff

Member
Mar 21, 2015
24
28
is it possible to hardbrick my Pad 5 if I try this out? I consider myself EXTREMELY experience now with flashing and modding Android devices , but I like one week ago 99.99% hardbricked my new Oneplus 8 Pro, probably by flashing the wrong RAM-image to it.. so much money, just down the drain. Anyhow, Im weary about things even more so now than before this tragedy I created. Im still interested in tryin this custom ROM out when Im well rested. How functional is it? audio? stability and so on? This tablet is Perfect to run Linux on imho, would be so awsm to be able to do so.
If you follow serdeliuk guide on a unmodified mi pad 5 without altering it bricking shouldnt be possible, just don't touch other partitions than userdata, also for op8 pro, i fixed my bricked oneplus device once with EDL mode, check on 8 pro forums if that is possible
 
  • Like
Reactions: serdeliuk

Top Liked Posts

  • 1
    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
  • 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.
    1
    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?
    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.