[kernel][BETA] Unofficial kernel source for oppo a37f (15399). - Oppo A37 ROMs, Kernels, Recoveries, & Other Develo

Since oppo has not released kernel source for oppo a37f or not responding at all.
Here is the Unofficial kernel source code for oppo a37f (15399) varient.
Currently only M (cm13.0) kernel is bootable. We aren't able to boot O (lineage-15.1) till now.
Oreo kernel booted (3-4-20)
Things which are working on M(cm13.0) :-
- booting
- Touchscreen
- Audio
- Calls
- Internet
- Mtp/usb
- Wifi/BT
- Brightness ( backlight)
- Adb
- etc
Things which aren't working or isn't fixed
- Camera/ LED flash
- Charging ( it shows charging but not supplying any power to battery)
- Some sensors (Gyroscope)
- etc
Special thanks to @Yashraj22. and developers of oppo a37f for testing and providing logs, since I don't own this device
Please help us fixing bugs and boot android O kernel, so that this device can taste the flavour of latest Android versions
Oreo kernel booted (3-4-20)
Kernel source :- https://github.com/sheikhshahnawaz41299/android_kernel_oppo_msm8916/tree/cm-13.0

reserved #1

?
Good Work Mate!

Good work but where can i find cm13 or lineage 15.1 rom for oppo a37f to test this kernel source?
please help....

Related

[AOSP][Treble][N950F/FD] hadesTreble [03.09.2019]

