64 bit FOR REDMI 7A - Redmi 7A ROMs, Kernels, Recoveries, & Other Develo

64-bit Base Package For GSI Redmi 7A
Flashing instructions ?
• Boot to recovery
• Flash given zip file (Downloads section)
• Wipe system
• Flash any arm64 GSI of your choice to system image
• Format data, wipe cache
• Flash gapps, magisk, etc...
• Boot to system, congrats you're on arm64.
Changelog:
- Fixed camera service crashing.
- Gcams can now run on Enforcing mode.
- Swap is disabled by default in favor of ZRAM.
- Fixed more services crashing that just filled up the logcat.
- Changed to Global for better overlay compatibility
- ViperFX now works in Enforcing mode where as before it would be unstable.
- Camera doesn't take as long to launch now.
Old Changes (from previous vendor/post):
• Fix bt audio, cleanup audio configs
• Add exfat fix
• Fix headphones
• Fix video recording
• Enable pseudo-gyro (emulated gyroscope from miui)
Downloads :
Base
mirror link
Bugs ?
• VoLTE doesn't work (fix: https://t.me/Redmi7AUpdates/98)
Things to point out:
- As mentioned on the previous release, Pie and Amber/Erfan based GSIs can't boot on Enforcing mode, in which case the Permissiver v5 zip from #permissiver is necessary.
- The FM Radio fix found in notes doesn't work anymore, use this instead (http://www.mediafire.com/file/wgnysvjo362yuco/FM_Radio-Fix.zip/file) and flash through Magisk.
- If you are having any camera related issues then switch to Permissive mode.
-Fixed some stuff and made a new one.
-Sadly, upgrading directly from the old one isn't possible and formatting data is required, I tried to make it upgradable but with no success.
*Currently using Havoc os 3.8"
And credits to telegram redmi 7a team and for the developers who work so hard for this project I do not own this work
Join here need telegram app on windows and android and dont forget to like my post https://t.me/PineOfficial

just flash permissiver to make wired headphone work
for me blissrom arm64 is smooth with face unlock unless u use android 9 as base firmware to have encryption or else u cant add password

daizu said:
just flash permissiver to make wired headphone work
for me blissrom arm64 is smooth with face unlock unless u use android 9 as base firmware to have encryption or else u cant add password
Click to expand...
Click to collapse
True, use MIUI A9 base to get encryption working on TWRP.

No chance to get this working on MIUI?

iagm12 said:
No chance to get this working on MIUI?
Click to expand...
Click to collapse
theres no way and also memeUI sucks
Custom Roms GSIs are better
edit:
there is new a update bluetooth already fix and other bugs..

iagm12 said:
No chance to get this working on MIUI?
Click to expand...
Click to collapse
You could try to use this on a MIUI GSI ported from the Redmi 8 maybe, but I don't know if it would work completely.

Maybe Erfan's GSI builds? https://mirrors.lolinet.com/firmware/gsi/MIUI/
---------- Post added at 03:24 PM ---------- Previous post was at 03:22 PM ----------
Also, not to nitpick, but my username is different in XDA.
https://forum.xda-developers.com/redmi-7a/how-to/redmi-7a-arm64-kernel-t4134381
I'm the kernel dev.
---------- Post added at 03:29 PM ---------- Previous post was at 03:24 PM ----------
Also, I'm going to try out Ubports if I can. It would be interesing to see if it would work because of the Q vendor.

Great Work, congrats <3

i have ask helios developer (maintainer of helios gsi) to resize the gsi of redmi 8 (redmi 8 has 3.5 gb raw image that cant be flash easy to our phone which has only 3gb)

"Flash any arm64 GSI of your choice to system image" i dont know what is this, but can u give me yours?

all using just twrp to flash?

How did you root your device? Im currently on MIUI 11.0.3 Q and there's no TWRP or any magisk rooting files/guide that is updated.
Good work btw. If you can share your rooting method and TWRP this can be an ALL IN ONE guide. Many thanks!
EDIT: Its working right now, but thing is I cant flash anything from internal storage, it shows weird letters (encrypted). Its Pitch Black Recovery 3.0. How did you solve this?

