Related
SO i rooted my device as i recall to my prior knowledge and i did correctly. Now i've been searching and while i'm confident the steps i have to make are correct i thought i'd still ask to save me from future trouble.
So JDQ39 is the stock firmware i have and of which i made a back up.
Lets say a new update comes out, 4.2.3 or whatever you want to call it. So basically all i would have to do is restore my nandroid backup.
So far so good, next thing i would have to do is install the stock recovery.img (fastboot flash recovery recovery.img) which i got from the zip located here: https://developers.google.com/android/nexus/images with the title: "Factory Images "occam" for Nexus 4
Android 4.2.2 (JDQ39)"
Basically extract the recovery.img, flash it
and then proceed to fastboot oem lock and voila i'm done?
can anyone confirm please? thank you
Download the stock google image file from google for nexus 4 and extract the files in your fast boot directory adb then run the script job done.
Read whole OP
http://forum.xda-developers.com/showthread.php?t=2010312
It sounds like a lot but if you your computer recognizes your device (fastboot devices), it is really easy.
Small extraction:
C. Download the required files to your computer and extract them
1) All of the files that are required, need to be in one (i.e., the same) directory. It does not matter what it is called, but all the files need to be in there, with NO subfolders. EVERYTHING needs to be extracted into this one directory;
2) Download the attachment from the end of this post and extract the contents to the directory created in step 1. Note: if all you want to do is unlock your bootloader, skip to step 7 in this section (C).
3) Download the version of Android you want from https://developers.google.com/android/nexus/images. Make sure you are using an occam image which is for the Nexus 4. Most old versions are not usually available on that site; however, there is a mirror on this site: Random Phantasmagoria.
4) Download the appropriate version (for your computer) of 7-zip from here and install it.
5) Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.
6) Make sure you have extracted ALL the files (including extracting any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted from the .tgz are not necessary;
7) Reboot your device into bootloader mode (by turning it off, hold volume down, and press and hold power) and plug it into your computer;
8) Open a command prompt in the same directory (i.e., make sure you are in the same directory as your files are located). You can hold the shift key when you are in the folder in Windows explorer and right-click in a blank spot and it will open a command prompt.
shadehh said:
SO i rooted my device as i recall to my prior knowledge and i did correctly. Now i've been searching and while i'm confident the steps i have to make are correct i thought i'd still ask to save me from future trouble.
So JDQ39 is the stock firmware i have and of which i made a back up.
Lets say a new update comes out, 4.2.3 or whatever you want to call it. So basically all i would have to do is restore my nandroid backup.
So far so good, next thing i would have to do is install the stock recovery.img (fastboot flash recovery recovery.img) which i got from the zip located here: https://developers.google.com/android/nexus/images with the title: "Factory Images "occam" for Nexus 4
Android 4.2.2 (JDQ39)"
Basically extract the recovery.img, flash it
and then proceed to fastboot oem lock and voila i'm done?
can anyone confirm please? thank you
Click to expand...
Click to collapse
if you simply rooted and would want to get future updates, there is no need to restore your nandroid. if with your root you installed a custom recovery, you are correct that you need to flash stock recovery to install an ota, however with custom recovery installed, someone will surely post a link to the update zip so you can do the update manually using your custom recovery. bootloader won't matter in getting a new update so there is no need to lock it back. you can keep it unlocked and updates will work fine. do note that when an update arrives and installs, if you don't have rootkeeper, you'll lose root so just keep an updated supersu flashable zip in your virtual sdcard so you can simply re-root thru custom rcovery after receiving an update.
How to unbrick or get back stock on your Huawei Mate 8. There are many reasons why you would want to do that.
In my case my device (AL10) was stuck at "your device cannot be trusted" after updating from B180 to B321.
First I got to thank acer73 for his software. ajsmsg78 and Kris Chen for their links to the right ROMs.
Also thanks to DarkSilentSC for his help, especially with the L29, great support.
He has a L29, which I don't have, so I'm glad he provides help with that device.
This worked for me on my AL10 to get it back on track, should work on other models too. Just have to find the right ROMSs as according to your model. However, I am not responsible if this does not work for you or if it bricks your phone even more.
And remember: don't forget turning on usb debugging whenever you can!
Unbrick (return to Stock)
1. Find yourself a stock ROM.zip according to your model and extract from the zip the update.app (I used one from a B172 (AL10) Stock ROM, I was running a B180 custom ROM, it worked.)
2. Download the Huawei Update Extractor http://forum.xda-developers.com/showthread.php?t=2433454
3. Extract boot.img, recovery.img, system.img and cust.img with the HuaweiUpateExtractor from the Update.App you find in the ROM to somewhere where you can find them easily
4. Head over to http://forum.xda-developers.com/mate-8/development/rayglobe-italian-knife-t3295526 (You can also do it with fastboot commands, but Acer73's tool makes it easier)
5. get yourself the Italian Knife (btw you probably have to turn off your anti-virus program), extract it in a directory on your PC and start Rayglobe_knife.exe
6. Put the images you have extracted into the folder Unbrick (same directory where you extracted Rayglobe Knife in). The folder was created after you started Rayglobe_Knife.exe
7. Boot your phone into bootloader.
8. In the Rayglobe Knife tool choose Unbrick and choose the option where it says you have placed all the images in the unbrick folder.
9. let the magic work. The phone will restart and it will probably take 15 minutes, make sure its charged enough.
After all that I quickly updated to the latest Stock ROM version, in my case B321, which you need to do if you want to flash later a custom B321. See second post if you want to do that as well or continue with unlocking the bootloader.
Now lets get the bootloader unlocked (for some reason mine was still unlocked)
1. Get Minimal ADB https://www.androidfilehost.com/?fid=24521665358595410
2. Hopefully you still have your unlock code (cause you need it otherwise it won't work)
3. Put your phone in Bootloader Mode (Press & hold power and volume down)
4. Extract Minimal ADB zip and run command.bat
5. Type <fastboot oem unlock xxxxxxxxxxxxx> (where xxxx is your bootloader unlock code)
6. Done
Now lets get twrp set up
1. For that we need minimal ADB again
2. Headover to http://forum.xda-developers.com/mate-8/development/recovery-twrp-huawei-mate-8-t3298567
3. Download TWRP according to your EMUI (For B321 it's EMUI 4.1)
4. Place the image in the directory of the Minimal ADB
5. Rename it to just twrp.img (not necessary but simplifies things)
6. Put your phone in Bootloader Mode (Press & hold power and volume down)
7. Run command.bat
8. Type <fastboot flash recovery twrp.img>
9. Then type fastboot reboot
10. Now you can hold volume up and power until your phone boots into TWRP
11. You need to format data (you'll lose everything on your phone)
12. Done
Remember: don't forget turning on usb debugging whenever you can!
!!!FOR L29 scroll down to DarkSilentSC's instructions!!!
After unbricking I quickly updated my AL10 to the latest version, in this case B321. Should work with all B3xx
1. Head over to Kris Chen's thread (this I used for the AL10)
http://forum.xda-developers.com/mate-8/development/rom-verison-t3324164
Or ajsmsg78's (also AL10 and L09)
http://forum.xda-developers.com/showpost.php?p=66776194&postcount=58 to get the Stock B321
2. Download the ROM and after downloading the zip file, extract update.app from it. Copy the UPDATE.APP to the internal memory of your HM8 in a folder called - dload (you may have to create it). Then press [volume+]+
[volume-]+[power] together to force the update.
3. Voila B321
-----------
!!![For the L29 you should try DarkSilentSC's instructions, which you find below or in post #54 on page 6 http://forum.xda-developers.com/mate-8/general/unbrick-updating-to-b321-t3375934/page6 don't forget to hit thanks!!!
1. Start from stock B170 firmware with TWRP ready
2. Extract BOOT, CUST, RECOVERY, SYSTEM from B321 UPDATE.APP
3. Add firmware .zip file (which contains META-INF folder and UPDATE.APP) and place it into internal storage
4. Make sure internal storage data is fully backed up
5. Delete All Accounts in Settings
6. Go to Recovery, Wipe Cache, Delvik Cache, Data, System
7. Flash that .zip file! (Getting errors is okay at this time) [This is what I didn't do before!]
8. Boot straight to bootloader
9. fastboot flash boot, cust, and system
10. let it boot. Let it proceed with encryption process in chinese and fully boot into EMUI
11. NOW I'M AT EMUI 4.1!
12. Reboot to fastboot and fastboot flash insecure_boot and flash TWRP
13. Reboot to recovery (TWRP) and then flash whatever rom you want to place in!
14. Enjoying it!
Great, was looking for details instructions like that, was stuck at cannot be trusted screen
Hello. Also i stuck today when i try to update. I try at my own all what did you said ......everything greast but when i try to flash rom from update.app proccess no pass more than 5:%.
My phone was also al-10 but 2 months ago i debrand with internation rom of acer. Nothing i cant flash . phone reboot work but can flash i thing my problem is the oem info file. Can anyone please help me
ganjbass said:
Hello. Also i stuck today when i try to update. I try at my own all what did you said ......everything greast but when i try to flash rom from update.app proccess no pass more than 5:%.
My phone was also al-10 but 2 months ago i debrand with internation rom of acer. Nothing i cant flash . phone reboot work but can flash i thing my problem is the oem info file. Can anyone please help me
Click to expand...
Click to collapse
Which update.app did you use? Maybe your download is corrupt?
BTW I debranded mine too with Acer's to international.
GerManiac said:
Which update.app did you use? Maybe your download is corrupt?
BTW I debranded mine too with Acer's to international.
Click to expand...
Click to collapse
NXT-AL10C00B321 i extract i unbrick from acer tool and then i use uppdate.app t but no pass more than 5%
What method you used for deprand? mine after debrand no able to use wifi recovery also no let me update even if i install factory recovery.
ganjbass said:
NXT-AL10C00B321 i extract i unbrick from acer tool and then i use uppdate.app t but no pass more than 5%
Click to expand...
Click to collapse
But you first used different ROM images to unbrick and then tried to update to B321.
really sounds as if your file is corrupted. Would try to download it again
GerManiac said:
But you first used different ROM images to unbrick and then tried to update to B321.
really sounds as if your file is corrupted. Would try to download it again
Click to expand...
Click to collapse
ok i will try tommorow......thanks for help by theway the phone booted but if i flash recovery for root no boot.... very strange....sometimes aloud to flash from boot some times no ohhhhhhh(((
Or something no correct with huawei extractor..... Can you provide extracted files?
Thanks in advance.
So I unbricked with B170 and then tried force flashing B321. My first attempt at flashing B321 ended up getting stuck at 5%. Tried flashing again and it said it was incompatible with the current firmware version of my phone. Any ideas on what I should do next?
Edit: Nevermind. I mistakenly copied the UPDATE.APP from B170 to the dload folder instead of the one from B321. lol
Now on B321. Thanks!
AndroidBestieRE said:
Great, was looking for details instructions like that, was stuck at cannot be trusted screen
Click to expand...
Click to collapse
Used this stock ROM for L29 to unbrick, it worked well following OP instructions
update.hicloud.com:8180/TDS/data/files/p3/s15/G1076/g104/v46463/f1/full/update.zip
hi, i have follow unbrick guide with knife, flash from knife and phone reboot. when phone reboot in settings, info phones, serial number is b321. is corretcly??
danielg90 said:
hi, i have follow unbrick guide with knife, flash from knife and phone reboot. when phone reboot in settings, info phones, serial number is b321. is corretcly??
Click to expand...
Click to collapse
Don't know which ROM you used to unbrick.
But seems that you used an B321 if that worked for you and you have no problems then that is great.
Could mean that wet can unbrick straight with the most current ROM available. If someone else could confirm?
GerManiac said:
Don't know which ROM you used to unbrick.
But seems that you used an B321 if that worked for you and you have no problems then that is great.
Could mean that wet can unbrick straight with the most current ROM available. If someone else could confirm?
Click to expand...
Click to collapse
i have AL10, please link stock rom that you used
danielg90 said:
i have AL10, please link stock rom that you used
Click to expand...
Click to collapse
Can't find the link right now, am in the car, but I've found this link to B170
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G884/g77/v43738/f1/full/update.zip:
Did not check though if it works
GerManiac said:
Can't find the link right now, am in the car, but I've found this link to B170
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G884/g77/v43738/f1/full/update.zip:
Did not check though if it works
Click to expand...
Click to collapse
sorry, is possible flash with knife if bootloader is locked? my bootloader is locked
hello, my phone is still stuck.. i tried other cust/system/recovery/boot from other update.app, but its still stuck at: your device has been unlocked... im on l29
Have NXT-L29, downloaded stock L09 file from posted link, placed UPDATE.APP into 'dload' folder which I created, but still hanging at 5%. What to do?? Exactly where do I create this 'dload' folder? Just at 'Internal Storage'?
danielg90 said:
sorry, is possible flash with knife if bootloader is locked? my bootloader is locked
Click to expand...
Click to collapse
Bootloader has to be unlocked. You can unlock best with DC unlocker, it's fast and only costs around 5 dollars.
Unless you already have your unlock code then you can unlock following instructions see my first post
GerManiac said:
Bootloader has to be unlocked. You can unlock best with DC unlocker, it's fast and only costs around 5 dollars.
Unless you already have your unlock code then you can unlock following instructions see my first post
Click to expand...
Click to collapse
ok how can i unlocked bootloader with b321 stock?
DarkSilentSC said:
Have NXT-L29, downloaded stock L09 file from posted link, placed UPDATE.APP into 'dload' folder which I created, but still hanging at 5%. What to do?? Exactly where do I create this 'dload' folder? Just at 'Internal Storage'?
Click to expand...
Click to collapse
What are you trying to do? Unbrick or update?
The folder has to be created in internal storage
Reasons to go back
- SIM Unlock tool doesn't work in Marshmallow (The SIM unlock app has a bug)
- Want to check out custom ROMs built on Lollipop
- Just because you can
Once you take the OS update to Marshmallow either through OTA or RUU exe file from HTC website, you can't go back to previous versions of the OS. This is because the misc partition keeps a copy of the version number and if the RUU you want to install is lower than that of what your phone has, it'll stop upgrading.
This is a big problem especially if you haven't SIM unlocked your MetroPCS HTC 626s yet, but upgraded the OS, and the current MetroPCS SIM unlock tool doesn't work. I was stuck in this situation without knowing what the cause was and wasted so much time. I called customer support several times, visited MetroPCS stores twice, all they could offer me was a replacement to a refurbished device and $20 out of pocket.
Instruction
Anyways, assuming you are on on Marshmallow (2.17.1550.1) the procedure to go back to Lollipop (1.23.1550.3) is the following:
1. Install TWRP for a32e. This is done in download mode through "fastboot flash recovery [twrpimage.img]" command.
Code:
https://twrp.me/devices/htcdesire626s.html
2. Install SuperSU 2.78 zip file inside TWRP recovery menu. Download the file, copy it in to your phone, reboot to recovery mode to TWRP, install the zip from there.
Code:
http://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
3. Restore the edited misc.img to your phone's partition. You can use my misc.img file attached in this thread. I only changed the version number from 2.17.1550.1 to 1.00.0000.0 using a hex editor. I compressed the misc.img file, so extract this file before proceeding.
Code:
http://forum.xda-developers.com/attachment.php?attachmentid=3873126&stc=1&d=1473705500
You can do:
"adb push misc.img /sdcard/".
"adb shell"
"su"
"dd if=/sdcard/misc.img of=/dev/block/bootdevice/by-name/misc"
These commands will overwrite your misc partition so that the main version is set to 1.00.0000.0. This allows the lower version Lollipop RUU to be installed.
There's no need to reboot. Just run the Lollipop RUU exe and let it reinstall the stock ROM and you are done.
After all this you can run the MetroPCS SIM unlock app, and it'll work properly and let you permanent SIM unlock as long as you are eligible (after 90 days of service).
Stock RUU downloads:
Marshmallow 2.17.1550.1 Stock RUU exe from HTC.com:
Code:
http://dl3.htc.com/application/RUU_A32E_UL_M60_DESIRE_SENSE70_MR_MetroPCS_US_2.17.1550.1.exe
Lollipop 1.23.1550.3 Stock RUU exe from HTC.com:
Code:
http://dl3.htc.com/application/RUU_A32E_UL_L51_DESIRE_SENSE70_MetroPCS_US_1.23.1550.3.exe
Credits
Big thanks and credit to: @GotHeart @BigCountry907
I posted this write-up since I have just recently gone through the process.
Other details, but not needed for performing the job here:
I tried mainver changing tools from old threads, but they didn't work.
To backup your misc partition in case you want to edit it yourself:
"dd if=/dev/block/bootdevice/by-name/misc of=/sdcard/misc.img"
Then bring the misc.img file to a computer and use any hex editor and look for the version number 2.17.1550.1 if you have the current Marshmallow, change it to 1.00.0000.0. That is the attached misc.img file in this thread.
Update: There is an update to this version ROM which is 2.17.1550.13. I don't know what changes there were from 2.17.1550.1 but hey it's something. I'm going to install the update and then root again. It might be a fix with the broken MetroPCS SIM Unlock app, but I don't know as mine is already SIM unlocked.
edit on 7/25/2017--
Latest version stock ROM as of 7/25/2017
Marshmallow 2.17.1550.23 Stock RUU exe from HTC.com
I had to redo all the flash recovery parition to install teamwin and install SuperSU, but after everything root is working fine.
hp79 said:
Reasons to go back
- SIM Unlock tool doesn't work in Marshmallow (The SIM unlock app has a bug)
- Want to check out custom ROMs built on Lollipop
- Just because you can
Once you take the OS update to Marshmallow either through OTA or RUU exe file from HTC website, you can't go back to previous versions of the OS. This is because the misc partition keeps a copy of the version number and if the RUU you want to install is lower than that of what your phone has, it'll stop upgrading.
This is a big problem especially if you haven't SIM unlocked your MetroPCS HTC 626s yet, but upgraded the OS, and the current MetroPCS SIM unlock tool doesn't work. I was stuck in this situation without knowing what the cause was and wasted so much time. I called customer support several times, visited MetroPCS stores twice, all they could offer me was a replacement to a refurbished device and $20 out of pocket.
Instruction
Anyways, assuming you are on on Marshmallow (2.17.1550.1) the procedure to go back to Lollipop (1.23.1550.3) is the following:
1. Install TWRP for a32e. This is done in download mode through "adb flash recovery [twrpimage.img]" command.
2. Install SuperSU 2.78 zip file inside TWRP recovery menu. Download the file, copy it in to your phone, reboot to recovery mode to TWRP, install the zip from there.
3. Restore the edited misc.img to your phone's partition. You can use my misc.img file attached in this thread. I only changed the version number from 2.17.1550.1 to 1.00.0000.0 using a hex editor. I compressed the misc.img file, so extract this file before proceeding.
You can do:
"adb push misc.img /sdcard/".
"adb shell"
"su"
"dd if=/sdcard/misc.img of=/dev/block/bootdevice/by-name/misc"
These commands will overwrite your misc partition so that the main version is set to 1.00.0000.0. This allows the lower version Lollipop RUU to be installed.
There's no need to reboot. Just run the Lollipop RUU exe and let it reinstall the stock ROM and you are done.
After all this you can run the MetroPCS SIM unlock app, and it'll work properly and let you permanent SIM unlock as long as you are eligible (after 90 days of service).
Stock RUU downloads:
Marshmallow 2.17.1550.1 Stock RUU exe from HTC.com:
Lollipop 1.23.1550.3 Stock RUU exe from HTC.com:
Credits
Big thanks and credit to: @[email protected]
I posted this write-up since I have just recently gone through the process.
Other details, but not needed for performing the job here:
I tried mainver changing tools from old threads, but they didn't work.
To backup your misc partition in case you want to edit it yourself:
"dd if=/dev/block/bootdevice/by-name/misc of=/sdcard/misc.img"
Then bring the misc.img file to a computer and use any hex editor and look for the version number 2.17.1550.1 if you have the current Marshmallow, change it to 1.00.0000.0. That is the attached misc.img file in this thread.
Click to expand...
Click to collapse
Much appreciated pal!!thanks for the guide!
GotHeart said:
Much appreciated pal!!thanks for the guide!
Click to expand...
Click to collapse
Hi GotHeart, once you went back to Lollipop, did the computer recognize the device properly?
I'm on Lollipop right now, maybe it needs another factory reset, or it may be something else related to the USB drivers since I'm using Parallels virtual machine on a Mac, but my phone is not being recognized no matter what I try. Maybe while going back some files were not able to really go back to the lower version?
edit: Never mind. It was something related to my setting with Parallels. After rebooting into native Windows 10 it's being recognized fine.
hp79 said:
Hi GotHeart, once you went back to Lollipop, did the computer recognize the device properly?
I'm on Lollipop right now, maybe it needs another factory reset, or it may be something else related to the USB drivers since I'm using Parallels virtual machine on a Mac, but my phone is not being recognized no matter what I try. Maybe while going back some files were not able to really go back to the lower version?
Click to expand...
Click to collapse
Ive never used this device on a Mac so i cant speak for that OS specifically,but it does recognize my phone just fine on a Windows Based PC.however,download mode takes alot longer to load up,and it says "SD not mounted".i dont know if this error is in relation to the downgrade.after you downgrade,i would think a factory reset is a good idea tbh.
help same problem
hp79 said:
Reasons to go back
- SIM Unlock tool doesn't work in Marshmallow (The SIM unlock app has a bug)
- Want to check out custom ROMs built on Lollipop
- Just because you can
Once you take the OS update to Marshmallow either through OTA or RUU exe file from HTC website, you can't go back to previous versions of the OS. This is because the misc partition keeps a copy of the version number and if the RUU you want to install is lower than that of what your phone has, it'll stop upgrading.
This is a big problem especially if you haven't SIM unlocked your MetroPCS HTC 626s yet, but upgraded the OS, and the current MetroPCS SIM unlock tool doesn't work. I was stuck in this situation without knowing what the cause was and wasted so much time. I called customer support several times, visited MetroPCS stores twice, all they could offer me was a replacement to a refurbished device and $20 out of pocket.
Instruction
Anyways, assuming you are on on Marshmallow (2.17.1550.1) the procedure to go back to Lollipop (1.23.1550.3) is the following:
1. Install TWRP for a32e. This is done in download mode through "fastboot flash recovery [twrpimage.img]" command.
Code:
https://twrp.me/devices/htcdesire626s.html
2. Install SuperSU 2.78 zip file inside TWRP recovery menu. Download the file, copy it in to your phone, reboot to recovery mode to TWRP, install the zip from there.
Code:
http://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
3. Restore the edited misc.img to your phone's partition. You can use my misc.img file attached in this thread. I only changed the version number from 2.17.1550.1 to 1.00.0000.0 using a hex editor. I compressed the misc.img file, so extract this file before proceeding.
Code:
http://forum.xda-developers.com/attachment.php?attachmentid=3873126&stc=1&d=1473705500
You can do:
"adb push misc.img /sdcard/".
"adb shell"
"su"
"dd if=/sdcard/misc.img of=/dev/block/bootdevice/by-name/misc"
These commands will overwrite your misc partition so that the main version is set to 1.00.0000.0. This allows the lower version Lollipop RUU to be installed.
There's no need to reboot. Just run the Lollipop RUU exe and let it reinstall the stock ROM and you are done.
After all this you can run the MetroPCS SIM unlock app, and it'll work properly and let you permanent SIM unlock as long as you are eligible (after 90 days of service).
Stock RUU downloads:
Marshmallow 2.17.1550.1 Stock RUU exe from HTC.com:
Code:
http://dl3.htc.com/application/RUU_A32E_UL_M60_DESIRE_SENSE70_MR_MetroPCS_US_2.17.1550.1.exe
Lollipop 1.23.1550.3 Stock RUU exe from HTC.com:
Code:
http://dl3.htc.com/application/RUU_A32E_UL_L51_DESIRE_SENSE70_MetroPCS_US_1.23.1550.3.exe
Credits
Big thanks and credit to: @GotHeart @BigCountry907
I posted this write-up since I have just recently gone through the process.
Other details, but not needed for performing the job here:
I tried mainver changing tools from old threads, but they didn't work.
To backup your misc partition in case you want to edit it yourself:
"dd if=/dev/block/bootdevice/by-name/misc of=/sdcard/misc.img"
Then bring the misc.img file to a computer and use any hex editor and look for the version number 2.17.1550.1 if you have the current Marshmallow, change it to 1.00.0000.0. That is the attached misc.img file in this thread.
Click to expand...
Click to collapse
can you explain me how to do the misc img step please
Adb says su not found
I get to the part where you have to put adb shell then su but it says su not found, my phone is rooted, it's systemless root though, does that make a difference? Is there a way to do this without using adb? Using su on Terminal Emulator when the phone is booted does work
machucogp said:
I get to the part where you have to put adb shell then su but it says su not found, my phone is rooted, it's systemless root though, does that make a difference? Is there a way to do this without using adb? Using su on Terminal Emulator when the phone is booted does work
Click to expand...
Click to collapse
I'm not sure what a systemless root is. I don't know how you'd do it without regular root. Why don't you try to install normal root? I think it was a pretty easy process to root.
Also, not a good idea to quote the whole original post. Just saying.. Have a good day!
is their a process to do when switching carriers from metropcs after sim unlocked?
Here is a link to Lollipop 5.1 for SPRINT in case anyone needs it.
https://drive.google.com/open?id=0B8jitdIyh2NtUHQ2YWd5T2RCUFk
Sorry for being such a noob but how do i add the misc.img file tried on fastboot no luck ? any help thank you
Error 131
hp79 said:
Reasons to go back
- SIM Unlock tool doesn't work in Marshmallow (The SIM unlock app has a bug)
- Want to check out custom ROMs built on Lollipop
- Just because you can
Once you take the OS update to Marshmallow either through OTA or RUU exe file from HTC website, you can't go back to previous versions of the OS. This is because the misc partition keeps a copy of the version number and if the RUU you want to install is lower than that of what your phone has, it'll stop upgrading.
This is a big problem especially if you haven't SIM unlocked your MetroPCS HTC 626s yet, but upgraded the OS, and the current MetroPCS SIM unlock tool doesn't work. I was stuck in this situation without knowing what the cause was and wasted so much time. I called customer support several times, visited MetroPCS stores twice, all they could offer me was a replacement to a refurbished device and $20 out of pocket.
Instruction
Anyways, assuming you are on on Marshmallow (2.17.1550.1) the procedure to go back to Lollipop (1.23.1550.3) is the following:
1. Install TWRP for a32e. This is done in download mode through "fastboot flash recovery [twrpimage.img]" command.
Code:
https://twrp.me/devices/htcdesire626s.html
2. Install SuperSU 2.78 zip file inside TWRP recovery menu. Download the file, copy it in to your phone, reboot to recovery mode to TWRP, install the zip from there.
Code:
http://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
3. Restore the edited misc.img to your phone's partition. You can use my misc.img file attached in this thread. I only changed the version number from 2.17.1550.1 to 1.00.0000.0 using a hex editor. I compressed the misc.img file, so extract this file before proceeding.
Code:
http://forum.xda-developers.com/attachment.php?attachmentid=3873126&stc=1&d=1473705500
You can do:
"adb push misc.img /sdcard/".
"adb shell"
"su"
"dd if=/sdcard/misc.img of=/dev/block/bootdevice/by-name/misc"
These commands will overwrite your misc partition so that the main version is set to 1.00.0000.0. This allows the lower version Lollipop RUU to be installed.
There's no need to reboot. Just run the Lollipop RUU exe and let it reinstall the stock ROM and you are done.
After all this you can run the MetroPCS SIM unlock app, and it'll work properly and let you permanent SIM unlock as long as you are eligible (after 90 days of service).
Stock RUU downloads:
Marshmallow 2.17.1550.1 Stock RUU exe from HTC.com:
Code:
http://dl3.htc.com/application/RUU_A32E_UL_M60_DESIRE_SENSE70_MR_MetroPCS_US_2.17.1550.1.exe
Lollipop 1.23.1550.3 Stock RUU exe from HTC.com:
Code:
http://dl3.htc.com/application/RUU_A32E_UL_L51_DESIRE_SENSE70_MetroPCS_US_1.23.1550.3.exe
Credits
Big thanks and credit to: @GotHeart @BigCountry907
I posted this write-up since I have just recently gone through the process.
Other details, but not needed for performing the job here:
I tried mainver changing tools from old threads, but they didn't work.
To backup your misc partition in case you want to edit it yourself:
"dd if=/dev/block/bootdevice/by-name/misc of=/sdcard/misc.img"
Then bring the misc.img file to a computer and use any hex editor and look for the version number 2.17.1550.1 if you have the current Marshmallow, change it to 1.00.0000.0. That is the attached misc.img file in this thread.
Click to expand...
Click to collapse
Hi I do your tutorial and when ruu start to copy the fIles I get error 131, do you something About this error
BigCountry907 said:
Here is a link to Lollipop 5.1 for SPRINT in case anyone needs it.
https://drive.google.com/open?id=0B8jitdIyh2NtUHQ2YWd5T2RCUFk
Click to expand...
Click to collapse
Not quite sure what this is, or how to use it. (Just getting a zip, full of other zips that i cant open)
It is a RUU for the sprint version of the desire 626s.
To use it you have to rename the file to ( 0PM9IMG.zip ) and copy it to the external sdcard of the phone.
Then boot the phone to download mode...........
It will ask you if you want to flash.
Hit the volume up key and it will flash the ruu. This restores the device to out of the box condition.
The ruu is the complete firmware for the device.
It is encrypted. To unzip and do anything with separate files you have to decrypt them.
See here.
http://forum.xda-developers.com/showthread.php?t=2084470
Or a good tool.
http://forum.xda-developers.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928
The ruu packages are perfect for fixing you phone if you have bricked it or bootloop or if you just want to start fresh like factory reset.
BigCountry907 said:
It is a RUU for the sprint version of the desire 626s.
To use it you have to rename the file to ( 0PM9IMG.zip ) and copy it to the external sdcard of the phone.
Then boot the phone to download mode...........
It will ask you if you want to flash.
Hit the volume up key and it will flash the ruu. This restores the device to out of the box condition.
The ruu is the complete firmware for the device.
It is encrypted. To unzip and do anything with separate files you have to decrypt them.
See here.
http://forum.xda-developers.com/showthread.php?t=2084470
Or a good tool.
http://forum.xda-developers.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928
The ruu packages are perfect for fixing you phone if you have bricked it or bootloop or if you just want to start fresh like factory reset.
Click to expand...
Click to collapse
Thanks, hopefully going back to L will help with stability. At least on my phone the stock MM rom isn't even stable
I prefer lollipop over marshmallow for testing.
Marshmallow has a ton of new security.
Download the ADB Files f
I did figure out how to push misc and all this final step, however, when i go to run the Lollipop RUU exe it still reads the same 2.17.1550.1 version like nothing changed. I went ahead and it does the "update" to Lollipop 1.23.1550.3 but withing 3 minutes of running i get Unknown Error [155]. But I tried again with the same RUU and finally worked.
The problem now is the unlock app that keeps saying; "Device not recognized by your service provider. Please call customer care."
I performed hard reset, app cashe and memory wipe and still the same.
Any solutions on this issue so far?
Thanks
comphy said:
I did figure out how to push misc and all this final step, however, when i go to run the Lollipop RUU exe it still reads the same 2.17.1550.1 version like nothing changed. I went ahead and it does the "update" to Lollipop 1.23.1550.3 but withing 3 minutes of running i get Unknown Error [155]. But I tried again with the same RUU and finally worked.
The problem now is the unlock app that keeps saying; "Device not recognized by your service provider. Please call customer care."
I performed hard reset, app cashe and memory wipe and still the same.
Any solutions on this issue so far?
Thanks
Click to expand...
Click to collapse
i did the procedure and do like a charm, only need onluck bootloader first and change en command to push misc.img the /sdcard/ for only /
regards!
picaron1 said:
i did the procedure and do like a charm, only need onluck bootloader first and change en command to push misc.img the /sdcard/ for only /
regards!
Click to expand...
Click to collapse
I did tooo, but my problem is the unlock app that keeps saying; "Device not recognized by your service provider. Please call customer care."
I performed hard reset, app cashe and memory wipe and still the same message. How did you work this issue out or what message did you get from unlock app?
hp79 said:
Reasons to go back
- SIM Unlock tool doesn't work in Marshmallow (The SIM unlock app has a bug)
- Want to check out custom ROMs built on Lollipop
- Just because you can
Once you take the OS update to Marshmallow either through OTA or RUU exe file from HTC website, you can't go back to previous versions of the OS. This is because the misc partition keeps a copy of the version number and if the RUU you want to install is lower than that of what your phone has, it'll stop upgrading.
This is a big problem especially if you haven't SIM unlocked your MetroPCS HTC 626s yet, but upgraded the OS, and the current MetroPCS SIM unlock tool doesn't work. I was stuck in this situation without knowing what the cause was and wasted so much time. I called customer support several times, visited MetroPCS stores twice, all they could offer me was a replacement to a refurbished device and $20 out of pocket.
Instruction
Anyways, assuming you are on on Marshmallow (2.17.1550.1) the procedure to go back to Lollipop (1.23.1550.3) is the following:
1. Install TWRP for a32e. This is done in download mode through "fastboot flash recovery [twrpimage.img]" command.
Code:
https://twrp.me/devices/htcdesire626s.html
2. Install SuperSU 2.78 zip file inside TWRP recovery menu. Download the file, copy it in to your phone, reboot to recovery mode to TWRP, install the zip from there.
Code:
http://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
3. Restore the edited misc.img to your phone's partition. You can use my misc.img file attached in this thread. I only changed the version number from 2.17.1550.1 to 1.00.0000.0 using a hex editor. I compressed the misc.img file, so extract this file before proceeding.
Code:
http://forum.xda-developers.com/attachment.php?attachmentid=3873126&stc=1&d=1473705500
You can do:
"adb push misc.img /sdcard/".
"adb shell"
"su"
"dd if=/sdcard/misc.img of=/dev/block/bootdevice/by-name/misc"
These commands will overwrite your misc partition so that the main version is set to 1.00.0000.0. This allows the lower version Lollipop RUU to be installed.
There's no need to reboot. Just run the Lollipop RUU exe and let it reinstall the stock ROM and you are done.
After all this you can run the MetroPCS SIM unlock app, and it'll work properly and let you permanent SIM unlock as long as you are eligible (after 90 days of service).
Stock RUU downloads:
Marshmallow 2.17.1550.1 Stock RUU exe from HTC.com:
Code:
http://dl3.htc.com/application/RUU_A32E_UL_M60_DESIRE_SENSE70_MR_MetroPCS_US_2.17.1550.1.exe
Lollipop 1.23.1550.3 Stock RUU exe from HTC.com:
Code:
http://dl3.htc.com/application/RUU_A32E_UL_L51_DESIRE_SENSE70_MetroPCS_US_1.23.1550.3.exe
Credits
Big thanks and credit to: @GotHeart @BigCountry907
I posted this write-up since I have just recently gone through the process.
Other details, but not needed for performing the job here:
I tried mainver changing tools from old threads, but they didn't work.
To backup your misc partition in case you want to edit it yourself:
"dd if=/dev/block/bootdevice/by-name/misc of=/sdcard/misc.img"
Then bring the misc.img file to a computer and use any hex editor and look for the version number 2.17.1550.1 if you have the current Marshmallow, change it to 1.00.0000.0. That is the attached misc.img file in this thread.
Update: There is an update to this version ROM which is 2.17.1550.13. I don't know what changes there were from 2.17.1550.1 but hey it's something. I'm going to install the update and then root again. It might be a fix with the broken MetroPCS SIM Unlock app, but I don't know as mine is already SIM unlocked.
Click to expand...
Click to collapse
I've followed every step and it's all good except when I try to do the last step.
When I type "dd if=/sdcard/misc.img of=/dev/block/bootdevice/by-name/misc" I get a return message saying :no such file or directory found, even thou the misc.img file is in the same folder
Can anyone help with this?
need help
Sir / brother i have htc desire 626s sprint i exdently updated my phone in to marshmallow but after upgrade my sim is locked if i tried this misc edited img file for come to lower version but i have not ruu lollipop file for my phone please give me link for this file code are a32ewhl , sorry 4 my English thanks in advance
UsU Removal and Unbricking Method for ARB 02 Devices
WARNING: THIS METHOD IS FOR DEVICES ON ARB=2 **ONLY**!!!!!
ANY DAMAGE DONE TO YOUR DEVICE FOR FOLLOWING YOUR GUIDE, IS YOUR RESPONSIBILITY! I AM NOT RESPONSIBLE IF YOU'RE DEVICE IS BRICKED DURING THIS GUIDE!
INFO:
While trying to fix my bricked LG G4 VS986, I accidentally figured out a method to fix a stuck on bootscreen firmware, and at the same time, remove UsU. Unfortunately, after messaging back and forth with SteadFasterX, he confirmed that this method will only work on ARB=2 LG G4's, Meaning that models H815, H812, H818, H819, F500 Will not work, and NEVER WILL WORK, at least not with this method.
That being said, your warranty is obviously already void if you have UsU, and if you don't, WHY ARE YOU HERE lol
Also, if you have a frankenstein device (device labeled and shown as a certain model, with a different model motherboard), I have no idea if this guide will work for you, although it did for my frankenstein device, at the loss of cell service. But no guarantees!
So lets get right into it!
REQUIREMENTS:
- UsU Bootloader Unlocked LG G4
- Your device must have a firmware available (doesn't have to be currently installed) with an ARB value of 2 ... Anything else, and your device WILL brick
- Patience and the understanding that if you brick your device, it IS NOT my fault
REQUIRED DOWNLOADS
- TOT file for YOUR device model (not our gpt compatible model, your model under the battery model)
You can find some tot files here (make sure you select the TOT FILE, not the kdz, or else this guide will not work): TOT Files
Or if you have the verizon variant, you can use the file i used, here
And if you can't stand the slow download speeds, look up Fshare premium link generator on google, and I never said that, mods (XD)
- LGUP and UPPERCUT tool (BOTH REQUIRED!!!)
You can download LGUP and the UPPERCUT tool from here
- QFIL and RESTORE FILES (I know, calm down)
You will need to download, as well as install, the qualcomm drivers, and a few unbrick firehose files, both of which can be found here
INSTALLATION:
Step 1:
Download and Extract the RAR file for your ORIGINAL (not GPT compatible) G4 model. For me, it was the VS986. I recommend you make a folder on your desktop, and extract all the files you download right to the root of it.
Step 2:
Download and extract the LGUP and UPPERCUT tool from the above Google Drive link, making sure to install the dll .msi installer, and then the LGUP setup.
Step 3:
Extract the UPPERCUT tool and navigate to the UPPERCUT.exe file extracted. Connect your phone in download mode by powering it down, then holding volume up while plugging the phone into your computer. Open the UPPERCUT.exe file, and wait for LGUP to show up
Step 4:
In the list of options below the list of connected devices, make sure that "PARTITION DL" is selected. Find the line below the list of options that says bin file. Double-click it, and select the TOT file you downloaded earlier. Click "Start", and when a window with a list of partitions appears, just tick "Select All" and click "OK"
Step 5:
The firmware should flash. If it throws an error out at you, double check that you selected "Partition DL", and that you have the LG Mobile USB drivers installed on your computer.
Once it is done flashing, your phone will be in a bricked state. DO NOT WORRY!!! We will fix this next
Step 6:
Your phone should go into Qualcomm HSUSB Dloader 9008 Mode after the flash is complete. This is what is SUPPOSED to happen, and means things are going in the direction they should be going in the process. Read on
Step 7:
Now download the QFIL files from the download link above. Extract them to the folder previously created on the desktop. Install the "INSTALL FIRST - DRIVERS.exe" file, then reboot your computer. Navigate to the "QFIL" folder, in the same directory as the file you just installed. Run "QFIL.exe", NOT AS ADMINISTRATOR, ELSE YOU WILL FAIL, and make sure your port is showing at the top. If it is not, click "select port", and click on the Qualcomm 9008 port, and click "ok". Under "Select Build Type", click "Flat Build".
Step 8:
Under "Select Programmer", click browse, and navigate to the "Unbrick LG G4 QFIL" folder in the same directory as the QFIL folder you extracted, and select the "prog_emmc_firehose_8992_lite.mbn" file. Then, under "Download", click "Load XML", and just click the first file in the window that pops up for each XML file it asks for (should be "rawprogram0.xml" first, and "patch0.xml" second). Once you select those files, click download. Wait for it to finish, it may take up to two minutes.
Step 9:
Once its done, you should see the LG logo on your device's display. Do not do anything, including moving the device, just to be safe, until you see the android setup screen. Once you see the android setup screen, your device may get stuck on "checking connection", just wait two minutes until the skip button appears, and you'll be good. If you want, you can now flash an official KDZ file for your device, as there may be some mods done to some of those TOT files, as I am not the creator of them.
Step 10:
That's it, you're done! Once you get to the setup screen, you are on your device's original firmware, and your bootloader is once again locked. If you found this guide helpful, consider thanking me and donating to me via paypal by clicking here
Don't forget to give this post a thanks if it helped you, and if you want to support me, donate to me via paypal by clicking here
jacoblong09 said:
WARNING: THIS METHOD IS FOR DEVICES ON ARB=2 **ONLY**!!!!!
I will be posting the UsU removal/relocking process in a couple hours, stay tuned!
Click to expand...
Click to collapse
Reservation.
I am not seeing PARTITION DL ? ALLI see in Process are 4 options : Upgrade, PRL Update, PHONESETTING and FOTA Upgrade?
seanwarez said:
I am not seeing PARTITION DL ? ALLI see in Process are 4 options : Upgrade, PRL Update, PHONESETTING and FOTA Upgrade?
Click to expand...
Click to collapse
did you use the UPPERCUT tool to open LGUP, rather than using the regular lgup shortcut? That's the only way to make the PARTITION DL option appear. Make sure you also have installed the lgup dll .msi setup program before running uppercut. let me know how it goes
there are dangerous and non- trustable qfil files on web be carefull your devices my convert to ls991 or f500l!! (because mine was before)and never back to network connection again
floast said:
there are dangerous and non- trustable qfil files on web be carefull your devices my convert to ls991 or f500l!! (because mine was before)and never back to network connection again
Click to expand...
Click to collapse
Hi, my lg g4 811 converted to ls991 too, how did you get out of yours
jacoblong09 said:
did you use the UPPERCUT tool to open LGUP, rather than using the regular lgup shortcut? That's the only way to make the PARTITION DL option appear. Make sure you also have installed the lgup dll .msi setup program before running uppercut. let me know how it goes
Click to expand...
Click to collapse
Actually the files you posted have some KMS threats, according to my AV sw anyway.
https://forum.xda-developers.com/showpost.php?p=73051003&postcount=32 allows me to have a patched dev Lgup. I even do not need to do anything to unbrick! It was not bricked and I was back to the rooted stock LP, unUsUed in 1 step, using the patched LGUP dev and your tot file, flashed using Partition DL, well at least it worked for my VS986.
using uppercut all i have is the 4 normal settings . If i patch the dll i get the rest but lgup.dll .0.3.2 will not finish flashing stops at 16% (boot). reinstall lgup and extract Lg-up.dll .0.0 .4 from vs9862ba.kdz, lg up flashes fine with the 4 settings but when patch is applied it states *unknown .dll version*.
help please
SatGator said:
using uppercut all i have is the 4 normal settings . If i patch the dll i get the rest but lgup.dll .0.3.2 will not finish flashing stops at 16% (boot). reinstall lgup and extract Lg-up.dll .0.0 .4 from vs9862ba.kdz, lg up flashes fine with the 4 settings but when patch is applied it states *unknown .dll version*.
help please
Click to expand...
Click to collapse
It is way deeper than that, what you have to do is download the firmware, extract it into a folder then flash all the key components via adb, that worked for me.
flashed the VS98613B_Fix_Global_by_Lamlazy .tot it did not brick my device .. simply installed and powered on...
If i understand. qfil files for F500 available??
So it means F500 can be un unlocked right?
post #5 says device may converted to ls991 or f500.
I think that F500 is still non fusing device even after USU. So it can flash ARB 0 KDZs. I'm bit confused???
[email protected] said:
If i understand. qfil files for F500 available??
So it means F500 can be un unlocked right?
post #5 says device may converted to ls991 or f500.
I think that F500 is still non fusing device even after USU. So it can flash ARB 0 KDZs. I'm bit confused???
Click to expand...
Click to collapse
Never ever mess with qfil unless you understand fully the technical details about how this tool is working and how ****ing dangerous it is to use it. There are no valid files for your model available so even when they are named for the f500 I can't say it often enough do not use it! Also as already said in the other thread your device arb and non fusing has nothing to do with the model number as it's not that easy.
You can unlock your device by UsU and when you have a fusing device like 90% have than you can't relock afterwards
Sent from my LG-H815 using XDA Labs
after relocking using this method can re-usu-unlock be achieved again ?
Deleted
Deleted.
pls can anyone share the download links? above link is broken thanks.
i recently unlock the bl just to get root but the phone doesnt let me install magisk.
im on pie right now.
any ideas?
thanks
You'll want the windows kdz extract tool, extract the .dz file from the kdz your using. Then extract all the images from the .dz. Your looking for the boot_img(a bunch of numbers), there will be two, doesn't matter which one. Rename the file to boot.img and transfer it to your phone. Use magisk too patch the file and transfer the file back to your computer. Put your phone into engineering mode (the mode for the QFIL program, forgot the modes name atm). Use the partition mode, find both boot_a and boot_b and load your magisk_patched file to both of them. Reboot your phone and you should be good.
Since you've unlocked your bootloader I'm assuming you already have and are familiar with QFIL and the windowskdzextrator tool. If i'm mistaken let me know. Good luck bro