Unlocking the 32GB Mi5 frequency - Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev

Hi guys, I have been looking at / working on allowing the 32GB variant Mi5 to run at the full speeds (2.15/1.6/624) on the msm8996 SOC as its 64/128GB brothers.
I was able to patch the kernel frequency table to run my 64GB at the reduced frequency of the 32GB but cannot test this in reverse as I don't have a 32GB device
I am hoping a 32GB user can test a boot.img for me. Can fastboot boot/flash it, or flash via TWRP (install -> install image -> select img) and just backup your existing img.
I do suspect it will not boot or work (it does boot/otherwise work on my 64GB though, but there's a few more code differences I haven't changed), but it'd be nice to know
boot_rev1.img this revision does not work, yet
boot_rev2.img a few users report that this one works.
What I would like to know is overall stability for 32GB users, if they could test their phone in games etc as voltage tables may need more adjustment
Edit: please note this kernel is for CM13/AOSP based ROM. please don't flash it over MIUI8
Project moved to http://forum.xda-developers.com/mi-...d-32gb-mi5-t3482455/post69177557#post69177557
Source here: https://github.com/harrynowl/falconkernel-gemini

awesome. did you post in the miui forum?

rochee94 said:
awesome. did you post in the miui forum?
Click to expand...
Click to collapse
Not yet, hoping to find feedback here first

As you are using CM kernel as base, you must inform that this will only work on devices running MIUI 7.x firmware and a CM based ROM.
On top of that, don't forget to publish the link to the kernel source in order to follow XDA's GPL regulations. I know you have the source in Github.

Could you build a kernel to overclock the 64 &128GB versions too? That would be great.

Sorry out of topic but, does snapdragon 820 have mpdecision or not? (by default)

razibrizal said:
Sorry out of topic but, does snapdragon 820 have mpdecision or not? (by default)
Click to expand...
Click to collapse
No: https://source.codeaurora.org/quic/...init.qcom.post_boot.sh?h=LA.HB.1.3.1.c1#n1729.

GalaxyS4_Lollipop said:
Could you build a kernel to overclock the 64 &128GB versions too? That would be great.
Click to expand...
Click to collapse
First focus is on giving 32GB users the full power of the hardware they paid for

I've tried it and it fails to boot
It goes into the bootanimation but after like one second it freeze and reboot
And when it happen, it kinda overheat
Edit
Using AOKP and Cm13 same result

sys01 said:
I've tried it and it fails to boot
It goes into the bootanimation but after like one second it freeze and reboot
And when it happen, it kinda overheat
Click to expand...
Click to collapse
Thanks for info, I think I know why this is..

Harrynowl said:
First focus is on giving 32GB users the full power of the hardware they paid for
Click to expand...
Click to collapse
That's cool.
Anyway, if it is any method to power up the beast to the SnapDragon821 power, I wait for it. (on 64gb)
Good luck and thanks for your support.

4 days ago bought a 32gb Mi5 -> upgraded to latest MIUI 8.0.12
Unlocked bootloader -> Flashed Ressurection Remix's latest ROM via TWRP
Looking forward in testing this !

Alex4455 said:
4 days ago bought a 32gb Mi5 -> upgraded to latest MIUI 8.0.12
Unlocked bootloader -> Flashed Ressurection Remix's latest ROM via TWRP
Looking forward in testing this !
Click to expand...
Click to collapse
Well, please don't use the one I posted originally as it won't work. But I'm looking at a fix now :good:

Looking forward towards the fix.
Many people will be happy if this comes out with no issues !

Harrynowl said:
Well, please don't use the one I posted originally as it won't work. But I'm looking at a fix now :good:
Click to expand...
Click to collapse
thank u for the initiative will wait for the next build :good:

pls after making it work, build one for MIUI 8 if it's possible.

catalizgar said:
pls after making it work, build one for MIUI 8 if it's possible.
Click to expand...
Click to collapse
Miui8 firmware blobs are not currently compatible with the kernel sources we have.
A member got a kernel booting on miui8 but stability was a big problem.

First of all, thank you. I think all 32GB users will thank you for that.
Obviously when it's done, it will consume more power, and would have less SoT.
Can you make predictions of what it will take when optimized and fully working?

After changing my ROM to AOSP based I will use this. thanks for your hard working. really appreciated

I added a new boot.img to the OP with some updates to the source. Hopefully this one has more luck. Specifically changes to the voltage table(s).
Please test 32GB users

Related

[DDK 1.9] OmniROM DDK 1.9 Test Version

