[CLOSED][Recovery] TWRP (pyxis) - Official 3.3.1-0 (final) - Xiaomi Mi CC9 / Mi 9 Lite ROMs, Kernels, Recoverie

{
"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"
}
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.
******************************************​
Hi there,
This is the official build (beta) based on TWRP sources and xiaomi blobs ... fully working !
(Mi 9 Lite / Mi CC9)
!!! IT'S NOT MY PROBLEM, IF YOU DON'T READ AND FOLLOW MY INSTRUCTION CAREFULLY, IF YOU DON'T HAVE TIME FOR THIS, OR IF YOU FLASH SOMETHING OR DO A MANIPULATION I DIDN'T MENTION HERE !!!
THIS RECOVERY DOESN'T SUPPORT ANY ZIP MOD/ROM THAT DOESN'T USE SYSTEM_ROOT MOUNT. CHECK OFFICIAL TWRP HOMEPAGE FOR MORE INFORMATION ABOUT NEW A/B DEVICES FROM 2019​
Installation Procedure (first time) :
- Unlock your bootloader D)
- Enable ADB from your Official MIUI Developer option
- Plug your USB cable to your Windows PC and type :
adb reboot bootloader
- type then :
fastboot flash recovery twrp-3.3.1-0-pyxis-final (auto-decrypt).img (rename your image just by twrp.img)
fastboot flash vbmeta vbmeta.img
fastboot reboot (keep Vol+ pressed until you see TWRP splash)
- Wait for decrypting ... (if already you set a lockscreen pattern or a fingerprint)
- Format Data (button on the right) + Type "yes" on the keyboard popup
- Reboot
- To boot TWRP from MIUI : reboot menu + keep Volume UP pressed.
- To boot from phone off : power button + Volume UP
TWRP can now auto-decrypt your crypted /data partition so you can make backup with no issue.
This is a big fix that prevent to loose your fingerprint and pattern ...
For MIUI users, you must flash the fstab.zip fix after flashing your MIUI rom !!!
Enjoy ! :good:
Update : 2019-11-05
-version : 3.3.1-0
-busybox update
-terminal fixed
-stable and optimized : setting lockscreen pattern and fingerprint on the first boot is no longer needed !
BE SURE WHEN YOU WIPE YOUR DATA, YOU KEEP THE "4 FOLDERS BELOW + .layout_version". THESE ARE YOU ENCRYPTION DATA. IF YOU DELETE THEM, YOU WILL NOT BE ABLE TO RESTORE YOUR DATA BACKUP UNTIL YOU FORMAT YOUR DATA AGAIN.
TRICK TO SAVE YOUR LIFE : ALWAYS KEEP YOUR BACKUPS ON THE EXTERNAL STORAGE !!!
Download
link
XDA : DevDB Information
TWRP, Tool/Utility for the Mi 9 Lite / Mi CC9 (pyxis)
Contributors
gringo80
Source Code 1 : https://github.com/TeamWin
Source Code 2 : Prebuilt Recovery Kernel from MIUI
Version Information
Status : Stable
Release Date : 2019-11-05

Any screenshot?

Thank you for the contribution, is it required to flash the zip to prevent encryption after each rom flash ??

j0an said:
Thank you for the contribution, is it required to flash the zip to prevent encryption after each rom flash ??
Click to expand...
Click to collapse
To prevent encryption, go to twrp homescreen and choose "format data" and type "yes"... but before that, make your data backup on the external-sd ! (the first thing i do on all my devices)

Please use the official beta build !
:good:

gringo80 said:
Please use the official beta build !
:good:
Click to expand...
Click to collapse
Where's the download link? Maybe I'm blind....

oieNao said:
Where's the download link? Maybe I'm blind....
Click to expand...
Click to collapse
Update : vbmeta Fix is available (the patch is no longer needed)
Please download the latest build from 2019-10-27 (11:25:55) . This is the final build.
Read the OP !

Awesome.
Will you bring more goodness to our device, like custom roms?
Sent from my MI 9 Lite using Tapatalk

tiagorodrigueez said:
Awesome.
Will you bring more goodness to our device, like custom roms?
Sent from my MI 9 Lite using Tapatalk
Click to expand...
Click to collapse
I'm working on a GSI patch. The builds (AOSP-PixelExperience-LineageOS) boot but stuck on bootanimation.
For information, our device is treble ready : so the builds to use are arm64-ab (yes ab not aonly) !

Also suitable for the Mi 9 Lite?

gringo80 said:
Update : vbmeta Fix is available (the patch is no longer needed)
Please download the latest build from 2019-10-27 (11:25:55) . This is the final build.
Read the OP !
Click to expand...
Click to collapse
what is the vbmeta.img file? never encountered something like this in other phones

mikdo said:
Also suitable for the Mi 9 Lite?
Click to expand...
Click to collapse
yes, i have the mi 9 lite !

sorry for noob question, but what happen if I don't format data after flashed twrp?

gringo80 said:
I'm working on a GSI patch. The builds (AOSP-PixelExperience-LineageOS) boot but stuck on bootanimation.
For information, our device is treble ready : so the builds to use are arm64-ab (yes ab not aonly) !
Click to expand...
Click to collapse
It's a surprise to be ABdevice. Some people on our telegram group already tested havoc builds and booted but had some bugs on 4g and offline charging.
Sent from my MI 9 Lite using Tapatalk

