[Guide] Rebranding P20 lite to nova 3e - Huawei P20 Lite Guides, News, & Discussion

Warning
• Chinese firmware will include Chinese-only software.
This means if you don't know Chinese, you may have a hard time using your phone.
The apps are designed to work on China, so they might not work at all.
The initial installation will include severe bloatware.
The installation will not include Google Play Services.
Preinstallation
• Make a backup.
• Use a stable computer.
Requirements
• ADB, Fastboot, HiSuite
• Huawei P20 lite on EMUI, unlocked bootloader
• Stock firmware of your actual model (ex. ANE-LX1 C432)
• Stock firmware of ANE-AL00
• HuRUpdater
Links will be in the second post.
Main Installation
Flashing Chinese Oeminfo
1. Do a factory reset.
2. Flash kilroystyx's TWRP (via fastboot)
3. Boot to TWRP and backup current Oeminfo partition.
Copy it to your computer, right away.
4. Flash the ANE-AL00 Oeminfo (Install > Flash Image > Select Image > Oeminfo).
Installing the new firmware
Make a new folder, put the ANE-AL00 firmware files and HuRUpdater at that folder.
Flash the HuRUpdater ZIP file and reboot.
After the phone boots, flash kilroystyx's TWRP again.
Flash HuRUpdater again (if the files are gone, just copy them again).
Reboot.
Additional features
Installing Google Play Services
Make sure you have stock recovery before starting.
Install GMS Installer just after the first boot.
Let it install and reboot.
Install the Google Apps linked below.
Reboot.
Rooting
Extract the UPDATE.APP from the update.zip
Extract RAMDISK.img via Huawei Update Extractor
Copy to phone
Install Magisk Manager and launch it
Enable Preserve DM Verity
Touch Install and select Patch...
Choose your ramdisk
Flash the patched_boot.img to your ramdisk via fastboot

ANE-AL00 Oeminfo
GMS Installer
Google Account Manager, Google Calendar Sync, Google Contacts Sync, Google Play Store, and Google Services Framework can be found online (ex. APKMirror).
kilryostyx's TWRP
Stock ANE-LX1 files
Stock ANE-AL00 files (click the first "filelist")
Huawei Update Extractor
HuRUpdater

Could you please tell with video
Letzen said:
Warning
• Chinese firmware will include Chinese-only software.
This means if you don't know Chinese, you may have a hard time using your phone.
The apps are designed to work on China, so they might not work at all.
The initial installation will include severe bloatware.
The installation will not include Google Play Services.
Preinstallation
• Make a backup.
• Use a stable computer.
Requirements
• ADB, Fastboot, HiSuite
• Huawei P20 lite on EMUI, unlocked bootloader
• Stock firmware of your actual model (ex. ANE-LX1 C432)
• Stock firmware of ANE-AL00
• HuRUpdater
Links will be in the second post.
Main Installation
Flashing Chinese Oeminfo
1. Do a factory reset.
2. Flash kilroystyx's TWRP (via fastboot)
3. Boot to TWRP and backup current Oeminfo partition.
Copy it to your computer, right away.
4. Flash the ANE-AL00 Oeminfo (Install > Flash Image > Select Image > Oeminfo).
Installing the new firmware
Make a new folder, put the ANE-AL00 firmware files and HuRUpdater at that folder.
Flash the HuRUpdater ZIP file and reboot.
After the phone boots, flash kilroystyx's TWRP again.
Flash HuRUpdater again (if the files are gone, just copy them again).
Reboot.
Additional features
Installing Google Play Services
Make sure you have stock recovery before starting.
Install GMS Installer just after the first boot.
Let it install and reboot.
Install the Google Apps linked below.
Reboot.
Rooting
Extract the UPDATE.APP from the update.zip
Extract RAMDISK.img via Huawei Update Extractor
Copy to phone
Install Magisk Manager and launch it
Enable Preserve DM Verity
Touch Install and select Patch...
Choose your ramdisk
Flash the patched_boot.img to your ramdisk via fastboot
Click to expand...
Click to collapse
Could you please tell with video
Could you please tell with video
Could you please tell with video
Could you please tell with video
Could you please tell with video
Could you please tell with video
Could you please tell with video

Related

Help to choose proper location and FW for Ukraine region

