[ROOT] HTC A9S with magisk - HTC One A9s Guides, News, & Discussion

this is my firs thread D:
I'm going to teach you how to root your HTC A9S
REQUIREMENTS:
1) I have the bootloader unlocked, i dont know if is posible be root with locked bootloader
STEPS:
1) download and install magisk apk: http://magisk-manager.uptodown.com/android/descargar
2)download Boot.img patched with Magisk: https://drive.google.com/open?id=0B7kstm3RHGpkeExWQjZhbmJGdHM
3)download adb folder for flash boot.img: https://drive.google.com/file/d/0B7kstm3RHGpkNWZwVGhLNlMxOUk/view?usp=drivesdk
4)(you must have all HTC drivers in your pc: HTC Sync Manager) if you have the drivers, plug your device to the PC and copy and paste boot.img to adb folder
5)press Shift + right clic and select (open command window here / Open PowerSheld window here / open CMD here)
6)write the next line: ".\adb devices" (windows 10) / "adb devices" (windows 8.1-) (ONLY WHAT IS INSIDE THE QUOTATION MARKS)
7)if you haver the drivers properly installed your pc, the CMD looks like this: https://dl.xda-developers.com/4/2/8/5/1/9/2/Captura2.JPG?ey=ETeVFqxicI6Z6lSg7LQzoQ&ts=1506538864
8)ok, now write this: ".\adb reboot-bootloader" (windows 10) / "adb reboot-bootloader" (windows 8.1-) (ONLY WHAT IS INSIDE THE QUOTATION MARKS) your device is going to enter to white screen like this: https://dl.xda-developers.com/4/2/8/5/1/8/8/Captura.JPG?key=64lY1gzJZUOGg_uKLLNorw&ts=1506538854 and you must to select "boot download mode" (move in options with volume control and select with power button)
9)write ".\fastboot flash boot boot.img" (windows 10) / "fastboot flash boot boot.img" (windows 8.1-)" (ONLY WHAT IS INSIDE THE QUOTATION MARKS)
10)enjoy your root and magisk modules
TELL ME IF YOU WANT TO MAKE A COMPILATION OF THE BEST MODULES FOR MAGISK
THANKS TO @Captain_Throwback (Y)
PD: im sorry for my so bad english :'v im colombian

Download for ADB folder is spam
NO download available for the ADB folder, website is just a bunch of spam.

Dragon's Fedora said:
NO download available for the ADB folder, website is just a bunch of spam.
Click to expand...
Click to collapse
I share a new URL for download

Thanks
Jesus David Otero said:
I share a new URL for download
Click to expand...
Click to collapse
Yep worked great

Hi, nice, A9s root, but i think it should not be called amd but adb.
Who you have unlocked your phone? I geht this errormessagen to flash boot.img
Code:
C:\adb>fastboot.exe flash boot a9sboot.img
target reported max download size of 1185600000 bytes
sending 'boot' (10594 KB)...
OKAY [ 1.436s]
writing 'boot'...
(bootloader) HOSD CL#812859
FAILED (remote: 9 RU_SECURITY_FAIL boot and bootloader isn't BL_UNLOCKED)

linuxdep said:
Hi, nice, A9s root, but i think it should not be called amd but adb.
Who you have unlocked your phone? I geht this errormessagen to flash boot.img
Code:
C:\adb>fastboot.exe flash boot a9sboot.img
target reported max download size of 1185600000 bytes
sending 'boot' (10594 KB)...
OKAY [ 1.436s]
writing 'boot'...
(bootloader) HOSD CL#812859
FAILED (remote: 9 RU_SECURITY_FAIL boot and bootloader isn't BL_UNLOCKED)
Click to expand...
Click to collapse
Yes men, I have unlocked my bootloader and Android 6.0.1
Oh... And im Colombian, my english isn't so good :"u

and how did you unlock it?
HTCDEV webpage?

linuxdep said:
and how did you unlock it?
HTCDEV webpage?
Click to expand...
Click to collapse
Yeah men, YouTube have so much tutorial about that
I tried with this «https://youtu.be/2bevq4O-aEs» is in spanish but, the steps are simple

so a ****, now he has the phone comeback reset by the unlock ... SHEET
since I have probably read something over this.

linuxdep said:
so a ****, now he has the phone comeback reset by the unlock ... SHEET
since I have probably read something over this.
Click to expand...
Click to collapse
Yeah men, when you unlock your device, alwais is going to reset :"v

Who can read is clearly in the advantage.

Hi, yesterday i had updated magisk to my crypted phone, after reboot decrytion don't work.
I can read, "pin for decryption is correct, but i shut reset the phone" ok, so i reset my phone, but it is in loop. How can i reset to factory mode, without encryption?

Hi men, I was trying yesterday reset my device, but i couldn't; my device show this:
E: can not munt /data partition.
Error mounting /data partition
Error.

Jesus David Otero said:
this is my firs thread D:
I'm going to teach you how to root your HTC A9S
REQUIREMENTS:
1) I have the bootloader unlocked, i dont know if is posible be root with locked bootloader
STEPS:
1) download and install magisk apk: http://magisk-manager.uptodown.com/android/descargar
2)download Boot.img patched with Magisk: https://drive.google.com/open?id=0B7kstm3RHGpkeExWQjZhbmJGdHM
3)download adb folder for flash boot.img: https://drive.google.com/file/d/0B7kstm3RHGpkNWZwVGhLNlMxOUk/view?usp=drivesdk
4)(you must have all HTC drivers in your pc: HTC Sync Manager) if you have the drivers, plug your device to the PC and copy and paste boot.img to adb folder
5)press Shift + right clic and select (open command window here / Open PowerSheld window here / open CMD here)
6)write the next line: ".\adb devices" (windows 10) / "adb devices" (windows 8.1-) (ONLY WHAT IS INSIDE THE QUOTATION MARKS)
7)if you haver the drivers properly installed your pc, the CMD looks like this: https://dl.xda-developers.com/4/2/8/5/1/9/2/Captura2.JPG?ey=ETeVFqxicI6Z6lSg7LQzoQ&ts=1506538864
8)ok, now write this: ".\adb reboot-bootloader" (windows 10) / "adb reboot-bootloader" (windows 8.1-) (ONLY WHAT IS INSIDE THE QUOTATION MARKS) your device is going to enter to white screen like this: https://dl.xda-developers.com/4/2/8/5/1/8/8/Captura.JPG?key=64lY1gzJZUOGg_uKLLNorw&ts=1506538854 and you must to select "boot download mode" (move in options with volume control and select with power button)
9)write ".\fastboot flash boot boot.img" (windows 10) / "fastboot flash boot boot.img" (windows 8.1-)" (ONLY WHAT IS INSIDE THE QUOTATION MARKS)
10)enjoy your root and magisk modules
TELL ME IF YOU WANT TO MAKE A COMPILATION OF THE BEST MODULES FOR MAGISK
THANKS TO @Captain_Throwback (Y)
PD: im sorry for my so bad english :'v im colombian
Click to expand...
Click to collapse
Everything works as described. Thanks!