holymoz said:
what is the vbmeta.img file? never encountered something like this in other phones
Click to expand...
Click to collapse
vbmeta means verified boot signature. the vbmeta.img provided here bypass this verification !

tiagorodrigueez said:
It's a surprise to be ABdevice. Some people on our telegram group already tested havoc builds and booted but had some bugs on 4g and offline charging.
Sent from my MI 9 Lite using Tapatalk
Click to expand...
Click to collapse
It depends on the kernel used. You can modify the kernel as you want to make it aonly or A/B. Here, the stock kernel provided by xiaomi is for A/B buils. That's it ! I want to make a patch so to keep the stock kernel untouched ! (Modded kernels are never perfect)

When i flash the recovery, i am stuck at the twrp boot image. What to do?

jbsabado28 said:
When i flash the recovery, i am stuck at the twrp boot image. What to do?
Click to expand...
Click to collapse
download the last build and flash vbmeta
(OP)

holymoz said:
sorry for noob question, but what happen if I don't format data after flashed twrp?
Click to expand...
Click to collapse
you can't access to the internal storage content. better to decrypt by formatting data !

tiagorodrigueez said:
It's a surprise to be ABdevice. Some people on our telegram group already tested havoc builds and booted but had some bugs on 4g and offline charging.
Click to expand...
Click to collapse
please send the link on pm
---------- Post added at 11:33 PM ---------- Previous post was at 11:30 PM ----------
gringo80 said:
I'm working on a GSI patch. The builds (AOSP-PixelExperience-LineageOS) boot but stuck on bootanimation.
For information, our device is treble ready : so the builds to use are arm64-ab (yes ab not aonly) !
Click to expand...
Click to collapse
Its sad that they didnt boot... Cant wait to see some rom's working treble or not

Related

[RECOVERY][UNOFFICIAL][Jasmine] TWRP 3.2.3.0 17-9-2018

{
"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"
}
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.
Notes for themers: In addition to the udpated theme, we have introduced a theme version variable to the TWRP theme system. If the theme version does not match the version that TWRP expects, TWRP will reject the custom theme and load its stock theme. This change will ensure that people who update TWRP without updating their theme will still have a workable recovery. We have removed libjpeg support. The stock theme was only using a jpeg image for the splash / curtain. This change means that any custom themes will no longer be able to use jpeg images. It also means that tools used to repack recovery images with a different curtain / splash will need to be updated to use the new method.
Version number notes: For a while we’ve been using a 4 digit version number and reserved the 4th digit for device-specific updates. For instance, we find and fix a device-specific issue like decryption of data on Nexus 5, we would release that as a 2.8.7.1. After a while, some people would start asking where 2.8.7.1 was for other devices. So, going forward we have decided to change the numbering scheme to 3.0.0-2, etc. Our hope is that this version numbering scheme will more clearly identify that the 4th digit does not indicate a version change for the code base.
We need your help! The bulk of TWRP work is done by 3 people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!
DOWNLOAD:
https://drive.google.com/open?id=10i5ddHcV0lt8JJ7nV1bJjqc1XXjLCp8n
Note this is just a hobby, but feel free to report bugs.
Kernel source: Prebuilt stock kernel
Boot to fastboot ( volume down and power )
in fastboot type:
Link comes later when stable
fasboot reboot and hold power up and volume
Click to expand...
Click to collapse
Note: this twrp is working with the orginal system, when ota happens just flash twrp again.
BUGS:
SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
Contributors
@bassbounce ( Compiled )
@Manish4586 ( Device tree )
Device tree: https://github.com/Manish4586/android_device_xiaomi_jasmine-twrp
Source Code: https://github.com/omnirom/android_bootable_recovery/
Version Information:
Status: testing
Created 17-9-2018
Last Updated 17-9-2018
Nice! So this is supposed to work without A/B conflicts - unlike the other TWRP project?
Edit: Awesome! This works great so far. I now have permanent TWRP on my device. It updates partition details perfectly and I was able to flash Magisk without an issue.
Thanks a lot for your work!
thedisturbedone said:
Nice! So this is supposed to work without A/B conflicts - unlike the other TWRP project?
Click to expand...
Click to collapse
U are right, this twrp just boots the stock android, the other did not do that.
bassbounce said:
U are right, this twrp just boots the stock android, the other did not do that.
Click to expand...
Click to collapse
Thank you. Edited my initial post with results. This would open our device to a lot of possibilities.
I have September update, can i install this?
ki69 said:
I have September update, can i install this?
Click to expand...
Click to collapse
I dont know, i didnt test it on the september .
bassbounce said:
Yes, it should be no problem.
Click to expand...
Click to collapse
Thanks man, can you build it for mi a2 lite (daisy) ?
Touch screen don't work
After flash twrp touch screen don't work
My device rooted and install magisk
s.arthit1993 said:
After flash twrp touch screen don't work
My device rooted and install magisk
Click to expand...
Click to collapse
Try flashing stock boot img
This is work for my Mi A2 Rooted Whit Magisk V17.1 ?
Unfortunately, I'm not a developer.
Can someone compile the code and make an available download for this image, please?
Many Thanks!
MMN said:
Unfortunately, I'm not a developer.
Can someone compile the code and make an available download for this image, please?
Many Thanks!
Click to expand...
Click to collapse
same problem here, I don't know how to download or install it, I would like to try it
Adairo said:
same problem here, I don't know how to download or install it, I would like to try it
Click to expand...
Click to collapse
Fastboot flash boot file.img
Restart phone and boot in to recovery volume up and power key.
If it works please report here,
I don't know if twrp works with the September update which is pulled back.
Also I need a 6gb 128 a2 to test this.
DOWNLOAD:
Some ppl reported touch problems we look in to that
Dont download yet
nvm
wi-fi does not work
bassbounce said:
Fastboot flash boot file.img
Restart phone and boot in to recovery volume up and power key.
If it works please report here,
I don't know if twrp works with the September update which is pulled back.
Also I need a 6gb 128 a2 to test this.
Click to expand...
Click to collapse
You have changed the file. The difference is enormous. Which one is correct?
-> twrp-jasmine-0.1.img (27.276kb) -> Link removed in the cited post
-> boot.img (37.252kb) -> Link in post #1
Mi A2 6/128GB is here.
dimaxxxxx said:
wi-fi does not work
Click to expand...
Click to collapse
And yes: wifi does not work on both images
WiFi not working, help please.
Testing without wifi:
* Magisk v17.1 (via TWRP/zip) -> works
* SuperSU (via Magisk) -> works
* SELinux-Manager (via TWRP/zip) and go to permissive mode -> works
* xposed (xposed-v90.2-sdk27-beta3, via TWRP) -> bootloop - I'll try direct installation through Magisk when wifi works.
What's about error message when deleting the cache in TWRP:
unable to find partition for path '/cache'?
To all restore the stock boot.img. To fix it
We need to find a solution. Don't flash the twrp.

