[WIP] Linux 3.x port - Galaxy Tab Android Development

First thing - made the new thread just because i felt the kernel port was hijacking the CyanogenMod threads.
This thread to collaborate all efforts towards porting linux kernel 3.x. If any developers wish to help then please let us know, the more the merrier.
Do not ask for an ETA. If you do or try to cleverly disguise it by asking how long it takes on average or anything along these lines, your post will be reported to a moderator, and you'll probably go on a vacation from xda.
Source :
https://github.com/CyanogenMod/android_kernel_samsung_p1/tree/android-samsung-3.0 [aries tree atm]
http://review.cyanogenmod.org/25524 [current p1 patch]
Developers :
cdesai
humberos
koxudaxi
Why Do We Need Kernel 3.x
Easier updating the kernel to add security and performance boosts from mainline Linux kernels.
More support for new versions of Android.
No moar Samsung code.
Because it's just better.

Status:
Most of the code needed for gsm variants has been ported over, it doesn't boot yet though.
Without any way to debug it currently, we're sort of stuck here.
More info later.

For interested developers:
Initialize CyanogenMod source (https://github.com/CyanogenMod/android/blob/jellybean/README.mkdn#getting-started)
In the source directory, run
Code:
. build/envsetup.sh
cd kernel/samsung/p1
git checkout github/android-samsung-3.0
Next, get the latest patch from http://review.cyanogenmod.com/25524, and apply it to the tree using any method you prefer.
Compile the kernel with:
Code:
mka bootimage
If the kernel build fails, run:
Code:
make -j1 bootimage
Use pastebin for logs.
Flash the compiled boot.img with heimdall.
Code:
heimdall flash --kernel $OUT/boot.img
^after booting the tab into download mode, and successful compilation.

P.S. Please keep this thread clean, and i'll be editing the other posts to include the stuff mentioned.

Oooooooooooooooooooooooo
Power management and battery life should get better with a 3.x kernel correct?
Sent from my GT-P1000 using xda premium

U boot like the nook color?

slimdizzy said:
Oooooooooooooooooooooooo
Power management and battery life should get better with a 3.x kernel correct?
Sent from my GT-P1000 using xda premium
Click to expand...
Click to collapse
Not a big improvement, but yea it'll be better.
YoshiFan501 said:
U boot like the nook color?
Click to expand...
Click to collapse
Not really, B&N had their own fork of u-boot and they posted sources, while this is a port from the DAS U-Boot sources.

Anyone got one of this?
http://forum.xda-developers.com/showthread.php?t=1010314
I'ld make one but the solder points on the cable are really tiny, and i have to admit, it(soldering) is something i'm not at all good at.
If anyone has one, and would like to help me test, it'ld be nice.
Or if someone can send me one, it'ld be awesome!

i just compiled and flash kernel 3.0 following the instruccions but Kernel Version is still showing 2.6.35.13. Cheers.

bravokylee said:
I failed to install it: status 7.
Click to expand...
Click to collapse
You sir are awesome!
juanpirulo said:
i just compiled and flash kernel 3.0 following the instruccions but Kernel Version is still showing 2.6.35.13. Cheers.
Click to expand...
Click to collapse
Nope you didn't.
It doesn't boot yet, and you probably missed the checking out the 3.0 branch part.
Sent from my GT-P1000 using xda app-developers app

yep i missed that part. Thank you sir

3.x Kernel was released for Galaxy S devices. Could this help to force developement on 3.x Kernel for Galaxy Tab?
Heard no news for month at this thread...

elvitas said:
3.x Kernel was released for Galaxy S devices. Could this help to force developement on 3.x Kernel for Galaxy Tab?
Heard no news for month at this thread...
Click to expand...
Click to collapse
Wasn't it released for Galaxy S Plus ? Then again I could be wrong

elvitas said:
3.x Kernel was released for Galaxy S devices. Could this help to force developement on 3.x Kernel for Galaxy Tab?
Heard no news for month at this thread...
Click to expand...
Click to collapse
3.x kernel will be able to work on Galaxy Tab... but , we must write a few code for only Galaxy Tab.
I and other developers are trying to port for 3.x kernel.
Please wait ...

S Plus kernel won't help, Galaxy S kernel has helped us though, that's what the current port is based on.
I've recently merged the aries tree, and done some cleanup of the code.
But , it's not booting yet. and without a serial cable there's no way we can debug it currently.
So, if anyone has one [ http://forum.xda-developers.com/showthread.php?t=1010314 ], do let us know.
We'ld be happy to send you kernels to test, and you can get us logs.

cdesai said:
S Plus kernel won't help, Galaxy S kernel has helped us though, that's what the current port is based on.
I've recently merged the aries tree, and done some cleanup of the code.
But , it's not booting yet. and without a serial cable there's no way we can debug it currently.
So, if anyone has one [ http://forum.xda-developers.com/showthread.php?t=1010314 ], do let us know.
We'ld be happy to send you kernels to test, and you can get us logs.
Click to expand...
Click to collapse
i just made dock-to-serial adapter for debugging the kernel !!
i can watch boot loader messages by the adapter
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

koxudaxi said:
i just made dock-to-serial adapter for debugging the kernel !!
i can watch boot loader messages by the adapter
View attachment 1453572
Click to expand...
Click to collapse
That's great
I have some changes to mach-p1 to bring it inline with aries which I'll upload later today.
Btw, Ping me on gtalk when you're online.
Sent from my GT-P1000
EDIT: updated, http://review.cyanogenmod.org/25524

Could this be made to work pin the WiFi model
Sent from my GT-P1010 using Tapatalk 2

cdesai said:
That's great
I have some changes to mach-p1 to bring it inline with aries which I'll upload later today.
Btw, Ping me on gtalk when you're online.
Sent from my GT-P1000
EDIT: updated, http://review.cyanogenmod.org/25524
Click to expand...
Click to collapse
so.. is debug started?
there is now a real hope to see 3.x kernel run on our p1000?

Franzferdinan51 said:
Could this be made to work pin the WiFi model
Sent from my GT-P1010 using Tapatalk 2
Click to expand...
Click to collapse
hi, Franzferdinan51
I don't know that the adapter can work with the wifi model .
but, if the wifi model can use an accessory for GT-P1000 (Dock station, video adopter....) then it will work
the best is to find the specifications for pins.
daevoq said:
so.. is debug started?
there is now a real hope to see 3.x kernel run on our p1000?
Click to expand...
Click to collapse
hi, daevoq
the debug is started!!
I can access to the prompt of boot loader by the debug adapter.
And Only watch 3.x kernel debug messages.
3.x kernel is frozen while booting
you can see the kernel messages before the kernel freezes http://pastie.org/5190940

Related

[ROM][4.0.4][MTD] CyanogenMod 9.0.0 | READ : http://goo.gl/rkEeh

Read this, IMPORTANT: http://goo.gl/rkEeh
Code:
** These CyanogenMod builds are highly experimental and unsupported.
**
** If one of this builds bricks your phone, kills your cat or causes
** a thermonuclear war, don't point at us. We'll laugh at you.
** You decided to make this modifications to your Tablet.
**
** Please refrain from submitting bug reports for any issues
** you may encounter while running one of these builds.
**
** Submitting bug reports on experimental builds is the leading
** cause of male impotence.
IMPORTANT NOTES
Click to expand...
Click to collapse
This is a stable Build of the current state of CyanogenMod 9 for the Samsung Galaxy Tab.
CM9 is based on latest AOSP sources plus some useful tweaks and features.
Useful links
Click to expand...
Click to collapse
Known issues, Downloads and Screenshots: Post #2
General Discussion thread : SGT7 General
Developer only post : Post #3 (how to build and more)
What is MTD (for epic, but its the same for all Samsung devices - except the ROM links ofcourse) http://forum.xda-developers.com/showthread.php?t=1387334
Please refrain from submitting bug reports for any build not released by us - report em to whom u got the build from
We'll release new builds when we feel like doing so, although we do keep our sources updated all the time!
The people behind this :
Click to expand...
Click to collapse
angel_666
cdesai
humberos
jt1134
koxudaxi
red_rebel
sbradymobile
eaut
Techomancer
Big thanks to Teamhacksung for all their work on the aries, and for all the help
And Ofcourse - the CyanogenMod Team!
Known Issues + Useful info :
Click to expand...
Click to collapse
USB Tethering won't work in windows (works in ubuntu, untested on OSX)
Internal sd is /mnt/sdcard, and external is /mnt/emmc
USB Host works with a Y cable as the tab doesn't supply power, doesn't with the standard Samsung Adapter for the new tabs.
Downloads :
Click to expand...
Click to collapse
Official Nightlies : http://get.cm/
p1 : http://get.cm/?device=p1 [GSM Tabs]
p1c : http://get.cm/?device=p1c [CDMA Tabs]
Modems :
p1 [GSM] : http://goo.gl/EjHq5 (Flash via CWM)
p1c [CDMA] : http://goo.gl/Dhmjl (Flash via Odin)
READ THIS BEFORE FLASHING
^It's for the epic but it's pretty much the same thing except the ROM links, and the only ROMs having MTD now are CM9 based ROMs - no MTD on GB
Only way to revert to a normal ROM now is flashing a stock Samsung ROM by odin (with repartition checked)
How to Flash the above zips :
You need to restock your tab if you are running an old MTD build, (only if /system isn't 406 mb, check it by the command `df system` or use an app (such as root explorer) )
IF you are coming from a FSR (STL/BML) ROM (aka Samsung ROM - anything else than the latest CM9 builds / AOKP builds, i.e. any GB ROM, no need to restock)
IF you are coming from a froyo ROM, you need to flash a stock GB ROM first, follow the guide below :
Restocking :
Follow the team overcome restock guide [http://www.teamovercome.net/p1000/?page_id=17], and completely restock your tab.
Once you've flashed it, reboot into download mode again and flash any kernel with recovery (any non-MTD kernels from humberos.com.br, or this forum, for your tab model)
After you've flashed the kernel, reboot into recovery, and this time, install the zip you just downloaded from CyanogenMod servers.
Install Google Apps if you want (gapps-ics-* from goo.im) [optional]
Reboot and enjoy your tab
Normal install :
You need to have a kernel with CWM Recovery
Get the zip from the above download links
Put the zip on your sdcard, reboot into recovery, and install the zip
It'll reboot a few times during the install, that's normal
Screenshots :
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DEV AREA NOW
Click to expand...
Click to collapse
Sources :
CyanogenMod : https://github.com/CyanogenMod
SGT7 (based off CyanogenMod sources with a few tweaks of our own) https://github.com/sgt7
All device tress (p1, p1c and p1-common) and kernel tress (p1 and p1c) have been merged into the CyanogenMod tree now, if you want to submit a change/patch, use cm code-review [http://wiki.cyanogenmod.com/wiki/Howto:_Gerrit]
How to get the sources :
Setup Android Build Environment (http://source.android.com)
Code:
mkdir ~/cm9
cd ~/cm9
repo init -u git://github.com/CyanogenMod/android.git -b ics
(Type in your name and email address when asked)
Code:
repo sync
(^^This'll take a while, as ~7GB of sources are downloaded initially)
How to build :
Code:
source build/envsetup.sh
cd device/samsung/p1 ; ./extract-files.sh
brunch p1
Replace p1 with p1c for CDMA variants.
Building may take a long time depending on your machine, might range from a few minutes to many hours
After the build is done, navigate to ~/cm9/out/target/product/p1
The zip you'll be looking for would be update-cm-9.0.0-RC0-p1-UNOFFICIAL-signed.zip
If you want to build just the kernel, type the below commands
Code:
source build/envsetup.sh
make out/target/product/p1/boot.img
If you want just the kernel - u'll get it in the same folder, boot.img
Flash it with heimdall
heimdall flash --kernel ~/cm9/out/target/product/galaxytab/boot.img --recovery ~/cm9/out/target/product/galaxytab/boot.img
^^The above instructions were for building a clean CyanogenMod build for p1, without any changes we did to the sources (mainly frameworks and some apps)
IF you want to build that, sync from https://github.com/sgt7/android.git instead of CyanogenMod, and then build using the same commands
How about enabling Wifi with the wifi fix in the other ICS thread?
Greetings
DaReDa said:
How about enabling Wifi with the wifi fix in the other ICS thread?
Greetings
Click to expand...
Click to collapse
It isnt fixed completely yet!
Allright. Good Luck dude.
You are so awesome cm9 for the tab. No need to buy a new one....
Thanks alot to all dev!
Sent from my GT-N7000 using Tapatalk
will this be cdma and gsm?
good news to hear in OP is written that orientation sensor works. And is gyro sensor working, too?
Jeaaaah!
Sent from my GT-I9100 using xda premium
Can't wait
Sent from my GT-P1000 using xda premium
Thnx for new topic, This looks much better. Other thread is really messed up and unorganized, Thsi should be much better to follow changes/updates etc.
Are you aware of that cheatman has come up with a full wifi fix in the other thread.
micha3lall3n said:
will this be cdma and gsm?
Click to expand...
Click to collapse
I have a GT-P1000, so do other devs, and humberos has a L/N model, so currently only those will be supported (un)officially, but we'll try to have a CDMA version too(its the kernel that needs more work!)
kamelot.sk said:
good news to hear in OP is written that orientation sensor works. And is gyro sensor working, too?
Click to expand...
Click to collapse
No I don't think gyro is working
teacher1960 said:
Are you aware of that cheatman has come up with a full wifi fix in the other thread.
Click to expand...
Click to collapse
No, i wont use his fix
...
jk, i'll contact him, but we were trying to fix it in the kernel itself, and not as a module
humberos released a cdma kernel too
speedysilwady said:
humberos released a cdma kernel too
Click to expand...
Click to collapse
I do know that, but he didnt test it, and so we cannot guarantee if it'll work properly.
Nice work bro.
Put me down as a developer. Still waiting for the repo to sync... hmmmnn.. slow internets. Nearly there.
BTW - how does one go from XDA "Member" to "regognised Developer"?
phearus said:
Nice work bro.
Put me down as a developer. Still waiting for the repo to sync... hmmmnn.. slow internets. Nearly there.
BTW - how does one go from XDA "Member" to "regognised Developer"?
Click to expand...
Click to collapse
Done!
I had to wait for a week for repo to sync, can understand
You need to fill out a form, then the Developer Committee will check if you are really a developer and deserve the position, and if so, they give it to you (although it doesnt really matter if you are not)
cdesai said:
I do know that, but he didnt test it, and so we cannot guarantee if it'll work properly.
Click to expand...
Click to collapse
you have MANY CDMA tab users willing to test
Sign me up as a tester .

[KERNEL][N5] FrancoKernel - r115 - 2nd November - Stock & Oreo

Hi all.
Compatibility:
It should work on any rom by following this logic:
Builds (starting with r65) are Android 5.0 Lollipop only.
Builds (starting with r72) are Android 5.1 Lollipop only.
Builds (starting with r76) are Android 6.0 Marshmallow only.
Builds (starting with r97) are also compatible with Android 7.0 Nougat and Android 7.1 Nougat .
Builds (starting with r114) are also compatible with Android 8.1.0 Oreo.
This does not work with "CAF" roms.
Download:
https://francokernel.app
Installation:
Flash the zip in your recovery
or
Auto-flash from Franco Kernel Updater app
Features:
1 - Legendary battery life
2 - Flash & forget
3 - Typical interfaces like display adjustments, sound control, vibration control, and all that boring stuff
4 - Idle power consumption reduced to the absolute minimum (if you have wakelocks from 3rd party apps you're obviously on your own)
5 - Support for FKUpdater's Performance Profiles
6 - Magical support, I'm here every day, checking posts almost hourly, ready to help anytime (well, unless you fail to read the OP, which contains most info you need)
7 - Seemless integration with my app FKUpdater
8 - No crap placebo patches, or "magical" optimizations
9 - Probably more, check my github for all the details - the code speaks for itself
Changelog:
https://francokernel.app
Scroll down, choose your device & select the latest release to see the changelog.
Source:
https://github.com/franciscofranco/hammerhead
Follow me on the interwebs
Google+
Twitter
Google+ FK community
https://plus.google.com/u/0/communities/117966512071636110546
Kernel Manager for Franco Kernel demo
Disclaimer to moderators:
Slight OT is fine, but when users decide to act stupid they should be dealt with with the appropriate means - its really annoying for me when OT turns crazy. Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted OT crap - but if it doesn't meet this criteria let the OT posts alone. Thank you.
Cheers!
[KERNEL] [GPL] [N5] franco.Kernel - r14
Reserved
Looking forward for your magic on a snapdragon 800. Testing as soon as it arrives. Keep up your good work.
Sent from my AOSP on Mako using Tapatalk
First of all, thanks for starting early!
Just booted it, didn't flash yet as its basically stock, but it does boot.
Ah @franciscofranco is here! This is a very happy day for me (and many, many others) can't wait to give this a try franco, however I'm still waiting for my N5 haha.
Sent from my Nexus 4 using Tapatalk
Of course you're already here Franco! I know what kernel I'm flashing next week :good:
kuyam said:
First of all, thanks for starting early!
Just booted it, didn't flash yet as its basically stock, but it does boot.
Click to expand...
Click to collapse
Can you confirm it says "franco.Kernel" in the About Phone?
franciscofranco said:
Can you confirm it says "franco.Kernel" in the About Phone?
Click to expand...
Click to collapse
Yes, it does. Tried to make a screenshot but somehow it didn't work.
Oh that's issue #1 then.. Just did 5 screenshots no problem on stock. booted test kernel and it just shows me the power menu.
kuyam said:
Yes, it does. Tried to make a screenshot but somehow it didn't work.
Click to expand...
Click to collapse
That is great news! I'll push a new one in a couple minutes with some changes then!
Ahhh Franco, the king, the mighty one, the sexy little gnome.......
Glad you'll be working on the n5, mine arrives Monday. Will the app work with the n5 out of curiosity also will you be able to post the old version of the app with all the features? Or was that made redundant? I kinda went outta touch when there was 2 versions of the kernel on n4 and couldn't get either running
Sent from my Nexus 4 using Tapatalk
kuyam said:
Yes, it does. Tried to make a screenshot but somehow it didn't work.
Oh that's issue #1 then.. Just did 5 screenshots no problem on stock. booted test kernel and it just shows me the power menu.
Click to expand...
Click to collapse
Should be fine if you flash it instead of booting it. Weird things happened on Mako as well if one booted the boot.img instead of flashing. Can you confirm this for me?
rosswaa said:
Ahhh Franco, the king, the mighty one, the sexy little gnome.......
Glad you'll be working on the n5, mine arrives Monday. Will the app work with the n5 out of curiosity also will you be able to post the old version of the app with all the features? Or was that made redundant? I kinda went outta touch when there was 2 versions of the kernel on n4 and couldn't get either running
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
What do you mean old version of the app with all features? Those 2 Kernel versions were because stupid Google decided to derp AOSP and roms decided to go derp mode as well and either built stock JWR, or then hybrid, others went JSS... a mess.
App will go fully functional with the N5 as soon as I get the device on my hands and I get some quality time with it.
franciscofranco said:
Should be fine if you flash it instead of booting it. Weird things happened on Mako as well if one booted the boot.img instead of flashing. Can you confirm this for me?
Click to expand...
Click to collapse
confirmed .
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
kuyam said:
confirmed .
Click to expand...
Click to collapse
That's great to know thank you.
Don't go away, pushing a new build with Undervolting support.
Pushed test2 with Undervolt support - @kuyam can you test?
franciscofranco said:
That's great to know thank you.
Don't go away, pushing a new build with Undervolting support.
Click to expand...
Click to collapse
Flashing...
...! Failed.. let me get some more info.
kuyam said:
Flashing...
...! Failed.. let me get some more info.
Click to expand...
Click to collapse
No boot? If it fails to boot can you flash test1 and get me /proc/config.gz please?
franciscofranco said:
No boot? If it fails to boot can you flash test1 and get me /proc/config.gz please?
Click to expand...
Click to collapse
Hangs on "google"... reflashed #1.. getting u that file.
https://dl.dropboxusercontent.com/u/6468304/config.gz
https://dl.dropboxusercontent.com/u/6468304/last_kmsg
kuyam said:
Hangs on "google"... reflashed #1.. getting u that file.
Click to expand...
Click to collapse
Thanks!!
kuyam said:
Hangs on "google"... reflashed #1.. getting u that file.
https://dl.dropboxusercontent.com/u/6468304/config.gz
Click to expand...
Click to collapse
Pushed test3.

[ROM] [Unofficial] [Weekly OTA Builds] Cyanogenmod 13

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Version 13 for the Xiaomi Mi5
This builds are based on https://github.com/CyanogenMod and the Mi5 Device Tree from https://github.com/Mi5Devs/android_device_xiaomi_gemini
Active Developer of the DeviceTree is here bgcngm
ROM Status: Beta (Prebuild Xiaomi Kernel)
Current Build: 20160906
Download Main: https://store.shade.sh/mi5/
Download Mirror: https://mirror.shade.sh/mi5/
OTA Updates: Available, weekly.
Known Issues: Ambient Display and Capacitive Home Button
Keyboard Layout: If you want the original Xiaomi Layout back: http://forum.xda-developers.com/showpost.php?p=68440544&postcount=353 & http://forum.xda-developers.com/showpost.php?p=68410880&postcount=319
Disclammer: I'm not a developer of this Rom! I'm just using the Device Tree and the Cyanogenmod to build this Roms.
Are you using it for yourself as well so you're not building in the blind ?
Sent from my MI 5 using XDA Premium HD app
Anyone else having a problem with the fluidity of animations after updating to 20160726?
shade.sh said:
As there is no official Cyanogenmod nor i'm a developer, i'm only created this thread for those who uses my builds.
This builds are based on https://github.com/CyanogenMod and the Mi5 Device Tree from https://github.com/Mi5Devs/android_device_xiaomi_gemini
Normally my builds are created daily, it can be that there are no or not important changes in Device Tree or Cyanogenmod, then there is no new build created. To view changes, please visit the Mi5Devs Commits
Current Build: cm-13.0-20160726-UNOFFICIAL-gemini
URL: https://store.shade.sh/mi5/
Disclammer: I'm not a developer of this Rom! I'm just using the Device Tree and the Cyanogenmod to build this Roms.
Click to expand...
Click to collapse
Any updates for the finger print issue ?
marcel112 said:
Are you using it for yourself as well so you're not building in the blind ?
Sent from my MI 5 using XDA Premium HD app
Click to expand...
Click to collapse
yes
Ramshu97 said:
Any updates for the finger print issue ?
Click to expand...
Click to collapse
Maybe this?
http://forum.xda-developers.com/showpost.php?p=67874556&postcount=577
shade.sh said:
Maybe this?
http://forum.xda-developers.com/showpost.php?p=67874556&postcount=577
Click to expand...
Click to collapse
Hello,
I did the same fastboot commands and fingerprint start working, but actually now I'm facing another issue, my screen doesn't turn on for a while, when I received any notifications while the screen is locked. However, it works fine when the screen is just turned off, but not locked.
Sent from my MI 5 using XDA-Developers mobile app
thanks for creating a new thread, it was getting a bit confusing.. danke !
is it safe to dirty flash from CM - 20160521 ?
leighaus said:
thanks for creating a new thread, it was getting a bit confusing.. danke !
is it safe to dirty flash from CM - 20160521 ?
Click to expand...
Click to collapse
I came from the same version, did'nt hurt me
Great rom, been using the 20-Jul build for a week now and it works flawlessly.. only had trouble with the fingerprint sensor, at first it was completely missing, but got it back and working by flashing MIUI8 before flashing this rom.. it seems that it needs some files from MIUI so avoid wiping system, although this may be fixed already in new builds, I can't say..
Anyway great rom great work, updating to latest build.. thanks again developers and builder!
nono.zz said:
Great rom, been using the 20-Jul build for a week now and it works flawlessly.. only had trouble with the fingerprint sensor, at first it was completely missing, but got it back and working by flashing MIUI8 before flashing this rom.. it seems that it needs some files from MIUI so avoid wiping system, although this may be fixed already in new builds, I can't say..
Anyway great rom great work, updating to latest build.. thanks again developers and builder!
Click to expand...
Click to collapse
Yes this issue should be fixed by the Devs of the Device Tree already.
You're welcome.
shade.sh said:
Yes this issue should be fixed by the Devs of the Device Tree already.
You're welcome.
Click to expand...
Click to collapse
It is! I wiped the system partition and it worked flawlessly!
Thanks a million for providing new builds!
BTW @shade, is it possibl to compile this with UBERTC https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp
Here is info how to compile with a specific toolchain http://forum.xda-developers.com/chef-central/android/guide-switching-to-custom-toolchain-t2927662
I know you're probably busy but if you find it interesting or fun to add UBER Toolchain to your build i would gladly buy you are beer or two
In return i could give a tip about my app called Auto Flasher. It was featured in XDA Developers TV
https://www.youtube.com/watch?v=A4IABWtuihU
https://play.google.com/store/apps/details?id=se.davison.autoflasher
richardddd said:
BTW @shade, is it possibl to compile this with UBERTC https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp
Here is info how to compile with a specific toolchain http://forum.xda-developers.com/chef-central/android/guide-switching-to-custom-toolchain-t2927662
I know you're probably busy but if you find it interesting or fun to add UBER Toolchain to your build i would gladly buy you are beer or two
Click to expand...
Click to collapse
I'll look into it, its always fun to try something new / different!
But don't expect it the next hours or days. Indeed i'm a bit busy at the moment (Self study CCNA is only a small part of it :fingers-crossed
How is the picture quality compared to stock? I know from the Sony cm builds that they are much worse compared to stock firmware...
peddarson said:
How is the picture quality compared to stock? I know from the Sony cm builds that they are much worse compared to stock firmware...
Click to expand...
Click to collapse
I feel that the picture quality is the same. Actually I kind of prefer the cm camera app since it has more options and is easier to configure. I experienced some lag on one of the builds but it seems to be fixed now.
The reason why the difference is massive on Sony phones is because of the bravia engine which is proprietary and cannot be integrated into CM or AOSP. This should not be an issue on the Mi 5.
blacklord9 said:
I feel that the picture quality is the same. Actually I kind of prefer the cm camera app since it has more options and is easier to configure. I experienced some lag on one of the builds but it seems to be fixed now.
The reason why the difference is massive on Sony phones is because of the bravia engine which is proprietary and cannot be integrated into CM or AOSP. This should not be an issue on the Mi 5.
Click to expand...
Click to collapse
Thanks for the reply. Hopefully I will receive my mi5 pro within the next two weeks so I can try.
richardddd said:
It is! I wiped the system partition and it worked flawlessly!
Thanks a million for providing new builds!
BTW @shade, is it possibl to compile this with UBERTC https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp
Here is info how to compile with a specific toolchain http://forum.xda-developers.com/chef-central/android/guide-switching-to-custom-toolchain-t2927662
I know you're probably busy but if you find it interesting or fun to add UBER Toolchain to your build i would gladly buy you are beer or two
In return i could give a tip about my app called Auto Flasher. It was featured in XDA Developers TV
https://www.youtube.com/watch?v=A4IABWtuihU
https://play.google.com/store/apps/details?id=se.davison.autoflasher
Click to expand...
Click to collapse
Its not getting through,the builds is coming up with the gcc google tc 4.9.x itself shade.sh any progress here?
droid.riz said:
Its not getting through the buils is coming up with the gcc google tc 4.9.x itself shade.sh any progress here?
Click to expand...
Click to collapse
Had no chance today to try it, had some trouble with iwStack...
I'll try it for sure on the weekend.
Dear shade.sh,
Thanks for the great ROM. It is like oases in the deserts.
I am having a problems with wifi mac address which keep on changing every time I reboot the phone. I tried to use the apps to use my old mac address number which is registered to the office network but it fails to connect.
Please advice how to overcome the random wifi mac address.
Thanks.
aatjitra said:
Dear shade.sh,
Thanks for the great ROM. It is like oases in the deserts.
I am having a problems with wifi mac address which keep on changing every time I reboot the phone. I tried to use the apps to use my old mac address number which is registered to the office network but it fails to connect.
Please advice how to overcome the random wifi mac address.
Thanks.
Click to expand...
Click to collapse
What version have you flashed? Did you already tried to flash the updated firmware files (See here: http://forum.xda-developers.com/showpost.php?p=67874556&postcount=577)

Development [ROM] PostmarketOS Linux boot on Xiaomi Pad 5 (nabu)

[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
user: user
pass: 147147
- Use the info from this thread about how to resize your internal storage and flash preview images
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.
Touch pad takes 80 seconds to initialize at boot time, you may need to wait for it.
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
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[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
Hello,
I have successfully ported PostmarketOS to my Xiaomi Pad 5 tablet.
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
Is it possible to install chromeOS on our tab?
Keyvannn said:
Is it possible to install chromeOS on our tab?
Click to expand...
Click to collapse
Hi, as far as i can see, no, ChromeOS is not open-source, there is a ChromiumOS project that is open-source which is similar with ChromeOS, someone may try to port it.
Awesome! I would love to see it working!
Are you using mainline Linux or the device kernel?
Good luck
Eloy68 said:
Awesome! I would love to see it working!
Are you using mainline Linux or the device kernel?
Good luck
Click to expand...
Click to collapse
Hi, thank you, yes, mainline kernel, the one used by PostmarketOS, mainline kernel 5.17
You've achieved an awesome thing. Will you post image with instructions on here as you progress? Thanks anyway.
czreo10 said:
You've achieved an awesome thing. Will you post image with instructions on here as you progress? Thanks anyway.
Click to expand...
Click to collapse
Thank you, i will post here any progress i will have, right now i am working to publish a new device through PostmarketOS site and sources will be available through their repos, images as well.
All required instructions about how to install will be available through PostmarketOS wiki pages
serdeliuk said:
Thank you, i will post here any progress i will have, right now i am working to publish a new device through PostmarketOS site and sources will be available through their repos, images as well.
All required instructions about how to install will be available through PostmarketOS wiki pages
Click to expand...
Click to collapse
Alright thanks. That's very kind you're helping us.
Dude you're awesome. I'm not into Linux, but it's always great seeing the scene growing and you're rocking it. I'd love to give it a try
I have created the official device page, is not ready yet, but a start
PostmarketOS Xiaomi-nabu page
serdeliuk said:
I have created the official device page, is not ready yet, but a start
PostmarketOS Xiaomi-nabu page
Click to expand...
Click to collapse
God tier skills. Thanks a ton!
drxllxffxct said:
God tier skills. Thanks a ton!
Click to expand...
Click to collapse
Thank you, is almost done, in a few days will be official supported.
Well done!
0312birdzhang said:
Well done!
Click to expand...
Click to collapse
Thank you
Simply amazing would be a lot powerful on this tablet
shaon121 said:
Simply amazing would be a lot powerful on this tablet
Click to expand...
Click to collapse
Thank you, indeed, let hope i will be able to make the GPU works, right now i am trying to bring up wifi
Hey bro, I saw you added a new image of pmos on the wiki, do you have wifi and gpu working yet btw? Thanks
czreo10 said:
Hey bro, I saw you added a new image of pmos on the wiki, do you have wifi and gpu working yet btw? Thanks
Click to expand...
Click to collapse
Hi, not yet, i am still working to bring up the wifi, the GPU later, i have created the panel drivers for GPU, but is a work in progress.
serdeliuk said:
Hi, not yet, i am still working to bring up the wifi, the GPU later, i have created the panel drivers for GPU, but is a work in progress.
Click to expand...
Click to collapse
Awesome thats very good bro. Thanks for keeping us updated
I just can't tell how happy I am. I love Linux and always wanted a portable linux handheld. tried nethunter, ubport, other emulators etc.. did not get the satisfaction. butppostmarket os is promising. was not able to find any devices running though..
Hearty congratulations on the achivement.
sincere thanks ..

Question [KERNEL] Help me build a custom kernel for this messed up phone !

Hi xda community, I'm here to call for help. This phone is infernal to mod, it rejects kernels, there is no custom rom, building recovery is the "easiest" thing to do (it took me at least 5 hours) but today after hours and hours trying and googling, i cant make it alone but togheter it can work, i'am calling help for building a custom kernel, any help is accepted, if anyone wants to help direct source fork and pull request after changes to this github repo: https://github.com/malikh0206/kernel-test-a32 but you can also help in the thread. I explain the situation here:
-The build crashes "randomly" (I think I can fix it, but I really dont know) FIXED ! I just had to add "apt install xz-utils" in the entrypoint.sh
-We need to mod it (I can mod a little bit but after i dont know)
-The phone rejects all self-built kernel (I really need help for that). edit: OH MA GAD THANK YOU SO MUCH @Captain_cookie_200 for fixing this, now it's working and I can disable SElinux (Im gonna attach the file just flash it) It's a very big step, yesssssss so happy it's been weeks and weeks. We can say this is a first release.
I will make updates after time. Thank you very much if you can help me, hoping it works.
The kernel can be better but I think it can be in a few time a real custom kernel, so I think I will convert the thread, but it will in constant developement.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features :
- SElinux permissive now possible
- Interactive CPU gouvernor
- KVM (need testing)
- Disable kernel panic?
Release on github !
(One sentence: We need a name, don't hesitate to put an idea)
Just passing by, hoping for the best!
RadicalTeletubby said:
Just passing by, hoping for the best!
Click to expand...
Click to collapse
thanks
i think i can help you but i dont know very much about kernels
Why the custom kernel? The stock one does not work correctly or you need more horsepower? As of that there is no custom ROM you can actually make one yourself using this thing.
uluruman said:
Why the custom kernel? The stock one does not work correctly or you need more horsepower? As of that there is no custom ROM you can actually make one yourself using this thing.
Click to expand...
Click to collapse
I want to make a custom kernel because some peoples ask for it (permissive mode, etc) and making a custom from scratch (only for SM-A325F) but just pack a GSI on a super.img is a little bit useless when you can use TWRP for like any GSI
musatbz said:
i think i can help you but i dont know very much about kernels
Click to expand...
Click to collapse
If you know why the phone is bootlooping with a custom kernel it would be awesome
kilam9900 said:
If you know why the phone is bootlooping with a custom kernel it would be awesome
Click to expand...
Click to collapse
Wrong arch? Are you sure you're cross-compiling it correctly for arm64?
Here is some info: https://unix.stackexchange.com/questions/657882/how-do-i-cross-compile-the-linux-kernel
uluruman said:
Wrong arch? Are you sure you're cross-compiling it correctly for arm64?
Here is some info: https://unix.stackexchange.com/questions/657882/how-do-i-cross-compile-the-linux-kernel
Click to expand...
Click to collapse
euhm ill check
someone actually built a kernel for this phone. i am daily driving it on android 11 fw with android 13 gsi. It broke on android 13 firmware and i expirienced a bootloop on gsi. Also i noticed something. try to flash something on top like a gsi. Even tho the logs said it booted completely my phone remained on the boot screen. flashing a gsi fixed it!
Captain_cookie_200 said:
someone actually built a kernel for this phone. i am daily driving it on android 11 fw with android 13 gsi. It broke on android 13 firmware and i expirienced a bootloop on gsi. Also i noticed something. try to flash something on top like a gsi. Even tho the logs said it booted completely my phone remained on the boot screen. flashing a gsi fixed it!
Click to expand...
Click to collapse
I requested samsung to release source for the latest android 11 firmware for this phone and they did so! the kernel i am using was compiled with that source. you can go to samsung opensource and maybe use that.
Captain_cookie_200 said:
I requested samsung to release source for the latest android 11 firmware for this phone and they did so! the kernel i am using was compiled with that source. you can go to samsung opensource and maybe use that.
Click to expand...
Click to collapse
Thank you, that's good info, I was already using the open source Samsung SWA kernel, i gonna try to flash GSI on top and who or where did you get the kernel (compiled) ?
kilam9900 said:
Merci, c'est de bonne info, juttilisais deja le kernel SWA de open source Samsung, i gonna try to flash GSI on top and who or where did you get the kernel (compiled) ?
Click to expand...
Click to collapse
someone did it for me. and used anykernel to flash it. samsung also released the sources for A325FXXU2AVB6 after me begging them. You could try building it from that. it worked fine on android 11 firmware. although it refuses to boot on android 13. android 12 kernels still work but i still requested samsung to release sources for android 13 as well.
Captain_cookie_200 said:
someone did it for me. and used anykernel to flash it. samsung also released the sources for A325FXXU2AVB6 after me begging them. You could try building it from that. it worked fine on android 11 firmware. although it refuses to boot on android 13. android 12 kernels still work but i still requested samsung to release sources for android 13 as well.
View attachment 5784869
Click to expand...
Click to collapse
Ohh I didnt see that, i will try Rn
kilam9900 said:
Ohh I didnt see that, i will try Rn
Click to expand...
Click to collapse
okay! i hope it works. Also make sure to use a gsi. one ui doesnt like custom kernels for some reason.
will this work with A325M ?
applesucksLmao said:
will this work with A325M ?
Click to expand...
Click to collapse
Humm I dont see why not, save your boot img by TWRP and try, if its not working just restore boot img
kilam9900 said:
Hi xda community, I'm here to call for help. This phone is infernal to mod, it rejects kernels, there is no custom rom, building recovery is the "easiest" thing to do (it took me at least 5 hours) but today after hours and hours trying and googling, i cant make it alone but togheter it can work, i'am calling help for building a custom kernel, any help is accepted, if anyone wants to help direct source fork and pull request after changes to this github repo: github.com/malikh0206/kernel-test-a32 but you can also help in the thread. I explain the situation here:
-The build crashes "randomly" (I think I can fix it, but I really dont know) FIXED ! I just had to add "apt install xz-utils" in the entrypoint.sh
-We need to mod it (I can mod a little bit but after i dont know)
-The phone rejects all self-built kernel (I really need help for that). edit: OH MA GAD THANK YOU SO MUCH @Captain_cookie_200 for fixing this, now it's working and I can disable SElinux (Im gonna attach the file just flash it) It's a very big step, yesssssss so happy it's been weeks and weeks. We can say this is a first release.
I will make updates after time. Thank you very much if you can help me, hoping it works.
The kernel can be better but I think it can be in a few time a real custom kernel, so I think I will convert the thread, but it will in constant developement.
View attachment 5786767View attachment 5786769
Click to expand...
Click to collapse
Hey kilam,
I have been scouring the internet for a long time to find a custom kernal for my A325F/DS with external ralink wifi adapter drivers. But could not find a trace. Can you help me build one. I can help you with your project.
checksum.Burhan_Arif said:
Hey kilam,
I have been scouring the internet for a long time to find a custom kernal for my A325F/DS with external ralink wifi adapter drivers. But could not find a trace. Can you help me build one. I can help you with your project.
Click to expand...
Click to collapse
Of course I will help you !, there is a github for the driver? prebuilt .ko module, or other methode to implement it to the kernel?

Categories

Resources