Introduction
This is a test version of OmniROM with SGX DDK 1.9 graphics drivers, as well as many OMAP-related kernel updates. No, this isn't 3.4, but a LOT of TI updates were packed into the kernel. Currently, this is only for maguro, but anyone can build it for toro/toroplus with the sources.
Click to expand...
Click to collapse
Features
The ROM and the kernel has a stock feeling - no mods were added.
Most notable new features:
- SGX DDK [email protected]
- GPU governor
- Enabled 384 MHz GPU frequency (as a part of the OMAP updates)
- Tons of background changes for the kernel
Click to expand...
Click to collapse
Important notes
Camera and OMX is not working yet! This turned out to be a harder task for me to fix than implementing the new GPU drivers...
Other bugs are not known yet, but there may be some! Bug reports are welcome.
Thanks to everyone who helped me, especially Hashcode, as I used his repos as an example on how to set up things properly.
Click to expand...
Click to collapse
FAQ
How can I install this?
Just flash the ROM zip (and optionally GAPPS), and you're done.
Can I install this on top of Omni roms?
Yes, you should be able to do so without data loss.
Can I revert to non-1.9 Omni after this without data loss?
Yes.
Is this faster than the current ROMs/kernels?
As this is a stock-like ROM and kernel, not necessarily - there are no optimizations, etc added.
However, if one adds the optimizations used on current custom roms and kernels, this should be faster than them.
Can I install another kernel?
No, the new drivers require the ROM and the kernel side to match each other. Only this combination will work.
When will you fix camera?
I'm trying, but I don't have much success...
Can I help?
Sure, I appreciate any help, as I'm running out of ideas on how to fix camera and OMX.
Can I build this stuff myself?
Of course - everything needed is on my github. You'll need the following repos added to your Omni sources:
omni_android_device_samsung_tuna
omap (newpvr2 branch)
proprietary_vendor_samsung_tuna
Click to expand...
Click to collapse
XDA:DevDB Information
OmniROM DDK 1.9 Test, ROM for the Samsung Galaxy Nexus
Contributors
Ziyan
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.0.x
Based On: OmniROM
Version Information
Status: Testing
Created 2014-07-13
Last Updated 2014-07-13
Where is the download link?!
Sent from my Galaxy Nexus using Tapatalk
aliesz said:
Where is the download link?!
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Click on the downloads button above the thread title
If you're on tapatalk you'll need to go to Web view..
To see the download
Sent from the "DOG" pound
Yes I found it just seconds ago
Sent from my Galaxy Nexus using Tapatalk
Also OP there 3 types of gnexes...
You might want to add to the OP which one it is for
Sent from the "DOG" pound
cujo6801 said:
Also OP there 3 types of gnexes...
You might want to add to the OP which one it is for
Sent from the "DOG" pound
Click to expand...
Click to collapse
Thanks for the suggestion, added it to the introduction text.
Amazing! I will try out tommorow
I've installed it and it feels smooth, I've not encountered any bugs yet. Have you tried removing "kitkat workarounds" from frameworks/native?
Thanks for your awesome work
Nice work! Seems a lot more responsive although it may be placebo effect.
Thanks for posting this, I'm going to try building for toroplus, since we seem to get left out of the excitement so often. My internet connection is slow and so is my computer, so you will probably have everything fixed before I get a chance to even look for bugs.
Great work! I hope you manage to get camera working soon.
Amazing work bro, wishing u best of luck !!
I'm on F2Fs otherwise would have tested this asap...
Awesome work!
Thanks for the amazing work you've brought to the gnex, but since i'm on F2FS i was wondering if you could make a F2FS compatible version of this rom?
matoushybl said:
I've installed it and it feels smooth, I've not encountered any bugs yet. Have you tried removing "kitkat workarounds" from frameworks/native?
Thanks for your awesome work
Click to expand...
Click to collapse
Yeah, but the glitches are still there. Actually, that may be a bug in android itself (it affects a lot of devices), they may have fixed it on L... and those workarounds are really not important, as the problem only comes when taking screenshots. And since android takes screenshots for the rotation animation, etc, those glitches appear there as well. The workarounds just force it to take screenshots on CPU-path, they don't change anything else.
I think they fixed it in DDK 1.12 (which is the next version after 1.9), but that's another story, as I think it does not support our GPU (but it may in the future).
apollo07 said:
Thanks for the amazing work you've brought to the gnex, but since i'm on F2FS i was wondering if you could make a F2FS compatible version of this rom?
Click to expand...
Click to collapse
Not yet, I'm focusing on camera for now
Ziyan said:
The workarounds just force it to take screenshots on CPU-path, they don't change anything else.
Click to expand...
Click to collapse
How about using SurfaceFlinger's Sync framwork now?
https://github.com/omnirom/android_...mmit/d677ae87b2466b03a6ca1cda6ee532c6ba407f8c
@Ziyan https://gerrit.omnirom.org/#/c/8141/
https://gerrit.omnirom.org/#/c/8156/ cherypick those and recompile
Ziyan said:
Yeah, but the glitches are still there. Actually, that may be a bug in android itself (it affects a lot of devices), they may have fixed it on L... and those workarounds are really not important, as the problem only comes when taking screenshots. And since android takes screenshots for the rotation animation, etc, those glitches appear there as well. The workarounds just force it to take screenshots on CPU-path, they don't change anything else.
I think they fixed it in DDK 1.12 (which is the next version after 1.9), but that's another story, as I think it does not support our GPU (but it may in the future).
Not yet, I'm focusing on camera for now
Click to expand...
Click to collapse
Ziyan, thanks for the awesome work
It 's possible to have some screenshots?