Disclaimer
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 ROM 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.
Some personal thoughts:
- you should read everything from top to bottom of this first page at least - i won't offer support for any issues that were already mentioned;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to send me some coffee (which btw, runs out pretty quick), via paypal, if you want to support my work;
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
Initial notes:
ONLY G950F / G950FD / G955F / G955FD / N950F / N950FD VARIANTS ARE SUPPORTED.
1. Don't forget to check bugs before any kind of questions
2. Since most of the GSIs are AOSP, forget about VoLTE, Knox features, Samsung apps, spen features, Camera mods or features, Iris or other Samsung related features.
3. The GCam we use in OneUI also doesn't work, i know, don't spam with "fix pls".
4. On Note 8 only one camera works, i want and i would like to fix that too, but i can't promise anything.
5. You can use any non-treble rom even if you have treble vendor installed, as long as you flash a non-treble kernel. The rom will ignore your vendor and everything will be as non treble.
* To go back to treble just flash vendor/treble kernel and the desired GSI.
* For the cases when you flashed back official twrp or reverted to normal - follow again all the "how to" steps, from below.
6. Not many kernels support treble now, don't try to flash/boot with others unless they specifically mention the kernel supports treble or you will drastically fail.
If any kernel dev wants to support this project feel free to reach me to provide some critical (ramdisk) patches.
General features:
- based on G965FXXU5CSGD August release
- Note8 files from N950FXXS7DSH1 - August release
- S8(+) files from G95*FXXS5DSH5 - August release
- Aroma vendor zip with selection of some things
- latest hadesKernel included with most of the features of OneUI kernel + other patches
- misc things enabled in framework overlay for better experience
- will update when i will remember
What works:
- everything else that's not listed under the bugs
General bugs:
- no signal bars shown (signal is fine tho) starting with mid-august builds signal bars are working
- fingerprint gestures
- touchscreen dies after a while with AOD/Ambient display always on (fixable with spamming power button 2-3 times)
How to convert to treble layout:
! make sure you are on latest official TWRP for your device (links in #2 post)
1) Download a PIE GSI from here, use ARM64, A only
2) Put GSI in internal storage
3) Reboot to recovery
4) Flash treble-convert zip
5) Reboot recovery
6) Flash downloaded GSI as image-system image
7) Reboot recovery
8) Flash treble-pie-vendor zip
9) Optional flash Magisk > 19.3
How to revert treble layout:
1) Reboot to recovery
2) Flash treble-revert zip
3) Reboot recovery
4) Wipe CACHE in twrp wipe menu
5) Flash any non treble rom or restore your previous twrp backup
Credits
@ananjaser1211
@prashantp01
@Noxxxious
@SuperR.
@jesec
@dron985
@phhusson
@ivanmeler
testers & donors
*please pm me if i forgot someone
XDA:DevDB Information
Project hadesTreble, Tool/Utility for the Samsung Galaxy Note 8 (2017 Phone)
Contributors
corsicanu
Source Code: https://github.com/corsicanu/android_kernel_samsung_universal8895/tree/treble
Version Information
Status: Beta
Current Beta Version: v0.4
Beta Release Date: 2019-09-03
Created 2019-07-31
Last Updated 2019-09-19
Reserved
Download links:
v0.4-treble-pie-vendor
v0.3-treble-pie-vendor
v0.2-treble-pie-vendor
v0.1-treble-pie-vendor
MEGA folder
Misc links
Telegram Support Group
Official TWRP for Note8
Official TWRP for S8/S8+
Latest Magisk stable or test/beta
O/P Bootloaders and modems
Reserved
You can find GSIs here , use ARM64, A only
Working GSIs and their bugs:
- phh AOSP - bootable, only general bugs
- phh Resurrection Remix - bootable, only general bugs
- EnesSastim AospExtended - bootable, only general bugs
- EnesSastim Pixel Experience Plus - bootable, only general bugs
- EnesSastim HavocOS - bootable, only general bugs
- peaktogoo Evolution X - bootable, only general bugs
- parags Evolution X - bootable, only general bugs
- ExpressLuke Evolution X - bootable, only general bugs (ril and brightness fixed)
- ExpressLuke HavocOS - bootable, only general bugs
- Vince31fr HavocOS 11.08.2019 - bootable, gapps needed, only general bugs
- ErfanGSI DirtyUnicorns - bootable, general bugs + advanced settings FC, stock cam crash, no account can be added
- Yey59 nitrOS - bootable, general bugs + stock camera crashing
- NFound DotOS (2019-04-09) - bootable, only general bugs
- Technical Bootleggers (2019-06-07) - bootable, only general bugs
- ErfanGSI MIUI Pie (2019-05-29) - bootable, brightness + general bugs + #miuifix
- king1990 Bliss (2019-04-05) - bootable, brightness + general bugs
- sixohtew OmniROM (2019-07-15) - bootable + general bugs
- Dil3mm4 Descendant (2019-07-10) - bootable + general bugs
- ErfanGSI Pixel Q beta 5 - bootable, general bugs + wifi (setup fails too because of this), fingerprint, storage, brightness slider, sdcard, low sound, bluetooth calls
- OxygenOS-Aonly-9-20190826-ErfanGSI - bootable after deleting "overlay" folder from /vendor, gms update needed, ril works, bugs: brightness, bt audio, face unlock, smart lock
- MIUI-9-20190831, bootable, general bugs + PlayStore and GMS update needed, BT don't pair, MI account, possible 2-3 reboots,
Not working GSIs and their bugs:
- ErfanGSI FlymeOs (2019-07-02) - not booting, black screen after bootsplash
- ErfanGSI ColorOS (2019-06-05) - not booting, infinity reboots at bootsplash
- ErfanGSI OxygenOS (2019-07-01) - not booting, infinity reboots at bootsplash
- ErfanGSI OxygenOS (2019-06-02/06) - not booting, stays at bootanimation
- ErfanGSI POSP (2019-05-30) - not booting, infinity reboots at bootsplash
- ErfanGSI Nubia (2019-06-05) - not booting, stays on bootanimation
- OnePlus7Pro5G (2019-07-06) - not booting, stays on bootanimation
- MacTavish ColorOS (2019-03-23) - not booting, stays on bootanimation
- ErfanGSI ZUI (2019-06-17) - bootable(?), black screen
- ErfanGSI OxygenOS Q (2019-07-29) - bootable(?), SystemUI crashes
- MIMAX3Global (20190802) Pie - booting, reboots every 3sec
- OnePlus7Hydrogen (20190725) - booting, SysUi crashing every 3sec
- OnePlus6THydrogen (20190807) - not booting
- OxygenOS 10 (20190808) Erfan - booting, black screen
Others might work too, test and report and i will update the list.
I strongly recommend using PIE built from source gsis, oem ported images might not boot at all or be filled with other bugs, i won't care of those, remember you are on Samsung, Exynos, on a ported vendor, if you want real/better treble, move to any other device/soc.
As for Q, ErfanGSI Pixel Q beta 5, but it has tons of unfixable bugs right now, flash at your own risk or wait for Q source to drop in order to become patch'able.
Special thanks for testing and contributing on updating the list to @ZcoderDEV, @AndrzejDwo, Pócs Márk, Shayan, @snikerfreak @Soydere and many other users, this place is too small to mention everyone.
FAQ (for later)
Great work as always corsi. this is big
Good job Mate
That is very big step. Thank you for your works.
Amazing alpha port
Thank you @corsicanu for your amazing work You're the best dev for the 8895 family :victory:
Now it's time to break the ice :
- Following your instructions, I was able to boot GSI in about five minutes.
- I chose to install Evolution X GSI (download link : https://sourceforge.net/projects/evolution-x/files/GSI), don't forget to choose A ONLY !
- When you reboot to boot for the first time, it's possible that your Note will reboot itself several times (for me it was 3 times, and it isn't a bootloop if you follow the OP installation).
- Every reboot you will be getting prompt saying you're having an internal problem with your device, don't worry it isn't the case.
- I experienced all the bugs you've mentionned. And don't let the battery discharge completly because you won't be able to charge it again in "offline mode" (thus I wonder if wireless charging will work in this mod but i don't have one to test unfortunately).
- Bluetooth isn't working, only the switcher in settings is. And in QP if you turn it on it will turn off 10 sec later. In settings there is a mention that your device isn't able to detect anthing around.
- NFC isn't working either. Everything seems to be fine (won't switch off by itself) but can't share something via Android Beam (Galaxy Note 3).
- Dual Boot Patcher isn't working, will end up in bootloop.
If you need help for testing just tell me
Once again, amazing job and well done :highfive:
Alek7 said:
Thank you @corsicanu for your amazing work You're the best dev for the 8895 family :victory:
Now it's time to break the ice :
- Following your instructions, I was able to boot GSI in about five minutes.
- I chose to install Evolution X GSI (download link : https://sourceforge.net/projects/evolution-x/files/GSI), don't forget to choose A ONLY !
- When you reboot to boot for the first time, it's possible that your Note will reboot itself several times (for me it was 3 times, and it isn't a bootloop if you follow the OP installation).
- Every reboot you will be getting prompt saying you're having an internal problem with your device, don't worry it isn't the case.
- I experienced all the bugs you've mentionned. And don't let the battery discharge completly because you won't be able to charge it again in "offline mode" (thus I wonder if wireless charging will work in this mod but i don't have one to test unfortunately).
- Bluetooth isn't working, only the switcher in settings is. And in QP if you turn it on it will turn off 10 sec later. In settings there is a mention that your device isn't able to detect anthing around.
- NFC isn't working either. Everything seems to be fine (won't switch off by itself) but can't share something via Android Beam (Galaxy Note 3).
- Dual Boot Patcher isn't working, will end up in bootloop.
If you need help for testing just tell me
Once again, amazing job and well done :highfive:
Click to expand...
Click to collapse
Nice and complete feedback, thanks for it.
However, try to reflash vendor, i used bluetooth on Evo X with car bluetooth for media and for calls so i can confirm it works. As for nfc, it worked for me as i use my phone to pay for things.
Sent from my SM-N950F using Tapatalk
v0.2 is up
Changelog:
fixed autobrightness thanks to @dron985
added gpu driver apps
How to install:
if you are already on a GSI and have v0.1 flashed, flash only vendor as a normal zip, (optional - flash Magisk > 19.3)
coming from any other setup - check first post install instructions.
Download:
Mega
Misc links
Telegram Support Group
Official TWRP for Note8
Official TWRP for S8/S8+
O/P Bootloaders and modems
Personal notes:
If you are new here, make sure you read everything from first page before messing with your phone.
Make sure you backup everything before flashing, things might not work as expected.
Regards!
ananjaser1211 said:
Great work as always corsi. this is big
Click to expand...
Click to collapse
You know you've done an good job when Anan himself drops by! This is big indeed! Thanks Corsi
Reflashed my Note with Odin and installed everything again with vendor v0.2, now Bluetooth and NFC are working properly
When installing or flashing the GSI as zip, an error message comes or do I need to unpack the file beforehand?
Shogunes said:
When installing or flashing the GSI as zip, an error message comes or do I need to unpack the file beforehand?
Click to expand...
Click to collapse
Unpack and flash image as system image.
Sent from my SM-N950F using Tapatalk
Following all the steps I installed RR image, the first time it stayed in the boot, then try again doing a format data and voila! Excellent Bluetooth connection with the car, camera OK and I almost feel no bugs. I do not know if it will be basic but just in case, the image is installed in System and do not forget to download Gapps ... Thank you very much.
Installed pixel experience gsi, works great, haven't experienced any new bugs yet.
Camera is ok.
GOD OF HADES!!! TRUE AND THE ONLY!!!
How many sleepless nights it had costed since first attempt 10 months ago, probably only Your Wife knows ? But as many @Eliteteam members' projects, which we know from the past (big KISS to @ananjaser1211 ?), also this one - EFFECTS ARE THE MOST IMPORTANT, time is not even a minor thing.
Big CONGRATS to You, smaller for the testers ? (but truly deserved) and the biggest THERE U GO for All that didn't have enough patience and FAITH.
Keep Exy8895 alive as long as possible (tho Ur new toy is already on the desk)!
Pls delete
I had already tried rr,nitrOs,nitrogen os,Havoc os,,octopus,dot os ,only rr, nitr n havoc can boot n just some bags.
Is there a way to install the beta of the Pixel with Android Q?