R2X2 Recovery [Powerful red][Recovery][PIE/COLOR_OS6]

{
"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"
}
First custom recovery for pie/color os6, fully cross compiled patched stable recovery based on TWRP (RMX1801/RMX1803/RMX1807)​
Video instructions -
https://youtu.be/iyEwNhHKTNE
Main highlights -
✪ Support for 8gb ram variant (RMX1807)
✪ Support for .OZIP ROM (Alpha)
✪ Full treble support
✪ Flash a/b gsi
✪ MTP support
✪ Can flash stock os zip
✪ Backup/restore works with any os
✪ Restore your old twrp backup
✪ Optimized and faster
✪ Updated on latest prebuilt kernal by realme
✪ All functions works
✪ Full compatible with color os 6
✪ Dark themed with red power
Steps for install this recovery on color os 6 system -
1.First backup data and Unlock bootloader from here.
2.Decrypt the data storage from here. Start from (2:01)
3.Then flash this recovery from fastboot or other custom recovery from here
4.U done enjoy !
Download -
Click here to start download (total7zip)(Latest)(date - 06/06/2019)
(this is flashable zip for custom recovery)
Donate to apperciate and support :
7804011237 (Google pay/tez)
7804011237 (Paytm)
7804011237 (Phonepe)
[email protected] (UPI ID)
PAYPAL : www.paypal.me/mks7s
Download for (4/6/8GB variant)(old) here - CLICK
Download for (4/6/8GB variant)(old) here - CLICK
Download for (4GB/6GB variant)(old) here - CLICK
Download for (8GB variant)(old) here - CLICK
Screenshots -
Changelogs -
version on 3.4.0-1 (date - 06/06/2019)
Fixed system access
version on 3.4.0-1 (date - 03/06/2019)
Fixed storage access
Optimized codes
Latest version on 3.4.0-1 (date - 01/06/2019)
Compiled from latest source
Brightness is fixed
System partitions remaped for system_root
Ozip script removed due to oppo changed updater script lines in pie update which is not supported in twrp unfortunately but still that is in under development
Intial version on 3.2.3-0 (date - 28/05/2019)
Added ozip support
Support for 8gb variant
awesome work
Good work bro any update on lite os ? just asking
How to flash Ozip file? I have save the Ozip file in external but recovery cannot find it
gelarman said:
How to flash Ozip file? I have save the Ozip file in external but recovery cannot find it
Click to expand...
Click to collapse
Read the changelog from here - Latest version on 3.4.0-1 (date - 01/06/2019)
........
anabhi said:
Read the changelog from 2nd post - Latest version on 3.4.0-1 (date - 01/06/2019)
Click to expand...
Click to collapse
Bro how to unlock bootloader in rmx1805 i didn't find any way anywhere for this device please advise
On 8gb variant
I am unable to install Lite os 2 or any GSI
After decryption, and installing rom
It says
No OS installed
Have tried all R2x2 recoveries and have also followed method on ur videos.
On restoring to stock 5.2 oreo, i don't face that issue.
Requesting fix or a dedicated video for 8gb
jam1445 said:
On 8gb variant
......
Click to expand...
Click to collapse
It says no os installed but in actual it is Installed just reboot and read faq of lite os , you can't directly flash from cos5 and gsi ! :good:
anabhi said:
It says no os installed but in actual it is Installed just reboot and read faq of lite os , you can't directly flash from cos5 and gsi ! :good:
Click to expand...
Click to collapse
After notification of no os installed
Phone keeps rebooting and does not boot to rom.
It's not only about like os
Bt also for gsi
It is specifically happening in R2x2 for pie after cos6
jam1445 said:
After notification of no os installed
Phone keeps rebooting and does not boot to rom.
It's not only about like os
Bt also for gsi
It is specifically happening in R2x2 for pie after cos6
Click to expand...
Click to collapse
For every system img , it will say no os ~_~ on which firmware you are ? If you are on cos5 then flash a type gsi if you are on cos6 then try a/b gsi with latest security patch
And use oreo recovery for cos5 FW
And pie recovery for cos6 FW
anabhi said:
For every system img , it will say no os ~_~ on which firmware you are ? If you are cos5 then flash a type gsi if you are on cos6 then try a/b gsi with latest security patch
And use oreo recovery for cos5 FW
And pie recovery for cos6 FW
Click to expand...
Click to collapse
That's where i was doing wrong
I was using a type gsi on cos6
Thanks for your hard work
Salute ur effort.
Is there a way to get pure android, oxygen os like rom for this device with pie and stock camera?
jam1445 said:
That's where i was doing wrong
I was using a type gsi on cos6
Thanks for your hard work
Salute ur effort.
Is there a way to get pure android, oxygen os like rom for this device with pie and stock camera?
Click to expand...
Click to collapse
u welcome and you can try gsi but they are buggy not support stock cam due to framework
Latest R2X2-T8 zip
Is the r2x2-t8 supported for Realme 2 pro 4gb/64gb...
Please reply anabhi
I am using the recovery file included in the r2x2-t8 folder for color OS 6 (Just Got official OTA Update today)
Unlocked the Bootloader using the In depth test apk
If i am trying to flash the above recovery,it is getting stuck on waiting for any device issue,Target didn't report max download size etc.
So i am unable to install ur custom recovery for R2X2
Any help in this matter will be appreciated.
Thank you
Cruzy12100 said:
I am using the recovery file included in the r2x2-t8 folder for color OS 6 (Just Got official OTA Update today)
Unlocked the Bootloader using the In depth test apk
If i am trying to flash the above recovery,it is getting stuck on waiting for any device issue,Target didn't report max download size etc.
So i am unable to install ur custom recovery for R2X2
Any help in this matter will be appreciated.
Thank you
Click to expand...
Click to collapse
If you are getting "waiting for any device issue" then it means that bootloader android driver isnt loaded in your PC..
"Fastboot devices" should show ur device.
---------- Post added at 01:36 AM ---------- Previous post was at 01:31 AM ----------
pradhuman1 said:
Is the r2x2-t8 supported for Realme 2 pro 4gb/64gb...
Please reply anabhi
Click to expand...
Click to collapse
Cruzy12100 said:
I am using the recovery file included in the r2x2-t8 folder for color OS 6 (Just Got official OTA Update today)
Unlocked the Bootloader using the In depth test apk
If i am trying to flash the above recovery,it is getting stuck on waiting for any device issue,Target didn't report max download size etc.
So i am unable to install ur custom recovery for R2X2
Any help in this matter will be appreciated.
Thank you
Click to expand...
Click to collapse
The latest R2X2 recovery doesnt work in latest COS 6 update A.21. if you want to try , try in A20
recovery not working for 8gb. not showing internal storage not even wiping data
javap2 said:
recovery not working for 8gb. not showing internal storage not even wiping data
Click to expand...
Click to collapse
It works with 8gb Version. Flashed OOS with it.
C:\Minimal ADB and Fastboot>fastboot devices
3b8cc46f fastboot
C:\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target didn't report max-download-size
sending 'recovery' (25165 KB)...
FAILED (command write failed (No error))
finished. total time: 0.017s
C:\Minimal ADB and Fastboot>
what I miss?

