[RECOVERY][UNOFFICIAL] TWRP 3.2.3-0 recovery - regularly updated - Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other

########## #############
Official TWRP with prebuild Kernel is available here:
https://forum.xda-developers.com/mi-mix-2/development/recovery-twrp-3-2-1-0-xiaomi-mi-mix-2-t3780525
########################
Greetings flashaholics!
As usual before flashing this TWRP make an complete backup of your system!!!
Why another TWRP?
you'll get the latest TWRP release with most recent features & bugfixes
build live from sources - no prebuild kernels/files
more partitions to backup/restore supported
made project treble compatible by adding vendor & vendor_image partitions (leaving cust partition available for legacy purposes)
double tap to wake display
survives installation of official MIUI Global/CN ROMs (read INFO section to know how to achive that result exactly)
DOWNLOAD TWRP 3.2.3-0
... please see also supplemental infos & tool downloads below in INFO section
Please leave feedback for the beta. Does it work well? Did you encounter any problems? THX
Important changes in latest 3.2.3-0 build: 20180815-2003
based on fresh MIX 2 OmniRom base files and new msm8998 common sources - speed seems to be upgraded a little
previous changelog:
TWRP 3.2.3-0 based - build on Nextgen-Networks build environment with latest kernel 4.4.78
"FrankenTab" - mixed fstab v1 & v2 layout to achive de-/encryption and also keep as much partitions available as possible
treble compatible (by adding vendor & vendor_image partitions)
backup write speed restored (80 MB/s for file systems / 110 MB/s for imaged drives) and stayed compatible with OmniRom power/storage/kernel settings
Build completely live from latest build tree files - prebuild kernel fragments not needed anymore *yay*
en-/decryption support
ADB/MTP support
display brightness fixed - it's bright again! (see detailed notes in download section if it did not work for you)
additional partitions backup & restoreable (20 overall)
doupble tap to wake display is supported
display works when booting from LOS/OmniRom/RR to recovery via menu
survives installation of official MIUI Global/CN ROMs (OTA not tested yet)
Tested and perfectly working with ROMs as follows
MIUI 8.8.9 xiaomi.eu
MIUI 8.7.x xiaomi.eu
MIUI 8.6.x xiaomi.eu
MIUI 8.6.21 CN / xiaomi.eu
MIUI 8.6.14 Global
MIUI 8.6.8 CN
MIUI 8.5.11 Global
MIUI 8.5.8 Global / CN / xiaomi.eu
MIUI 8.5.2 Global
MIUI 8.4.26 by xiaomi.eu
LineageOS 15.1 build 20180501
OmniRom 8.1.0-20180430 HOMEMADE
INFO:
official MIUI Global/CN ROMs installation survival: dont reboot after ROM installation/update - just start a new flash session and flash latest magisk beta in a separate process - thats all! (OTA survival has not been tested by now)
If your TWRP gets constantly overwritten then flash the no-verity-opt-encrypt-1.6.zip right after your flashed TWRP to your device and right after each install/update of an original XIAOMI ROM from (en.)miui.com.
Procedure not needed for xiaomi.eu based ROMs.
Download no-verity-opt-encrypt 1.6 here
To make the flashing a little more convenient I've written a little windows script that utilizes adb/fastboot and presents all recovery images in its folder for your flashing happiness
This package also contains a script to remove/bypass the pin/passcode/pattern you've set - this could help then restoring an backup and the definitely correct pin/passcode/pattern is not accepted afterwards
Download recovery-flash.cmd 1.29 here
need an matching firmware for your device?
Download here from the Xiaomi Firmware Updater project on XDA (downloads in post 2)
Some very clarifying official information about en-/decryption types and how it works: https://source.android.com/security/encryption/
take a look here to have a full backup with internal storage covered also: [URL="https://forum.xda-developers.com/android/apps-games/app-twrp-tipatch-backup-internal-t3831217]Info & Download TiPatch[/URL]
For more detailed changelogs visit the download page.
Updated versions will be announced in this thread.
Instructions how to setup & build your own TWRP:
https://github.com/nextgen-networks/android_device_xiaomi_chiron-OMNI/blob/android-8.1_v10/README.md
Sourcecode (updated 2018-08-15 / v13):
Modified TWRP: https://github.com/nextgen-networks/android_bootable_recovery
Device-Tree (Device): https://github.com/nextgen-networks/android_device_xiaomi_chiron-OMNI
Device-Tree (SOC): https://github.com/nextgen-networks/android_device_xiaomi_msm8998-common
Kernel: https://github.com/omnirom/android_kernel_xiaomi_msm8998
Vendor-Tree (Device/SOC): https://github.com/DonkeyCoyote/proprietary_vendor_xiaomi

Thanks, works great so far.
As mentioned in the Lineage thread I intend to you encryption, neither the MIUI nor the iceman TWRP recoveries manage to mount my encrypted LineageOS storage, they just fail after the prompt.
Under this recovery I don't get a prompt.
Just wanted to mention, I will use it and test it anyway if encryption is not working yet, I will manage somehow.

Iam on Lineage. But after flashing TWRP not starting, only the fastboot mode
---------- Post added at 06:43 PM ---------- Previous post was at 06:36 PM ----------
https://www.nextgen-networks.de/de/...17-twrp-recovery-3-2-1-0-universal-build.html
It this the right Recovery?

Feenfleisch said:
Iam on Lineage. But after flashing TWRP not starting, only the fastboot mode
---------- Post added at 06:43 PM ---------- Previous post was at 06:36 PM ----------
https://www.nextgen-networks.de/de/...17-twrp-recovery-3-2-1-0-universal-build.html
It this the right Revolver?
Click to expand...
Click to collapse
Hey @Feenfleisch,
yes it is the correct link.
What exact commands did you use to flash TWRP?
Did the device does not boot at all or only when booting to recovery?

Only then ist booting recovery. Ich flash with Flashify
---------- Post added at 07:02 PM ---------- Previous post was at 06:57 PM ----------
The TWRP fromm the last link work (twrp-3.2.1-0-chiron_raupe-20180104-1520.img), the TWRP from your first Link not work. Maybay the wrong link?

Feenfleisch said:
Only then ist booting recovery. Ich flash with Flashify
---------- Post added at 07:02 PM ---------- Previous post was at 06:57 PM ----------
The TWRP fromm the last link work (twrp-3.2.1-0-chiron_raupe-20180104-1520.img), the TWRP from your first Link not work. Maybay the wrong link?
Click to expand...
Click to collapse
Uuuuuuups
Link leaded to Mi MIX instead of Mi MIX 2 download.
I fixed that ...
Thanks for the hint.
I've heard about several issues with flashify - better use fastboot.

USB MTP/ADB Sideload does not seem to work for me. IceMan's TWRP does.

Uploading to Google drive latest release
https://drive.google.com/file/d/1egaT1P66oEc1M0_S-tNXjG43nTLCDr3z/view?usp=drivesdk

DaCoolX said:
USB MTP/ADB Sideload does not seem to work for me. IceMan's TWRP does.
Click to expand...
Click to collapse
I'll investigate that (expect an update for this issue next week).
Thanks for reporting!

allrockedout said:
Downloads taking like 20 minutes I'll upload it to Google drive when done....
https://drive.google.com/file/d/1szvkblRyxxcVqVSqu7ejxhIkd07SUIqD/view?usp=drivesdk
Click to expand...
Click to collapse
... hmm this is very unusual - tested the speed to server and it took me a couple of seconds.
If you host the file as mirror please keep an eye for updated versions in future.

raupe said:
... hmm this is very unusual - tested the speed to server and it took me a couple of seconds.
If you host the file as mirror please keep an eye for updated versions in future.
Click to expand...
Click to collapse
Yeah I'll keep it updated of course. Plan on keeping this phone for a while. So I flashed twrp 3.2.1-0 image in twrp rebooted back into twrp..now my file storage is encrypted again. So I'll have to wipe data again... Ugh ok I'll test it out.

Cheers - downloading now.
This is vanilla TWRP right? Tired of seeing different themes, Chinese or other "customizations" in other TWRPs.
Sent from Xiaomi Mi Mix 2 @ LineageOS 14.1

I had to flash back to epic twrp. Couldn't remove encyption. After wiping data and rebooting to system than back to twrp. Everything was encrypted.

AndyYan said:
Cheers - downloading now.
This is vanilla TWRP right? Tired of seeing different themes, Chinese or other "customizations" in other TWRPs.
Sent from Xiaomi Mi Mix 2 @ LineageOS 14.1
Click to expand...
Click to collapse
Jepp this is stock/vanilla TWRP.
The only change i've made was to activate NTFS support some Qualcom specific stuff and disable the annoying "mouse" cursor that is present on default builds.
As you can read in comments (here and in Mi MIX forum) there are some hick-hacks with encryption.
This take a more deep dive because of the huge amount of variants the encryption has made from (a.k.a.: every OS build of MIUI/LOS/RR/Epic/mi-globe may use an different approach/driver for encryption).
There seems to be an problem with software and hardware encryption that conflicts with each other (see LineageOS change id 199842)

allrockedout said:
I had to flash back to epic twrp. Couldn't remove encyption. After wiping data and rebooting to system than back to twrp. Everything was encrypted.
Click to expand...
Click to collapse
Greetings @allrockedout!
Thanks for your report!
Just to figure out what leads to this behavior - could you give some information about your current firmware version, build date of the epic rom you used and what kernel the device info states?
Thanks in advance!

raupe said:
Greetings @allrockedout!
Thanks for your report!
Just to figure out what leads to this behavior - could you give some information about your current firmware version, build date of the epic rom you used and what kernel the device info states?
Thanks in advance!
Click to expand...
Click to collapse
I'm on Global Developer beta

Greetings readers!
I've build a new version today that contains some different en-/decryption libraries.
Please give it a shot and as always: Feedback is very welcome
Download: https://www.nextgen-networks.de/de/downloads/category/15-xiaomi-mi-mix-2.html
For those with touchscreen issues:
There have been made no kernel changes so dont expect any changes here.

is it suit for oreo cause my mix2 already update to 8.0, developer edition

ShawnLukeLee said:
is it suit for oreo cause my mix2 already update to 8.0, developer edition
Click to expand...
Click to collapse
Will be fine

ShawnLukeLee said:
is it suit for oreo cause my mix2 already update to 8.0, developer edition
Click to expand...
Click to collapse
Jipp, should work with 8.0/8.1 - sources used for building are 8.1 based.
I can give more detailed feedback if I'm selected for XIAOMI Android 8 global dev ROM next week.

Related

[DISCONTINED] [ROM] [7.1.x] Official LineageOS 14.1 Weekly Builds (Z00A/Z008)

SUPPORT FOR THIS HAS BEEN DISCONTINUED
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.x (Nougat), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
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. You will need to provide your own Google Applications package (gapps). 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 our Gerrit Code Review. Your changelog is whatever was merged into gerrit.
Instructions
First time flashing LineageOS 14.1 on your device, or coming from another ROM?
Unlock Bootloader!
Download the zip(s).
Install Appropriate FW base (STOCK MM 4.21.40.xx base is required) simple FW update package is available at my download link
Install a compatible Recovery
Perform a NANDroid backup of your current ROM (Optional)
Wipe data & cache partitions of your device (required when coming from stock!).
Flash LineageOS.
Optional: Install the Google Apps addon package. Open Gapps x86 7.1
Optional: Install the addon SU zip (x86 version)
Broken Features / Known Issues
VIDEO ENCODER/DECODER ISSUES: This results in green lines on videos/pictures taken using the Intel HW encoder/decoder and other playback issues dependent on video formats. See the list below:
[*] Snapchat: thin greeen line tends to appear on recorded videos for snapchat
Asus Pixelmaster Camera App: Super resolution mode does not work. Turning off "Optimizations" from settings clears up any green line issues.
Some video formats do not play as expected
FM Radio is unsupported.
sim 2 cannot be disabled (this is true for all CM builds on non qualcomm hardware)
Other than Fugu (Nexus Player TV box) there are no Vendor released M x86/x86_64 builds in existance. You may experience some issues with GAPPS and some known apps not loading or working correctly. Below is a list of KNOWN apps that do not currently run on CM13 based x86 Zenfone 2 builds :
Polaris Office, Chase Mobile, Showbox...
[*] Screen recording not working Works now.
Chromecast screen mirroring not working, native casting works though.
[*] factory reset from setting menu has been reported to cause recovery boot loops. Works now.
CM14 (not device specific issues)
No CMTE yet
CM file manager has trouble accessing external sdcard
Other Issues?
Before posting on this thread, make sure of a few things:
You've utilized the search function of the forums. Nothing irritates me more than lazy people who do not search for an answer before asking or ask the same question over and over again.
If you are the only one having a problem. Boot into recovery, wipe data/factory reset, reflash the rom/gapps and nothing else. Boot up and see if the problem persists.
Make sure your post is relevant to this thread. "I'm having problems rooting/unlocking" is NOT relevant here.
LOGS LOGS LOGS!!!! Use this: SysLog by Tortel
As the Zenfone2 has multiple models from multiple countries please include the following information in your report:
model #
CPU Speed / RAM Size
device state when errors occur (BT/wifi/nfc on ? On a call ? sitting idle on shelf ? )
method to reproduce if you've found something consistent
Download Links
DOWNLOADS.LINEAGEOS.ORG
Recovery Links
Z00A
MM BL compatible TWRP: TWRP
Z008
MM BL compatible TWRP: TWRP
Google apps addon:
Recommend GAPPS for now as the updated x86 gapps.
SU addon:
Flashable SU addon/removal
FOR INFO ON MM BOOTLOADER BASED BUILDS SEE THIS POST
XDA:DevDB Information
LineageOS 14.1 Nightly Bulids (Z00A/Z008), ROM for the Asus ZenFone 2
Contributors
jrior001, crpalmer, say99
Source Code: https://github.com/LineageOS/android_kernel_asus_moorefield
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: 4.21.40.xxx stock base
Version Information
Status: Nightly
Beta Release Date: 2016-11-09
Created 2017-01-27
Last Updated 2018-01-28
Reserved
DATA MIGRATION BUILDS
"THESE BUILDS WILL TAKE A LONG TIME (~30 mins) TO BOOT"
LineageOS has moved to private key signed builds. This is something that typically requires a full data wipe to transition too. To ease this burden for users who are not accustomed to that , the initial release builds are designed "MIGRATION" to help users who do not want to clean flash from an existing CM/Lineage build. Use the data migration builds as a one time "Flash this first, and then the officials" to migrate to private key signed builds. Follow the below instructions using the admiration builds to preserve app data if so desired, Otherwise feel free to clean flash directly to the weekly release builds
Official CM-13.0 -> CM14.1 Upgrade Guide
As seen with my previous unofficial CM-13.0 builds based on the MM Stock roms, An upgrade to the MM Firmware and bootloader is required going forward.
This guide is here to assist.
1) Download ROM and 7.1 GAPPS
2) Download my Firmware Update package for Z00A or Z008 . FASTBOOT AND ADB ARE REQUIRED!
3) Follow the included instructions to update Firmware and flash the new compatible TWRP. If for some reason the new TWRP is not flashed automatically flash it manually via fastboot. "fastboot flash recovery recoverimagename.img
4) Reboot to recovery and flash CM 14 and Gapps, reboot and enjoy. Data Wipe on upgrade is not required
CM 14.1 from Stock MM
1) Unlock Bootloader
2) Flash compatible TWRP
3) Perform desired backups
4) From recovery, factory reset & install ROM & 7.1 GAPPS
5) Enjoy!
CM 14.1 from CM13 Mm based beta builds
1) Reboot to TWRP( should already have good version)
2) Flash CM14.1 and 7.1 GAPPS
3) Reboot and enjoy!!
Reserve !
---------- Post added at 09:28 AM ---------- Previous post was at 09:14 AM ----------
I've just want to verify
to flash lineageOs
Its required Mm bootloader.
Is it required to flash also the firmware of Mm or just the bootloader and twrp !
Flashed migration build just fine. Didn't take too long. Flashing nightly now!
Thanks for big work. We love this rom, LinOS ???
Finally here!!!! Great job guys I'm glad you didn't give up through everything <3
jrior001 said:
Broken Features / Known Issues
VIDEO ENCODER/DECODER ISSUES: This results in green lines on videos/pictures taken using the Intel HW encoder/decoder and other playback issues dependent on video formats. See the list below:
Snapchat: thin greeen line tends to appear on recorded videos for snapchat
Asus Pixelmaster Camera App: Super resolution mode does not work. Turning off "Optimizations" from settings clears up any green line issues.
Some video formats do not play as expected
FM Radio is unsupported.
audio is a little weird in Real Racing 3.
sim 2 cannot be disabled (this is true for all CM builds on non qualcomm hardware)
Other than Fugu (Nexus Player TV box) there are no Vendor released M x86/x86_64 builds in existance. You may experience some issues with GAPPS and some known apps not loading or working correctly. Below is a list of KNOWN apps that do not currently run on CM13 based x86 Zenfone 2 builds :
Polaris Office, Chase Mobile, Showbox...
DRM content is currently broken
Live Display (color calibration) not working yet
Screen recording not working
Chromecast screen mirroring not working, native casting works though.
factory reset from setting menu has been reported to cause recovery boot loops.
Battery life is horrible, numerous display wakelock issues
CM14 (not device specific issues)
No CMTE yet
Status bar icon changing broken
CM file manager has trouble accessing external sdcard
Battery profile is non functional/string errors
Click to expand...
Click to collapse
Damn that's a lot of issues! Is this from the Lineage OS official build or from the unofficial ? Some of them issues must have had been fixed, right ?
beibyboy06 said:
Reserve !
---------- Post added at 09:28 AM ---------- Previous post was at 09:14 AM ----------
I've just want to verify
to flash lineageOs
Its required Mm bootloader.
Is it required to flash also the firmware of Mm or just the bootloader and twrp !
Click to expand...
Click to collapse
no... just upgrade your bootloader to MM, download and flash
---------- Post added at 03:15 AM ---------- Previous post was at 03:12 AM ----------
PedroCaseiro said:
Damn that's a lot of issues! Is this from the Lineage OS official build or from the unofficial ? Some of them issues must have had been fixed, right ?
Click to expand...
Click to collapse
give them time bro.... First nightly is up just now... chill
Why the zip on the lineageOS download page are not signed ? I need to disable the verification to install it in TWRP...
PedroCaseiro said:
Damn that's a lot of issues! Is this from the Lineage OS official build or from the unofficial ? Some of them issues must have had been fixed, right ?
Click to expand...
Click to collapse
Provably a few of those I can clean up, was just quick copy/pasta from the other thread
Sent from my ASUS_Z008 using Tapatalk
persieghini said:
no... just upgrade your bootloader to MM, download and flash
---------- Post added at 03:15 AM ---------- Previous post was at 03:12 AM ----------
give them time bro.... First nightly is up just now... chill
Click to expand...
Click to collapse
Ok btw can I upgrade my lollipop bootloader to MM via twrp
And also should I unroot and uninstall xposed?
cedric1997 said:
Why the zip on the lineageOS download page are not signed ? I need to disable the verification to install it in TWRP...
Click to expand...
Click to collapse
The builds are signed, its your twrp that's not signed with the same private key(and never will be) that keeps you from using that sig verification.
Sent from my ASUS_Z008 using Tapatalk
jrior001 said:
Provably a few of those I can clean up, was just quick copy/pasta from the other thread
Sent from my ASUS_Z008 using Tapatalk
Click to expand...
Click to collapse
Is the battery life really horrible? Is it worse than the MM blobs CM 13? Anyways, thanks for continuing to develop this great ROM.
How can I enable also G-Assistant and G-Now on LinOS
crisvincent said:
Is the battery life really horrible? Is it worse than the MM blobs CM 13? Anyways, thanks for continuing to develop this great ROM.
Click to expand...
Click to collapse
No, it's actually been much better recently. I cleaned up a couple of the issues that were causing inconsistent wakelock issues a week or so ago.
Sent from my ASUS_Z008 using Tapatalk
jrior001 said:
No, it's actually been much better recently. I cleaned up a couple of the issues that were causing inconsistent wakelock issues a week or so ago.
Sent from my ASUS_Z008 using Tapatalk
Click to expand...
Click to collapse
Can confirm, I noticed my battery get much better recently before realizing you had updated that. I still have an issue with losing fast/quick charge, but I haven't seen others mention this so it's likely an issue on my end.
New nightly rom is amazing.... Thanks a lot guys @jrior001
---------- Post added at 04:11 AM ---------- Previous post was at 04:07 AM ----------
beibyboy06 said:
Ok btw can I upgrade my lollipop bootloader to MM via twrp
And also should I unroot and uninstall xposed?
Click to expand...
Click to collapse
No you can't do it with twrp... You need adb(comp) and unrooting is not necessary... Uninstalling xposed is also not necessary... It won't work in nougat.. It'll just be there
Can i use SuperSU instead of the official root?
Wow , I know I've just done a clean install of the nightly ....but , is it just me or is this a lot faster , more fluent browsing the web pages than anything built in the past ? Or am I slightly delirious thru watching all that blue building up coff ?
Hats off to the new age lineage and the master dev
Just moved to the official branch. Migration tool worked perfectly, and SU optional package did its job as well.
The whole process was absolutely painless, so let's enjoy OTA updates from now on!

