NOVA 2 PLUS FIXING MUSIC ,SOUND,Volume AFTER Root and unlocking bootloader :) - Huawei Nova 2 Plus Guides, News, & Discussion

disclaimer : i am not responsible for any damage to your device so use at your own risk
all of your data will be lost ( internal storage)
This tutorials is for BAC_L21C185 devices only
all of nova 2 plus got huawei histen effects disabled after unlocking bootloader
i was unable to find any method that make my headset volume normal after unlocking bootloader so i decided to share a working method with u ..
and remember do it at your own RISK
requirements :
0: adb and fastboot files
1: unlocked bootloader
2: only twrp for oreo ( can be found on my previous thread )
3: files for firmware BAC-L21 8.0.0.330(C185CUSTC185D1) {3 files can be downloaded from firmware finder for huawei on playstore or windows { i will post the 3 links in 1 comment }
4:HuaweiUpdateExtractor_0.9.9.5 can be downloaded from this thread by worstenbrood https://forum.xda-developers.com/showthread.php?t=2433454
steps :
1:backup all your data
2: download all files
3: extract update.app from downloaded update.zip only using huawei update extractor ( remember to disable header checksum or you will got an error )
4: copy the update_full_BAC-L21_hw_meafnaf.zip and update_data_full_public to your sdcard
5: turn off your phone
6: reboot to fastboot ( volume down and power while connecting to computer )
7:{skip this step if you already flashed twrp } flash twrp from my previous thread ( don't flash the magisk zip )
8:use this command to erase system and userdata
PHP:
fastboot erase system
fastboot erase userdata
9: use this command to flash system from extracted update.zip
PHP:
fastboot flash system {insert system.img location}
10: after those is finished unplug your phone and go to twrp using volume up and power key
11: in twrp format ( not wipe ) the data partition and then use the fix dataencryption in the advanced tab
12: reboot system ( system should boot up slowly if not then you have do something wrong ..)
13: setup the phone
14: reboot to twrp recovery
15:if all is good you have to see the internal storage as normal name ( not encrypted if no you have maked something wrong)
15: flash the update_full_BAC-L21_hw_meafnaf.zip and update_data_full_public from your sdcard ( any error is normal )
16: reboot system
17: root the system if you want with magisk ( optional )
18 : enjoy huawei histen effect with root
Again i'm not responsible for any damage to your device ///
tested on my nova 2 plus BAC-L21 8.0.0.330(C185CUSTC185D1)
don't forget to press the thanks button

links to download firmware :
1 : update.zip :
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2767/g1699/v146746/f1/full/update.zip
------------------------------------------------------------
2: update_full_BAC-L21_hw_meafnaf.zip
http://update.hicloud.com:8180/TDS/...hw_meafnaf/update_full_BAC-L21_hw_meafnaf.zip
-------------------------------------------------------------
3: update_data_full_public.zip
http://update.hicloud.com:8180/TDS/...46/f1/full/public/update_data_full_public.zip

i must install system.img?
becouse when i install that my phone do not boot
---------- Post added at 06:39 AM ---------- Previous post was at 06:31 AM ----------
thank you bro i dont insyall the system. img but i works for me

Related

[THE ULTIMATE GUIDE]Unlock bootloader,TWRP,Root,Patch boot.img,Edit OTA zip etc.

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

[TWRP][Android 6.0][a32ul_emea]How to install TWRP 3.0 and ROOT on HTC Desire 626 LTE

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

Huawei P8 Lite (ALE-L21) Unsuccesfully rooted, unbricked and now into a boot loop

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

Need help fixing my bricked phone

Hey Guys,
I have a redmi 3s prime and i tried to install lineage os on it, during the process i accidentaly flashed twrp over both the recovery and the boot. Now i cannot get into the recovery (and fastboot) unless i flash it over boot before rebooting my phone. After that i AM able to flash an new rom but it seems to always have wifi issues.
atm i am trying to flash the xiaomi developers global rom to see if it makes any difference. My main goal is to flash TWRP and a curstom rom (linage or resurrectionremix).
Can anyone help me?
Thanks alot!
Update #1
The flashing of the global developer rom worked and the wifi seems to work aswell, i will try to boot into fastboot and recovery.
Update #2
Its seems i am able to boot into fastboot and recovery again
Update #3
Following a tutorial for flashing TWRP and a custom rom but cant se2 anyone help me here?:
Code:
>>> Check then next step to root :
- launch minimal adb tool (previously installed)
- type : adb devices (to list phone connected) it will appear "unauthorized"
- on the phone : accept the computer
- re type : adb devices
it has changed in "authorized"
- type : adb reboot bootloader
it will go in fastboot mode (the same that power + vol down)
- type : fastboot devices
your phone will appear as in adb mode (unless the bad signed driver is choosen in win10 ; i won't repeat it again)
- type (optional) : fastboot oem device-info (to verify if bootloader is locked or unlocked)
now, we go to root
- type : fastboot boot twrp.img (if it is your renamed twrp copied in the minimal adb folder)
link for TWRP guide at the end if needed
!!! it will boot temporary in this recovery but it will keep your original recovery !!!
> allow to modify system (don't keep the "read only" if you want to root or flash recovery later)
go to settings to set date, hours, language, set custom options...
My optional advices :
- save your EFS & persist partitions or all whole partitions (except cache) to make a backup
- export this backup in computer or SD card in case of future problem
(EFS, persist are usefull to save and restore your IMEI in particular)
- you can flash directly TWRP with fastboot command : fastboot flash recovery twrp.img
>>> Root :
Now flash DM-verity patch, then superSU.zip to root and accept to wipe dalvik/cache after, finally reboot !
Device is rooted ! and you have kept the original recovery.
the reboot is quite long like rom update (because of cache rebuild)
sometimes, parts of theme are lost after rooting : just restore your theme
some devices don't need DM-verity patch as explained upper
superSU app shows "systemless root" from android 6+, it is normal, read below
>>> Change the Recovery by TWRP (optional) :
Now you are rooted, you have 2 methods :
- Install one TWRP app with googleplay and flash recovery through app on rooted device.
New official app in development (flash/backup .img & .tar)
- OR reboot in fastboot mode (with TWRP app method or power+vol- method or adb reboot recovery method)
in fastboot mode, and type commands :
fastboot devices
fastboot flash recovery twrp.img
(be sure your twrp.img is unlocked and correctly copied/renamed in minimal adb folder)
Now, long press power to turn OFF phone
power + vol+ (release power at vibration) to enter in TWRP or by TWRP app or Updater app or under Windows with minimal adb reboot recovery command
Note for devices with DM-verity : flashing TWRP needs to have patched system with DM-verity patch before because you will modify system most of time - generally, you don't need to patch again because you have ever done it in previous steps - in case of bootloop : go to fastboot mode, boot in TWRP with command and patch it.
Chainfire has recently modified superSU for android 6+ devices with DM-verity to install root without modify the system : it's called "systemless root". When you flash superSU.zip, it detects automatically android version, cleans old files and installs with appropriate method. Maybe no need to patch boot in this case with DM patch.

[Imei repair] Redmi note 3SD Unknown baseband,efs,Imei, Decryption error

This post is refined version of my Miui forum's post.
Decryption error, unknown baseband, Wifi issues, IMEI NULL after downgrading, custom rom installation or any other messing up?
Then you're at the right place .
NOTE: This guide is only for Snapdragon version. Bootloader unlocked not necessary.
The first thing to address is Decryption error, This is due to Miui default encryption. To recover from this error you have to goto TWRP( You should know bcz Decryption error occurs after installing custom rom and custom rom needs TWRP ) and format data in wipe options.
Now here comes the part to recover imei, efs and baseband
Things you will need
1. Miui 8 marshmallow fastboot romhttp://bigota.d.miui.com/V8.2.3.0.MHOMIDL/kenzo_global_images_V8.2.3.0.MHOMIDL_20170425.0000.00_6.0_global_d25b57383a.tgz
2.MiFlash tool Latesthttp://en.miui.com/thread-345974-1-1.html | Please disable driver signature before installing to install drivers successfully.
4.IMEI repair and EFS recovery tool + adb (attached below)
5.EDL zip (Put rn3 in fastboot and run reboot file from this zip after extraction)( Attached)
6.ZCX TWRP https://www.androidfilehost.com/?fid=24727332921017084
7. Bootloader unlock zip(extract it)https://forum.xda-developers.com/attachment.php?attachmentid=4057737
Unlocking bootloader(Skip if already unlocked)
1. Put rn3 in fastboot then edl.
2. Open miflash tool and browse to the bootloader unlock zip( Select the folder extracted)
3. Now click refresh and flash( If any "non-hlos" error occurs put non-hlos file from "stock fastboot ROM images folder" to unlock zip's images folder.)
Unlock done.
We're now going to flash stock ROM and restore modem and efs files.
1.Extract the fastboot rom (2 times,firstly the tar file and then the file that is in the extracted folder). It is must to extract the rom in root of C drive so that the path of the extracted files do not contain any spaces.
2.Open Miflash tool
3.Put RN3 in fastboot mode
4.Open efs+adb+IMEI folder.
Press shift inside the folder and click open command
window here (adb terminal)
Type
HTML:
fastboot erase modemst1
fastboot erase modemst2
fastboot erase fsg
fastboot flash modemst1 modemst1
fastboot flash modemst2 modemst2
fastboot flash fsg fsg
5.Now browse ROM folder (Present in the location where you have extracted the rom ) from Mi flash tool.
If drivers properly installed Mi flash will recognise the device.
6. Click refresh and then Flash.
Wait for 10-15 mins, miflash will show success. Reboot the device by holding power button.
7. Check device's Imei, baseband and networks.
8. If IMEI is still null follow the guide hereafter else use your device as earlier and rate this post.
IMEI RECOVERY
1.Boot into fastboot
2.Flash ZCX TWRP (Extract the zip and run the batch file named "╡τ─╘PC╢╦╦ó╚δrecovery" or something)
3. If phone doesn't automatically boot to twrp press vol up+power button.
4. If language is chineese, change it to english( a Google search will definitely help you)
5. Now in TWRP goto advance->supersu->install->Reboot.
6.
5.Connect your RN3 to pc and turn on usb debugging, open the adb terminal(use the efs folder)
6.Type the following and accept the permission on the device.
HTML:
adb shell
su
setprop sys.usb.config diag,adb
7. Now the device is in diagnostic mode and made sure it is listed in the device manager as Qualcomm HS-USB Android DIAG 901D, If not update the driver by manually browsing to the ports category of the installed drivers.( Sometimes phone doesn't goto diag mode in miui, the workaround is to install a custom ROM and root it and run the above commands.)
8.Open efs+adb+IMEI folder and run WriteDualIMEI(W+G_eMMC) ..
9.Type Both the IMEI from the box or invoice and click Write
10.It will show Pass .
11.You have successfully flashed the IMEI
12.Reboot and check IMEI(*#06#).
If there are still issues with networks but Imei is ok you need to flash qcn file.
FLASHING QCN FILE
1. Download this QCN ZIP and extract.
2. Download Qualcomm qpst tools.
3. Follow this guide from further steps.
https://www.google.co.in/amp/s/forum.xda-developers.com/redmi-note-3/how-to/guide-qpst-tool-backup-imei-nvram-t3455297/amp/
I'm giving credits to all those people whose work I've consolidated for my post and sincerely thankful for the work done by them. Here are some of them
IMEI+EFS-------http://forum.xda-developers.com/member.php?u=7469310
DualIMEI WRITER-----Archelot http://en.miui.com/space-uid-1597338059.html
ZCX TWRP-----http://www.miui.com/thread-4395191-1-1.html

Categories

Resources