[CLOSED][M.O.D. KERNEL] MI9TPRO Android9 GPU830mhz F2FS data/cache DynamicFsync LZ4 NoBarrier

{
"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"
}
THE AWAKENING
[STABLE]
[M.O.D KERNEL] by mslezak™
MI9TPRO / K20PRO [RAPHAEL]
EXAMPLE - STOCK ROM - GUIDE + TEST BY @XENIX96
1ST FLASH GLOBAL FASTBOOT ROM 10.3.2
2ND REBOOT TO FASTBOOT AND FLASH LATEST MAURONOFRIO TWRP[F2FS SUPPORT]
3RD FLASH IN FASTBOOT -> fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
4TH REBOOT TWRP AND FLASH MOD_Mi9T_Pro_boot.img -> BOOT PARTITION
5TH REBOOT TWRP AND FLASH MAGISK 19.3(TWRP PERSISTING)
6TH SELECT IN TWRP MOUNT -> MOUNT SYSTEM AND VENDOR
7TH TWRP -> FLASH F2FS_NO_BARRIER PATCH
8TH TWRP->WIPE->ADVANCED WIPE-> CHECK CACHE ->REPAIR CHANGE FILE SYSTEM->CHANGE FILE SYSTEM-> CLICK F2FS AND CONVERT IT
9TH 8TH TWRP->WIPE->ADVANCED WIPE-> CHECK DATA ->REPAIR CHANGE FILE SYSTEM->CHANGE FILE SYSTEM-> CLICK F2FS AND CONVERT IT
10TH IN TWRP DO A FACTORY RESET AND REBOOT TO SYSTEM
11TH SETUP SYSTEM AS USUALLY
12TH REBOOT TWRP AND FLASH MAGISK AGAIN
13TH REBOOT SYTEM AND START MAGISK
14TH FLASH OVER MAGISK MODULE -> (MAGISK)Bromite_Systemless_Webview-4.1.1.zip AND REBOOT 1x
15TH FLASH OVER MAGISK MODULE -> (MAGISK)MOD-Battery-Saver+_v2.zip AND REBOOT 2x
EXAMPLE - AOSP ROM - GUIDE + TEST BY @KZAK25
1- You need to perform a clean flash using Mi FlashTool -> Fastboot rom 10.3.1.0 PFKEUXM
2- Flash TWRP via fastboot then boot to recovery (Power + Up-Volum) format DATA and back again to Recovery
3- Transfer (any AOSP ROM) + MOD_Mi9T_Pro_boot + fstab_patch_F2FS_MI9_Cache_NoBarrier to your internal storage
4- Wipe (Dalvik/RT Cache + Cache + System + Data) (Wipe can Differ between ROMS)
5- Flash your rom then flash Open gaps (if needed) + then flash MOD_Mi9T_Pro_boot finally reboot to Recovery
6- Mount (system + vendor) then flash F2FS_NO_BARRIER PATCH
7- Convert (Cache + DATA) partition to F2FS, do a Factory Reset and reboot to System
8- Setup your system, transfer Magisk 19.3 to your internal storage and reboot to Recovery
9- Flash Magisk and reboot to System
10- FLASH OVER MAGISK MODULE -> (MAGISK)Bromite_Systemless_Webview-4.1.1.zip AND REBOOT 1x
11- FLASH OVER MAGISK MODULE -> (MAGISK)MOD-Battery-Saver+_v2.zip AND REBOOT 2x
DOWNLOAD
SPONSORED BY WWW.ANDROIDFILEHOST.COM
Latest Mauronofrio TWRP >>> https://bit.ly/2lxqJsb <<<
FK Kernel Manager >>> https://bit.ly/2o5aEM4 <<<
Magisk-v19.3.zip(recommended) + Magisk-uninstaller-20190501.zip
>>> https://bit.ly/2ljeLRE <<<
vbmeta.img
MI9TPRO_MOD_KERNEL_boot.img
MI9TPRO_F2FS_NO_BARRIER_PATCH
(MAGISK)MOD-Battery-Saver+_v2.zip.zip
(MAGISK)Bromite_Systemless_Webview-4.1.1.zip
>>> https://bit.ly/2MZFPAZ <<<
DONATION
[M.O.D KERNEL] by mslezak™
If you like MSLEZAK™ work then consider a donation. Thanks!
Donation: [email protected]
SOURCE
Build author: @mslezak
GitHub Source code: https://github.com/mrslezak/raphael-p-oss
Kernel Developer: @mslezak
SPECIAL THANKS
Special thanks goes out to @smeroni68 and @mauronofrio for helping fix the fstab.qcom zip that cost several hours of pain.
Special thanks also to @ilia1985 for providing a Magisk Module template for the kernel manager settings, now OC setup doesn't even need a kernel manager!
But required for user settings if needed.
Special Thanks to @kzak25 for extensively testing this [M.O.D KERNEL] on AOSP roms.
Meet us on Telegram: https://t.me/mi9tpromodkernel :good:
If nothing goes wrong ......
Soon you all will get the "next gen" Papasmurf Kernel for Android 9 + 10.
Organized and donated by M.O.D Kernel Developer mslezak - xenix96 publisher - Miro user and some other M.O.D. Kernel users .....
Enjoy till then the M.O.D Kernel :good:
Dont ask for anything related to this news just stay tuned
​
That is an awesome kernel. Respect Reserved.
my antutu score in stock and 500,000 so there is a problem with the kernel
edit:sure on facebook even made more than 540.000
jejemc said:
my antutu score in stock and 500,000 so there is a problem with the kernel
edit:sure on facebook even made more than 540.000
Click to expand...
Click to collapse
the Kernel is Stable and working Fine
PS: you can stay in your Stock ROM
have a nice day
jejemc said:
my antutu score in stock and 500,000 so there is a problem with the kernel
edit:sure on facebook even made more than 540.000
Click to expand...
Click to collapse
Here a problem with your antutu....
jejemc said:
my antutu score in stock and 500,000 so there is a problem with the kernel
edit:sure on facebook even made more than 540.000
Click to expand...
Click to collapse
Well if you just updated from Antutu 7.2.3 to Antutu V8 then you get wrong score like i had with kernel....over 605 000 ...
As you see in attachement its recommended by developer of Antutu app that you need to do a fresh install of new Antutu V8.
So just deinstall your curent antutu + 3d antutu and reinstall it from playstore.
Then open your eyes and see the truth
is this possible to run on global 10.3.2 PFKMIXM?also now im on Quax kernel with F2FS already run on my device..can you teach me step by step how to install your kernel from my custom kernel with already running F2FS..thanks you..
i already have twrp and already active disable dm verity..
xNovaLeader said:
is this possible to run on global 10.3.2 PFKMIXM?also now im on Quax kernel with F2FS already run on my device..can you teach me step by step how to install your kernel from my custom kernel with already running F2FS..thanks you..
i already have twrp and already active disable dm verity..
Click to expand...
Click to collapse
To be sure just follow exactly the Stock flash instruction
Hi,
Is this kernel working with stock global 10.3.2?
Regards
This is not for android 10 and miui 11 , right ?
is this kernel work in k20 pro miui 10.3.5.0 ?
---------- Post added at 10:26 AM ---------- Previous post was at 10:24 AM ----------
hi
is this kernel work for k20 pro miui 10.3.5.0 ?
nabil427 said:
Hi,
Is this kernel working with stock global 10.3.2?
Regards
Click to expand...
Click to collapse
Yes
shouk_1987 said:
This is not for android 10 and miui 11 , right ?
Click to expand...
Click to collapse
Only for Android 9 PIE
Dedek2415 said:
is this kernel work in k20 pro miui 10.3.5.0 ?
---------- Post added at 10:26 AM ---------- Previous post was at 10:24 AM ----------
hi
is this kernel work for k20 pro miui 10.3.5.0 ?
Click to expand...
Click to collapse
Everthing Stock/AOSP with Android 9 will work definitly
xenix96 said:
Everthing Stock/AOSP with Android 9 will work definitly
Click to expand...
Click to collapse
can you give me instruction step bt step to flash this kernel over stock rom?
sory im newbie on this thing ..
btw im using orangefox recovery
Dedek2415 said:
can you give me instruction step bt step to flash this kernel over stock rom?
sory im newbie on this thing ..
btw im using orangefox recovery
Click to expand...
Click to collapse
The instruction is step by step so if you do not understand this and not have the base knowelege of flashing things with twrp and adb fastboot etc. then please let it .....
Does this kernel have sound controls?
Does this kernel have sound controls?
DriftClash said:
Does this kernel have sound controls?
Click to expand...
Click to collapse
No it dont include any sound control stuff :good:
That is disappointing
Could you please include them in your next build?
DriftClash said:
Could you please include them in your next build?
Click to expand...
Click to collapse
Please read 1st post Section "Information"
Good kernel !
I own a mi 9t pro EEA variant and the only things I can report are :
-Bromite is not needed on MIUI and not working atm as its making apps crash so i'm using chrome webview
-On a reboot the phone was on a table and the front camera tried to closed itself but it was already closed so it made the sound it does when it falls and MIUI displayed an error message saying try again !
Apart from that all good, keep up the good work !

