[LINUX STABLE KERNEL][Mi-A1] 3.18.108 - Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De

Hi Guys!
This thread is dedicated to latest Linux Stable Kernel version based of recently released Oreo Kernel for Mi A1.
In simple words it is "Android kernel trees with linux-stable merged into them".
https://github.com/android-linux-stable/tissot
You can compile it and flash it using "AnyKernel" or build it into your own ROM.
Current Version: 3.18.103
XDA:DevDB Information
[LINUX STABLE KERNEL][Mi-A1] 3.18.103, ROM for the Xiaomi Mi A1
Contributors
pvineeth97, nathanchance
Source Code: https://github.com/android-linux-stable/tissot
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Version Information
Status: Stable
Current Stable Version: 3.18.103
Stable Release Date: 2018-04-09
Created 2018-03-25
Last Updated 2018-05-10

Great

Thanks for making this thread :good: I've subscribed so if there are any issues, I can address them.
EDIT: I also have a Telegram chat for support: https://t.me/joinchat/C1UAJ1EMSX31PCFdwLnOSg

hi great work. appreciated.

After browsing around a little bit, I have noticed two things:
1. There aren't many (if any) kernels based purely on Xiaomi's stock source, which is what this tree is based on.
2. There are several kernel bases for custom ROMs.
As a result, this tree probably won't be of much use to developers and it's not really easy for me to make a custom branch like I have done for the other trees. As a result, I am offering to merge in the android-linux-stable/msm-3.18 tree which most kernels seem to be downstream from so you have a clean way to update for the future if you don't feel comfortable doing the full merges yourself.
Alternatively, if your tree is almost up to date anyways (3.18.100 or 3.18.101 seem to be common), you can just git merge the latest tag in (v3.18.102 at the time of writing this) and watch the conflict notes for the ones that pop up in the msm-3.18 tree. I'm accessible via this thread or the Telegram group linked above if you have any questions or concerns!

nathanchance said:
Thanks for making this thread :good: I've subscribed so if there are any issues, I can address them.
EDIT: I also have a Telegram chat for support: https://t.me/joinchat/C1UAJ1EMSX31PCFdwLnOSg
Click to expand...
Click to collapse
Thanks. Great work. :good:
Edit :
How to flash this Kernel ?
What's the benefit using this Kernel.

I will try to compile later kernel

nathanchance said:
Thanks for making this thread :good: I've subscribed so if there are any issues, I can address them.
EDIT: I also have a Telegram chat for support: https://t.me/joinchat/C1UAJ1EMSX31PCFdwLnOSg
Click to expand...
Click to collapse
Your presence here is an inspiration!
I'm trying to port omni to mi a1 (keyword: trying... I'm starting to learn the whole process from scratch so, not there quite yet.)
And I hope this kernel will be useful.

Does this mean WireGuard is supported by default?

gusbalaa said:
How to flash this Kernel ?
What's the benefit using this Kernel.
Click to expand...
Click to collapse
This is just a reference for kernel developers. You need to compile a build and make flashable of it.
radogost said:
Does this mean WireGuard is supported by default?
Click to expand...
Click to collapse
No, this is just stock kernel with Linux kernel stable changes merged.
Sent from my Redmi Note 4 using XDA Labs

krasCGQ said:
This is just a reference for kernel developers. You need to compile a build and make flashable of it.
No, this is just stock kernel with Linux kernel stable changes merged.
Click to expand...
Click to collapse
I need to compile it self ?
to make it able to flash, i don't expert about Kernel / ROM.
Thanks.

RELEASED: 3.18.103
https://github.com/android-linux-stable/tissot

Related

[ROM][UNOFFICIAL][8.1.0] NucleaRom [2018-04-27]

