[ROM][4.4][EAS] Enchanted LineageOS 17.1 with 4.4 kernel - Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev

Enchanted LineageOS 17.1 with 4.4 Infinity EAS Kernel
Gemini forever alive!
Download:
TWRP with 4.4 kernel
LineageOS 17.1
Installation:
If you are on stock TWRP you need to flash 4.4 to avoid any problems like /data corruption!
You need to perform a factory reset (format /data)!
Flash rom, gapps/microG and optionally magisk.
Known bugs:
Camera hang in Snap when switching to HDR (click back button and open camera again, boom, it's working)
Join Mi5 group on Telegram
Please consider donating to my hard work
https://paypal.me/xNombre
XDA:DevDB Information
Enchanted LineageOS 17.1 with 4.4 kernel, ROM for the Xiaomi Mi 5
Contributors
xNombre
Source Code: https://github.com/xNombre
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
Version Information
Status: Stable
Created 2020-01-06
Last Updated 2020-04-02

Reserved
Antutu Score

Reserved
¯\_(ツ)_/¯

Thanks for your hard work

hi
tanx 4 ur hard work
i want know about battery life plz..

install instruction?
and best frimware?
tanx

Can not change battery icon style it is stuck on Icon Portrait.

Hi @xNombre, just 2 quick questions regarding the the kernel used in your LOS release:
1- Does the kernel support HW Encryption? I remember on Havoc 2.9 (Android P) there was a port of 4.4 kernel with working HW crypto.
2- Will you release a standalone package of the infinity kernel in the future that can be used with other ROMs?
Thanks!

do we need jdc treble for this or what? since it "treble"

What about battery life?

can i flash other android 10 gsi based on this rom since it "treble"

immediately banned from telegram group right after joined. not even wrote a message or got a warning. interesting way to manage a community group.
i'll be around for feedbacks. thanks for your effort anyways.

nebik said:
Can not change battery icon style it is stuck on Icon Portrait.
Click to expand...
Click to collapse
It's LOS bug.
3V0LU710N said:
Hi @xNombre, just 2 quick questions regarding the the kernel used in your LOS release:
1- Does the kernel support HW Encryption? I remember on Havoc 2.9 (Android P) there was a port of 4.4 kernel with working HW crypto.
2- Will you release a standalone package of the infinity kernel in the future that can be used with other ROMs?
Thanks!
Click to expand...
Click to collapse
1. AFAIR not yet because it's not merged on LOS.
2. Probably no because there are too many custom changes made (dt & vendor) and I don't like listening to moaning that something is broken. I want to release more interesting ROMs some day (Syb... uhh ekh... eria).
shandianex1 said:
can i flash other android 10 gsi based on this rom since it "treble"
Click to expand...
Click to collapse
Hmmm, that's interesting question. I've only focused on making it fulfill all Android Q requirements concerning vendor separation (and such as APEX), not intended to make it GSI friendly. I guess there are still some incompabilities and you can't expect such and old device to be GSI friendly.

jackryder38 said:
What about battery life?
Click to expand...
Click to collapse
Test yourself, the biggest culprit about I can do nothing more is RIL. Maybe when Xiaomi releases Q for daisy, the blobs will make it better.
RmznDndr said:
immediately banned from telegram group right after joined. not even wrote a message or got a warning. interesting way to manage a community group.
i'll be around for feedbacks. thanks for your effort anyways.
Click to expand...
Click to collapse
The group is protected with antibot, I've checked your nickname and youre not banned for sure.

Enchanted LineageOS updated!
Changelog:
Merge latest kernel_common and CAF tag into kernel
Merge latest branch into qcacld driver
Use fq_codel queuing discipline, faster net
Update some blobs (those I have access to) from LA.UM.8.6.r1-02900-89xx.0
Remove unused move time data script
Add missing wifi mac generator
Fix USB tethering
Uprev Mapper to 2.1
Tweak Dalvik parameters accroding to new google configs
Go back to stock WiFi config and add some new Xiaomi edits - fixes connectivity problems
Rootdir updates
Minor cleanup
Fixup microG location
Massive overlay update from LA.UM.8.6.r1-02900-89xx.0
Selinux enforcing
Safetynet PASS!!!
Important LOS updates:
Fixed battery style
Updated to android 10.0 r23
Added survival script (magisk reflashes itself)
Repo sync all
Download via sf:
https://sourceforge.net/projects/xn...-17.1-20200119-UNOFFICIAL-gemini.zip/download
Please consider donating...
https://paypal.me/xNombre

xNombre said:
Enchanted LineageOS 17.1 with 4.4 Infinity EAS Kernel
Known bugs:
Speaker playing only left channel
5GHz hotspot
Camera hang in Snap when switching to HDR (click back button and open camera again, boom, it's working)
Click to expand...
Click to collapse
Fixed?

PavelPerm said:
Fixed?
Click to expand...
Click to collapse
Camera still hangs on HDR on/off. 5Ghz Hotspot works and about speaker i do not know.

nebik said:
Camera still hangs on HDR on/off. 5Ghz Hotspot works and about speaker i do not know.
Click to expand...
Click to collapse
Use this Gcam
https://easyupload.io/5ms9tu
It's version 7.2 - optimized and working 100% on gemini

PavelPerm said:
Fixed?
Click to expand...
Click to collapse
Not listed so not fixes, I thought it's clear.
New build could have some problems due to selinux change (dt2w or so) and I will push hotfix when I can.

xNombre said:
Not listed so not fixes, I thought it's clear.
New build could have some problems due to selinux change (dt2w or so) and I will push hotfix when I can.
Click to expand...
Click to collapse
I have problem with permission name (icon != Permission name)

Related

[ROM][7.1.2][UNOFFICIAL] LineageOS with OMS patch for Xperia M (nicki/c1905)

Hello everyone. I decide to build my unofficial builds for Sony Xperia M (C1905/NICKI) device since official builds stops.
Main differences comparing with offiicial LineageOS:
Integrated OMS patch with LineageSubstratum project. Before that, i used LineageOMS project, but author decide to freeze development. Currently only clean Lineage 14.1 will be builded. Latest rom with LineageSubstratum - lineage-14.1-20171126_103228-UNOFFICIAL-nicki-loms
Removed 2 apps: Snap (due to video recording bug) and Camera2 (due to sdcard save problem). Replaced with OpenCamera
Warning! These builds incompatible with last official build for Xperia M lineage-14.1-20170427-nightly-nicki-signed and requires full system/data/cache wipe.
Building is performed from time to time or weekly based. So check & download my build host recently! BTW, all builds checked manually by me on my phone, so be sure - no invalid roms.
Download roms: lineageos.do2.pw
Explanation of filenames:
-los.zip - clean LineageOS build
-loms.zip - with LineageSubstratum patches
-nicklas.zip - with F2FS patches and Mimori kernel
builds before 24.08.2017 are with LineageOMS patches
Flash this for dual sim models (c2004/c2005),
Flash this for standart LOS root.
If you need - Opengapps arm 7.1 (pico recommended)
Device: sources
Kernel: sources - original LOS nicki kernel
Vendor: blobs - from the TheMuppets repo
Build manifest (with LineageSubstratum): here
Build manifest (with LineageOMS): here
Build manifest (without LineageOMS): here
Build manifest (with F2FS patches and Mimori kernel): here
Big thanks for LineageOS, LineageOMS, LineageSubstratum, Nicklas Van Dam for updated device tree, The Muppets for blobs. And all testers for reasonable replies
droncheg said:
Hello everyone. I decide to build my unofficial builds for Sony Xperia M (C1905/NICKI) device since official builds stops. Then i decide integrate great OMS thing with LineageOMS project.
So, it's a clean LOS with a little flavor of OMS for fully working Substratum
Building is performed from time to time, so check my build store recently!
host: lineageos.do2.pw
latest: lineage-14.1-20170524-UNOFFICIAL-nicki
Click to expand...
Click to collapse
Thanks for OMS support ?
Have someone who install this rom. How works?
For author: Please upload screenshots and changelog.
Sorry, has no permissions to attach or include links due to my newbie status here.
Changelog is the LOS+LineageOMS summary changes at build time, so read them for changes.
Thanks for the rom. will try it shortly. Btw can you please move this thread to android development section?
hhjadeja007 said:
Btw can you please move this thread to android development section?
Click to expand...
Click to collapse
All i can do is spam here up to 10 posts, then i will have necessary rights =)
Sad to hear that
Just flashed today.
Great rom but not able to detect sim card. Using c2004. Thanks for the rom
hhjadeja007 said:
not able to detect sim card. Using c2004
Click to expand...
Click to collapse
As all dual sim models - you must flash this for working sim.
where we can download your ROM bro?
Nicklas Van Dam said:
where we can download your ROM bro?
Click to expand...
Click to collapse
lineageos.do2.pw
Camera app crashes while selecting video recording mode
hhjadeja007 said:
Camera app crashes while selecting video recording mode
Click to expand...
Click to collapse
Yep, thats known bug with com.cyanogenmod.snap application. Any other camera app record video without bugs. I recommend Open Camera (net.sourceforge.opencamera) from F-Droid.
It might be heard stupid...but how can I change the battery circle to percentage? There was always this choise in other roms but I cannot find it here.
By the way,I installed it yesterday paired with hana kernel,overclocked to 1350...it is really fast (for its age)! No overheating issues just one random restart.I do not know if it is the rom or the kernel,I will find out in the future.I do not have a sim inside (it is just a back up phone).I installed apps,browsed the internet, browsed in phone files etc.It is good.Concerning speed >Antutu bench stock ~19500,overclocked bench ~24500.
jokeris said:
but how can I change the battery circle to percentage?
Click to expand...
Click to collapse
Settings, Status bar, Battery status style, Text
And yes, C1905 feel perfect himself at 1.4 GHz overclock, but i use NUI kernel
Added screenshots & links
droncheg said:
Added screenshots & links
Click to expand...
Click to collapse
Great sir :good: , can you give a source link for device,kernel and vendor that you are using it?
One request, can you add pixel like animation effect in navigation bar?
Nope =)
Big update for this firmware! Replaced kernel to modded HanaKernel (limit max_cpu_freq to 1458MHz, min_cpu_freq to 192MHz - for stability at boot stage), replace Snap to Camera2 (Snap is useless in video recording at this device), replaced my phone blobs to blobs from TheMuppets repo. Latest build is here