[ROM] 6045-ELUGA-DCZ - stock, oc kernel, gapps, root - 1.1

**************************************************
[ROM] 6045-ELUGA-DCZ
current version 1.1 (2016-03-24)
STOCK, STABLE, ROOT, GAPPS
**************************************************​
-I made it just for fun...
-it is not exactly a build. Its more a mod.
-based on latest PANASONIC ELUGA SWITCH (IDOL3 rebranded device) firmware (EB-90S55EWLv1009)
-I exchanged the kernel for the ARDE DEV TEAM STOCK OC one (4x1651 MHz + 4x1601 MHz).I used Group 1 kernel for my 6045Y device.
-including ROOT and GAPPS (latest supersu 2.65)
-added KERNEL ADIUTOR
-removed all unnecessary apps from TCL, PANASONIC and GOOGLE. There is only the necessary basic to run the phone. All other things you can download by yourself. So the ROM is about 900 MB on size.
-Due to source is the avaliable set of languages shrinken to see screenshots. But More Locale 2 app (preinstalled, but removable) will do the trick for you on most apps (except settings).
GUIDE:
-go to TWRP recovery (please make sure you use the @Unjustified Dev version from here
-wipe chache/dalvik/system/data
-install ROM
-If you are on 6045I or 6045K you have to download ad flash at this point the GROUP 2 OC Kernel from the htcmania.com site (see link below)
-wipe chache/dalvik/ (to be sure)
-reboot
DOWNLOAD:
From my google disk (size aprox 900 MB)
Here are all Kernels from ARDE DEV TEAM and the 6045I stock (6045Y stock, 6045Y OC , 6045I OC and 6045I stock)
ISSUES:
I dont know of any, you tell me.
changelog in 1.1 build (2016-03-24)
-just initial build..all as it is on stock, except kernel
CREDITS:
BIG thnax to @franq36 and @acura2201 of ARDE DEV Team for the Kernel, also thank @Grarak for the Kernel Adiutor.
Also Thanx to @Unjustified Dev, @famewolf, @Marionette and all the others who are making a great work for our device.
There is the link to the HTCMania.com KERNEL thread (Spanish)
And of course i am not responsible for any damage you do by flashing this on your device!
please wait amoment..my upload is slooow
nice i will test it
DallasCZ said:
-based on latest PANASONIC ELUGA SWITCH (IDOL3 rebranded device) firmware (EB-90S55EWLv1009)
Click to expand...
Click to collapse
nice :good:
same hardware?
franq36 said:
nice :good:
same hardware?
Click to expand...
Click to collapse
yes, same hardware, just rebranded.
DallasCZ said:
yes, same hardware, just rebranded.
Click to expand...
Click to collapse
thath means more developers
i think it will be the same like i806...very little people will buy it. In china you can see even on TCL brand many users, many ports and many devs. On I806 there is only one dev in china.
I tried this out of curiosity, it didn't go so well... It freezes, screen shuts off then I have to restart it. Other then the freezing it looked pretty good, and I thought the Boot animation was funny on this phone.
tbkrazeey said:
I tried this out of curiosity, it didn't go so well... It freezes, screen shuts off then I have to restart it. Other then the freezing it looked pretty good, and I thought the Boot animation was funny on this phone.
Click to expand...
Click to collapse
its running on arde dev oc kernel.. try to flash stock kernel. my cpu is capable to maintain the oc frequencies so i had no issues with that. Except the lags that are also on stock firmware on idol3.
I can hold oc on the other roms tho, that's what I've been using for a few days.(and running right now) but I'll try it when I get a chance to see.
Sent from my 6045X using XDA Labs
Hi guys, ROM very good and stable. But it seems to me that GPS very badly works, badly catches. Advise that it is possible to make to improve a signal of reception of GPS. Thanks
I solved a problem with reinstallation of GPS.conf
Hi DallasCZ,
Love the work you've done. Very efficient and usable, but I do have a stupid question: In regards of performance would you consider this more preferable in comparison to your 6045-i806-DCZ rom?
Also you state that 6045I users need to flash the GROUP 2 OC Kernel from htcmania.com and I assume this is the Nuevoboot_Alcatel_V1_6045I,6045K.img in your google drive as there no longer is a link to htcmania.com but I'd like your confirmation before I commit to this action.
Thank you for all the work you've put into this community!
Deadrem said:
Hi DallasCZ,
Love the work you've done. Very efficient and usable, but I do have a stupid question: In regards of performance would you consider this more preferable in comparison to your 6045-i806-DCZ rom?
Also you state that 6045I users need to flash the GROUP 2 OC Kernel from htcmania.com and I assume this is the Nuevoboot_Alcatel_V1_6045I,6045K.img in your google drive as there no longer is a link to htcmania.com but I'd like your confirmation before I commit to this action.
Thank you for all the work you've put into this community!
Click to expand...
Click to collapse
since this is a stock rom, you can try to boot it with the keel whats inside. Or you can try to backup your boot. img from your stock rom and flash it after you flash this eluga rom.
hello DCZ i would like to thank you for your work, it is from far the best rom i've tried everythig is working perfectly, good performance and good battery life too with the advanced interative gov settings, really it's the best, all the stock stuff that we love about our phone, smooth (not the launcher still need of nova or else),no bugs no random reboot, lighter than the stock rom and with all the languages and the playstore as well. I definitely recommend this rom for those who want to have the best expereience with the Idol 3 6045 and the most stable. The only thing that i miss is the cyanogen theme application which is awsome and all the cyanogen ringtones alarms and notifications sounds but maybe someone can do something about it one day . Once again THANK YOU!!!!!
tizoreol said:
hello DCZ i would like to thank you for your work, it is from far the best rom i've tried everythig is working perfectly, good performance and good battery life too with the advanced interative gov settings, really it's the best, all the stock stuff that we love about our phone, smooth (not the launcher still need of nova or else),no bugs no random reboot, lighter than the stock rom and with all the languages and the playstore as well. I definitely recommend this rom for those who want to have the best expereience with the Idol 3 6045 and the most stable. The only thing that i miss is the cyanogen theme application which is awsome and all the cyanogen ringtones alarms and notifications sounds but maybe someone can do something about it one day . Once again THANK YOU!!!!!
Click to expand...
Click to collapse
hust download any cyanogen rom, and get the media directory from system and there are all soinds you want.
Hi DallasCZ, thanks for your work. And it is possible to implement in [ROM] 6045-ELUGA-DCZ the hidden settings, how on [ROM] 6045-i806-DCZ 1.2?
Feodorus 4PDA said:
Hi DallasCZ, thanks for your work. And it is possible to implement in [ROM] 6045-ELUGA-DCZ the hidden settings, how on [ROM] 6045-i806-DCZ 1.2?
Click to expand...
Click to collapse
meybe if i have time. I made this only for fun.
To implement the mods i made on DCZ means to decompile framework and some other apks then change the apks, compile again and test.
DallasCZ said:
meybe if i have time. I made this only for fun.
To implement the mods i made on DCZ means to decompile framework and some other apks then change the apks, compile again and test.
Click to expand...
Click to collapse
Thanks, if that it is ready to become a tester for you
Are you no longer developing this one? I was curious how it compared to the i806 version?
famewolf said:
Are you no longer developing this one? I was curious how it compared to the i806 version?
Click to expand...
Click to collapse
i am not a developer. I am just a modder. I have no time and if, i would only make some minor osmetics mods, so the performance would not change a lot.

[KERNEL] -> tegra-3.18_unified_dragon_kernel_11_v201218 (DISCONTINUED)

Due to several reasons I have stopped the deployment of the "monthly Update.Zip packages" !
Thanks for your understanding.
This thread will be used for the unified tegra-3.18 kernel only.
Twelve:
tegra-3.18_unified_dragon_kernel_12_v211213.zip
Eleven:
tegra-3.18_unified_dragon_kernel_11_v201218.zip
Ten:
tegra-3.18_unified_dragon_kernel_10_v201010.zip
Pie:
tegra-3.18_unified_dragon_kernel_p_v200310.zip
Oreo:
tegra-3.18_unified_dragon_kernel_o_v200310.zip
Changes/Features:
- Upstream to kernel version 3.18.140
- Various patches and security updates
- Added Wireguard support
- Added/Enabled various file systems (exFat, NTFS, Network Filesystems .. etc.)
- Changed kernel config to enable/improve support for varioius services (tethering .. etc.)
- Added "fix cpu frequency limitation"
- etc.
Installation:
1. Boot into TWRP
2. Install the Kernel Update.Zip file
3. Reboot into system .. no need for SuperSU / Magisk !
The package contains an Image.fit kernel binary only - and no ramdisk part !
This way the kernel should run on all available Android Oreo/Pie/Ten ROMs for the dragon device.
And there is no need for a new SuperSu/Magisk installation afterwards, unlike to "full boot.img" installation.
Sources:
https://github.com/followmsi/android_kernel_tegra
https://github.com/followmsi/lazyflasher/tree/followmsi-dragon
https://github.com/followmsi/AnyKernel2/tree/dragon
Download:
https://drive.google.com/drive/folders/18cqluw7lp1S720QdV0p-OtHfY9MNpSwn
Big thanks to @NYCHitman1 (Dirty Unicorn), @cheep5k8 (xceed), @Vartom and updateing from Team Mokee for the nice kernel sources !
Big thanks to @osm0sis (Anykernel2) and @jcadduono (lazyflasher) for the nice tools !
Enjoy
flashed your system image
devices does not boot
flashed back to stock
boots
edit: further details
every boot just dumps me into recovery.
dmitrygr said:
flashed your system image
devices does not boot
flashed back to stock
boots
edit: further details
every boot just dumps me into recovery.
Click to expand...
Click to collapse
Thanks for feedback .. no good news.
Sorry, I can not reproduce your problem.
Tested the system_vendor udapte.zip several times on my Pixel C.
No problem so far ...
You flashed the complete .zip via TWRP ?
What was your previous firmware level ?
Did you upgrade bootloader as well ?
What kernel do you have in use ?
EDIT:
Which Version of TWRP ?
Pls use xceed version for now.
The NYChitman1 version seems to have problems.
http://forum.xda-developers.com/pix...ock-bootloader-install-custom-t3307183/page14
followmsi said:
The NYChitman1 version seems to have problems.
http://forum.xda-developers.com/pix...ock-bootloader-install-custom-t3307183/page14
Click to expand...
Click to collapse
Only the latest one I released because I didn't put the proper flag in place -- the previous one works perfectly fine as indicated by myself and others.
Also, I find it interesting that you've created a development thread while you aren't actually developing anything.
Thanks for the update.
Still like to test your version.
Ok, the version from here is recommended .. http://forum.xda-developers.com/showpost.php?p=66557703&postcount=101
In the one from yesterday you fixed vendor image flashing via TWRP.. sounds nice.
When do you re-release this version ?
You may open a new thread for your TWRP releases ..
Thanks a lot for all your work!
New kernel released ... pls test
Update.ZIP_Nexus_Ryu_chromeos-3.18-kernel_v160519_followmsi.zip
There are lot of changes in compare to latest stock kernel .. https://chromium.googlesource.com/chromiumos/third_party/kernel/+log/chromeos-3.18/
Cheers
followmsi said:
New kernel released ... pls test
Update.ZIP_Nexus_Ryu_chromeos-3.18-kernel_v160519_followmsi.zip
There are lot of changes in compare to latest stock kernel .. https://chromium.googlesource.com/chromiumos/third_party/kernel/+log/chromeos-3.18/
Cheers
Click to expand...
Click to collapse
Many thanks for your work The kernel is for stock / AOSP roms? Running Dirty Unicorns and I think it´s not compatible :/
redukt said:
Many thanks for your work The kernel is for stock / AOSP roms? Running Dirty Unicorns and I think it´s not compatible :/
Click to expand...
Click to collapse
There are so many fixes since MXC89F kernel .. which was commited on Arpil 5th .. even it's the May release. Ok, was tagged on May, 4th.
https://chromium.googlesource.com/chromiumos/third_party/kernel/+/MXC89F
Last changes .. 6 weeks ..
https://chromium.googlesource.com/c...+log/9c052efad6e651d33334b84c8f1feaf8945e8e7a
I am running the new kernel on latest M stock release .. MXC89F.
No problems so far .. really stable.
The kernel should run on all stock M releases for PixelC.
Used latest stock ramdisk to build the kernel .. maybe the dirty unicorn ramdisk is different.
But the actual kernel should work as well ..it's a dragon kernel.
Repack DU ramdisk with my kernel and it will most probably work as well .. maybe even with the same ramdisk, without repacking. Needs to be tested ..
Give it a try .. it will not hurt.
Cheers
Any chance of getting a port of multirom? Let me know if there's any interest, and what I can do to help.
nic. said:
Any chance of getting a port of multirom? Let me know if there's any interest, and what I can do to help.
Click to expand...
Click to collapse
Sounds good .. have it running on Nexus 7 flo .. really like it.
MultiROM for PixelC would be really nice .. the chromeos is part is maybe tricky.
But like SuperSU .. automatic chromeos image unpack and repack, if required at all.
It seems Tassadar is not around anymore .. not sure if he will come back.
Some new guys have taken over .. they just made a new update release for TWRP and MultiROM..
Works fine
Are you able to port it to Pixel C ?
Thanks
followmsi said:
Give it a try .. it will not hurt.
Cheers
Click to expand...
Click to collapse
Bootloop
Restored my Nandroid and device is up
DU is CM based and unfortunately incompatible :/
followmsi said:
Sounds good .. have it running on Nexus 7 flo .. really like it.
MultiROM for PixelC would be really nice .. the chromeos is part is maybe tricky.
But like SuperSU .. automatic chromeos image unpack and repack, if required at all.
It seems Tassadar is not around anymore .. not sure if he will come back.
Some new guys have taken over .. they just made a new update release for TWRP and MultiROM..
Works fine
Are you able to port it to Pixel C ?
Thanks
Click to expand...
Click to collapse
I am wanting to dig into the Linux4Tegra side of this, and was hoping that some of the work for multirom could or had been done. I don't know anything about the chromeos bootloader. Looking into it, Chrubuntu might be a viable path for this. I feel like this device is gimped with Android.
redukt said:
Bootloop
Restored my Nandroid and device is up
DU is CM based and unfortunately incompatible :/
Click to expand...
Click to collapse
Thanks for the test ..
Restore DU boot.img and you are back to normal ..yep
I will unpack the DU boot.img and have short look .. just to check it.
nic. said:
I am wanting to dig into the Linux4Tegra side of this, and was hoping that some of the work for multirom could or had been done. I don't know anything about the chromeos bootloader. Looking into it, Chrubuntu might be a viable path for this. I feel like this device is gimped with Android.
Click to expand...
Click to collapse
Sounds like a lot of work .. but if you have the right people involved ..
Maybe xceed or nychitman will know better how to "manage" the bootloader ..
As I know, until today, "nobody" knows how to remove the 30 second warning time beep sound ****.
Right now I am happy to "manage" the layer above .. boot.img and recovery.img
redukt said:
DU is CM based and unfortunately incompatible :/
Click to expand...
Click to collapse
What are you talking about? We're not CM based.
followmsi said:
There are so many fixes since MXC89F kernel .. which was commited on Arpil 5th .. even it's the May release. Ok, was tagged on May, 4th.
https://chromium.googlesource.com/chromiumos/third_party/kernel/+/MXC89F
Last changes .. 6 weeks ..
https://chromium.googlesource.com/c...+log/9c052efad6e651d33334b84c8f1feaf8945e8e7a
I am running the new kernel on latest M stock release .. MXC89F.
No problems so far .. really stable.
The kernel should run on all stock M releases for PixelC.
Used latest stock ramdisk to build the kernel .. maybe the dirty unicorn ramdisk is different.
But the actual kernel should work as well ..it's a dragon kernel.
Repack DU ramdisk with my kernel and it will most probably work as well .. maybe even with the same ramdisk, without repacking. Needs to be tested ..
Give it a try .. it will not hurt.
Cheers
Click to expand...
Click to collapse
I had been keeping up with the chromeos-3.18 branch upstream, but I realized that a majority of the commits do not even apply to Dragon -- so it wasn't all that worthwhile to have in the majority of cases. With that said, I decided to go back to the MXC89F source until the next batch of source is released in June.
NYCHitman1 said:
What are you talking about? We're not CM based.
Click to expand...
Click to collapse
Well my bad...DU is AOSP based. I get mixed up with all several custom roms on my devices :silly:
NYCHitman1 said:
What are you talking about? We're not CM based.
I had been keeping up with the chromeos-3.18 branch upstream, but I realized that a majority of the commits do not even apply to Dragon -- so it wasn't all that worthwhile to have in the majority of cases. With that said, I decided to go back to the MXC89F source until the next batch of source is released in June.
Click to expand...
Click to collapse
You are right .. there also many fixed not relevant for dragon at all.
But it´s a fresh kernel .. upstream
I was so free .. and made a new DU kernel now .. used your ramdisk and my fresh chomeos-3.18 build from today.
@redukt, please test this kernel again .. on DU
Update.ZIP_PixelC_Ryu_chromeos-3.18-kernel_DU_v160519_followmsi.zip
https://onedrive.live.com/?authkey=!ABLdSOKIeXgg_XU&id=479EB75F5DD9DA59!117&cid=479EB75F5DD9DA59
Thanks .. still bootloop ?
redukt said:
Well my bad...DU is AOSP based. I get mixed up with all several custom roms on my devices :silly:
Click to expand...
Click to collapse
Please test this one ... Update.ZIP_PixelC_Ryu_chromeos-3.18-kernel_DU_v160519_followmsi.zip
https://onedrive.live.com/?authkey=!ABLdSOKIeXgg_XU&id=479EB75F5DD9DA59!117&cid=479EB75F5DD9DA59
Thanks !
followmsi said:
Please test this one ... Update.ZIP_PixelC_Ryu_chromeos-3.18-kernel_DU_v160519_followmsi.zip
https://onedrive.live.com/?authkey=!ABLdSOKIeXgg_XU&id=479EB75F5DD9DA59!117&cid=479EB75F5DD9DA59
Thanks !
Click to expand...
Click to collapse
!!! Device is booting!!!
Meh... forget to install SU lol.... Will have a look in kernel auditor
Many thanks
edit: I have to flash the latest supersu (beta v2.74-2) to get root again. Will test your kernel til the next DU weeklie as dd. I´ll have a look at the frequency overview and kept stock settings / governor. System runs fluid with no hickups or so. Great work!
Looks also very interessting ..stabilize-smaug-7897.B-chromeos-3.18
https://chromium.googlesource.com/c...kernel/+/stabilize-smaug-7897.B-chromeos-3.18
Will see .. today they released the 3rd N preview ... maybe it´s time for some N testing.
As I understand correct .. using N ramdisk and the same kernel from today should work on N as well.
We will see ...
Cheers

[ROM][4.4][UNOFFICIAL] LineageOS 16.0 with 4.4 kernel

LineageOS 16.0 for Xiaomi Mi 5 with 4.4 kernel
Remember this is a beta release, althought I've been using it for more than a week and it's working perfectly.
If you experience any bugs, panics or so, please report full logs to me (logcat and dmesg, you can look in /sys/fs/pstore)
Installation:
You can flash it on top of OFFICIAL 3.18 LOS also you can always go back within a dirty flash.
For safety reasons always perform a backup of your important data!
Features:
This is well-known LOS, none of the functionalities have been altered.
Build is running 4.4.189 kernel with many improvements over 3.18, it will keep this device alive for upcoming Android releases.
Kernel is suited with initial bug fixes, however, it's a stock kernel without any advanced tweaks. It's built with CLANG (!).
Working:
Probably everything!
Not working:
Kernel is permissive
Temporary MTP fix (I didn't have enough time to investigate it well):
Developer settings -> Default USB conf -> MTP -> connect cable -> profit
READ ONLY IF YOUR DEVICE IS ENCRYPTED:
There is an incompatibility between 3.18 and 4.4 kernels, you have to flash new TWRP with 4.4 kernel, otherwise your data partition will be DAMAGED!
Nevertheless there could be a need to full wipe your /data (magic Format Data button in TWRP) so perform a FULL BACKUP.
Download:
LineageOS zip
TWRP
Future development:
Device tree will be created from scratch over new Qualcomm tag to get rid of old junk. Full Treble compability will be provided.
More kernel bug fixes
Vendor update
FAQ:
Can I install XXX ? Does it support XXX ?
- It's still LOS, it supports everything what stock LOS does.
Can't you ship kernel package only?
- No, ROM has to be modified to meet 4.4 requriements. You can't flash 4.4 kernel on top of 3.18 ROM.
But why 4.4? Do I need it?
- More fixes, more performance, more support. If you want, search for kernel changelog.
EAS?
- Not now, there are more important things to work on.
If you want to buy me a coffee, please consider donating, I've put much effort to make it working.
DONATE
Join Mi5 group on Telegram
Huge thanks to Zuk kernel team for initial 4.4 support!
Credits:
@DD3Boh
@YaroST12
@kenny3fcb
@Luk1337 - fix for USB
@Jawor245 - random stuff
@RadixCube
XDA:DevDB Information
LineageOS 16.0 with 4.4 kernel, ROM for the Xiaomi Mi 5
Contributors
xNombre
Source Code: https://github.com/xNombre/msm-4.4
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Version Information
Status: Beta
Created 2019-09-01
Last Updated 2019-09-01
Reserved
Reserved
In Antutu 7.2.3 tested fresh, stock LOS + nano gapps and fresh this rom + nano gapps on my 32Gb version. Biggest improvement for my device is memory +22% in Antutu points.
Stock: 144 086 overall
CPU: 50 420
GPU: 53 892
UX: 34 159
MEM: 5 615
4.4 LOS: 148 079 overall
CPU: 50 600
GPU: 54 615
UX: 35 657
MEM: 7 207
@xNombre great job!
I'll be testing your ROM in the future for sure. Looks very promising.
It would be great if you pulled the Floppy Kernel mods to tweak your 4.4 kernel
(Just my wish)
However, congratulations man.
I really appreciate your effort I would love to test your ROM But I only want to know 2 things before if someone can help.
1. Can I use it as daily driver?
2. Android Auto is working?
3. Will I need to do clean flash for future updates? Atleast for couple weeks.
Thanks
I'm using it for two weeks and no problems here.
If Android Auto is working on official LOS it will for for mine, too.
Nope, not for now.
#edit
Here is the new kernel you can flash on top of my LOS. (DON'T FLASH IT ON ANYTHING ELSE)
https://androidfilehost.com/?fid=1899786940962575411
Changelog:
add exFAT and NTFS
fix problems with wakelocks
use LZ4 for ZRAM
debloat a bit
skip sync for better battery
@xNombre What is the reason behind choosing 4.4 instead of a newer LTS version like 4.9 or 4.14? Or was the decision out of your hands?
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
xNombre said:
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
Click to expand...
Click to collapse
Whoa, calm down, mate. I just wanted to know the rationale. Knowing that msm8996 supports 4.4 is good enough for me. :good:
Sorry to hear about the two damaged devices, though. That must have been extremely frustrating.
xNombre said:
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
Click to expand...
Click to collapse
Lots of love for 4.4 kernel.
Hello
Thanks for this amazing work.
I have a question (probably stupid) will voWifi work better than with a 3.18 kernel or there is no relationship between kernel and voWifi?
Thank you for your work. This is quite big actually.
Thx
Myxomatom said:
Hello
Thanks for this amazing work.
I have a question (probably stupid) will voWifi work better than with a 3.18 kernel or there is no relationship between kernel and voWifi?
Click to expand...
Click to collapse
There it no correlation between kernel and RIL. No changes here. Maaybe sth nice will happen with new vendor blobs but you have to wait for it.
great job, it heats a lot less than the miui .. today it's only the first day but it seems to me that the battery lasts much longer !!
bido1 said:
great job, it heats a lot less than the miui .. today it's only the first day but it seems to me that the battery lasts much longer !!
Click to expand...
Click to collapse
yeah ... been using it for the last 3 days ... the battery performance is better than the official one without any tweak
can't flash it under lineage-16.0-20190809-nightly-gemini-signed.zip. error code: 7. any clue why?
netrixken said:
can't flash it under lineage-16.0-20190809-nightly-gemini-signed.zip. error code: 7. any clue why?
Click to expand...
Click to collapse
Are you using TWRP provided in first post?

[CLOSED] Testers Needed for merlin Custom ROM Development.

Hey, I need testers that will test custom rom builds for merlin.
Anyone interested ping me on telegram at MOD EDIT: Link Removed
thx for info God bless you
itexpert.120 said:
Hey, I need testers that will test custom rom builds for merlin.
Anyone interested ping me on telegram at MOD EDIT: Link Removed
Click to expand...
Click to collapse
Bro this roms will be ported or what??? Cuz as i know Xaiomi didnt release the kernel source code yet!!
Mahmoud_helal79 said:
Bro this roms will be ported or what??? Cuz as i know Xaiomi didnt release the kernel source code yet!!
Click to expand...
Click to collapse
They are going to be built from source using the prebuilt kernel
Good morning Master, as far as I know there is not yet a twrp for this device, how will a custom ROM be installed without Twrp ..?
I also wanted to know if a Rom based on AOSP will work ..?
straikerxd said:
Good morning Master, as far as I know there is not yet a twrp for this device, how will a custom ROM be installed without Twrp ..?
I also wanted to know if a Rom based on AOSP will work ..?
Click to expand...
Click to collapse
I guess there is this... https://unofficialtwrp.com/twrp-3-4-1-root-redmi-note-9/
Not tried it, can't vouch for it
thesoupthief said:
I guess there is this... https://unofficialtwrp.com/twrp-3-4-1-root-redmi-note-9/
Not tried it, can't vouch for it
Click to expand...
Click to collapse
In the link that you cited you have an unofficial Twrp, let's remember that there are specific models such as the 4 and 3 gb ram variants, and also those that come with NFC, that Twrp reports more failures than successes.
straikerxd said:
In the link that you cited you have an unofficial Twrp, let's remember that there are specific models such as the 4 and 3 gb ram variants, and also those that come with NFC, that Twrp reports more failures than successes.
Click to expand...
Click to collapse
Good points well made
straikerxd said:
In the link that you cited you have an unofficial Twrp, let's remember that there are specific models such as the 4 and 3 gb ram variants, and also those that come with NFC, that Twrp reports more failures than successes.
Click to expand...
Click to collapse
There are different methods to install twrp on NFC one and non NFC one
If you have NFC one then follow the XDA thread(a bit complicated)
If you're like me and have thr non NFC one, then simply watch this https://youtu.be/bPBbkIEEx7M
I'll will represent as a tester will ping you in telegram
Hey @itexpert.120 Can you Help me with somethings on this redmi note 9?
THREAD CLOSED
@itexpert.120 XDA is not an advertisement platform for recruitment of testers on Telegram.
Regards,
shadowstep
Forum Moderator

Categories

Resources