Known issues:
You tell me
V1 Initial Release
XDA:DevDB Information
[ROM][UNOFFICIAL][8.1.0] NucleaRom [2018-04-27], ROM for the Xiaomi Mi A1
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: Oreo with TWRP
Based On: LineageOS
Version Information
Status: Stable
Created 2018-04-27
Last Updated 2018-04-27
Screenshots pls
can u maintain one rom and be get official status better than making alot of roms and leave it.
less customized,
better stability,
battery drains a little quicker for me,
overall good rom,
selinux permissive
fosseperme said:
INSTRUCTIONS
- Reboot forcedly in fastboot mode with vol - and power, and after return to TWRP
- Finally flash (without reboot the phone) Gapps Pico arm64 8.1 and Magisk in slot where is installed the system (you can easily understand this in the backup section of TWRP and see the system partition how space take)
- Make the first setup with the Wifi connected!
- Enjoy NucleaRom!
What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
IR Blaster
Wi-Fi
Camera
Bluetooth
Video Playback
Audio
Sensors
Flash
LED
GPS
Volte
Known issues:
You tell me
V1 Initial Release
XDA:DevDB Information
[ROM][UNOFFICIAL][8.1.0] NucleaRom [2018-04-27], ROM for the Xiaomi Mi A1
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: Oreo with TWRP
Based On: LineageOS
Version Information
Status: Stable
Created 2018-04-27
Last Updated 2018-04-27
Click to expand...
Click to collapse
Hi, i'm one of the developers of NucleaRom, this build will never be Official nor it have our approval to be released, while we are an open source project everybody can build it and use but the lack of proper credits here and also the childish and rude behavior of the builder are a major concern for us and we advice to all users to not use this build, we already have an official maintainer for this device who will release the rom when we think it's ready to go for the public.
ok, you do not want to recognize my rom as official, but you can not come here and intimate people not to flash it. I will contact my lawyer.
fosseperme said:
I will contact my lawyer.
Click to expand...
Click to collapse
Lmao
Please use the logout button and never come back
fosseperme said:
ok, you do not want to recognize my rom as official, but you can not come here and intimate people not to flash it. I will contact my lawyer.
Click to expand...
Click to collapse
Wtf
fosseperme said:
ok, you do not want to recognize my rom as official, but you can not come here and intimate people not to flash it. I will contact my lawyer.
Click to expand...
Click to collapse
Wth? Seriously dude . Why dont they ban you?
fosseperme said:
ok, you do not want to recognize my rom as official, but you can not come here and intimate people not to flash it. I will contact my lawyer.
Click to expand...
Click to collapse
Screenshot of your lawyer? Does it boot? Or is it a blind build?
acuicultor said:
this build will never be Official nor it have our approval to be released, ... we advice to all users to not use this build, we already have an official maintainer for this device who will release the rom when we think it's ready to go for the public.
Click to expand...
Click to collapse
Thank you for speaking up. Looking forward to an official release
dmbardal said:
Thank you for speaking up. Looking forward to an official release
Click to expand...
Click to collapse
Absolutely, I don't know If you already used this ROM with another phone but this ROM has always been my favourite ROM since it's first release for ZUK Z1
MartinJesus23 (one of the developers of this ROM(? correct me if I am wrong)) is actively doing changes on GitHub for our device, so I also hope for an official release soon
From the Moderator Oka1
OK Fosseperme You postings are unacceptable and not allowed.
The Original developer of the ROM merely pointed out you provided no credit for his work, kanged it and, then posted within this thread in a threatening manner.
As such, this cannot be tolerated so ............
................ THIS THREAD IS CLOSED .............

[ALL][Kernel][9.0][EAS][AOSP] Tachyon Kernel