lol
it took me legit over 3 hours but looks like ive finally done it thank you so much

deleted

kativiti said:
deleted
Click to expand...
Click to collapse
what deleted?

Jesus David Otero said:
what deleted?
Click to expand...
Click to collapse
my post was deleted by me because isn't relevant anymore.

thats working greatly

How can i unroot it?

Related

[GUIDE] Huawei p7 root

Rooting Guide for Beginners
Before you begin:
- This guide is only meant for Windows!
If you have a MAC, then use this guide.
-To obtain root on b609, follow this guide.
-Make sure you have your drivers installed!
If not then download hisuite.
- Some people have reported that they are unable to obtain the unlocking code, only getting a server busy message. It can be fixed by setting the webpage's
language to Chinese!
How to root?
1. Request for your bootloader code.
- (if you are registering a new account choose to register with email and when you register your account for the first time, it will redirect you to the main page, from there select "download" on the website and from there select "unlock bootloader")
2. Download Minimal ADB and Fastboot.
3. Enable USB debugging.
- (Activate developer mode by going to your settings, about phone, then tap on the build number until it says you are a developer) .
4. Connect your phone to your computer.
5. Install Minimal ADB and Fastboot, complete the setup and when it asks to create a desktop icon then accept.
6. Open Minimal ADB and Fastboot and then type: adb reboot bootloader
- (don't be frightened if you see a red text saying your phone is locked)
7. Then type: fastboot oem unlock xxxxxxxxxxxx
- (replace the x with your code)
8. Download TWRP Recovery.
9. Copy twrp_p7-3.0.0-0.img to the Minimal ADB and Fastboot folder.
10. After placing TWRP to the folder, type into the Command Window: fastboot flash recovery twrp_p7-3.0.0-0.img
11. Now type into the Command Window: fastboot reboot
12. Download SuperSU and place the zip to your phone.
13. Now type into the Command Window: adb reboot recovery
14. Flash supersu.zip in the recovery.
15. Reboot your phone.
16. Install "Root Browser" from PlayStore and delete the setimmutable.list in /root/system/
Now you should have a fully rooted phone!
Download UPDATE-SuperSU-v2.65-20151226141550.zip
Copyright © 2011-2016 - Chainfire
https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
Maxi_69 said:
Download UPDATE-SuperSU-v2.65-20151226141550.zip
Copyright © 2011-2016 - Chainfire
https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
Click to expand...
Click to collapse
Thank you, I have updated the download link!
Hello!
You wrote "( replace the x with your code) "
Where i can find my "code"?
Many thanks!
Ment0r said:
Hello!
You wrote "( replace the x with your code) "
Where i can find my "code"?
Many thanks!
Click to expand...
Click to collapse
point n° 1
Oooooh...
*facepalm*
Many thanks
how do we remove twrp from the phone
please help
thanks
kgurm said:
how do we remove twrp from the phone
please help
thanks
Click to expand...
Click to collapse
Flash your stock recovery via adb or download flashify from the playstore and flash with that.
I get error when entering adb reboot bootloader. Should I navigate to some location when I open Minimal ADB and fastboot?
The error is: adb server is out of date. killing
adb server didnt ACK
*failed to start daemon*
error: unknown host service
Thank you it works like a charm
why delete 'delete the setimmutable.list in /ROOT/SYSTEM/' ?
Stike999 said:
I get error when entering adb reboot bootloader. Should I navigate to some location when I open Minimal ADB and fastboot?
The error is: adb server is out of date. killing
adb server didnt ACK
*failed to start daemon*
error: unknown host service
Click to expand...
Click to collapse
Yes, just open the desktop icon.
迅捷斥候 said:
Thank you it works like a charm
why delete 'delete the setimmutable.list in /ROOT/SYSTEM/' ?
Click to expand...
Click to collapse
You have to delete it because it doesn't allow editing of certain system files and because of that you can't have full root on your system until you remove it.
TheSproker said:
You have to delete it because it doesn't allow editing of certain system files and because of that you can't have full root on your system until you remove it.
Click to expand...
Click to collapse
Ok thanks
adb sideload
im trying to sideload firmware it always fails. do you have a ROM that will work.
thanks
TheSproker said:
I have seen may people asking how to root their phones, so I decided to make a guide and save You from the hassle of going through many different forums. This guide should work on any version of firmware and model of Huawei p7.
Before doing this make sure you have your drivers installed!
If not then download hisuite: http://consumer.huawei.com/minisite/HiSuite_en/
So, let's begin with the rooting! :
1. Request for your bootloader code: https://hwid5.vmall.com/oauth2/porta...in/login.php (if you are registering a new account choose to register with email)
2. Download Minimal ADB and Fastboot. http://forum.xda-developers.com/show....php?t=2317790
3. Enable USB debugging in your phone in the developer menu.
-(Enable developer mode by going to your settings, about phone, then tap on the build number until it says you are a developer) .
4. Connect your phone to your computer.
5. Install Minimal ADB and Fastboot, complete the setup and when it asks to create a desktop icon then accept.
6. Open Minimal ADB and Fastboot then type: adb reboot bootloader
(don't be frightened if you see a red text saying your phone is locked)
7. Then type: fastboot oem unlock xxxxxxxxxxxx
( replace the x with your code)
8. Download TWRP Recovery:
http://www46.zippyshare.com/v/SlBf3dvC/file.html
9. Copy the twrp-3.0.0-0.img to the Minimal ADB and Fastboot folder.
10. After placing TWRP to the folder, type into the Command Window: fastboot flash recovery twrp-3.0.0-0.img
11. Now type into the Command Window: fastboot reboot
12. Download SuperSU: https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
(Copy the Supersu.zip to your phone)
13. Now type into the Command Window: adb reboot recovery
14. In TWRP recovery flash the supersu.zip on your phone.
15. Reboot your phone.
16. Install X-Plore File Manager from PlayStore and delete the setimmutable.list in /ROOT/SYSTEM/
Now you should have a fully rooted phone !
If you have any questions, or suggestions please feel free to post them!
Click to expand...
Click to collapse
Can this be also done on mac? and also the link for downloading adb is broke wat should i refer to?
fahad69 said:
Can this be also done on mac? and also the link for downloading adb is broke wat should i refer to?
Click to expand...
Click to collapse
ADB and Fastboot Installation on MAC
Download : Androidv5.zip
1. Download and extract the above zip file.
2. Place the extracted folder on the desktop.
3. Open up a new terminal window.
4. Enter “cd Desktop/Androidv5” and press enter.
5. Enter “./ADB-Install-Mac.sh” and press enter.
The script will automatically install both adb and fastboot
I can't delete setimmutable.list
I get a message saying that" some items could not be deleted"
What should I do? I've completed all the other steps
austinewuncler said:
I can't delete setimmutable.list
I get a message saying that" some items could not be deleted"
What should I do? I've completed all the other steps
Click to expand...
Click to collapse
I just fixed that problem. Here's what i did:
1) have your phone ROOTED
2) install BUSYBOX from PLAYSTORE
3) install terminal emulator from PLAYSTORE
4)open Terminal Emulator and type in the following commands exactly:
su
mount -o rw,remount /system
cd system
rm –f /system/set_immutable.list
Check with X-plore if the set_immutable.list file is removed. Worked for me.
SenGAndroid said:
I just fixed that problem. Here's what i did:
1) have your phone ROOTED
2) install BUSYBOX from PLAYSTORE
3) install terminal emulator from PLAYSTORE
4)open Terminal Emulator and type in the following commands exactly:
su
mount -o rw,remount /system
cd system
rm â??f /system/set_immutable.list
Check with X-plore if the set_immutable.list file is removed. Worked for me.
Click to expand...
Click to collapse
It worked. Thank you very much
austinewuncler said:
It worked. Thank you very much
Click to expand...
Click to collapse
Can some one share stock recovery for build number: p7-l10c900b852 ?
Just broke my phone.. cant go out from recovery.. plz help.