[KERNEL][r6.1/r1]Reviver Kernel [7.1/9.0][08 Dec 2018]

Introduction
NOTE:
Hello everyone, this is my first kernel for the Moto G4 Plus. I will try to maintain a stable kernel however bugs might arise since I'm not a super star kernel developer. I hope you enjoy the releases.
Important information
I will not reply to complains that do not include clear steps to reproduce the bug, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
Features
Here are the major features of the kernel (feel free to explore Github)
Update to date with the latest Linux upstream version (3.10.108-EOL)
Westwood as the default congestion algorithm with many more to choose from
Several subsystems converted to use power efficient workqueues
Compiled with Google's arm-eabi 4.9 toolchain
Audio control from flar2
Downloads
Oreo 8.0 : https://sourceforge.net/projects/babyfish-kernel/files/athene/oreo_caf/
Nougat 7.1 : https://sourceforge.net/projects/babyfish-kernel/files/athene/nougat_caf/
Nougat 7.0 Stock :https://sourceforge.net/projects/babyfish-kernel/files/athene/stock_nougat/
Installation:
NOTE: Please make sure that you return to the stock kernel of the ROM before flashing this kernel. The kernel is unified for Moto G4 and the Plus variant so everything should be working fine.
Install the latest adb and fastboot: https://developer.android.com/studio/releases/platform-tools.html#download
Grab the boot image from the download links above
Method 1:
Using adb and fastboot
Reboot into the bootloader using either restart and hold power button and volume down or adb:
Code:
adb reboot bootloader
Flash the boot image. Run the following command in the folder with the boot image and ensure fastboot is in your PATH:
Code:
fastboot flash boot <boot_image_name>.img
Reboot and profit!
Method 2: TWRP
Keep the bootimage on your phone's storage and boot to TWRP.
Install > Select Install Image > Choose the image > Boot partition > Reboot
Changelog
28 November 2017
Oreo-CAF:
Code:
Initial Release
Introduce Tossug Baby Fish kernel
Add Sound Control
Add TCP congestion algos
Disable crc check for 30% performance improvement in I/O
Linux 3.10.108
Nougat-CAF:
Code:
Initial Release
Introduce Tossug Baby Fish kernel
Add Sound Control
Add TCP congestion algos
Disable crc check for 30% performance improvement in I/O
Linux 3.10.108
Stock N:
Code:
FAQs
1.1 Q Can you help me I have this problem?
1.1 A I will surely try to help if proper bug reporting is done as per the fashion described above.
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not add any useless governors or features that I don't find practical.
1.3 Q: How do I control the kernel?
1.3 A: I recommend using EX Kernel Manager or Kernel Auditor (Both need root)
1.4 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.4 A: The kernel doesn't drain any battery unless you have overclocked it, I have kept it at stock frequencies and voltages. Use an app like BetterBatteryStats to figure out what app is screwing with your phone.
Thanks to:
The various other developers for their patches (if you want a specific mention, please let me know)
All of you guys for viewing the thread
Thiago Neves @lcrd512 and Abhijeet Bohra.
Kernel source links.
8.0.0 CAF : https://github.com/tywinlannister7/android_kernel_motorola_msm8952/tree/oreo_caf
7.1 CAF : https://github.com/tywinlannister7/android_kernel_motorola_msm8952/tree/nougat_caf
7.0 Stock :
If you like my work, buy me an Appy Fizz or whatever you like
https://www.paypal.me/tywinlannister7 :good:
XDA:DevDB Information
Reviver Kernel, Kernel for the Moto G4 Plus
Contributors
tywinlannister7
Source Code: https://github.com/tywinlannister7/android_kernel_motorola_msm8952
Kernel Special Features:
Version Information
Status: Stable
Created 2017-11-28
Last Updated 2018-12-10
Screenshots
Some Screenshots
Will work on LOS, right? Sorry for asking this nooby question. I just want to be confirm before flashing. ?
tywinlannister7 said:
Some Screenshots
Click to expand...
Click to collapse
Which ROM is this?
Ayan Uchiha Choudhury said:
Which ROM is this?
Click to expand...
Click to collapse
DU 12 oreo
@tywinlannister7 Any plans on making some Device Specific ROM for Athene.? Since Invicta is out of scene now.
Thanks for the new addition in the family.
I hope this will be the favorite member of the family:laugh:
Where is the love for stock user?
thorin0815 said:
Where is the love for stock user?
Click to expand...
Click to collapse
There is a link for stock rom in the op though?
thorin0815 said:
Where is the love for stock user?
Click to expand...
Click to collapse
Stock version won't be released any sooner. I don't have the time for it right now and compilation process of stock kernel is a bit different than CAF kernels. Maybe before the second week of January.
briatide said:
There is a link for stock rom in the op though?
Click to expand...
Click to collapse
Empty as of now
ganeshkmr21 said:
@tywinlannister7 Any plans on making some Device Specific ROM for Athene.? Since Invicta is out of scene now.
Click to expand...
Click to collapse
IDK I don't have the time, we already have so many ROMs available. Creating a new ROM will be adding it to the huge list already available, from AOSP to LineageOS to Dirty Unicorns. I would rather work on optimizing what we have. Quality > Quantity.
jyoti.id said:
Will work on LOS, right? Sorry for asking this nooby question. I just want to be confirm before flashing.
Click to expand...
Click to collapse
Yes. 7.1 version for all N custom ROMs and 8.0 for all the O custom ROMs
DU 12 oreo
Blueman1990 said:
DU 12 oreo
Click to expand...
Click to collapse
about DU 12 oreo where can i get it ?
many thanks
i love new system
Does not boot on LOS15. Can anyone else confirm? Cant do logs cause my data port on my phone is broken. It sits on the boot screen like its loading but never fully boots.
Thank you bro!! finally an oreo kernel!
Where I can get DU 12?
Does this have color management?
And which kennel manager should i use with this?
Thanks
harshal2234 said:
Where I can get DU 12?
Click to expand...
Click to collapse
Its not out yet I guess
---------- Post added at 01:35 PM ---------- Previous post was at 01:33 PM ----------
Ashishliterally said:
Does this have color management?
And which kennel manager should i use with this?
Thanks
Click to expand...
Click to collapse
Bro its just a 2 page thread. At least read. That question has been answered, in the OP!
Can't I get the unofficial build?
Tried it but I got bootloop.
Using latest Resurrection Remix Rom With Stock kernel on XT-1643.
Missed the logcat.
Should I have to flash the magisk again after installing kernel?, may be this was the reaseon I got bootloop because boot.img was changed and again installing magisk could help with that.
Same for me. On LOS 14.1, XT1643
---------- Post added at 05:17 PM ---------- Previous post was at 05:16 PM ----------
ramansehra said:
Tried it but I got bootloop.
Using latest Resurrection Remix Rom With Stock kernel on XT-1643.
Missed the logcat.
Should I have to flash the magisk again after installing kernel?, may be this was the reaseon I got bootloop because boot.img was changed and again installing magisk could help with that.
Click to expand...
Click to collapse
I don't think so. If magisk is installed/flashed once, then no need of flashing ever again until you freshly install the rom. (AFAIK)
ramansehra said:
Tried it but I got bootloop.
Using latest Resurrection Remix Rom With Stock kernel on XT-1643.
Missed the logcat.
Should I have to flash the magisk again after installing kernel?, may be this was the reaseon I got bootloop because boot.img was changed and again installing magisk could help with that.
Click to expand...
Click to collapse
Same happened with me I was on Invicta os 8.0