What is a Tachyon?
Wikipedia calls it a "hypothetical" particle that most scientists claim doesn't exist.
That is what this kernel is: A kernel for Treble, something Motorola claims they never will release for our device.
Why upstream?
Well, DirtyUnicorns put it best on G+ : https://plus.google.com/+DirtyUnicornsOfficial/posts/2MpHCwKqh5J
This kernel will stay updated to the latest upstream from Linux-stable tree maintained by @nathanchance on git for msm
What is EAS?
Energy Aware Scheduler is a scheduler that knows how much energy is used on each frequency and how much power it uses to give best power/performance ratio. This kernel is slowly getting updated to the latest EAS patches from Linaro.org. For more information, check the below link.
https://www.linaro.org/blog/energy-aware-scheduling-eas-project/
Features:
Upstream kernel from source
Edits to avoid Safetynet/CTS (If you have root, it will fail signature check inherently without SUhide or Magisk hide)
Built With the Latest Clang for Android with Linaro as the cross compiler
OC GPU (changed 710 MHz to 750 MHz)
Same Adrenoboost tweaks as the Pixel 2 ElementalX kernel.
Wakelock fixes by Boeffla
EAS implementation (still work in progress)
Bugs/Issues:
hit and miss on MotoMods
Download:
Google Drive
Instructions:
Download ZIP to phone
Boot to TWRP.
Flash and follow prompts in Aroma
If you need to flash any GSI zips to boot your GSI, flash them again.
Reflash root if you want root.
Version Information
Status: Beta
Current Stable Version:
Stable Release Date:
Created 2019-02-06
Last Updated 2019-02-06
Source: https://github.com/Uzephi/Nash_AOSP
Git Branch: o9x-tachyon
Compiler: Clang 8.x.x
Cross Compiler: Linaro 7.x
Branch: Android 9.0.y
Kernel Version: 4.4.y
defconfig: nash_defconfig
Credits: @joemossjr - for collaborating and getting this working and debugging w/ me to get the best possible experience for our community. @invisiblek for all the work he's done for our device tree @npjohnson for his work on our device tree. @erfanoabdi for his amazing work getting treble running and his other work on our device.
Thanks and Mentions:
@Lord Boeffla for his wakelock code. @nathanchance for the assistance and amazing guides and keeping msm-8998 up to date with linux-stable @jbats for keeping up to date with linux-stable for me to merge into this kernel.
@flar2 for his work on our chipset, msm8998
All other developers shown in commit history.
(Quoted from Nathan Chance)
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Changelog:
08/14/2018:
Initial release
02/06/2019:
Rebase for Pie
EAS Progress:
Schedutil is a form of EAS. I am currently working on fixing it to get it more in line with how smooth EAS runs on the Pixel. (yes, that means Energy Aware has always been in the AOSP kernels, we just never talked about it. Now that I am updating it to the lastest from Linaro, I am being open about it).
Known issues: GSIs don't work.
Hey there Uzephi. This is for the latest 8/14 build of lineage, right? Because after flashing, I'm stuck on the lineage splash screen.
fossiltkm said:
Hey there Uzephi. This is for the latest 8/14 build of lineage, right? Because after flashing, I'm stuck on the lineage splash screen.
Click to expand...
Click to collapse
Apparently the Tamien vibrator changes haven't been merged yet and are still in Gerrit. I am reverting and will release the fixed kernel in about half an hour.
Updated. same Download link, will now work with Lineage Official that released today. (old build worked on test-keys on 0808)
Uzephi said:
)
Click to expand...
Click to collapse
hi mate, so basically this kernel is not for stock rom right?
thanks
ilovemeow said:
hi mate, so basically this kernel is not for stock rom right?
thanks
Click to expand...
Click to collapse
It's only for Treble. The kernel mounts vendor, so even DU won't boot it.
4.4.148 updated, pushed, and uploaded to Drive. No other changes
sorry for my stupidity, but which roms are actually compatible with this kernel?
Debuffer said:
sorry for my stupidity, but which roms are actually compatible with this kernel?
Click to expand...
Click to collapse
Any ROM built for the Z2 force that is treble enabled. Currently running into a no boot with GSI images and working on fixing that. Currently I think that's only Lineage officials built after 08/14. I don't know if DU has gone treble yet.
link updated to 4.4.150. added back CRC as well. Still no verification if that fixed GSI boot issues
anyone else have screen flip recovery issues after flashing this? everytime my recov screen does a 180 no matter if its twrp, lineage rec, etc
jasperbastianrain said:
anyone else have screen flip recovery issues after flashing this? everytime my recov screen does a 180 no matter if its twrp, lineage rec, etc
Click to expand...
Click to collapse
Its a known issue. Stock lineage kernel does this as well. Best thing to do is just boot twrp.
Edit: 4.4.152 merged and Gdrive updated.
4.4.153 has no changes for us. I merged just to be in line with linux-stable but not releasing a build.
Uzephi said:
Its a known issue. Stock lineage kernel does this as well. Best thing to do is just boot twrp.
Edit: 4.4.152 merged and Gdrive updated.
Click to expand...
Click to collapse
I've only had this issue with this kernel, every other kernel I've tried stock or custom have all been able to load twrp correctly. For some reason though I haven't been able to flash any ROMs with the newest twrp, I always have to use 3.2.2.1 official or the 3.2.2.1 for treble.
Updated to 4.4.154. If you are having issues with TWRP, try flashing the installer after the kernel, I haven't had an issue doing it this way.
will this work with Lineage Unofficial builds??
blake .l said:
will this work with Lineage Unofficial builds??
Click to expand...
Click to collapse
Yes