[AOSP][Treble][G95*F/FD] hadesTreble [03.09.2019]

Disclaimer
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 ROM 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.
Some personal thoughts:
- you should read everything from top to bottom of this first page at least - i won't offer support for any issues that were already mentioned;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to send me some coffee (which btw, runs out pretty quick), via paypal, if you want to support my work;
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
Initial notes:
ONLY G950F / G950FD / G955F / G955FD / N950F / N950FD VARIANTS ARE SUPPORTED.
1. Don't forget to check bugs before any kind of questions
2. Since most of the GSIs are AOSP, forget about VoLTE, Knox features, Samsung apps, spen features, Camera mods or features, Iris or other Samsung related features.
3. The GCam we use in OneUI also doesn't work, i know, don't spam with "fix pls".
4. On Note 8 only one camera works, i want and i would like to fix that too, but i can't promise anything.
5. You can use any non-treble rom even if you have treble vendor installed, as long as you flash a non-treble kernel. The rom will ignore your vendor and everything will be as non treble.
* To go back to treble just flash vendor/treble kernel and the desired GSI.
* For the cases when you flashed back official twrp or reverted to normal - follow again all the "how to" steps, from below.
6. Not many kernels support treble now, don't try to flash/boot with others unless they specifically mention the kernel supports treble or you will drastically fail.
If any kernel dev wants to support this project feel free to reach me to provide some critical (ramdisk) patches.
General features:
- based on G965FXXU5CSGD August release
- Note8 files from N950FXXS7DSH1 - August release
- S8(+) files from G95*FXXS5DSH5 - August release
- Aroma vendor zip with selection of some things
- latest hadesKernel included with most of the features of OneUI kernel + other patches
- misc things enabled in framework overlay for better experience
- will update when i will remember
What works:
- everything else that's not listed under the bugs
General bugs:
- no signal bars shown (signal is fine tho) starting with mid-august builds signal bars are working
- fingerprint gestures
- touchscreen dies after a while with AOD/Ambient display always on (fixable with spamming power button 2-3 times)
How to convert to treble layout:
! make sure you are on latest official TWRP for your device (links in #2 post)
1) Download a PIE GSI from here, use ARM64, A only
2) Put GSI in internal storage
3) Reboot to recovery
4) Flash treble-convert zip
5) Reboot recovery
6) Flash downloaded GSI as image-system image
7) Reboot recovery
8) Flash treble-pie-vendor zip
9) Optional flash Magisk > 19.3
How to revert treble layout:
1) Reboot to recovery
2) Flash treble-revert zip
3) Reboot recovery
4) Wipe CACHE in twrp wipe menu
5) Flash any non treble rom or restore your previous twrp backup
Credits
@ananjaser1211
@prashantp01
@Noxxxious
@SuperR.
@jesec
@dron985
@phhusson
@ivanmeler
testers & donors
*please pm me if i forgot someone
XDA:DevDB Information
Project hadesTreble, Tool/Utility for the Samsung Galaxy S8
Contributors
corsicanu
Source Code: https://github.com/corsicanu/android_kernel_samsung_universal8895/tree/treble
Version Information
Status: Beta
Current Beta Version: v0.4
Beta Release Date: 2019-09-03
Created 2019-07-31
Last Updated 2019-09-19
Reserved
Download links:
v0.4-treble-pie-vendor
v0.3-treble-pie-vendor
v0.2-treble-pie-vendor
v0.1-treble-pie-vendor
MEGA folder
Misc links
Telegram Support Group
Official TWRP for Note8
Official TWRP for S8/S8+
Latest Magisk stable or test/beta
O/P Bootloaders and modems
Reserved
You can find GSIs here , use ARM64, A only
Working GSIs and their bugs:
- phh AOSP - bootable, only general bugs
- phh Resurrection Remix - bootable, only general bugs
- EnesSastim AospExtended - bootable, only general bugs
- EnesSastim Pixel Experience Plus - bootable, only general bugs
- EnesSastim HavocOS - bootable, only general bugs
- peaktogoo Evolution X - bootable, only general bugs
- parags Evolution X - bootable, only general bugs
- ExpressLuke Evolution X - bootable, only general bugs (ril and brightness fixed)
- ExpressLuke HavocOS - bootable, only general bugs
- Vince31fr HavocOS 11.08.2019 - bootable, gapps needed, only general bugs
- ErfanGSI DirtyUnicorns - bootable, general bugs + advanced settings FC, stock cam crash, no account can be added
- Yey59 nitrOS - bootable, general bugs + stock camera crashing
- NFound DotOS (2019-04-09) - bootable, only general bugs
- Technical Bootleggers (2019-06-07) - bootable, only general bugs
- ErfanGSI MIUI Pie (2019-05-29) - bootable, brightness + general bugs + #miuifix
- king1990 Bliss (2019-04-05) - bootable, brightness + general bugs
- sixohtew OmniROM (2019-07-15) - bootable + general bugs
- Dil3mm4 Descendant (2019-07-10) - bootable + general bugs
- ErfanGSI Pixel Q beta 5 - bootable, general bugs + wifi (setup fails too because of this), fingerprint, storage, brightness slider, sdcard, low sound, bluetooth calls
- OxygenOS-Aonly-9-20190826-ErfanGSI - bootable after deleting "overlay" folder from /vendor, gms update needed, ril works, bugs: brightness, bt audio, face unlock, smart lock
- MIUI-9-20190831, bootable, general bugs + PlayStore and GMS update needed, BT don't pair, MI account, possible 2-3 reboots,
Not working GSIs and their bugs:
- ErfanGSI FlymeOs (2019-07-02) - not booting, black screen after bootsplash
- ErfanGSI ColorOS (2019-06-05) - not booting, infinity reboots at bootsplash
- ErfanGSI OxygenOS (2019-07-01) - not booting, infinity reboots at bootsplash
- ErfanGSI OxygenOS (2019-06-02/06) - not booting, stays at bootanimation
- ErfanGSI POSP (2019-05-30) - not booting, infinity reboots at bootsplash
- ErfanGSI Nubia (2019-06-05) - not booting, stays on bootanimation
- OnePlus7Pro5G (2019-07-06) - not booting, stays on bootanimation
- MacTavish ColorOS (2019-03-23) - not booting, stays on bootanimation
- ErfanGSI ZUI (2019-06-17) - bootable(?), black screen
- ErfanGSI OxygenOS Q (2019-07-29) - bootable(?), SystemUI crashes
- MIMAX3Global (20190802) Pie - booting, reboots every 3sec
- OnePlus7Hydrogen (20190725) - booting, SysUi crashing every 3sec
- OnePlus6THydrogen (20190807) - not booting
- OxygenOS 10 (20190808) Erfan - booting, black screen
Others might work too, test and report and i will update the list.
I strongly recommend using PIE built from source gsis, oem ported images might not boot at all or be filled with other bugs, i won't care of those, remember you are on Samsung, Exynos, on a ported vendor, if you want real/better treble, move to any other device/soc.
As for Q, ErfanGSI Pixel Q beta 5, but it has tons of unfixable bugs right now, flash at your own risk or wait for Q source to drop in order to become patch'able.
Special thanks for testing and contributing on updating the list to @ZcoderDEV, @AndrzejDwo, Pócs Márk, Shayan, @snikerfreak @Soydere and many other users, this place is too small to mention everyone.
FAQ (for later)
This is just the best thing that happen to our S8!!!
You are a genius!!! Forgot to root but I'll go ahead and do that just now, Evolution X flashed!
Bluetooth working great with my headset, wifi perfect, data connection perfect, so far nothing major to report but its clearly state that bugs or whatever belong to the thread of the rom flashed by anyone.
Nice!!!!! ?
Few of my favorite quotes:
Code:
[I]"fake
you will never have any proper treble on s8 lmao
not oem treble = fake treble = ****ing useless
waste of time" [/I] - [B]A[/B]ndroid[B]C[/B]losed[B]S[/B]ource[B]P[/B]roject dev
Goodjob on finally releasing it. Looks like the best thing that has happened to S8 besides my kernel :victory:
Thanks for this and keep up the good work
Man this is such good news for this Phone, this open a whole new world for ROMS and such, really thanks OP for doing this!
Screenshots please?
Thank you so much for this !!! Best thing that have ever happened!!
mrjoy said:
Screenshots please?
Click to expand...
Click to collapse
the post #5 have screenshots
What the ****?
How can you be so good?
You were a genius with Hades Rom that was my main rom.
Now you're a LEGEND.
Bless your heart and soul man.
Have a great Life.
GENTLEMEN..... that's a big victory...
i am stuck at Galaxy S8 screen, did everything as mentioned... i even updated TWRP to latest official 3.3.1 and updated modem and boot loader to G950FXXU4DSE4 , any help will be appreicated
kariem9495 said:
i am stuck at Galaxy S8 screen, did everything as mentioned... i even updated TWRP to latest official 3.3.1 and updated modem and boot loader to G950FXXU4DSE4 , any help will be appreicated
Click to expand...
Click to collapse
Reflash convert zip and vendor zip.
Sent from my SM-N950F using Tapatalk
How to install?
Edit - when I try to install the GSI my TWRP doesn't recognize the img file, what I have to do to solve it? Any help will be very grateful! Cheers guys! :laugh:
LU SONEVESSO said:
How to install?
Edit - when I try to install the GSI my TWRP doesn't recognize the img file, what I have to do to solve it? Any help will be very grateful! Cheers guys! :laugh:
Click to expand...
Click to collapse
Tap on install image so the .img files show which is the extension of the image system you're looking for
---------- Post added at 07:22 AM ---------- Previous post was at 07:17 AM ----------
A fast review of this project :
1- this project is 99.5% complete.
2- No major bugs, only general bugs that are mentioned in the post and they aren't really that important to be honest.
3-Make sure you follow the installation steps by the letter, and make sure you're downloading the right system image for our device.
4-If you get no sim card after rebooting, do a "soft reebot" , normal rebooting didn't fix the problem for me.
5-Battery life is perfect, i feel it is even better than OneUI.
kariem9495 said:
A fast review of this project :
1- this project is 99.5% complete.
2- No major bugs, only general bugs that are mentioned in the post and they aren't really that important to be honest.
3-Make sure you follow the installation steps by the letter, and make sure you're downloading the right system image for our device.
4-If you get no sim card after rebooting, do a "soft reebot" , normal rebooting didn't fix the problem for me.
5-Battery life is perfect, i feel it is even better than OneUI.
Click to expand...
Click to collapse
Oh wow that sounds really good, that gives me ton of hope for newer ROMs when Samsung ends supporting the S8/S8+
Holy ****! I never knew I would live this day Anyways:
- phh's ResurrectionRemix works fine, except the brightness is completely dead on that build, I wasn't able to control it via the slider.
- phh's AOSP just stuck at the Samsung logo and rebooting, I tried installing it twice, without any success.
- Evolution X is the perfect one. The very small bug I found (well, for someone maybe a big one) but taking a photo/video in a 3rd party app (Messenger, Facebook, Instagram) is very choppy for me, every second it freezes for a small time. Maybe @corsicanu can say anything about this issue. Everything else (but the known bugs) are working FLAWLESSLY. I LOVE IT.

