Go back to the original firmware for all Huawei-Series via UPDATE.APP extract. - Huawei Y5 (2017) Questions & Answers

If you want to go back to the original firmware. Here is a little guide.
First, download your firmware at https://easy-firmware.com/home/browse/category/id/337/.
Then you extract the UPDATE.APP from this archive.
Next, load the splitupdater from here: https://github.com/marcominetti/split_updata.pl.
Moves the folder split under Downloads and copies the UPDATE.APP into it.
Then open the terminal and enter the following.
1. cd downloads
2. ls
3. cd split
4. # copy splitupdate, crc and UPDATE.APP files
5. chmod + x splitupdate
6. chmod + x crc
7. ./splitupdate UPDATE.APP
Now you boot your Huawei in the fast boot mode first connect the USB cable and at the same time hold down the volume down button until the Fastboot mode appears.
Then you just need to install the files BOOT.img, RECOVERY.img and SYSTEM.img via the terminal with the following command. The 3 files can be found in the split output folder.
1. fastboot devices
2. fastboot flash boot BOOT.IMG
3. fastboot flash recovery RECOVERY.img
4. fastboot flash system SYSTEM.img
5. fastboot reboot
Now you have a fresh clean install again.
I hope that the guide will help you with missteps of Custom Roms that are listed here.
Greetings Jack241287

Related

Tried rooting and bricked it, any help?