[REFERENCE][KERNEL][4.9.166] Lineage Kernel with linux-stable

Introduction
This is thread will provide linux stable merged in over lineage kernel 4.9 which is released by flex1911.
NOTE: This kernel only supported for rom which is already build with kernel 4.9.
Sources
> Linux 4.9.y merged over kernel.lnx.4.9.r12-rel
> Linux Stable Merged over Lineage Trees
How do I use?
If you are a developer, the reference tree is located in the link above. This can either be merged into your existing kernel tree if you have one or be used as a fresh base. You do not need my permission to use it nor do you need to give me credit (although it would be appreciated). If you are user, just flash prebuilt kernel in the link below
Prebuilt Link
> Google Drive
XDA:DevDB Information
Lineage Linux Stable Merged, Kernel for the Xiaomi Mi A1
Contributors
khusika, flex1911, nathanchance
Source Code: https://github.com/khusika/android_kernel_xiaomi_msm8953
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 4.9.166
Stable Release Date: 2019-03-27
Created 2018-11-11
Last Updated 2019-03-27
Post List
Clang Patchset: Post 25
Reserved
This should work on other Pie ROMs (Treble or Not treble)?
zurik said:
This should work on other Pie ROMs (Treble or Not treble)?
Click to expand...
Click to collapse
Mentioned in the OP, only for ROM which is already build with kernel 4.9.
Nice.
updated into LOS...:laugh:
mfauzirahman said:
updated into LOS...:laugh:
Click to expand...
Click to collapse
Nice
tmk for your work! @khusika suport f2fs?
D!3G0 #1 said:
tmk for your work! @khusika suport f2fs?
Click to expand...
Click to collapse
There are no extra features in it, just linux-stable merged in over lineage trees. But, based on the configs it enabled by default https://github.com/khusika/android_...4.9/arch/arm64/configs/tissot_defconfig#L4334
zurik said:
This should work on other Pie ROMs (Treble or Not treble)?
Click to expand...
Click to collapse
i done testing on arrow, it booting but sdcard not detect
Linux 4.9.137
Changelog kernel.lnx.4.9.r12-rel:
Merge 4.9.137 into kernel.lnx.4.9.r12-rel
Changelog lineage-16.0-4.9:
Merge 4.9.137 into lineage-16.0-4.9
Upstream with Lineage tree (included google common android-4.9)
Download link in the OP, enjoy it
mfauzirahman said:
i done testing on arrow, it booting but sdcard not detect
Click to expand...
Click to collapse
This kernel won't work with custom ROMS built with kernel 3.18. This was mentioned.
airidosas252 said:
This kernel won't work with custom ROMS built with kernel 3.18. This was mentioned.
Click to expand...
Click to collapse
i know...i just do testing and update based on my testing... :laugh:
just flash the build over los16 4.9.135 ? or dirty flash rom required? @khusika
Xaviers101 said:
just flash the build over los16 4.9.135 ? or dirty flash rom required? @khusika
Click to expand...
Click to collapse
No, just flash this kernel, no dirty flashing needed for the rom, just in case you're already using rom with 4.9 kernel built.
any link for LOS with 4.9 kernal, or i we need to build our own rom atm?
rapitfly said:
any link for LOS with 4.9 kernal, or i we need to build our own rom atm?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=78089025&postcount=839
leofwg said:
https://forum.xda-developers.com/showpost.php?p=78089025&postcount=839
Click to expand...
Click to collapse
ty for that
rapitfly said:
ty for that
Click to expand...
Click to collapse
there is a new version of los 16 with 4.9 here... https://forum.xda-developers.com/showpost.php?p=78148240&postcount=1115