[KERNEL] Linux Kernel Version 4.9

Linux Kernel 4.9 for Moto G5​
As you guys already know, our Moto G5 has an ancient linux kernel (3.18.x) which is now EOL (end of life) from support from actual Linux Foundation. It's pretty much stuck there with no probable updates to it (can use the android 3.18 for updates, but I think that's pretty much soon to be deprecated).
I have been working on this kernel since the past one year and finally managed to boot it on our Cedric!​
WARNING: THIS KERNEL IS STILL ALPHA AND MOST OF THE BUGS HAVE STILL NOT BEEN FIXED​.
I just wanted to share this kernel with the community!
What works:
Boots
Display
Touch
Storage
Charger
Battery Indication
Bugs:
Pretty much every basic thing
RIL (Calls, mobile data, etc.)
Vibrations (Weird and too strong)
Camera
Flashlight
Only Oreo boots so far.
Want to try for yourself?
Click Here to download link LineageOS 15.1 with Linux Kernel 4.9
Huge Thanks to @wiktorek140 for helping me out with bugs and congratulations to him for booting 4.9 on Montana
Leave a thanks if you like my work!
Buy me a Cup of Coffee or Beer here​
XDA:DevDB Information
Linux Kernel 4.9, Kernel for the Moto G5
Contributors
m_vaisakh, wiktorek140
Source Code: [url]https://github.com/mvaisakh/msm-4.9[/URL]
Kernel Special Features: Linux Kernel 4.9.x
Version Information
Status: Alpha
Created 2020-03-30
Last Updated 2020-03-30
Reserved
You can find screenshots here:
https://m.imgur.com/a/OWEhM3b
NOTE: The screenshots are from 2 different builds and hence the difference in kernel version.
Cheers!
Update:
I've been working to fix display and audio on for us.
You can check the progress in my kernel repository. I hope to fix it soon!
Nice! Simply nice. This will hopefully get more attention :good:
Update:
Indian variant finally boots now!!
Thanks to Neosight from Mido community for the fix!
It was because of the bootloader not accept the arm IOMMU of cedric (atleast in indian variant). Instead the kernel sent a full aarch64 (or arm64) iommu tz cb, which wasn't getting a secure pass from bootloader through qseecom interface, which apparently states that motorola still uses older (nougat) bootloader in XT1677 (or the Indian variant).
m_vaisakh said:
Update:
Indian variant finally boots now!!
Thanks to Neosight from Mido community for the fix!
It was because of the bootloader not accept the arm IOMMU of cedric (atleast in indian variant). Instead the kernel sent a full aarch64 (or arm64) iommu tz cb, which wasn't getting a secure pass from bootloader through qseecom interface, which apparently states that motorola still uses older (nougat) bootloader in XT1677 (or the Indian variant).
Click to expand...
Click to collapse
Ig edit the op then :angel:
nift4 said:
Ig edit the op then :angel:
Click to expand...
Click to collapse
Updated OP.
m_vaisakh said:
Updated OP.
Click to expand...
Click to collapse
bro how did u update from v3.18 to v4.9 ? Pls I wanna know where can I study about this?
devvikram said:
bro how did u update from v3.18 to v4.9 ? Pls I wanna know where can I study about this?
Click to expand...
Click to collapse
CAF had added support for msm8937 for 4.9 with Android Oreo, I just used their base and added moto g5 specific changes. It may sound easy, but it's not.
m_vaisakh said:
CAF had added support for msm8937 for 4.9 with Android Oreo, I just used their base and added moto g5 specific changes. It may sound easy, but it's not.
Click to expand...
Click to collapse
where to study on this??I want to do with my Snapdragon 625 . It's v3.18 which I have to upgrade to v 4.9
devvikram said:
where to study on this??I want to do with my Snapdragon 625 . It's v3.18 which I have to upgrade to v 4.9
Click to expand...
Click to collapse
There's no specific documentation for this. It was all trial and error. Have you read the OP? I've clearly stated it took me 1 year to get it to work.
To start, you should know your way around linux kernel and for reference you can use my source and well there are many other devices that were 3.18 and now run 4.9
m_vaisakh said:
There's no specific documentation for this. It was all trial and error. Have you read the OP? I've clearly stated it took me 1 year to get it to work.
To start, you should know your way around linux kernel and for reference you can use my source and well there are many other devices that were 3.18 and now run 4.9
Click to expand...
Click to collapse
thanks alot
I overtook the development and got a few quite nice results. Current bug list:
Boots -
Bt -
Wifi -
Camera -
Vibration -
Gps -
Audio -
Ril - (no call audio)
Fp -
Light Sensors -
Accelerometer -
Proximity -
Gyro -
Mic -
Usb Tethering -
MTP & ADB -
Headphones -
Offline Charging -
Flashlight -
SD Card -
FM Radio -
Issues:
Rebooting to recovery boots to system.
Random reboots.
(that is on Android 10)
my source is at https://github.com/n4experiments/
and thanks to wiktorek140 and his 4.9 montana port because without him I would never be able to get so far

