HOPING IT MIGHT HELP....!!!!!
IF IT DOES DUN FORGET TO THANK....
Here is an article which will be discussing all about the rooting the device, getting streak mod recovery menu, flashing customised ROMs and lastly How to get wicked customised BOOTANIMATION uploaded on the customised ROMs.
BUT BEFORE I PROCEED ANY FURTHUR I MIGHT WARN YOU THAT ALL THE STUFF MENTIONED BELOW WORKED FOR ME AND HENCE FORTH IM PASTING IT BUT WHEN UR FOLLOWING THE INSTRUCTIONS BE SPECIFIIC TO THE POINT AND FOLLOW IT AND YOU AR DOING IT ON YOUR OWN RISK I AM NO ONE TO BE BLAMED IF YOU MESS IT UP.IF STILL YOU WANNA BLAME ME SURE YOUR ARE WELCOME.
Now this article will be one stop for everything when the word customisation comes to your mind
and its the result out of my research on all the informations provided on the inetrnet not only on the XDA DEVELOPERS but else whr too. Without wasting much time lest proceed.
1. ROOTING YOUR DELL STREAK :
Downloading the file : http://forum.xda-developers.com/showthread.php?t=1044765
Video For Reference : http://www.youtube.com/watch?v=Hifk15SbHVQ
ROOTING THE DEVICE WILL VOID YOUR WARRENTY
About :
The GingerBreak APK is a wrapper around the newly released GingerBreak exploit (credits to The Android Exploid Crew), which is meant to attain root access on GingerBread. This specific exploit*may*work on various Froyo and Honeycomb versions as well.
What the APK and exploit do is as follows:
- The APK puts the right files in the right place to run the exploit
- The APK runs the exploit
- The exploit attempts to attain root access
- If it succeeds, the exploit remounts /system as read-write and runs the installer script
- The installer script attempts to install the su binary and superuser APK, and reboots
Some important things to know:
- You must have USB debugging enabled on your device
- You need to have an SD card (formatted and) inserted - if it doesn't work, try formatting the SD card in your computer, or switching it with a different (or old, etc) SD card
- The APK must be installed to device, NOT SD card
- The exploit may take a while to run, but not more than 10 minutes, if it does, get me a logcat, and reboot the device. In rare occasions, even if the device does not reboot, you may still have root. So check that out after you manually pull battery after 15 minutes or so of being stuck.
- Always reboot between root attempts!
- While (temporary?) root access may be attained, due to locked bootloaders, efuses, S-ON, and whatnot this may still not work on your device. For temproot purposes, use the raw binary exploit (linked below), not this APK.
- The GingerBreak exploit should not be used to attain temproot and continue using the device. It fscks vold, you do not want to be running like that. You want to reboot! So if the root doesn't stick, you (still) have a problem.
Installation :
- Make sure USB debugging is enabled
- Make sure you have an SD card (formatted and) inserted
- Get the APK on the phone somehow, and install it
- Open the APK, press the root button
- Wait a few minutes. If there are no problems, the device will reboot (note that the reboot itself can take like 10 minutes due to cache wipe)
- Make sure the Superuser app is install and working
- Optional: Install BusyBox from Market (I personally prefer the stericsson installer)
- Optional: Uninstall GingerBreak, you don't need it on your phone anymore
WARNING: Apparently on some devices the root exploit causes the SD card (internal or external) to be formatted. Also, if it gets stuck but you do see the card mounting/unmounting, try formatting your SD card yourself and try again (or use a different SD card) - often this works*.
However there are many other applications to root the phone but the gingerstreak was the one worked for me and i used .you can check on net and will get other applications too eg: SUPERONECLICK,etc.
2. Getting the streakMOD Recovery menu :
DOWNLOAD FILE : http://forum.xda-developers.com/showthread.php?t=840326
Note : in the streamMod recovery menu to navigate up and down use the volume rocker keys and to select use the camera button.
HOW TO INSTALL THE RECOVERY :
Step 1: Unzip and flash with: fastboot -i 0x413c flash recovery recovery.img
Step 2: Reboot with: fastboot -i 0x413c reboot
Step 3: Hold down the keys "volume up" and "volume down" simultaneously while the device is rebooting.
Step 4: Select "Software upgrade via Update.pkg on SD Card" in the menu
Step 5: At the Dell Logo press the power button and you will be presented with the Recovery Menu
Now all the newbie will be having only one question in mind what does the term FLASH here refers to...i was also struck by the same...Honestly, it took me one week to crack that term.
Here s the answer :
FLASHING is nuffin but running a handfull of commands which i will be providing you you can just copy and paste it but the way you write and run those commands it the real deal.
Link for streakmod revovery resource:
Link: http://forum.xda-developers.com/showthread.php?t=840326
Steps OF Flashing (FOR WINDOWS USERS) :
CONSIDERING YOU HAVE ALREADY ROOTED YOUR DEVICE
STEPS TO BOOT INTO RECOVERY :
LINK : http://www.youtube.com/watch?v=S23rGZVOKrE&feature=context-chv
THE ABOVE LINK IS JUST TO ASSIST YOU HOW TO BOOT INTO FASTBOOT MODE HOWEVER IT SHOWS THE WAY OF FLASHING THE STREAKMOD RECOVERY WHICH DIDNT WORK FOR ME.
Step 1: MAKE SURE THE USB DEBUGGIN IS ENABLED.
Step 2: TURN OFF THE DEVICE REMOVE THE BATTERY FOR ABOUT 5 SECONDS AND REPLACE IT.
STEP 3: PRESS THE CAMERA AND THE POWER BUTTON AT THE SAME TIME AND KEEP IT PRESSED UNTIL A WHITE SCREEN WILL APPEAR.
STEP 4: IT WILL BE SHOWING “WAIT FOR SD DETECT” THEN AFTER THE MENU COMES UP ON THE SCREEN WAIT FOR LIKE 15 SECONDS APPROX
STEP 5: CONNECT YOUR DEVICE(DELL STREAK) TO THE PC AND THEN PRESS FASTBOOT OPTION ON TOP RIGHT CORNER OF THE SCREEN.
STEP 6: THEN WAIT FOR LIKE ANOTHER 15 SECONDS AND FOLLOW THE PROCEDURE PROVIDED BY ME OR IN THE VIDEO LINK I HAVE POSTED ABOVE...ITS COMPLETELY YOUR CALL.
NOTE : clockworkMOD WORKS ON ANOTHER ANDROID DEVICES BUT streakMOD Revovery works on DELL STREAK
Step 1: You need fastboot/ADB tools http://mirror2.streakdroid.com/manii/Tools/Fastboot+ADB.zip
Step 2: Unzip to a folder; say C:\Fastboot+ADB
Step 3: StreakMod recovery: Download the file recovery-v0.3.2.8-beta.zip (3.57 MB) http://forum.xda-developers.com/showthread.php?t=840326. Unzip and copy ‘recovery.img’ *to fastboot tools directory*(i.e. C:\Fastboot+ADB\Win32\recovery.img)
Step 4: Now Open the command prompt and by using the 'ls' command and 'cd' command navigate to the folder and your command prompt line show b exactly like C:\Fastboot+ADB\Win32\>
Step 5: Now copy and paste the command fastboot -i 0x413c flash recovery recovery.img, and you will find the mobile screen changes and desplayes something with an exclamation mark at the end....it means the Recovery image that needed to be flashed is done.
Step 6: Now all you need is to enter the next command in the command prompt on your computer screen fastboot -i 0x413c reboot
while the device reboots itself hold the VOLUME UP AND VOLUME DOWN or simple the VOLUME ROCKER keys.
link for using instructions on screakmod :
Link : http://www.rdtk.net/2011/06/25/using-streakmod-recovery/#Installing-StreakMod-Recovery
NOW IF YOU HAVE TO HAVE TO FLASH THE BASE BAND (OPTIONAL) :
Note : IT TOTALLY DEPENDS ON THE CUSTOMISED ROM YOUR ARE FLASHING SOME ROMS eg : DJ steven's GingerStreak 2.4.4 required you to flash both the DSP and the baseband Whereas if you are going to flash the Ten's Longhorn 2.9.1 as its the latest it wouldnt require the flashing.
Incase you hav to flash the DSP and baseband
Link : http://forum.xda-developers.com/showthread.php?t=1333010
Note : Go to the page and download the link of the DSP and AMSS proovided on the bottom of the page and then do exactly instructed :
Step 1: You need fastboot/ADB tools http://mirror2.streakdroid.com/manii/Tools/Fastboot+ADB.zip
Step 2: Unzip to a folder; say C:\Fastboot+ADB
Step 3: StreakMod recovery: Download the file recovery-v0.3.2.8-beta.zip (3.57 MB) http://forum.xda-developers.com/showthread.php?t=840326. Unzip and copy ‘recovery.img’ *to fastboot tools directory*(i.e. C:\Fastboot+ADB\Win32\recovery.img)
Step 4: Now Open the command prompt and by using the 'ls' command and 'cd' command navigate to the folder and your command prompt line show be exactly like C:\Fastboot+ADB\Win32\>
Step 5: Enter the command “fastboot -i 0x413c flash amss amss.mbn” copy and paste it without the inverted commas in the command prompt to flash the baseband and phone screen will show a line ending with exclamation.
Step 6: Enter the command “fastboot -i 0x413c flash dsp1 dsp1.mbn” copy and paste it without the inverted commas in the command prompt to flash the DSP and phone screen will show a line ending with exclamation.
Step 7: Enter the command “fastboot -i 0x413c reboot” inroder to reboot the device and hold the voluem rocker keys as adviced earlier to enter into the streakMod Revovery menu.
Procedure to upgrade to a customised rom :
link of video for assistance : http://www.youtube.com/watch?v=3izgMselF-k&feature=plcp
NOTE :
1. Follow every instruction provided to the point mentioned by the DEVELOPER specified on the page for PRE-installation,POST-installation requirements and procedures.
2. YOUR DEVICE IS YOUR RESPONSIBBILITY.NO ONE IS FORCING YOU TO UPGRADE TO A CUSTOMISED ROM.IF U BREAK OR END UP SCREWING YOUR DEVICE I AM NOT RESPONSIBLE ITS YOU ALONE WHO IS TO BE BLAMED.
Installation procedure :
1. Download the .zip file and without making any changes dont even rename it save it anywhere on the SD card.
2. TURN your device off.
3. While rebooting it hold the power button until the LED comes up i.e the softkey light and then leave the power button and hold the volume rockers and you will be taken to the black screen having three options .(FOR DELL STREAK)
4. For navigation use the volume rocker button and for selecting an option use the camera button.
5. Select "Software upgrade via Update.pkg on SD Card" in the menu
6. Go to the link provided for furthur assistance.
LINK FOR THE DJ STEVEN'S GINGER STREAK 2.4.4 :
Link : http://forum.xda-developers.com/wiki/Dell_streak_5/ROMs
Link for installation procedure : http://forum.xda-developers.com/showthread.php?t=1333010
ISSUES:
Issue i faced after flashing the above ROM was i wasnt able to check my balance nor i was able to rechange my phone it was coming up with the error Invalid Code or CMMI error.
Follow the below link for resolution :
ISSUE FIX Link : http://techienetizen.blogspot.com/2012/05/dell-streak-5-ussd-code-problem-fix-for.html
Steps for FIXING the issue:
1. Download the .zip file and place it anywhere on the Sd card of the phone.
2. Turn off the device and reboot it into revocery by selecting the option "Software upgrade via Update.pkg on SD Card" in the menu
3. In recovery menu select upgate using update.zip
4. In the next screen select choose the zip file
5. Next screen will show all the files present in the SD card select the USSD_fix file you have downloaded
6. Select the opetion install from USSD_fix.zip file
7. The process will run and once its done
8. will promt your and just navigate back using the back button on the softkey on dell streak
9. Select the option reboot the phone now.
Hopefully the issue for me was resolved and i wish so will it be for you aswell.
LINK FOR LONGHORN 2.9.1 :
Link : http://forum.xda-developers.com/wiki/Dell_streak_5/ROMs
Link for installation procedure : http://forum.xda-developers.com/showthread.php?t=1355878
ISSUES:
The only issue i have faced after flashing Longhorn 2.9.1 was on my first start up after upgrade my device was just stuck & circelling on the bootanimation i.e., “XBOX360”
RESOLUTION:
Try longhorn 2.7 first and then wipe data/factory reset , wipe dalvik cache and do dell factory default too...
if it manages to go into lockscreen... you can then try to flash longhorn 2.9 and guess what it worked for me and incase you may experience this issue hope it resolves yours too.
Steps for FLASHING the .zip files by streamMod revovery menu:
1. Download the .zip file and place it anywhere on the Sd card of the phone.
2. Turn off the device and reboot it into revocery by selecting the option "Software upgrade via Update.pkg on SD Card" in the menu
3. In recovery menu select upgate using update.zip
4. In the next screen select choose the zip file
5. Next screen will show all the files present in the SD card select the .zip file you have downloaded
6. Select the opetion install from .zip file
7. The process will run and once its done
8. will promt your and just navigate back using the back button on the softkey on dell streak
9. Select the option reboot the phone now.
THE ABOVE SPECIFIED STEPS ARE COMMON FOR ALL THE LINKS PROVIDED
LINKS OF ISSUE:
Please check the page 41 for screen auto rotate issues
Link : http://forum.xda-developers.com/showthread.php?t=1355878&highlight=portrait&page=41
Please refer page 47 for to set portrait as the default screen orientation
Link : http://forum.xda-developers.com/showthread.php?t=1355878&page=47
For LED Notification and camera FIX for longhorn 2.9 please refer page 64
Link : http://forum.xda-developers.com/showthread.php?t=1355878&page=64
Link for wifi fix for longhorm 2.9.1 please check the below page 66
Link : http://forum.xda-developers.com/showthread.php?t=1355878&page=66
Patch for longhorm 2.9.1 please check the below page 75
Link : http://forum.xda-developers.com/showthread.php?t=1355878&page=75
LINKS OF SOME BOOTANIMATIONS:
dell streak logos bootanimation please check the below link
Link : http://forum.xda-developers.com/showthread.php?t=1823825
Ice cream snadwich bootanimation please check the below link out
Link : http://forum.xda-developers.com/showthread.php?t=1298338
- A NEWBIE
Not sure if this has been posted already but, this exact process for rooting works for almost ANY android device the program is very easy to use and I will do my best to try and explain how it works.
First, download this ROOTING TOOL
BLU Tank 4.5 Recovery Provided by lopestom: DOWNLOAD
SuperUser: DOWNLOAD
MobileUncle Tools: DOWNLOAD
Now that you have all of these files I will teach you step by step to achieve root + CWM.
ROOTING:
1. Extract the rooting tool to your computer the folder should be called "VROOT" now open the file Root.exe and this image will appear. (MAKE SURE YOUR PHONE IS CONNECTED VIA USB WITH INSTALLED DRIVERS)
2. CLICK ROOT.
The program will install a chinese version of superuser which we will delete after CWM installation. (YOUR PHONE WILL REBOOT, THIS IS NORMAL)
3. After reboot, you may now exit the program.
CWM:
1. Now that we are rooted, we can install CWM. While your phone is still plugged into your computer place the MobileUncleTools.apk into your phones storage.
2. Exract the recovery "BLU Tank 4.5.zip" to your computer and put the recovery image file into your phone.
3. Go to your phone and load the application "File Manager" and install the program MobileUncletools.apk that you just put on your phone.
4. Run the program Mobile Uncle Tools on your phone:
Next:
5. Once you Select the recovery.img your phone will prompt you to flash the recovery, click YES, it will then prompt you to reboot your phone into recovery then choose YES.
6. You should now be in CWM.
NOW TO REMOVE CHINESE SUPERUSER.
1. Choose to install a zip from SD CARD > Choose UPDATE-SuperSU-v1.41.zip > Install
2. CWM will remove chinese SU and you now have Chainfire SU.
Done.
swindillon said:
Not sure if this has been posted already but, this exact process for rooting works for almost ANY android device the program is very easy to use and I will do my best to try and explain how it works.
First, download this ROOTING TOOL
BLU Tank 4.5 Recovery Provided by lopestom: DOWNLOAD
SuperUser: DOWNLOAD
MobileUncle Tools: DOWNLOAD
Now that you have all of these files I will teach you step by step to achieve root + CWM.
ROOTING:
1. Extract the rooting tool to your computer the folder should be called "VROOT" now open the file Root.exe and this image will appear. (MAKE SURE YOUR PHONE IS CONNECTED VIA USB WITH INSTALLED DRIVERS)
2. CLICK ROOT.
The program will install a chinese version of superuser which we will delete after CWM installation. (YOUR PHONE WILL REBOOT, THIS IS NORMAL)
3. After reboot, you may now exit the program.
CWM:
1. Now that we are rooted, we can install CWM. While your phone is still plugged into your computer place the MobileUncleTools.apk into your phones storage.
2. Exract the recovery "BLU Tank 4.5.zip" to your computer and put the recovery image file into your phone.
3. Go to your phone and load the application "File Manager" and install the program MobileUncletools.apk that you just put on your phone.
4. Run the program Mobile Uncle Tools on your phone:
Next:
5. Once you Select the recovery.img your phone will prompt you to flash the recovery, click YES, it will then prompt you to reboot your phone into recovery then choose YES.
6. You should now be in CWM.
NOW TO REMOVE CHINESE SUPERUSER.
1. Choose to install a zip from SD CARD > Choose UPDATE-SuperSU-v1.41.zip > Install
2. CWM will remove chinese SU and you now have Chainfire SU.
Done.
Click to expand...
Click to collapse
I tried with no luck. Phone is already rooted with the same method you mentioned. I flash the recovery image using the app, and the phone reboots to the stock recovery mode.
I'm not running the phone on a stock firmware.. Could that be the problem?
Manar Aleryani said:
I tried with no luck. Phone is already rooted with the same method you mentioned. I flash the recovery image using the app, and the phone reboots to the stock recovery mode.
I'm not running the phone on a stock firmware.. Could that be the problem?
Click to expand...
Click to collapse
I have the SAME problem! SU ok but the phone reboots to the stock recovery.... My firmware is original... What I do now?
Sorry, but VROOT threads are being closed by the moderation team because they appear to be collecting information off of devices. So, until this method is verified to be working safely and without malware, I would advise everyone not to use this method. Please report them to the moderation team.
Thanks!
After trying many so time i successfully upgraded my Honor 6x BLL-L22 to oreo.
I don’t know about other brand of honor 6x but i assume that it will work on them too.
First thing you need is bootloader unlock. For this you can search google. there are tons of answer for bootloader unlocking. So, i am not discussing here.
Rebranding the honor 6x BLL-L22 to BLN-L22
1. Download HWOTA tools. Unzip it and Place HWOTA folder in C:/Users path.
2. Rename folder BLN to BLL inside OEMINFO folder of HWOTA
3. Download oeminfo.zip and extract oeminfo file and rename to oeminfoBLN.
4. Place oeminfoBLN file into BLL folder
5. Download these file Oreo 8.0.0.510
https://thin.at/H09WP
https://thin.at/TLSHHr8y
https://thin.at/CzcIFvbJ
6. Re-name the files update.zip, update_all_hw.zip, and update_data_public.zip to update
7. Now place it into HWOTA/update
8. Connect your phone on pc via usb and and boot into fastboot recovery mode (press volume down and power ) run update.bat from the HWOTA folder and it will install Nougot Version of TWRP in your Honor 6x.
9. Then it will ask you to run TWRP recovery, it will show you guide how to boot into twrp recovery (volume Up and power with usb connected to PC)
10. After booting to TWRP then press enter in command prompt in pc
11. Now select 2 script update method
12. Again select 2 change location method
13. Then it will list you different OEM to rebrand. Choose oeminfoBLN and press enter
14. It will rebrand your device into BLN-L22 indian version. After rebranding phone will automatically lock bootloader.
Installing Oreo 8.0.0.510
15. Again unlock bootloader
16. Follow above steps from 8 to 11
17. Now select 1 change firmware
18. Then it will install oreo 8.0.0.510 in your phone.
19. now phone will go to normal boot.
Installing Oreo 8.0.0.520
20. Now download this file (oreo 8.0.0.520)
https://thin.at/nDPkta
21. Extract the downloaded file the you will see update_sd.zip
22. Unzip update_sd.zip file to get out update.app and other files
23. Create a new dload folder and put all files with update.app
24. Format your SD card and put dload folder in root directory of SD card
25. Insert SD card in phone
26. Go to phone dialer press *#*#2846579#*#*
27. Select Software Upgrade
28. Now it will restart to install the updates
Installing vendor information (Oreo 8.0.0.520)
29. Unzip update_sd_BLN-L22_channel_in.zip file to get out update_ BLN-L22_channel_in.app and other files
30. Rename update_ BLN-L22_channel_in.app to update.app then create a new dload folder and put all other files with update.app that you just renamed it to do upgrade operation
31. Now format your sd card and put dload folder in the root directory of sdcard and do upgradation process via dialer method as mentioned above.
32. Now open your phone setting and look for system information
33. Taste the flavor of Oreo.
34. Now lock your bootloader (you can search google for it how to relock bootloader)
35. After locking bootloader, it will restart and reset phone.
Testing vendor applications
36. Setup your phone and look if vendor application is working well or not
37. Apply random theme from huawei theme manager
38. If theme manage not working and you are not getting magazine lock screen other application like Huawei health, FM, It seems that your vendor app is not working well:crying::crying:
Fixing vendor information
39. Now follow these steps.
40. Again, Unlock your bootloader
41. Install Huawei Multitools
https://thin.at/6CRchG
42. Go to bricks menu in MULTITOOL and install Huawei extractor tools
43. Huawei extractor tool application will open then select the update.app file that you renamed in vendor upgradation method.
44. Extract the files from it in a separate folder and copy userdata.img and cust.img into the C:/Users/HWOTA/tool/window
45. Go to C:/User/hwota/tool/window
46. Now go to address bar of C:/User/hwota/tool/window and delete all the path name and type cmd and press enter then you will go to command prompt.
47. Type fastboot devices and press enter, it will list your devices.
48. Type fastboot flash userdata userdata.img, it will flash userdata in your phone do not interrupt the process and let it complete.
49. Type fastboot flash cust cust.img, it will flash cust.img in your phone.
50. After completion of flashing lock your bootloader and again enjoy the taste of Oreo…:good::good::good:
UDATE: i will update the link soon. thank you for your patients...
I see. Thanks.
Once on Oreo, if the themes etc aren't working, simply unlock Bootloader, flash recovery, use HurUpdater to flash same Oreo ROM again (after formatting data partition with TWRP to decrypt it) followed by a factory reset with stock recovery
The links are not working. Can you please fix those?
Hey I think these links will work
Tusohian said:
The links are not working. Can you please fix those?
Click to expand...
Click to collapse
https://forum.xda-developers.com/honor-6x/how-to/guide-update-to-emui-8-t3807806
except hwota link I think they're pretty such the same. not sure tho haven't tried.
MOD ACTION:
Thread closed at the request of the OP.
## 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 orangefoxorangefox 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 OSThere 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 installyour 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 backnow disable usb debugging
unchecked the option : install app from unknow sources
### ROLLBACKIn 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 orangefoxorangefox 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 OSThere 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 installyour 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 backnow disable usb debugging
unchecked the option : install app from unknow sources
### ROLLBACKIn 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 orangefoxorangefox 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 OSThere 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 installyour 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 backnow disable usb debugging
unchecked the option : install app from unknow sources
### ROLLBACKIn 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