[KERNEL][POLARIS][UNOFFICIAL] FrancoKernel 🔥- r31 - 06th September

Hi all.
Compatibility:
Builds starting with r22 work with MIUI and custom roms based on LineageOS.
Download:
Link - HERE
Installation:
Flash the zip in your recovery
Changelog:
HERE
Source:
HERE
Follow franciscofranco on socials for updates and interesting tidbits
TWITTER
FK Kernel Manager video
HERE
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!
XDA:DevDB Information
[KERNEL][POLARIS] FrancoKernel ⚡️, Kernel for the Xiaomi Mi Mix 2S
Contributors
DahakePL
Source Code: https://github.com/franciscofranco/beryllium
Kernel Special Features:
Version Information
Status: Testing
Created 2019-05-23
Last Updated 2019-09-06
Good!:d:d
:good:
Flashed the r25 on miui eu rom. after reboot it freezed for few seconds then restarted. now it says in specs kernel version: unavailable.
thanks. working great so far on lineageos. lets see if franco kernel is still the battery king.
fanSte_89 said:
Flashed the r25 on miui eu rom. after reboot it freezed for few seconds then restarted. now it says in specs kernel version: unavailable.
Click to expand...
Click to collapse
It will say that on miui
FrancoKernel ? - r29 - 11th July
Changelog - http://kernels.franco-lnx.net/PocophoneF1/9/appfiles/changelog
Download - https://drive.google.com/open?id=1SJDssXMZGJoGy5rlHKdrhauFKP6YFSrL
Fkr29 support rom Base caf, exmple : Revnge os?91
malaadrooid said:
Fkr29 support rom Base caf, exmple : Revnge os?91
Click to expand...
Click to collapse
Yes. On PE-CAF work.
Will you make an update of this kernel?
Seosam said:
Will you make an update of this kernel?
Click to expand...
Click to collapse
Yes, when I'll find time
==============
Franco Kernel R31 - September 6, 2019
==============
Download - https://mega.nz/#F!sJNl3YCL!nzP_gtv50iRXz2_HivvOrg
==============
Does the kernel support network signal guru?
network signal guru

[KERNEL][10] Rain Kernel [HMP][11102020]

