how to flash stock firmware in kddi??? zip dowmloaded all are corrupted!! - HTC Butterfly 3

please someone could guide me my butterfly 3 au is bricked. bootloader is locked and i tried unlocking it but no luck. so i have download may rom they are all corrupted.. and how to flash kddi rom.

touqeer.tx said:
please someone could guide me my butterfly 3 au is bricked. bootloader is locked and i tried unlocking it but no luck. so i have download may rom they are all corrupted.. and how to flash kddi rom.
Click to expand...
Click to collapse
Flashing RUU in rebootRUU mode can restore your phone to stock, and all data will be WIPED.
First of all, please find a copy of htc_fastboot in this forum, then
- Connect it to PC
- Reboot to Download Mode
- Use htc_fastboot to go in RUU mode
Code:
htc_fastboot oem rebootRUU
- Flash RUU zip file from this thread, and yes, you cannot unzip them because they are encrypted. Just use htc_fastboot to flash it.
HTML:
https://forum.xda-developers.com/butterfly-3/help/stock-roms-m60-sense70-asia-jp-rooting-t3498350
Code:
htc_fastboot flash zip ROM.ZIP

Related

[Q] Proper procedure to update the HBOOT

Can someone just confirm that this is the correct process for updating the HBOOT on my HTC One X from 0.95 to 1.3x (I'm unsure about step 5 & 6)
1. Determine the CID of my phone using
Code:
fastboot oem readcid
The phone reports
Code:
cid: HTC__001
which according to this means it is a HTC-WWE.
2. Download the latest HTC One X ROM from HTCdev which is endeavoru-jb-crc-3.1.10-e8d900a.zip
3. Copy the ROM to the phone
4. Relock the bootloader using
Code:
fastboot oem lock
5. Go into fastboot mode and type
Code:
fastboot oem rebootRUU
6. Flash the new firmware using
Code:
fastboot flash zip endeavoru-jb-crc-3.1.10-e8d900a.zip
On first time running the command will report FAILED, don't panic and just run the command again.
7. Reunlock the bootloader via HTCDev.
8. Flash a custom recovery using
Code:
fastboot flash recovery recovery.img
9. Download the CM10.1 ROM & extract the boot.img from the zip
10. Boot into recovery & install the ROM
11. Install the Google Addon
12. Boot into boot loader using
Code:
adb reboot bootloader
and use fastboot to flash the boot.img
Code:
fastboot flash boot boot.img
.
13. Use
Code:
fastboot erase cache
14. Reboot and enjoy
Warning
At 2 step, you have to donwload the zip from here and not the source of kernel!!!
And in 6 step you have to use: "fastboot flash zip "name_of_zip.zip"
Don't forget that you will have to unlock your bootloader at the end of all this (assuming you want to do that) and this will probably erase all your data again so back it up, including the SD card.
There is a firmware flashing tool in the development section that makes it easy!
I've found a post here which describes the procedure step by step.
UPDATE HBOOT FOR JB
1. You need your Unlock_bin from htcdev.com to re-unlock ur bootloader so please before u
proceed make sure u have this. Then reboot bootloader, and fire up CMD on your PC (start ->
execute -> cmd) and cd to ur fastboot directory
2. fastboot getvar cid or if it fails fastboot oem readcid will give u the cid of your phone
3. fastboot getvar version-main will give u ur actually RUU version
4. Now we have software version and CID. Time to get our RUU ->
http://androidfiles.org/ruu/?dir=Endeavor
5. Download the RUU for ur Phone (u need a higher or equal version then getvar version-main
reported
6. Place the .exe on ur PC and now we will extract the .zip (the rom.zip what is known as the
RUU) out of the .exe
7. Follow this tutorial: http://www.freeyourandroid.com/guide/extract-rom-from-ruu to get
the .zip out of the .exe
8. rename the .zip to whatever u like and place it in the fastboot folder of ur pc
9. boot phone in bootloader
10. lock bootloader with fastboot oem lock
11. reboot bootloader, and fire up CMD on your PC (start -> execute -> cmd) and cd to ur
fastboot directory.
12. bring phone into RUU mode: fastboot oem rebootRUU
13. fastboot flash zip rom.zip (u extracted and placed it before in ur fastboot folder)
14. In most cases this fails the first time. So redo fastboot flash zip rom.zip (this step costed me
2 hours because i didn´t know that)
15. boot into system when finished and if the version of the RUU isn´t allready on Jellybean
make all necessary OTA updates until u reach latest hboot (1.36, 1.39)
16. place the Unlock.bin which u got long time ago from htcdev.com (and hopefully u haven´t
lost it) in fastboot folder
17. reboot into bootloader
18. fastboot flash unlocktoken Unlock_code.bin
19. Ur bootloader is unlocked again
20. Congratz... u sucessfully updated ur hboot
Click to expand...
Click to collapse
You can do as you described using the file I linked...
without use a ruu
Guich said:
You can do as you described using the file I linked...
without use a ruu
Click to expand...
Click to collapse
Does that mean if you flash the exact matching cid file from your link you don't have to follow the steps above? re relocking the phone and unlocking etc?
Why the heck are you trying to flash the kernel source in fastboot? There are instructions everywhere and in none of them say that you must go near kernel source
If you just want to update Hboot:
1. relock bootloader 'fastboot oem lock'
2. check cid: fastboot getvar cidnum
3. download firmware.zip from here: http://forum.xda-developers.com/showthread.php?t=1957376
4. in fastboot mode, type: fastboot oem rebootRUU
5. flash the firmware.zip using: fastboot flash zip firmware.zip
6. Reunlock your bootloader: fastboot flash unlocktoken unlock_code.bin
7. reflash custom recovery: fastboot flash recovery <name of recovery.img>
If you want to install ROM after:
8. flash boot.img of ROM
9. go to recovery and flash ROM
10. done
det66 said:
Does that mean if you flash the exact matching cid file from your link you don't have to follow the steps above? re relocking the phone and unlocking etc?
Click to expand...
Click to collapse
No.
You have to use this procedure, but whit the firmware.zip that you can found at the link i linked, and not whit kernel source.
If you see the OP, you can see that he want upgrade his hboot with kernel source, and he's wrong.
You have to use the firmware.zip that you can found at the link that i have linked.
All the rest of procedure is right
Managed it gents . Now on HBoot 1.39.0000 thank you very much for all your help. Really appreciated:good::good:

HTC One X - T-Mobile

I have a HTC One X which has a T-Mobile firmware, CID: T-MOB005. Several months ago it was not possible to flash this device, has this now changed?
yeah it has....i've got the same CID and the JB firmware has been released
Can you point me i the direction of the right tutorial?
Do I need to S-OFF or change me CID for custom roms?
S-off is not needed, its as we speak even impossible to obtain .....
But you can go here for your firmware
http://forum.xda-developers.com/showthread.php?t=1957376
Read it carefully !
afford ganisava
I found the right firmware, but can't find the instructions.
Rename the .zip to firmware.zip and place it in the fastboot folder
- Boot the phone to the bootloader and relock the bootloader :
Fastboot oem lock
- then put the phone in ruu mode with this command
Fastboot oem rebootRUU
(watch the capitals, this command will put the phone into a black screen with a silver HTC logo)
- then flash the firmware
Fastboot flash zip firmware.zip
- you see the text on the pc screen, when it says OKE you are good. If it failed you reflash the zip right away again.
Then reboot the bootloader, unlock it, flash the custom recovery, make a full wipe and install the new JB of ypur choice and don't forget to flash its boot.img too

[Q] Boot loop and can't find appropriate boot.img

Hi
I've been given a One X (he bought an M8) and I thought I'd easily put on KK 4.4.4, but I have hit a brick wall.
It was running ViperX 2.6.0 with Hboot 0.95, and it's S-ON.
Well 4.4.4 needs a Hboot above 1.28, so the flashing failed.
So I did my homework and got the CID (it's HTC-023) to install the firmware so that I could update the Hboot via OTA.
So I installed the boot.img for the HTC-023 firmware and that (of course) was a an error as I didn't have a copy of the boot.img for the ViperX 2.6.0.
Then the firmware was a .rar file and didn't install anyrate.
So now it's in bootloop.
I have not been able to find a copy of ViperX 2.6.0 to extract the required boot.img
I've got TWRP with Sideloader installed, and ADB works fine.
So I am stuck (like my One X really) so any advice would be appreciated.
Thanks
Solution
I thought I should post the solution.
The essential problem was to get a Hboot 1.28 or higher so that a new version of Cyanogenmod could be installed.
On this page http://forum.xda-developers.com/showthread.php?t=1957376&page=189 is the following from ClydeB1
To flash you need to run the following commands: (It is advised to take a backup of your data and important files on your sd card)
1. Lock bootloader - fastboot oem lock
2. Boot to RUU mode - fastboot oem rebootRUU
3. Flash firmware - fastboot flash zip firmware.zip (if you get an error then rerun this command)
Note: The firmware will flash the new hboot, as well as a new stock boot.img and stock recovery.img.
To flash a custom rom you then need to do the following:
4. Unlock bootloader - fastboot flash unlocktoken Unlock_code.bin (you can use the same unlock_code file as you used previously, check your emails if you can't find it, or else reapply at htcdev.com)
5. Flash custom recovery - fastboot flash recovery nameofrecoveryfile.img
Note: If the unlock process wiped your sd card you may need to boot to recovery and mount usb storage to copy the rom file across again. If your phone won't boot into recovery then run command - fastboot erase cache and try again.
If you then wish to flash a JB custom rom:
6. Flash new boot.img from rom - fastboot flash boot boot.img
7. For good measure - fastboot erase cache
8. Boot to recovery and flash rom
I followed these steps exactly and it worked perfectly. I did need to use CWM as with TWRP the touch screen did not work.
and have more ease way to do this. You are with too low HBOOT and you can run RUU and then update the phone to latest JB because are you know witch HBoot you install to your phone

Reverting to stock to sell - best method?

I bought an M8 last year, locked to vodafone UK (CID VODAP001). I have since unlocked through HTC-DEV, S-OFFed using sunshine, converted to GPE for a while, and am now using it on a developer CID (BS_US002) entirely stock in order to get the OTA lollipop update straight from HTC. I obviously have the tampered message and unlocked bootloader, I am looking to return it to stock as much as possible (apart from S-ON). I have been looking at this thread but am not sure if it will work. I was looking to keep stock lollisense. My question is do I need to change my CID/MID back to the original ones or can I leave them as is and remove the tampered message etc.
My guide will work but there are bits that aren't needed now we have the RUU. I'll post in the morning with proper steps as I'm my phone at the mo and links are a PITA on here!
EddyOS said:
My guide will work but there are bits that aren't needed now we have the RUU. I'll post in the morning with proper steps as I'm my phone at the mo and links are a PITA on here!
Click to expand...
Click to collapse
Much appreciated! I'll check back tomorrow.
Right, lets try and get this sorted. As you're S-OFF it'll make things a LOT easier!
First, download the following and put them in your fastboot folder:
4.16.401.10 RUU ZIP - https://drive.google.com/file/d/0B17smFr95pleU2NqcVB3NWxoNnM/view (rename it ruu.zip - not ruu.zip.zip!)
htc_fastboot.exe - https://www.androidfilehost.com/?fid=95897840722646249 (you can leave the name as it is)
1. Personally, I'd get the tamper flag and the locking done first SO root the phone if you haven't already and then use the guides by @scotty1223 - Tamper Flag & Locking the bootloader. You can also, apparently, do the commands in TWRP as the recovery already has root access so if you'd prefer flash the latest TWRP found HERE (fastboot flash recovery recovery.img) and then connect the phone when in TWRP and do the commands as highlighted by the guides by Scotty. Also, if you changed the MID at all, change that back using Scotty's guide HERE
2. Once you've reset the tamper flag and locked the phone (but still S-OFF), change the CID to Super CID - fastboot oem writecid 11111111
3. Reboot the bootloader to confirm it's done - fastboot reboot-bootloader
4. Now we should be in a position to flash the EU RUU file SO reboot the phone into RUU mode - fastboot oem rebootRUU
5. Once in RUU mode, we now have to use the HTC fastboot to flash the ZIP - htc_fastboot flash zip ruu.zip
6. The ZIP will take a few passes to complete and it'll reboot the phone accordingly
7. Once complete, reboot to the bootloader again - fastboot reboot-bootloader
8. Chance the CID to the unbranded EU one - fastboot oem writecid HTC__001
9. Again, reboot the bootloader to make sure it's taken - fastboot reboot-bootloader
10. Once confirmed, boot into the stock recovery and do a factory reset (optional but, personally, I'd do it)
11. Reboot
EddyOS said:
Right, lets try and get this sorted. As you're S-OFF it'll make things a LOT easier!
First, download the following and put them in your fastboot folder:
4.16.401.10 RUU ZIP - https://drive.google.com/file/d/0B17smFr95pleU2NqcVB3NWxoNnM/view (rename it ruu.zip - not ruu.zip.zip!)
htc_fastboot.exe - https://www.androidfilehost.com/?fid=95897840722646249 (you can leave the name as it is)
1. Personally, I'd get the tamper flag and the locking done first SO root the phone if you haven't already and then use the guides by @scotty1223 - Tamper Flag & Locking the bootloader. You can also, apparently, do the commands in TWRP as the recovery already has root access so if you'd prefer flash the latest TWRP found HERE (fastboot flash recovery recovery.img) and then connect the phone when in TWRP and do the commands as highlighted by the guides by Scotty. Also, if you changed the MID at all, change that back using Scotty's guide HERE
2. Once you've reset the tamper flag and locked the phone (but still S-OFF), change the CID to Super CID - fastboot oem writecid 11111111
3. Reboot the bootloader to confirm it's done - fastboot reboot-bootloader
4. Now we should be in a position to flash the EU RUU file SO reboot the phone into RUU mode - fastboot oem rebootRUU
5. Once in RUU mode, we now have to use the HTC fastboot to flash the ZIP - htc_fastboot flash zip ruu.zip
6. The ZIP will take a few passes to complete and it'll reboot the phone accordingly
7. Once complete, reboot to the bootloader again - fastboot reboot-bootloader
8. Chance the CID to the unbranded EU one - fastboot oem writecid HTC__001
9. Again, reboot the bootloader to make sure it's taken - fastboot reboot-bootloader
10. Once confirmed, boot into the stock recovery and do a factory reset (optional but, personally, I'd do it)
11. Reboot
Click to expand...
Click to collapse
Is there any way I can use regular fastboot instead of htc_fastboot? I'm on a mac..
Nope, the Google one doesn't work for some reason. HOWEVER, apparently there is an HTC version on the HTC Dev site, which might very well work...
https://www.htcdev.com/process/legal_fastboot_mac
Failing that you'll need to use a Windows PC
EddyOS said:
Nope, the Google one doesn't work for some reason. HOWEVER, apparently there is an HTC version on the HTC Dev site, which might very well work...
link
Failing that you'll need to use a Windows PC
Click to expand...
Click to collapse
I was getting failures with remote:32 header error when usng that fastboot, managed to get on a windows PC and all sorted now. Thanks for your help!
No worries, glad I could help. I take it all the locking/tamper removing went OK as well?
EddyOS said:
No worries, glad I could help. I take it all the locking/tamper removing went OK as well?
Click to expand...
Click to collapse
Everything went to plan, all back to stock apart from S-OFF now
EddyOS said:
Right, lets try and get this sorted. As you're S-OFF it'll make things a LOT easier!
First, download the following and put them in your fastboot folder:
4.16.401.10 RUU ZIP - https://drive.google.com/file/d/0B17smFr95pleU2NqcVB3NWxoNnM/view (rename it ruu.zip - not ruu.zip.zip!)
htc_fastboot.exe - https://www.androidfilehost.com/?fid=95897840722646249 (you can leave the name as it is)
1. Personally, I'd get the tamper flag and the locking done first SO root the phone if you haven't already and then use the guides by @scotty1223 - Tamper Flag & Locking the bootloader. You can also, apparently, do the commands in TWRP as the recovery already has root access so if you'd prefer flash the latest TWRP found HERE (fastboot flash recovery recovery.img) and then connect the phone when in TWRP and do the commands as highlighted by the guides by Scotty. Also, if you changed the MID at all, change that back using Scotty's guide HERE
2. Once you've reset the tamper flag and locked the phone (but still S-OFF), change the CID to Super CID - fastboot oem writecid 11111111
3. Reboot the bootloader to confirm it's done - fastboot reboot-bootloader
4. Now we should be in a position to flash the EU RUU file SO reboot the phone into RUU mode - fastboot oem rebootRUU
5. Once in RUU mode, we now have to use the HTC fastboot to flash the ZIP - htc_fastboot flash zip ruu.zip
6. The ZIP will take a few passes to complete and it'll reboot the phone accordingly
7. Once complete, reboot to the bootloader again - fastboot reboot-bootloader
8. Chance the CID to the unbranded EU one - fastboot oem writecid HTC__001
9. Again, reboot the bootloader to make sure it's taken - fastboot reboot-bootloader
10. Once confirmed, boot into the stock recovery and do a factory reset (optional but, personally, I'd do it)
11. Reboot
Click to expand...
Click to collapse
Hey, just did all points but how to go back to s-on and get ride of "test device" info?
EDIT: nvm, problem solved by myself. Thanks for the tutorial

Question After install TWRP stuck in fastboot

hello i have big problem.
i unlocked bootloader with command fastboot flashing unlock / the show me unlock bootloader / Write YES
unlocked done, after unlock bootloader wipe data.
Then i try install custom TWRP..i download latest TWRP,then restart mobile to fastboot ..fastboot devices show me device,and i try
fastboot flash recovery recovery.img (show mi Failed remote: (recovery_a) No such partition
so next i try next commands:
fastboot getvar current-slot
fastboot set_active other
fastboot flash boot recovery.img /done
everithing see normally done without any problems.
Reboot phone and there its,,reboot in to fastboot. Mobile not starting im stuck in fastboot.
Can you help me please?
Merlousek said:
hello i have big problem.
i unlocked bootloader with command fastboot flashing unlock / the show me unlock bootloader / Write YES
unlocked done, after unlock bootloader wipe data.
Then i try install custom TWRP..i download latest TWRP,then restart mobile to fastboot ..fastboot devices show me device,and i try
fastboot flash recovery recovery.img (show mi Failed remote: (recovery_a) No such partition
so next i try next commands:
fastboot getvar current-slot
fastboot set_active other
fastboot flash boot recovery.img /done
everithing see normally done without any problems.
Reboot phone and there its,,reboot in to fastboot. Mobile not starting im stuck in fastboot.
Can you help me please?
Click to expand...
Click to collapse
In other Treble (a/b slots) based phones, the recovery is built into the boot rom. Likely you will need to re-flash the boot.img. That's what I would try first.
numbawon said:
In other Treble (a/b slots) based phones, the recovery is built into the boot rom. Likely you will need to re-flash the boot.img. That's what I would try first.
Click to expand...
Click to collapse
so what can i do? i dont have stock recovery,and twrp recovery dont start, what fastboot command can i try to repair? only what i have its global rom downloaded from nubia homepage but i dont now how to flash stock rom and repair all this i try miflash tool,but mi flash tool not support zip formats
You are going to need extract the global rom
Follow these instructions
Extract Android OTA Payload.bin File using Payload Dumper Tool
Learn how to dump and extract Android OTA Payload.bin file to get the boot.img (for rooting with Magisk), vendor.img, and other other partition images.
www.thecustomdroid.com
Once extracted, you should then be able to fastboot flash boot_(a or b) boot.img
numbawon said:
You are going to need extract the global rom
Follow these instructions
Extract Android OTA Payload.bin File using Payload Dumper Tool
Learn how to dump and extract Android OTA Payload.bin file to get the boot.img (for rooting with Magisk), vendor.img, and other other partition images.
www.thecustomdroid.com
Once extracted, you should then be able to fastboot flash boot_(a or b) boot.img
Click to expand...
Click to collapse
okey,,its look so verry hard for me so only way for me its wait for nubia unbrick tool for Red magic 6 like unbrick tool for red magic 5.
Merlousek said:
okey,,its look so verry hard for me so only way for me its wait for nubia unbrick tool for Red magic 6 like unbrick tool for red magic 5.
Click to expand...
Click to collapse
Several of us are in the waiting game for the unbrick tool at this point.
i try bumper what you send me but another im stuck here
Merlousek said:
i try bumper what you send me but another im stuck here
Click to expand...
Click to collapse
I'll see if I can get it all extracted for you and post it someplace. I've not done it myself, I just knew where the information was.
can do for me anybody download official rom V312 https://help.redmagic.gg/hc/en-us/articles/900006829463-RedMagic-6
and extract payload.bin via payload bumper all files and reupload for me please?
i need it for flash stock room via MIflash
Thanks for help.
Merlousek said:
can do for me anybody download official rom V312 https://help.redmagic.gg/hc/en-us/articles/900006829463-RedMagic-6
and extract payload.bin via payload bumper all files and reupload for me please?
i need it for flash stock room via MIflash
Thanks for help.
Click to expand...
Click to collapse
RedMagic6-6pro - Google Drive
drive.google.com
I've extracted both versions of the rom. The "output" folder in their respective paths contains all the extracted img files. All files are included for completeness.
numbawon said:
RedMagic6-6pro - Google Drive
drive.google.com
I've extracted both versions of the rom. The "output" folder in their respective paths contains all the extracted img files. All files are included for completeness.
Click to expand...
Click to collapse
thank you so much,and i have last question,,i try flash it with miflash,,boot on edl,i see device but mi flash say couldnt find flash script,, so what program use for flashing all files?
Merlousek said:
thank you so much,and i have last question,,i try flash it with miflash,,boot on edl,i see device but mi flash say couldnt find flash script,, so what program use for flashing all files?
Click to expand...
Click to collapse
Just use fastboot. Forget mi tool.
bs3pro said:
Just use fastboot. Forget mi tool.
Click to expand...
Click to collapse
what? fastboot? i have extracted all files from phyton like boot.img , system.img ... and what fastboot do you means?
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
you mean this fastboot commands?
and flash all files from stock recovery in fastboot?
bs3pro said:
Just use fastboot. Forget mi tool.
Click to expand...
Click to collapse
what? fastboot? i have extracted all files from phyton like boot.img , system.img ... and what fastboot do youmeans?
fastboot flash system system.img
fastboot flash recovery recovery.img
like that?
another error when i try flash all files from fastboot
Thanks..i try this commands on screenshot in previous reply sometimes error but fastboot flash boot boot.img works and my nubia red magic 6 its on ALIVE..Thanks all for help, You are best.
Merlousek said:
Thanks..i try this commands on screenshot in previous reply sometimes error but fastboot flash boot boot.img works and my nubia red magic 6 its on ALIVE..Thanks all for help, You are best.
Click to expand...
Click to collapse
Nice job!
Merlousek said:
hello i have big problem.
i unlocked bootloader with command fastboot flashing unlock / the show me unlock bootloader / Write YES
unlocked done, after unlock bootloader wipe data.
Then i try install custom TWRP..i download latest TWRP,then restart mobile to fastboot ..fastboot devices show me device,and i try
fastboot flash recovery recovery.img (show mi Failed remote: (recovery_a) No such partition
so next i try next commands:
fastboot getvar current-slot
fastboot set_active other
fastboot flash boot recovery.img /done
everithing see normally done without any problems.
Reboot phone and there its,,reboot in to fastboot. Mobile not starting im stuck in fastboot.
Can you help me please?
Click to expand...
Click to collapse
What TWRP did you install? Make sure you're downloading a TWRP that's available for this device. So far, to my knowledge, there isn't a TWRP recovery for this device yet.
Hello there, how did u just unlock bootloader by fastboot command? didn't use OEM unlock option on dev setting?
Btw can you share me your twrp that you used?
I need it so badly my rom bugged stuck at google account setup

Categories

Resources