MI5s all necessary links for happy ROM flashing

So to avoid all problems regarding where to find what I am making this thread to help out everyone
So here are essential files and links to download them
- If you are user of custom ROMs, you would need two things updated (flashing), that is Xiaomi firmware files and TWRP
Firmware files: (just flash before ROM using TWRP)
https://basketbuild.com/devs/yshalsager/Xiaomi-Firmware
TWRP: (you can flash latest .img file from TWRP)
https://dl.twrp.me/capricorn/
- For people looking for MIUI EU roms, that are debloated, modified and translated Chinese roms:
https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
- For ROOT you can flash Magisk manager: (only use Latest Stable)
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
- For people looking for GCamera and all of it's versions: (BSG for 7.1 and Arnova for 8.1)
https://www.celsoazevedo.com/files/android/google-camera/
- For people looking for MIUI stock camera: (flash uzing TWRP)
https://drive.google.com/file/d/0B995ZKEaXHcxVzl3UjF0aFhsYUE/view
- Fix Multi Touch issue on Oreo:
There is no fix! Not until Google fixes it..... here is link to their issue tracker so you cantrack it
https://issuetracker.google.com/issues/68724748
Hope this post will reduce "Error 7", "instagram lag" questions. Maybe you should add "multitouch bug" links from google's issuetracker.
BajinganTengik said:
Hope this post will reduce "Error 7", "instagram lag" questions. Maybe you should add "multitouch bug" links from google's issuetracker.
Click to expand...
Click to collapse
Added
Thanks for this. Very useful.
thank you so much!
After flashing the MIUI Camera 1.7 to my Mi5s running lineage-16.0-20190809, my phone doesn't boot anymore, but gets stuck at the LOS loading screen and then, after some minutes, reboots to TWRP.
What can I do?

