Xiaomi Redmi 1S - How to Root or Unroot (Safe - NO loss of Apps & Data!) - Xiaomi Redmi 1S

This is the guide how to root and unroot the Xiaomi Redmi 1S. via -Tothemobile
A. Steps for rooting:
Download the file update.zip to your PC (Mirror Link)
Connect your Redmi 1S via USB
Copy the file update.zip to the folder 'Computer\HM 1S\Internal storage' (root of internal storage, meaning the top most folder)
Disconnect your Redmi 1S properly from USB (use 'Safely Remove Hardware and Eject Media' from USB icon in Windows SysTray)
Boot into Mi-Recovery (for this launch the Updater app, press the menu/options button and from the menu choose 'Reboot to recovery mode')
In the Mi-recovery select and confirm 'English' (or Chinese if you are capable to understand)
Select and confirm 'Install update.zip to System', this will take one second
Select and confirm 'Reboot'
After reboot go to Security -> Permission and activate Root permission
Enjoy your rooted Redmi 1S
B. Steps for unrooting:
Go to Security -> Permission and deactivate Root permission
</strong> Download the file UnRootNative_Redmi1S.zip to your PC (>Mirror Link)
Connect your Redmi 1S via USB
Rename the file to update.zip and copy it to the folder 'Computer\HM 1S\Internal storage' (root of internal storage)
Disconnect your Redmi 1S properly (use 'Safely Remove Hardware and Eject Media' from USB icon in Windows SysTray)
Boot into Mi-Recovery (for this launch the Updater app, press the menu/options button and from the menu choose 'Reboot to recovery mode')
In the Mi-recovery select and confirm 'English' (or Chinese if you are capable to understand)
Select and confirm 'Install update.zip to System', this will take one second
Select and confirm 'Reboot'
Enjoy your unrooted Redmi 1S (MIUI version is back to xx.0, permission cannot be

working method.
thanks bro!

bo in my xiomi it dont have da option of updater what should i do
bo in my xiomi it dont have da option of updater what should i do

My device is showing unable to apply update .... Plzz help me ASAP im stuck!!!

Related

ALCATEL ot 918n (2.3.5 / 2.3.6) how to ROOT and install CWM RECOVERY for NOOB

NOTE: READ with UNDERSTANDING and CAREFULLY FOLLOW THE STEPS INDICATED BELOW
IM NOT HELD RESPONSIBLE IF SOMETHING BAD HAPPENED TO UR PHONE
GOT IT? GET IT? GOODDDDDDDDD!!!!!... ^_^
*****Installing Custom Recovery for Unrooted / Rooted Phones*****
REQUIREMENTS:
DOWNLOAD THIS >>>>>>>>>> https://www.dropbox.com/s/z71f7ao9wio6vvi/download this.zip
note --->> extract all the RAR files in DOWNLOAD THIS folder
1. Android Usb Driver (PDA Net)
2. Android MT65xx PreLoader driver (xp/vista/7)
3. Android MT65xx Vcom driver (xp/vista/7) use this in case if PreLoader won't work
4. Alcatel One Touch Installer (use this IN CASE MT65xx PreLoader and Vcom drivers doesn't work)
5. SP Flash Tool
6. SCATTER FILE
7. RRECOVERY IMG FILE
8. USB DATA CABLE of your phone
9. YOUR DEVICE
10. USB DEBUGGING ENABBLED on your device -->>> (Settings > Application > Development > USB debugging)
***************************************************************************
HOW TO:
1. Install Android USB Driver (PDAnet).
2. Turn off your phone. Then connect your phone via usb data cable.
>>> [ a ] Then an unknown device will appear instantly, it will disappear and then it will reappear. Right click on it and choose to update driver manually. Now locate the folder where your Android MT65xx PreLoader is. Then press OK / Next. If prompt, choose “INSTALL DRIVER ANYWAY” OR
>>> [ b ] Find new software mt65xx preloader. Then choose install the software from a list. Now locate the folder where your Android MT65xx PreLoader is.
**NOTE: If nothing happens after plugging then boot to recovery by TURn OFF first your ddevice then PRESS and HOLD POWER + VOL UP Button then see your notification area on your desktop then follow either [a] or above.
- Done. Now disconnect your phone from the computer. And make it sure that your phone is turned off before proceeding to step 3..
3. Extract downloaded files to one folder for easy locating of the files. Open SP Flash Tool. Then choose scatter loading.
{
"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"
}
4. Look and find the scatter text file and open it.
note: the ver of scatterfile to choose should be the same ver of your device ( ex. ur device is 2.3.6 the you should choose 2.3.6 scater file)
5. Ignore and tick OK.
6. Check the box with the name "Recovery". Then look for the downloaded recovery file.
And open it.
7. Tick Option from the menu and check USB Mode.
8. Tick the Download button. Note: Look at the image carefully before ticking the download button. Make it sure nothing else is checked.
9. Plug your cellphone via your usb cable. Then wait for it to be finish.
***NOTE: If your phone isn’t detected after plugging then boot to recovery by PRESSING + HOLD POWER + VOL UP Button THEN go back to step 2. or try to install Alcatel Android Manager
10. A yellow bar will appear. Wait for it to reach 100%.
11. Done. Congratulations. You successfully installed a "CUSTOM RECOVERY".
*****Rooting the phone******
Requirements:
- Unrooted Phone
- Accomplished the method above. Or a Custom Recovery is already Installed
- SuperUser Zip file
>>>>>>> http://www.4shared.com/rar/a0y6F3s6/superuser.html
password:
akosikhyla
How to:
1. Copy and paste the downloaded zip file to the root of your SD Card.
2. Turn Off your phone and open custom recovery by pressing and holding Power Button + Volume Up.
3. Install zip from sdcard
4. Choose zip from sdcard.
5. Choose the file downloaded. (Superuser zip file)
Then confirm update.(choose YES -Install SuperUser)
6. Reboot.
7. Look for an icon with an Android Face named "SuperUser".
8. Done. Congratulations. Your phone is now rooted.
when your done on the steps above you should UPDATE your cwm recovery( this is important for flashing CUSTOM ROMS..etc)
>>>> follow the steps below:
*****CWM RECOVERY by SIR MARK
----->>>
https://www.dropbox.com/s/c6gryly8x1nxu9w/CMW_recovery_by_mark.zip
1.place the zip file(CWM_recovery_by_mark.zip) to sd card
2.go to recovery mode (vol up+power)
3.select "install zip from sdcard" then select "chose zip from sdcard"
4.locate the CWM_recovery_by_mark.zip then choose yes
5.wait until installing process done "!"
6.reboot.. DONE
---------------------------------->>>>>>>>> (optional)
CWM RECOVERY of SERGEY
http://www.4shared.com/zip/ijDqcind/recovery_2_3_5-6-signed.html
**************
POSSIBLE PROBLEMS THAT you MIGHT ENCOUNTER
PROB: paRtition change... etc
ANS: possible you used wrong SCATTER FILE
PROB: your device is undetectable
ANS: might be on the USB PORT or not SUCCESSFUL in installing the driver
for more possible QUESTIONS and ANSWERS go here;
>>>>>>> https://www.facebook.com/groups/237...m/groups/237333346380882/doc/446069185507296/
*********
there ur good to flash any kind of roms u want.. CREDITS to those who made the files... ^_^
****CREDIT to SIR RAIN of Symbianize
to Obcenity for the real creator of Tutorial
to Jbazt_katuforzs for the Flash Tutorial
dont forget to say THANKS
zatanika said:
NOTE: READ with UNDERSTANDING and CAREFULLY FOLLOW THE STEPS INDICATED BELOW
IM NOT HELD RESPONSIBLE IF SOMETHING BAD HAPPENED TO UR PHONE
GOT IT? GET IT? GOODDDDDDDDD!!!!!... ^_^
*****Installing Custom Recovery for Unrooted / Rooted Phones*****
REQUIREMENTS:
DOWNLOAD THIS >>>>>>>>>> https://www.dropbox.com/s/ucdvhqlefmktgna/download this.zip
1. Android Usb Driver (PDA Net)
2. Android MT65xx PreLoader driver (xp/vista/7)
3. Android MT65xx Vcom driver (xp/vista/7) use this in case if PreLoader won't work
4. Alcatel One Touch Installer (use this IN CASE MT65xx PreLoader and Vcom drivers doesn't work)
5. SP Flash Tool
6. SCATTER FILE
7. RRECOVERY IMG FILE
8. USB DATA CABLE of your phone
9. YOUR DEVICE
10. USB DEBUGGING ENABBLED on your device -->>> (Settings > Application > Development > USB debugging)
***************************************************************************
HOW TO:
1. Install Android USB Driver (PDAnet).
2. Turn off your phone. Then connect your phone via usb data cable.
>>> [ a ] Then an unknown device will appear instantly, it will disappear and then it will reappear. Right click on it and choose to update driver manually. Now locate the folder where your Android MT65xx PreLoader is. Then press OK / Next. If prompt, choose “INSTALL DRIVER ANYWAY” OR
>>> [ b ] Find new software mt65xx preloader. Then choose install the software from a list. Now locate the folder where your Android MT65xx PreLoader is.
**NOTE: If nothing happens after plugging then boot to recovery by PRESSING HOLD POWER + VOL UP Button then see your notification area on your desktop then follow either [a] or above.
- Done. Now disconnect your phone from the computer. And make it sure that your phone is turned off before proceeding to step 3..
3. Extract downloaded files to one folder for easy locating of the files. Open SP Flash Tool. Then choose scatter loading.
4. Look and find the scatter text file and open it.
5. Ignore and tick OK.
6. Check the box with the name "Recovery". Then look for the downloaded recovery file.
And open it.
7. Tick Option from the menu and check USB Mode.
8. Tick the Download button. Note: Look at the image carefully before ticking the download button. Make it sure nothing else is checked.
9. Plug your cellphone via your usb cable. Then wait for it to be finish.
***NOTE: If your phone isn’t detected after plugging then boot to recovery by PRESSING + HOLD POWER + VOL UP Button THEN go back to step 2. or try to install Alcatel Android Manager
10. A yellow bar will appear. Wait for it to reach 100%.
11. Done. Congratulations. You successfully installed a "CUSTOM RECOVERY".
*****Rooting the phone******
Requirements:
- Unrooted Phone
- Accomplished the method above. Or a Custom Recovery is already Installed
- SuperUser Zip file
>>>>>>> http://www.4shared.com/zip/EahpxSml/Superuser-312_-efghi-signed.html
How to:
1. Copy and paste the downloaded zip file to the root of your SD Card.
2. Turn Off your phone and open custom recovery by pressing and holding Power Button + Volume Up.
3. Install zip from sdcard
4. Choose zip from sdcard.
5. Choose the file downloaded. (Superuser zip file)
Then confirm update.(choose YES -Install SuperUser)
6. Reboot.
7. Look for an icon with an Android Face named "SuperUser".
8. Done. Congratulations. Your phone is now rooted.
****CREDIT to SIR RAIN of Symbianize
to Obcenity for the real creator of Tutorial
to Jbazt_katuforzs for the Flash Tutorial
when your done on the steps above FLASH CMW RECOVERY by MARK, its universal CMW recovery for CUSTOMIZED ROM
*****CWM RECOVERY by SIR MARK
----->>>
https://www.dropbox.com/s/dfvth3ep9o8bu1u/CMW_recovery_by_mark.zip
1.place the zip file(CWM_recovery_by_mark.zip) to sd card
2.go to recovery mode (vol up+power)
3.select "install zip from sdcard" then select "chose zip from sdcard"
4.locate the CWM_recovery_by_mark.zip then choose yes
5.wait until installing process done "!"
6.reboot.. DONE
---------------------------------->>>>>>>>> (optional)
CWM RECOVERY of SERGEY
------> after accomplishing the steps above DL this zip file >>>>> https://www.dropbox.com/s/3d1umegiill2s3s/recovery_2_3_5-6-signed.zip
-------> put it on the root of ur sdcard then flash it
*turn off your device , vol up+power, > install zip frm sd > chose zip file then flash it..
**************
POSSIBLE PROBLEMS THAT you MIGHT ENCOUNTER
PROB: paRtition change... etc
ANS: possible you used wrong SCATTER FILE
PROB: your device is undetectable
ANS: might be on the USB PORT or not SUCCESSFUL in installing the driver
for more possible QUESTIONS and ANSWERS go here;
>>>>>>> https://www.facebook.com/groups/237...m/groups/237333346380882/doc/446069185507296/
*********
there ur good to flash any kind of roms u want.. CREDITS to those who made the files... ^_^
dont forget to say THANKS
Click to expand...
Click to collapse
thank ypu so much your tut 100% works in my alcatel one touch 918N ,,,,
diordna_j said:
thank ypu so much your tut 100% works in my alcatel one touch 918N ,,,,
Click to expand...
Click to collapse
glad to help.. ^_^
password for superuser.rar
working fine, thank you
flipsonder29 said:
password for superuser.rar
Click to expand...
Click to collapse
password: akosikhyla
Help! After putting the downloaded zip file to my SD Card then turned off the phone and reboot by pressing the power button + volume up it displays the android symbol and Im stuck with it. Basically i cant open my phone. How can i fix this problem? please help!
ginger09 said:
Help! After putting the downloaded zip file to my SD Card then turned off the phone and reboot by pressing the power button + volume up it displays the android symbol and Im stuck with it. Basically i cant open my phone. How can i fix this problem? please help!
Click to expand...
Click to collapse
wew..why on earth u put the downloaded files on your sdcard? what files you put on it?
help
zatanika said:
NOTE: READ with UNDERSTANDING and CAREFULLY FOLLOW THE STEPS INDICATED BELOW
IM NOT HELD RESPONSIBLE IF SOMETHING BAD HAPPENED TO UR PHONE
GOT IT? GET IT? GOODDDDDDDDD!!!!!... ^_^
*****Installing Custom Recovery for Unrooted / Rooted Phones*****
REQUIREMENTS:
DOWNLOAD THIS >>>>>>>>>> https://www.dropbox.com/s/ucdvhqlefmktgna/download this.zip
note --->> extract all the RAR files in DOWNLOAD THIS folder
1. Android Usb Driver (PDA Net)
2. Android MT65xx PreLoader driver (xp/vista/7)
3. Android MT65xx Vcom driver (xp/vista/7) use this in case if PreLoader won't work
4. Alcatel One Touch Installer (use this IN CASE MT65xx PreLoader and Vcom drivers doesn't work)
5. SP Flash Tool
6. SCATTER FILE
7. RRECOVERY IMG FILE
8. USB DATA CABLE of your phone
9. YOUR DEVICE
10. USB DEBUGGING ENABBLED on your device -->>> (Settings > Application > Development > USB debugging)
***************************************************************************
HOW TO:
1. Install Android USB Driver (PDAnet).
2. Turn off your phone. Then connect your phone via usb data cable.
>>> [ a ] Then an unknown device will appear instantly, it will disappear and then it will reappear. Right click on it and choose to update driver manually. Now locate the folder where your Android MT65xx PreLoader is. Then press OK / Next. If prompt, choose “INSTALL DRIVER ANYWAY” OR
>>> [ b ] Find new software mt65xx preloader. Then choose install the software from a list. Now locate the folder where your Android MT65xx PreLoader is.
**NOTE: If nothing happens after plugging then boot to recovery by TURn OFF first your ddevice then PRESS and HOLD POWER + VOL UP Button then see your notification area on your desktop then follow either [a] or above.
- Done. Now disconnect your phone from the computer. And make it sure that your phone is turned off before proceeding to step 3..
3. Extract downloaded files to one folder for easy locating of the files. Open SP Flash Tool. Then choose scatter loading.
4. Look and find the scatter text file and open it.
note: the ver of scatterfile to choose should be the same ver of your device ( ex. ur device is 2.3.6 the you should choose 2.3.6 scater file)
5. Ignore and tick OK.
6. Check the box with the name "Recovery". Then look for the downloaded recovery file.
And open it.
7. Tick Option from the menu and check USB Mode.
8. Tick the Download button. Note: Look at the image carefully before ticking the download button. Make it sure nothing else is checked.
9. Plug your cellphone via your usb cable. Then wait for it to be finish.
***NOTE: If your phone isn’t detected after plugging then boot to recovery by PRESSING + HOLD POWER + VOL UP Button THEN go back to step 2. or try to install Alcatel Android Manager
10. A yellow bar will appear. Wait for it to reach 100%.
11. Done. Congratulations. You successfully installed a "CUSTOM RECOVERY".
*****Rooting the phone******
Requirements:
- Unrooted Phone
- Accomplished the method above. Or a Custom Recovery is already Installed
- SuperUser Zip file
>>>>>>> http://www.4shared.com/rar/a0y6F3s6/superuser.html
password:
akosikhyla
How to:
1. Copy and paste the downloaded zip file to the root of your SD Card.
2. Turn Off your phone and open custom recovery by pressing and holding Power Button + Volume Up.
3. Install zip from sdcard
4. Choose zip from sdcard.
5. Choose the file downloaded. (Superuser zip file)
Then confirm update.(choose YES -Install SuperUser)
6. Reboot.
7. Look for an icon with an Android Face named "SuperUser".
8. Done. Congratulations. Your phone is now rooted.
when your done on the steps above you should UPDATE your cwm recovery( this is important for flashing CUSTOM ROMS..etc)
>>>> follow the steps below:
*****CWM RECOVERY by SIR MARK
----->>>
https://www.dropbox.com/s/dfvth3ep9o8bu1u/CMW_recovery_by_mark.zip
1.place the zip file(CWM_recovery_by_mark.zip) to sd card
2.go to recovery mode (vol up+power)
3.select "install zip from sdcard" then select "chose zip from sdcard"
4.locate the CWM_recovery_by_mark.zip then choose yes
5.wait until installing process done "!"
6.reboot.. DONE
---------------------------------->>>>>>>>> (optional)
CWM RECOVERY of SERGEY
http://www.4shared.com/zip/ijDqcind/recovery_2_3_5-6-signed.html
**************
POSSIBLE PROBLEMS THAT you MIGHT ENCOUNTER
PROB: paRtition change... etc
ANS: possible you used wrong SCATTER FILE
PROB: your device is undetectable
ANS: might be on the USB PORT or not SUCCESSFUL in installing the driver
for more possible QUESTIONS and ANSWERS go here;
>>>>>>> https://www.facebook.com/groups/237...m/groups/237333346380882/doc/446069185507296/
*********
there ur good to flash any kind of roms u want.. CREDITS to those who made the files... ^_^
****CREDIT to SIR RAIN of Symbianize
to Obcenity for the real creator of Tutorial
to Jbazt_katuforzs for the Flash Tutorial
dont forget to say THANKS
Click to expand...
Click to collapse
Have a nice evening.
Please us your re-upload or another file sharing site in the http://forum.xda-developers.com/show...3162&nocache=1 page before you upload "download this.zip" file since it would need.
Thank you.
^_^
links updated.. ^_^
zatanika said:
links updated.. ^_^
Click to expand...
Click to collapse
DOWNLOAD THIS >>>>>>>>>> https://
www.dropbox.com/s/z71f7ao9wi...oad%
20this.zip - download not working. update please
thanks are you ako si khyla ?
thanks for this are you ako si kyla alcatel group?:fingers-crossed:
my phone just keeps on rebooting
what happened?
*****Rooting the phone******
Requirements:
- Unrooted Phone
- Accomplished the method above. Or a Custom Recovery is already Installed
- SuperUser Zip file
How to:
1. Copy and paste the downloaded zip file to the root of your SD Card.
2. Turn Off your phone and open custom recovery by pressing and holding Power Button + Volume Up.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I strictly followed all the rules but when I opened custom recovery, it stuck on the android logo (the start-up screen) for an hour.
can you please help me?
zatanika said:
links updated.. ^_^
Click to expand...
Click to collapse
i was stuck at step 3! huhuh my computer can't install my phone's driver, what shall i do?
zatanika said:
NOTE: READ with UNDERSTANDING and CAREFULLY FOLLOW THE STEPS INDICATED BELOW
IM NOT HELD RESPONSIBLE IF SOMETHING BAD HAPPENED TO UR PHONE
GOT IT? GET IT? GOODDDDDDDDD!!!!!... ^_^
*****Installing Custom Recovery for Unrooted / Rooted Phones*****
REQUIREMENTS:
DOWNLOAD THIS >>>>>>>>>> https://www.dropbox.com/s/z71f7ao9wio6vvi/download this.zip
note --->> extract all the RAR files in DOWNLOAD THIS folder
1. Android Usb Driver (PDA Net)
2. Android MT65xx PreLoader driver (xp/vista/7)
3. Android MT65xx Vcom driver (xp/vista/7) use this in case if PreLoader won't work
4. Alcatel One Touch Installer (use this IN CASE MT65xx PreLoader and Vcom drivers doesn't work)
5. SP Flash Tool
6. SCATTER FILE
7. RRECOVERY IMG FILE
8. USB DATA CABLE of your phone
9. YOUR DEVICE
10. USB DEBUGGING ENABBLED on your device -->>> (Settings > Application > Development > USB debugging)
***************************************************************************
HOW TO:
1. Install Android USB Driver (PDAnet).
2. Turn off your phone. Then connect your phone via usb data cable.
>>> [ a ] Then an unknown device will appear instantly, it will disappear and then it will reappear. Right click on it and choose to update driver manually. Now locate the folder where your Android MT65xx PreLoader is. Then press OK / Next. If prompt, choose “INSTALL DRIVER ANYWAY” OR
>>> [ b ] Find new software mt65xx preloader. Then choose install the software from a list. Now locate the folder where your Android MT65xx PreLoader is.
**NOTE: If nothing happens after plugging then boot to recovery by TURn OFF first your ddevice then PRESS and HOLD POWER + VOL UP Button then see your notification area on your desktop then follow either [a] or above.
- Done. Now disconnect your phone from the computer. And make it sure that your phone is turned off before proceeding to step 3..
3. Extract downloaded files to one folder for easy locating of the files. Open SP Flash Tool. Then choose scatter loading.
4. Look and find the scatter text file and open it.
note: the ver of scatterfile to choose should be the same ver of your device ( ex. ur device is 2.3.6 the you should choose 2.3.6 scater file)
5. Ignore and tick OK.
6. Check the box with the name "Recovery". Then look for the downloaded recovery file.
And open it.
7. Tick Option from the menu and check USB Mode.
8. Tick the Download button. Note: Look at the image carefully before ticking the download button. Make it sure nothing else is checked.
9. Plug your cellphone via your usb cable. Then wait for it to be finish.
***NOTE: If your phone isn’t detected after plugging then boot to recovery by PRESSING + HOLD POWER + VOL UP Button THEN go back to step 2. or try to install Alcatel Android Manager
10. A yellow bar will appear. Wait for it to reach 100%.
11. Done. Congratulations. You successfully installed a "CUSTOM RECOVERY".
*****Rooting the phone******
Requirements:
- Unrooted Phone
- Accomplished the method above. Or a Custom Recovery is already Installed
- SuperUser Zip file
>>>>>>> http://www.4shared.com/rar/a0y6F3s6/superuser.html
password:
akosikhyla
How to:
1. Copy and paste the downloaded zip file to the root of your SD Card.
2. Turn Off your phone and open custom recovery by pressing and holding Power Button + Volume Up.
3. Install zip from sdcard
4. Choose zip from sdcard.
5. Choose the file downloaded. (Superuser zip file)
Then confirm update.(choose YES -Install SuperUser)
6. Reboot.
7. Look for an icon with an Android Face named "SuperUser".
8. Done. Congratulations. Your phone is now rooted.
when your done on the steps above you should UPDATE your cwm recovery( this is important for flashing CUSTOM ROMS..etc)
>>>> follow the steps below:
*****CWM RECOVERY by SIR MARK
----->>>
https://www.dropbox.com/s/c6gryly8x1nxu9w/CMW_recovery_by_mark.zip
1.place the zip file(CWM_recovery_by_mark.zip) to sd card
2.go to recovery mode (vol up+power)
3.select "install zip from sdcard" then select "chose zip from sdcard"
4.locate the CWM_recovery_by_mark.zip then choose yes
5.wait until installing process done "!"
6.reboot.. DONE
---------------------------------->>>>>>>>> (optional)
CWM RECOVERY of SERGEY
http://www.4shared.com/zip/ijDqcind/recovery_2_3_5-6-signed.html
**************
POSSIBLE PROBLEMS THAT you MIGHT ENCOUNTER
PROB: paRtition change... etc
ANS: possible you used wrong SCATTER FILE
PROB: your device is undetectable
ANS: might be on the USB PORT or not SUCCESSFUL in installing the driver
for more possible QUESTIONS and ANSWERS go here;
>>>>>>> https://www.facebook.com/groups/237...m/groups/237333346380882/doc/446069185507296/
*********
there ur good to flash any kind of roms u want.. CREDITS to those who made the files... ^_^
****CREDIT to SIR RAIN of Symbianize
to Obcenity for the real creator of Tutorial
to Jbazt_katuforzs for the Flash Tutorial
dont forget to say THANKS
Click to expand...
Click to collapse
:good: thank you so much your thread is very 100% works device :fingers-crossed:
heeelllllpppp urgent
Help! After putting the downloaded zip file to my SD Card then turned off the phone and reboot by pressing the powerbutton + volume up it displays theandroid symbol and Im stuck withit. Basically i cant open my phone. How can i fix this problem?please help!
i m facing problem
Hi
I haved followed the above procedure mentioned by u, but since then i m not getting incoming calls and and the home button also stopped working, i dont know where i made mistake but plz help me coz this is my friends phone as he was facing low memory problem so by having faith on xda i took his phone to root it and uninstall unwanted apps to free up some space.
I also tried flashing two different custom roms but it goes in boot loop and i also flashed it with stock rom again boot loop problem.
Plz hel me its urgent i had to return this phone to my friend.
My phone USB is broken. Is there any way to install recovery, or root phone from sdcard, or any other method?
pano gagawin ko ?
kuya/ate pano po ito ? natapos ko nmn po yung sa may custom recovery pero kpag nag(vol up + power) di nmn nag iba yung recovery boot :3

[ROOT][UNROOT] Root & Unroot Your Xiaomi Redmi 1s

Xiaomi Redmi 1s Rooting Guide Is Here:​
REQUIREMENTS​
1) Redmi 1S Must Be Running On The Stock MIUI ROM.
2) USB Debugging Must Be Enabled. (Settings > About Phone > Tap The Build Number Five Times To Enable Developer Option > Go Back To Settings > Developer Options > Tick On USB Debugging).
3) Please Make A Backup To Avoid Panic In Case Of Data Loss.
ROOTING PROCESS
1) Download Both Attachments.
2) Copy These Files In The Root Directory Of Internal Storage Of The Phone.
3) Rename Root Xiaomi Redmi 1s By thedevilashish.zip To update.zip
4) Now Reboot To Recovery Mode (Open Updater App Which Is In Tools Folder)
5) In MI Recovery Menu You Need To Select Your Language And Reboot Into Recovery.
6) Select And Confirm ‘Install update.zip to System’
7) Reboot The Device. Select And Confirm The ‘Reboot’ Option
8) After Reboot, Go To Security Option And Allow The Permission To Activate The ‘Root Permission’.
9) Done! You Have Root Access Now
UNROOTING PROCESS
1) Deactivate The ‘Root Permission’ In Security Options
2) Rename Unroot Xiaomi Redmi 1s By thedevilashish.zip to Update.zip
3) Now Reboot To Recovery Mode (Open Updater App Which Is In Tools Folder)
4) Select And Confirm ‘Install update.zip to System’
5) Reboot The Device. Select And Confirm The ‘Reboot’ Option
6) You Have Sucessfully Unrooted Your Redmi 1s
IMPORTANT TO NOTE
1) Please Don't Update Your Xiaomi Redmi 1s After Rooting.
2) Modifying/Removing Any System App/File Will Not Let You Update Even After You Have Unrooted.
3) Never Edit Build.Prop.
4) Hit THANKS To Me
Please Hit THANKS For My Work ​
This Trick Just WONT Work
I see u have searched some forums and posted this but for your kind information it is not working now, I'm writing another thread for rooting indian version Redmi 1s
it will work
Pavan l said:
I see u have searched some forums and posted this but for your kind information it is not working now, I'm writing another thread for rooting indian version Redmi 1s
Click to expand...
Click to collapse
It will work. It is the same file that is found in the offcial miui forums.. just one thing, it WILL NOT work with the Mi recovery, it will work with other recoveries (TWRP,CWM) because he changed the signature, so signature verification will fail. If you're on stock recovery, go to this link and download both the original files from here... http://en.miui.com/thread-21881-1-1.html
Nice One
Very much agree on you bro :good:
Awesome.
Thanks a lot.
whether this method will work on the latest miui 7.1 stable which is going to release tomorrow??
or tell on which version it will work??
for different miui version different file required
thedevilashish said:
Xiaomi Redmi 1s Rooting Guide Is Here:​
REQUIREMENTS​
1) Redmi 1S Must Be Running On The Stock MIUI ROM.
2) USB Debugging Must Be Enabled. (Settings > About Phone > Tap The Build Number Five Times To Enable Developer Option > Go Back To Settings > Developer Options > Tick On USB Debugging).
3) Please Make A Backup To Avoid Panic In Case Of Data Loss.
ROOTING PROCESS
1) Download Both Attachments.
2) Copy These Files In The Root Directory Of Internal Storage Of The Phone.
3) Rename Root Xiaomi Redmi 1s By thedevilashish.zip To update.zip
4) Now Reboot To Recovery Mode (Open Updater App Which Is In Tools Folder)
5) In MI Recovery Menu You Need To Select Your Language And Reboot Into Recovery.
6) Select And Confirm ‘Install update.zip to System’
7) Reboot The Device. Select And Confirm The ‘Reboot’ Option
8) After Reboot, Go To Security Option And Allow The Permission To Activate The ‘Root Permission’.
9) Done! You Have Root Access Now
UNROOTING PROCESS
1) Deactivate The ‘Root Permission’ In Security Options
2) Rename Unroot Xiaomi Redmi 1s By thedevilashish.zip to Update.zip
3) Now Reboot To Recovery Mode (Open Updater App Which Is In Tools Folder)
4) Select And Confirm ‘Install update.zip to System’
5) Reboot The Device. Select And Confirm The ‘Reboot’ Option
6) You Have Sucessfully Unrooted Your Redmi 1s
IMPORTANT TO NOTE
1) Please Don't Update Your Xiaomi Redmi 1s After Rooting.
2) Modifying/Removing Any System App/File Will Not Let You Update Even After You Have Unrooted.
3) Never Edit Build.Prop.
4) Hit THANKS To Me
for different miui version different file required ​
Click to expand...
Click to collapse
Okay add them all.
niral.naik said:
Okay add them all.
Click to expand...
Click to collapse
I have tried on redmi 1s, i doesn't work. my phone is not "1sw", its 1s
---------- Post added at 01:20 PM ---------- Previous post was at 01:20 PM ----------
thedevilashish said:
Xiaomi Redmi 1s Rooting Guide Is Here:​
REQUIREMENTS​
1) Redmi 1S Must Be Running On The Stock MIUI ROM.
2) USB Debugging Must Be Enabled. (Settings > About Phone > Tap The Build Number Five Times To Enable Developer Option > Go Back To Settings > Developer Options > Tick On USB Debugging).
3) Please Make A Backup To Avoid Panic In Case Of Data Loss.
ROOTING PROCESS
1) Download Both Attachments.
2) Copy These Files In The Root Directory Of Internal Storage Of The Phone.
3) Rename Root Xiaomi Redmi 1s By thedevilashish.zip To update.zip
4) Now Reboot To Recovery Mode (Open Updater App Which Is In Tools Folder)
5) In MI Recovery Menu You Need To Select Your Language And Reboot Into Recovery.
6) Select And Confirm ‘Install update.zip to System’
7) Reboot The Device. Select And Confirm The ‘Reboot’ Option
8) After Reboot, Go To Security Option And Allow The Permission To Activate The ‘Root Permission’.
9) Done! You Have Root Access Now
UNROOTING PROCESS
1) Deactivate The ‘Root Permission’ In Security Options
2) Rename Unroot Xiaomi Redmi 1s By thedevilashish.zip to Update.zip
3) Now Reboot To Recovery Mode (Open Updater App Which Is In Tools Folder)
4) Select And Confirm ‘Install update.zip to System’
5) Reboot The Device. Select And Confirm The ‘Reboot’ Option
6) You Have Sucessfully Unrooted Your Redmi 1s
IMPORTANT TO NOTE
1) Please Don't Update Your Xiaomi Redmi 1s After Rooting.
2) Modifying/Removing Any System App/File Will Not Let You Update Even After You Have Unrooted.
3) Never Edit Build.Prop.
4) Hit THANKS To Me
Please Hit THANKS For My Work ​
Click to expand...
Click to collapse
I have tried on redmi 1s, i doesn't work. my phone is not "1sw", its 1s
which miui version you have?
jameschintu said:
I have tried on redmi 1s, i doesn't work. my phone is not "1sw", its 1s
---------- Post added at 01:20 PM ---------- Previous post was at 01:20 PM ----------
I have tried on redmi 1s, i doesn't work. my phone is not "1sw", its 1s
Click to expand...
Click to collapse
Tell me miui version .
I'll give proper file . hit thank s if I help you.
miui 7.5.1 STABLE (KHCMIDE) on redmi 1s
niral.naik said:
Tell me miui version .
I'll give proper file . hit thank s if I help you.
Click to expand...
Click to collapse
need proper root & unroot file
miui version?
45hook said:
need proper root & unroot file
Click to expand...
Click to collapse
For miui5/6/7 or miui 8 beta?
niral.naik said:
For miui5/6/7 or miui 8 beta?
Click to expand...
Click to collapse
for miui 7.5.1.0 stable on redmi 1s india version
45hook said:
for miui 7.5.1.0 stable on redmi 1s india version
Click to expand...
Click to collapse
Let you flash twrp by fast boot and than root by recovery .
No official native root available for your version .
Or choose miui8 beta dev ROM.
niral.naik said:
Let you flash twrp by fast boot and than root by recovery .
No official native root available for your version .
Or choose miui8 beta dev ROM.
Click to expand...
Click to collapse
http://forum.xda-developers.com/redmi-1s/general/root-guide-noob-t3424888 here a way to root
Could you please tell me how to paste in the root directory??
thedevilashish said:
Xiaomi Redmi 1s Rooting Guide Is Here:​
REQUIREMENTS​
1) Redmi 1S Must Be Running On The Stock MIUI ROM.
2) USB Debugging Must Be Enabled. (Settings > About Phone > Tap The Build Number Five Times To Enable Developer Option > Go Back To Settings > Developer Options > Tick On USB Debugging).
3) Please Make A Backup To Avoid Panic In Case Of Data Loss.
ROOTING PROCESS
1) Download Both Attachments.
2) Copy These Files In The Root Directory Of Internal Storage Of The Phone.
3) Rename Root Xiaomi Redmi 1s By thedevilashish.zip To update.zip
4) Now Reboot To Recovery Mode (Open Updater App Which Is In Tools Folder)
5) In MI Recovery Menu You Need To Select Your Language And Reboot Into Recovery.
6) Select And Confirm ‘Install update.zip to System’
7) Reboot The Device. Select And Confirm The ‘Reboot’ Option
8) After Reboot, Go To Security Option And Allow The Permission To Activate The ‘Root Permission’.
9) Done! You Have Root Access Now
UNROOTING PROCESS
1) Deactivate The ‘Root Permission’ In Security Options
2) Rename Unroot Xiaomi Redmi 1s By thedevilashish.zip to Update.zip
3) Now Reboot To Recovery Mode (Open Updater App Which Is In Tools Folder)
4) Select And Confirm ‘Install update.zip to System’
5) Reboot The Device. Select And Confirm The ‘Reboot’ Option
6) You Have Sucessfully Unrooted Your Redmi 1s
IMPORTANT TO NOTE
1) Please Don't Update Your Xiaomi Redmi 1s After Rooting.
2) Modifying/Removing Any System App/File Will Not Let You Update Even After You Have Unrooted.
3) Never Edit Build.Prop.
4) Hit THANKS To Me
Please Hit THANKS For My Work ​
Click to expand...
Click to collapse
I can access the root directory tell me where to place them
Saivirinchi said:
I can access the root directory tell me where to place them
Click to expand...
Click to collapse
Root directory of Internal Storage means; emulated/0/ or paste the file in internal memory not inside any folder but direct in internal storage..