There is hw/eu and hw/ru (and other) regions location.
What is the difference between them and help please to choose proper location and firmware.
ru location have 172 firmware, eu - 170. KangVIP - 170 based.
Previously was AL10 cn
Elseone: which item must be flashed first (or not important?) - location file or firmware ?
Please go to Q&A section, you are posting in wrong section.
Sent from my HUAWEI NXT-L29 using Tapatalk
already, thanks
how to delete theme or moderadors do this ?
KSP1234 said:
There is hw/eu and hw/ru (and other) regions location.
What is the difference between them and help please to choose proper location and firmware.
ru location have 172 firmware, eu - 170. KangVIP - 170 based.
Previously was AL10 cn
Elseone: which item must be flashed first (or not important?) - location file or firmware ?
Click to expand...
Click to collapse
NXT-AL00C17B573
Step by Step Guide
1.
Download these 3 files (update.zip, update_data_full_cmcc_cn.zip, supersu_v2.79_sr2.zip)
1.1- http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1255/g104/v71280/f1/full/update.zip
1.2- http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1255/g104/v71280/f1/full/ all/cn/update_data_full_all_cn.zip
1.3- http://www.sillanwali.com/downloads/supersu_v2.79_sr2.zip
2-
Copy these 3 files (update.zip, update_data_full_cmcc_cn.zip, update_data_full_all_cn.zip) into SD Card
3-
Download TWRP Recovery 3.0.2-0
http://sillanwali.com/downloads/twrp-3.0.2-0-next.img
4-
adb devices
adb reboot bootloader
fastboot flash recovery (PATH-TO)\twrp-3.0.2-0-next.img
5-
5.1- Reboot your phone to TWRP then choose Wipe > format > type Yes
5.2- Back again, then wipe (data, dalvik, cache, system)
5.3- Don't reboot after install
6-
Install
6.1- supersu_v2.79_sr2.zip (Don't reboot after install)
6.2- update.zip (Don't reboot after install)
ignore unmounting \cust, userdata, system error
6.3- update_data_full_all_cn.zip (Reboot when success)
7-
Factory Reset after success 100%. After that you will get NXT-AL10C17B573 (Official) Stock Firmware.
8-
HiSuite
8.1- Download HiSuite (http://consumer.huawei.com/minisite/HiSuite_en/index.html)
8.2- Install HiSuite on your Computer
9-
Download apk & Install Apps using HiSuite
9.1- Google Play Store
http://www.sillanwali.com/downloads/Google Play Store 7.4.12.L-all [0] [PR] 144479971.apk
9.2- Google Play Services
http://www.sillanwali.com/downloads/Google Play Services 10.0.84 (448-137749526).apk
9.3- Google Contacts Sync
http://www.sillanwali.com/downloads/Google Contacts Sync 7.1.1.apk
9.4- Google Calendar Sync
http://www.sillanwali.com/downloads/Google Calendar Sync 5.2.3-99827563-release.apk
10-
For UA region good works L29, NXT-C00B357 (also proper emergency calls)

[HOW-TO] HUAWEI NOVA-PLUS root with MAGISK

Yes,its working...
REMOVE ALL OTHER ROOT...working or not befor installing magisk....may end with....something you dont want...
Maybe it would be best to start with a freshly factory resetted phone.... (anyway,to erase all errors in TWRP,youll format/data so... )
you need bootloader unlock... followed instructions HERE don't forget to OEM UNLOCK in /settings/Developer section on phone..(enable it while pressing repeatedly on Phone version (in ''about phone also in settings)
You need MINIMAL ADB on pc...HERE
You need TWRP recovery installed...HERE
but before doing all that...BE SHURE to have the original UPDATE.APP (firmware from huawei) somewhere on your pc
you will need the BOOT.img from your original firmware... (extract it from the update.app (update.zip for huawei firmware)
HERE
extract the boot.img somewhere on your pc... like on your desktop...
then,youll need 2 magisk things...
the LATEST magisk ZIP file...
and the LATEST MAGISK APK...
FOLLOW THESE INSTRUCTIONS (from Magisk post...i did it and its working :silly: )
Installation Instructions
If you already have Magisk installed, you can directly upgrade through Magisk Manager
For installing Magisk the first time
Make sure to remove any other root, best to restore your boot image back to stock
Via custom recovery:
Download the latest Magisk zip file
Reboot to a custom recovery and flash the flashable zip
Via Magisk Manager (Only support v14.0+):
This method does not need root, and also does not require a custom recovery.
However, you MUST have a stock boot image dump beforehand, and also be able to flash the patched boot image, either through fastboot/download mode or ODIN
Install the latest Magisk Manager
If you're planning to flash the patched boot image through ODIN, go to Settings > Update Settings > Patched Boot Output Format, and select .img.tar. For normal users leave it as the default .img
Press Install > Install > Patch Boot Image File, and select your stock boot image file
Magisk Manager will now patch your boot image, and store it in [Internal Storage]/MagiskManager/patched_boot.img[.tar]
Flash the patched boot image to your device and reboot. Voilà!
Check whether Magisk Manager is installed and the version matches the latest one in the OP
If for some reason Magisk Manager isn't installed/upgraded automatically, please install it manually
the ADB method is the best...
after reboot,in magisk app,youre supposed to be GREEN checked....
after that,if all green,you can FIX that DATA problem in TWRP...saying cant mount or blablabla...
DO a backup cuz yess,youll loose everything... Hisuite for your apps
in twrp, FORMAT DATA... ...wipe data factory reset...re install your things then,youll be able to do recoverys ect. in twrp
dont forget to RE INSTALL magisk APK after formatting and factory reset
IT WILL take some time TO BOOT... so let it do its thing...
Now about magisk modules...all of them ive tried ended in (blablabla not a magisk module)...
no big deal....just dload the zip and look for the app or file in it... and apply to where it belongs... like new Oreo Emojis...ive dloaded the zip,found the file, then paste the file in /system/fonts...then reboot
now...if i made a mistake somewhere in my explanations well... sorry....
WARNING
IF youre device is bricked or what so ever... its not MY fault....you do that on your own......Ive done it,followed MAGISK instructions and its working....
Not shure about it...DONT DO IT....
DON'T DO TWRP backups with fingerprints/nip/code unlock methods activated on your phone... i had to factory reset phone cuz code was not working.
YES there's a way to recover anyway... THANKS HENKATE
Regarding fingerprint, boot in recovery and go to advanced > file manager and delete data/system/locksettings.db
Then advanced > terminal and type:
cd data/system
rm -rf *.key
Then reboot and you won't have secured lockscreen
MAGISK modules are HERE
Magisk MANAGER is available on PLAYSTORE
BEFORE making a twrp backup... (after data format ect.)...
you may want to FIX the huawei theme manager not working problem for some of us... the FIX is HERE
Thanks to Henkate
Youll need a good file system manager...i'm using ROOT EXPLORER and theres that new FX file explorer
does it work with android 7?
tanlikar1 said:
does it work with android 7?
Click to expand...
Click to collapse
Yes. In fact, this was meant for Android 7, but it should work on Android 6 too.
Absolutely...Im on Nougat emui5
does anyone have stock rom for MLA-L12C636B340 ?
Do you mean original firmware ?
Maybe you can still get it via firmware finder...
virusdunil said:
Do you mean original firmware ?
Maybe you can still get it via firmware finder...
Click to expand...
Click to collapse
ya
Working on Nova?
Does it work in the non plus Nova as well? Any experiences?
Worked on Can-L11. Tested. No need format data, in twrp tree, i add img, that work with encrypted data.
I can't get this to work on my MLA-03, i have TWRP installed and unlocked b/l. I tried to flash RR and Lineage but getting "can't mount" errors up the ying yang. Anyone with MLA-03 got any tips? Is there a certain recovery that is recommended?
Cooks_08 said:
I can't get this to work on my MLA-03, i have TWRP installed and unlocked b/l. I tried to flash RR and Lineage but getting "can't mount" errors up the ying yang. Anyone with MLA-03 got any tips? Is there a certain recovery that is recommended?
Click to expand...
Click to collapse
hi...yes and its a bit confusing...but,just follow instructions for LOS install...forget about /mount data and after flashing ,just reboot
virusdunil said:
hi...yes and its a bit confusing...but,just follow instructions for LOS install...forget about /mount data and after flashing ,just reboot
Click to expand...
Click to collapse
Got the flash working. Used Garak's Twrp and now i got. Thanks.
Does it work for android 8.0 or Huawei nova 2s in particular? I did make unlock the bootloader, but i could not find reliable root method. Please help with advice. Thank you.
Mezo21 said:
Does it work for android 8.0 or Huawei nova 2s in particular? I did make unlock the bootloader, but i could not find reliable root method. Please help with advice. Thank you.
Click to expand...
Click to collapse
Hi there,
I have Nova 2s, carefully follow this thread's instructions, it will 100% works : https://forum.xda-developers.com/ho...agisk-root-honor-view-10-mate-10-pro-t3749280
Thanks for the guidance, Magisk is doing very well.
Only TWRP is missing, but later.
Huawei Nova
CAN-L01C432B382
Magisk modules not working even if i rooted. Cant install modules from magisk app and twrp .zip
meskafonas said:
Magisk modules not working even if i rooted. Cant install modules from magisk app and twrp .zip
Click to expand...
Click to collapse
did you format data as f2fs? If yes, magisk doesn't go well along with it. If no, then you would get better support at magisk thread
virusdunil said:
Yes,its working...
REMOVE ALL OTHER ROOT...working or not befor installing magisk....may end with....something you dont want...
Maybe it would be best to start with a freshly factory resetted phone.... (anyway,to erase all errors in TWRP,youll format/data so... )
you need bootloader unlock... followed instructions HERE don't forget to OEM UNLOCK in /settings/Developer section on phone..(enable it while pressing repeatedly on Phone version (in ''about phone also in settings)
You need MINIMAL ADB on pc...HERE
You need TWRP recovery installed...HERE
but before doing all that...BE SHURE to have the original UPDATE.APP (firmware from huawei) somewhere on your pc
you will need the BOOT.img from your original firmware... (extract it from the update.app (update.zip for huawei firmware)
HERE
extract the boot.img somewhere on your pc... like on your desktop...
then,youll need 2 magisk things...
the LATEST magisk ZIP file...
and the LATEST MAGISK APK...
FOLLOW THESE INSTRUCTIONS (from Magisk post...i did it and its working :silly: )
Installation Instructions
If you already have Magisk installed, you can directly upgrade through Magisk Manager
For installing Magisk the first time
Make sure to remove any other root, best to restore your boot image back to stock
Via custom recovery:
Download the latest Magisk zip file
Reboot to a custom recovery and flash the flashable zip
Via Magisk Manager (Only support v14.0+):
This method does not need root, and also does not require a custom recovery.
However, you MUST have a stock boot image dump beforehand, and also be able to flash the patched boot image, either through fastboot/download mode or ODIN
Install the latest Magisk Manager
If you're planning to flash the patched boot image through ODIN, go to Settings > Update Settings > Patched Boot Output Format, and select .img.tar. For normal users leave it as the default .img
Press Install > Install > Patch Boot Image File, and select your stock boot image file
Magisk Manager will now patch your boot image, and store it in [Internal Storage]/MagiskManager/patched_boot.img[.tar]
Flash the patched boot image to your device and reboot. Voilà!
Check whether Magisk Manager is installed and the version matches the latest one in the OP
If for some reason Magisk Manager isn't installed/upgraded automatically, please install it manually
the ADB method is the best...
after reboot,in magisk app,youre supposed to be GREEN checked....
after that,if all green,you can FIX that DATA problem in TWRP...saying cant mount or blablabla...
DO a backup cuz yess,youll loose everything... Hisuite for your apps
in twrp, FORMAT DATA... ...wipe data factory reset...re install your things then,youll be able to do recoverys ect. in twrp
dont forget to RE INSTALL magisk APK after formatting and factory reset
IT WILL take some time TO BOOT... so let it do its thing...
Now about magisk modules...all of them ive tried ended in (blablabla not a magisk module)...
no big deal....just dload the zip and look for the app or file in it... and apply to where it belongs... like new Oreo Emojis...ive dloaded the zip,found the file, then paste the file in /system/fonts...then reboot
now...if i made a mistake somewhere in my explanations well... sorry....
WARNING
IF youre device is bricked or what so ever... its not MY fault....you do that on your own......Ive done it,followed MAGISK instructions and its working....
Not shure about it...DONT DO IT....
DON'T DO TWRP backups with fingerprints/nip/code unlock methods activated on your phone... i had to factory reset phone cuz code was not working.
YES there's a way to recover anyway... THANKS HENKATE
Regarding fingerprint, boot in recovery and go to advanced > file manager and delete data/system/locksettings.db
Then advanced > terminal and type:
cd data/system
rm -rf *.key
Then reboot and you won't have secured lockscreen
Click to expand...
Click to collapse
Do you have this problem with fingerprint? [emoji853] https://r.tapatalk.com/shareLink?ur...share_tid=3907398&share_fid=3793&share_type=t
Enviado desde mi HUAWEI CAN-L11 mediante Tapatalk

[guide] Update Nougat and Oreo Flashing Method P10 Lite

UPDATE TO THE MOST RECENT VERSIONS NUGAT AND OREO
FLASHING METHOD​
Hello with all, I introduce myself I am catuv21 I enter this beautiful community and I have made roms for the huawei P9lite 2016, today I will leave these works for this great terminal Huawei P10lite thanks to a community of technicians that having seen my work for Pllite, they sent me a P10lite bluish, to which I am grateful and will be presenting works in this community, such as roms MidgarD (modified cover stock), MorfuZ (based on kangvip), and others.
HTML:
- An advert! The Flash phone can have bricks. I'm not responsible for that:p:p.
- If you are not sure, do not make any changes and you can leave this forum:confused::confused:.
- This method uses a modified stock recovery that does not verify the files.
- It serves to update firmware, as well as update to Oreo, but not to do Downgrade Nougat.
- also serves to perform rebrand changing cust.
- make copies of data and applications.
- I will not explain how to unlock the bootloader and install twrp, there are many tutorials.
- with this method the bootloader will be blocked again.
EXPERIENCE
- my compilation was WAS-LX3C605B172 and update to WAS-LX3C605B186 (demo video)
- being in WAS-LX3C605B186 I changed from cust REBRAND, to compilation WAS-LX1C432B208 (demo video)
- finally being in WAS-LX1C432B208 UPDATE FLASH WAS-LX1C432B321 (8.0.0.321) (demo video)
REQUIREMENTS:
- activate OEM unlocking from developer options.
- Unlock the bootloader.
- install recovery twrp P10 lite nougat
- download the firmware finder.exe to download the updates
- download the firmware of your compilation and / or rebrand compilation
- Download the HWOTA file and unzip.
- minimum battery of 50%
PROCESS.​
FLASH UPDATE
- unzip the file HWOTA.zip
- download the firmware of your compilation (settings / about the phone)
- the firmware is three files in the update.zip, update_data_full_public.zip and update_full_XX-LXX_hw_xx
- the latter "update_full_XX-LXX_hw_xx" there are usually several L21, L01, etc. just download one and it will depend on the cell model.
- If there are not three, it does not work.
- Rename the firmware as follows : update.zip, update_data_public.zip, update_all_hw.zip
- copy and paste the renamed files into the "HWOTA" directory.
- the HWOTA folder, copy and paste in the external memory.
- turn off the cell phone and boot in recovery twrp.
- change to external memory.
- find the HWOTA folder and flash the OTA_catuva21.zip file
- the cell phone will automatically restart
- and start updating let it finish
- if for some reason it remains on the black screen, or sticks to the huawei logo
- perform hard reset (press the volume more and power, and perform both wipes)
- CONGRATULATIONS UPDATE YOUR ANDROID.
REBRAND
- unzip the file HWOTA.zip
- download the "WAS-L ... C ... oeminfo.zip" (it's a flasheable file)
- download the firmware, this depends on the brand you want to change "WAS-L ... C ... oeminfo.zip"
- rename updates: follow steps 3 to 8 of FLASH UPDATE
- Create a folder in the external memory and paste the "WAS-L ... C ... oeminfo.zip" of your selection.
- turn off the cell phone and boot in recovery twrp.
- change to external memory.
- search the folder oeminfo and flash "WAS-L ... C ... oeminfo.zip"
- DANGER DANGER:crying::crying:
- when finished flashing DO NOT REALIZE REBOOT SYSTEM
- return to the main screen.
- select reebot.
- select bootloader and automatically restart in fastboot mode.
- and as you will see the bootloader is blocked.
- unlock the bootloader with your code (if it is in red, just unlock)
- once unlocked it will boot in recovery twrp.
- search the HWOTA folder
- find the HWOTA folder and flash the OTA_catuva21.zip file
- the cell phone will automatically restart
- and start updating let it finish
- if for some reason it remains on the black screen, or sticks to the huawei logo
- perform a hard reset (press the volume more and power until the wipes menu appears)
- CONGRATULATIONS UPDATE YOUR ANDROID .
CREDITS
CATUVA21 (to be adapted for this terminal)
Idrees Patel (take your night recovery, and adapt)
mankindtw (use your flash method that I publish for high ranges)
FirmwareFinder (for publishing the updates)
GOOD LINK OF THE BASE OF THIS WORK
[Guide] Mate 9 Flash Oreo Update Package and Downgrade Nougat
https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
Huawei P8 Lite 2017 / Honor 8 Lite Android Oreo update brings Project Treble support
https://www.xda-developers.com/huaw...e-android-oreo-update-project-treble-support/
Removed
at the moment there are only two oeminfo flas
WAS-LX1C432 dual sim
WAS-LX3C605 dual sim
You can share your message to make it flashable.
Removed
CATUVA21 said:
UPDATE TO THE MOST RECENT VERSIONS NUGAT AND OREO
FLASHING METHOD​
Hello with all, I introduce myself I am catuv21 I enter this beautiful community and I have made roms for the huawei P9lite 2016, today I will leave these works for this great terminal Huawei P10lite thanks to a community of technicians that having seen my work for Pllite, they sent me a P10lite bluish, to which I am grateful and will be presenting works in this community, such as roms MidgarD (modified cover stock), MorfuZ (based on kangvip), and others.
HTML:
- An advert! The Flash phone can have bricks. I'm not responsible for that:p:p.
- If you are not sure, do not make any changes and you can leave this forum:confused::confused:.
- This method uses a modified stock recovery that does not verify the files.
- It serves to update firmware, as well as update to Oreo, but not to do Downgrade Nougat.
- also serves to perform rebrand changing cust.
- make copies of data and applications.
- I will not explain how to unlock the bootloader and install twrp, there are many tutorials.
- with this method the bootloader will be blocked again.
EXPERIENCE
- my compilation was WAS-LX3C605B172 and update to WAS-LX3C605B186 (demo video)
- being in WAS-LX3C605B186 I changed from cust REBRAND, to compilation WAS-LX1C432B208 (demo video)
- finally being in WAS-LX1C432B208 UPDATE FLASH WAS-LX1C432B321 (8.0.0.321) (demo video)
REQUIREMENTS:
- activate OEM unlocking from developer options.
- Unlock the bootloader.
- install recovery twrp P10 lite nougat
- download the firmware finder.exe to download the updates
- download the firmware of your compilation and / or rebrand compilation
- Download the HWOTA file and unzip.
- minimum battery of 50%
PROCESS.​
FLASH UPDATE
- unzip the file HWOTA.zip
- download the firmware of your compilation (settings / about the phone)
- the firmware is three files in the update.zip, update_data_full_public.zip and update_full_XX-LXX_hw_xx
- the latter "update_full_XX-LXX_hw_xx" there are usually several L21, L01, etc. just download one and it will depend on the cell model.
- If there are not three, it does not work.
- Rename the firmware as follows : update.zip, update_data_public.zip, update_all_hw.zip
- copy and paste the renamed files into the "HWOTA" directory.
- the HWOTA folder, copy and paste in the external memory.
- turn off the cell phone and boot in recovery twrp.
- change to external memory.
- find the HWOTA folder and flash the OTA_catuva21.zip file
- the cell phone will automatically restart
- and start updating let it finish
- if for some reason it remains on the black screen, or sticks to the huawei logo
- perform hard reset (press the volume more and power, and perform both wipes)
- CONGRATULATIONS UPDATE YOUR ANDROID.
REBRAND
- unzip the file HWOTA.zip
- download the "WAS-L ... C ... oeminfo.zip" (it's a flasheable file)
- download the firmware, this depends on the brand you want to change "WAS-L ... C ... oeminfo.zip"
- rename updates: follow steps 3 to 8 of FLASH UPDATE
- Create a folder in the external memory and paste the "WAS-L ... C ... oeminfo.zip" of your selection.
- turn off the cell phone and boot in recovery twrp.
- change to external memory.
- search the folder oeminfo and flash "WAS-L ... C ... oeminfo.zip"
- DANGER DANGER:crying::crying:
- when finished flashing DO NOT REALIZE REBOOT SYSTEM
- return to the main screen.
- select reebot.
- select bootloader and automatically restart in fastboot mode.
- and as you will see the bootloader is blocked.
- unlock the bootloader with your code (if it is in red, just unlock)
- once unlocked it will boot in recovery twrp.
- search the HWOTA folder
- find the HWOTA folder and flash the OTA_catuva21.zip file
- the cell phone will automatically restart
- and start updating let it finish
- if for some reason it remains on the black screen, or sticks to the huawei logo
- perform a hard reset (press the volume more and power until the wipes menu appears)
- CONGRATULATIONS UPDATE YOUR ANDROID .
CREDITS
CATUVA21 (to be adapted for this terminal)
Idrees Patel (take your night recovery, and adapt)
mankindtw (use your flash method that I publish for high ranges)
FirmwareFinder (for publishing the updates)
Click to expand...
Click to collapse
This is bad instruction. My HwOTA will rename the files of firmware automatically. Rebrend works in hwota, no need to flash "WAS-L ... C ... oeminfo.zip"
Can i use it to change from an android 7 custom rom to the official android 7 emui?
Mapl3x said:
Can i use it to change from an android 7 custom rom to the official android 7 emui?
Click to expand...
Click to collapse
yes you can, but my test was from a modified emui rom, but not from aosp
it worked
CATUVA21 said:
yes you can, but my test was from a modified emui rom, but not from aosp
Click to expand...
Click to collapse
it worked, now you have an official test who proves it works, thanks a lot
Mapl3x said:
it worked, now you have an official test who proves it works, thanks a lot
Click to expand...
Click to collapse
thanks to you for doing it, now you can return to emui.
After i go from cm to official emui 5.1, i forced the update to 8.0.0 using hwota,but my phone serial is still the emui 5.1 serial, what i need to do? Can i change it manually? (I have root)
(During the update it was an error but after the reboot and the low factory reset it work)
Worked!
OMG. It worked on WAS-LX21C432 EMUI 5.1.1!!! Thank you very much. Also I have a question. Can I make "how to install" video? Thank you
Can i flash oreo update from c432b198 build
Thread closed until download links are available that are not pay per click.
Edit: Thread reopened.

How To Guide ROOTING + CUSTOM ROM, YOUR BRAND NEW REDMI NOTE 9 T FOR THE NOOB

## first version , errors may still occur
Hi everybody, as a noob in the rooting world , here is my small contribution. A step by step how-to , to completely root + installing a custom.
DO NOT HESITATE TO COMMENT SO I CAN IMPROVE THE DOC:
=======================================================================
Read the complete procedure carefully before start: Beware you will loose all data you may have on the phone .and you will loose warranty .
## REQUIREMENTS :​a brand new redmi note 9T (direct from the store, no modifications), a pc with windows , the usb cable to link the pc to the phone.
A sdcard where you can store the rom and some zip to put in your phone
Make sure the pc is up ot date with latest android usb driver and adb available :
usb drivers here : https://developer.android.com/studio/run/win-usb
adb software : https://www.xda-developers.com/install-adb-windows-macos-linux/
we also need 7zip https://www.7-zip.org/
Also try to update your phone with the latest MIUI version you can get (at the the time I'm writing this it should be MIUI 12.5, based on android 11).
To upgrade go to system/about phone/ tap on the MIUI logo/ check for update .
If your phone is still stuck to a lower version, you may trick it by changing the region (I choose hong kong) in system/additional settings/region
then try to check for MIUI update again.
## FIRST STEP : unlock the booloader .​for this you need a xiaomi account (if you created one with your phone , use it)
You also need to enable developper mode in your phone , so you can access usb debuging . (see the video tutorial)
a video tutoriel here :
you will probably have to wait 168 hours before you can unlock the phone (Yes you're not alone to think it's annoying, do not hesitate to complain to xiaomi business department)
there is also this version of the unlocker (to bypass the wait time), but I have not tested it
Moreover the bypass works for devices not yet linked to mi account
Download MiUnlock_bypass_OTP.zip - Generic
Download file MiUnlock_bypass_OTP.zip - Generic - in MiFirm ✅ - Xiaomi MIUI Firmware - ROM - TWRP download free and max speed - The biggest Xiaomi Mi download
mifirm.net
Once your bootloader unlock you phone will be reseted and when you restart it you will be asked for the xiaomi account password again (and you need a network connection).
After completing the setup again, don't forget to reactivate usb debuging option .
### SECOND STEP download and save files​
In case your want to rollback, and also if your want to install magisk in some custom rom , you need to download the original MIUI rom here :
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
from the zip file , you need to extract the boot.img file and transfer the file on your phone
then the install on your phone the magisk apk file : https://magiskapp.com/#magisk-app-apk
run the magisk app , choose install magisk , select patch a file and choose the boot.img file then press the let's go button
Magisk will generate a patched_image_file in your download folder .
copy the patched image file to your sdcard.
on your phone you can install this : https://play.google.com/store/apps/details?id=tk.hack5.treblecheck
It will help you select the type of rom you need to download
Plug your phone to the computer , open a command shell in your adb fastboot directory and type :
adb devices
you should see something like :
List of devices attached
sceqxxxxxxxxxxk device
(if not check your phone screen ,if there is some grant access dialog)
download orangefox from here https://github.com/gsuzeda/twrp_cannon/releases/
put the vbmeta.zip and OrangeFox-R11.0-Unofficial-cannong.zip on the sdcard
put the recovery.img in the same directory than your adb fastboot program
download the latest magisk files release from here :
first the zip : https://magiskapp.com/zip/#download-now
and the apk file : https://magiskapp.com/#magisk-app-apk
and put them on the sdcard
download the latest of the custom rom you want to install. Based on this link (thank you @gsuzeda) https://docs.google.com/spreadsheets/d/1Nm1RAQ_kiSoSBgtzux8uKklLF9TF6-1QvIVCPzW3OCs/edit#gid=0
, I will try AOSP rom here : https://github.com/phhusson/treble_experimentations/releases/latest
but you can also try lineageOS here : https://sourceforge.net/projects/andyyan-gsi/files/
(if you choose AOSP , you can not install magisk , at least for now)
NOTE: If your choose another custom rom , remember you may also need to install google apps as a separate package .
Example for lineageOS , you can download the gapps (MindtheGapps for arm64 )here https://androidfilehost.com/?fid=2188818919693781601
and copy the file to your sdcard
The redmi note 9T code name is CANNONG . It uses ARM64 A/B IMAGES and we want vndklite (read/write on system)
This is important whatever the custom rom you choose to download and install
Now we prepare the image files from the custom ROM so we can choose between two install methods
METHOD ONE is flashing the system.img from the computer with the phone in fastboot mode plugged to the pc.
METHOD TWO is flashing a zip file with the phone in recovery mode (using the orangefox program or twrp)
I choose his method , because you can do all the operation from orangefox recovery
for method two we will use https://forum.xda-developers.com/attachments/gsi_flasher_sdcard-zip.5183639/
(thank you @gsuzeda for the complete method here https://forum.xda-developers.com/t/...ung-galaxy-a51-super-partition-image.4216083/ )
unzip the gsi flasher somewhere on your PC (for me Mydocument\gsiflasher)
exemple usage with AOSP rom:
uncompress the system-roar-arm64-ab-vndklite-gapps.img.xz
copy the img file in the gsi directory of the gsi flasher and rename it system.img (so for me cp system-roar-arm64-ab-vndklite-gapps.img to Mydocument\gsiflasher\gsi\system.img).
then create a zip file with the 3 directories (gsi, META-INF, scripts) in Mydocument\gsiflasher using 7 zip , for example system-roar-arm64-ab-vndklite-gapps.zip.
And finally copy this zip to the root of your sdcard .
## THIRD STEP : install orangefox​orangefox is a recovery program like twrp but with more option.
Check if you booloader is unlock in your phone by going to system\additonal settings\developper option\mi unlock status
If the booloader is unlock then you can install recovery orangefox .
Make sure than usb debugging and install via usb is checked in the developper option of your phone
power off your phone and restart your phone in fastboot mode (volume down + power )
plug it to your pc .
open a command shell in the directory were fastboot is installed
write the command :
fastboot devices
it should give you a list with your device
then write the command
fastboot flash recovery recovery.img
once the install complete reboot your phone in recovery mode with the command :
fastboot reboot recovery
once boot in recovery mode you should see the orangefox menu.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Use the "Files" at the bottom at the screen explore to go to the sdcard and tap on the orangefox zip files .
then swipe to install
Once the file installed , the phone should reboot in recovery.
Then use the file explorer to find the vbmeta.zip
ttap the file and swipe to install
after the install the phone should reboot.
a simple check step to see if everything went right
## FOURTH STEP , test and install custom OS​There is two method to install , via recovery or via fastboot
I choose to use orangefox recovery
via recovery
reboot in recovery mode (volume up +power)
Once booted in orangefox recovery
first format the DATA (using the wipe menu,and you need to type yes to confirm )
Then reboot to recovery (from the orangefox menu choose reboot then recovery)
once rebooted in recovery
wipe data cache and dalvik
then with the file menu of orangefox navigate to the root of your sdcard where you stored the system zip we created for example system-roar-arm64-ab-vndklite-gapps.zip.
tap the zip and swipe to install
(if your choose another rom , do the same thing to also intall the gapps zip file)
once the install complete
wipe data cache and dalvik
reboot the phone .
## FIFTH STEP check install​your phone should now start with AOSP version of android and start the setup program.
If you get a message like your device is not play protect certified :
connect your phone to your computer, in a command shell type :
adb root
adb shell
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db
select * from main where name = "android_id";
then copy the id number printed and go there :
Sign in - Google Accounts
and enter the id in the text box and press register
wait 15 minutes and reboot your phone and finish the setup process and connect to google store with your gmail account
If your installation complain about the sd card, choose format as external. (you may have to transfer the files of step one in the card again)
## SIXTH STEP : install magisk​(DOES NOT WORK WITH AOSP ROM)
reboot in recovery.
in the orangefox file menu :
search your magisk.zip file on the sdcard , tap and swipe to install.
Then choose the patched_boot_img file and choose /boot to install
Then choose the vbmeta.zip and install
wipe cache and reboot
All you want to know about magisk is here : https://magiskapp.com/
### LAST STEP , secure back​now disable usb debugging
unchecked the option : install app from unknow sources
### ROLLBACK​In case you want to rollback to MIUI rom
go there : https://www.getdroidtips.com/guide-flash-miui-rom-xiaomi-devices/
and follow the chapter : the How to Flash Xiaomi Firmware via TWRP Recovery
## TO DO
improve the magisk part :
adding a list of apps for securing the phone
## TO DO: EXTRA STEP :
how to move back from custom to stock rom
Looks good.
The default PHH GSI Custom Rom has inbuilt root rather than Magisk, which is a bit annoying as you can't get SafetyNet working, so can't use Google Pay (and other apps that require SafetyNet).
You can uninstall the inbuilt root and replace it with Magisk, but it's a bit fiddly (like most things on this phone!), as the Magisk app has an issue finding the Magisk su binary.
You need to be using the vndklite build so you can get write access to the system partition. From a root shell (which will be using the inbuilt root to start with). You need to run this:
Code:
mount -o remount,rw /
echo 'export PATH /sbin:/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin' >> init.environ.rc
mount -o remount,ro /
Reboot to OrangeFox, and in terminal run this (to remove the inbuilt su):
Code:
mount /system_root
mount -o remount,rw /system_root
touch /system_root/system/phh/secure
umount -l /system_root/system/xbin/su
rm /system_root/system/xbin/su
rm /system_root/system/bin/phh-su
rm /system_root/system/etc/init/su.rc
rm /system_root/system/bin/phh-securize.sh
rm -Rf /system_root/system/{app,priv-app}/me.phh.superuser/
rm -Rf /system_root/data/su
umount /system_root
Download the latest Magisk apk (v23 at time of writing) from https://github.com/topjohnwu/Magisk/releases/download/v23.0/Magisk-v23.0.apk and rename it to Magisk-v23.0.zip. Copy it over to your phone, and install it using OrangeFox (topjohnwu has stated in future Magisk versions the renaming to zip will stop working, but it's good for now).
From memory I think you now need to wipe the data partition again, but it's worth a try without, and see if you bootloop?
Once you're back into the regular system you'll need to install the Magisk app (if you haven't done so already), and then activate MagiskHide, and install the MagiskHide Props Config module. You can then use Google Pay again!
very good, Congratulations!
I added a link in my table that redirects to your post
dsclee1 said:
Looks good.
The default PHH GSI Custom Rom has inbuilt root rather than Magisk, which is a bit annoying as you can't get SafetyNet working, so can't use Google Pay (and other apps that require SafetyNet).
You can uninstall the inbuilt root and replace it with Magisk, but it's a bit fiddly (like most things on this phone!), as the Magisk app has an issue finding the Magisk su binary.
You need to be using the vndklite build so you can get write access to the system partition. From a root shell (which will be using the inbuilt root to start with). You need to run this:
Code:
mount -o remount,rw /
echo 'export PATH /sbin:/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin' >> init.environ.rc
mount -o remount,ro /
Reboot to OrangeFox, and in terminal run this (to remove the inbuilt su):
Code:
mount /system_root
mount -o remount,rw /system_root
touch /system_root/system/phh/secure
umount -l /system_root/system/xbin/su
rm /system_root/system/xbin/su
rm /system_root/system/bin/phh-su
rm /system_root/system/etc/init/su.rc
rm /system_root/system/bin/phh-securize.sh
rm -Rf /system_root/system/{app,priv-app}/me.phh.superuser/
rm -Rf /system_root/data/su
umount /system_root
Download the latest Magisk apk (v23 at time of writing) from https://github.com/topjohnwu/Magisk/releases/download/v23.0/Magisk-v23.0.apk and rename it to Magisk-v23.0.zip. Copy it over to your phone, and install it using OrangeFox (topjohnwu has stated in future Magisk versions the renaming to zip will stop working, but it's good for now).
From memory I think you now need to wipe the data partition again, but it's worth a try without, and see if you bootloop?
Once you're back into the regular system you'll need to install the Magisk app (if you haven't done so already), and then activate MagiskHide, and install the MagiskHide Props Config module. You can then use Google Pay again!
Click to expand...
Click to collapse
oupps . Finally things did not as planned . After the running the commands , I was stuck in a loop , always going back to recovery (even if after wipe data). Finally I decided to reflash completely, but this time with lineage OS .
This time I did :
boot to recovery
format data
install lineageOS zip
I tried to install the gapps but the install crash (out of ressources)
so i reboot in system
then reboot back in recovery
flash the gapps file
flash the magisk.zip (the apk previously renammed ) and got an error.
reboot back to system , took the opportunity to declare the phone so google app store works.
then resynchronize with my google account.
once the update and sync completed boot to recovey
flash the magisk zip (the real one from here https://magiskapp.com/zip/#download-now
flash the vbmeta
then reboot to system
It boots fine But I have no root acces . Below are a few screenshot from magisk :
@gsuzeda , @dsclee1
trying to redo the al process all other again. Things are getting worse.
This time, I can flash the lineage rom but when I try to flash the gapps , I got a not enough space .
whatever I do , i got the error, I tried try wipe format everything :
Here is quick step
boot in recovery
format data,
wipe cache , dalvik, internal storage, data.
flashing lineage OS
flashing the gapps (there i get a not enough space)
What did I missed ??
Meanwhile I'l go back to AOSP without magisk
I also updated the doc . Can you check especially the flash ROM part and the magisk part ?
Thanks
chmick said:
@gsuzeda , @dsclee1
trying to redo the al process all other again. Things are getting worse.
This time, I can flash the lineage rom but when I try to flash the gapps , I got a not enough space .
whatever I do , i got the error, I tried try wipe format everything :
Here is quick step
boot in recovery
format data,
wipe cache , dalvik, internal storage, data.
flashing lineage OS
flashing the gapps (there i get a not enough space)
What did I missed ??
Meanwhile I'l go back to AOSP without magisk
I also updated the doc . Can you check especially the flash ROM part and the magisk part ?
Thanks
Click to expand...
Click to collapse
I think you can only install gapps if they are systemless like litegapps
chmick said:
## first version , errors may still occur
Hi everybody, as a noob in the rooting world , here is my small contribution. A step by step how-to , to completely root + installing a custom.
DO NOT HESITATE TO COMMENT SO I CAN IMPROVE THE DOC:
=======================================================================
Read the complete procedure carefully before start: Beware you will loose all data you may have on the phone .and you will loose warranty .
## REQUIREMENTS :​a brand new redmi note 9T (direct from the store, no modifications), a pc with windows , the usb cable to link the pc to the phone.
A sdcard where you can store the rom and some zip to put in your phone
Make sure the pc is up ot date with latest android usb driver and adb available :
usb drivers here : https://developer.android.com/studio/run/win-usb
adb software : https://www.xda-developers.com/install-adb-windows-macos-linux/
we also need 7zip https://www.7-zip.org/
Also try to update your phone with the latest MIUI version you can get (at the the time I'm writing this it should be MIUI 12.5, based on android 11).
To upgrade go to system/about phone/ tap on the MIUI logo/ check for update .
If your phone is still stuck to a lower version, you may trick it by changing the region (I choose hong kong) in system/additional settings/region
then try to check for MIUI update again.
## FIRST STEP : unlock the booloader .​for this you need a xiaomi account (if you created one with your phone , use it)
You also need to enable developper mode in your phone , so you can access usb debuging . (see the video tutorial)
a video tutoriel here :
you will probably have to wait 168 hours before you can unlock the phone (Yes you're not alone to think it's annoying, do not hesitate to complain to xiaomi business department)
there is also this version of the unlocker (to bypass the wait time), but I have not tested it
Moreover the bypass works for devices not yet linked to mi account
Download MiUnlock_bypass_OTP.zip - Generic
Download file MiUnlock_bypass_OTP.zip - Generic - in MiFirm ✅ - Xiaomi MIUI Firmware - ROM - TWRP download free and max speed - The biggest Xiaomi Mi download
mifirm.net
Once your bootloader unlock you phone will be reseted and when you restart it you will be asked for the xiaomi account password again (and you need a network connection).
After completing the setup again, don't forget to reactivate usb debuging option .
### SECOND STEP download and save files​
In case your want to rollback, and also if your want to install magisk in some custom rom , you need to download the original MIUI rom here :
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
from the zip file , you need to extract the boot.img file and transfer the file on your phone
then the install on your phone the magisk apk file : https://magiskapp.com/#magisk-app-apk
run the magisk app , choose install magisk , select patch a file and choose the boot.img file then press the let's go button
Magisk will generate a patched_image_file in your download folder .
copy the patched image file to your sdcard.
on your phone you can install this : https://play.google.com/store/apps/details?id=tk.hack5.treblecheck
It will help you select the type of rom you need to download
Plug your phone to the computer , open a command shell in your adb fastboot directory and type :
adb devices
you should see something like :
List of devices attached
sceqxxxxxxxxxxk device
(if not check your phone screen ,if there is some grant access dialog)
download orangefox from here https://github.com/gsuzeda/twrp_cannon/releases/
put the vbmeta.zip and OrangeFox-R11.0-Unofficial-cannong.zip on the sdcard
put the recovery.img in the same directory than your adb fastboot program
download the latest magisk files release from here :
first the zip : https://magiskapp.com/zip/#download-now
and the apk file : https://magiskapp.com/#magisk-app-apk
and put them on the sdcard
download the latest of the custom rom you want to install. Based on this link (thank you @gsuzeda) https://docs.google.com/spreadsheets/d/1Nm1RAQ_kiSoSBgtzux8uKklLF9TF6-1QvIVCPzW3OCs/edit#gid=0
, I will try AOSP rom here : https://github.com/phhusson/treble_experimentations/releases/latest
but you can also try lineageOS here : https://sourceforge.net/projects/andyyan-gsi/files/
(if you choose AOSP , you can not install magisk , at least for now)
NOTE: If your choose another custom rom , remember you may also need to install google apps as a separate package .
Example for lineageOS , you can download the gapps (MindtheGapps for arm64 )here https://androidfilehost.com/?fid=2188818919693781601
and copy the file to your sdcard
The redmi note 9T code name is CANNONG . It uses ARM64 A/B IMAGES and we want vndklite (read/write on system)
This is important whatever the custom rom you choose to download and install
Now we prepare the image files from the custom ROM so we can choose between two install methods
METHOD ONE is flashing the system.img from the computer with the phone in fastboot mode plugged to the pc.
METHOD TWO is flashing a zip file with the phone in recovery mode (using the orangefox program or twrp)
I choose his method , because you can do all the operation from orangefox recovery
for method two we will use https://forum.xda-developers.com/attachments/gsi_flasher_sdcard-zip.5183639/
(thank you @gsuzeda for the complete method here https://forum.xda-developers.com/t/...ung-galaxy-a51-super-partition-image.4216083/ )
unzip the gsi flasher somewhere on your PC (for me Mydocument\gsiflasher)
exemple usage with AOSP rom:
uncompress the system-roar-arm64-ab-vndklite-gapps.img.xz
copy the img file in the gsi directory of the gsi flasher and rename it system.img (so for me cp system-roar-arm64-ab-vndklite-gapps.img to Mydocument\gsiflasher\gsi\system.img).
then create a zip file with the 3 directories (gsi, META-INF, scripts) in Mydocument\gsiflasher using 7 zip , for example system-roar-arm64-ab-vndklite-gapps.zip.
And finally copy this zip to the root of your sdcard .
## THIRD STEP : install orangefox​orangefox is a recovery program like twrp but with more option.
Check if you booloader is unlock in your phone by going to system\additonal settings\developper option\mi unlock status
If the booloader is unlock then you can install recovery orangefox .
Make sure than usb debugging and install via usb is checked in the developper option of your phone
power off your phone and restart your phone in fastboot mode (volume down + power )
plug it to your pc .
open a command shell in the directory were fastboot is installed
write the command :
fastboot devices
it should give you a list with your device
then write the command
fastboot flash recovery recovery.img
once the install complete reboot your phone in recovery mode with the command :
fastboot reboot recovery
once boot in recovery mode you should see the orangefox menu.
View attachment 5349227
Use the "Files" at the bottom at the screen explore to go to the sdcard and tap on the orangefox zip files .
then swipe to install
Once the file installed , the phone should reboot in recovery.
Then use the file explorer to find the vbmeta.zip
ttap the file and swipe to install
after the install the phone should reboot.
a simple check step to see if everything went right
## FOURTH STEP , test and install custom OS​There is two method to install , via recovery or via fastboot
I choose to use orangefox recovery
via recovery
reboot in recovery mode (volume up +power)
Once booted in orangefox recovery
first format the DATA (using the wipe menu,and you need to type yes to confirm )
Then reboot to recovery (from the orangefox menu choose reboot then recovery)
once rebooted in recovery
wipe data cache and dalvik
then with the file menu of orangefox navigate to the root of your sdcard where you stored the system zip we created for example system-roar-arm64-ab-vndklite-gapps.zip.
tap the zip and swipe to install
(if your choose another rom , do the same thing to also intall the gapps zip file)
once the install complete
wipe data cache and dalvik
reboot the phone .
## FIFTH STEP check install​your phone should now start with AOSP version of android and start the setup program.
If you get a message like your device is not play protect certified :
connect your phone to your computer, in a command shell type :
adb root
adb shell
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db
select * from main where name = "android_id";
then copy the id number printed and go there :
Sign in - Google Accounts
and enter the id in the text box and press register
wait 15 minutes and reboot your phone and finish the setup process and connect to google store with your gmail account
If your installation complain about the sd card, choose format as external. (you may have to transfer the files of step one in the card again)
## SIXTH STEP : install magisk​(DOES NOT WORK WITH AOSP ROM)
reboot in recovery.
in the orangefox file menu :
search your magisk.zip file on the sdcard , tap and swipe to install.
Then choose the patched_boot_img file and choose /boot to install
Then choose the vbmeta.zip and install
wipe cache and reboot
All you want to know about magisk is here : https://magiskapp.com/
### LAST STEP , secure back​now disable usb debugging
unchecked the option : install app from unknow sources
### ROLLBACK​In case you want to rollback to MIUI rom
go there : https://www.getdroidtips.com/guide-flash-miui-rom-xiaomi-devices/
and follow the chapter : the How to Flash Xiaomi Firmware via TWRP Recovery
Click to expand...
Click to collapse
I will try after thanks you and everybody who help to do this !
for those that may interest, I've not been able to make the fastboot cli tool work on windows in a virtualbox virtual machine (all my computers run on Debian), so unable to unlock from a VM (tried different versions of windows and Android fastboot USB drivers).
I had to find a windows machine for the unlock tool to work.
So don't waste your time fighting with VMs for this phone at least (it used to work just fine on my old redmi note 5 pro).
i can't flash system on my note 9t 5g
my flash system : octavi os
Hi, what is the difference between lineage-18.1-20210914-UNOFFICIAL-treble_arm64_bvS.img.xz and lineage-18.1-20210914-UNOFFICIAL-treble_arm64_bvS-vndklite.img.xz please ?
Please i follow steps but t's made a bootlop after flash rom (AOSP or lineage), only stock rom works...
chmick said:
## first version , errors may still occur
Hi everybody, as a noob in the rooting world , here is my small contribution. A step by step how-to , to completely root + installing a custom.
DO NOT HESITATE TO COMMENT SO I CAN IMPROVE THE DOC:
=======================================================================
Read the complete procedure carefully before start: Beware you will loose all data you may have on the phone .and you will loose warranty .
## REQUIREMENTS :​a brand new redmi note 9T (direct from the store, no modifications), a pc with windows , the usb cable to link the pc to the phone.
A sdcard where you can store the rom and some zip to put in your phone
Make sure the pc is up ot date with latest android usb driver and adb available :
usb drivers here : https://developer.android.com/studio/run/win-usb
adb software : https://www.xda-developers.com/install-adb-windows-macos-linux/
we also need 7zip https://www.7-zip.org/
Also try to update your phone with the latest MIUI version you can get (at the the time I'm writing this it should be MIUI 12.5, based on android 11).
To upgrade go to system/about phone/ tap on the MIUI logo/ check for update .
If your phone is still stuck to a lower version, you may trick it by changing the region (I choose hong kong) in system/additional settings/region
then try to check for MIUI update again.
## FIRST STEP : unlock the booloader .​for this you need a xiaomi account (if you created one with your phone , use it)
You also need to enable developper mode in your phone , so you can access usb debuging . (see the video tutorial)
a video tutoriel here :
you will probably have to wait 168 hours before you can unlock the phone (Yes you're not alone to think it's annoying, do not hesitate to complain to xiaomi business department)
there is also this version of the unlocker (to bypass the wait time), but I have not tested it
Moreover the bypass works for devices not yet linked to mi account
Download MiUnlock_bypass_OTP.zip - Generic
Download file MiUnlock_bypass_OTP.zip - Generic - in MiFirm ✅ - Xiaomi MIUI Firmware - ROM - TWRP download free and max speed - The biggest Xiaomi Mi download
mifirm.net
Once your bootloader unlock you phone will be reseted and when you restart it you will be asked for the xiaomi account password again (and you need a network connection).
After completing the setup again, don't forget to reactivate usb debuging option .
### SECOND STEP download and save files​
In case your want to rollback, and also if your want to install magisk in some custom rom , you need to download the original MIUI rom here :
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
from the zip file , you need to extract the boot.img file and transfer the file on your phone
then the install on your phone the magisk apk file : https://magiskapp.com/#magisk-app-apk
run the magisk app , choose install magisk , select patch a file and choose the boot.img file then press the let's go button
Magisk will generate a patched_image_file in your download folder .
copy the patched image file to your sdcard.
on your phone you can install this : https://play.google.com/store/apps/details?id=tk.hack5.treblecheck
It will help you select the type of rom you need to download
Plug your phone to the computer , open a command shell in your adb fastboot directory and type :
adb devices
you should see something like :
List of devices attached
sceqxxxxxxxxxxk device
(if not check your phone screen ,if there is some grant access dialog)
download orangefox from here https://github.com/gsuzeda/twrp_cannon/releases/
put the vbmeta.zip and OrangeFox-R11.0-Unofficial-cannong.zip on the sdcard
put the recovery.img in the same directory than your adb fastboot program
download the latest magisk files release from here :
first the zip : https://magiskapp.com/zip/#download-now
and the apk file : https://magiskapp.com/#magisk-app-apk
and put them on the sdcard
download the latest of the custom rom you want to install. Based on this link (thank you @gsuzeda) https://docs.google.com/spreadsheets/d/1Nm1RAQ_kiSoSBgtzux8uKklLF9TF6-1QvIVCPzW3OCs/edit#gid=0
, I will try AOSP rom here : https://github.com/phhusson/treble_experimentations/releases/latest
but you can also try lineageOS here : https://sourceforge.net/projects/andyyan-gsi/files/
(if you choose AOSP , you can not install magisk , at least for now)
NOTE: If your choose another custom rom , remember you may also need to install google apps as a separate package .
Example for lineageOS , you can download the gapps (MindtheGapps for arm64 )here https://androidfilehost.com/?fid=2188818919693781601
and copy the file to your sdcard
The redmi note 9T code name is CANNONG . It uses ARM64 A/B IMAGES and we want vndklite (read/write on system)
This is important whatever the custom rom you choose to download and install
Now we prepare the image files from the custom ROM so we can choose between two install methods
METHOD ONE is flashing the system.img from the computer with the phone in fastboot mode plugged to the pc.
METHOD TWO is flashing a zip file with the phone in recovery mode (using the orangefox program or twrp)
I choose his method , because you can do all the operation from orangefox recovery
for method two we will use https://forum.xda-developers.com/attachments/gsi_flasher_sdcard-zip.5183639/
(thank you @gsuzeda for the complete method here https://forum.xda-developers.com/t/...ung-galaxy-a51-super-partition-image.4216083/ )
unzip the gsi flasher somewhere on your PC (for me Mydocument\gsiflasher)
exemple usage with AOSP rom:
uncompress the system-roar-arm64-ab-vndklite-gapps.img.xz
copy the img file in the gsi directory of the gsi flasher and rename it system.img (so for me cp system-roar-arm64-ab-vndklite-gapps.img to Mydocument\gsiflasher\gsi\system.img).
then create a zip file with the 3 directories (gsi, META-INF, scripts) in Mydocument\gsiflasher using 7 zip , for example system-roar-arm64-ab-vndklite-gapps.zip.
And finally copy this zip to the root of your sdcard .
## THIRD STEP : install orangefox​orangefox is a recovery program like twrp but with more option.
Check if you booloader is unlock in your phone by going to system\additonal settings\developper option\mi unlock status
If the booloader is unlock then you can install recovery orangefox .
Make sure than usb debugging and install via usb is checked in the developper option of your phone
power off your phone and restart your phone in fastboot mode (volume down + power )
plug it to your pc .
open a command shell in the directory were fastboot is installed
write the command :
fastboot devices
it should give you a list with your device
then write the command
fastboot flash recovery recovery.img
once the install complete reboot your phone in recovery mode with the command :
fastboot reboot recovery
once boot in recovery mode you should see the orangefox menu.
View attachment 5349227
Use the "Files" at the bottom at the screen explore to go to the sdcard and tap on the orangefox zip files .
then swipe to install
Once the file installed , the phone should reboot in recovery.
Then use the file explorer to find the vbmeta.zip
ttap the file and swipe to install
after the install the phone should reboot.
a simple check step to see if everything went right
## FOURTH STEP , test and install custom OS​There is two method to install , via recovery or via fastboot
I choose to use orangefox recovery
via recovery
reboot in recovery mode (volume up +power)
Once booted in orangefox recovery
first format the DATA (using the wipe menu,and you need to type yes to confirm )
Then reboot to recovery (from the orangefox menu choose reboot then recovery)
once rebooted in recovery
wipe data cache and dalvik
then with the file menu of orangefox navigate to the root of your sdcard where you stored the system zip we created for example system-roar-arm64-ab-vndklite-gapps.zip.
tap the zip and swipe to install
(if your choose another rom , do the same thing to also intall the gapps zip file)
once the install complete
wipe data cache and dalvik
reboot the phone .
## FIFTH STEP check install​your phone should now start with AOSP version of android and start the setup program.
If you get a message like your device is not play protect certified :
connect your phone to your computer, in a command shell type :
adb root
adb shell
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db
select * from main where name = "android_id";
then copy the id number printed and go there :
Sign in - Google Accounts
and enter the id in the text box and press register
wait 15 minutes and reboot your phone and finish the setup process and connect to google store with your gmail account
If your installation complain about the sd card, choose format as external. (you may have to transfer the files of step one in the card again)
## SIXTH STEP : install magisk​(DOES NOT WORK WITH AOSP ROM)
reboot in recovery.
in the orangefox file menu :
search your magisk.zip file on the sdcard , tap and swipe to install.
Then choose the patched_boot_img file and choose /boot to install
Then choose the vbmeta.zip and install
wipe cache and reboot
All you want to know about magisk is here : https://magiskapp.com/
### LAST STEP , secure back​now disable usb debugging
unchecked the option : install app from unknow sources
### ROLLBACK​In case you want to rollback to MIUI rom
go there : https://www.getdroidtips.com/guide-flash-miui-rom-xiaomi-devices/
and follow the chapter : the How to Flash Xiaomi Firmware via TWRP Recovery
Click to expand...
Click to collapse
please when I want install magisk i have a big issue:
E:unable to open block devices /dev/blocks/loop16: No such device or adress ! I have these lines a loop16 to loop62 !
Could you help to fix it please ?
My wife is angry that i stay too much times on this problem and me too !!! thanks you so much
dsclee1 said:
Looks good.
The default PHH GSI Custom Rom has inbuilt root rather than Magisk, which is a bit annoying as you can't get SafetyNet working, so can't use Google Pay (and other apps that require SafetyNet).
You can uninstall the inbuilt root and replace it with Magisk, but it's a bit fiddly (like most things on this phone!), as the Magisk app has an issue finding the Magisk su binary.
You need to be using the vndklite build so you can get write access to the system partition. From a root shell (which will be using the inbuilt root to start with). You need to run this:
Code:
mount -o remount,rw /
echo 'export PATH /sbin:/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin' >> init.environ.rc
mount -o remount,ro /
Reboot to OrangeFox, and in terminal run this (to remove the inbuilt su):
Code:
mount /system_root
mount -o remount,rw /system_root
touch /system_root/system/phh/secure
umount -l /system_root/system/xbin/su
rm /system_root/system/xbin/su
rm /system_root/system/bin/phh-su
rm /system_root/system/etc/init/su.rc
rm /system_root/system/bin/phh-securize.sh
rm -Rf /system_root/system/{app,priv-app}/me.phh.superuser/
rm -Rf /system_root/data/su
umount /system_root
Download the latest Magisk apk (v23 at time of writing) from https://github.com/topjohnwu/Magisk/releases/download/v23.0/Magisk-v23.0.apk and rename it to Magisk-v23.0.zip. Copy it over to your phone, and install it using OrangeFox (topjohnwu has stated in future Magisk versions the renaming to zip will stop working, but it's good for now).
From memory I think you now need to wipe the data partition again, but it's worth a try without, and see if you bootloop?
Once you're back into the regular system you'll need to install the Magisk app (if you haven't done so already), and then activate MagiskHide, and install the MagiskHide Props Config module. You can then use Google Pay again!
Click to expand...
Click to collapse
Is it possible to somehow pack all this into a Zip archive for convenience? So that you can simply install through the recovery.
I recommend this rom.
https://sourceforge.net/projects/gsi-projects/files/v415-Aug/crDroid-8.8/crDroid-8.8-arm64_bgN-vndklite-Unofficial.img.xz/download

How To Guide How to extract boot img files with TWRP and root your phone [OOS open beta F.08 Android 13]

Hi,
for those who want to install and root the open beta based on android 13, here's how.
Prerequisite
- SDK Platform-Tools for Windows
- OnePlus_USB_Drivers_Setup
- TWRP image file for OnePlus 9 pro
- usb tpye-C otg cable and FAT32 memory card
or usb type-C/usb type-A dual socket memory card
- Android Bootloader Interface driver
Download links for OnePlus 9 Pro full packages:
OnePlus 9 Pro (IN)
OnePlus 9 Pro (NA)
- Be sure that your device is in the latest OxygenOS 12 version C.63 and completely unrooted.
You will need this apk to perform the update: OPLocalUpdate_For_Android12.apk
Be careful this operation will erase all your data. Back them up before updating
- Once the update is done, unlock the bootloader and enable usb debugging.
1- Download the latest TWRP: twrp-3.6.2_11-0-lemonadep.img and put it in the fastboot folder of your pc ( with this twrp you will not be able to access your phone's internal memory but that's not a problem, that's why we need a usb key ).
2- Start your phone in fastboot mode then connect it to your pc.
3- open a command prompt on your pc from the fastboot folder and run ( don't flash, only boot) : fastboot boot twrp-3.6.2_11-0-lemonadep.img
4- once in twrp, connect a usb key to your phone, select Mount / Select Storage / USB storage.
5- go back to Advanced and to Terminal.
6- in the TWRP terminal run : dd if=/dev/block/bootdevice/by-name/boot of=/usbstorage/boot.img
7- disconnect the usb key and plug it into your pc to check that the extraction was successful and that the boot file is indeed present on the usb key.
8- restart your phone.
9- copy and paste the extracted boot.img into the phone's internal memory.
You now have the boot.img file to patch, you just need to install magisk to patch the file.
So as not to end up in bootloop, remember to always test the file with the command : fastboot boot magisk_patched.img
If the phone restarts and you are rooted, reboot to fastboot and run : fastboot flash boot magisk_patched.img
Stock and patched files : LE2121 boot img files / LE2125 boot img files
thanks! this method worked for me.
Shouldn't this same process (incl. TWRP) work on the oneplus 9?
4Xrayk said:
Shouldn't this same process (incl. TWRP) work on the oneplus 9?
Click to expand...
Click to collapse
Normally yes, you just have to use TWRP recovery of your model.
What if I am already in c.63 rooted? Plus where in the steps did you install Android 13?
samdaman91 said:
What if I am already in c.63 rooted? Plus where in the steps did you install Android 13?
Click to expand...
Click to collapse
Updating from c63 to f08 didn't work for me, I had to unroot completely for it to work.
to install the full ota update you must first install this apk OPLocalUpdate_For_Android12.apk.
copy the android13 zip file to your phone (\sdcard)
open OPLocalUpdate_For_Android12 and go to top right corner
select the zip file
Look at Steve0007 thread . Thanks for his work
buu'buu said:
Updating from c63 to f08 didn't work for me, I had to unroot completely.
View attachment 5719027
View attachment 5719023
to install the full ota update you must first install this apk OPLocalUpdate_For_Android12.apk.
copy the android13 zip file to your phone (\sdcard)
open OPLocalUpdate_For_Android12 and go to top right corner
select the zip file
Look at Steve0007 thread . Thanks for his work
Click to expand...
Click to collapse
ok so after unrooting your phone under android 12, you just updated it to android 13 beta? when are you supposed to be back majisk?
I extracted the boot file with TWRP, patched the file and did rooting
what region is your c63 rom?
buu'buu said:
I extracted the boot file with TWRP, patched the file and did rooting
Click to expand...
Click to collapse
how is that possible? TWRP does not work in android 12
I did it , the extracted files are at the bottom of the first post.
it's the file decryption that doesn't work.
With payload dumper I did not succeed.
hey guys I have done a similar thing.
I patched the boot.img from payload.bin using payload dumper.
This is the patched file.
magisk_patched.img
drive.google.com
Copy the file to pc.
Phone to fastboot mode.
Connect via usb.
Enter Powershell using Left Shift + Right CLick
Enter command: fastboot boot <patched file>
It will reboot your phone. If not, enter command: fastboot reboot.
Once rebooted.
Install Magisk App and direct install after this.
Enjoy.
*THIS IS FOR ALL WHO HAVE LOST ROOT ACCESS AFTER UPDATING. BUT CAN ALSO BE FOLLOWED AFTER UNLOCKING THE BOOTLOADER THE 1ST TIME. THIS IS FOR INDIAN VERSIONS ONLY.*
This is for Indian Version only.
how to make system R/0? i need to delete/uninstall system apps and install vanced youtube
this.guy.lol said:
how to make system R/0? i need to delete/uninstall system apps and install vanced youtube
Click to expand...
Click to collapse
GitHub - 0x192/universal-android-debloater: Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device.
Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device. - GitHub - 0x192/universal-android-debloater:...
github.com
Use this to remove stock YouTube app. Then use Vanced Manager to install Vanced.
Here are the files for the EU version (LE2123_11_F.08).
I booted to the patched img and installed Magisk from the manager, worked perfectly.
stock boot.img
patched boot.img
mrironsights said:
GitHub - 0x192/universal-android-debloater: Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device.
Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device. - GitHub - 0x192/universal-android-debloater:...
github.com
Use this to remove stock YouTube app. Then use Vanced Manager to install Vanced.
Click to expand...
Click to collapse
is it 100 percent confirmed working? hate to go through the hassle of installing only for it to not work
this.guy.lol said:
is it 100 percent confirmed working? hate to go through the hassle of installing only for it to not work
Click to expand...
Click to collapse
Works. 100%
mrironsights said:
Works. 100%
Click to expand...
Click to collapse
obviously it dnt.....link me the file that does....
Worked for me. Whats the issue?

Categories

Resources