[TWRP][3.2.3-3][NX563J+NX595J][Support TREBLE][by NFound]

Hi all!
I am NFound. I came to you from a branch ZTE Axon 7, now I will be with you :cyclops:
TWRP 3.2.3-3 by NFound​
The main differences:
- Go to the latest Android 8.1.0 sources
- Full support for treble-roms
- Integrated my theme Nubia Red
- Backups are saved to the folder Nubia_Z17S
- Added the item "Resetting passwords"
- Added point on / off "Flashlight"
- Add backup /persist
- Minor edits navigation menu
- Packaged in an .exe file, the program will automatically unlock the bootloader and will flush the TWRP
Installation instructions: video instruction
Source-code:
Device
TWRP
Download
Thanks dude. Appreciate the work. Frustrating that there is no developers for the z17s. Is porting the z17 oreo official rom to z17s something that is possible?
devast8ndiscodave said:
Thanks dude. Appreciate the work. Frustrating that there is no developers for the z17s. Is porting the z17 oreo official rom to z17s something that is possible?
Click to expand...
Click to collapse
Hello! I'll see what i can do
NFound said:
Hello! I'll see what i can do
Click to expand...
Click to collapse
Can this also use on a z17 ?
aljoscha81 said:
Can this also use on a z17 ?
Click to expand...
Click to collapse
No, only Z17S
TWRP 3.2.3-2:
- Delete flag wipeui EFS and USB
NFound said:
No, only Z17S
TWRP 3.2.3-2:
- Delete flag wipeui EFS and USB
Click to expand...
Click to collapse
I ve test it on z17 and it is booting can you maybe easy compile it also for z17 that would be great cause we don't got a fully treble compatible recovery but we got a trebelized rom the mokee 81 or maybe you can guide me how to compile for z17
Preview AOSP Extended 8.1.0 FULL TREBLE on Nubia Z17S
it would be great to see for z17 nx563j too
Yes that would be very nice cause i think the only dev for treble we got on the mokee team is also gone there are long time no updates and we are there with a treble rom what is very cool many thanks so far but for a fully useable rom we need more updated vendor image for example i think i am able to boot android 9 pie aosp and pixel expirience too but with many bugs and we got no fully working treble twrp
But once again this twrp is for z17s right ?but i am able to boot it on z17 8gb128gb too and use it without problems so far touch working etc. .....
Will test it a bit longer want to make a clean install of latest mokee 81 now will report later if it work with this recovery!
NFound said:
Preview AOSP Extended 8.1.0 FULL TREBLE on Nubia Z17S
Click to expand...
Click to collapse
Finally some activity for the Z17S This Treble Rom is looking great. Is it already possible to download this rom?
Hi, thread name now says NX563J, too. No comments here and no info in your initial post about it. Does it work now for the Z17??
Update the recovery works also on nx563j superb thanks very much
NFound said:
Hello! I'll see what i can do
Click to expand...
Click to collapse
Thanks a lot the recovery is amazing im running a treble enabled 9 rom for now if you want to test for me is everything working after some user give me a hint how to solve the sound bug when you want to test here is the thread where the procedur is written
https://forum.xda-developers.com/pr...device-development/gsi-arrowos-t3835111/page5
It is in the last post
aljoscha81 said:
Thanks a lot the recovery is amazing im running a treble enabled 9 rom for now if you want to test for me is everything working after some user give me a hint how to solve the sound bug when you want to test here is the thread where the procedur is written
https://forum.xda-developers.com/pr...device-development/gsi-arrowos-t3835111/page5
It is in the last post
Click to expand...
Click to collapse
Which rom are you running now?
Update to 3.2.3-3:
- Added the ability to clean OTG-drives
- Flashlight now activates / deactivates 2 LEDs at once
- In the reboot menu, the boot loader signing and disabling encrypt on stock 7.x roms
- Added .sh script so that TWRP does not fly off after reboot to system
- Modified the theme
Download
Thanks again for this. Running android 9 now on my z17s. Much appreciated.
TWRP is very good. I have a small request to add Chinese because my English is not very good (I basically use Google Translate)
Hello,
I tried by many way to flash the recovery but It reboot in fastboot saying "no kernel (boot partition is bad)". So I flashed back my old recovery and I'm stuck here.
I've also tried the .exe and it stuck with a "waiting for devices"
Can someone help me ? My project was to flash the @NFound treble base and install Pixel Experience 9.0.
Thank you for your future responce
Jep found some system do not can hang in errors but you know maybe the wrong turn .....i found out better do never restore vendor .img but only vendor for this recovery is ......still working
---------- Post added at 12:23 AM ---------- Previous post was at 12:22 AM ----------
I am on patched vendor
Got do that by myself but this vendor img is flashable and good still don't know what rro.apk works better in vendor but this used from original thresd latest in 1.2 or so and i am on from the 15.1 lineage one. ....
Sry man but this man does the .img is cool cause he owned a z17s but vendor worked with old kernel
---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------
Do you can install latest gsi withit?
---------- Post added at 12:42 AM ---------- Previous post was at 12:34 AM ----------
You all don't ever try out mod kernel ? Do got faster charge.....?the device is also qc3 or?
---------- Post added at 12:49 AM ---------- Previous post was at 12:42 AM ----------
I own only z17 not s version but the dev had a 1.3 version but so not for nx563j make that a difference?......
---------- Post added at 12:50 AM ---------- Previous post was at 12:49 AM ----------
So it's for gsi......
---------- Post added at 12:58 AM ---------- Previous post was at 12:50 AM ----------
Omg this device got double front cam right that runs me out of knowledge **** i own a biT Of NoThing!........................!