regularfanb0y said:
EDIT: Its working right now, but thing is I cant flash anything from internal storage, it shows weird letters (encrypted). Its Pitch Black Recovery 3.0. How did you solve this?
Click to expand...
Click to collapse
Had the same situation here on my 7A with TWRP, i also couldn't transfer the files via file Explorer from Windows to the 7A
because of the encryption (the copy and paste window doesn't do anything and disapears after a while).
Solution to this is:
Format Data > Yes

[Warning - outdated - OP has replaced the fw+vendor file 11.0.3 to 11.0.11]
Explaning some stuff about GSI basics
If this GSI stuff is also new to you like it is to me:
When working with GSI it's important to understand that the version which is currently running on your device, lets say V10.2.5 for example,
has the same version of your patched boot image (actually the boot image is build to fit for the currently running version i guess)
In this Thread the Base (11.0.3 Q FW) must have the same Version as the currently running version.
At the beginning i didn't know how this should work out because in all the other GSI Rom guides there is a patched boot image file in use
but if you want to use this Base (11.0.3 Q FW) there is no V11.0.3 GLOBAL patched boot image file to use?, just russia.
(see https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305 link in download section)
but then i read somewhere that the boot img also/always is part of the stock image and then i saw that the actual stock image from c. mi. com homepage is V11.0.3.
the second thing that doesn't made sense to me was: does Base (11.0.3 Q FW) mean you only can run Android 10 on it and why are there "higher versions" like Base (11.0.7 P FW) for the older Android P?
but anyway i had all the needed files to give it a try.
Instructions how to get from some sort of a corrupt status xy --> StockRom
Because i did some testing with Rom's i needed a "starting point" = this means unlocked Bootloader, Stock Rom V11.0.3, recovery installed
This was necessary for me to find out what step causes problems and also to "reset" the boot.img if i used a patched one
So this was my loop i did everytime to get from some sort of a corrupt status "xy" back to "starting point":
Enter Fastboot mode (Vol-Down & Power)
Install Stock Rom "pine_global_images_V11.0.3.0.QCMMIXM_20200717.0000.00_10.0_global" from c .mi .com homepage by using the software "MiFlash 2020.3.14.0"
(if you use MiFlash for the first time go to Driver --> install & wait for weird message.)
(it's important to use the V11.0.3.0. if you want to run the "64-bit Base Package For GSI Redmi 7A")
if your bootloader is unlocked at this moment choose "clean all" at the bottom of MiFlash instead of "clean all and lock".
("clean all" always ends with the error "error: Not catch checkpoint (\$fastboot -s .*lock), flash is not done" but you can ignore this one)
After install Stock Rom is finished let the device boot to system
if you already have a unlocked bootloader and you used "clean all" option you can now shut down the device and then enter Fastboot mode (Vol-Down & Power)
if you used "clean all and lock" with a previous unlocked bootloader you can quickly unlock it again by entering Fastboot mode and using the "Mi Unlock" software for Windows.
if your bootloader was never unlocked before you now have to do the complete process:
enable the developer options, go to "Mi unlock status" and register/LOGIN ON YOUR DEVICE into Mi-Account, install "Mi Unlock" software on PC and then you can unlock it.
anyways, if your bootloader is unlocked - shut down the device and then enter Fastboot mode (Vol-Down & Power)
[not flashing boot.img, already mentioned why not ]
use fastboot to flash vbmeta.img
vbmeta file
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
use fastboot to flash recovery.img
TWRP recovery
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
go to recovery by holding Vol-Up & Power​
-->my starting point to testing different settings...
Wipe Dalvik / ART cache, System, Data, Cache.
Format Data > Yes
Do not wipe Internal Storage!
copy the following files to the devices sdcard:
Base (11.0.3 Q FW) - fw_vendor_pine_64bit-rel_11.0.3MI.zip File from download section [Warning - outdated - OP has removed this file]
"lineage-17.1-20200808-UNOFFICIAL-treble_arm64_bvN.img" (thats the one i've used but any arm64 GSI of your choice should work)
link in Download section at: https://forum.xda-developers.com/pr...lopment/gsi-lineageos-17-0-gsi-archs-t4004673
Permissiver v5:
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
FM Radio fix: [EDIT: dont use this because LOS bootscreen will stuck in a flickering loop]
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
use FM-Radio_(GSI).zip instead [EDIT: app doesnt work because of errormessage]
https://forum.xda-developers.com/attachment.php?attachmentid=4937895&d=1580288989
worked for me, thanks @dmitrypershin2015
Flash fw_vendor_pine_64bit-rel_11.0.3MI.zip aka "Base (11.0.3 Q FW)"
Wipe system
Flash any arm64 GSI of your choice to system image
Reboot to Recovery
Flash Magisk (optional) (not tested here)
Flash Permissiver v5
Flash GApps (optional) (not tested here)
If you get 'insufficient space' error, first resize System partition.
Flash FM-Radio_(GSI).zip
Reboot system and enjoy.
As already mentioned the FM Radio fix doesn't work, if you skip it LOS boots perfectly
another bug: No other color of the Notification LED than white
Somewhere in the Forum there is a link to Permissiver v4 instead of v5, cant say if v4 works fine but v5 does

mYXiao said:
I had some troubles getting this running, but finally i made it
If this GSI stuff is also new to you like it is to me:
When working with GSI it's important to understand that the version which is currently running on your device, lets say V10.2.5 for example,
has the same version of your patched boot image (actually the boot image is build to fit for the currently running version i guess)
In this Thread the Base (11.0.3 Q FW) must have the same Version as the currently running version.
At the beginning i didn't know how this should work out because in all the other GSI Rom guides there is a patched boot image file in use
but if you want to use this Base (11.0.3 Q FW) there is no V11.0.3 GLOBAL patched boot image file to use?, just russia.
(see https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305 link in download section)
but then i read somewhere that the boot img also/always is part of the stock image and then i saw that the actual stock image from c. mi. com homepage is V11.0.3.
the second thing that doesn't made sense to me was: does Base (11.0.3 Q FW) mean you only can run Android 10 on it and why are there "higher versions" like Base (11.0.7 P FW) for the older Android P?
but anyway i theoretically had all the files to give it a try.
But i had to flash Stock Rom for many times because i wanted to start from the same starting point so i could find out what step causes the problem
and also to "reset" the boot.img if i had used a patched one
So this was my loop i did everytime to get from some sort of a corrupt status back to "my starting point" = this means unlocked Bootloader, Stock Rom V11.0.3 and recovery installed
[ beginning of loop
Enter Fastboot mode (Vol-Down & Power)
Install Stock Rom "pine_global_images_V11.0.3.0.QCMMIXM_20200717.0000.00_10.0_global" from c .mi .com homepage by using the software "MiFlash 2020.3.14.0"
(if you use MiFlash for the first time go to Driver --> install & wait for weird message.)
(it's important to use the V11.0.3.0. if you want to run the "64-bit Base Package For GSI Redmi 7A")
if your bootloader is unlocked at this moment choose "clean all" at the bottom of MiFlash instead of "clean all and lock".
("clean all" always ends with the error "error: Not catch checkpoint (\$fastboot -s .*lock), flash is not done" but you can ignore this one)
After install Stock Rom is finished let the device boot to system
if you already have a unlocked bootloader and you used "clean all" option you can now shut down the device and then enter Fastboot mode (Vol-Down & Power)
if you used "clean all and lock" with a previous unlocked bootloader you can quickly unlock it again by entering Fastboot mode and using the "Mi Unlock" software for Windows.
if your bootloader was never unlocked before you now have to do the complete process:
enable the developer options, go to "Mi unlock status" and register/LOGIN ON YOUR DEVICE into Mi-Account, install "Mi Unlock" software on PC and then you can unlock it.
anyways, if your bootloader is unlocked - shut down the device and then enter Fastboot mode (Vol-Down & Power)
[not flashing boot.img, already mentioned why not ]
use fastboot to flash vbmeta.img
vbmeta file
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
use fastboot to flash recovery.img
TWRP recovery
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
] end of loop -> my starting point to testing different settings...
go to recovery by holding Vol-Up & Power
Wipe Dalvik / ART cache, System, Data, Cache.
Format Data > Yes
Do not wipe Internal Storage!
copy the following files to the devices sdcard:
Base (11.0.3 Q FW) - fw_vendor_pine_64bit-rel_11.0.3MI.zip File from download section
"lineage-17.1-20200808-UNOFFICIAL-treble_arm64_bvN.img" (thats the one i've used but any arm64 GSI of your choice should work)
link in Download section at: https://forum.xda-developers.com/pr...lopment/gsi-lineageos-17-0-gsi-archs-t4004673
Permissiver v5:
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
FM Radio fix: [EDIT: dont use this because LOS bootscreen will stuck in a flickering loop]
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
use FM-Radio_(GSI).zip instead
https://forum.xda-developers.com/attachment.php?attachmentid=4937895&d=1580288989
worked for me, thanks @dmitrypershin2015
Flash fw_vendor_pine_64bit-rel_11.0.3MI.zip aka "Base (11.0.3 Q FW)"
Wipe system
Flash any arm64 GSI of your choice to system image
Reboot to Recovery
Flash Magisk (optional) (not tested here)
Flash Permissiver v5
Flash GApps (optional) (not tested here)
If you get 'insufficient space' error, first resize System partition.
Flash FM-Radio_(GSI).zip
Reboot system and enjoy.
I found out that the FM Radio fix doesn't work here, if you skip it LOS boots perfectly
Somewhere in the Forum there is a link to Permissiver v4 instead of v5, cant say if v4 works fine but v5 does
Click to expand...
Click to collapse
Whats the FM radio GSI zip for?
List of GSIs I've tried on 11.0.3 64 bit
Boots:
Havoc OS (Camera and Screenrecording bug)
Bliss Q (Camera and Weird cutted corners)
Bootleggers (Camera, Weird cutted corners and Brightness cant adjust)
Evolution X (Camera and Brightness cant adjust)
LOS 17 (Camera)
Dont boot:
N/A
Anyone here have a fix for camera, Brightness, Screenrecording and weird cut corners?

regularfanb0y said:
Whats the FM radio GSI zip for?
Click to expand...
Click to collapse
If i boot LOS 17 without the FM radio GSI zip the default FM Radio App which should be preinstalled isn't. flashing the zip fixed that.
regularfanb0y said:
Anyone here have a fix for camera, Brightness, Screenrecording and weird cut corners?
Click to expand...
Click to collapse
All i can say is that i tested Camera, Weird cutted corners and Brightness and Screenrecording on LOS 17 based on 11.0.3 64 bit . Everything works so far
PS: Can you please edit your quote so only the lines you refer to getting repeated? thx

does it work with the feature : wireless fm radio?

so you can play sky children of light with this or games 64 bit based?

mYXiao said:
I had some troubles getting this running, but finally i made it
If this GSI stuff is also new to you like it is to me:
When working with GSI it's important to understand that the version which is currently running on your device, lets say V10.2.5 for example,
has the same version of your patched boot image (actually the boot image is build to fit for the currently running version i guess)
In this Thread the Base (11.0.3 Q FW) must have the same Version as the currently running version.
At the beginning i didn't know how this should work out because in all the other GSI Rom guides there is a patched boot image file in use
but if you want to use this Base (11.0.3 Q FW) there is no V11.0.3 GLOBAL patched boot image file to use?, just russia.
(see https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305 link in download section)
but then i read somewhere that the boot img also/always is part of the stock image and then i saw that the actual stock image from c. mi. com homepage is V11.0.3.
the second thing that doesn't made sense to me was: does Base (11.0.3 Q FW) mean you only can run Android 10 on it and why are there "higher versions" like Base (11.0.7 P FW) for the older Android P?
but anyway i theoretically had all the files to give it a try.
But i had to flash Stock Rom for many times because i wanted to start from the same starting point so i could find out what step causes the problem
and also to "reset" the boot.img if i had used a patched one
So this was my loop i did everytime to get from some sort of a corrupt status back to "my starting point" = this means unlocked Bootloader, Stock Rom V11.0.3 and recovery installed
[ beginning of loop
Enter Fastboot mode (Vol-Down & Power)
Install Stock Rom "pine_global_images_V11.0.3.0.QCMMIXM_20200717.0000.00_10.0_global" from c .mi .com homepage by using the software "MiFlash 2020.3.14.0"
(if you use MiFlash for the first time go to Driver --> install & wait for weird message.)
(it's important to use the V11.0.3.0. if you want to run the "64-bit Base Package For GSI Redmi 7A")
if your bootloader is unlocked at this moment choose "clean all" at the bottom of MiFlash instead of "clean all and lock".
("clean all" always ends with the error "error: Not catch checkpoint (\$fastboot -s .*lock), flash is not done" but you can ignore this one)
After install Stock Rom is finished let the device boot to system
if you already have a unlocked bootloader and you used "clean all" option you can now shut down the device and then enter Fastboot mode (Vol-Down & Power)
if you used "clean all and lock" with a previous unlocked bootloader you can quickly unlock it again by entering Fastboot mode and using the "Mi Unlock" software for Windows.
if your bootloader was never unlocked before you now have to do the complete process:
enable the developer options, go to "Mi unlock status" and register/LOGIN ON YOUR DEVICE into Mi-Account, install "Mi Unlock" software on PC and then you can unlock it.
anyways, if your bootloader is unlocked - shut down the device and then enter Fastboot mode (Vol-Down & Power)
[not flashing boot.img, already mentioned why not ]
use fastboot to flash vbmeta.img
vbmeta file
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
use fastboot to flash recovery.img
TWRP recovery
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305​] end of loop -> my starting point to testing different settings...
go to recovery by holding Vol-Up & Power
Wipe Dalvik / ART cache, System, Data, Cache.
Format Data > Yes
Do not wipe Internal Storage!
copy the following files to the devices sdcard:
Base (11.0.3 Q FW) - fw_vendor_pine_64bit-rel_11.0.3MI.zip File from download section
"lineage-17.1-20200808-UNOFFICIAL-treble_arm64_bvN.img" (thats the one i've used but any arm64 GSI of your choice should work)
link in Download section at: https://forum.xda-developers.com/pr...lopment/gsi-lineageos-17-0-gsi-archs-t4004673
Permissiver v5:
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
FM Radio fix: [EDIT: dont use this because LOS bootscreen will stuck in a flickering loop]
https://forum.xda-developers.com/redmi-7a/how-to/guide-install-lineage-os-17-x-redmi-7a-t4142305
use FM-Radio_(GSI).zip instead
https://forum.xda-developers.com/attachment.php?attachmentid=4937895&d=1580288989
worked for me, thanks @dmitrypershin2015
Flash fw_vendor_pine_64bit-rel_11.0.3MI.zip aka "Base (11.0.3 Q FW)"
Wipe system
Flash any arm64 GSI of your choice to system image
Reboot to Recovery
Flash Magisk (optional) (not tested here)
Flash Permissiver v5
Flash GApps (optional) (not tested here)
If you get 'insufficient space' error, first resize System partition.
Flash FM-Radio_(GSI).zip
Reboot system and enjoy.
I found out that the FM Radio fix doesn't work here, if you skip it LOS boots perfectly
Somewhere in the Forum there is a link to Permissiver v4 instead of v5, cant say if v4 works fine but v5 does
Click to expand...
Click to collapse
I have two redmi 7a phones, and I tried both. The first one worked the first try, but the second one does not let me install the gapps, I get error code 70 don't have enough space, I tried to resize system but I get an error and if I try again it works but when starting the phone it stuck in the logo (I already installed FM radio gsi). I don't understand why that happens

Jak08 said:
so you can play sky children of light with this or games 64 bit based?
Click to expand...
Click to collapse
I would also wish to know this, will this allow arm64 apps to run? this is a new one to me ? didn't know this was even possible

Related

Installing Stock Oreo 8.1.0 on Nexus 6P with Root

Installing Stock Oreo 8.1.0 on Nexus 6P with Root
This is a quick guide on how to install and root stock Oreo 8.1.0 on a Nexus 6P.
The main problem I came across was trying to find a modified bootloader for Oreo 8.1.0, so instead I replaced the stock kernel with ElementalX-N6P-6.01 kernel. This alleviated the need for a modified bootloader. The reason this is required (or a modified bootloader) is to prevent the stock rom from replacing the custom recovery with the stock recovery on every boot. In addition, there is a need to remove the forced encryption of the data partition that is used in MM, Nougat and Oreo. Installing ElementalX kernel resolved both of these issues plus several other benefits including colour calibration plus plenty more.
This is not a beginner’s guide so I will assume you have the correct drivers and SDK tools installed on your PC (or Mac). Perform the following:
1. Enable USB Debugging (Developer Options)
2. Allow OEM Unlock (Developer Options)
3. Boot into download mode and unlock the bootloader with fastboot oem unlock
Downloads
1. Download the official stock firmware, currently “8.1.0 (OPM5.171019.014, Jan 2018, Softbank)” from here https://developers.google.com/android/images
2. Download “twrp-3.2.0-0-angler-4core.img” from https://androidfilehost.com/?fid=745849072291692306
3. Download “ElementalX-N6P-6.01.zip” from https://elementalx.org/devices/nexus-6p/
4. Download Magisk (Latest version) from https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Method
Have your phone switched on.
1. Within the downloaded stock firmware file there is a “flash-all.bat” file. Run this batch file. The phone will reboot into bootloader mode and flash the stock image.
2. When finished reboot the phone and finish the setup. No need to set up too much at this point as it will all be erased again shortly. Now you’re on stock rom 8.1.0. Again,ensure the following:
Enable USB Debugging (Developer Options)
Allow OEM Unlock (Developer Options)
At the moment the data partition is encrypted (default with Oreo, Nougat and MM) and this is not good for TWRP or rooting, so this needs to be changed.
5. Boot the phone into download mode, connect to your PC and flash TWRP
fastboot flash recovery twrp-3.2.0-0-angler-4core.img
6. Boot your phone into recovery. TWRP will now load but will ask for a password because the data partition is encrypted. Press “Cancel” in TWRP.
7. Slide the bar to allow modification to the system partition when asked by TWRP.
8. To decrypt the data partition, go to Wipe > Format Data and enter “Yes” in the provided field. It should not take more than a few seconds and then reboot into recovery again. This time it will not ask for a password and you should have access to the storage area of the phone from your PC.
9. Remain in TWRP and copy “ElementalX-N6P-6.01.zip” from your PC to the phone and install it.
10. While still in TWRP, install Magisk.
11. Wipe Cache/Dalvik cache and the reboot into the system.
Extras
• Check the colour calibration within ElementalX
• Viper4Android can be installed via Magisk downloads. Use the version for Magisk 15. It works.
dave457 said:
(snipped)
Click to expand...
Click to collapse
Couple thoughts:
1) Please replace every reference of "bootloader" with "boot." Bootloader is entirely different from the boot (kernel). Know the difference if you're going to provide instructions. Using these words interchangeably will cause new users to brick their device because they flashed the bootloader.img when they rarely need to install this. You only flash an image to its similarly named partition on the phone, bootloader does not equal boot.
2) You do not need a custom kernel to get root on Oreo. Your post is misleading. Magisk roots the stock boot image just fine.
3) TWRP will persist between reboots with just the stock boot image rooted with Magisk.
4) TWRP works when you are encrypted. I am unsure why you have a hangup with TWRP and encryption. Are you referring to File Based Encryption which can only be enabled through Developer Options?
5) Why are you making people install a 4 core version of TWRP? If they do not have the BLOD, why force people to use a version of TWRP they do not need?
Sent from my Nexus 5X using Tapatalk
Could you point me in the direction of a beginners guide for this process? I do know it does have a TWRP partition, I do not know which version. My Kernel is 3.10.73- Elemental X4.05 and my baseband in angler 03.78. Any and all help is appreciated.
This is a quick guide on how to install and root stock Oreo 8.1.0 on a Nexus 6P.
The main problem I came across was trying to find a modified bootloader for Oreo 8.1.0, so instead I replaced the stock kernel with ElementalX-N6P-6.01 kernel. This alleviated the need for a modified bootloader. The reason this is required (or a modified bootloader) is to prevent the stock rom from replacing the custom recovery with the stock recovery on every boot. In addition, there is a need to remove the forced encryption of the data partition that is used in MM, Nougat and Oreo. Installing ElementalX kernel resolved both of these issues plus several other benefits including colour calibration plus plenty more.
This is not a beginner’s guide so I will assume you have the correct drivers and SDK tools installed on your PC (or Mac). Perform the following:
1. Enable USB Debugging (Developer Options)
2. Allow OEM Unlock (Developer Options)
3. Boot into download mode and unlock the bootloader with fastboot oem unlock
Downloads
1. Download the official stock firmware, currently “8.1.0 (OPM5.171019.014, Jan 2018, Softbank)” from here https://developers.google.com/android/images
2. Download “twrp-3.2.0-0-angler-4core.img” from https://androidfilehost.com/?fid=745849072291692306
3. Download “ElementalX-N6P-6.01.zip” from https://elementalx.org/devices/nexus-6p/
4. Download Magisk (Latest version) from https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Method
Have your phone switched on.
1. Within the downloaded stock firmware file there is a “flash-all.bat” file. Run this batch file. The phone will reboot into bootloader mode and flash the stock image.
2. When finished reboot the phone and finish the setup. No need to set up too much at this point as it will all be erased again shortly. Now you’re on stock rom 8.1.0. Again,ensure the following:
Enable USB Debugging (Developer Options)
Allow OEM Unlock (Developer Options)
At the moment the data partition is encrypted (default with Oreo, Nougat and MM) and this is not good for TWRP or rooting, so this needs to be changed.
5. Boot the phone into download mode, connect to your PC and flash TWRP
fastboot flash recovery twrp-3.2.0-0-angler-4core.img
6. Boot your phone into recovery. TWRP will now load but will ask for a password because the data partition is encrypted. Press “Cancel” in TWRP.
7. Slide the bar to allow modification to the system partition when asked by TWRP.
8. To decrypt the data partition, go to Wipe > Format Data and enter “Yes” in the provided field. It should not take more than a few seconds and then reboot into recovery again. This time it will not ask for a password and you should have access to the storage area of the phone from your PC.
9. Remain in TWRP and copy “ElementalX-N6P-6.01.zip” from your PC to the phone and install it.
10. While still in TWRP, install Magisk.
11. Wipe Cache/Dalvik cache and the reboot into the system.
Extras
• Check the colour calibration within ElementalX
• Viper4Android can be installed via Magisk downloads. Use the version for Magisk 15. It works.[/QUOTE]
Nice thanks man
---------- Post added at 04:42 PM ---------- Previous post was at 04:38 PM ----------
jam_09 said:
Could you point me in the direction of a beginners guide for this process? I do know it does have a TWRP partition, I do not know which version. My Kernel is 3.10.73- Elemental X4.05 and my baseband in angler 03.78. Any and all help is appreciated.
Hey jam_09
I will help you Install 8.1 oreo
First tell me which career are you using? Is your current rom a career specific or a global one check and tell me .. and I'll instruct on what to do further
Click to expand...
Click to collapse
dave457 said:
Installing Stock Oreo 8.1.0 on Nexus 6P with Root
This is a quick guide on how to install and root stock Oreo 8.1.0 on a Nexus 6P.
The main problem I came across was trying to find a modified bootloader for Oreo 8.1.0, so instead I replaced the stock kernel with ElementalX-N6P-6.01 kernel. This alleviated the need for a modified bootloader. The reason this is required (or a modified bootloader) is to prevent the stock rom from replacing the custom recovery with the stock recovery on every boot. In addition, there is a need to remove the forced encryption of the data partition that is used in MM, Nougat and Oreo. Installing ElementalX kernel resolved both of these issues plus several other benefits including colour calibration plus plenty more.
This is not a beginner’s guide so I will assume you have the correct drivers and SDK tools installed on your PC (or Mac). Perform the following:
1. Enable USB Debugging (Developer Options)
2. Allow OEM Unlock (Developer Options)
3. Boot into download mode and unlock the bootloader with fastboot oem unlock
Downloads
1. Download the official stock firmware, currently “8.1.0 (OPM5.171019.014, Jan 2018, Softbank)” from here https://developers.google.com/android/images
2. Download “twrp-3.2.0-0-angler-4core.img” from https://androidfilehost.com/?fid=745849072291692306
3. Download “ElementalX-N6P-6.01.zip” from https://elementalx.org/devices/nexus-6p/
4. Download Magisk (Latest version) from https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Method
Have your phone switched on.
1. Within the downloaded stock firmware file there is a “flash-all.bat” file. Run this batch file. The phone will reboot into bootloader mode and flash the stock image.
2. When finished reboot the phone and finish the setup. No need to set up too much at this point as it will all be erased again shortly. Now you’re on stock rom 8.1.0. Again,ensure the following:
Enable USB Debugging (Developer Options)
Allow OEM Unlock (Developer Options)
At the moment the data partition is encrypted (default with Oreo, Nougat and MM) and this is not good for TWRP or rooting, so this needs to be changed.
5. Boot the phone into download mode, connect to your PC and flash TWRP
fastboot flash recovery twrp-3.2.0-0-angler-4core.img
6. Boot your phone into recovery. TWRP will now load but will ask for a password because the data partition is encrypted. Press “Cancel” in TWRP.
7. Slide the bar to allow modification to the system partition when asked by TWRP.
8. To decrypt the data partition, go to Wipe > Format Data and enter “Yes” in the provided field. It should not take more than a few seconds and then reboot into recovery again. This time it will not ask for a password and you should have access to the storage area of the phone from your PC.
9. Remain in TWRP and copy “ElementalX-N6P-6.01.zip” from your PC to the phone and install it.
10. While still in TWRP, install Magisk.
11. Wipe Cache/Dalvik cache and the reboot into the system.
Extras
• Check the colour calibration within ElementalX
• Viper4Android can be installed via Magisk downloads. Use the version for Magisk 15. It works.
Click to expand...
Click to collapse
dumb question but wanted to check
My bootloader is already unlocked, but if I do the other steps, any data I have on the phone now will be lost correct?
storo1975 said:
dumb question but wanted to check
My bootloader is already unlocked, but if I do the other steps, any data I have on the phone now will be lost correct?
Click to expand...
Click to collapse
Yes because later in the process you are going to wipe the data partion to get rid of the encryption this will erase everything on your phone it is like doing a factory rest.
---------- Post added at 09:31 PM ---------- Previous post was at 09:23 PM ----------
I don't know alot about the newer versions of Android like 6 7 8 but I know I read that if you don't root the first time you install twrp then the stock recovery will over write twrp when you reboot. And I also read that magisk modifies the system img in order to hid root. so you can still use gpay and Netflix and pass the safety net check. So I think installing the custom kernel is an extra step that is not nessesary but on the other hand you get certian perks with a custom kernel. Again I don't know much about the newer modding community so o don't know how stable elementalx is. Without installing it I won't know. I have tried dozens of kernels some were spectacular like those from faux others not so much. Also keep in mind to ur technically not on stock rooted version of Android if you have a custom kernel. It no longer is stock software.
Thank you so much for this thread. I was actually about to make one asking how to get back to stock. I used to love flashing the phone all the time, but it got to the point where I never did anything with customization and got bored of it, so I'd rather just be on stock these days.
hi sorry but how to flash the ziP? through TWRP?

[CLOAED][GUIDE] Flash Generic System Image Using CMD Or TWRP In Nokia 6.1 Plus

Treble Flashing Guide For All nokia treble enabled phones
Note -1. Before Doing These Steps Your device bootloader should be unlocked. otherwise you may brick your device.
2.Copy img files according to GSI Android Version
Example - iam using Nokia 6.1 Plus & i want to flash Pixel-ex-periance-9
in my phone using GSI
METHOD 1 - VIA CMD
1. copy vendor.img & boot.img form Android 9 stock ota.zip or OST File
2. download gsi from aosp , lineage , pixel experiance etc but choose ab Arm 64
3. now keep 3 files in one folder
4. open cmd in that folder
5. now turn of your mobile and go to download mode
6. now type fastboot devices
7. type fastboot -w
8. type fastboot flash vendor vendor.img
9. type fastboot flash system PixelExperienceP-arm64-ab.img
10. type fastboot flash boot boot.img
11. type fastboot -w
12. fastboot reboot
METHOD 2 - VIA TWRP
1. copy Those 3 img files to your directory internal or external
2. wipe everything except your internal & sd
3. select install img
4. select vendor.img and select vendorimage in partition box swipe to flash
5. next select PixelExperienceP-arm64-ab.img and select systemimage in partition box swipe to flash
6. next select boot.img and select boot in partition box swipe to flash
7. reboot system
Download stock Vendor.img & boot.img files from the below links
Android 9 https://drive.google.com/open?id=1WC9iGS8QnnnBmG4KKL3sEcqlR8LceBUt
Android 8.1.0 https://drive.google.com/open?id=1yY3QvUCYKDXlfn9bREObS2XwCScnU-EN
Please Hit Thanks Button If You Understand My Guide. Hope Every One Will Boot GSI Successfully In Your Phones. Keep Going...!!!
Thank you
can you post 6.1plus vendor IMG and boot IMG here please
Or links
pawankonjarla said:
can you post 6.1plus vendor IMG and boot IMG here please
Or links
Click to expand...
Click to collapse
links updated now
BootLoader
Should the bootloader be unlocked to flash via CMD??
Thanks:good:
nikash07 said:
Should the bootloader be unlocked to flash via CMD??
Thanks:good:
Click to expand...
Click to collapse
yes Need to unlock your bootloader before flashing GSI Or else you may Brick your device
Raghu varma said:
yes Need to unlock your bootloader before flashing GSI Or else you may Brick your device
Click to expand...
Click to collapse
How to unlock bootloader, especially after August Security patch coz HMD doesn't allow to unlock bootloader of 6.1 plus anymore
nikash07 said:
How to unlock bootloader, especially after August Security patch coz HMD doesn't allow to unlock bootloader of 6.1 plus anymore
Click to expand...
Click to collapse
Just Go to Nearest Nokia Care Point And tell them Iam not comfort with Android Pie i want to revert back to oreo june Security Patch So Just Inform Them i mean tell them to flash DRG-229D File . This file will directly goes down to oreo june security Patch And give the mobile to them they will flash in 2minutes And request Unlock Key Just by in searching Google.
Raghu varma said:
Just Go to Nearest Nokia Care Point And tell them Iam not comfort with Android Pie i want to revert back to oreo june Security Patch So Just Inform Them i mean tell them to flash DRG-229D File . This file will directly goes down to oreo june security Patch And give the mobile to them they will flash in 2minutes And request Unlock Key Just by in searching Google.
Click to expand...
Click to collapse
I don't think Nokia is going to accept this and flash Oreo just like that.
nikash07 said:
I don't think Nokia is going to accept this and flash Oreo just like that.
Click to expand...
Click to collapse
Bro I updated to pie and went to care point and said some complaints about pie.they finally downgraded my phone . For example tell them Iam not comfort with pie so just flash DRG-229D File using ost. This file belongs to Oreo june security patch .
I have removed the Telegram link in your OP. Posting Telegram links or other ways of promoting social media is not allowed on XDA.
Forum Rules said:
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
Click to expand...
Click to collapse
Raghu varma said:
Treble Flashing Guide For All nokia treble enabled phones
Note -1. Before Doing These Steps Your device bootloader should be unlocked. otherwise you may brick your device.
2.Copy img files according to GSI Android Version
Example - iam using Nokia 6.1 Plus & i want to flash Pixel-ex-periance-9
in my phone using GSI
METHOD 1 - VIA CMD
1. copy vendor.img & boot.img form Android 9 stock ota.zip or OST File
2. download gsi from aosp , lineage , pixel experiance etc but choose ab Arm 64
3. now keep 3 files in one folder
4. open cmd in that folder
5. now turn of your mobile and go to download mode
6. now type fastboot devices
7. type fastboot -w
8. type fastboot flash vendor vendor.img
9. type fastboot flash system PixelExperienceP-arm64-ab.img
10. type fastboot flash boot boot.img
11. type fastboot -w
12. fastboot reboot
METHOD 2 - VIA TWRP
1. copy Those 3 img files to your directory internal or external
2. wipe everything except your internal & sd
3. select install img
4. select vendor.img and select vendorimage in partition box swipe to flash
5. next select PixelExperienceP-arm64-ab.img and select systemimage in partition box swipe to flash
6. next select boot.img and select boot in partition box swipe to flash
7. reboot system
Download stock Vendor.img & boot.img files from the below links
Android 9 https://drive.google.com/open?id=1WC9iGS8QnnnBmG4KKL3sEcqlR8LceBUt
Android 8.1.0 https://drive.google.com/open?id=1yY3QvUCYKDXlfn9bREObS2XwCScnU-EN
My Teligram Group Link All Are invited And Feel Free to Ask your Questions MOD EDIT: LINKS REMOVED
My Teligram Channel For the Further Information
Please Hit Thanks Button If You Understand My Guide. Hope Every One Will Boot GSI Successfully In Your Phones. Keep Going...!!!
Thank you
Click to expand...
Click to collapse
the Doctor said:
I have removed the Telegram link in your OP. Posting Telegram links or other ways of promoting social media is not allowed on XDA.
Click to expand...
Click to collapse
thanks for the information. I won't repeat this again
thank you very much
Can we unlock now?
And
How to flash stock rom
I installed AEX gsi, but without TWRP I can't install gapps. Anyone know how to install gapps another way?
paul89rulez said:
thank you very much
Click to expand...
Click to collapse
Welcome
bbcastro said:
I installed AEX gsi, but without TWRP I can't install gapps. Anyone know how to install gapps another way?
Click to expand...
Click to collapse
Well now twrp thread is up in nokia 6.1 kenel and recovery development section check it out
earlier treble gsi's had issues with Nokia phones Sim cards not being detected - has this been resolved, specifically relating to TA-1103?
So should I download From "A" only roms or "A/AB" roms?
Nokia X6 with Custom Oreo ROM - How to load stock Android Pie 6.1 plus image
Hi,
I bought a Nokia X6 in September 2018 (6GB/64GB) and would like to install the Stock Nokia 6.1 Plus Android 9 image.
I see my phone is rooted and it shows the message "Your device has loaded a different operating system." everytime I start it and I have to use Magisk to hide several banking applications.
The phone works great and I knew it was going to be relased in Europe eventually, but I am scared to brick it by loading the Android 9 Image.
I already tried attempting the update through OTA but the zip file is ignored. Nothing happens.
I am new to this forum so I don't know if my question has been asked by someone else.
Can you please help me?
Thank you!
Image size is bigger than target device..
I am using nokia 6.1 plus .. its support project treble , and its ab device..
When i try to flash a gsi rom bigger than 2.5 gb its also eror that image size is bigger than target device ...:crying:
Many popular gsi like oos, one, hydrogen, color os file size over than 2.5 gb .. so always shows this eror..
Any solution for this eror..??
---------- Post added at 04:03 PM ---------- Previous post was at 03:28 PM ----------
I am using nokia 6.1 plus .. its support project treble , and its ab device..
When i try to flash a gsi rom bigger than 2.5 gb its also eror that image size is bigger than target device ...:crying:
Many popular gsi like oos, one, hydrogen, color os file size over than 2.5 gb .. so always shows this eror..
Any solution for this eror..??

Redmi K20 Pro [MIUI 11 11.0.5.0 | 10.4.6.0 | 12.1.16 ,Unlock Bootloader,TWRP,ROOT]

Redmi K20 Pro
[Raphael]​
WARNING: Before attempting to root your device, do note that by unlocking your bootloader and modifying your device with root, ROMs, etc... you are NOT risking voiding your warranty! I am NOT responsible for what you do to your device either, so follow these instructions at your own risk. Make sure you know what you're doing, it's best to understand the process rather than just copy and paste commands and such.
Drivers
Mi Flash
Minimal ADB and Fastboot
Unlock Bootloader
Unlock Bootloader
Unlock here
*AMD Ryzen System has a issues in Unlocking Bootloader try another PC (Intel System)
TWRP Recovery
TWRP
TWRP auto install
Unofficial TWRP 3.3.1 Recovery - RU and Eng
Unofficial TWRP 3.3.1 Recovery @nikk3d - Multilingual
Unofficial Pitch Black Recovery @nikk3d
OrangeFox Recovery Official R10
TWRP Recovery for Android Q
/ Installation
Root
Magisk Stable
Magisk Manager
Firmwares
China MIUI 11
9.9.9
9.9.6-9.9.9
9.10.8
11.0.2.0
11.0.3.0
11.0.1.0.
11.0.4.0
11.0.5.0
9.12.27
Global Stable
10.3.3.0 Fastboot
10.3.3.0 Recovery
Global Beta
China
V10.3.6.0.PFKCNXM Fastboot
V10.3.7.0.PFKCNXM Recovery
V10.3.7.0PFKCNXM Fastboot
V10.3.8.0.PFKCNXM Recovery
V10.3.8.0PFKCNXM Fastboot
V10.3.9.0PFKCNXM Recovery
V10.3.10.0PFKCNXM Recovery
V10.3.110.PFKCNXM Recovery
V10.3.12.0PFKCNXM Recovery
V10.3.14.0PFKCNXM Recovery
V10.3.16.0PFKCNXM Recovery
V10.4.4.0 RecoveryQFKCNXM
V10.4.4.6 RecoveryQFKCNXM
OTA
10.3.10.0 to 10.3.11.0
10.3.8.0 to 10.3.10.0
10.3.7.0 to 10.3.8.0
10.3.9.0 to 10.3.10.0
Beta
9.6.11
9.6.20
9.7.4
9.8.12
9.8.21
9.9.3
India
Stable Firmwares
10.3.3.0 Fastboot
10.3.5.0
10.4.7.0 Android Q
10.4.8.0 Android Q
Beta
Global
EU
9.6.13
9.6.20
10.3.9.0
10.3.10.0
10.3.11.0
9.6.27
[URL="https://sourceforge.net/projects/xiaomi-eu-multilang-miui-roms/files/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv10/xiaomi.eu_multi_HMK20ProMI9TPro_V10.3.12.0.PFKCNXM_v10-9.zip/download"]10.3.12.0[/URL]
9.7.4
10.3.14.0
10.3.15.0
9.7.11
9.7.18
9.7.19
10.3.16
9.7.27
9.8.1
EU Android Q 9.8.8
9.8.12
9.8.15
9.8.22
10.3.17
EU Android Q 9.8.29
EU Android Q 10.4.4.0
9.9.3
9.9.6
10.3.30
EU Android Q 10.4.6.0
MIUI 11 9.9.26
MIUI 11 9.10.10
MIUI 11 11.0.2.0
MIUI 11 9.10.24
MIUI 11 9.11.7
MIUI 11 9.11.14
MIUI 11 9.11.21
MIUI 11 9.11.22
MIUI 11 9.11.28
MIUI 11 9.12.5
MIUI 11 9.12.12
MIUI 11 9.12.27
MIUI 11 20.1.16
Global EEA
10.3.1.0 PFKEUXM Fastboot
10.3.1.0 PFKEUXM Recovery
10.3.3.0 Recovery
Mi-Room
9.6.20
9.6.27
9.7.4
9.8.1
9.8.22 Android Q
9.8.29 Android Q
9.9.6 Android Q
MiuiMix
10.3.17.0
Mi-Italia
10.3.16.0
MIUI MS
9.7.18.9
9.7.25.9
9.8.1
Android Q 9.8.8
*Back up everything and Flash via TWRP Recovery
*For Raphael only (China ROM)
9.8.8 Q
9.8.8-9.8.29 Q
9.8.29 Q
MIUI 11 9.9.24
MIUI 11 9.9.25
[URL="https://hugeota.d.miui.com/9.9.26/miui_RAPHAEL_9.9.26_c74ffeeec0_10.0.zip"]MIUI 11 9.9.26[/URL]
Revolution OS
9.9.7
Google service error flash this
9.9.21 Q
9.9.21 Pie
Android Q [Unlocked Bootloader]
Beta 1
TWRP RESET Password
If you forget the password go to TWRP Recovery and Flash.
Removing Bloatwares in Locked/Unlocked Bootloader
-Enable Developer Options and click USB debugging
1.Open and click run as administrator XiaomiADBfastboottools.exe
2.Click Debloater
3.Check your phone (Allow)
4.Select the system apps that want you to delete
5. Wait for the process....
6.After finished.. click the Reboot into System
The Ultimate Guide for Redmi K20 Pro [Raphael]
Fake Global ROM to Chinese ROM to Global ROM/EU/Mi-Room
ATTENTION!*All that you will do with the phone is guided by this guide - it lies in the area of ​​your personal responsibility only.*Neither I nor other members of the forum, not the administration of the forum are responsible.*
If you do not understand something and the written guide below - contact the LS to knowledgeable colleagues, as I did!*Hide created for the Chinese version of the phone K20 Pro - Global ROM.*(for India it will not work!)*
I will explain in stages what to do, giving my comments in my simple language: what?*What for?*Why?*Don't be scared that there are a lot of points - I tried to chew everything up.
So what do we have?*
• K20 Pro - Global ROM (Installed by the Chinese firmware, with no updates, poor translation, with not working Gpay)*
• You must create an official mi account and link the device to it.*
What do we need?:*
• Installation Recovery - Orange fox (Advanced replacement of standard Recovery, and installation of any firmware) - Wildly necessary thing!*
• Installing the firmware MI Room 9.7.4*
• Proper operation of the GPAY through the patch*
Introduction)*
So, you got a phone from China.*What do you have in your hands?*This is the device on which the Chinese put the left firmware and at the same time did not unlock the bootloader officially - which is not compatible with the transition to any, really good firmware.*
Before we begin - the most important thing!*(further quote from the forum):
ATTENTION!*CHINESE VERSION REDMI K20 PRO CAN BE BLOCKED ONLY ON THE CHINESE FIRMWARE!*Before carrying out any operation, read the materials that are referenced in the header themes, check Search by topic, and if not found the answer to your question, or do not understand something, ask more experienced users.*
Do you understand?*Now read again 20 and memorize this phrase!*
INSTALLATION OF THE CHINESE OFFICIAL FIRMWARE AND LOCKER DOWNLOAD AND UNLOCK!*
What for?*Your phone needs to be unlocked officially.*To do this, you must put the official firmware and file for unlocking officially.*
What is needed (all in the header):*
•Firmware file - *10.3.6.0 China Fastboot
• Program MiFlash 2018.11.15.0 (we need administrator rights) - a program to install Fastboot-type firmware and lock the phone loader.*
• Driver for computer - ADB Driver Lite
• Program - miflash_unlock*
• Phone*
• Type C Cable*
1) Download all of the above and check that everything downloaded*in the right “size”.*
2) Install MiFlash 2018.11.15.0*on the C drive:
3) Go to MiFlash 2018.11.15.0 - it will offer to install the drivers.*Do not hesitate to install everything - exit the program!*
4) Install ADB Driver Lite (by default it is set by MiFlash but will not be worse if you additionally install the latest driver from the header)
5) - CORRECTLY unpacking the firmware 10.3.6.0 China Fastboot!*By default, you download it with the extension .tgz!*The file you downloaded will be called raphael_images_V10.3.6.0.PFKCNXM_20190516.0000.00_9.0_cn_ed862b8182.tgz*
- Unzip this .tgz file and get a file with the .tar extension.*The full name will be - raphael_images_V10.3.6.0.PFKCNXM_20190516.0000.00_9.0_cn_ed862b8182.tar.*
- Unzip this .tar file and get a folder named raphael_images_V10.3.6.0.PFKCNXM_20190516.0000.00_9.0_cn.*Here we will work with this folder in the future!*You need to move it to drive C:!*It is important!*
6) Switch the phone to debug mode via USB.*(I think there will be no problems here)
7) Transfer the phone to FASTBOOT mode.*Turn off the device.*Clamp the power button + volume rocker down.*If there is a hare and the inscription Fastboot then everything is OK!*
8) In MiFlash, press the Select button, specify the path to the folder with the firmware raphael_images_V10.3.6.0.PFKCNXM_20190516.0000.00_9.0_cn and click ok.*
9) Something like this should appear in the line:*С: \ raphael_images_V10.3.6.0.PFKCNXM_20190516.0000.00_9.0_cn
10) Put a clean all and lock checkbox at the bottom.*This parameter means that the*
phone will be erased while all data is erased, and the bootloader is locked.*(only for the Chinese version of the phone)*
11) We connect the phone (in fastboot mode) to the computer through the official drawstring.*And without any USB hubs and adapters!*
12) Press the Refresh button.
13) If everything is correct then a line should appear with the id of the phone and the status ready.*
14) So, the phone is recognized.*The path to the folder with the firmware is specified.*Galka clean all and lock costs.*Press the flash button.*
15) The phone starts to sew!*Do not unplug the power cord!*don't touch anything at all.*Do not breathe!*The firmware time is about 10 minutes.*
16) At the end of the firmware, complete will appear in the line with the execution status and the phone will restart (up to 10 minutes) to the initial welcome screen.*Disconnect the phone.*
17) Hooray you flashed to the Chinese firmware and officially blocked the phone.*Let's start the activation and application for unlocking.
18) The first thing that will meet you is the screen in Chinese.*With two button in Chinese.*Push first you are asked to enter something ... This is the password from your mi account.*We enter.*
19) Tap on the second button connect to the Wi-Fi or skip.*
20) Choose the English language.*Customize your phone.*
21) Transfer the phone to the developer mode.*In the settings of the developer, we go into the unlock status (I don’t remember exactly how to speak English).*We see the closed lock, below we see the button.*Click on it!*And we will register the phone for the official unlock (Wi-Fi should be turned off and mobile networks on).*
22) Next, go to the mi account and check that your mobile phone is tied.*Are you convinced?*I recommend to look at the corresponding topic on the forum with the video.
23) On the PC, run miflash_unlock.*Log in to your mi account.*The phone is transferred to the Fastboot mode (point 7) and connected to the computer.*Press the unlock button.*At the same time, we confirm a bunch of times that we are sure that we want to do this.*All your data will be destroyed.*
24) The PC starts to unlock and at some point gives a message that the unlock failed and should be tried again after 168 hours.
25) Congratulations, you activated the counter before unlocking.*You walk with the phone 7 days on the Chinese firmware.*Is it hard?*Well no.*You can take the apk with Google services from the page on this forum and install what you need.*
26) It's been 168 hours, and you're ready to unlock.*
27) But before you do ... Update your phone over the air to the latest version - nowhere on the forum it is not written (I have not seen) but this is important.*I will explain later why!*Remember this item.*
28) Start and repeat paragraph 23. And lo and behold!*The unlock process has begun.*And at the end there is an inscription that the phone is unlocked.
29) Now, when you boot your phone, you should see Unlocked.*Check out what it is!*
30) Configure the phone again.*Turn on USB debugging mode.*
31) Further, in my opinion the most dreary, because the forum has a lot of conflicting information.*I will tell you how I did.*But before continuing, I can say that since you have already received unlock, it is almost impossible to turn the phone around (but everything is possible)*
32) So, download three things:*
- TWRP-3.3.1*
- OrangeFox R10.0 Recovery*
- MI Room 9.7.4 firmware
33) Everything that you downloaded in the zip archives.
34) Unzip -TWRP-3.3.1 to drive C. Transfer the phone to Fastboot (item 7) and connect it to the computer.*We find in the unpacked folder TWRP file with the extension .bat.*in different versions of TWRP called differently.*I called Flash_twrp.bat*
35) And before*proceeding, I’ll*remind you about clause 27).*The fact is that I could not install TWRP without updating over the air.*Therefore, you must first install the update.*And on the firmware 10.3.6.0 China Fastboot.*- It will not work to put TWRP and you will have to do a lot again*
36) Start and get the menu in my Russian language, where we select the auto installation (1).*After a couple of seconds, your phone should reboot into TWRP recovery.*There we choose the language if asked.*
37) And
so, we are in the main menu of TWRP.*We need to take a series of actions*(in a strict order)
38) Go to the Wipe point and select FORMAT DATA -> svayp -> type yes.*The formatting process takes a couple of seconds.*What does this item do in my understanding?*He decrypts the data on the phone, which is necessary to throw on the phone firmware and Orange fox.*
39) Exit the main menu by clicking REBOOT Recovery.*The phone should reboot into the main menu again.*And on the PC, it should be defined as a phone with Internal storage.*Go to the Internal storage on the PC.*See the TWRP folder?*If yes, then everything is OK!*
40) On the phone, go to the Wipe point and select Advanced wipe -> svayp -> select all the items*except System and OTG* svayp
41) Exit the main menu, press REBOOT -> Recovery.*The phone should reboot into the main menu again.*
42) On the PC, go to the phone -> Internal storage and next to the TWRP folder, throw the downloaded OrangeFox R10.0 recovery directly into the zip archive.*
43) On the phone, go to the Install item and see our Orange Fox.*Choose it.*AND THERE IS THE MOST IMPORTANT!*He will ask you to install two checkboxes before installation: one of them Verification of the ZIP signature (in English) and so this checkbox must be removed, otherwise the error will be.*We start the installation.*Your phone must reboot into Orange FOX.*
44) So what is Orange Fox?*This same TWRP is simply much more convenient and stable.*
45) On the PC, go to the phone -> Internal storage and next to the TWRP folder, throw the downloaded firmware to the worlds.
46) In Orange Fox, select this firmware, also remove the checkmark ZIP signature check (in English).*And start the process of installing the firmware.*
47) Hooray you got the best, in my opinion, firmware)*
48) Disconnect from the computer.*Customize your phone.*
49) Installing a patch for Gpay is easy.*Straight from the phone, download the patch file.*
50) Put the phone in orange fox recovery mode.*Turn off the device.*We press the power button + volume rocker UP (not to be confused with the power button + volume rocker DOWN for Fastboot boot mode)*
51) In the Downloads folder we see our patch and install (also remove the Check Signature ZIP checkbox).*
52) Congratulations!
Thanks to
helpbabay911
Mysttorent
Viper4Android + DDPlus and Google Pay Fix for Redmi K20 Pro
Google Pay Fix
•TWRP Recovery from our site
•Do not install the patch simultaneously with other patches or firmware.
•Install the patch only on top of the installed firmware. If you have made a date wipe, first launch the firmware, perform the initial setup, and then install the patch itself.
•Before installing the patch, make sure that the Data section is mounted (usually it is mounted by default on all TWRPs).
Download
*Credits to Mi-Room RU
Viper4android + DDPlus =
1.Install Audio Modification Library (AML) and Audio Compatible Patch (ACP) via Magisk Repo and reboot.
2.Install DDPlus via Magisk and reboot.
3.Install Viper4Android via Magisk and reboot. (materialized).
4.selinux changer (choose permissive if not working in enforcing).
5.Profiles
Profiles with IRS 1
Profiles with IRS 2
Profiles
DDPlus
AML (You can download from Magisk Repo)
ACP (You can download from Magisk Repo)
Viper4android (You can download from Magisk Repo)
Reserved 3
Reserved 4
So EU 9.5.13 is the global ROM for K20 Pro?
I'm using China ROM, I wanna switch to Global, can I just flash it?
Thank you
Thank you for your amazing work!
khoaitaychienvn said:
So EU 9.5.13 is the global ROM for K20 Pro?
I'm using China ROM, I wanna switch to Global, can I just flash it?
Thank you
Click to expand...
Click to collapse
Yes, you can flash it with TWRP. That's the multilanguage rom with Google Play preinstalled and without the bloatware of the Chinese version.
madsponge26 said:
Reserved 1
Click to expand...
Click to collapse
Hi. I really appreciate the post.. just one question though? What are the firmwares for? Coz if I am not mistaken, to be able to install twrp and root, all I need is to unlock the bootloader then flash the twrp.img. Please enlighten me.. thank you..
---------- Post added at 07:35 PM ---------- Previous post was at 07:33 PM ----------
Also, will bootloader unlocking and installing twrp wipe everything I have in my internal storage?
melmarPH said:
Hi. I really appreciate the post.. just one question though? What are the firmwares for? Coz if I am not mistaken, to be able to install twrp and root, all I need is to unlock the bootloader then flash the twrp.img. Please enlighten me.. thank you..
---------- Post added at 07:35 PM ---------- Previous post was at 07:33 PM ----------
Also, will bootloader unlocking and installing twrp wipe everything I have in my internal storage?
Click to expand...
Click to collapse
The firmwares are the stock roms, should you need to recover the phone. The fastboot ROM is the absolute failsafe and flashes almost all partitions. This can be updated using scripts within the package or using the Mi flash tool. The recovery roms will just update the system partition and flashed using recovery, either stock or TWRP or any other recovery.
Installing TWRP won't touch anything on the phone except the recovery partition. However bootloader unlocking will perform a factory reset. In theory the internal storage should remain untouched, but best to back it up.
madsponge26 said:
Reserved 4
Click to expand...
Click to collapse
Hi, Please update the thread, here's a fastboot link for Firmware 10.3.7.0
https://bigota.d.miui.com/V10.3.7.0...FKCNXM_20190528.0000.00_9.0_cn_8b5bfd6d56.tgz
and 10.3.8.0
http://bigota.d.miui.com/V10.3.8.0....FKCNXM_20190601.0000.00_9.0_cn_beb2b2a432.tgz
Robbo.5000 said:
The firmwares are the stock roms, should you need to recover the phone. The fastboot ROM is the absolute failsafe and flashes almost all partitions. This can be updated using scripts within the package or using the Mi flash tool. The recovery roms will just update the system partition and flashed using recovery, either stock or TWRP or any other recovery.
Installing TWRP won't touch anything on the phone except the recovery partition. However bootloader unlocking will perform a factory reset. In theory the internal storage should remain untouched, but best to back it up.
Click to expand...
Click to collapse
That's crystal clear. Thank you so much..
khoaitaychienvn said:
So EU 9.5.13 is the global ROM for K20 Pro?
I'm using China ROM, I wanna switch to Global, can I just flash it?
Thank you
Click to expand...
Click to collapse
I would not suggest to flash it right now as a daily driver, here is a review for xiaomi eu rom.
https://www.youtube.com/watch?v=mTi8nYMJRx4
sorry can i ask 9.6.11 is global beta rom or china rom?
What is the wait time to unlock the bootloader?
bretzelpopo said:
What is the wait time to unlock the bootloader?
Click to expand...
Click to collapse
7 days
knight06 said:
sorry can i ask 9.6.11 is global beta rom or china rom?
Click to expand...
Click to collapse
I was with the same doubt. is that rom really a Beta version of the global rom?
knight06 said:
sorry can i ask 9.6.11 is global beta rom or china rom?
Click to expand...
Click to collapse
rafa_martineiz said:
I was with the same doubt. is that rom really a Beta version of the global rom?
Click to expand...
Click to collapse
9.6.11 is China Beta
9.6.13 is EU version which is from Xiaomi.EU . Unofficial global version based on China ROM that removes all chinese bloat and adds more languages.
New Links!
10.3.6.0 for Recovery
http://bigota.d.miui.com/V10.3.6.0.PFKCNXM/miui_RAPHAEL_V10.3.6.0.PFKCNXM_e679907a50_9.0.zip
10.3.9.0 for Recovery
http://bigota.d.miui.com/V10.3.9.0.PFKCNXM/miui_RAPHAEL_V10.3.9.0.PFKCNXM_bd915c4259_9.0.zip
MIUI 10 10.3.9.0 Android Pie 9.0 is up!
Changelog
MIUI 10 EU 10.3.9.0 Android Pie 9.0 is up!
Changelog