[Guide][TWRP 3.1] How to Flash TWRP 3.1 on Lenovo ZUK Z2 Pro

The recoveries I post are and tested for Lenovo Z2 Zuk Z2 Pro ONLY!
Requirements:
Unlocked phone bootloader
and your phone booted in fastboot mode, otherwise it will not work.
Recovery.img is the same recovery found on Lenovo forums (link below)
Download from MEGA
Mega
Images are in thumbnails, click on them to enlarge
Short guide:
1) Simply extract the zip
2) Open cmd.exe and cd to the directory you extracted
3) Put your phone in fastboot mode by shutting down your phone, if you have unlocked your phone, you will get the following boot message
"Your phone cannot be checked for file corruption...etc", press Volume Down, hightlight "Fastboot" option, press Power Button
4) Paste the following commands:
Code:
fastboot -i 0x2b4c flash recovery recovery.img
fastboot -i 0x2b4c boot recovery.img
You should get the same results I got:
Long guide for newbies with Windows 10 [the same might be for Windows 7/8]:
1) Download the zip I have uploaded and extract it to a folder with your favorite archive manager [I use WinRAR] and open it
2) Hold Shift and Right Click on empty space in the folder
3) Left click on Open command window here or open command prompt here
4) Put your phone in fastboot mode by shutting down your phone, power it on and if you have unlocked your phone, you will get the following boot message
"Your phone cannot be checked for file corruption...etc", press Volume Down, hightlight "Fastboot" option, press Power Button
5) Paste the following commands by copying one line each time
Code:
fastboot -i 0x2b4c flash recovery recovery.img
fastboot -i 0x2b4c boot recovery.img
Contents of Uploaded RAR/Zip Archive:
adb.exe & fastboot.exe taken from adb-setup-1.4.3 zip/rar file, which was found on Google, don't have a source link
drivers where taken from ZUK_UsbDriver_1.0.6 zip/rar from a guide which was found on google, don't have a source link
recovery images where taken from the sources below
Sources & Thanks:
Recovery 3.0.8 was taken from:
https://forum.xda-developers.com/le...t/twrp-recovery-zuk-z2-standard-pro-t3415395/
credits go to @raimondomartire
Recovery 3.1 was found on official Lenovo Forums:
http://bbs.lenovomobile.cn/z2pro/t508552/
Google translated Lenovo Forum Page:
https://translate.google.com/transl...n&u=http://bbs.lenovomobile.cn/z2pro/t508552/
Q&A:
Q: I do the same steps you did, in command prompt after pasting your commands I get the following: "< waiting for device >
or I wait for long periods of time or I get a [ERROR] message
A: Chances are 100%, you have the wrong drivers or not drivers installed, most devices use their own drivers for fastboot mode or adb/fastboot commands
If you have a Lenovo Zuk Z2 Pro like me, your device needs to be identified as "ShenQi Composite ADB Interface" in device manager.
Not "Android" or "Android ADB Interface" and because of that fastboot does not identify your device at all
Q: Why do you use 2 commands (fastboot flash and fastboot flash) instead of one?
A: I am not 100% sure but I think fastboot flash recovery, flashes the recovery image you have selected [permanently, until you flash a different one] in your device and you can boot into it anytime you want without using a PC
and the second boots your phone with the recovery image but does not flash it, meaning you keep the stock or the one you have flashed in the past.
So I use the first commmand to permanently flash the recovery and the second to boot the phone in recovery mode without using any phone button combinations to boot into, saves me the time and hassle.
Q: Why use Chinese Custom Recovery instead of an English one?
A: This recovery has Chinese and English Language support. However, if you go to the translated google forum link which I have posted below, the thread's title is: Z2 pro Brush] [zuk z2Pro] Twrp Recovery 3.10 update, support Andrews 7.0 7.1 7.1.2ROM
So I think, Recoveries need to also support the custom ROMS you want to flash, also it is taken from official lenovo forums and chances are they have added more features and fixes.
For example using 3.0.8 recovery I couldn't install LineageOS 14.1 custom rom, I was getting Error 7 when I was trying to flash
Q: I get Error 7 when I try to Flash a Custom ROM:
A: Flash 3.1 TWRP Recovery, the custom recovery you have flashed, does not support the custom ROM you want to flash.
Q: I no longer have open command prompt here after intalling Windows 10 Creators update, I have Open Powershell instead, help?
A: Read the following webpage:
http://www.winhelponline.com/blog/cmd-here-windows-10-context-menu-add/
It provides a registry fix which adds/restores "open command window here" in Windows 10 Context Menu
Q: Custom Recovery 3.1 is in Chinese, how do I change it to English?
A: See the following images
Tested on Windows 10 x64 Pro with Creators Update, should work for Windows 7/8 as well.
If this guide helped you, please buy me a beer, thanks!
http://paypal.me/mariosffx
MariosFFX said:
The recoveries I post are and tested for Lenovo Z2 Zuk Z2 Pro ONLY!
Requirements:
Unlocked phone bootloader
and your phone booted in fastboot mode, otherwise it will not work.
Recovery.img is the same recovery found on Lenovo forums (link below)
Download from MEGA
https://mega.nz/#!zJhFCKRa!7FDyDKkqEL3bgz-lYBMf_Lj0RoMyzubg9tiZC3z9ttg
Images are in thumbnails, click on them to enlarge
Short guide:
1) Simply extract the zip
2) Open cmd.exe and cd to the directory you extracted
3) Put your phone in fastboot mode by shutting down your phone, if you have unlocked your phone, you will get the following boot message
"Your phone cannot be checked for file corruption...etc", press Volume Down, hightlight "Fastboot" option, press Power Button
4) Paste the following commands:
Code:
fastboot -i 0x2b4c flash recovery recovery.img
fastboot -i 0x2b4c boot recovery.img
You should get the same results I got:
Long guide for newbies with Windows 10 [the same might be for Windows 7/8]:
1) Download the zip I have uploaded and extract it to a folder with your favorite archive manager [I use WinRAR] and open it
2) Hold Shift and Right Click on empty space in the folder
3) Left click on Open command window here or open command prompt here
4) Put your phone in fastboot mode by shutting down your phone, power it on and if you have unlocked your phone, you will get the following boot message
"Your phone cannot be checked for file corruption...etc", press Volume Down, hightlight "Fastboot" option, press Power Button
5) Paste the following commands by copying one line each time
Code:
fastboot -i 0x2b4c flash recovery recovery.img
fastboot -i 0x2b4c boot recovery.img
Contents of Uploaded RAR/Zip Archive:
adb.exe & fastboot.exe taken from adb-setup-1.4.3 zip/rar file, which was found on Google, don't have a source link
drivers where taken from ZUK_UsbDriver_1.0.6 zip/rar from a guide which was found on google, don't have a source link
recovery images where taken from the sources below
Sources & Thanks:
Recovery 3.0.8 was taken from:
https://forum.xda-developers.com/le...t/twrp-recovery-zuk-z2-standard-pro-t3415395/
credits go to @raimondomartire
Recovery 3.1 was found on official Lenovo Forums:
http://bbs.lenovomobile.cn/z2pro/t508552/
Google translated Lenovo Forum Page:
https://translate.google.com/transl...n&u=http://bbs.lenovomobile.cn/z2pro/t508552/
Q&A:
Q: I do the same steps you did, in command prompt after pasting your commands I get the following: "< waiting for device >
or I wait for long periods of time or I get a [ERROR] message
A: Chances are 100%, you have the wrong drivers or not drivers installed, most devices use their own drivers for fastboot mode or adb/fastboot commands
If you have a Lenovo Zuk Z2 Pro like me, your device needs to be identified as "ShenQi Composite ADB Interface" in device manager.
Not "Android" or "Android ADB Interface" and because of that fastboot does not identify your device at all
Q: Why do you use 2 commands (fastboot flash and fastboot flash) instead of one?
A: I am not 100% sure but I think fastboot flash recovery, flashes the recovery image you have selected [permanently, until you flash a different one] in your device and you can boot into it anytime you want without using a PC
and the second boots your phone with the recovery image but does not flash it, meaning you keep the stock or the one you have flashed in the past.
So I use the first commmand to permanently flash the recovery and the second to boot the phone in recovery mode without using any phone button combinations to boot into, saves me the time and hassle.
Q: Why use Chinese Custom Recovery instead of an English one?
A: This recovery has Chinese and English Language support. However, if you go to the translated google forum link which I have posted below, the thread's title is: Z2 pro Brush] [zuk z2Pro] Twrp Recovery 3.10 update, support Andrews 7.0 7.1 7.1.2ROM
So I think, Recoveries need to also support the custom ROMS you want to flash, also it is taken from official lenovo forums and chances are they have added more features and fixes.
For example using 3.0.8 recovery I couldn't install LineageOS 14.1 custom rom, I was getting Error 7 when I was trying to flash
Q: I get Error 7 when I try to Flash a Custom ROM:
A: Flash 3.1 TWRP Recovery, the custom recovery you have flashed, does not support the custom ROM you want to flash.
Q: I no longer have open command prompt here after intalling Windows 10 Creators update, I have Open Powershell instead, help?
A: Read the following webpage:
http://www.winhelponline.com/blog/cmd-here-windows-10-context-menu-add/
It provides a registry fix which adds/restores "open command window here" in Windows 10 Context Menu
Q: Custom Recovery 3.1 is in Chinese, how do I change it to English?
A: See the following images
Tested on Windows 10 x64 Pro with Creators Update, should work for Windows 7/8 as well.
If this guide helped you, please buy me a beer, thanks!
http://paypal.me/mariosffx
Click to expand...
Click to collapse
Thanks for this.
I'm waiting for delivery of a Z2 Pro and getting necessary stuff ready.
The Mega link wants a Decrypt key.
bluegrass55 said:
Thanks for this.
I'm waiting for delivery of a Z2 Pro and getting necessary stuff ready.
The Mega link wants a Decrypt key.
Click to expand...
Click to collapse
check again, the link is with decryption key.
I have double checked and made sure it was with the key.
I've tried again on Chrome,IE and Firefox but still get Decrypt message.
Do you copy and paste the link or you click on it?
Seems to me you copy and paste it.
Because the link is way too big, xda forums shorten it (notice the dots).
Click the link don't copy and paste iit
Finally managed to download it.
I clicked on the link in Chrome & it worked. Firefox didn't like it.
Thanks for the help.
fastboot claims to work, but doesn't
Code:
[email protected] ~/Downloads> fastboot -i 0x2b4c flash recovery twrp.img
target reported max download size of 1610612736 bytes
sending 'recovery' (18372 KB)...
OKAY [ 0.525s]
writing 'recovery'...
OKAY [ 0.145s]
finished. total time: 0.670s
[email protected] ~/Downloads> fastboot -i 0x2b4c reboot
rebooting...
finished. total time: 0.071s
Yet it goes back stock recovery. I've tried many variations of these commands, and always get the same results.
Philo.Phineas said:
Yet it goes back stock recovery. I've tried many variations of these commands, and always get the same results.
Click to expand...
Click to collapse
I am having problems with this Chinese twrp why not get fixed in the bootloader nor accept after even running without installing the program supersu via twrp
Hello All,
So originally I had TWRP 3.0 on my Z2 pro, and i attempted to just install the 3.1 img file from it(per another instructional video from the 7.1 mokee thread), and after installing the recovery file, my phone restarted, however now when I attempt to go into Recovery mode from the boot menu, my phone just goes to a blank screen.
I've tried to flash the image from CMD to see if i could essentially "re flash" 3.1 TWRP, but I always get this message(see attached image). What am i typing in wrong in CMD? As you can see, the directory name is right, as well as the fastboot code. I'm also IN fastboot mode on my phone already. I changed the file name of the folder containing the recovery from it's orginal name to make it shorter, but that should not matter at all. It seems as if CMD can't find the folder though?
Well XDA won't let me post a damn picture(how am i supposed to ask for help if i can't show people what im doing), so I guess if someone would PM me i can post the image.
People do you try to flash the recoveries right after unlocking your bootloader?
Because if you can't flash the recovery and it goes back to stock, it means you haven't fully unloxked your bootloader.
Make sure you run the last following command when you unlock your bootloader
Code:
fastboot -i 0x2b4c oem unlock-go
Then follow my guide here.
Also bootloader unlock tutorial here:
https://zukfans.eu/community/threads/zuk-z2--unlock.62/
Its for Zuk Z2, but the instructions are also for Z2 Pro.
MariosFFX said:
rl].
Click to expand...
Click to collapse
Any idea about what's happening with the situation in my post by chance? When I try to flash from CMD i get this text. "Z2 is not recognized as an internal or external command, operable program or batch file"
"Z2" is the name of the folder that contains the recovery image, so it seems like it's not finding it.
which files about phone mobile data at a TWRP BACKUP ? i see a lot of files inside of a twrp backup . i need to learn that . thanks.
jsto69 said:
Any idea about what's happening with the situation in my post by chance? When I try to flash from CMD i get this text. "Z2 is not recognized as an internal or external command, operable program or batch file"
"Z2" is the name of the folder that contains the recovery image, so it seems like it's not finding it.
Click to expand...
Click to collapse
Use directory names without spaces. Like c:\zuk and perform all operations from there.
Hello, this works fine very thx, but you have recent/new mix version?