[ROM][UBPorts][perseus] Ubuntu Touch

{
"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"
}
Ubuntu Touch for Xiaomi Mi Mix 3
With Support for OTA Updates
DISCLAIMER:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this 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.
*/
REQUIRED:
- Unlocked bootloader
- Enable USB Debugging
INSTALLATION:
Download official installer from ubuntu-touch.io and follow on-screen instructions.
KNOWN BUGS:
Automatic brightness
Proximity sensors
GPS
Others: Please test and report
BUGS STATUS:
See here.
CHANGELOGS:
01 July 2021:
- Added ubports installer support (one-click installer)
- Fixed call audio
- Added Anbox 10 early support
22 June 2021:
- Added OTA support
- Fixed audio
- Fixed fingerprint
- Fixed MTP and ADB
- Fixed charging icon
27 May 2021:
- Switched from GSI to manual build using UBPorts CI
- Battery icon doesn't show as charge during charging, but it is charging fine
- Anbox is now working
Build info:
Build author: xperseus
Repo: https://gitlab.com/ubports/community-ports/android9/xiaomi-mi-mix-3
References:
Ubports' CI Guide: https://github.com/ubports/porting-notes/wiki/GitLab-CI-builds-for-devices-based-on-halium_arm64-(Halium-9)
Ubports' Documentation: https://docs.ubports.com/en/latest/
Halium Documentation: https://docs.halium.org/en/latest/index.html
Common tree: https://github.com/LineageOS/android_device_xiaomi_sdm845-common/tree/lineage-16.0
Device tree: https://github.com/LineageOS/android_device_xiaomi_perseus/tree/lineage-16.0
Kernel source: https://github.com/LineageOS/android_kernel_xiaomi_sdm845/tree/lineage-16.0
Credit to UBPorts & Halium team for support and guides. Specially thanks to NotKit.
Created 20 May 2021
Last Updated 01 July 2021
Screenshots
thanks!!
can i dualboot with android ?
Sorry english not my main language
Tungpham99 said:
can i dualboot with android ?
Sorry english not my main language
Click to expand...
Click to collapse
No you cannot.
Hi,
No matter how hard I try I cannot get past the MI logo.
I tried several twrp img (not every, and on most recent ones I get a treble zip compatibility error btw, seems normal tho)
I wonder if I missing something obvious...
Finally the possibility of Linux on this phone I waited for this day so long thank you so much for your work. Sadly Im unable to boot. On what TWRP Version are you? The current one wouldnt work with any Miui Android 9 version i tried. Tried flashing via TWRP / ADB both end in stuck Mi Logo.
xN&5NP said:
Finally the possibility of Linux on this phone I waited for this day so long thank you so much for your work. Sadly Im unable to boot. On what TWRP Version are you? The current one wouldnt work with any Miui 10 / Android 9 version i tried. Tried flashing via TWRP / ADB both end in stuck Mi Logo.
Click to expand...
Click to collapse
What Rom did you have previously installed? And did you do a full wipe / format before installing Miui 9?
luigi024 said:
Hi,
No matter how hard I try I cannot get past the MI logo.
I tried several twrp img (not every, and on most recent ones I get a treble zip compatibility error btw, seems normal tho)
I wonder if I missing something obvious...
Click to expand...
Click to collapse
Pls try this version of twrp as i used this one: https://dl.twrp.me/perseus/twrp-3.2.3-0-perseus.img.html
xN&5NP said:
Finally the possibility of Linux on this phone I waited for this day so long thank you so much for your work. Sadly Im unable to boot. On what TWRP Version are you? The current one wouldnt work with any Miui Android 9 version i tried. Tried flashing via TWRP / ADB both end in stuck Mi Logo.
Click to expand...
Click to collapse
Please use 3.2.3: https://dl.twrp.me/perseus/twrp-3.2.3-0-perseus.img.html
xN&5NP said:
What Rom did you have previously installed? And did you do a full wipe / format before installing Miui 9?
Click to expand...
Click to collapse
Please follow this steps:
1. Install Android 9 MIUI as base (I used CN 9.2.15) < Mi Flash fastboot as I was on android 11
2. Install and boot to TWRP < use TWRP 3.2.3, don't use the latest version
3. Download and flash Ubuntu Touch GSI v10 from here in TWRP < flash ubports GSI
4. Flash halium-boot.img attached in this post via fastboot/TWRP. < flash my halium-boot.img
5. Download and flash Halium-boot_no_console_patch from here in TWRP. < THIS IS A MUST, otherwise bootloop
6. Wipe data and reboot.
Note: u will lose all data in step 1, pls backup
luigi024 said:
Hi,
No matter how hard I try I cannot get past the MI logo.
I tried several twrp img (not every, and on most recent ones I get a treble zip compatibility error btw, seems normal tho)
I wonder if I missing something obvious...
Click to expand...
Click to collapse
Did you download and flash Halium-boot_no_console_patch as mentioned in op, this is very important to get out of bootloop.
Yes I flashed Halium-boot_no_console_patch each time I tried to boot, but it wasn't even booting, only MI logo...
I use the recovery package to reflash android 9, it may have caused the issue... Gonna wait a few more hours to download the fastboot package ! And while waiting I'll try just with this TWRP version if it works !
luigi024 said:
Yes I flashed Halium-boot_no_console_patch each time I tried to boot, but it wasn't even booting, only MI logo...
I use the recovery package to reflash android 9, it may have caused the issue... Gonna wait a few more hours to download the fastboot package ! And while waiting I'll try just with this TWRP version if it works !
Click to expand...
Click to collapse
Yes pls do that, and let me know.. i did it a few time, always working from my side. I think u might need to fastboot flash CN9.2.15 like me.
@luigi024, @xN&5NP hi both, I just tried to simulate my steps and realized that I failed to mentioned one important step, you need to flash LineageOS 16 on top of CN9.5.12. I have updated the op, if you cannot download LineageOS please pm me.
xperseus said:
@luigi024, @xN&5NP hi both, I just tried to simulate my steps and realized that I failed to mentioned one important step, you need to flash LineageOS 16 on top of CN9.5.12. I have updated the op, if you cannot download LineageOS please pm me.
Click to expand...
Click to collapse
Followed your steps and got Ubuntu Touch up and running. Great work!
xperseus said:
Please follow this steps:
1. Install Android 9 MIUI as base (I used CN 9.2.15) < Mi Flash fastboot as I was on android 11
2. Install and boot to TWRP < use TWRP 3.2.3, don't use the latest version
3. Download and flash Ubuntu Touch GSI v10 from here in TWRP < flash ubports GSI
4. Flash halium-boot.img attached in this post via fastboot/TWRP. < flash my halium-boot.img
5. Download and flash Halium-boot_no_console_patch from here in TWRP. < THIS IS A MUST, otherwise bootloop
6. Wipe data and reboot.
Note: u will lose all data in step 1, pls backup
Click to expand...
Click to collapse
Where do I find halium-boot.img as described in 4.? I'm obviously blind. Thanks in advance.
chromanju said:
Where do I find halium-boot.img as described in 4.? I'm obviously blind. Thanks in advance.
Click to expand...
Click to collapse
Please read the OP, the installation now is supported by Ubuntu Touch installer (UBPorts Installer), just download it from https://ubuntu-touch.io/get-ubuntu-touch and follow on screen instructions. Let me know if u still have questions.