[Guide][GSI][10.0] How to get Havoc OS 3.12 GSI running on Redmi 8A

Disclaimer: I'm not a dev, i'm just someone who has a lot of time to do research on Windows, Android... So that i can say i'm quite a talent that stuffs when other don't, may be just know to use Facebook, Youtube or something similar. But when you're here, want to read my topic, i'm happy you're something like me, want your phone yours and yours only, want to do more with your phone. So let's get started.
- My Phone: Redmi 8A -4/64 China Variant, i'm not from China though. Running Xiaomi.eu rom 11.0.4.0 as base to install gsi. I have tried Global Rom but it's incompatible with my phone (random reboot, missing imei, no MAC address...) so please flash another market version with caution.
- Why i write this topic? Because firstly i want to demonstrate how to install a GSI rom. Secondly, i feel somehow wifi speed on MIUI is ridiculous, only 500-600kb/s, it takes me 15 minutes to download a 16mb app; random ping in game, that make the game not enjoyable. This wifi symptom is like on a phone from my country, Vsmart joy 2+, run on the same entry variant 4xx, due to support wifi 2.4 ghz only. (Because bluetooth interfering with wifi 2.4 Ghz and our device doesn't support 5ghz wifi)
Compare to MIUI, Havoc OS has somethings i like:
+ Faster download/upload speed: no delay with wifi bluetooth interference
+ Doesn't have bloatware, you choose what you want to install
+ All known bugs i mentioned in my previous topic are fixed, except Auto Brightness - i don't use it though
+ D2TW needs to be fixed. But i have a workaround using Magisk and root.
And a lot that i dont write all here.
Instructions:
Read my previous topic first, all instructions below will focus on Havoc OS only.https://forum.xda-developers.com/xi...de-how-to-install-magisk-miui-how-to-t4030175
0) Backup Backup Backup, be sure to have a plan in case anything goes wrong. I use a offline disk drive to backup anything important.
1) Unlock Bootloader, Install TWRP or Orange Fox. If you come from stock MIUI, use Volume Up + Power to enter recovery directly after flash with Fastboot, ortherwise, stock recovery will be replaced.
Remember to flash vbmeta.img.
2) Download all the files in my post, download Havoc OS GSI and extract to get system
From Official Havoc OS here: https://sourceforge.net/projects/havoc-os/files/a64-ab/ (Newer Version)
Download Opengapps (optional) from opengapps (10/arm/nano or pico)
Download boot.img from my previous topic, choose the right version matched your phone version.
3) Copy all the files to the phone. I recommend use a micro sd card because internal storage may be encrypted, or you can format data first, your call.
4) Format the following partitions: Cache, Dalvik, Data and System
5) Install system image to system partition.
6) Install permissiver_v5
7) Resize system partition to install opengapps.
8) Install Opengapps or what gapps you choose
9) Flash Certification + Patch
10) Reboot. If bootloop, format data. Not wipe data. Then setup your phone.
11) Install Magisk Manager. Follow the app instructions.
12) Install d2tw module to have d2tw feature. If it doesn't work, then try an alternative way:
Open /vendor/bin/init.qcom.post_boot.sh and add the string:
Code:
sendevent /dev/input/event2 0 1 5
then reboot
13) Enjoy Havoc OS. Install apps, configure settings...
How to Update
- Flash system image over, no wipe require. Just reboot.
Bugs
I don't use the phone often so i can say it's stable enough to be a daily driver rom. If there's any, just comment below so i can add them.
Additions
- Here are all apps i want to install on my phone: Youtube Vanced from https://vancedapp.com/; Bromite for browsing; modded messenger from @evilwombatHere, outdated version but still okay.
- If you don't like stock camera, you can use gcam, here is a working version i download from Telegram group: Here
- To fix Recording, from Misc features -> Force Timestamp Source, choose Clock boottime
And that's all. Now enjoy!
I gifted my sister this phone so i don't have device to test anymore. Still, sometime i'll test if i can. The guide still works so enjoy flashing!!!
Great. I've been using havocOs for almost two months now and it's great. Much quicker and smoother than stock miui. Only problem I've been trying to find a fix for is setting up a lock screen.
Thanks for sharing the dt2w module for magisk. Is there some sort of setting I need to mess with to get it to work? I've installed the module and activated it in magisk but dt2w still won't work. I also activated the dt2w setting that comes with havocOs 3.1 under " xiaomi features " but that never worked from the beginning.
ways2 said:
Great. I've been using havocOs for almost two months now and it's great. Much quicker and smoother than stock miui. Only problem I've been trying to find a fix for is setting up a lock screen.
Thanks for sharing the dt2w module for magisk. Is there some sort of setting I need to mess with to get it to work? I've installed the module and activated it in magisk but dt2w still won't work. I also activated the dt2w setting that comes with havocOs 3.1 under " xiaomi features " but that never worked from the beginning.
Click to expand...
Click to collapse
Did you flash no_encrypt zip? It'll make set up screen password impossible because encryption is disable. I have clean flashed Havoc OS and confirm d2tw module working, despite i don't active the xiaomi option in setting.
Ga_hap_la_chanh said:
Did you flash no_encrypt zip? It'll make set up screen password impossible because encryption is disable. I have clean flashed Havoc OS and confirm d2tw working, despite i don't active the xiaomi option in setting.
Click to expand...
Click to collapse
Yes I believe I did flash no_encrypt. Is there any possible way to re-enable Encryption to set up a screen lock at this point?
ways2 said:
Yes I believe I did flash no_encrypt. Is there any possible way to re-enable Encryption to set up a screen lock at this point?
Click to expand...
Click to collapse
There is a trick, you can enable encryption through Settings -> security -> Encryption and credentials then encrypt phone. If it doesn't work, then read this thread https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Or you can do the whole process again, clean flash and do as my thread. May be d2tw starts working.
Thank you sir
thanks a lot for this
can you tell me how to upgrade our 32bit os to 64bit
Ga_hap_la_chanh said:
There is a trick, you can enable encryption through Settings -> security -> Encryption and credentials then encrypt phone. If it doesn't work, then read this thread https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Or you can do the whole process again, clean flash and do as my thread. May be d2tw starts working.
Click to expand...
Click to collapse
I wasn't able to encrypt my phone it would just reboot and nothing change.
So I ended up re-flashing back to MIUI stock firmware.
Flashing OrangeFox and HavocOS 3.1
Flashed all of the other necessary stuff EXCEPT for Disable_ForceEncrypt.
Now my phone is encrypted and able to set up a Screen Lock .
Now I'm still not able to use dt2w for some odd reason. No worries though I'm able to set up tap status bar to lock so that'll help for Now until I can keep dt2w to work.
ways2 said:
I wasn't able to encrypt my phone it would just reboot and nothing change.
So I ended up re-flashing back to MIUI stock firmware.
Flashing OrangeFox and HavocOS 3.1
Flashed all of the other necessary stuff EXCEPT for Disable_ForceEncrypt.
Now my phone is encrypted and able to set up a Screen Lock .
Now I'm still not able to use dt2w for some odd reason. No worries though I'm able to set up tap status bar to lock so that'll help for Now until I can keep dt2w to work.
Click to expand...
Click to collapse
Hi bro
i am new to this
i have 2gb indian varient
can you make a full youtube tutorial of twrp installation
or give correct steps how to do twrp
---------- Post added at 05:48 AM ---------- Previous post was at 05:42 AM ----------
Ga_hap_la_chanh said:
Disclaimer: I'm not a dev, i'm just someone who has a lot of time to do research on Windows, Android... So that i can say i'm quite a talent that stuffs when other don't, may be just know to use Facebook, Youtube or something similar. But when you're here, want to read my topic, i'm happy you're something like me, want your phone yours and yours only, want to do more with your phone. So let's get started.
- My Phone: Redmi 8A -4/64 China Variant, i'm not from China though. Running Xiaomi.eu rom 11.0.4.0 as base to install gsi. I have tried Global 10.3 but it's incompatible with my phone (random reboot, missing imei, no MAC address...) so please flash another market version with caution.
- Why i write this topic? Because firstly i want to demonstrate how to install a GSI rom. Secondly, i feel somehow wifi speed on MIUI is ridiculous, only 500-600kb/s, it takes me 15 minutes to download a 16mb app; random ping in game, that make the game not enjoyable. This wifi symptom is like on a phone from my country, Vsmart joy 2+, run on the same entry variant 4xx.
Compare to MIUI, Havoc 3.1 has somethings i like:
+ Faster download/upload speed: almost the same as the speed of my network
+ Doesn't have some bloatwares, you choose what you want to install
+ All known bugs i mentioned in my previous topic are fixed, except Auto Brightness - i don't use it though
+ D2TW needs to be fixed. But i have a workaround using Magisk.
And a lot that i dont write all here.
Instructions:
Read my previous topic first, all instructions below will focus on Havoc OS only.https://forum.xda-developers.com/xi...de-how-to-install-magisk-miui-how-to-t4030175
0) Backup Backup Backup, be sure to have a plan in case anything goes wrong. I use a offline disk drive to backup anything important to me.
1) Unlock Bootloader, Install TWRP or Orange Fox. If you come from stock MIUI, use Volume Up + Power to enter recovery directly after flash with Fastboot, ortherwise, stock recovery will be replaced.
Remember to flash vbmeta.img.
2) Download all the files in my post, download Havoc OS GSI from ExpressLuke and extract to get system imagehttps://sourceforge.net/projects/expressluke-gsis/files/HavocOS/Ten/A64/AB/
Download Opengapps (optional) from opengapps (10/arm/nano or pico)
Download boot.img from my previous topic, choose the right version matched your phone version.
3) Copy all the files to the phone. I recommend use a micro sd card because internal storage may be encrypted, or you can format data first, your call.
4) Format the following partitions: Cache, Dalvik, Data and System
5) Install system image to system partition.
6) Install permissiver_v5
7) Resize system partition to install opengapps.
8) Install Opengapps or what gapps you choose
9) Flash Certification + Patch
10) Reboot. If bootloop, format data. Not wipe data. Then setup your phone.
11) Install Magisk Manager. Follow the app instructions.
12) Install d2tw module to have d2tw feature.
13) Enjoy Havoc OS. Install apps, configure settings...
Bugs
I don't use the phone often so i can say it's stable enough to be a daily driver rom. If there's any, just comment below so i can add them.
Additions
- Here are all apps i want to install on my phone: Youtube Vanced from vanced.app; Bromite for browsing; modded messenger from @evilwombatHere, outdated version but still okay.
- If you don't like stock camera, you can use gcam, here is a working version i download from Telegram group: Here
And that's all. Now enjoy!
Click to expand...
Click to collapse
Hi
can you make a youtube video of twrp and gsi installation
please man for redmi 8a
eddy law paul king said:
Hi bro
i am new to this
i have 2gb indian varient
can you make a full youtube tutorial of twrp installation
or give correct steps how to do twrp
---------- Post added at 05:48 AM ---------- Previous post was at 05:42 AM ----------
Hi
can you make a youtube video of twrp and gsi installation
please man for redmi 8a
Click to expand...
Click to collapse
I've considered making a complete tutorial on installing recovery, root, & rom installation for this phone. Next time I go back to stock I probably will make a video. Until then you can definitely follow the tutorials on this forum to install a custom recovery and rom. Personally I would recommend installing OrangeFox recovery because TWRP has touchscreen issues sometimes.
You will have to unlock the bootloader first which takes 14 days if you have not already.
The tool to unlock the Bootloader is here: https://en.miui.com/unlock/download_en.html
Once your bootloader is unlocked you're ready to install OrangeFox custom recovery, the files and instructions can be found here:
https://forum.xda-developers.com/xi...t/orangefox-recovery-xiaomi-redmi-8a-t4032583
Once you have OrangeFox recovery installed you can follow this tutorial in this thread to install HavocOS rom or the other thread
https://forum.xda-developers.com/xi...de-how-to-install-magisk-miui-how-to-t4030175
Try it out and then come back and let us know what problems you run into
ways2 said:
I've considered making a complete tutorial on installing recovery, root, & rom installation for this phone. Next time I go back to stock I probably will make a video. Until then you can definitely follow the tutorials on this forum to install a custom recovery and rom. Personally I would recommend installing OrangeFox recovery because TWRP has touchscreen issues sometimes.
You will have to unlock the bootloader first which takes 14 days if you have not already.
The tool to unlock the Bootloader is here: https://en.miui.com/unlock/download_en.html
Once your bootloader is unlocked you're ready to install OrangeFox custom recovery, the files and instructions can be found here:
https://forum.xda-developers.com/xi...t/orangefox-recovery-xiaomi-redmi-8a-t4032583
Once you have OrangeFox recovery installed you can follow this tutorial in this thread to install HavocOS rom or the other thread
https://forum.xda-developers.com/xi...de-how-to-install-magisk-miui-how-to-t4030175
Try it out and then come back and let us know what problems you run into
Click to expand...
Click to collapse
i am very afraid that i brick my devise
so make a video
it is accurate and much helpful and easy to understand
i am waiting
Can I use the attached files for installing gsi in redmi 9 ?
vinith 32 said:
Can I use the attached files for installing gsi in redmi 9 ?
Click to expand...
Click to collapse
no
this is for 8 and 8a only
@Ga_hap_la_chanh
I'm wondering if that d2tw module not working for me has something similar to do with how the touch screen becomes unresponsive in TWRP for some people. What recovery did you use on your redmi?
ways2 said:
@Ga_hap_la_chanh
I'm wondering if that d2tw module not working for me has something similar to do with how the touch screen becomes unresponsive in TWRP for some people. What recovery did you use on your redmi?
Click to expand...
Click to collapse
I used TWRP then moved to Orange Fox. Everything working fine, may be your screen is different. In d2tw module, there's a file called readme.md: Manual usage : - enable $ set-dt2w 1 - disable $ set-dt2w 0
Just try it -))))))))
Great GSI. I have this one problem though. I cannot backup anything from TWRP. Is it really normal because it's encrypted?
createTarFork() process ended with ERROR: 255
Ga_hap_la_chanh said:
Disclaimer: I'm not a dev, i'm just someone who has a lot of time to do research on Windows, Android... So that i can say i'm quite a talent that stuffs when other don't, may be just know to use Facebook, Youtube or something similar. But when you're here, want to read my topic, i'm happy you're something like me, want your phone yours and yours only, want to do more with your phone. So let's get started.
- My Phone: Redmi 8A -4/64 China Variant, i'm not from China though. Running Xiaomi.eu rom 11.0.4.0 as base to install gsi. I have tried Global 10.3 but it's incompatible with my phone (random reboot, missing imei, no MAC address...) so please flash another market version with caution.
- Why i write this topic? Because firstly i want to demonstrate how to install a GSI rom. Secondly, i feel somehow wifi speed on MIUI is ridiculous, only 500-600kb/s, it takes me 15 minutes to download a 16mb app; random ping in game, that make the game not enjoyable. This wifi symptom is like on a phone from my country, Vsmart joy 2+, run on the same entry variant 4xx.
Compare to MIUI, Havoc 3.1 has somethings i like:
+ Faster download/upload speed: almost the same as the speed of my network
+ Doesn't have some bloatwares, you choose what you want to install
+ All known bugs i mentioned in my previous topic are fixed, except Auto Brightness - i don't use it though
+ D2TW needs to be fixed. But i have a workaround using Magisk.
And a lot that i dont write all here.
Instructions:
Read my previous topic first, all instructions below will focus on Havoc OS only.https://forum.xda-developers.com/xi...de-how-to-install-magisk-miui-how-to-t4030175
0) Backup Backup Backup, be sure to have a plan in case anything goes wrong. I use a offline disk drive to backup anything important to me.
1) Unlock Bootloader, Install TWRP or Orange Fox. If you come from stock MIUI, use Volume Up + Power to enter recovery directly after flash with Fastboot, ortherwise, stock recovery will be replaced.
Remember to flash vbmeta.img.
2) Download all the files in my post, download Havoc OS GSI from ExpressLuke and extract to get system imagehttps://sourceforge.net/projects/expressluke-gsis/files/HavocOS/Ten/A64/AB/
Download Opengapps (optional) from opengapps (10/arm/nano or pico)
Download boot.img from my previous topic, choose the right version matched your phone version.
3) Copy all the files to the phone. I recommend use a micro sd card because internal storage may be encrypted, or you can format data first, your call.
4) Format the following partitions: Cache, Dalvik, Data and System
5) Install system image to system partition.
6) Install permissiver_v5
7) Resize system partition to install opengapps.
8) Install Opengapps or what gapps you choose
9) Flash Certification + Patch
10) Reboot. If bootloop, format data. Not wipe data. Then setup your phone.
11) Install Magisk Manager. Follow the app instructions.
12) Install d2tw module to have d2tw feature.
13) Enjoy Havoc OS. Install apps, configure settings...
Bugs
I don't use the phone often so i can say it's stable enough to be a daily driver rom. If there's any, just comment below so i can add them.
Additions
- Here are all apps i want to install on my phone: Youtube Vanced from vanced.app; Bromite for browsing; modded messenger from @evilwombatHere, outdated version but still okay.
- If you don't like stock camera, you can use gcam, here is a working version i download from Telegram group: Here
And that's all. Now enjoy!
Click to expand...
Click to collapse
Bro having oragane fox recovery installed on my redmi 8a device, can you please tell me at which step of flashing gsi we have to flash vbmeta.img and boot. Img
---------- Post added at 03:13 AM ---------- Previous post was at 02:26 AM ----------
ways2 said:
I wasn't able to encrypt my phone it would just reboot and nothing change.
So I ended up re-flashing back to MIUI stock firmware.
Flashing OrangeFox and HavocOS 3.1
Flashed all of the other necessary stuff EXCEPT for Disable_ForceEncrypt.
Now my phone is encrypted and able to set up a Screen Lock .
Now I'm still not able to use dt2w for some odd reason. No worries though I'm able to set up tap status bar to lock so that'll help for Now until I can keep dt2w to work.
Click to expand...
Click to collapse
bro can you tell me that have you flashed the boot.img while flashing the gsi and if yes then at which step..
ItsmeTushar said:
Bro having oragane fox recovery installed on my redmi 8a device, can you please tell me at which step of flashing gsi we have to flash vbmeta.img and boot. Img
---------- Post added at 03:13 AM ---------- Previous post was at 02:26 AM ----------
bro can you tell me that have you flashed the boot.img while flashing the gsi and if yes then at which step..
Click to expand...
Click to collapse
Boot.img and vbmeta are done before flashing the gsi. I'd recommend reading this thread first for better understanding
https://forum.xda-developers.com/xi...de-how-to-install-magisk-miui-how-to-t4030175
Zzzleepy said:
Great GSI. I have this one problem though. I cannot backup anything from TWRP. Is it really normal because it's encrypted?
createTarFork() process ended with ERROR: 255
Click to expand...
Click to collapse
I'm getting the same error with attempting to make a back up in orangefox. After seeing you have the same problem now I'm assuming it is indeed a problem with encryption? I was able to make backups successfully before my phone was encrypted so I still have an old back up on my PC. However it would be nice to be able to make a new fresh back up.
I'm getting the same error with attempting to make a back up in orangefox. After seeing you have the same problem now I'm assuming it is indeed a problem with encryption? I was able to make backups successfully before my phone was encrypted so I still have an old back up on my PC. However it would be nice to be able to make a new fresh back up.
Click to expand...
Click to collapse
That was weird. In stock ROM, I can back up the /data/media just fine even when encrypted. But after having Havoc OS, I cannot do that anymore. Tried on both TWRP and OrangeFox. I can, with an unencrypted phone, but I do not feel comfortable without a lockscreen. Tried all things I have researched on that error. Not one worked. Might as well just stick to Titanium Backup for backups.
Overall, great GSI. Loading is faster than on stock (with the internet too)! Though, I have another issue with regards to the locking of apps, so that the app would not be cleared. Speaking of clearing apps, it is tiring to scroll left just to see the "Clear All" option in Recents. Autostart too.
I know you are not the developer, but just letting you know my concerns.
How to resize system partition for install gapps?
Soerex24 said:
How to resize system partition for install gapps?
Click to expand...
Click to collapse
Reboot to custom recovery > Menu > Manage Partitions > System > Resize or Repair