[KERNEL][EAS][9.0] EAS Eva Kernel - ProjektEva

ProjektEva presents Eva Kernel​
Code:
**DISCLAIMER**
Flash this kernel at your own risk. Do not blame me if you did something
wrong whilst flashing this kernel. I will not accept any blame for MODs
that may have caused any instability to your device.
Its only bringup of m_vaisakh ProjektEve EAS kernel for Montana. Every credits please send to m_vaisakh.
Features of the kernel:
1. EAS:
Code:
* Energy Aware Scheduling
* Ainur DTS Eagle Sound Engine
* SchedUtil Governor by default
* Latest Motorola 3.18 Changes
* recalculated msm8937 sched energy costs
* Better GCam Focus
* KCAL MDSS Color Configuration
2. Non-EAS:
Code:
* Ainur DTS Eagle Sound Engine
* Latest Motorola 3.18 Changes
* Zen I/O Scheduler
* Better GCam Focus
* KCAL MDSS color configuration
Flash it on any Pie.
NOTE:This kernel will not work with Stock rom (Because it is 64bit), It will work with treble and nontreble roms.
Downloads:​
All Downloads will be available on the m_vaisakh github releases on the kernel Source or montana official sourceforge project.
DOWNLOAD flashable zip here.
Install:​-Choose treble or nontreble version. If you don't know which one use, ask on ROM thread or test both and check which one boot. Remember to make backup!
-Flash zip or .img file using twrp recovery or for example FrankoKernelManager.
Supported roms:
- LineageOS 16.0 (treble)
- DirtyUnicorn (nontreble)
- PixelExperience (nontreble)
- Ressurection Remix (non treble)
- any GSI (treble)
- <wait for testers to check on other roms>
XDA:DevDB Information
[KERNEL][EAS][Android PIE] Eva Kernel | ProjektEva, Kernel for the Moto G5S
Contributors
wiktorek140, m_vaisakh, SohamLad7
Source Code: https://github.com/mvaisakh/eva_kernel
Kernel Special Features: Energy Aware Scheduling + Non-Energy Aware Scheduling
Version Information
Status: Stable
Current Stable Version: 3.0+EAS
Stable Release Date: 2020-04-12
Created 2020-04-12
Last Updated 2020-04-12
Eva EAS+ 2.0 Release
Changelog:
>Major CAF upstream (Over 400+ commits merged)
>MDSS upstream
>Tsens upstream (Better thermals)
>Some specific backports from android kernel common
Eva EAS+ 3.0 Release
Changelog:
>Optimised a lot of code
>Better LMK
>Scheduling improvements
>Enabled Ultra Low Power Mode for all panels.
>Realtime scheduling when hotplugging.
Just installed it, it is working so far.
But there is an odd message just after boot saying there's a problem with the phone (one of Jarlpenguin build's had the same issue for a moment).
Dan Mornill said:
Just installed it, it is working so far.
But there is an odd message just after boot saying there's a problem with the phone (one of Jarlpenguin build's had the same issue for a moment).
Click to expand...
Click to collapse
Its not that high cost of better performance. Will take care of it when i have time
I noticed a better battery life and a possibility to dim screen on kernel settings, which is nice. Thanks for your working on it.
Updated thread description.
Added proper download link.
Added support to non-treble roms.
wiktorek140 said:
Updated thread description.
Added proper download link.
Added support to non-treble roms.
Click to expand...
Click to collapse
Thanx!
FYI the nontreble version sends my device in a bootloop on your lineage 16 build. The previous boot.img worked, so I assume that was build for treble.. (I was under the impression that development for treble had ceased)
Ænimal said:
Thanx!
FYI the nontreble version sends my device in a bootloop on your lineage 16 build. The previous boot.img worked, so I assume that was build for treble.. (I was under the impression that development for treble had ceased)
Click to expand...
Click to collapse
The current lineage 16 builds are treble, everything else isn't (Gsi images installed on top of Lineage 16 also count as treble)
Post updated. Added new compatibile rom and GSI to list
I installed lineageos 16.0 (jarl version) with the treble kernel and everything is working perfectly, however an error message appears whenever you turn on or restart the device:
"There is an internal problem with your device. Please contact the manufacturer for more details."
Thanks
samuelrafo said:
I installed lineageos 16.0 (jarl version) with the treble kernel and everything is working perfectly, however an error message appears whenever you turn on or restart the device:
"There is an internal problem with your device. Please contact the manufacturer for more details."
Thanks
Click to expand...
Click to collapse
Duplicate, im aware of that. Will be fixed in future
After a few days of use, I can tell there is a very nice improvement on battery life ??
wiktorek140 said:
ProjektEva presents Eva Kernel​
Version Information
Status: Stable
Current Stable Version: 3.0+EAS
Stable Release Date: 2020-04-12
Created 2020-04-12
Last Updated 2020-04-12
Click to expand...
Click to collapse
Installed this with nontreble version on Havoc-os 2.9 + microg. + magisk with no issues that I've noticed.
Does it works with Lineage 15 build too?
newinnov said:
Does it works with Lineage 15 build too?
Click to expand...
Click to collapse
Nope, Android P only
newinnov said:
Does it works with Lineage 15 build too?
Click to expand...
Click to collapse
If you know how, you can always test it itself. Just make backup before and write result if u try
wiktorek140 said:
If you know how, you can always test it itself. Just make backup before and write result if u try
Click to expand...
Click to collapse
Lineage 8.1 works fine with non-treble version.
Also, Version 3.0 has some random reboot bugs, so original developer has reverted this kernel to "EvaEAS+-1.2+-cedric.hotfix.zip" Release: 2020-05-07
Zero reboot with this kernel on my XT1794 and latest lineage build
New update to EVA kernel!
Avaiable to download from link in main post. Build with date 20200510 at end.
Available for treble and nontreble build. Should support rom mentioned in main post.
Changelog:
- tweaks in vidc
- compiled using GCC 9.3
- added preset cpu efficiency
- fixed Internal Error message on boot
New UPDATE.
Link available in main post.
Download version with 20200511 date at end of file name.
Changelog:
- minor nfc fixes
- fixed front flash