Rooting my lg g4 h811 20x

Plzzz guyzz help me to root my lg g4 h811 20 x...
Tried all method... Any suggestions... Or ways to get result.. Want to root and install twrp on it..
Somnathdey said:
Plzzz guyzz help me to root my lg g4 h811 20 x...
Tried all method... Any suggestions... Or ways to get result.. Want to root and install twrp on it..
Click to expand...
Click to collapse
Can you share what sort of error messages you are getting? Screenshots, copy and paste, something? It'll give us a good starting point.
Somnathdey said:
Plzzz guyzz help me to root my lg g4 h811 20 x...
Tried all method... Any suggestions... Or ways to get result.. Want to root and install twrp on it..
Click to expand...
Click to collapse
Is your bootloader unlocked?
If so....
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard
In TWRP hit Install > Images... (bottom right corner) > select recovery.img on ext sdcard > select "recovery" > swipe.
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are in TWRP(custom recovery)
Say goodbye to your LG recovery....
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE....WIPE EVERYTHING......GOODBYE LG ROM. We backed it up step before
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
After typing fastboot oem unlock
Nothing working... In command it showing some error like cant find or such a things...... Cant do anything.. Tried.. Is there any other solutions...
Somnathdey said:
After typing fastboot oem unlock
Nothing working... In command it showing some error like cant find or such a things...... Cant do anything.. Tried.. Is there any other solutions...
Click to expand...
Click to collapse
Can you copy and paste the error to here on xda or post a screenshot? It would help if we knew exactly what it was doing.
Kudos to you for documenting a comprehensive and clear procedure for rooting this device... regardless if the advice was used.
deltadiesel said:
Is your bootloader unlocked?
If so....
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard
In TWRP hit Install > Images... (bottom right corner) > select recovery.img on ext sdcard > select "recovery" > swipe.
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are in TWRP(custom recovery)
Say goodbye to your LG recovery....
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE....WIPE EVERYTHING......GOODBYE LG ROM. We backed it up step before
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
Click to expand...
Click to collapse
marcgo said:
Kudos to you for documenting a comprehensive and clear procedure for rooting this device... regardless if the advice was used.
Click to expand...
Click to collapse
I have H81120X
The link posted does not work. It is taking me to a web page not found.
Anyone have a link to the required software?
tsmith154 said:
I have H81120X
The link posted does not work. It is taking me to a web page not found.
Anyone have a link to the required software?
Click to expand...
Click to collapse
The h811 Has an unlocked bootloader.
Go into settings, then developer settings and enable bootloader unlock.
Then follow any guide for rooting a Nexus 5x.
deltadiesel said:
Is your bootloader unlocked?
If so....
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
The link is down so I have been looking up the latest versions of everything. So far I have found:
*
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard
In TWRP hit Install > Images... (bottom right corner) > select recovery.img on ext sdcard > select "recovery" > swipe.
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are in TWRP(custom recovery)
Say goodbye to your LG recovery....
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE....WIPE EVERYTHING......GOODBYE LG ROM. We backed it up step before
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
Click to expand...
Click to collapse
The link is down so I have been looking up the latest stuff. So far I have:
* SuperSU-v2.79-201612051815
* twrp-3.0.2-0-h811
* open_gapps-arm-6.0-stock-20180401
* I also have found: open_gapps-arm-8.0-stock-20180401
Which one should I use Open-Gapps 6.0 or Open-Gapps 8.0
My phone is h81120x with 6.0.
I want to get my phone up to rooted, custom rom, with 8.0
* adb and fastboot
Use Open-Gapps 6.0 for Marshmallow
To regain root is easy.
Make sure you backup the phone just in case.
Copy root of you choice to external SD
Locate you TWRP and boot to bootloader.
Code:
adb reboot bootloader
In bootloader
Code:
fastboot boot
Press space once at the end, drag and drop TWRP file, and press Enter
Install root of your choice in TWRP
That's it
Thanks so much... Working for me after a full day trying... Thanks