I tried rooting it, and after flashing the latest build and installing TWRP I get a "Decryption Unsuccessful" message. Factory reset doesn't work.
In TWRP log I get:
E: Unable to mount storage
Version 2.8.7.2 on TWRP and Build mdb08k.
xDucker said:
I tried rooting it, and after flashing the latest build and installing TWRP I get a "Decryption Unsuccessful" message. Factory reset doesn't work.
In TWRP log I get:
E: Unable to mount storage
Version 2.8.7.2 on TWRP and Build mdb08k.
Click to expand...
Click to collapse
Try this below. Follow step 8 in the tutorial linked below and try to get back to stock, leave phone unlocked, then try to follow the guide again from step 2. Also you you might have to change some commands around in step 8 if you are using a different build when sending commands in the bootloader. bootloader-angler-angler-01.31.img radio-angler-angler-01.29.img are the two files that will differ from build to build. Just change the command to use the proper filename.
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
This will fix your problem. See link above ^^ Your bootloop sounds like you didn't do step 5 and get the modified boot.bin for root. http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344. Make sure you follow step 5 in the guide in the link below. Also another thing that can cause bootloops is you let TWRP install SU/Root, if it asks upon exit, make sure you decline. I was messing with my phone for hours friday night because of bootloops but you just need to folow the link below, start at step 8, don't relock your device, then test to see if you can boot into Android again. Upon confirming you can boot android again, start the guide at step 2 once you get things working again. Install TWRP, then step 3, then step 5 you want to make sure you follow 100% so you don't get bootloops. Make sure you flash Chainfires boot.bin as linked, then make sure you have put the SUPerSU zip on your internal storage and you flash that in TWRP install. Then you should be golden. Make a nandroid backup of your system once you get root installed properly.
Go to step 8. Get the factory image https://developers.google.com/android/nexus/images?hl=en Don't relock your device though like it says to do at the end of step 8.
Download the appropriate factory images for your model here.
Unzip the angler-xxxxxx-factory-xxxxxxxx (x's replace variables) into a directory on your PC (for this guide we'll use C:\angler\).
Once unzipped you should have a folder named angler-xxxxxx (x's replace variables). Open it and move the following files to a new directory named C:\angler\images\:
bootloader-angler-angler-01.31.img
radio-angler-angler-01.29.img
(Please note that radio and bootloader naming changes from build to build so the filenames and below commands will change with them)
Within C:\angler\angler-xxxxxx\ you'll see another zip archive named image-angler-xxxxxx, unzip the contents of that zip into the C:\angler\images\ folder we created before. Now within C:\angler\images\ you should have the following files:
android-info.txt
boot.img
bootloader-angler-angler-01.31.img
cache.img
radio-angler-angler-01.29.img
recovery.img
system.img
userdata.img
vendor.img
Boot into the bootloader and connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter these commands to flash:
Code:
fastboot flash bootloader C:\angler\images\bootloader-angler-angler-01.31.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\images\radio-angler-m8994f-2.6.28.0.65.img
fastboot reboot-bootloader
fastboot flash boot C:\angler\images\boot.img
fastboot erase cache
fastboot flash cache C:\angler\images\cache.img
fastboot flash recovery C:\angler\images\recovery.img
fastboot flash system C:\angler\images\system.img
fastboot flash vendor C:\angler\images\vendor.img
The following command is optional as it isn't usually necessary:
Code:
fastboot format userdata
Please note that formatting userdata will (obviously) wipe all user data from the device, this includes everything on your internal storage (images, music, files, etc), apps, and system settings.
TNS201 said:
Try this below. Follow step 8 in the tutorial linked below and try to get back to stock, leave phone unlocked, then try to follow the guide again from step 2. Also you you might have to change some commands around in step 8 if you are using a different build when sending commands in the bootloader. bootloader-angler-angler-01.31.img radio-angler-angler-01.29.img are the two files that will differ from build to build. Just change the command to use the proper filename.
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
This will fix your problem. See link above ^^ Your bootloop sounds like you didn't do step 5 and get the modified boot.bin for root. http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344. Make sure you follow step 5 in the guide in the link below. Also another thing that can cause bootloops is you let TWRP install SU/Root, if it asks upon exit, make sure you decline. I was messing with my phone for hours friday night because of bootloops but you just need to folow the link below, start at step 8, don't relock your device, then test to see if you can boot into Android again. Upon confirming you can boot android again, start the guide at step 2 once you get things working again. Install TWRP, then step 3, then step 5 you want to make sure you follow 100% so you don't get bootloops. Make sure you flash Chainfires boot.bin as linked, then make sure you have put the SUPerSU zip on your internal storage and you flash that in TWRP install. Then you should be golden. Make a nandroid backup of your system once you get root installed properly.
Go to step 8. Get the factory image https://developers.google.com/android/nexus/images?hl=en Don't relock your device though like it says to do at the end of step 8.
Download the appropriate factory images for your model here.
Unzip the angler-xxxxxx-factory-xxxxxxxx (x's replace variables) into a directory on your PC (for this guide we'll use C:\angler\).
Once unzipped you should have a folder named angler-xxxxxx (x's replace variables). Open it and move the following files to a new directory named C:\angler\images\:
bootloader-angler-angler-01.31.img
radio-angler-angler-01.29.img
(Please note that radio and bootloader naming changes from build to build so the filenames and below commands will change with them)
Within C:\angler\angler-xxxxxx\ you'll see another zip archive named image-angler-xxxxxx, unzip the contents of that zip into the C:\angler\images\ folder we created before. Now within C:\angler\images\ you should have the following files:
android-info.txt
boot.img
bootloader-angler-angler-01.31.img
cache.img
radio-angler-angler-01.29.img
recovery.img
system.img
userdata.img
vendor.img
Boot into the bootloader and connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter these commands to flash:
Code:
fastboot flash bootloader C:\angler\images\bootloader-angler-angler-01.31.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\images\radio-angler-m8994f-2.6.28.0.65.img
fastboot reboot-bootloader
fastboot flash boot C:\angler\images\boot.img
fastboot erase cache
fastboot flash cache C:\angler\images\cache.img
fastboot flash recovery C:\angler\images\recovery.img
fastboot flash system C:\angler\images\system.img
fastboot flash vendor C:\angler\images\vendor.img
The following command is optional as it isn't usually necessary:
Code:
fastboot format userdata
Please note that formatting userdata will (obviously) wipe all user data from the device, this includes everything on your internal storage (images, music, files, etc), apps, and system settings.
Click to expand...
Click to collapse
Thank you! That's what I get for watching a ****ty youtube guide.

problem P8 lite

please can someone help me
after installing TWRP Recovery my huawei p8 lite is bloqued on menu twrp
reboot --- system
he return too twrp menu
:crying::crying::crying::crying::crying:
Just download the file:
https://mega.nz/#!lEcGQZCC!X2fmOZ-ShY-Kx-9lwnSUN16Vo52_aU0i4K1KmdBW64Q
Boot up into fastmode: vol down + on off button at the same time for 10 seconds
Make sure your usb cable is connected to your computer.
Extract the zip file to your computer.
Go into a command prompt and go to the unzipped directory.
Once in the directory type the command : mfastboot flash recovery recovery.img
Now the stock recovery should be installed on your system.
If the system still does not startup try the bat file FLASH-ALL.bat in the same unzipped directory. (this will erase all your data !!!)

Bricked P9 Lite

Hey peeps, need some advice/help desperately please
Situation:
P9 Lite on Marshmallow vns-l23c605b120
Bootloader:locked
FRP:Locked
Phone:Locked
Tried to update to Nougat and it failed and now I'm stuck between erecovery (which serves absolutely no purpose at this point) and fastboot mode, I've gotten into recovery once or twice but factory reset fails as well. I've tried the same firmware that is currently installed and that fails too, which is perplexing to me. I'm pretty much at my wits end and I really need some help.
Solution
1. Download C432B160 Huawei Extractor and SRK Tool Huawei
2. Prepare your unlock bootloader code
3. Unpack UPDATE.APP by Huawei Extractor (You need files: boot.img, system.img, recovery.img, cust.img)
4. Go to folder SRK Tool Huawei -> Command
5. Put *.img files to Command folder
6. Put UPDATE.APP (Not extracted) on your sdcard in folder "dload"
6. Hold Shift + right right mouse button "Open the command line here"
7. Plug your phone in fastboot mode (vol- and power button then fast plug USB)
8. Type in cmd "fastboot devices" (Now you probably see your device)
9. Type:
fastboot oem unlock xx"your bootloader unlock code"xx
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img (that command takes 2-3 minutes)
10. Unplug Your device
11. Hold vol- vol+ and power button, it will install UPDATE.APP from your sdcard
12. Done!
najjannajS650 said:
1. Download C432B160 Huawei Extractor and SRK Tool Huawei
2. Prepare your unlock bootloader code
3. Unpack UPDATE.APP by Huawei Extractor (You need files: boot.img, system.img, recovery.img, cust.img)
4. Go to folder SRK Tool Huawei -> Command
5. Put *.img files to Command folder
6. Put UPDATE.APP (Not extracted) on your sdcard in folder "dload"
6. Hold Shift + right right mouse button "Open the command line here"
7. Plug your phone in fastboot mode (vol- and power button then fast plug USB)
8. Type in cmd "fastboot devices" (Now you probably see your device)
9. Type:
fastboot oem unlock xx"your bootloader unlock code"xx
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img (that command takes 2-3 minutes)
10. Unplug Your device
11. Hold vol- vol+ and power button, it will install UPDATE.APP from your sdcard
12. Done!
Click to expand...
Click to collapse
He has VNS-L23C605B120...
FunnkyHD said:
He has VNS-L23C605B120...
Click to expand...
Click to collapse
So sorry, he need to use files for his device, but i mean that procedur will be same
najjannajS650 said:
1. Download C432B160 Huawei Extractor and SRK Tool Huawei
2. Prepare your unlock bootloader code
3. Unpack UPDATE.APP by Huawei Extractor (You need files: boot.img, system.img, recovery.img, cust.img)
4. Go to folder SRK Tool Huawei -> Command
5. Put *.img files to Command folder
6. Put UPDATE.APP (Not extracted) on your sdcard in folder "dload"
6. Hold Shift + right right mouse button "Open the command line here"
7. Plug your phone in fastboot mode (vol- and power button then fast plug USB)
8. Type in cmd "fastboot devices" (Now you probably see your device)
9. Type:
fastboot oem unlock xx"your bootloader unlock code"xx
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img (that command takes 2-3 minutes)
10. Unplug Your device
11. Hold vol- vol+ and power button, it will install UPDATE.APP from your sdcard
12. Done!
Click to expand...
Click to collapse
Ultimate unbrick guide!
EDIT: @k1ll3r8e 's toolkit can do all that with mouse clicks ?
Hello, I’m in pretty much the same situation but I can’t even access fastboot. Also, eRecovery cannot download any package.
I think the only option I have is to flash a new OTA via microSD.
My Huawei is a VNS-L21C432B160.
Yes, try to download the full version of VNS-L21C432B160 and flash it via SD card

[GUIDE] [ROOT] Extracting boot.img and rooting Xperia XA1

Unlocking the bootloader
There are couple of options available when it comes to unlocking the bootloader:
• Using Sony's method, as outlined here - https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/.
• Using the Flashtool, by connecting the device in Fastboot mode, and pressing Unlock bootloader button within Flashtool.
Flashing new firmware using Flashtool
Xperia blog has a very detailed guide on how to use Flashtool to flash a new firmware, so I would recommend following it - http://www.xperiablog.net/2016/03/12/install-xperia-marshmallow-using-flashtool-and-xperifirm-guide/.
Creating kernel.elf file
Once the you are done flashing the firmware using the guide above, it is time to extract the kernel.sin and covert it to kernel.elf file. .
1. Navigate to the folder where you had originally downloaded Xperia firmware for flashing. The path should be something similar to C:\Users\USER\.flashTool\firmwares
2. Within the same folder open the .ftf file in file archiving program, such as WinRar or 7Zip
3. Find a file called kernel.sin and extract it somewhere in your computer
4. Launch Flashtool and navigate to Tools > Sin Editor
5. Locate your kernel.sin file and select Extract data option
6. Flashtool should output a kernel.elf file in the same location as kernel.sin file
Creating boot.img file
Now it is time to extract boot.img file from the kernel.elf file. This can be achieved using Android Image Kitchen tools - https://forum.xda-developers.com/showthread.php?t=2073775.
1. Open the folder where Android Image Kitchen is located
2. Drag and drop your kernel.elf file into the unpackimg.bat file
3. A new window should open showing the progress of the unpacking
4. Once that is done, go back to the Android Image Kitchen folder and launch repackimg.bat file
5. A new window will open again, and once the process is done, you will a image-new.img file in the same folder
6. Rename image-new.img file to boot.img and you are done
Flashing boot.img
1. Reboot your device into fastboot mode
2. Open command line tools (Command Prompt, or similar) on your machine
3. Navigate to the folder where your boot.img file is saved by entering cd [Path to the boot.img file]
4. Type in fastboot devices command to verify that your phone is recognized
5. Type in fastboot reload to reload the bootloader
6. Type in fastboot boot boot.img to test the boot image. If your phone boots up fine, then the boot.img is safe to flash
7. Type in fastboot flash boot boot.img to flash the boot image
8. Type in fastboot reboot to restart your phone
If fastboot commands do not seem to work, then try typing ./fastboot followed by your command.
Click to expand...
Click to collapse
Flashing Magisk
Now that you have a boot.img file which is fully compatible with the firmware on your phone, you can easily install Magisk on your phone to get root privileges. Simply follow this installation guide in the original Magisk thread - https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445. Keep in mind that you will need to use Magisk Manager install method.
creating a boot img file the way you explain gives a brick on xa1 latest firmware, not working
trying to boot the image before flashing already gives bootloop on the device
Radishface said:
Unlocking the bootloader
There are couple of options available when it comes to unlocking the bootloader:
• Using Sony's method, as outlined here - https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/.
• Using the Flashtool, by connecting the device in Fastboot mode, and pressing Unlock bootloader button within Flashtool.
Flashing new firmware using Flashtool
Xperia blog has a very detailed guide on how to use Flashtool to flash a new firmware, so I would recommend following it - http://www.xperiablog.net/2016/03/12/install-xperia-marshmallow-using-flashtool-and-xperifirm-guide/.
Flashtool doesnt recognize XA1, only XA2? Help?
Click to expand...
Click to collapse
Awesome guide!
So easy, so quick.
Just rooted my xda1 dual (G3112 7.0) in less than 1h (downloading all the needed stuff)
Thx!!

install PitchBlack Recovery on Redmi Note 6 Pro [PBRP]

1. First Unlock the Bootloader of Your Phone. (Attention: Unlocking the bootloader will erase all your data! So please back up your data before you unlock the bootloader)
2. Download The PitchBlack Recovery zip file here.
3. Download the Platform Tools folder here and unzip the folder on your desktop.
4. Unzip the PitchBlack Recovery zip folder and copy the recovery.img form TWRP folder and paste in the Platform tool folder.
5. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)
6. Opne the command Prompt WIndow son the Platforms tool folder.
7. Now enter the following command to flash recovery.
fastboot flash recovery recovery.img
8. Now boot your phone in recovery.
fastboot boot recovery.img
9. Once your phone PBRP recovery copy the Pitch Balck Recovery Zip in the phone.
10. Install the Pitch Balck Recovery Zip file.
11. Reboot > System
Done
.

			
				
Hi,
I installed this recovery. But evry time I boot into recovery, it said enter password. Then I installed DM verity disabler. after that installed this recovery zip file. Now seems working.
But, when I checked the developer options, it isn't showing device is unlocked. It says "this device is locked", and it wants me to bind account to unlock.
I checked by fastboot, and it says device unlocked = true.
Why developer options shows device is locked?
Installed rom is global stable 10.0.5.0
What must I do to developer options unlock status show true(locked).
thanks...
cannot mount storage, please help

Categories

Resources