By this you will be able to Unlock bootloader, Flash TWRP, and Root while maintaining possibility of applying future OTA's
I've researched many topics and forums for this and compiled all those things in this single step by step topic.
WARNING
Follow if you understand every word written in the topic name only and at your own risk.
I am not responsible for your doing. Follow every step as mentioned, you can skip parts if you understand what you are doing. Read it again to understand clearly, don't do it if you have any doubt and ask before rather asking later.
Credits to xda miui forums and all their ops for this kind info. Thank You.
Divided in 5 parts:
Main Topic-Introduction, Download links
Post two-Short Instructions-Rooting and Flashing OTA's
Post three-Unlocking bootloader, Flashing TWRP, Flashing 7.2.3 OTA, Rooting
Post four-How to flash Future OTA and Root after that
Post five-Troubleshooting- Drivers installation, Patching boot.img, Re-locking Bootloader, Fixing error 0x80070002 in MI Tool, VOLTE fix for marshmallow roms, Debloat MIUI 8, Under Test Methods
Things needed:
1. Redmi Note 3
2. PC with windows x64 (I did it on Windows 10 x64)
3. MiFlash_2016.03.30.exe
4. Fastboot 7.1.8 rom
Note: Fastboot 7.2.5 Rom is now available, you can use that and skip ota modifying and flashing part:Fastboot 7.2.5 rom
5. i) Miui 7.2.3 OTA
ii) Miui 7.2.5 OTA
6. twrp-3.0.2-2-kenzo.img
Twrp-3.0.2-2 Complete backup version
7. unlocked_emmc_appsboot.mbn Recovery flashable
8. Boot.img patcher (extracted from alka recovery, credits to the dev)
Patching method on pc is also given in the guide
9. Volte Fix for Marshmallow Roms: Here
10. MIUI 8 Debloating:Here
Some patched boot.img:
i) 7.2.3 patched boot.img
ii) 7.2.5 patched boot.img
iii) 7.3.2 patched boot.img
9. Android Image Kitchen OP-Android Image Kitchen - Unpack/Repack Kernel Ramdisk
10. Minimal adb and fastboot OP-[TOOL]Minimal ADB and Fastboot
11. SuperSU zip OP-SuperSU v2.65
12. i) Edited updater-script for OTA 7.2.3
ii) Edited updater-script for OTA 7.2.5
Now follow post 3 if you are not clear about this 'thing' or try looking at post 2 for simple and short instructions.
Short Instructions-Rooting and Flashing OTA's
Divided in two parts:
PART 1
How to root?
1. Falsh complete 7.1.8 with unlocked emmc_appsboot.mbn instead of the one in the rom .tgz and unlock using fastboot- After this our bootloader is unlocked.
2. We will now flash the twrp recovery using fastboot (with help of minimal adb and fastboot)- we have a custom recovery to apply modified ota zip (all future ota zips need to be modify before flashing) and also to flash supersu and patched boot.img
3. We will make a backup of 7.1.8 system+boot in TWRP.
4. We will now modify the ota zip (replace emmc_appsboot.mbn and updater-script) and flash in the recovery (system mounted as read only on first TWRP boot) but will NOT flash supersu.- updated to 7.2.5 now
5. We will now make a backup of 7.2.5 system+boot with NO compression in TWRP.- we got 7.2.5 boot.img (boot.emmc.win is the name )to patch it (#8 in things needed)
6. We will take this backed up boot.emmc.win in Android Image Kitchen in pc and patch it.- we now have patched 7.2.5 boot.img and a way to patch all future boot.img's
7. We will now mount system as read/write and flash supersu and this patched boot.img in twrp.- we have successfully rooted the phone.
PART 2
Future OTA's will fail as they will verify system and boot too before flashing. We have altered both here. But we have a recovery and a backup to restore before flashing ota.
So, how to apply future updates?
1. Download the ota but DO NOT flash it.
2. Modify the OTA zip as we did for 7.2.3 and 7.2.5
3. Restore unrooted system and not patched boot.img (the 7.2.5 TWRP backup)
4. Mount system and read only
5. Patch the OTA zip by replacing emmc_appsboot.mbn and updater-script. Flash the OTA
6. Make a new boot+system backup.
7. Patch the new boot.img.
8. Mount system as read/write
9. Flash patched boot.img along with supersu.
Follow up post three for detailed Rooting guide if things are not clear for you.
Unlocking bootloader, Flashing TWRP, Flashing 7.2.5 OTA, Rooting
It is particularly focused on rooting latest (at writing this) version of Miui i.e. 7.2.3
How to Root?
For rooting we have to flash SuperSu from custom recovery i.e. TWRP. So, obviously we need to flash TWRP first in Redmi Note 3.
But, to flash TWRP we need to unlock bootloader first
Unlocking Bootloader:
Downloads from post one:
1. Download and Install Mi Flash Tool
2. Download and Extract 7.1.8 Fastboot Rom (You can also use latest fastboot rom, just skip OTA part from this guide)
3. Download, Extract and Replace unlocked_emmc_appsboot.mbn in the extracted rom folder
4. Download and Install Minimal ADB and Fasboot Tools
Instructions:
1. Turn Your Phone On and Connect USB Cable to the phone and the Computer
2. Go to settings-about phone and tap Miui versoin five times.
3. Go back and go to Additional settings-Developer Options and enable USB debugging (if disabled) and Enable OEM Unlock (if disabled)
4. Open Device Manager in PC and check to find your phone Installed as ADB Device
{
"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"
}
5. See if there is any pop up in phone asking to Authorization (Allow USB debugging). Check Always allow from this Computer and tap ok.
6. Run the Minimal ADB and Fastboot From the Start Menu
7. Check if your Device is Detected in ADB by typing this command
Code:
adb devices
You should see the output like this
If not, then you have to install drivers. Go to topic #5. Then try again.
8. Type the following command to Reboot the Phone to EDL mode
Code:
adb reboot edl
9. Check the Device Manager you should see the Phone as shown in the Screenshot below
NOTE: The Driver can be Either the one Shown in the Image (which is a default driver loaded by windows)
or
can be from Qualcomm which will read as
Qualccomm HS-USB QLoader 9008
Click to expand...
Click to collapse
Note that there is a possibility that You might End up in
Qualcomm HS-USB Diagnostics 900E
Click to expand...
Click to collapse
But Don't Panic and Follow the Steps from Step No. 1 again
10. Now Start the MI Flash Tool and Browse to the Location Where you have Extracted the Fastboot ROM
11. Go to Advanced (arrow in front of browse) and Select:
Flash Programmer, Raw XML File and Patch XML File
from the Fastboot ROM\Images folder and press enter on keyboard
12. Press Refresh in MI tool and You should see you phone in the MI Flash tool With the same COM# as in the Device Manager
13. Press Flash and wait. It would take some time to flash about 170-250 seconds or more ( if Miflash shows a error on clicking Flash , please restart Miflash and try again)
14. After the Miflash fastboot is completed successfully, hard boot phone to Fastboot mode by pressing and holding Volume Down+Power On. You will see mi bunny on screen.
15. Again run Minimal ADB and Fastboot from start menu (as Administrator)
16. Type:
Code:
fastboot oem device-info
It will show you the current Bootloader Status .
17. Now again Type:
Code:
fastboot oem unlock-go
Optional: Type in the previous command again to check if the status of Bootloader had changed or not.
18. Type:
Code:
fastboot reboot
to reboot the phone.
Bootloader is unlocked now but do not disconnect the phone from pc yet.
Credits:
http://en.miui.com/thread-253680-1-1.html
http://en.miui.com/thread-261019-1-1.html
Flashing TWRP:
Downloads from post one:
1. TWRP recovery
Instructions:
1. Once done with bootloader unlock guide, without disconnecting the phone, restart phone in fastboot mode (use steps 1-8 from unlocking guide and replace edl command with fastboot, i.e. write fastboot instead of edl in cmd) or Press and hold volume down+power to hard boot it to fastboot.
2. Go to Minimal ADB and Fastboot directory
C:\Program Files (x86)\Minimal ADB and Fastboot
Click to expand...
Click to collapse
and copy/move downloaded twrp-3.0.2-2-kenzo.img here.
3. Type following in cmd once the phone is in fastboot mode.
fastboot flash recovery twrp-3.0.2-2-kenzo.img
4. Once done, hard boot phone to recovery by Pressing and holding Volume Up+Power On. TWRP should boot.
Note: When asked to mount system as read only or as read/write select read only in TWRP. This step is important otherwise you will face bootloop after flashing ota.
Flashing 7.2.3 OTA and then 7.2.5 OTA:
Downloads from post one:
1. Miui 7.2.3 OTA and Miui 7.2.5 OTA
2. unlocked_emmc_appsboot.mbn
Downloads from internet
1. 7zip Or WinRAR
Instructions:
1. Download the OTA in your PC or move it in your pc from phone after downloading.
2. Open the OTA file in Windows with Winrar/7zip
3. Locate the emmc_appsboot.mbn in firmware-update folder and delete from the zip (it will take a while for the deletion please be patient)
4. Drag and drop the (unlocked)emmc_appsboot.mbn to the firmware-update folder of the OTA
5. Navigate to "META_INF/com/google/android/" and extract the updater-script file and then delete it from the zip.(make sure to keep a backup of the zip)
6. Open the file in a text editor, (I prefer Notepad++) and delete the following lines and save the file
ui_print("Verifying current system...");
getprop("ro.build.fingerprint") == "Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V7.1.8.0.LHOMICL:user/release-keys" ||
getprop("ro.build.fingerprint") == "Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V7.2.3.0.LHOMIDA:user/release-keys" ||
abort("Package expects build fingerprint of Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V7.1.8.0.LHOMICL:user/release-keys or Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V7.2.3.0.LHOMIDA:user/release-keys; this device has " + getprop("ro.build.fingerprint") + ".");
apply_patch_check("EMMC:/dev/block/bootdevice/by-name/boot:33721674:bf5d61ecd25d0026e768f6258f320640385976fd:34037066:22a19fe883c5fe4b25852702a1bd25bcaeedd9a0") || abort(""EMMC:/dev/block/bootdevice/by-name/boot:33721674:bf5d61ecd25d0026e768f6258f320640385976fd:34037066:22a19fe883c5fe4b25852702a1bd25bcaeedd9a0" has unexpected contents.");
if block_image_verify("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") then
ui_print("Verified system image...");
else
(range_sha1("/dev/block/bootdevice/by-name/system", "2,0,1") == "e04e9788c17630b4088243d8b3ee29509568b793") || (range_sha1("/dev/block/bootdevice/by-name/system", "2,0,1") == "3b8aeee76a291f2b1647c9bbcbece5be948a83fc") || abort("/dev/block/bootdevice/by-name/system has been remounted R/W; reflash device to reenable OTA updates");
(range_sha1("/dev/block/bootdevice/by-name/system", "80,0,32770,32929,32931,33439,65535,65536,65538,66046,98303,98304,98306,98465,98467,98975,131071,131072,131074,131582,163839,163840,163842,164001,164003,164511,196607,196608,196610,197118,229375,229376,229378,229537,229539,230047,262143,262144,262146,262654,294911,294912,294914,295073,295075,295583,327679,327680,327682,328190,360447,360448,360450,360958,393215,393216,393218,393726,425983,425984,425986,426494,458751,458752,458754,459262,476353,491520,491522,524288,524290,557056,557058,589824,589826,622592,622594,623102,650190,650191,655320") == "a75d23fa6067c58c166603cfac0b3d0df9b81919") ||
abort("system partition has unexpected contents");
endif;
Click to expand...
Click to collapse
(Edit the 7.2.5 OTA the same way or use updater-scripts provided for both OTA's from post 1)
7. Now again navigate to "META_INF/com/google/android/" and drag and drop the modified updater-script file inside the folder
8. Move this modified OTA zip to your (internal/external sd) and flash using TWRP.
9. Once done, make a system+boot bakcup in twrp, name it "7.1.8 stock"
10. Apply future updates like this and make backup with naming. Delete old backups.
Example: Make a backup named "7.2.5 stock" just after flashing 7.2.3 and 7.2.5 updates. Then root it and flash patched boot.img. If the phone starts up normal, reboot to recovery and delete 7.1.8 stock backup and keep 7.2.5 stock backup to use it for flashing future OTA.
Rooting:
Downloads from post one:
1. SuperSU zip
2. 7.2.5 boot patched.img
Instructions:
Note: Now change the mode to read/write for system partition from mount option in TWRP. Otherwise these zips will not flash.
1. Copy/Move/Download SuperSU zip and patched boot.img in your phone.
2. Extract the .rar containing the patched boot.img.
3. Reboot to recovery and Tap on Install in the TWRP main screen.
4. Select SuperSu.zip
5. To flash boot.img, the default mode is to flash zip files, you will need to toggle the mode to images.
6. To do so, tap on the Images… button on the bottom-right of the screen
7. The recovery will now only see the image files, select the patched boot.img
8. Once you select, you will be prompted to select the type of image it is, select Boot or Recovery. Select Boot.
9. Finally, swipe the button on the bottom of the screen to start the flashing process.
10. Once complete, you can go to Reboot > System.
How to flash Future OTA and Root after that
You got a Unlocked, Rooted phone with custom TWRP recovery. The OTA will check the system and will fail to flash as you have flashed SuperSu and Boot.img.
What you may do when a new OTA arrives??
Flashing any OTA and rooting it
Downloads from post one:
1. SuperSU zip
2. Unlocked boot img (will be updated when ota will arrive)
3. Unlocked_emmc_appsboot.mbn
Downloads from internet:
1. WinRAR/7zip
Preparing OTA:
1. Download the OTA in your PC or move it in your pc from phone after downloading.
2. Open the OTA file in Windows with Winrar/7zip
3. Locate the emmc_appsboot.mbn in firmware-update folder and delete from the zip (it will take a while for the deletion please be patient)
4. Drag and drop the (unlocked)emmc_appsboot.mbn to the firmware-update folder of the OTA
5. Navigate to "META_INF/com/google/android/" and extract the updater-script file and then delete it from the zip.(make sure to keep a backup of the zip)
6. Open the file in a text editor, (I prefer Notepad++) and delete the following lines and save the file
ui_print("Verifying current system...");
getprop("ro.build.fingerprint") == "Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V7.1.8.0.LHOMICL:user/release-keys" ||
getprop("ro.build.fingerprint") == "Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V7.2.3.0.LHOMIDA:user/release-keys" ||
abort("Package expects build fingerprint of Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V7.1.8.0.LHOMICL:user/release-keys or Xiaomi/kenzo/kenzo:5.1.1/LMY47V/V7.2.3.0.LHOMIDA:user/release-keys; this device has " + getprop("ro.build.fingerprint") + ".");
apply_patch_check("EMMC:/dev/block/bootdevice/by-name/boot:33721674:bf5d61ecd25d0026e768f6258f3206403859 76fd:34037066:22a19fe883c5fe4b25852702a1bd25bcaeed d9a0") || abort(""EMMC:/dev/block/bootdevice/by-name/boot:33721674:bf5d61ecd25d0026e768f6258f3206403859 76fd:34037066:22a19fe883c5fe4b25852702a1bd25bcaeed d9a0" has unexpected contents.");
if block_image_verify("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") then
ui_print("Verified system image...");
else
(range_sha1("/dev/block/bootdevice/by-name/system", "2,0,1") == "e04e9788c17630b4088243d8b3ee29509568b793") || (range_sha1("/dev/block/bootdevice/by-name/system", "2,0,1") == "3b8aeee76a291f2b1647c9bbcbece5be948a83fc") || abort("/dev/block/bootdevice/by-name/system has been remounted R/W; reflash device to reenable OTA updates");
(range_sha1("/dev/block/bootdevice/by-name/system", "80,0,32770,32929,32931,33439,65535,65536,65538,66 046,98303,98304,98306,98465,98467,98975,131071,131 072,131074,131582,163839,163840,163842,164001,1640 03,164511,196607,196608,196610,197118,229375,22937 6,229378,229537,229539,230047,262143,262144,262146 ,262654,294911,294912,294914,295073,295075,295583, 327679,327680,327682,328190,360447,360448,360450,3 60958,393215,393216,393218,393726,425983,425984,42 5986,426494,458751,458752,458754,459262,476353,491 520,491522,524288,524290,557056,557058,589824,5898 26,622592,622594,623102,650190,650191,655320") == "a75d23fa6067c58c166603cfac0b3d0df9b81919") ||
abort("system partition has unexpected contents");
endif;
Click to expand...
Click to collapse
NOTES:
a. If this is not working for you, getting error while flashing, then use the updater script added in post one, i have edited that my self for my use and worked perfectly.
b. Allow TWRP to read/write system (asked on first time when recovery boots) as flashing ota to system is a write process.
7. Now again navigate to "META_INF/com/google/android/" and drag and drop the modified updater-script file inside the folder
8. Move this modified OTA zip to your (internal/external sd) and flash using TWRP.
9. Once done, make a system+boot bakcup in twrp, name it "7.2.3 stock"
Flashing and making new Backup:
1. Reboot to TWRP (Volume Up+Power on)
2. Restore 7.2.3 stock backup from backup and restore options
3. Flash the modified OTA.
4. Make a new backup of system+boot and name it "version" stock. Like "7.2.3 stock"
Rooting:
1. Copy/Move/Download SuperSU zip and patched boot.img in your phone.
2. Extract the .rar containing the patched boot.img.
3. Reboot to recovery and Tap on Install in the TWRP main screen.
4. Select SuperSu.zip
5. To flash boot.img, the default mode is to flash zip files, you will need to toggle the mode to images.
6. To do so, tap on the Images… button on the bottom-right of the screen
7. The recovery will now only see the image files, select the patched boot.img
8. Once you select, you will be prompted to select the type of image it is, select Boot or Recovery. Select Boot.
9. Finally, swipe the button on the bottom of the screen to start the flashing process.
10. Once complete, you can go to Reboot > System.
Troubleshooting
Installing Drivers
1. Disable Windows Drivers Signature on your computer: you can do that by pressing Windows button + i on keyboard to reveal the Settings page. From there you can choose Update & Security >> Recovery >> Advanced startup >> Restart now. Wait a moment for your computer to restart. Next, go to Troubleshoot >> Advanced options >> Startup settings >> Restart. Once your computer restarts, now choose Disable driver signature enforcement which is option number 7. See the video below:
Disable Windows Drivers Signature
:credits to the owner i have not made it.
2. Hold Vol - and Vol + and plug Usb , you will enter adb Mode.
3. Now Phone is Connected as ADB. Check Device Manager for Below:-
4. Run Minimal adb (search adb in start)
5. Type these Commands:
Code:
adb devices
adb reboot edl
Phone will enter in download Mode with Red Led.
6. Open Device Manager and Phone will be detected as QHUSB_BULK.
Right Click and choose Update Drivers.
7. Choose Browse My Computer for Driver Software
8. Choose the Path of Xiaomi Folder. Most of users will find it like this.
Note:- If Folder does not exist , Install MI Flash (post #1) first.
Win 64 bit C: \ Program Files (x86) \ Xiaomi \ MiPhone \ Qualcomm \ Driver
Win 32 bit C: \ Program Files \ Xiaomi \ MiPhone \ Qualcomm \ Driver
9. Choose Install this Driver Software anyway.
10. The driver will be installed Sucessfully and you can see added in Ports as Qualcomm HS-USB.
Credits:http://en.miui.com/thread-235865-1-1.html
Patching Boot.img
1. Download the Android Image Kitchen Tool from post #1 and extract it.
2. Download the fastboot room and extract to locate the boot.img (or any other source you would like) and move it to the Android Image Kitchen folder, as shown below:-
3. Right click & hold, on the "Boot.img" file and move & place it onto unpackimg.bat file and proceed with the on-screen message to "Run", as shown below:-
4. Next go to ramdisk directory and locate fstab.qcom file, as shown below:-
5. Use any text editor (notepad++ preferred) to open fstab.qcom file, then use the Find function to find any value containing "Verify" and delete with care, and save it accordingly, as shown below:-
Code:
,verify
:delete verify also the , in from of it.
6. Now we need to repack the modded boot.img file, double-click to execute "repackimg.bat" hence it will generate a new boot file as "image-new.img" as shown below:-
7. Done..
Credits:http://en.miui.com/thread-249666-1-1.html
Relocking Bootloader: (DO AT YOUR OWN RISK AND ONLY IF YOU KNOW WHAT YOU ARE DOING)
1. Get the fastboot rom image from topic #1 or the locked emmc_appsboot.mbn from post #1 (version 7.1.8)
2. Download (from post #1) and Install Minimal adb and fastboot
3. Go to C:\Program Files (x86)\Minimal ADB and Fastboot and copy/move the downloaded emmc_appsboot.mbn here.
4. Run MAF32.exe (it is in this folder too)
5. Type following commands
Code:
fastboot Flash aboot emmc_appsboot.mbn
fastboot Flash abootbak emmc_appsboot.mbn
fastboot Reboot
6. Done.
Fixing The system cannot find the file specified.(0x80070002):
* Make sure you have downloaded correct rom.
* Make sure there is no space in you path of images.
Eg:
NOT E:\MI TOOLS\rn3\kenzo_global_images_V7.1.8.0.LHOMICL_20160129.0000.14_5.1_global_9706e12561UNLOCK\kenzo_global_images_V7.1.8.0.LHOMICL_20160129.0000.14_5.1_global\images
BUT E:\MI_TOOLS\rn3\kenzo_global_images_V7.1.8.0.LHOMICL_20160129.0000.14_5.1_global_9706e12561UNLOCK\kenzo_global_images_V7.1.8.0.LHOMICL_20160129.0000.14_5.1_global\images
IF STILL THE ERROR IS THERE (ONLY TRY IF ALL ABOVE METHODS FAIL)
1. Download this Rar and replace both files in your fastboot rom. (flash_all.bat in rom folder and rawpragram0.xml in images folder)
2. Try to flash now.
What about the fingerprint error while flashing OTA?
OP, you need to really give detailed steps... Else this thread is gonna be filled with more questions than answers....
For example the ota zip does not contain the boot.img file but contains a patch file boot.img.p , so do we need to replace modded full boot.img in ota- will it get flashed or will the flashing fail as the instructions in ota will be for patch boot file...
Dropbox link for patched bot image of 7.2.3 is not working... gives error
7.2.3.0 boot.img
use this link to downloadwww.dropbox.com/s/k5w16gotzz7zge0/7.2.3 boot patched.rar?dl=0
Sudeep Duhoon said:
reserved 4
Click to expand...
Click to collapse
I am on miui 7.2.3.0(locked boot loader), can I flash modified 7.2.3.0 boot.IMG and twrp through adb?
pvp16 said:
I am on miui 7.2.3.0(locked boot loader), can I flash modified 7.2.3.0 boot.IMG and twrp through adb?
Click to expand...
Click to collapse
to flash modified boot.img you have to do all the steps till that part first.
Error from dropbox
Downloaded file of boot .rar has been corrupted
root 7.2.3.0
if i am on 7.2.3.0 (bootloader locked) is it neccessary to flash 7.1.8 ie downgrade to unlock bootloader... or i can skip some of ur steps plzzz help
---------- Post added at 09:29 AM ---------- Previous post was at 09:15 AM ----------
what we are doing (deleting) in script..... it is for to get rid from finger print error
Deevit said:
Downloaded file of boot .rar has been corrupted
Click to expand...
Click to collapse
Downloading in phone? Try uc browser.
vivekjha said:
if i am on 7.2.3.0 (bootloader locked) is it neccessary to flash 7.1.8 ie downgrade to unlock bootloader... or i can skip some of ur steps plzzz help
---------- Post added at 09:29 AM ---------- Previous post was at 09:15 AM ----------
what we are doing (deleting) in script..... it is for to get rid from finger print error
Click to expand...
Click to collapse
Yes necessary.
I was following the process to install the OTA after making changes to the zip file with the emmcxx and update-script.
TWRP threw me this error
Failed to apply patch " patch/boot.img.p"
Updater process ended with ERROR:7
Pls help. Thanks
Tried
Sudeep Duhoon said:
Downloading in phone? Try uc browser.
Click to expand...
Click to collapse
In UC I had tried but it has been corrupted
Unlocking Bootloader Error
When I try to flash fastboot oem unlock-go it returns: FAILED (remote: Token verification failed, reboot the device)
.HOW TO FIX
pvp16 said:
I am on miui 7.2.3.0(locked boot loader), can I flash modified 7.2.3.0 boot.IMG and twrp through adb?
Click to expand...
Click to collapse
Not without unlocking the bootloader, you cant
---------- Post added at 06:07 AM ---------- Previous post was at 06:04 AM ----------
fylim said:
I was following the process to install the OTA after making changes to the zip file with the emmcxx and update-script.
TWRP threw me this error
Failed to apply patch " patch/boot.img.p"
Updater process ended with ERROR:7
Pls help. Thanks
Click to expand...
Click to collapse
I guess you need to remove the patch boot file and replace it with modified boot image file.
Deevit said:
Downloaded file of boot .rar has been corrupted
Click to expand...
Click to collapse
link has been updated but file working fine. it is 10.64mb
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Hi, my phone is stuck at the Fastboot page
I have tried flash in
1) your receovery linked above
2)customized recovery under this link https://twrp.me/devices/htcdesire626s.html
But none of them works.
Can you please help to give some advise?
Skyrimus said:
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Click to expand...
Click to collapse
Finally! Thanks alot for your share Skyrimus.
I don't believe you can install TWRP via fastboot if your phone is in s-on state, correct me if I'm wrong, but what I did to install TWRP was I downloaded the official version for my phone (duh) and used the same fastboot commands while phone was in fastboot mode which resulted in a message "FAILED: <remote: cannot flash this partition in s-on state>"
I resolved this by rebooting to download mode instead and running the commands as normal and all went well, so if you don't have your phone in s-off and received the same error as me then download mode will do the trick
Skyrimus said:
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Click to expand...
Click to collapse
Hi Skyrimus !
Can you give me a more details about "reserve partition" ? A trayed your metod- that partialy working, but to the moment TWRP menu with prompt swap to allow write. Than frozen screan, i can do nothig, and starting system android phone under this screan.. My model: HTC Desire 626. (LTE internet) Android 5.1 loolipop. not 6 Can you help me to get apropriate TWRP, or any thinks ? My knowlege is not to good..
Hey, is someone able to extract the RUU from this htc desire 626 lte? i softbricked it and cannot find anything working. Thats the version with snapdragon 410, isn't it?
Zwolin said:
Hey, is someone able to extract the RUU from this htc desire 626 lte? i softbricked it and cannot find anything working. Thats the version with snapdragon 410, isn't it?
Click to expand...
Click to collapse
did uou pres power button, simultanously volume + up to 10 seconds ?
---------- Post added at 09:56 PM ---------- Previous post was at 09:00 PM ----------
janalaa said:
Hi Skyrimus !
Can you give me a more details about "reserve partition" ? A trayed your metod- that partialy working, but to the moment TWRP menu with prompt swap to allow write. Than frozen screan, i can do nothig, and starting system android phone under this screan.. My model: HTC Desire 626. (LTE internet) Android 5.1 loolipop. not 6 Can you help me to get apropriate TWRP, or any thinks ? My knowlege is not to good..
Click to expand...
Click to collapse
Skyrimus said:
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Click to expand...
Click to collapse
Resolved for android 5.1 loolipop :
after unlock bootloader-
1. in the mobile system android, use Kingo Root.apk -one toutch ROOT (temporary)
2. flash custom "recovery. img" downloaded to SDcard , by use RASHR. apk (ply store)
3. reboot to fastboot mode, move highlite menu- to recovery mode- push pwr button - wait, wil Starts TWRP 3.0.0 Skyrimus
Profit! It was very simple
Bugs : mount reserve partition error (stil.)
Linkes for download files 1 topic (Skyrymus)
Thank you Skyrimus, greate job!
Compilation
Hi Skyrimus,
I want to compile a LineageOS rom for the HTC desire 626.
Have you still got configurations files ?
hello sir
Skyrimus said:
How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE.
The step by step guideline is like these :
1. Unlock bootloader of this instruction Link
2. Download TWRP and TWRP-Install.zip. TWRP - Link , TWRP-Install.zip - Link, Root archive - Link
3. Reboot phone in Fastboot Mode.
4. Copy twrp-fastboot-boot.img into fastboot folder, archive TWRP-Install.zip - in Internal Memory.
5. Open fastboot and enter this command
Code:
fastboot boot twrp-fastboot-boot.img
Your phone reboot in temporary TWRP.
6. Accept system modification alert by swipe.
7. Go to Install and choose TWRP-Install.zip, accept this by swipe.
8. Go to Reboot and reboot in recovery.
9. ??????????
10. PROFIT!
Bugs
Mount reserve partition(is not critical).
Contributors
Skyrimus
Original link - http://4pda.ru/forum/index.php?s=&showtopic=701301&view=findpost&p=54026939
Click to expand...
Click to collapse
sir am using htc desire 626q veriant i cant upgrade to lolipop or other plzz help me with full toturial video link
Hi,
I'm all new to rooting and I got a major issue.
Here's the story.
Wanting that substratum themes, I looked up for rooting my devices
I followed this guide to unlock the bootloader, and all was fine.
Next, I followed this one for rooting, but at the "installing nexus drivers" step, my PC wasn't showing off any driver setup or something related to a driver.
I pressed Enter, despite the fact that I didn't know if I had nexus drivers properly installed, and my phone didn't want to boot up. Stuck on the boot animation, for more than 20 hours.
Next day, I came back and found this mega thread about unbricking. I followed it, and now I'm in a boot loop: my phone reboot 1-2 secs after showing the home screen, but I can still enter in fast boot mode. My phone is still unlocked and when I enter Huawei's eRecovery (by long-pressing up volume button) to try to "Download new version and recovery" it connects to my Wi-Fi, then fails.
Thanks for your patience,
Mx3_
Do I understand correctly? Do you wont root your phone ?
1 st. With method which presented, you can only root your device if you have Android 5 or lower, if you have android 6 Marshalow - you must use " Systemless ROOT"
2nd. You must upload new ROM on your device ( i have special tool for do this "srktoolHuawei" - this is a special tool for flashing every new rom on a huawei device )
3.rd." HuaweiUpdateExtractor" - this is a tool for extract new ROM ( roms for huawei, you can find in huawei webside ) - download rom for your device, extract by this tool, copy and paste inside folder of "srktoolHuawei"
Next...
Plug you device to PC by usb, go to recovery mode and if you have unblocked bootloader, should be writen:" Phone is unlocked" - > Open "srktoolHuawei", go to Command Prop and then:
- IMPORTANT !!! - you must upload files: SYSTEM, RECOVERY, CUST, BOOT - you can do this using that commands:
1. fastboot flash system system.img
2.fastboot flash boot boot.img
3.fastboot flash recovery recovery.img
4.fastboot flash cust cust.img
Reboot and system should starts correctly...
---------- Post added at 08:02 PM ---------- Previous post was at 07:39 PM ----------
If you wont to root your device with SYSTEMLESSROOT method, you should do like that:
1. If you upload recovery by "srktoolHuawei" - > download TWRP recovery and upload into your device ( copy and paste TWRP img. file into this tool folder insted of traditional android recovery file, next change name from TWRP, to just recovery.img and upload using command: fastboot flash recovery recovery.img )
2. Now - if you press volume + - and power together, you should have TWRP Recovery insted of Huawei Recovery, thats good...
3. Next...BETA-SuperSU-v2.62-3 - upload this version of supersu into your SD card...
4. Next - go to TWRP mod, next to advanced, next to Terminal Command and write command like this:
echo SYSTEMLESS=true>>/data/.supersu
Confirm this command and back to install ( this command means that you will install SuperSU and it will make systemless root for you )
When if you have install, then select supersu which you downloaded before and now simply flash it by TWRP, next reboot and you should installed supersu and rooted device...
I successfully rooted, thanks ! but now i installed a substratum theme (pixel ui), uninstalled some huawei apps and rebooted to apply effects, and i'm stuck again in a bootloop ! tried wipe cache with TWRP, but didn't work :/
Mx3_ said:
I successfully rooted, thanks ! but now i installed a substratum theme (pixel ui), uninstalled some huawei apps and rebooted to apply effects, and i'm stuck again in a bootloop ! tried wipe cache with TWRP, but didn't work :/
Click to expand...
Click to collapse
Please tell me you made a back up in TWRP if you did just use the RESTORE option in TWRP if not you will have to go through the above again to get back to stock but missing out flashing the recovery partition as yours is working.
When your phone boots make a back up in TWRP before trying out anything so its easy to recover
BaronDeLucifer said:
1. If you upload recovery by "srktoolHuawei"
Click to expand...
Click to collapse
Hello @BaronDeLucifer,
what do you mean with this? Do I need the srktool for rooting my P8 Lite?
With best regards