how to get NVME file (bootloader code) unofficially

If uou dont know what you are doing,dont ask me
i will try to explain as far as i can.but dont ask stupid questions
-------------- Responsibility for your bricks I do not take over. Everyone does at their own peril and risk .--------------
Click to expand...
Click to collapse
Download this
1) Install the driver for the phone (download);
2) Install a special driver, find it in the Unlock_BootLoader \ Driver for Winwos \ DriverSetup.exe folder;
3) It is necessary to unwind the phone, remove the cover;
4) Open application and press start
5) Test point and connect the phone
6) it will start flashing then stop the proces in betwin the flash
7) wait for 30 sec your device will be in temporary unlocked bootloader mode
8) then flash TWRP (link ) by this command
Code:
fastboot flash recovery_ramdisk XXXXX.img
fastboot flash erecovery_ramdisk xxxxx.img
9) Done. Now you have TWRP_Mod installed in the Recovery section.
10) Then within twrp open adb connect phone to pc
11)type
Code:
adb shell
rm data -r
12)restart device
13) then type
Code:
adb pull /dev/block/sdd4
14) alternatively you can take nvme backup from twrp if u can extract that
you have the NVME file
Reference of nvme
Code: JH3KZQA0XD7G2KOZ
File from unlocked by the code phone is attached
Now somebody should look through binary code I guess trying to find the code or something pattern
S0bes said:
Code: JH3KZQA0XD7G2KOZ
File from unlocked by the code phone is attached
Now somebody should look through binary code I guess trying to find the code or something pattern
Click to expand...
Click to collapse
Remove the attachment. Dont nake it public. Its harmful
Check the refence try if that work
rajit said:
Remove the attachment. Dont nake it public. Its harmful
Is this twrp backup? Or u pulled via adb?
Click to expand...
Click to collapse
It's not mine and have been already published on 4pda for someone to find the spot in img file
I don't know how it had been pulled. I guess the person bought the code, unlocked the phone and made twrp backup
S0bes said:
Code: JH3KZQA0XD7G2KOZ
File from unlocked by the code phone is attached
Now somebody should look through binary code I guess trying to find the code or something pattern
Click to expand...
Click to collapse
An idea: How about backing up your nvme, then flashing this nvme and unlock the bootloader using this code, then restoring your backup
mehdi554 said:
An idea: How about backing up your nvme, then flashing this nvme and unlock the bootloader using this code, then restoring your backup
Click to expand...
Click to collapse
The img has been taken from another huawei device. not honor play
@rajit have you tried to force unlock boot? Without code just editing nvme file?
https://forum.xda-developers.com/9-lite/how-to/unlock-bootloader-code-t3859685 - step 5
please help me !
please help me !
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery_ramdisk TWRP_Mod.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (23542 KB)...
OKAY [ 0.700s]
writing 'recovery_ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.712s
Where is the test point?
And can i flash magisk file after unlocked bootloader temporar?
mohad2399 said:
please help me !
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery_ramdisk TWRP_Mod.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (23542 KB)...
OKAY [ 0.700s]
writing 'recovery_ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.712s
Click to expand...
Click to collapse
Do you connect the test point??
What's the point of unlocking bootloader if there aren't custom rom for this device yet
devilyuri said:
What's the point of unlocking bootloader if there aren't custom rom for this device yet
Click to expand...
Click to collapse
Custom rom isnt issue if you know how to what! Besides who asked you to take some interest here??
You can ignore! :fingers-crossed:
then how did this end? anyone managed to root using nvme honor play COR-L29 EMUI 9.1 ????
rajit said:
If uou dont know what you are doing,dont ask me
i will try to explain as far as i can.but dont ask stupid questions
Download this
1) Install the driver for the phone (download);
2) Install a special driver, find it in the Unlock_BootLoader \ Driver for Winwos \ DriverSetup.exe folder;
3) It is necessary to unwind the phone, remove the cover;
4) Open application and press start
5) Test point and connect the phone
6) it will start flashing then stop the proces in betwin the flash
7) wait for 30 sec your device will be in temporary unlocked bootloader mode
8) then flash TWRP (link ) by this command
9) Done. Now you have TWRP_Mod installed in the Recovery section.
10) Then within twrp open adb connect phone to pc
11)type
12)restart device
13) then type
14) alternatively you can take nvme backup from twrp if u can extract that
you have the NVME file
Reference of nvme
Click to expand...
Click to collapse
This is really work ?
[/COLOR]
Neverhopless said:
This is really work ?
Click to expand...
Click to collapse
It works but there's no code inside nvme
This method works on Emui 9 ?
What do you mean by "Unwind the phone"?
I have made a simple windows program to help parse a file to possibly find an unlock code.
You simply put exe with the file in the same dirrectory and run.
The program will ask for the file name to parse and then will show any character sequences that follow the pattern rules:
*Length >=16
* A-Z, a-z, 0-9 symbols
See pic example
In case of missing MSVCR120.dll error install https://www.microsoft.com/en-US/download/details.aspx?id=40784
.cpp file is just a source code
Can you fix the tools ?. Google Drive is not available
Link not working