[NX563J+NX595J][Project Treble][Android 8.X-9.X][GSI][A-only][1.5]

Hi friends :highfive:
Project Treble on Nubia Z17 Series​
Requirements:
Installed TWRP 3.2.3-X
Installation:
1. Flashing the Project-Treble-NXxXxJ-XX
(when finished, the script will automatically reload you in the recovery)
2. Flash any GSI image from the profile topic
3. Reboot and enjoy!
Installation instructions: video instruction
Download
All successful flashing!
Thanks:
- Mokee team fo the base
NFound said:
Hi friends :highfive:
Project Treble on Nubia Z17S​
Requirements:
Installed TWRP 3.2.3-X
Installation:
1. Flashing the Project-Treble-NX595-v1.0
(when finished, the script will automatically reload you in the recovery)
2. Flash any GSI image from the profile topic
Note: for Android 9.x we also add patches (if required) and in TWRP 3.2.3-3 go to Reboot and press Signer
3. Reboot and enjoy!
Note2: DT2W, autobrightness, power profile and other already included!
Android 8.x bugs: not found at this time
Bugs Android 9.x: does not work NFC (in the process of elimination)
Download
All successful firmware!
PS I'm used Havoc OS GSI, all work
Thanks:
- Mokee team fo the base
Click to expand...
Click to collapse
Is that a vendor image for z17s ?
It makes me wonder cause it is round about 185mb my mokee vendor (403mb installed) is not able to got nfc function too on most gsis i searched and searched but no luck and auto brightness also not work i see some workaround but that not worked for me it says read only vendor partition but can that be solved with your new recovery and the install procedure you wrote by pressing signer also for nx563j? That would be fine
Wait i test by myself ....
In OP added video instruction: https://www.youtube.com/watch?v=eOk_IVl4E0s
aljoscha81 said:
Is that a vendor image for z17s ?
It makes me wonder cause it is round about 185mb my mokee vendor (403mb installed) is not able to got nfc function too on most gsis i searched and searched but no luck and auto brightness also not work i see some workaround but that not worked for me it says read only vendor partition but can that be solved with your new recovery and the install procedure you wrote by pressing signer also for nx563j? That would be fine
Wait i test by myself ....
Click to expand...
Click to collapse
For nx563j: Auto brightness works with these instructions:
https://forum.xda-developers.com/pr.../overlay-enable-night-light-adaptive-t3741965
Remember to remount /vendor in RW mode before applying the terminal command with:
mount -o remount,rw /vendor
Topogigi said:
For nx563j: Auto brightness works with these instructions:
https://forum.xda-developers.com/pr.../overlay-enable-night-light-adaptive-t3741965
Remember to remount /vendor in RW mode before applying the terminal command with:
mount -o remount,rw /vendor
Click to expand...
Click to collapse
I lost led light for buttons on my device by the mod is there a way to activate again?
aljoscha81 said:
I lost led light for buttons on my device by the mod is there a way to activate again?
Click to expand...
Click to collapse
Was it working before? I flashed Mokee first and after that, full wipe and I flashed GSI, but the led buttons never worked
MTP not working. I think it's a common pie issue.
In OP added .zip for NX563J
Fingerprint on GSI Roms
For NX563J is fingerprint working on any GSI Rom?
aljoscha81 said:
I lost led light for buttons on my device by the mod is there a way to activate again?
Click to expand...
Click to collapse
I have my leds working. I flashed this overlay:
https://forum.xda-developers.com/showpost.php?p=75630470&postcount=38
Ambient Display is not working, but leds are there.
I will try the new Project Treble Vendor Image for nx563j in OP and report in a while.
---------- Post added at 06:28 PM ---------- Previous post was at 06:26 PM ----------
sippi90 said:
For NX563J is fingerprint working on any GSI Rom?
Click to expand...
Click to collapse
AFAIK, yes
---------- Post added at 07:00 PM ---------- Previous post was at 06:28 PM ----------
Ok, I gave new NX563J Treble image a try.
Pros:
DT2W works out of the box
Auto brightness works out of the box (was working with patch with mokee vendor/boot images)
Cons:
Camera not working (was working well with mokee vendor/boot images)
Face Unlock not working (it wasn't working with mokee vendor/boot images too)
WIFI Hotspot not working (it wasn't working with mokee vendor/boot images too)
MTP for file transfer not working (it wasn't working with mokee vendor/boot images too)
Battery Stats for applications not working (it wasn't working with mokee vendor/boot images too)
For me, Camera is a deal breaker: back to Mokee vendor/boot images for the moment....
One more note: Installing the zip file causes the Recovery to reboot. Had to extract and flash vendor and boot images manually and flash them individually....
Hi, I'm using an NX563J and I have a problem.
I did everything you said:
1- Installed TWRP 3.2.3-3
2- Flash the Project-Treble-NX563J-v1.0
3- Flash HavocP-arm64_aonly_vanilla_nosu-0830
After that I reboot and the it get stucked when it sais "android", and never start.
Did I make a mistake? What can I do now?
Regards!
Gonzalo.90 said:
Hi, I'm using an NX563J and I have a problem.
I did everything you said:
1- Installed TWRP 3.2.3-3
2- Flash the Project-Treble-NX563J-v1.0
3- Flash HavocP-arm64_aonly_vanilla_nosu-0830
After that I reboot and the it get stucked when it sais "android", and never start.
Did I make a mistake? What can I do now?
Regards!
Click to expand...
Click to collapse
Hi. For Havoc P need install the 1, 2, 3 patches
I'm recomended is now install Havoc Oreo (link in OP)
NFound said:
Hi. For Havoc P need install the 1, 2, 3 patches
I'm recomended is now install Havoc Oreo (link in OP)
Click to expand...
Click to collapse
Thanks for the response, but I' dont know much about this, im sorry but in the link you send there are 5 files:
P-PR1-sGSI-AB.zip
P-PR1-sGSI-Aonly.zip
POST-sGSI_1_v0.14.zip
POST-sGSI_2_v0.17.zip
POST-sGSI_3_v0.5.zip
Wich ones do I need to intall?
And could you send me the link to get Havoc Oreo please, i can´t find it
Gonzalo.90 said:
Thanks for the response, but I' dont know much about this, im sorry but in the link you send there are 5 files:
P-PR1-sGSI-AB.zip
P-PR1-sGSI-Aonly.zip
POST-sGSI_1_v0.14.zip
POST-sGSI_2_v0.17.zip
POST-sGSI_3_v0.5.zip
Wich ones do I need to intall?
And could you send me the link to get Havoc Oreo please, i can´t find it
Click to expand...
Click to collapse
The link for the oreo file: https://sourceforge.net/projects/havoc-os/files/arm64aonly/
Download this file: Havoc-arm64_aonly_vanilla_nosu-0819.zip (so without the P after Havoc). This is the oreo file.
ronvanv said:
The link for the oreo file: https://sourceforge.net/projects/havoc-os/files/arm64aonly/
Download this file: Havoc-arm64_aonly_vanilla_nosu-0819.zip (so without the P after Havoc). This is the oreo file.
Click to expand...
Click to collapse
Thank you very much, I'm downloading and then I'll flash it. I'll let you know how it comes.
Topogigi said:
I have my leds working. I flashed this overlay:
https://forum.xda-developers.com/showpost.php?p=75630470&postcount=38
Ambient Display is not working, but leds are there.
I will try the new Project Treble Vendor Image for nx563j in OP and report in a while.
---------- Post added at 06:28 PM ---------- Previous post was at 06:26 PM ----------
AFAIK, yes
---------- Post added at 07:00 PM ---------- Previous post was at 06:28 PM ----------
Ok, I gave new NX563J Treble image a try.
Pros:
DT2W works out of the box
Auto brightness works out of the box (was working with patch with mokee vendor/boot images)
Cons:
Camera not working (was working well with mokee vendor/boot images)
Face Unlock not working (it wasn't working with mokee vendor/boot images too)
WIFI Hotspot not working (it wasn't working with mokee vendor/boot images too)
MTP for file transfer not working (it wasn't working with mokee vendor/boot images too)
Battery Stats for applications not working (it wasn't working with mokee vendor/boot images too)
For me, Camera is a deal breaker: back to Mokee vendor/boot images for the moment....
One more note: Installing the zip file causes the Recovery to reboot. Had to extract and flash vendor and boot images manually and flash them individually....
Click to expand...
Click to collapse
LOL, ambient display is working for me but buttons light isn't working. I tried the app, but nothing...
I could flash the .zip from this post without any problems, are you using his recovery?
Enviado desde mi Phh-Treble with GApps mediante Tapatalk
I installed the Resurrection Remix 6.1 GSI yesterday (with the combination of vendor/boot images in this thread) and I did not find any major bugs with it. All is in working conditions (including IR sensor, that is functional only if selinux is turned into permissive mode)
I'm a happy camper for now, waiting for Android 9.0 to be more stable and complete.
Topogigi said:
I installed the Resurrection Remix 6.1 GSI yesterday (with the combination of vendor/boot images in this thread) and I did not find any major bugs with it. All is in working conditions (including IR sensor, that is functional only if selinux is turned into permissive mode)
I'm a happy camper for now, waiting for Android 9.0 to be more stable and complete.
Click to expand...
Click to collapse
Are the Button LEDs & Ring LED also working? If yes which Firmware are you on?
Is there any open gapps for Android 9?
HansWorst7 said:
Is there any open gapps for Android 9?
Click to expand...
Click to collapse
You can find it here: https://www.theandroidsoul.com/android-9-pie-gapps/

Categories

Resources