[GUIDE][MAGISK] Root Access for Redmi 9 Mediatek Helio G80 without TWRP

Since our device still no TWRP Support, i will give you a simple guide how to root redmi 9 using magisk. Original guide is here
Big Thanks to @N3OMOD :good::good::good:
EDIT: NO FORMAT DATA REQUIRED BUT BACKUP ALWAYS RECOMMENDED
REQUIREMENT :
- Already UNLOCK BOOTLOADER
- Magisk Manager
- Internet Connection
- Your PC already installed adb&fastboot driver
- Boot.img from your current MIUI version (EXTRACTED FROM MIUI FULL RECOVERY ROM)
- vbmeta.img
Known Limitation:
- Can't modify system partition
- Maybe cause selinux problem
How to:
STEP 1
- Backup Always Recommended
- Install Magisk Manager
- Turn ON Internet Connection and Open Magisk Manager
- Press install button > select method patch a file > choose boot.img from your current miui version > WAIT UNTIL DONE
- Open download folder and copy magisk_patched.img to your PC (adb tools usually in C:\ADB and Fastboot)
- Download vbmeta.img in attachment and copy to C:\ADB and Fastboot
STEP 2
- Go to fastboot (press and hold >>> power+volume down)
- open command prompt in C:\ADB and Fastboot then type this code one by one carefully
Code:
fastboot devices
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_redmi9.img (WARNING: if not successful cause bootloop)
fastboot flash boot magisk_patched.img
fastboot reboot
- Open Magisk Manager (Internet Connection required for download some magisk files and will automatically reboot in 5 minutes)
- DONE....ENJOY ROOT ACCESS :good::good::good:
NOTES
Tested on MIUI 11.0.3.0-11.0.6.0 GLOBAL ID, 11.0.7.0-11.0.8.0 GLOBAL
Use your own magisk patched boot from your current miui version, click here for miui full recovery rom
Q&A
Q: How to completely uninstall magisk?
A: Flash miui fastboot rom via Mi Flash or Flash full recovery rom
Q: Bootloop?
A: Disable vbmeta not successful, use adb fastboot in my comment or flash stock boot.img
Credit :
Alloh SWT
@topjohnwu for magisk
@N3OMOD for root guide xiaomi mediatek
Me for tester
i can't boot vbmeta.img
Fastboot : unrecognised option ' --disable-verity'
AstroKkngTool said:
i can't boot vbmeta.img
Fastboot : unrecognised option ' --disable-verity'
Click to expand...
Click to collapse
download my attachment adb_fastboot.zip
extract & copy folder to C:/ then try again
How did you unlock the bootloader on global rom?
Or you have non NFC version of Redmi 9?
afah_me said:
Since our device still no TWRP Support, i will give you a simple guide how to root redmi 9 using magisk. Original guide is here
Big Thanks to @N3OMOD :good::good::good:
REQUIREMENT :
- Already UNLOCK BOOTLOADER
- Magisk Manager
- Internet Connection
- Your PC already installed adb&fastboot driver
- Boot.img from your current MIUI version (EXTRACTED FROM MIUI FULL RECOVERY ROM)
- vbmeta.img
Known Limitation:
- Can't modify system partition
- Maybe cause selinux problem
- Must have stock boot.img
How to:
STEP 1
- BACKUP ALL YOUR DATA BECAUSE IT WILL FORMAT DEVICES
- Install Magisk Manager
- Turn ON Internet Connection and Open Magisk Manager
- Press install button > select method patch a file > choose boot.img from your current miui version > WAIT UNTIL DONE
- Open download folder and copy magisk_patched.img to your PC (adb tools usually in C:\ADB and Fastboot)
- Download vbmeta.img in attachment and copy to C:\ADB and Fastboot
STEP 2
- Go to fastboot (press and hold >>> power+volume down)
- open command prompt in C:\ADB and Fastboot then type this code one by one carefully
Code:
fastboot devices
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_redmi9.img
fastboot erase userdata
fastboot erase cache
fastboot flash boot magisk_patched.img
fastboot reboot
- Setup your phone again
- Reinstall Magisk Manager and open it (Internet Connection required for download some magisk files and will automatically reboot)
- DONE....ENJOY ROOT ACCESS :good::good::good:
NOTES:
Tested on MIUI 11.0.3.0 GLOBAL
Use your own magisk patched boot from your current miui version, click here for miui full recovery rom
Credit :
Alloh SWT
@topjohnwu for magisk
@N3OMOD for root guide xiaomi mediatek
Me for tester
Click to expand...
Click to collapse
It WORKS. I'm on MIUI 11.0.4.0 GLOBAL. Huge Thanks :fingers-crossed:
Thanks it works my phone .
I am on miui 11.0.2 v. (Redmi 9 prime)
There is no update sill now,
There no Firmware 11.0.2 what I am using
What can I do further????
Can I flash the latest Global Rom on my phone using Fastboot mode????
Why Аndroid is 10 oreo? (pictured)
afah_me said:
Since our device still no TWRP Support, i will give you a simple guide how to root redmi 9 using magisk. Original guide is here
Big Thanks to @N3OMOD :good::good::good:
REQUIREMENT :
- Already UNLOCK BOOTLOADER
- Magisk Manager
- Internet Connection
- Your PC already installed adb&fastboot driver
- Boot.img from your current MIUI version (EXTRACTED FROM MIUI FULL RECOVERY ROM)
- vbmeta.img
Known Limitation:
- Can't modify system partition
- Maybe cause selinux problem
- Must have stock boot.img
How to:
STEP 1
- BACKUP ALL YOUR DATA BECAUSE IT WILL FORMAT DEVICES
- Install Magisk Manager
- Turn ON Internet Connection and Open Magisk Manager
- Press install button > select method patch a file > choose boot.img from your current miui version > WAIT UNTIL DONE
- Open download folder and copy magisk_patched.img to your PC (adb tools usually in C:\ADB and Fastboot)
- Download vbmeta.img in attachment and copy to C:\ADB and Fastboot
STEP 2
- Go to fastboot (press and hold >>> power+volume down)
- open command prompt in C:\ADB and Fastboot then type this code one by one carefully
Code:
fastboot devices
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_redmi9.img
fastboot erase userdata
fastboot erase cache
fastboot flash boot magisk_patched.img
fastboot reboot
- Setup your phone again
- Reinstall Magisk Manager and open it (Internet Connection required for download some magisk files and will automatically reboot)
- DONE....ENJOY ROOT ACCESS :good::good::good:
NOTES:
Tested on MIUI 11.0.3.0 GLOBAL
Use your own magisk patched boot from your current miui version, click here for miui full recovery rom
Credit :
Alloh SWT
@topjohnwu for magisk
@N3OMOD for root guide xiaomi mediatek
Me for tester
Click to expand...
Click to collapse
Why Аndroid is 10 oreo? (pictured)
Mantipallykrishna said:
I am on miui 11.0.2 v. (Redmi 9 prime)
There is no update sill now,
There no Firmware 11.0.2 what I am using
What can I do further????
Can I flash the latest Global Rom on my phone using Fastboot mode????
Click to expand...
Click to collapse
Are you from India? I wanted to ask, is a model with NFC officially sold in your country?
iYowo said:
Why Аndroid is 10 oreo? (pictured)
Click to expand...
Click to collapse
Good catch, I missed this information when I had a look!
It seems to be a issue with the app he's using!
DevCheck by Flar2 (who does the ElementalX kernel for years on many different devices) reports the android version correctly - and I personally trust rather Flar2's App then anything else!
Should be just a bug in the App that OP uses...
Edit: also selinux appears to be disabled in OPs screenshot, I wonder if he did this on purpose or what the deal is (another App bug?) because usually Magisk patches selinux but doesn't disable it, at least from my experience...
Sent from my galahad using XDA Labs
afah_me said:
Since our device still no TWRP Support, i will give you a simple guide how to root redmi 9 using magisk. Original guide is here
Big Thanks to @N3OMOD :good::good::good:
REQUIREMENT :
- Already UNLOCK BOOTLOADER
- Magisk Manager
- Internet Connection
- Your PC already installed adb&fastboot driver
- Boot.img from your current MIUI version (EXTRACTED FROM MIUI FULL RECOVERY ROM)
- vbmeta.img
Known Limitation:
- Can't modify system partition
- Maybe cause selinux problem
- Must have stock boot.img
How to:
STEP 1
- BACKUP ALL YOUR DATA BECAUSE IT WILL FORMAT DEVICES
- Install Magisk Manager
- Turn ON Internet Connection and Open Magisk Manager
- Press install button > select method patch a file > choose boot.img from your current miui version > WAIT UNTIL DONE
- Open download folder and copy magisk_patched.img to your PC (adb tools usually in C:\ADB and Fastboot)
- Download vbmeta.img in attachment and copy to C:\ADB and Fastboot
STEP 2
- Go to fastboot (press and hold >>> power+volume down)
- open command prompt in C:\ADB and Fastboot then type this code one by one carefully
- Setup your phone again
- Reinstall Magisk Manager and open it (Internet Connection required for download some magisk files and will automatically reboot)
- DONE....ENJOY ROOT ACCESS :good::good::good:
NOTES:
Tested on MIUI 11.0.3.0 GLOBAL
Use your own magisk patched boot from your current miui version, click here for miui full recovery rom
Credit :
Alloh SWT
@topjohnwu for magisk
@N3OMOD for root guide xiaomi mediatek
Me for tester
Click to expand...
Click to collapse
Any bootloop Risk? Please helpme, i am noob
Modelo M2004J19G no NFC
MIUI GLOBAL 11.0.4 STABLE QJCMIXM
Android 10
Sam Nakamura said:
Good catch, I missed this information when I had a look!
It seems to be a issue with the app he's using!
DevCheck by Flar2 (who does the ElementalX kernel for years on many different devices) reports the android version correctly - and I personally trust rather Flar2's App then anything else!
Should be just a bug in the App that OP uses...
Edit: also selinux appears to be disabled in OPs screenshot, I wonder if he did this on purpose or what the deal is (another App bug?) because usually Magisk patches selinux but doesn't disable it, at least from my experience...
Click to expand...
Click to collapse
idk sir, i just download root check app & open it after root successfully ??
KevinTM93 said:
Any bootloop Risk? Please helpme, i am noob
Modelo M2004J19G no NFC
MIUI GLOBAL 11.0.4 STABLE QJCMIXM
Android 10
Click to expand...
Click to collapse
Yes, definitely bootloop risk!
Make sure you understand the instructions in this post and to have the stock kernel stored close to you, in theory you should be easy able to restore the device from bootlooping by flashing the unmodified stock kernel...
And you'll need to unlock the bootloader which will factory reset the device, so before playing around you'll probably want to backup your important files and do the unlocking process, which takes a while on xiaomi phones
Sent from my galahad using XDA Labs
Deleted...already explained
Sam Nakamura said:
Yes, definitely bootloop risk!
Make sure you understand the instructions in this post and to have the stock kernel stored close to you, in theory you should be easy able to restore the device from bootlooping by flashing the unmodified stock kernel...
And you'll need to unlock the bootloader which will factory reset the device, so before playing around you'll probably want to backup your important files and do the unlocking process, which takes a while on xiaomi phones
Click to expand...
Click to collapse
Thank you very much, I understand that there is always a risk of bootloop, but I wanted to know if with those specifications I could perform this method ... another question, where can I download the specific stock rom for my device? I appreciate your help, un MI Page i found MIUI global 11.0.5.0 QJCMIXM, and my device is MIUI global 11.0.4.0 QJCMIXM...
KevinTM93 said:
Thank you very much, I understand that there is always a risk of bootloop, but I wanted to know if with those specifications I could perform this method ... another question, where can I download the specific stock rom for my device? I appreciate your help, un MI Page i found MIUI global 11.0.5.0 QJCMIXM, and my device is MIUI global 11.0.4.0 QJCMIXM...
Click to expand...
Click to collapse
you can find the lancelot miui full recovery rom in here :
https://xiaomifirmwareupdater.com/miui/lancelot/
11.0.5.0 > global stable beta
11.0.4.0 > global stable
if you want 11.0.5.0 so update your rom first,,, if not, you can download miui 11.0.4.0 rom there and ready to patch boot.img...
I can't boot vbmeta.img
Fastboot : unrecognised option ' --disable-verity
Zeppelin_Elevation said:
Are you from India? I wanted to ask, is a model with NFC officially sold in your country?
Click to expand...
Click to collapse
There is no NFC in Redmi 9 Prime Lancelot (INDIA)
ممكن اتواصل معاك فديو شرح
Hamoo kamshto said:
ممكن اتواصل معاك فديو شر [\QUOTE]
PLEASE use english as required by the forum rules, so everyone can understand and contribute, also you'll get help much faster!
Sent from my Google Pixel 3 XL
Click to expand...
Click to collapse

Categories

Resources