Ignore the Anti-Rollback system for Redmi Note 5

Ignore the Anti-Rollback system for Redmi Note 5
All actions you take at your own risk and risk. The project management is not responsible for the consequences of its actions.
From the MIUI 10 developers have introduced for Xiaomi redmi Note 5 special system of "anti-rollback» (Anti-rollback), which blocks the possibility of installing the previous version of MIUI, in addition, can affect the installation of custom firmware When you try to roll back or install the custom firmware, you can get a "brick", so if you are the owner of the device, be careful to follow the steps below:
preparation:
Download the current firmware MIUI 10 Fastboot for redmi Note 5 from the official site: http://en.miui.com/a-234.html (? redmi Note 5 Latest global developer Fastboot version download file)
Download the My Flash program: http://portal.mi-room.ru/files/mi-flash/ and unzip it in C: /
Download the file for the installation of TWRP Recovery: adb.zip: http://files.mi-room.ru/files/pc/antirb/adb.zip
Download the latest MIUI MIRUM firmware from our site
On the C: / computer drive create a "Whyred" folder and extract the downloaded firmware «whyred_global_images_X.XX», as well as a file for adb.zip rekaveri installation
Installation:
We transfer the phone to Fastboot mode: to do so, turn it off and hold down the volume key and the power key until the corresponding mode appears.
Connect the phone to the computer
Start the My Flash program, click on select and select the folder with the unpacked firmware "whyred_global_images_X.XX".
In the lower right corner, select Clear all; otherwise, the boot loader will be blocked again.
Press update, the list should show the device
Press flash to start the firmware and wait for it to complete
After the firmware, the phone will start in the system.
Once the system has been fully started, turn off the phone again and press and hold the volume down button and the power button to enter the quick start mode. (the phone must be connected to the computer)
In the folder C: / whyred / adb / start the file start.bat
The installation process of the stub (dummy.img - to bypass the anti-rollback system) and the recovery TWRP (recovery.img) will start
After that, the phone will reboot in TWRP Recovery
We make a total destroy them partition data, the vendor, the system. We also recommend that you run the data format. (If an error occurs during deletion or formatting, simply restart TWRP Recovery and try again).
We remove the firmware previously downloaded from MIUI MiRum to the phone memory through MTP and install it through TWRP Recovery.
Fact! You can install more firmware securely through TWRP Recovery, as usual, the main thing is that the version is not inferior to the installed version.
Firmware with Anti-Rollback: http://files.mi-room.ru/roms/8.8.16/RedmiNote5_MIUI_8.8.16_MiRoom_8.1.0.zip
Source: http://portal.mi-room.ru/instrukcii/obhod-sistemy-anti-otkata-dlja-redmi-note-5/
Regards
vcx77 said:
... On the C: / computer drive create a "Whyred" folder and extract the downloaded firmware «whyred_global_images_X.XX», as well as a file for adb.zip rekaveri installation ...
Click to expand...
Click to collapse
Wrong forum! This is the vince forum. Your instructions are for whyred, which is a completely different device.