Disclaimer
Always backup boot.img before flash.
Do with your own risk.
Requirements
AOSP android 10, No support for MIUI rom!
Latest TWRP or any custom recoveries
Now support for new and old camera blobs
ROMs with default HMP kernel, No eas ROMs support.
Features
Using Anykernel3 flashable by osm0sis.
Simple, no weird feature in here.
Compiled by AOSP clang 11.0.4.
Latest CAF and changes from AOSP kernel 4.4 common (Linux version 4.4.238).
Kcal RGB Colours control.
How to use
Flash the zip through twrp
Reboot and done.
Credits and Thanks
LineagesOS for base patch Xiaomi.
osm0sis for Anykernel3.
Anyone in Contributors
Downloads
Again, please make sure you read the Requirements.
Rain kernel latest release downloads with changelogs
XDA:DevDB Information
Rain, Kernel for the Xiaomi Redmi Note 7
Contributors
rainforce279
Source Code: https://github.com/ryan-andri/android_kernel_xiaomi_lavender
Kernel Special Features: See at Features.
Version Information
Status: Stable
Current Stable Version: 11102020
Stable Release Date: 2020-10-11
Created 2020-09-19
Last Updated 2020-10-11
Changelogs
Code:
[B]Build - 11102020[/B]
[LIST][*]Build with AOSP Clang 11.0.4
[*]power: msm-core: Fix mutex not getting unlocked in error path
[*]ARM64: defconfigs: lavender: make savedefconfig for old and new cam
[*]msm: camera: make new camera blobs support optional and not device specific
[*]ARM: dts: xiaomi: turn green led as white node (should fix led issue on some rom)
[*]add toggle for disabling newly added USB devices
[*]Revert "mm: change max readahead size to 512KB" (depend on rom support)
[/LIST]
Note
For more detail changelogs, you can check the source directly.
Report issue with dmesg log please.
Make sure to not using any magisk modules for tweaks (Avoid conflict with kernel).
Thank you and have a nice day.
Reserved
Hi! Great new kernel I just want to report that double tap to wake isn't working when I flash this on PE+ rom (oldcam rom). I know that it is maybe due to the fact that oldcam is not supported but can we expect to atleast get the d2tw working
guntlet213 said:
Hi! Great new kernel I just want to report that double tap to wake isn't working when I flash this on PE+ rom (oldcam rom). I know that it is maybe due to the fact that oldcam is not supported but can we expect to atleast get the d2tw working
Click to expand...
Click to collapse
dt2w work fine for rom with device tree based from los. seem dt2w sysfs might be different, but for sure i'll check it. Thank you.
rainforce279 said:
dt2w work fine for rom with device tree based from los. seem dt2w sysfs might be different, but for sure i'll check it. Thank you.
Click to expand...
Click to collapse
Yeh got it, Thanks
New build is up!
Enjoy and Thank you.
rainforce279 said:
New build is up!
Enjoy and Thank you.
Click to expand...
Click to collapse
Any chance for old cam?
noobSU said:
Any chance for old cam?
Click to expand...
Click to collapse
will try it for next build.
I installed rain kernel on PE+, no issue so far. for oldcam ROMs, just flash newcamblobs.zip.
but when first install the kernel, it's aborting, say there no ramdisk to unpack. need magisk installed before to get kernel installed. thank you.
edit: seems led is not working on ROM that not based on los tree.
fadhlanisatria said:
I installed rain kernel on PE+, no issue so far. for oldcam ROMs, just flash newcamblobs.zip.
but when first install the kernel, it's aborting, say there no ramdisk to unpack. need magisk installed before to get kernel installed. thank you.
edit: seems led is not working on ROM that not based on los tree.
Click to expand...
Click to collapse
Theres no issue in latest twrp for me, about led i'll check it asap. Thank you.
New Build released!
now support for old camera blobs.
drop caf variant, upstreamed stable for daily.
cleanup changelogs since caf variant droped.
Led issue on some rom should be fixed now.
Trying Nov 7 build but I got sdcard needed format notification. Missing exfat support?
1n00bB said:
Trying Nov 7 build but I got sdcard needed format notification. Missing exfat support?
Click to expand...
Click to collapse
can you provide dmesg log ?
rainforce279 said:
can you provide dmesg log ?
Click to expand...
Click to collapse
I'm ROM hopping but now back to LOS to get dmesg aaand it's working now
Sorry, my bad
Is this project discontinued? or just in a hiatus for the moment
guntlet213 said:
Is this project discontinued? or just in a hiatus for the moment
Click to expand...
Click to collapse
no, sorry bit busy with rl for now.
will release new version asap.

Categories

Resources