[BAH2] Guide Install A11 From EMUI 8 (+ Fix Audio)

Welcome guys ! Today want share this guide, particularly since this tablet model had a issues flashing GSI ROMS. In my case and other people's, the Audio don't work (In my BAH2-W19 8.0.0.322 Or 8.0.0.371(OCEC605). However thanks to @AltairFR the which developt a new patch and was possible create fix it.
I going to quote and modify the post of @AltairFR -> LeaOS18.1 by Iceows for this guide.
Pre-requisite :
You must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! ). To install follow this guide "How to unlock Huawei P8 ligt 2017 (en).pdf" or french version "How to unlock Huawei P8 ligt 2017 (fr).pdf"
Installation (crypt or uncrypt)
Download file : “LeaOS-PRA Vanilla lastest" in this case I've used LeaOS-18.1-20221115-iceows-pra. Download and extract img file (DOWNLOAD THE PRA FOR THIS TABLET BAH2)
run:
Code:
fastboot flash system <drag system.img here>
boot to TWRP
Wipe cache, dalvik/art cache, internal storage and data
resize system
flash this file (VERY IMPORTANT OR COULD GET A BOOTLOOP) 1-Huawei-DataPrep-DeCrypt-A-v1.0-signed.zip (For this tablet I've tested only DeCrypt version) to not-allow data encryption or this file 1-Huawei-DataPrep-Crypt-A-v1.0-signed.zip to allow it
(optional) flash patches :
0 - Magisk: Magisk Lastest Version For this case I've Downloaded Magisk-v25.2.apk (Rename as .zip to be flash, and keep as APK to install) FLASH (Optional STEP)
1 - MicroG (is a Google FOSS Alternative): MinMicroG NoGooLag Version or Google Apps lite : [RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip
2 - Enable AGPS : 7-AGPS-FIX-AltairVendor-v3.6-signed.zip (I've not tested it in my tablet BAH2, i dont use maps)
3 - Huawei-BAH2-FixAudio-v1.0-signed (FLASH ONLY IF YOU DONT HAVE AUDIO SOUND - Download in the Attach Files)
4 - Huawei-BAH2-FixPreav-A-v1.1-signed (Its for DRM and Netflix problems - Download in the Attach Files)
reboot to System and set up the phone with Lineage first start assistant. You can also add most user
Enjoy !!!
Update (crypt or uncrypt)
Download file : “LeaOS-PRA lastest" in this case I've used LeaOS-18.1-20221115-iceows-pra Download and extract img file
run:
Code:
fastboot flash system <drag system.img here>
boot to TWRP
Wipe cache, dalvik/art cache
resize system
(optional) flash patches :
0 - Reflash Magisk: Magisk Lastest Version For this case I've Downloaded Magisk-v25.2.apk (Rename as .zip to be flash, and keep as APK to install) FLASH (Optional STEP)
1 - Reflash MicroG (is a Google FOSS Alternative): MinMicroG NoGooLag Version or Google Apps lite : [RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip
2 - Enable AGPS : 7-AGPS-FIX-AltairVendor-v3.6-signed.zip (I've not tested it in my tablet BAH2, i dont use maps)
3 - Huawei-BAH2-FixAudio-v1.0-signed (FLASH ONLY IF YOU DONT HAVE AUDIO SOUND - Download in the Attach Files)
4 - Huawei-BAH2-FixPreav-A-v1.1-signed (Download in the Attach Files)
reboot to System
Enjoy !!!
Source Code:
https://github.com/Iceows
ROM OS Version: Android 11
ROM Kernel: Linux 4.4.x (stock 4.4.23+)
ROM Firmware Required: EMUI 8
Based On: LineageOS (AndyGCYan)
Credits:
@DarkJoker360
@hamido
@AndyCGYan
@PHH
@eremitein
@RakinTheGreat (GCam)
@TureX (Kernel)
And all the others who tested my patches and helped me improve this ROM
​[Fix] Font BLUR​if you have problem like this.
{
"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"
}
Click to expand...
Click to collapse
You could solve easily
Go to System > Display > LiveDisplay > Color Calibration
Now you can set in 99% a color like Blue. See image:
Click to expand...
Click to collapse
In this moment the blur font should had been fixed
Special Thanks to the Iceows (@AltairFR) for dedicates to helping us and build these codes
If need help, ask in the Telegram Group
LeaOS official group
Release channel: @leaos_group
Amazing work good sir!!
After some problems the installation worked.
Can i also use a A12 GSI-Rom with this workaround?
Netflix ist not working, error (5.0).
SERGE4NT said:
After some problems the installation worked.
Can i also use a A12 GSI-Rom with this workaround?
Click to expand...
Click to collapse
A12 Need other things, for this model is not tested and for similar like m5 works very bad.
SERGE4NT said:
Netflix ist not working, error (5.0).
Click to expand...
Click to collapse
What is you model device? Do you flash the FixPreav? you need also pass safety. Please check in the telegram group!.
Milor123 said:
What is you model device? Do you flash the FixPreav? you need also pass safety. Please check in the telegram group!.
Click to expand...
Click to collapse
My model is BAH2-W19 8.0.0.371(OCEC432)
I tried it with and without FixPreav. I have not rooted. On Stock-rom, netflix is working.
SERGE4NT said:
My model is BAH2-W19 8.0.0.371(OCEC432)
I tried it with and without FixPreav. I have not rooted. On Stock-rom, netflix is working.
Click to expand...
Click to collapse
I will try report it to @AltairFR in telegram group, please go and keep seen the conversation. please go to group and send screenshots, can you share a logcat?
Milor123 said:
I will try report it to @AltairFR in telegram group, please go and keep seen the conversation. please go to group and send screenshots, can you share a logcat?
Click to expand...
Click to collapse
@AltairFR or @iceows ?
AltairFR said:
@AltairFR or @iceows ?
Click to expand...
Click to collapse
@iceows in telegram and @AltairFR Here hahah :3 thanks bro
Ok, I read in the Group, that we have to use Netflix.6.26.1.apk. I will try it.
SERGE4NT said:
Ok, I read in the Group, that we have to use Netflix.6.26.1.apk. I will try it.
Click to expand...
Click to collapse
With emui8 use only Netflix 6.26
With emui9 with safetynet ok, you can use the last version of Netflix 8
Now, Netflix 6.26 works.
Wow this worked! Thank you so much!!! It's breathed life into this older, but perfectly functional, tablet.
Does anyone have a guidance then can give me on how to set the kernel to 'permissive'?
PHH Treble settings >>Huawei Features >> Enable fingerprint gestures. this function doesnt work. turning it on or off doesnt allow using the implemented fingerprint gesture
Will this ROM work if I format data as f2fs?
Yes

Categories

Resources