[GUIDE] Complete Guide: CFW Migration from MIUI 11

Install CFW Recovery on Redmi Note 8 Pro Included:
Flashing Antibrick Factory preloader
Flashing TWRP non CFW
Install CFW ROM
Flashing CFW Recovery.
STEP 1: Flash Anti Brick - Factory Preloader
The bootloader must be unlocked
Your Redmi Note 8 Pro must be in Android 9, If you are in Android 10, you must downgrade it to Android 9.* Read How to Downgrade Redmi note 8 pro MIUI 11 Android 10 to Android 9 MOD EDIT: Link Removed
Download Preloader FIX noBrick.zip and extract it
Enable USB Debugging
Connect the Phone to Computer
run "CMD" - Run as Administrator
In CMD command, go to "c:\platform-tools"
type "adb devices"
type "adb reboot bootloader"
Go to folder "Preloader FIX noBrick"
open flash_noauth.bat
Press any key to exit the command prompt windows
Press and hold Volume Up + Power key to enter Factory Preloader
Select [Normal Boot] Use Volume Up to select menu and Volume Down to confirm
STEP 2: Flash TWRP non CFW support
Enable USB Debugging
Connect the Phone to Computer
run "CMD" - Run as Administrator
In CMD command, go to "c:\platform-tools"
type "adb devices"
type "adb reboot bootloader"
Flashing twrpnoncfw.img* ( command: fastboot flash recovery twrpnoncfw.img )
Remove USB Cable
Press and hold Volume Up + Power key, when phone vibrate release power key, keep pressing volume up until preloader mode appears
Select [Recovery Mode] to enter TWRP Recovery
STEP 3: Install CFW Begonia
Select Wipe - select Dalvik, Cache, System, Swipe to confirm
Select Install ( If image file in SD Card: Select Storage - Micro SD card - OK ) - select begonia-A10-CFW_20200530.zip Swipe to confirm Flash
Install CFW Compatible ROM: Select Install ( If image file in SD Card: Select Storage - Micro SD card - OK ) - select cesiumOS.zip Swipe to confirm Flash ( you can use CFW compatible rom that you like )
Select Wipe - Format Data, type "yes" and Confirm
Select Reboot - Bootloader
STEP 4: Flash CFW Recovery
Connect Phone to Computer
Flashing TWRPCFW.img ( CFW Recovery ).* Go to CMD command type "fastboot flash recovery twrpcfw.img
Reboot phone: type "fastboot reboot"
Done! The phone now on CFW
Watch Video: https://youtu.be/Bgv8UTfd4Qw
Download:
Preloader FIX noBrick.zip
begonia-A10-CFW_20200530.zip Copy to SD Card
TWRP: cfw non recovery and cfw recovery copy to c:\platform-tools to make easier you can change the twrp image file to twrpnoncfw.img and twrpcfw.img
CFW ROM: CesiumOS ROM copy it to SD Card
Notes / Warning!
Use at your own risk, I'm not responsible for bricking your device.
Using the incorrect file may brick your device.
Make sure to backup your important data before flash it
thanx
another rn8p CFW'ed
with pixel experience rom
but in twrp internal storage is crypted
i followed all steps
it ask password for user [0]
perhaps one steps missing?
harmakhis said:
thanx
another rn8p CFW'ed
with pixel experience rom
but in twrp internal storage is crypted
i followed all steps
it ask password for user [0]
perhaps one steps missing?
Click to expand...
Click to collapse
Just type yours screenlock password/pin.
yeah i tried that but no success
harmakhis said:
yeah i tried that but no success
Click to expand...
Click to collapse
He forgot the first & second step... Which are the most important:
1. Turn OFF screen lock (pattern, pin or code)
2. Log out from Mi Account (if you are logged in)
Sent from my Redmi Note 8 Pro using Tapatalk
Good morning, I am terribly confused. Inside the Megapost, what is the noncwf and the cwf to flash? How do I know that my device has the cwf correctly? I hope you can guide me.
redymedan said:
to make easier you can change the twrp image file to twrpnoncfw.img and twrpcfw.img CFW ROM:
Click to expand...
Click to collapse
What do you mean change it??? Do you mean to say rename "twrp-CFW-3.3.1-0-begonia_UNOFFICIAL_0506.img" (the file that you linked) to "twrpnoncfw.img" and then make another copy and rename that one to "twrpcfw.img"?
eckre said:
What do you mean change it??? Do you mean to say rename "twrp-CFW-3.3.1-0-begonia_UNOFFICIAL_0506.img" (the file that you linked) to "twrpnoncfw.img" and then make another copy and rename that one to "twrpcfw.img"?
Click to expand...
Click to collapse
Yes, I mean rename it. twrp cfw support and TWRP non cfw
@redymedan I've removed the downgrade guide link from the first post, as it was linking to your blog/website. As per the Forum Rules:
5. Create a thread topic or post a message only once, this includes external links & streaming media.
...
...
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
Click to expand...
Click to collapse
Request you to please list the downgrade steps directly in the first post, or create a separate post here and link that post in the your first post as the downgrade guide.
what are the procedures downgrading from miui 11 10 to miui 11 9
Preloader FIX noBrick.zip is 404, please provide an alternative.
@redymedan your download links are broken
Totara said:
@redymedan your download links are broken
Click to expand...
Click to collapse
Please ask to moderator LOL

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

Categories

Resources