Help to choose proper location and FW for Ukraine region - Mate 8 Android Development

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)

Related

[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.

[Guide] Rebranding P20 lite to nova 3e

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

Miui 11 stable for only realme Q

Rom miui 11 stable for realme Q
Sorry English my bad
Fingerprints work
Faceunlock
Bt audio
Wifi,call and more
Bug : No miui camera but may be flash ANX camera support 48mp
Note : Gcam need add configs
Kernel and vendor mod for Q but i thing 5pro will work
How to install:
- wipe all
- flash rom zip
- flash sdcard fix
- flash gapps 9.0 or magisk (if you want)
- if then reboot devices auto boot twrp . you need format data
We are the ones who were used the earliest. So be grateful to the team mokee especially development china CHEN
Link rom and patch : <Mod edit>
Is like the stock Color Os from RealmeQ right?, Only with Asian Languages and English, With MiUi apps and NO Play store or Google apps (Unless flash OGAPPS Of course).
I really need the Spanish Language so is a no go for me, but still, it works pretty good for anyone who wnat to try.
I think would be a good idea to clarify what languages it has.
To clarify, you do all this from TWRP? So this requires that phone is rooted and TWRP installed?
@motherface
The ROM zip packages should be flashed trought TWRP, but its not neccesary to have rooted the phone.
So to clarify, you need to unlock your bootloader, flash TWRP zip trought Fastboot-Bootloader and then reboot to recovery (TWRP).
Tmv_Josue said:
@motherface
The ROM zip packages should be flashed trought TWRP, but its not neccesary to have rooted the phone.
So to clarify, you need to unlock your bootloader, flash TWRP zip trought Fastboot-Bootloader and then reboot to recovery (TWRP).
Click to expand...
Click to collapse
I very much would like to do this - just came from a xiaomi redmi phone, but don't know exactly how to do this. Can you link a tutorial. Gracias
Setup of miui 11 succeeded.If I try to change the default launcher to another one(ex nova launcher), An error message (As launcher apps from third parties may result in problems like data leak, abnormal battery drain and lagging, etc., only those verified by MIUI can be set as your default launcher) appears to change the default launcher. Do you happen to know the solution?
@motherface.
Unlock Bootloader
Go to:
https://forum.xda-developers.com/realme-5-pro/help/realme-5-pro-bootloader-unlock-tutorial-t3985011
1. Install: DeepTesting_SDM710_9.0_Realme.apk
2. Start the in-depth test
3. Download ADB for Windows:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
4. Go to: Settings > Additional settings > Developer options > USB Debugging (Activate it)
5. In PC open CMD and put these commands:
adb reboot bootloader
fastboot flashing unlock
fastboot reboot
TWRP Install:
Go to:
https://forum.xda-developers.com/re...ild-twrp-realme-q-support-flash-ozip-t3986131
adb reboot bootloader
fastboot flash recovery TWRP.img
fastboot flash vbmeta vbmeta.img
fastboot reboot recovery
Tmv_Josue said:
@motherface.
Unlock Bootloader
Go to:
https://forum.xda-developers.com/realme-5-pro/help/realme-5-pro-bootloader-unlock-tutorial-t3985011
1. Install: DeepTesting_SDM710_9.0_Realme.apk
2. Start the in-depth test
3. Download ADB for Windows:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
4. Go to: Settings > Additional settings > Developer options > USB Debugging (Activate it)
5. In PC open CMD and put these commands:
adb reboot bootloader
fastboot flashing unlock
fastboot reboot (System)
TWRP Install:
Go to:
https://forum.xda-developers.com/re...ild-twrp-realme-q-support-flash-ozip-t3986131
adb reboot bootloader
fastboot flash recovery TWRP.img
fastboot flash vbmeta vbmeta.img
fastboot reboot recovery (Reboot to RECOVERY -TWRP)
Click to expand...
Click to collapse
Got it to work! Thank you very, very much. I am really loving this/needing this. ColorOS is trash.
I initially had issues with the deeptesting app. I think it was because I didn't launch into bootloader through that app itself, and used a different adb command prompt location. Got this work work this time though.
Thanks heaps
I flashed the gapp but it didn't work
hoangnam1103 said:
I flashed the gapp but it didn't work
Click to expand...
Click to collapse
Then download google app installer apk nd try
prashant.palange said:
Then download google app installer apk nd try
Click to expand...
Click to collapse
I installed gapp and downloaded apps from gapp. however I have problems with syncing contacts. It seems the problem is from google sync contact
Hello there
Any possibility to use this ROM with the Realme 5 pro global variant?
@sbsmbm.
Have you tried installing it through the TWRP that works with the R5pro?:
Maybe it works:
https://forum.xda-developers.com/re...ecovery-unofficial-twrp-realme-5-pro-t3985203
THREAD CLOSED!
@29y6145 Please consult the inbox of your private messages.

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 [ALIOTH/ALIOTHIN] HOW TO FLASH A ROM IN TWRP WITHOUT ERROR

Hello everyone, today i will show you how to flash any rom via TWRP with alioth / aliothin
1- Download this version of TWRP (vasi version): https://drive.google.com/uc?id=1oY5WxfXYPRLumCcaPPFGuq9OhtB3CM_X&export=download
2- Install SDK: https://developer.android.com/studio/releases/platform-tools
3- Install MiFlash (only for drivers): https://xiaomiflashtool.com/download/xiaomi-flash-tool-20210226
3- Download the rom you want to install.
4- Extract Mi Flash tool and launching the executable, it will offer to install the drivers click on install then wait for a pop'up in chinese and close the software
5- Extract SDK then put the twrp in the folder (platform-tools-windows)
6- Launch cmd from the folder
7- Write "fastboot boot twrp-aliothin.img" in the cmd
8- Your phone is on the twrp, drag and drop your rom into the internal storage of your smartphone
9- go to install then select your rom
10- Swipe to install (check that inject twrp is checked)
11- reboot in the recovery in the reboot section
12- Click on wipe then format data, write yes then restart in the system
ENJOY!
Go to my benchmark post if u would like to see some bench : https://forum.xda-developers.com/t/send-youre-antutu-benchmark-geekbench-score.4291519/

Categories

Resources