[CLOSED][ROM][UNOFFICIAL] LineageOS 17.1 for Asus Zenfone 4 Max [Q][ZC520KL][ZC554KL]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: Android 10 is not supported anymore, please use this
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0 (Q), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Namings
Asus Zenfone 4 Max, ZC520KL or also called X00HD, is referred as X00H
Asus Zenfone 4 Max, ZC554KL or also called X00ID, is referred as X00I
Asus Zenfone 4 Max Pro, ZC554KL or also called X00ID, is referred as X00I
THIS ROM REQUIRES PIE FW. OREO AND NOUGAT FW WON'T BOOT!
Flashing instructions
Note: You must be on stock Android Oreo or Android Pie beta!
- Unlock bootloader (Asus unlock tool is in their website)
- Flash TWRP
- Format data (and not wipe)
- Wipe cache
- Flash the custom ROM
- Flash additional zips, like Gapps or Magisk
- Reboot and wait
What's not working
- Fingerprint needs to be tested
What firmware do you need?
- Pie firmware
Don't for whatever reason disable force encryption, camera won't work if you do so (my TWRP supports data decryption)
Downloads
X00H
X00I
Changelogs are on #2 post
Telegram channel for updates: Here
Telegram group for support: Here
Sources:
Common device tree
X00H device tree
X00I device tree
Common kernel sources
Common vendor blobs
Happy modding!
Changelog:
08/31/2020
Common:
- August 2020 SPs
- Kernel sources has been unified, also supporting X00P (2018 phone)
- Added a check that will abort flashing if Pie FW isn't installed
- Building a custom fingerprint HIDL, this will definitely fix fingerprint
- Back and recents key will now vibrate when touched
Needs to be tested:
- Goodix on X00H, FPC and Goodix on X00I
Old changelogs:
07/29/2020
Common:
- Fixed fingerprint as home button for some variants (tested on X00H, cdfinger sensor)
- Fixed WFD and Miracast
- Updated all blobs from daisy
- Fixed FM Radio
- Fixed power-off alarm
- Fixed wide-angle camera on Snap
X00I:
- Rebased X00I kernel to latest CAF tag (no need anymore to flash external boot image)
- Fixed Wi-Fi on X00I
Bugs:
- X00H: Probably goodix not working, but the rest is rock solid
- X00I: Fingerprint not working yet
07/15/2020
- From now on devices codenames have the final D removed, following other Asus devices examples, you can still flash ROMs w/o issues
- July 2020 security patch
- Kernel has been rebased to CAF LA.UM.8.6.r1 tag (thanks to KudProject for the base kernel)
- Kernel upstreamed to 3.18.140 + Google ASB changes
- Camera has been fixed
- Fingerprint has been fixed
- Notification LED has been fixed
- Fixed heating issue
- ROM will now force encryption by default (needed for camera, DON'T DISABLE IT, support for TWRP decryption will come soon)
Bugs:
- Fingerprint doesn't act as home key (I've enabled software navbar as a workaround for now)
- FM radio
06/01/2020
- Fixed Wi-Fi
- Imported prima stuff to kernel
Not working
- Camera
- Fingerprint
- Power-off alarm
05/27/2020:
- May security patches
- RIL (calling, mobile data, SMS and maybe also VoLTE) working
- Bluetooth fully fixed
- No more random bootloops and restarts
- Media OMX issue solved
04/27/2020
- Initial build
I have the X00I device, if u need tester
New build will come out soon with RIL (calling, mobile data and possibly VoLTE) fixed!
After this I will start working on X00I and X00ID
Wow thanks for this im willing to test now
New update is out!
See post #2 for changelog
To the Forum Administrator (for unknown reasons I can't access PM section but I read your message from email notification)
I have updated common kernel sources link (I did some tree cleanup and I haven't updated links on XDA)
Aaaand I fixed Wi-Fi!
New build coming soon
New build is up! See #2 for changelog
SebaUbuntu said:
New build is up! See #2 for changelog
Click to expand...
Click to collapse
I hope you can fix fingerprint and camera. I can be a tester (X00ID)
Can't boot on ZC554KL (X00ID)
Waiting for update
Im on X00HD and it didnt boot
Can you please make it compatible with Oreo? Im stuck on it since I rooted my phone and trying to use this one didnt work
Installation OK on ZC540KL X00HD.
I upgrade official Firmware to the last Android PIE version Version WW-AOSP-16.0200.1907.18
Do you know when you fix the camera and flashlight ?
Thanks for work <3
i will try to flash this wish me luck tanks for working on this
ZC554KL (X00ID)
bollycao18 said:
i will try to flash this wish me luck tanks for working on this
ZC554KL (X00ID)
Click to expand...
Click to collapse
any updates so far? was the flashing successful?
Didnt boot i am on stock por debloated rooted but Root dont work 100% but not bad
Felipe9999 said:
Im on X00HD and it didnt boot
Click to expand...
Click to collapse
Try to use Pie firmware
SebaUbuntu said:
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0 (Q), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
What is working so far (tested on X00HD)
- Booting
- Wi-Fi
- RIL (calling, SMS, mobile data, and possibly VoLTE) (dual SIM works)
- Audio
- Bluetooth
- GPS
- Automatic brightness
- USB (MTP, ADB, etc.)
- AOSP offline charging
- Hardware keystore (password, PIN, pattern)
- LiveDisplay
- Sensors (rotation, accelerometer, etc...)
- It's surprisingly smooth, more than stock
What's not working
- Fingerprint
- Camera and flashlight (still requires some work) (because of this some overheating and battery draining might be here)
- Notification LED
Note: Even though Oreo firmware works, Pie firmware is preferred, as I develop the ROM using it, bugs reported with Oreo firmware will be ignored
To install it, follow this https://forum.xda-developers.com/ze...t/firmware-pie-firmware-updater-asus-t4124547 or install Pie beta before flashing this custom ROM
Instructions
- Download the latest build
- Download Gapps
- Unlock the bootloader
- If you use X00HD, install my TWRP build (you can find it here on XDA), else if you have X00I or X00ID, use aaaaaaziskurnia TWRP build
- Reboot to recovery
- Format data, stock ROM always encrypt it
- Flash the latest build
- Reboot
Downloads
X00HD | X00I/X00ID (not tested)
If you need support, send a message here or join this Telegram group to discuss new stuff and for testing builds
Reporting bugs
Don't report bugs right now, I know what are the bugs, currently working on it.
Tho I will appreciate some help
Sources:
Common device tree | X00HD device tree | X00I/X00ID device tree | Common vendor blobs | Common kernel sources
If you are a dev and you want to contribute here, reach me on GitHub or PM messages on XDA
Happy modding!
XDA:DevDB Information
[ROM][UNOFFICIAL] LineageOS 17.1 for Asus Zenfone 4 Max [Q][ZC520KL][ZC554KL], ROM for the Asus ZenFone 4 Max
Contributors
SebaUbuntu
Source Code: https://github.com/LineageOS
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: Pie Beta fw is preferred
Based On: LineageOS
Version Information
Status: Beta
Created 2020-04-27
Last Updated 2020-06-01
Click to expand...
Click to collapse
is there any update about the os since june ?
i would like to install it,
thanks
great
Any predictions for the Zenfone 4 (ZE554KL)?
New update is out!
See #2 post for changelog, a lot of stuff has been fixed
Remember, now X00HD is "called" X00H and X00ID is now X00I, so don't ask what zip you need to flash
If you can't find X00I update, please wait a little and check later, I'm fixing booting issues
I can now consider this custom ROM as daily driver ready

Categories

Resources