How to make Bank Application work on my unlocked K20 Pro Indian ROM?

as title ... How to make Bank Application work on my unlocked K20 Pro Indian ROM?
it was mi 9t pro and i switched to the Miui 11 Indian ROM.
kindly explain steps and include links if any.
appreciate help.
NaAZoOR said:
as title ... How to make Bank Application work on my unlocked K20 Pro Indian ROM?
it was mi 9t pro and i switched to the Miui 11 Indian ROM.
kindly explain steps and include links if any.
appreciate help.
Click to expand...
Click to collapse
Flash magisk --> magisk hide.
Just watch that guy on YouTube.
https://youtu.be/MapOXLH5Gkg
Kollachi said:
Flash magisk --> magisk hide.
Just watch that guy on YouTube.
https://youtu.be/MapOXLH5Gkg
Click to expand...
Click to collapse
How to flash magisk?
kindly provide steps & links if any
Sent from my Redmi K20 Pro using XDA-Developers Legacy app
NaAZoOR said:
How to flash magisk?
kindly provide steps & links if any
Sent from my Redmi K20 Pro using XDA-Developers Legacy app
Click to expand...
Click to collapse
https://forum.xda-developers.com/k20-pro/how-to/guide-redmi-k20-pro-unlock-root-t3974127
Kollachi said:
https://forum.xda-developers.com/k20-pro/how-to/guide-redmi-k20-pro-unlock-root-t3974127
Click to expand...
Click to collapse
the below quote includes steps to flash TWRP & Magisk from the link you provided, my question is:
after rooting via Magisk, am i able to get OTA updates from Xiaomi for the device normally or just like the old days, once rooted no more updates to come?
and is it sure that bank app will work normally after flashing Magisk??
FLASHING TWRP & ROOTING
Alright, you got all the software tools and now we're ready to proceed with flashing TWRP and Magisk.
With your phone powered on normally, plug your device into your computer with the USB cable.
Pull down on the screen to display the notifications. One of them should read "Android System" and indicate how the phone is interacting with your computer as a connected device. Switch it to "File Transfer." Your phone should now show up as a drive on your computer.
Open the "Redmi K20 Pro" drive on your computer and then open the "Internal shared storage" folder (it should be the only folder).
Drag and drop the Magisk.zip and the Disable-Force-Encryption-Treble.zip into that folder.
**SIDE NOTE: Some guides suggest that you wait until you're in TWRP to transfer these files. That's fine. To do so, wait until you're in the TWRP interface and then select "Mount" and "Enable MTP." Your phone's internal storage should appear as a device on your computer and you can then transfer the .zips.
Once transferred, unplug your phone from the computer and power it off.
Enter into Fastboot mode by pressing and and holding down the Volume Down button and the Power button at the same time. It may take several seconds. It will vibrate and then boot your phone into Fastboot mode.
Next, connect your phone to your computer with the USB cable.
Once you connect your phone to the computer via USB, you should hear the computer recognize the phone but you may not see it show up as a drive. That's okay.
Go to your computer and open a command line interface in the ADB folder (if you're sticking with my recommendation, it will be the "platform-tools" folder).
**NOTE: If you chose the Auto Install option of TWRP, you can simply double-click the file "flash_twrp.bat" and then skip to the next section (TWRP INTERFACE).
**TRICK: Go to the folder where you have the ADB file adb.exe and click in the file pathway (where it says "C:\Users\Username\Downloads\platform-tools_r29.0.4-windows\platform-tools" or whatever). Highlight and delete that file pathway, and instead type "cmd". Hit enter and it will open a terminal window already in the proper directory.
**SIDE NOTE: If you installed ADB/Fastboot universally, you can simply open the command line interface by clicking on Start and typing "cmd" to open a terminal window. Once in the terminal window, you can "cd" or change directory to the one where you have ADB. Also, you can use Powershell, but you may need to preference each Fastboot command with "./."
In that terminal window, make sure you're in the folder with adb.exe and then type this command:
fastboot devices
This command looks to make sure that the Fastboot platform recognizes your device. Next to "Fastboot Devices," you should see a series of numbers and letters. That series of numbers and letters is your phone identifier.. If you do not see any numbers/letters, then Fastboot does not see your phone and you need to troubleshoot the situation.
Next, type in the following command:
fastboot flash recovery twrp.img
What this is doing is identifying what platform to use (fastboot), telling it what you want to do (flash), in which directory you want to perform that action (recovery), and what file to use to flash it (twrp.img). It is important to note that, depending on how you installed TWRP, the .IMG file may be called "recovery.img" or "twrp.img" or some variation of the TWRP version number. You can either rename the file to "twrp.img" or you can type in the entire filename.
Once you hit enter, it will read something like:
target reported max download size of 805306368 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.437s]
writing 'recovery'...
OKAY [ 0.254s]
finished. total time: 1.696s
Once it's finished, enter this command to boot into the temporary TWRP recovery operating system:
fastboot boot twrp.img
Once you hit enter, it will read something like:
downloading 'boot.img'...
OKAY [ 1.428s]
booting...
OKAY [ 0.138s]
finished. total time: 1.566s
TWRP INTERFACE
Unplug your phone from the USB. The screen will go black and you may see the "Redmi" logo come on the screen. After a few seconds, the TWRP title page will appear. Once the TWRP operating system powers on, you may be presented with the option to enter a PIN code (if you previously had one on your phone) or a passcode. Enter the PIN or code to get into the TWRP interface.
Once in TWRP, you will have several options. Click "Install" and scroll to the bottom of the file list to find the magisk.zip that you transferred onto your phone. Go ahead and swipe right to install it. Once the installation is complete, click "Reboot System" to power the phone back on normally.
That's it. Your Redmi K20 Pro should now be rooted.
If there are any problems, start the process over from the Fastboot interface on your computer (where you flashed TWRP onto your phone with "fastboot flash recovery twrp.img"). Go through the same process, but before you install the Magisk.zip, first install the Disable-Force-Encryption-Treble.zip.
Click to expand...
Click to collapse
NaAZoOR said:
the below quote includes steps to flash TWRP & Magisk from the link you provided, my question is:
after rooting via Magisk, am i able to get OTA updates from Xiaomi for the device normally or just like the old days, once rooted no more updates to come?
and is it sure that bank app will work normally after flashing Magisk??
Click to expand...
Click to collapse
I don't know about OTA. I don't have Miui on my device. And bank apps work for me with magisk hide.

Categories

Resources