[ROM][OTA][mkn-mr1]Mokee Open Source for Samsung S4(all variants)

What is the difference?
RELEASE: Tested after integrating new features, more stable than NIGHTLY. (Odexed builds)
NIGHTLY: Built daily with newest code and experimental features, might contain undiscovered bugs. (Deodexded builds)
HISTORY: Final odexded builds once a newer Android version is out and being built.
EXPERIMENTAL: Released when a new device is added or when a new feature is added for public beta testing and feedback. (Deodexded builds)
UNOFFICIAL: Maintained separately by individual developers, usually involves modification of shared code which cannot be merged (affects other devices), therefore maintained by the developer himself.
THIS IS A UNOFFICIAL VERSION BECAUSE IT CAN'T BE BUILT AT OFFICIAL SERVER! I just want you know Mokee and other AOSP ROM can't be official unless alberto96's lineage os be official.
I won't have time to update it anymore,you can use my source to continue it.See you next summer,everyone.(if nobody want to continue it,I will update it mouthly.(Sometimes weekly)
About
MoKee Open Source is based on the Google AOSP. We update our source code frequently to keep up with the latest development, and not forgetting to merge in special features of our own at the same time.
A small group of people from around the world who are interested in Android launched this project on the 12th of December 2012, and is committed to make this ROM better and better. Like most contributors of open source projects (Omni, CyanogenMod, Slim AOSPA etc), we are doing all these in our free time as our passion…
Since this project is open source, anyone interested can participate in the development (maintain new devices, contribute code etc). Newcomers are always welcomed!
Read here for developer application: http://www.mfunz.com/en/developer-application, you can host your unofficial MoKee builds on our server!
Credits:
Google, Qualcomm, Linux Kernel Organization, Motorola, Samsung, Lge, TI, Nvidia, Intel, Sony,
CyanogenMod, Omnirom, Slim Roms, Koush for open-sourced SuperUser, lineageOS, TeamWin,
Smartisan Digital Co, Substratum Development Team, The Open GApps Team.
ContributorErag0n(Migrate source from Lineage OS and build a zip) @sunilpaulmathew(Thanks for his suggestions and reply, most importantly, his awesome Kernel source.) @Alberto96(all hard work)
Features
1.Fully OMS Supported
2.Xposed Framework Supported
3.Can make a dirty flash which Lineage OS can't.
4.Phone & Messaging:Quick contacts look up, speed dialing, caller location and other useful features
5.Colorful Themes:Unleash the creative side of you, customize how your phone looks; make it cool, make it colorful!
6.Smart Controls:Increase your productivity with Active Display, Lockscreen Notifications and other shortcuts
7.Power Saver:With our unique battery saving strategies, get the most out of your phone's battery
8.Latest source merge from google android source.
9.Minimal but not simplify.
10.Delta update:8~15Mb, more than 300mb download space saved.
11.OTA Update
12.Odexed
Supproted Devices
ja3gxx(GT-I9500),ja3gchnduos(GT-I9502),jaltelgt(SHV-E300L),jalteskt(SHV-E300S/K),ja3gduosctc(SCH-I959).
After Odexed,ROM may have a large size(600~700MB),but it can get a better improvement.
Enjoy it!
Change logs:
MK60.1-8.13
Alpha build,this build is a stable RELEASE version,what is RELEASE?Please see the first line of post.
MK71.2-7.23
First build,sync to latest Mokee Source.
MK71.2-7.24
Second build, sync to lastest Mokee Source, Delta update available, Automatical translation, charger:fix small capture font.
MK71.2-7.25
Sync to lastest Mokee Source, change pixel launcher to default launcher, new kernel merged, now you can use Kernel Adiutor to custom kernel governor.
MK71.2-7.25-17.06
Fixed all bug, include high sensitive screen, display mode, novbar.Alberto not fixed bug I unable to fix.
MK71.2-7.26
Sync to latest source.
MK71.2-7.27
Sync to lastest Mokee Source, Kernel updated to 3.4.113, thanks to sunil.
MK71.2-7.28
Sync to latest source, stability is improved.
MK71.2-7.28-19.31
Sync to latest source.
MK71.2-7.29~8.05
Sync to latest source,new LawnChair launcher is added.
MK71.2-8.12
Xposed app added,automatical translation.Update to android-7.1.2_r29-tag
MK71.2-8.13
Only update for ja3gchnduos,jaltelgt,jalteskt.
MK71.2-8.20
Update source,probably fixed jalteskt incoming problem.OTA update supported,Gapps added.
MK71.2-8.26
Device Source updated,PowerHAL added,odexded,improve boot speed,Blur effect added and etc.
MK71.2-8.30
Source Update,bug fix.
MK71.2-9.02
Hardware source update,in next build,Gapps will be removed.
MK71.2-9.09
Source Update and Gapps removed, device ja3gduosctc added.
MK71.2-9.15
Source Update.
MK71.2-9.23
Source Update,kernel change to origin.
Delta update and full download:
Everyone can use delta update now, even installed stock gapps.
Delta Update can save your download time but get full function which contains in full update.
Full update is made for who use Mokee just once or need system files repaired.
Delta(OTA) update will keep 1 generation system up to date, in order to save space.
Version MK 71.2-7.23~7.26
https://drive.google.com/folderview?id=0B5BV4JClBJELa19mNjU4b2ZubUk
You must choose a version which is correct for you.
Version MK 60.1-8.13&MK 71.2-7.27 and above.(You can find all ROM contains MK 60.1 in it)
https://www.androidfilehost.com/?w=files&flid=202052
Recommend Kernel: (Now is build-in in Mokee.)
SmartPack is a good kernel that can give you better battery drain and system fluency.Thanks to sunilpaulmathew for making a awesome kernel.
If you want to see more about kernel,here is the link:https://forum.xda-developers.com/ga...nel-smartpack-project-lineage-os-14-t3590858/
How to build:https://github.com/exynos5410/manifest There are some unique changes for mokee open source,if you want to build one,ask me for help without hesitation,I will try my best to help you.
Issues (copy from Alberto's post)
MK 71.2 issues:
Filesystem Socket Whitelist (https://goo.gl/1N6n7G) - The only issue that requires to be fixed in order to get official.
SELinux (Permissive)
BASED ON USERS FEEDBACK: Mobile Signal Reception isn't 100% stable.
Shared Storage (doesn't encrypt the storage)
ja3gxx: In-Call Echo Effect (random and rare)
ja3gxx: In-Call Volume can't be increased/decreased
ja3gxx: OK Google (Automatic Voice Recognition)
ja3gchnduos: Missing Dual SIM support.
jalteskt: Mobile Data and Incoming Calls don't work.
jalteskt: USSD Codes can't be sent.
jaltelgt: RIL crashes on boot, meaning that Calls/Data won't work.
MK 60.1 issues:
1.Audio HAL isn't working correctly, causing VOIP issues, HDMI audio instabilities and mixer paths conflicts
2.STK Toolkit isn't working yet, SMSs aren't properly sent (RIL issue)
3.SELinux policies are almost complete, with just some minor missing rules
4.Wireless Display (or Miracast if you like) stream is corrupted, buffer issues
5.Adoptable Storage isn't stable, crashes while encrypting the external storage (Kernel Panic). Read Here: http://goo.gl/0w6DPt
6.Device Encryption isn't stable for the same issue that affects Adoptable Storage
Problems report
You need report problems with your
ROM Version
Step to get bugs
If possible,with a logcat is better.
Source Code
https://github.com/Dracanrage
Sorry for my bad English
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.113
ROM Firmware Required: Lollipop Bootloader and Modem, TWRP 3.1.1 as Recovery
Based On: AOSP
Version Information
Status: UNOFFICIAL
Created 2017-07-23
Last Updated 2017-09-23
Screenshots
Is there any differences between Los and it?
Super Sha said:
Is there any differences between Los and it?
Click to expand...
Click to collapse
Yes.
1.Pixel Round Icon
2.Substratum build-in and OMS supported.
3.Merged source from Android O
4.Xposed Framework build-in.
5.Battery Save and etc.
6.Delta Update can make dirty update and save more than 300MB download space.(In next build)
(As we know Lineage OS can't make dirty update,and don't have a theme engine, a rounded icon.)
Erag0n said:
Yes.
1.Pixel Round Icon
2.Substratum build-in and OMS supported.
3.Merged source from Android O
4.Xposed Framework build-in.
5.Battery Save and etc.
6.Delta Update can make dirty update and save more than 300MB download space.(In next build)
(As we know Lineage OS can't make dirty update,and don't have a theme engine, a rounded icon.)
Click to expand...
Click to collapse
Nice work!I will try it soon. Will it be official?
Super Sha said:
Nice work!I will try it soon. Will it be official?
Click to expand...
Click to collapse
Sorry, it can't be.
As Alberto says, unless Samsung update the Kernel source to fix the Zygote problem, it can't be official.
i will try, thanks.
Is there any problem with mobile data and call echo?
tosunkaya said:
i will try, thanks.
Is there any problem with mobile data and call echo?
Click to expand...
Click to collapse
As Lineage OS, there should not have any problem with mobile data, but call echo will appear randomly (according to different hardware which Samsung use).
app to sd
how to move app to sd card ?
RahmahTunisa said:
how to move app to sd card ?
Click to expand...
Click to collapse
There is a error in make SD card as internal storage, so it can't move app to SD card in Nougat.
This error is mentioned in Alberto's post, I use his device, vendor, hardware source to make this ROM, so this ROM have the same problem.
What about battery draining?
It's like lineage ?
Mohamed rajab said:
What about battery draining?
It's like lineage ?
Click to expand...
Click to collapse
I think it maybe a little better than Lineage OS because source is optimized.
Here is the screenshot, regularly, if it show's 3 hours left, it actually can use 3~4 hours
Lineage OS often show's 2 or 3 hours left, so I think it was a little better than Lineage OS.
But due to the exynos hardware, it will be heat if you use your phone to play a big game or other heavy CPU work, it can't be solved because exynos 5410 is heat and battery drain since it be announced.
Hey, guys.
Delta update is come back now, you will see it in today's update.
Edited
Delta update is available.
Camera2.zip for installed stock gapps guys.
About how to use, please read the main post.
Edited
This file is useless, you need get Camera2.app from 7.23 ROM zip.
Edited 7.25
Mokee updated the check script, it is no need to keep Camera2 installed.
Nice work
Thank you so much
Erag0n said:
I think it maybe a little better than Lineage OS because source is optimized.
Here is the screenshot, regularly, if it show's 3 hours left, it actually can use 3~4 hours
Lineage OS often show's 2 or 3 hours left, so I think it was a little better than Lineage OS.
But due to the exynos hardware, it will be heat if you use your phone to play a big game or other heavy CPU work, it can't be solved because exynos 5410 is heat and battery drain since it be announced.
Click to expand...
Click to collapse
Tell me, what bugs are there? And can I use opengapps aroma?
What bugs do we have here?
Does it support remapping the hardware keys (like RR) for example, you can use long press on back button to get you back to home..
Please make a telegram group to discuss the ROM..
And for battery drain, I suggest you to underclock the CPU to 450mhz and use only two cores.
I didn't understand how to use smart pack Kernel, can you explain?
nebrassfarfoor said:
Tell me, what bugs are there? And can I use opengapps aroma?
What bugs do we have here?
Does it support remapping the hardware keys (like RR) for example, you can use long press on back button to get you back to home..
Please make a telegram group to discuss the ROM..
And for battery drain, I suggest you to underclock the CPU to 450mhz and use only two cores.
I didn't understand how to use smart pack Kernel, can you explain?
Click to expand...
Click to collapse
Yes, you can use aroma, but had better not install Google camera in order to use delta update.
It support remapping the hardware but not support long press custom.
About bugs, please read the main post
About battery drain, Mokee Open Source make some optimizations, and kernel is not been limited.
About using smartpack Kernel, you can use twrp to flash it, and I am working for merge smartpack kernel to Mokee.
About telegram group, I am so sorry that I can't make one because Chinese telephone number is limited in sent message to strangers.
Hey, guys.
I fixed my S4 today.
Now I can test a amazing Kernel.
Thanks to @sunilpaulmathew for his help and smartpack source.
Hi
Bug = not notification miscall and sms
deletanha said:
Hi
Bug = not notification miscall and sms
Click to expand...
Click to collapse
Oh, it was terrible.
Let me check.
Waiting for a minutes please.
Edited
In my S5 official Mokee, missing was common if I use Aegis.
Did you use it?

[ROM][Mi5][7.1.2][EAS] JDC Nougat Revived

Hey there,
good news for everyone who is missing the great JDC Nougat!
With smeroni68's authorization I'm offering you the latest version of the ROM, built from source, with some changes to keeping it up to date and maintained.
These changes are:
Latest security bulletins and changes from AOSP​Kernel upstreams from Linux Stable​Updates from Code Aurora Forum (CAF)​Some smallish modifications of standard apps or behavior​
All credit goes to the JDC team!
(Check attachment for a list of team members).
They are the geniuses behind this awesome ROM and kernel, and I'm only making basic and minor modifications to it.
Besides a huge thanks to each member of the JDC team, thanks to Google, Lineage, Linux, CAF, Github & everyone else involved!
And many thanks also to DennySPB who helped me a lot with all the building stuff!
Have fun and enjoy!
Downloads
ROM / Kernel
Hashes
Recommended firmware
Last and latest Oreo firmware for our Mi 5:
8.11.22
ROM installation
Install latest TWRP
Make backups and store them externally
Wipe dalvik, cache, system, vendor, data
When coming from any android version other than Nougat 7.1.2:
Make external backups of your internal storage content
Format data (type "yes" way)
Reboot to recovery to access the data partition correctly again
Flash adequate firmware
No reboot in between the following and the optional steps
Flash ROM
Optionally:
Flash Gapps for 7.1.x arm64. I recommend OpenGapps Pico with additions (1) OR Stock with gapps-config.txt file (2):
(1) Flash Gapps additions (for example these by @Deltadroid)
(2) Check post_#128
Flash ThemeReady GApps package for Nougat arm64 (I don't)
Flash root (Latest Magisk is working fine for me)
After the first boot
Follow the gapps assistant (in case you installed gapps)
Wait 2 - 5 minutes to let everything settle in
Reboot to system
Kernel installation
You'll only wanna install the kernel separately when there's a kernel-only update later than the last ROM version!
Wipe dalvik and cache
Flash the kernel zip-file
Optionally: Re-flash root (if you were rooted before or now wanna be rooted)
GPL
All repos are forked from AOSP-JF-MM or LineageOS
Device tree source code:
https://github.com/PhilSmith31/platform_device_xiaomi_gemini/tree/aosp-7.1.2_r36
Kernel source code:
https://github.com/PhilSmith31/platform_kernel_xiaomi_msm8996/tree/bb
XDA:DevDB Information
AOSP, ROM for the Xiaomi Mi 5
Contributors
Phil_Smith
Source Code: https://github.com/PhilSmith31
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
ROM Firmware Required: 8.1.18
Based On: AOSP
Version Information
Status: Stable
Created 2018-08-28
Last Updated 2020-03-20
Changelogs
20.03.2020
March 2020 security updates from LineageOS
Synced Lineage repos
Kernel is up to date with relevant commits to android/common
02.03.2020
Security bulletins up to Februrary 2020 (no more source.android updates coming from here on)
Updated everything in aosp.xml to latest android tag r39
Updated HALs and all externals under CAF to tag LA.UM.5.5.c25-04600-8x96.0
Upstreamed kernel with all changes to android/common up to date
Merged LA.UM.5.5.c25-04600-8x96.0 into qcacld-2.0
Synced Lineage repos
Kicked opencv
Kernel compiled with latest Linaro toolchain 7.5.0
17.09.2019
ROM:
Security updates from August and September 2019
Merged in CAF tag LA.UM.5.5.c25-03100-8x96.0 into externals, hals, and some vendors
Synced system/gatekeeper with LOS
Kernel:
B--B-Kernel-N-[2019-09-17]-[20:17]-Mi5
From now on always also present in kernel_only folder
Cherry-picked all relevant aosp's kernel/common/android-3.18 commits up to date
Merged in security related changes from aosp
Merged CAF tag LA.UM.5.5.c25-03100-8x96.0 into qcacld-2.0
Wrote simple python script to filter out warnings from compile output
Check extract_warnings.py and changes to build_kernel.sh
Vendor/aosp:
Monitor changelog under Dropbox link only
all changelogs
.
FAQ
I'm having general problems with the ROM installation or don't know what steps to perform to move from x to y or to restore or undo z. What shall I do, Dr. Phil?
Dr. Dr. Phil said:
First read the intro and then see whether your problem is covered here:
Standard Installation Types
Still issues? Then feel free to post in this thread!
Click to expand...
Click to collapse
Gcam mod has green lines in portrait mode or even in general
Dr. Dr. Phil said:
Settings -> advanced -> Fix Camera API2 -> support level override
and set it to "Zsl reprocessing"
Click to expand...
Click to collapse
Gcam mod video recording is force closing all the time.
Dr. Dr. Phil said:
This problem is present in Arnova's cam versions > 8, while photo shooting is working fine with the support level override fix above. You could use stock camera for video recording or use Arnova's gcam mod in versions 7.9 till 8.
Click to expand...
Click to collapse
Proximity sensor lets the screen get black while making a phone call
Dr. Dr. Phil said:
Use the recommended firmware (Oreo 8.11.22).
If that doesn't help, here is a fix that I used once successfully when I had the same problem.
Thanks to Mi5 Arsenal!:
flash zcx twrp
make a backup of your persist partition (let's call that x)
store x externally in case the fix shouldn't work or make anything worse (which I don't believe, but still)
download this zip file and place it where x had been stored (replace x with it)
hit restore in twrp, and select the new backup file you just put in place where x was
reboot to system
You can switch to official twrp afterwards without any problem!
Click to expand...
Click to collapse
Xposed isn't working or producing issues, what to do?
Dr. Dr. Phil said:
In my experience, xposed is very powerful, but can produce all kinds of weird and untraceable behaviour.
I don't recommend using it if not completely nessecary, and cannot support it.
Click to expand...
Click to collapse
Reserved
Hi mate... thanks for your dedication on our work!
Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
This is exactly what I was looking for N Rom with latest patches:laugh: .Ty so much for your work, will try it soon. :laugh:
What is for boot.img?
XxFatiHxX said:
What is for boot.img?
Click to expand...
Click to collapse
Just so you could flash back stock kernel separately.
Nothing you need for the ROM installation.
Thanks for this great work! Can I dirty flash it on latest original JDC nougat? And can I flash B-B Kernel or better not to do this?
ERRORR2 said:
Thanks for this great work! Can I dirty flash it on latest original JDC nougat? And can I flash B-B Kernel or better not to do this?
Click to expand...
Click to collapse
You should be able to dirty flash, although I think that a clean flash is advisable.
B-B-kernel should be working, but keep in mind that I am gonna keep updating the stock kernel and the B-B one is getting more and more outdated.
Edit:
This info is outdated!
B--B-kernel is even built into the ROM now!
The ol' but gold rom has waken up from long sleep
This rom is eas or hmp ?
Kyru said:
This rom is eas or hmp ?
Click to expand...
Click to collapse
EAS
Phil_Smith said:
EAS
Click to expand...
Click to collapse
Will it work with latest beta firmware ?
Will try soon
Kyru said:
Will it work with latest beta firmware ?
Click to expand...
Click to collapse
I would suggest Nougat-based firmware, but maybe on Oreo-based everything is working as well - can't say.
You need to try that out (on your own risk).
Thanks very much @Phil_Smith
Finally.. must try this one.. thanks @Phil_Smith
I can't believe this is perfect.
Can you add more status bar customizations?
Does alarm from switched off work with this rom?
Inviato dal mio MI 5 utilizzando Tapatalk

[8.1.x] Smoke kernel Modded for Mipad (Mocha)[Shield blobs only]

Modded Smoke kernel for xiaomi mipad
Based on Twu2`s work found on his github
Features:-
Overclocked cpu and gpu
Memcpy optimizations for faster ram access time.
Increased Quick charge 2.0 current for faster charge (Enable the usb fastcharge option from kernel aduitor mod)
Usb fastcharge interface from Nexus 9(thanks to @flar2)
3x framebuffer
nvidia smartdimmer
This kernel will only be compatible with Shield blob roms only and only for android oreo
Flashing instructions:-
Downloads Have been removed Because There`s no respect for my work here.
Source code:-
Check the r24.1 branch on my github and the link is at the end of the description
XDA:DevDB Information
[8.1.x] Smoke kernel Modded for Mipad (Mocha)[Shield blobs only] , Kernel for the Xiaomi Mi Pad
Contributors
yrahate7, Artemka2008, twu2
Source Code: https://github.com/Yrahate7/SmokeR24.2-kernel
Kernel Special Features:
Quick charge 2.0 ,Overclocked cpu,gpu
Version Information
Status: Testing
Created 2018-08-28
Last Updated 2018-08-28
Changelog:-
v1 Overclock,memcpy optimizations,mods for quick charge
v2 Added nvidia smart dimmer and enabled 3x framebuffer for better rendering
increased current draw for both quick charge 2 chargers and normal ones
Reserved 2.0
can you make it for 7.1.x nougat shield rom please?
It breaks the hardware button on lineage os 15.1 shield oreo rom
Home and recents button not working,back button works fine
but software button (navbar no problem)
hope you can also work on nougat version of this
BTW thanks for the custom kernel
I dont understand. Where can i download it?
2D-Kun said:
I dont understand. Where can i download it?
Click to expand...
Click to collapse
open this thread on your browser,you'll see download tab.
on xda app it doesn't show up
I downloaded the zip file and tried to flash via twrp. However got the error invalid zip file. Any idea??
I am in resurrection remix 8.1 shirld blobs rom.
aggarwal959 said:
I downloaded the zip file and tried to flash via twrp. However got the error invalid zip file. Any idea??
I am in resurrection remix 8.1 shirld blobs rom.
Click to expand...
Click to collapse
Download the file again,check the md5sum,
Update to the latest recovery.if it still doesn't work ,pm me .
jeremeel2015 said:
hope you can also work on nougat version of this
BTW thanks for the custom kernel
Click to expand...
Click to collapse
Sorry , Can`t do so.
yrahate7 said:
Added nvidia smart dimmer
Click to expand...
Click to collapse
We don't have smartdimmer
Same Here
filandry said:
It breaks the hardware button on lineage os 15.1 shield oreo rom
Home and recents button not working,back button works fine
but software button (navbar no problem)
Click to expand...
Click to collapse
I'm using resurrection remix oreo rom and the home button totally stopped working.
hope they come back with a better update
Artemka2008 said:
We don't have smartdimmer
Click to expand...
Click to collapse
Its a kernel based feature, Yes we do have it. Check out my git.
Maybe we might be missing some Application to support it, but my kernel adds support for it.
Took the commit from nexus 7 (2012).
P.s. Check the r24.1 branch on my Git.
and Salute to you sir, for supporting this device till now, making it better than it previously was on miui.
Just hoping you can add back camera support for this amazing device
AkhileshBandi said:
I'm using resurrection remix oreo rom and the home button totally stopped working.
hope they come back with a better update
Click to expand...
Click to collapse
For the Hardware navigation keys, I`ll add a new post to fix them.
They stopped working for me too, but i can`t seem to remember how i fixed it.
Will add it asap.
yrahate7 said:
Its a kernel based feature, Yes we do have it. Check out my git.
Click to expand...
Click to collapse
lmfao. Google at first. Smartdimmer is a HARDWARE thing. We don't have this hardware function. Kernel just contains the driver for communicating with a smartdimmer. You can enable anything you want, but it will not work because of lack of the hw part.
Artemka2008 said:
lmfao. Google at first. Smartdimmer is a HARDWARE thing. We don't have this hardware function. Kernel just contains the driver for communicating with a smartdimmer. You can enable anything you want, but it will not work because of lack of the hw part.
Click to expand...
Click to collapse
Okay , I`m not sure about it.
Thanks for the Tip.
Sorry for the off topic question but can you please Recommend a particular Dolby atmos port?
And just one another question, Why wont the cameras work? I know there`s some issue with the HAL.
yrahate7 said:
can you please Recommend a particular Dolby atmos port?
Click to expand...
Click to collapse
I don't use any sound mod.
yrahate7 said:
Why wont the cameras work? I know there`s some issue with the HAL.
Click to expand...
Click to collapse
Cuz we need android HAL which will be compatible with nvidia's HAL and our cameras inside kernel. Or we need to write V4L2 kernel drivers for our cameras.
about this one
git
1) I won't revert it cuz I use more then 2Gb
2) Look at nvidia's default config at first
You try to sound smart, but in fact you know nothing about our tablet.
Reserve. I hope the author put back download link. The kernel feuture is promising. Hope we can test it. Thanks.
Up, hope to see this kernel again

[KERNEL] [Android 10/11] [EOL] nem0 Kernel for OP7 series

Introduction
nem0 Kernel is CAF based kernel aiming to provide great stability and performance while maxing out battery life!
Code:
// Your warranty is now void.
//
// I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
// Please do some research if you have any concerns about features included in this Kernel before flashing it!
// YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Main Features:
- Unified for OOS 10 and Android 10/11 Custom ROMs
- Based and upstreamed to latest CAF tags for the SD855
- Upstreamed to latest Linux-Stable
- Upstreamed to latest F2FS stable
- Compiled with Clang 13 and -O3 speed optimizations flags
- SCS, CFI, DCE, Polly optimizations
- Simple LMK driver from kerneltoast
- BBR2 TCP congestion algorithm
- 675 MHz GPU OC
- PELT scheduling mechanism
- Many scheduler backports from mainline and/or 4.19 Google kernel
- Zip made using latest AnyKernel3 release, retains root on flash (Stable Magisk 21.4 or higher reccommended)
- Zip flashable through EXKM/FKM/TWRP
*FKM over-the-air updates are supported, import the following json:
*(https://raw.githubusercontent.com/nem0-z/android_kernel_oneplus_sm8150/master/ota/update.json)
- Many more features I don't remember right now, check source if you're interested or contact me on Telegram!
Bug reports:
- If you want to report a bug, please provide some sort of logs (logcat, dmesg)
Flashing instructions:
- Just flash it through TWRP or EX or Franco's Kernel Manager apps
- No sorts of configs needed, flash and be happy out of the box
Downloads
Stable and Test builds: Google Drive
Kernel being actively tested in this group: Telegram
Donations
If you would like to keep this project going with more improvements, feel free to support it: PayPal
Thank you to:
@0ctobot(Adam Willis) for great Neutrino Kernel base
@osm0sis for AnyKernel
@nathanchance for help with upstreams
@topjohnwu for magisk
@idkwhoiam322, @KuranKaname for being good friends
@BobAzzon, @npv12, @Gabyrx7, @Reechings and rest of my dear friends that tested the kernel (really, wouldn't be possible without you guys <3)
Contributors
nem0 aka AnnoyingZlatan
Source Code: GitHub
Version Information
Status: Stable
Created 2021-01-31
Last Updated 2021-01-31
Reserved
Meh, just in case
Works fine with latest crDroid build so far, although I lost root after flashing kernel only in TWRP (using Magisk Canary).
AnnoyingZlatan said:
- Zip made using latest AnyKernel3 release, retains root on flash
Click to expand...
Click to collapse
Toutatis_ said:
Works fine with latest crDroid build so far, although I lost root after flashing kernel only in TWRP (using Magisk Canary).
Click to expand...
Click to collapse
Yeah, latest AnyKernel 3 update works best with stable Magisk, so v21.4 and higher(once that comes), sorry about that, will edit the OP.
Unified for OOS 10 and Android 10/11 Custom ROMs
so is it not for OOS 11 OB1? Sorry for bad English
Get it while it's hot, been using this for a month. Great battery, snappy as sh*t. And the overall performance is second to none.
WesTD said:
Unified for OOS 10 and Android 10/11 Custom ROMs
so is it not for OOS 11 OB1? Sorry for bad English
Click to expand...
Click to collapse
No not yet
Ok people, v1.1 is out. It's a minor update.
Changelog:
- Switched to latest Clang 13 compiler
- Disable TTWU_QUEUE (noticed some regressions with it)
- Increase limit on schedtune groups from 7 to 8
You can find the build on Google Drive as always, link in OP
AnnoyingZlatan said:
Ok people, v1.1 is out. It's a minor update.
Changelog:
- Switched to latest Clang 13 compiler
- Disable TTWU_QUEUE (noticed some regressions with it)
- Increase limit on schedtune groups from 7 to 8
You can find the build on Google Drive as always, link in OP
Click to expand...
Click to collapse
Of course, you had to push this update mere minutes after I installed V1 to try it out. I feel so silly.
Regardless, installation has been smooth, doesn't overwrite Magisk in either release case, and performance feels about the same(?) as what I last used, kernel-wise? But I appreciate niceties like USB fast charge implemented. Working well on Resurrection8.x.
Can't connect to camera on guacamoleb on crDroid 6.14.
jmax91 said:
Can't connect to camera on guacamoleb on crDroid 6.14.
Click to expand...
Click to collapse
Now that you mentioned it, Camera (GCam) crashes out when it worked earlier today with my previous kernel.
Whelp. :x
SeongGino said:
Now that you mentioned it, Camera (GCam) crashes out when it worked earlier today with my previous kernel.
Whelp. :x
Click to expand...
Click to collapse
Can you try and reflash the previous kernel and see if it still happens? If yes then please share logs of those crashes as I can't reproduce it on my end and my testers had no issues.
AnnoyingZlatan said:
Can you try and reflash the previous kernel and see if it still happens? If yes then please share logs of those crashes as I can't reproduce it on my end and my testers had no issues.
Click to expand...
Click to collapse
Flashed, and it happens on v1 as well as v1.1. Log attached, using built-in camera app as the example.
The camera worked just a few hours ago, i.e. prior to me flashing this kernel, on the very same ROM (ResurrectionRemix 8.6.6), as well as there being no other substantial change (ROM, app updates, etc.) between then and now, so the environment isn't the issue.
2MIN_EDIT: Just to be sure, I reflashed my kernel previous to nem0 with no other change, and the Camera works as it should. No Camera-related Magisk tweaks installed with either; just QuickSwitch and Universal SafetyNet Fix.
SeongGino said:
Flashed, and it happens on v1 as well as v1.1. Log attached, using built-in camera app as the example.
The camera worked just a few hours ago, i.e. prior to me flashing this kernel, on the very same ROM (ResurrectionRemix 8.6.6), as well as there being no other substantial change (ROM, app updates, etc.) between then and now, so the environment isn't the issue.
2MIN_EDIT: Just to be sure, I reflashed my kernel previous to nem0 with no other change, and the Camera works as it should. No Camera-related Magisk tweaks installed with either; just QuickSwitch and Universal SafetyNet Fix.
Click to expand...
Click to collapse
Okay, would you mind coming to the Telegram group, I would like you to test some stuff out.
AnnoyingZlatan said:
Okay, would you mind coming to the Telegram group, I would like you to test some stuff out.
Click to expand...
Click to collapse
I don't usually do this, but am willing to follow through if it helps.
SeongGino said:
I don't usually do this, but am willing to follow through if it helps.
Click to expand...
Click to collapse
Ehm just to check something real quick, what device are you running?
@AnnoyingZlatan Can confirm built-in OOS Camera that comes with crDroid 7.2 (OnePlus 7 Pro) crashes after updating to 1.1. Works fine with 1.0.
Log attached.
Toutatis_ said:
@AnnoyingZlatan Can confirm built-in OOS Camera that comes with crDroid 7.2 (OnePlus 7 Pro) crashes after updating to 1.1. Works fine with 1.0.
Log attached.
Click to expand...
Click to collapse
Did you try the good old trick of long holding camera icon and going into portrait mode? I see nothing kernel related in those logs sadly.
New test build is up in Test Builds folder on Drive. Some of my testers verified camera working, need others here to test it as well. Report back please

Categories

Resources