Won't boot into recovery - HTC One Mini

It all started yesterday where i was trying to update (InsertCoin) which for some reason made my phone shut down mid-way through the installation process...
I had to reboot my phone back into recovery to wipe system/cache/data to reinstall...For some reason this wiped/damaged everything but the bootloader ofc.
(Bye go all my pictures, whatsapp conversations etc...)
This made me not being able to boot into my recovery aswell
I still can't get back into my recovery, and i've tried flashing the recovery over and over again via fastboot flash recovery twrp.img
When i try to flash the recovery, it succeeds but when i try to boot into it, it blinks the splash screen with odd intervals, i dont know if this means that its trying over and over again...I'm sort of desperate here...any help?
sidenote here: I'm in linux

you should've updated firmware to hboot 2.22 needed for IC, then you need to install the latest recovery 2.7.1.1 from twrp website
twrp here: http://techerrata.com/browse/twrp2/m4ul
new firmware here :http://forum.xda-developers.com/showthread.php?t=2759131

I have not updated it, will go and do that now,

Code:
[email protected]:/media/leon/*censor*/Android/ROMS/Millium$ sudo fastboot flash zip firmware.zip
[sudo] password for leon:
target reported max download size of 800227328 bytes
sending 'zip' (19549 KB)...
OKAY [ 2.466s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (remote: 99 unknown fail)
finished. total time: 4.305s
Right.....!?
I really don't want to reboot to bootloader at the moment...since the update failed...

Apparently i am S-ON and therefor need to obtain s-off, but i don't have an android system installed..how

s-off required to flash firmware or if s-on, bootloader needs to be re-locked, sorry i assumed you knew that! maybe create a signature giving details of your device for future, it does help.
If you are S-ON ---> Re-lock your bootloader (this will most probably wipe content of your device)
If you are S-OFF ---> no need to re-lock the bootloader.
Copy downloaded .zip to fastboot.exe location (e.g. c:/SDK/platform-tools/fastboot.exe)
Re-name .zip file to firmware.zip
Open command prompt
Boot your device in fastboot mode (vol down + power ===> fastboot)
Connect device to the PC
In command prompt cd to fastboot.exe location
Make sure you have correct modeid and cidnum (type: fastboot getvar all)
Type: fastboot oem lock (if your device is not relocked yet or in case it's S-ON)
Type: fastboot oem rebootRUU and wait for device to reboot
Type: fastboot flash zip firmware.zip and wait for process to complete
Sometimes flashing for the first time doesn't work, so flash firmware.zip again just to make sure.
Type: fastboot flash zip firmware.zip and wait for process to complete
Type: fastboot reboot
Unlock your bootloader and flash custom recovery if you are going to use custom ROM.

Code:
FAILED (remote: 12 signature verify fail)
This ahappens when flashing the firmware
*edit: I have fixed that, but i cannot flash the 2.22 included y you because it has a different modelid, presumably because my m4 isn't the at&t variant.
Will this work?

`leon said:
Code:
FAILED (remote: 12 signature verify fail)
This ahappens when flashing the firmware
Click to expand...
Click to collapse
not work ?? ok, then you will need to s-off the device, unlock first,you need SUPERCID also

Braddison said:
not work ?? ok, then you will need to s-off the device, unlock first
Click to expand...
Click to collapse
It did, sorry, didnt edit the post quick enough

`leon said:
Code:
FAILED (remote: 12 signature verify fail)
*edit: I have fixed that, but i cannot flash the 2.22 included y you because it has a different modelid, presumably because my m4 isn't the at&t variant.
Will this work?
Click to expand...
Click to collapse
no that firmware will not update everything that is required, use the firmware zip in the link i gave previously.
you need to change your cid to supercid,,,,very simple to do
Enter the command "fastboot oem readcid". Make a note of your original CID.
enter the command "fastboot oem writecid 11111111" make sure it is 8 ones (1)
enter the command "fastboot read cid" [it should confirm your CID is 11111111]

Braddison said:
no that firmware will not update everything that is required, use the firmware zip in the link i gave previously.
you need to change your cid to supercid,,,,very simple to do
Enter the command "fastboot oem readcid". Make a note of your original CID.
enter the command "fastboot oem writecid 11111111" make sure it is 8 ones (1)
enter the command "fastboot read cid" [it should confirm your CID is 11111111]
Click to expand...
Click to collapse
Yeah, i just tried that 5 minutes ago, though...:
Code:
(bootloader) [JAVACARD_ERR] SD/USBDISK Init error
Gosh...my device doesn't like me..
oh, wait, don't i have to unlock bootloader?
i'll try that now
OMG IM IN RECOVERY
cant seem to do anything with my data partition, same goes for internal storage

well you've done everything that i done when i tried out Insertcoin rom for a few days and never had any of your issues. so not sure whats going on.
- unlocked bootloader
- get s-off
- get supercid
- update firmware
- get latest twrp recoverry
- install Insert Coin
use the fix miniwhooper posted on her firmware thread ....Flash stock recovery and factory reset from boot loader. It will fix you /data partition.. then flash custom recovery and it should be fixed

`leon said:
Yeah, i just tried that 5 minutes ago, though...:
Code:
(bootloader) [JAVACARD_ERR] SD/USBDISK Init error
Gosh...my device doesn't like me..
oh, wait, don't i have to unlock bootloader?
i'll try that now
OMG IM IN RECOVERY
cant seem to do anything with my data partition, same goes for internal storage
Click to expand...
Click to collapse
Make sure you are in the folder your rom zip is located.
Run the command...
adb push filename.zip /sdcard
Wait around 10 minutes as it will not give you progress
go back to TWRP main page and install, choose SDcard and the zip file you just uploaded should be there.

hello @AnGrY sCoTsMaN
i have the exact same problem but i flashed cm.12.1 cant boot in recovery or flash anything using adb
hboot os 2.22 it says unlocked but it seems not
can you please help me out
Edit: problem solved without doing anything

Related

[q] Need help htc one s bricked!!!

I've been looking around at different forums to see how to get my phone back to normal and there many ways to do it and I'm stuck.I'm able to use clockwork recovery,able to use fastboot but SD card is mounted and has an error everytime I try unmount , been trying to use the command propmt not that experienced I need some guidance to how to get another rom on phone
Try to flash the stock recovery, relock the bootloader with "fastboot oem lock" and flash a RUU.
Then try again from the beginning
Do I use the command propmt or Fastboot or clockwork
dannyzat said:
Do I use the command propmt or Fastboot or clockwork
Click to expand...
Click to collapse
Open cmd prompt. Navigate to folder where your fastboot program is (i.e. c:\android is where I put mine).
Plug in phone, boot into bootloader and click power to access fastboot.
Type in the "fastboot OEM lock" command in command prompt as suggested by torxx and that will relock the bootloader. Then flash ruu in bootloader
Sent from my HTC VLE_U using Tapatalk 2
I did all of that except for the last sentence how do I flash on command prompt
dannyzat said:
I did all of that except for the last sentence how do I flash on command prompt
Click to expand...
Click to collapse
Once u relock bootloader, you are done with command prompt... I think. I havemt done it on this phone, but usually you put ruu on root of sdcard (internal in this case) and reboot into bootloader and the ruu should begin flashing from there. Make sure its named properly. I'm sure there are threads regarding this
Sent from my HTC VLE_U using Tapatalk 2
still learning how to develope android phone's
Ok I'm on bootloader but idk. How to put the ruu on my sdcard if its mounted
dannyzat said:
Ok I'm on bootloader but idk. How to put the ruu on my sdcard if its mounted
Click to expand...
Click to collapse
try the adb command just go to this link http://forum.xda-developers.com/showthread.php?t=1667929 everything is there
ok i looked at the link and try to push the rom but the adb is not even detecting my device
this is what i get:C:\Documents and Settings\Jamal\Android>adb push rom.zip/sdcard
Android Debug Bridge version 1.0.29 and then all the information about adb about the options and commands
Im on fastboot right now and using the command prompt still, the bootloader is unlocked, and i dont think adb has dected my device beacause it does this for every command: C:\Documents and Settings\Jamal\Android>adb shell
error: device not found
C:\Documents and Settings\Jamal\Android>adb remount
error: device not found
C:\Documents and Settings\Jamal\Android>adb root
error: device not found
ps. my device is connected to the computer fastboot commands work but not adb
try installing the htc drivers for the One S then retry adb
ok so i just did this recently:C:\Documents and Settings\Jamal\Android>fastboot boot rom.zip
creating boot image...
creating boot image - 468381696 bytes
downloading 'boot.img'...
OKAY [946.172s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 946.656s
Is this a good sign?
Plus how do you install drivers
dannyzat said:
ok so i just did this recently:C:\Documents and Settings\Jamal\Android>fastboot boot rom.zip
creating boot image...
creating boot image - 468381696 bytes
downloading 'boot.img'...
OKAY [946.172s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 946.656s
Is this a good sign?
Plus how do you install drivers
Click to expand...
Click to collapse
download HTC sync make sure you read the steps right on that link and make you flash the recovery and download the Rom and push it
thank you all for helping me out
How do I get access to unmounting my sdcard cause it keeps having errors when I try to mount it in clockwork mod recoverybut still having errors
PS. Ek07 how do I use the HTC sync manager on my phone do I go to fastboot or clockwork

I am out from QHSUSB but can't flash recovery!

Hello,
I do not know how but my phone get out from QHSUSB and now I can go to hboot.
The problem is there is no ROM when the phone boots. It's stuck on HTC logo.
I have unlocked the bootloader with HTCDEV but it is not S-OFF. Hboot is 1.18.
When I go to fastboot I can write "fastboot flash.... recovery.img" and it goes OK, but after restars bootloader I tried to go to recover but the phone just stuck on that logo again.
I have tried CWM and 4EXT but it is the same problem.
Can I flash RUU without recovery and ROM?
Help, please!
Hi
Did you see this Thread. Maybe this helps you to flash a ROM or Recovery.
[UNBRICK] HTC Unbricking Project
Dic3ptor said:
Did you see this Thread. Maybe this helps you to flash a ROM or Recovery.
[UNBRICK] HTC Unbricking Project
Click to expand...
Click to collapse
Yes, but I don't see instructions about installig RUU afeter unbricking.
I think that this will help but I want some one to explain more about this commands:
fastboot.exe erase cache
fastboot.exe oem rebootRUU
fastboot.exe flash zip path\to\firmware.zip
Filko84 said:
Yes, but I don't see instructions about installig RUU afeter unbricking.
I think that this will help but I want some one to explain more about this commands:
fastboot.exe erase cache
fastboot.exe oem rebootRUU
fastboot.exe flash zip path\to\firmware.zip
Click to expand...
Click to collapse
Normaly RUU (Rom Update Utility) is an exe that you can run from PC to bring a ROM or ROM update to your device. As far as i know.
Where did you find this three commands?
May you could post you question to the Unbrick thread to, i´m sure that there are people that can help better as i can, because i´m a Themer and not a Developer. ;D
I get this error:
C:\android-sdk\platform-tools>fastboot flash zip PG58IMG.zip
sending 'zip' (385351 KB)...
OKAY [ 56.459s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 58.077s
Filko84 said:
I get this error:
C:\android-sdk\platform-tools>fastboot flash zip PG58IMG.zip
sending 'zip' (385351 KB)...
OKAY [ 56.459s]
writing 'zip'...
(bootloader) adopting the signature contained in this image...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 58.077s
Click to expand...
Click to collapse
Can you boot your device into Bootloader by pressing Volume Down+Power Button. If yes put the PG58IMG.zip on SD Card and Boot into Bootloader, normaly the device will flash the P58IMG.zip if you start into Bootloader.
Dic3ptor said:
Can you boot your device into Bootloader by pressing Volume Down+Power Button. If yes put the PG58IMG.zip on SD Card and Boot into Bootloader, normaly the device will flash the P58IMG.zip if you start into Bootloader.
Click to expand...
Click to collapse
I have tried but the ZIP just done nothing. Loaded and.. nothing.
I think the there is some other problem. May be some partition is not accessible.
Also I now see that I have to S-OFF to flash RUU tru fastboot.
Filko84 said:
I have tried but the ZIP just done nothing. I think the there is some other problem. May be some partition is not accessible.
Also I now see that I have to S-OFF to flash RUU tru fastboot.
Click to expand...
Click to collapse
Okay, normaly the device should flash Firmware (P58IMG) when booting in bootloader. You sure that you put it directly to SD and not in a folder. PLS ask in the Unbrick thread, there are a lot of people that are more fit in developing as i am. I telled you what i´m knowing. Sorry that i couldnt help you to bring your device back to life but maybe there are people that can help. Give it a try pls.
You got the fastboot command wrong, its:
fastboot flash recovery recovery.img
In any case you cant flash a firmware with S-ON that why the unbrick thread says find an RUU exe and run it
Jonny said:
You got the fastboot command wrong, its:
fastboot flash recovery recovery.img
In any case you cant flash a firmware with S-ON that why the unbrick thread says find an RUU exe and run it
Click to expand...
Click to collapse
The comand is OK. And I get OK message that the recovery is flashed but it does not load.
Filko84 said:
The comand is OK. And I get OK message that the recovery is flashed but it does not load.
Click to expand...
Click to collapse
Flashing an RUU is a must after unbrick.
The error you got wile flashing the RUU is because your bootloader is unlocked.
Relock your bootloader using this command:
Code:
fastboot oem lock
Then, flash an RUU.
If you can paste the output of
Code:
fastboot getvar all
then I can provide you with a link to the appropriate RUU for you.
Please remove your IMEI & Serial Number from the output.
kgs1992 said:
Flashing an RUU is a must after unbrick.
The error you got wile flashing the RUU is because your bootloader is unlocked.
Relock your bootloader using this command:
Code:
fastboot oem lock
Then, flash an RUU.
If you can paste the output of
Code:
fastboot getvar all
then I can provide you with a link to the appropriate RUU for you.
Please remove your IMEI & Serial Number from the output.
Click to expand...
Click to collapse
I just was doing this fastboot oem lock but my battery is down.
I will charg for few hours and then I will try again.
The CID is HTC_032 and I think that the MID was PG58130.
I will get them again after charging.
Thank you.
Filko84 said:
I just was doing this fastboot oem lock but my battery is down.
I will charg for few hours and then I will try again.
The CID is HTC_032 and I think that the MID was PG58130.
I will get them again after charging.
Thank you.
Click to expand...
Click to collapse
Here are the appropriate RUUs:
Sensation
Sensation XE
kgs1992 said:
Here are the appropriate RUUs:
Sensation
Sensation XE
Click to expand...
Click to collapse
Thak you. I will try them.
Can I flash them just with starting exe and put the phone to fastboot usb or I have to do it other way?
Filko84 said:
Thak you. I will try them.
Can I flash them just with starting exe and put the phone to fastboot usb or I have to do it other way?
Click to expand...
Click to collapse
Yup. Just put the phone into fastboot & flash.
You need the one that is for your device. PG13001 is Sensation XE & PG13000 is Sensation.
You said your mid is PG58130 so I gave you both.
Choose the right one for your device.
================================================
You will also need to unlock your bootloader after flashing the RUU if you want to flash recovery.
Great to see that somebody can help him. Thx and thumbs up!
Send from my CoreDroid pocket rocket.
kgs1992 said:
Yup. Just put the phone into fastboot & flash.
You need the one that is for your device. PG13001 is Sensation XE & PG13000 is Sensation.
You said your mid is PG58130 so I gave you both.
Choose the right one for your device.
================================================
You will also need to unlock your bootloader after flashing the RUU if you want to flash recovery.
Click to expand...
Click to collapse
I have successfully flashed the RUU. The Hboot is now 1.27, but still no luck boot or getting to recovery.
Tried to flash custom recovery again. It was successfull but I can't get to it.
I think that partitions in nand /emmc/ are messed.
Some other ideas?
do
this
boot to recovery using this command
fastboot boot recovery.img
then if you booted up fine ..then flash a custom rom from it
ganeshp said:
do
this
boot to recovery using this command
fastboot boot recovery.img
then if you booted up fine ..then flash a custom rom from it
Click to expand...
Click to collapse
No, booted to the HTC logo and loop.
Filko84 said:
No, booted to the HTC logo and loop.
Click to expand...
Click to collapse
ok
did you flashed RUU with HTC-DEV unlocked bootloader ?
if yes ..then relock the bootloader ..fastboot oem lock and flash the RUU again
Also what is your cid ?
if possible ..post the output of this command (except IMEI)
fastboot getvar all

stuck on a black HTC screen with 4 warning triangles in each corner

I flashed HPSGill's rom on Friday which is Sense 5 themed, It didn't boot up. So I went back to recovery, wiped everything down, and proceeded to flash the stock ROM. The RUU installation failed, giving me a 150 Error. I have used the same RUU for a year now. I then tried running some fastboot commands but most of them give me "REMOTE: NOT ALLOWED".
The phone goes into fastboot mode as when I execute "fastboot devices" i see my phone serial number on the command line. I can't however access adb. On removing the cable it takes me to the bootloader white screen, only now, the options for reboot, reset factory settings, recovery, etc, are not visible.
It just shows me my phone information, bootloader as relocked, and RUU highlighted. I have tried flashing the RUU multiple times, after each flash attempt, all partitions, except the userdata partition shows userdata FAIL-PU, which as I understand is the partition update failing, bootloader shows - BYPASSED. I have also tried downloading the same RUU just in case somehow the one I had was corrupted. But same result.
HTC service center says since I have rooted my phone, I will have to pay 6000 rs. for a 7000rs. phone to get it repaired. Is there any way back from this ? I have sent it to the service center and will get it back tomorrow, So I can only post screenshots if needed tomorrow. I have scoured the internet for the solution and I have read some odd success stories, but none of them for the explorer, mostly for desires. Any help appreciated.
I will be trying bortak's guide in the meanwhile which is again for htc desire.
Well from what I get so far you're stuck in the middle of a bad RUU flash, idea is you need to complete an RUU flash before you can do anything else, from this I get only try flashing several times this RUU or try with some another RUU else, if there is no fastboot this is hard to be fixed, try sending pm to @legen_dary , he experimented for a while to find some s-off way, so he should know a little bit more about this stuff. I'll continue the search, if find something will share, you also, do share what have you discovered, and if something works what is it.
shortyoko said:
Well from what I get so far you're stuck in the middle of a bad RUU flash, idea is you need to complete an RUU flash before you can do anything else, from this I get only try flashing several times this RUU or try with some another RUU else, if there is no fastboot this is hard to be fixed, try sending pm to @legen_dary , he experimented for a while to find some s-off way, so he should know a little bit more about this stuff. I'll continue the search, if find something will share, you also, do share what have you discovered, and if something works what is it.
Click to expand...
Click to collapse
Thanks for the reply. As I mentioned, the moment i connect the phone via the USB cable, it automatically goes into fastboot mode as when i run "fastboot devices", my device shows up. So I'm considering, not all hope is lost. I have to get to work, will be getting my phone back today, will experiment some and get back here at night.
forgot to mention a couple of things.
1. the bootloader shows relocked. On running the fastboot flash unlocktoken Unlock_code.bin, the command completes successfully but the bootloader still shows relocked. And because it constantly shows relocked, I'm not able to install a custom recovery as well.
2. tried putting the rom in the RUU on sdcard and renaming it as PBsomething.zip. but it wont read the sd card. So flashed it manually via fastboot flash zip zipname.zip runs upto a certain point then gives me something like this
RUU: "FAILED (remote: 90 hboot pre-update! please flush image again immediately)" So I tried reflashing it, but keeps giving the same error.
So since the sd card is not being read at all, I guess bortak's method of creating a goldcard goes out the window.
Hmmm.. This is the second such case i've seen..
Have you tried getting the unlock token again from htcdev??
Also, try updating your hboot version...
Or, get any hboot from an ruu, and do a
Code:
fastboot boot hboot.img
If it wrks, you'll atleast be able to unlock the bootloader, and put a recovery on it..
If, however, your original bootloader remains locked, then you wont be able to access the recovery as well..
In fact, it wouldnt go past the hboot...
ғг๏๓ ҭђє ғเรђ™
---------- Post added at 08:19 AM ---------- Previous post was at 08:15 AM ----------
legen_dary said:
hmmm.. This is the second such case i've seen..
Have you tried getting the unlock token again from htcdev??
Also, try updating your hboot version...
Or, get any hboot from an ruu, and do a
Code:
fastboot boot hboot.img
if it wrks, you'll atleast be able to unlock the bootloader, and put a recovery on it..
If, however, your original bootloader remains locked, then you wont be able to access the recovery as well..
In fact, it wouldnt go past the hboot...
Edit : The correct filename is pj03img.zip(or something)..
When the phone first starts in the hboot, you should see a series of filenames, along with "not found" errors.. If you do, then it does scan the sdcard...
ғг๏๓ ҭђє ғเรђ™
Click to expand...
Click to collapse
ғг๏๓ ҭђє ғเรђ™
legen_dary said:
Hmmm.. This is the second such case i've seen..
Have you tried getting the unlock token again from htcdev??
Also, try updating your hboot version...
Or, get any hboot from an ruu, and do a
Code:
fastboot boot hboot.img
If it wrks, you'll atleast be able to unlock the bootloader, and put a recovery on it..
If, however, your original bootloader remains locked, then you wont be able to access the recovery as well..
In fact, it wouldnt go past the hboot...
ғг๏๓ ҭђє ғเรђ™
---------- Post added at 08:19 AM ---------- Previous post was at 08:15 AM ----------
ғг๏๓ ҭђє ғเรђ™
Click to expand...
Click to collapse
Thanks. will try it out and get back to you but after about 12 hours, I am yet to get back my phone and gotta get to work.
burnt nand
your nand is burnt.you should use cute_prince's method.
Steps of solution
1.flash twrp via fastboot -------fastboot flash recovery twrp.img
2.boot recovery via fastboot------fastboot boot twrp.img
3.apply cute prince method -------http://forum.xda-developers.com/showpost.php?p=36868966&postcount=2367
4.re lock bootloader via fastboot ------fastboot oem lock
5.run compatible ruu
6[optional ] unlock bootloader and Flash favourite rom
juristokrat said:
your nand is burnt.you should use cute_prince's method.
Steps of solution
1.flash twrp via fastboot -------fastboot flash recovery twrp.img
2.boot recovery via fastboot------fastboot boot twrp.img
3.apply cute prince method -------http://forum.xda-developers.com/showpost.php?p=36868966&postcount=2367
4.re lock bootloader via fastboot ------fastboot oem lock
5.run compatible ruu
6[optional ] unlock bootloader and Flash favourite rom
Click to expand...
Click to collapse
He's unable to unlock the bootloader so it's impossible to flash a custom recovery
You can't use fastboot boot or fastboot flash with a locked bootloader. Can you get into HBOOT mode by holding volume down and power while switching on the device? Or does it go straight into FASTBOOT mode?
i tried
1) unlocking bootloader, and now its unlocked.
2) fastboot getvar all gives me
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.03.0000
(bootloader) version-baseband: 1.11.82.17
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.31.720.3
(bootloader) serialno: ********
(bootloader) imei: *******
(bootloader) product: pico
(bootloader) platform: HBOOT-7225A
(bootloader) modelid: PJ0310000
(bootloader) cidnum: HTC__038
(bootloader) battery-status: good
(bootloader) battery-voltage: 3673mV
(bootloader) partition-layout: HTC
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: 30d3dcb5
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.032s
3) fastboot oem boot boots up the phone and is now stuck in a bootloop. gives me the htc jingle and restarts. tried pulling the battery and volume down + power combination to get to the hboot menu, but brings me back to the black htc screen with 4 triangles. At least there is some progress. Now I somehow just need to get that menu back that comes up after the volume down + power combination.
4) tried fastboot oem resetRUUflag and it gave me this -
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.007s]
finished. total time: 0.009s
5) tried fastboot boot hboot.img with the boot.img from the RUU
it gave me -
creating boot image...
creating boot image - 788480 bytes
downloading 'boot.img'...
OKAY [ 0.263s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 0.300s
Can you get into recovery?
The boot.img file is the kernel bro.. Not the hboot..
The file you're looking for is hboot -something-something.img
ғг๏๓ ҭђє ғเรђ™
@sachin thomas - No I can't get into recovery
@legen_dary - hboot_1.03.0000_30d3dcb5_1129_signed this one right ? i just renamed it to hboot.img to avoid typing or copying the whole name
EDIT : i find this flag out of place . (bootloader) boot-mode: RUU. should it be RUU ? i think this is the one causing all the problem, though of course i may be wrong.
salil_1337 said:
@sachin thomas - No I can't get into recovery
@legen_dary - hboot_1.03.0000_30d3dcb5_1129_signed this one right ? i just renamed it to hboot.img to avoid typing or copying the whole name
EDIT : i find this flag out of place . (bootloader) boot-mode: RUU. should it be RUU ? i think this is the one causing all the problem, though of course i may be wrong.
Click to expand...
Click to collapse
You can't boot from a signed HBOOT image because it's a plain binary file and not an android boot image. As you have unlocked the bootloader try fastboot boot with any recovery.img file (CWM or TWRP)
Sachin Thomas said:
You can't boot from a signed HBOOT image because it's a plain binary file and not an android boot image. As you have unlocked the bootloader try fastboot boot with any recovery.img file (CWM or TWRP)
Click to expand...
Click to collapse
EXCELLENT !
did this -
I:\Android Rooting\Flash>fastboot boot recovery-clockwork-5.0.2.8-pico.img
downloading 'boot.img'...
OKAY [ 0.810s]
booting...
OKAY [ 0.014s]
finished. total time: 0.834s
and now I am in CWM recovery screen.
EDIT 1: wiped all partitions.
EDIT 2 : rebooted the phone to check if it let me into the hboot menu, but it comes back to the black htc screen with 4 exclamation marks
salil_1337 said:
EXCELLENT !
did this -
I:\Android Rooting\Flash>fastboot boot recovery-clockwork-5.0.2.8-pico.img
downloading 'boot.img'...
OKAY [ 0.810s]
booting...
OKAY [ 0.014s]
finished. total time: 0.834s
and now I am in CWM recovery screen.
EDIT : wiped all partitions.
Click to expand...
Click to collapse
To be on the safer side do cute_prince's nand recovery procedure as juristokrat suggested
Sachin Thomas said:
To be on the safer side do cute_prince's nand recovery procedure as juristokrat suggested
Click to expand...
Click to collapse
i did that when i got my nand burned after installing cm10 beta 6. But AFAIK and as far as I understand, i need to place the flash_erase file into system/xbin. I am right now stuck in recovery. How am I supposed to do it from there ? is there a flashable zip for it which will run the commands via recovery ?
EDIT : this is FAR better than i expected. since I'm in recovery, adb devices spits this out -
adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
SH1BJVN07184 recovery
salil_1337 said:
i did that when i got my nand burned after installing cm10 beta 6. But AFAIK and as far as I understand, i need to place the flash_erase file into system/xbin. I am right now stuck in recovery. How am I supposed to do it from there ? is there a flashable zip for it which will run the commands via recovery ?
Click to expand...
Click to collapse
Mount your SD card in recovery and place the file in the root of the SD card. Now, if you have TWRP you can use its file manager to move it into system/xbin and set permissions to 755
If you have CWM you can type the following in adb shell:
cd /
mv /sdcard/flash_erase /system/xbin
cd system/xbin
chmod 755 flash_erase
Click to expand...
Click to collapse
Then find a newer RUU and run it
Sachin Thomas said:
Mount your SD card in recovery and place the file in the root of the SD card. Now, if you have TWRP you can use its file manager to move it into system/xbin and set permissions to 755
If you have CWM you can type the following in adb shell:
Click to expand...
Click to collapse
OK. booted via twrp, copied file from sd card, but there seems to be no xbin folder in system
EDIT : ran it directly from the sd card via the terminal in twrp, it ran without errors. rebooted the phone, still comes up to the black htc screen
salil_1337 said:
OK. booted via twrp, copied file from sd card, but there seems to be no xbin folder in system
Click to expand...
Click to collapse
Mount system
Sachin Thomas said:
Mount system
Click to expand...
Click to collapse
after mounting system, its still showing only one folder in system . lost+found. nothing else.
ran it directly from the sd card via the terminal in twrp, it ran without errors. rebooted the phone, still comes up to the black htc screen
salil_1337 said:
after mounting system, its still showing only one folder in system . lost+found. nothing else.
ran it directly from the sd card via the terminal in twrp, it ran without errors. rebooted the phone, still comes up to the black htc screen
Click to expand...
Click to collapse
Oh, the xbin folder should have got deleted when you formatted system. I don't think you can't get rid of the HTC screen without successfully flashing an RUU. Our aim is to get rid of bad blocks which prevents the RUU from getting flashed
Are you sure that it ran without errors? Move it into /system and change permission to 755 and re-run it before attempting to flash another RUU

[Q] A few problem after installing MaximusHD 10.0.0 PLEASE HELP

Hey Guys, I will appreciate your help regarding a few bugs that i have after installing the MaximusHD 10.0.0
First of all the WIFI connection is not working with any network that i tried..
The WIFI wizard discover networks in the area but not accapable for access and get the IP address...
another issue is that the Bluetooth wizard not recognized the devices in the area
Another big issue is that the SD card \ internal memory that i see in the computer is only 2GB instead 10-16 GB
What can i do to fix those problem??
Please help!
Thanks in advance,
BR
Alon
alonper said:
Hey Guys, I will appreciate your help regarding a few bugs that i have after installing the MaximusHD 10.0.0
First of all the WIFI connection is not working with any network that i tried..
The WIFI wizard discover networks in the area but not accapable for access and get the IP address...
another issue is that the Bluetooth wizard not recognized the devices in the area
Another big issue is that the SD card \ internal memory that i see in the computer is only 2GB instead 10-16 GB
What can i do to fix those problem??
Please help!
Thanks in advance,
BR
Alon
Click to expand...
Click to collapse
Your firmware didn't flash.
Are you S-Off? If yes, then flash the firmware again.
Open folder, run Command Prompt, type there
1.fastboot oem rebootRUU
2.fastboot flash zip firmware.zip
If you get an error
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
type command once again
fastboot flash zip firmware.zip
fastboot flash recovery TWRP2.6.1.0.img
fastboot reboot
Make sure that installation was successful and press enter to reboot device.
are you mean for that part ?
alonper said:
Open folder, run Command Prompt, type there
1.fastboot oem rebootRUU
2.fastboot flash zip firmware.zip
If you get an error
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
type command once again
fastboot flash zip firmware.zip
fastboot flash recovery TWRP2.6.1.0.img
fastboot reboot
Make sure that installation was successful and press enter to reboot device.
are you mean for that part ?
Click to expand...
Click to collapse
Yes, the symptoms (bugs) you have described happen when the firmware hasn't been properly flashed.
Also, the most important part is: You phone must be S-Off. Otherwise you need to try a different ROM.
Thanks but
Hi tivofool
Thanks for your help! but i cannot finnish this install..
I checked again and my one is s-off
1.fastboot oem rebootRUU
2.fastboot flash zip firmware.zip
If you get an error
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
type command once again
fastboot flash zip firmware.zip
till here all was ok, but the next step failed :
fastboot flash recovery TWRP2.6.1.0.img
i got replied from the fast boot :
error: cannot load 'TWRP2.6.1.0.img': Unknown error
what to do?
I tried to continue without this recovery and did the reboot, and now the one is working ok but with a few more problems.
Anyway , should I re-install the ROM with the aroma installer?
Thanks and BR!
Alon
alonper said:
Hi tivofool
Thanks for your help! but i cannot finnish this install..
I checked again and my one is s-off
1.fastboot oem rebootRUU
2.fastboot flash zip firmware.zip
If you get an error
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
type command once again
fastboot flash zip firmware.zip
till here all was ok, but the next step failed :
fastboot flash recovery TWRP2.6.1.0.img
i got replied from the fast boot :
error: cannot load 'TWRP2.6.1.0.img': Unknown error
what to do?
I tried to continue without this recovery and did the reboot, and now the one is working ok but with a few more problems.
Anyway , should I re-install the ROM with the aroma installer?
Thanks and BR!
Alon
Click to expand...
Click to collapse
fastboot flash zip TWRP_2.6.1.0_ville_4.2.2.zip
alonper said:
Hi tivofool
Thanks for your help! but i cannot finnish this install..
I checked again and my one is s-off
1.fastboot oem rebootRUU
2.fastboot flash zip firmware.zip
If you get an error
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
type command once again
fastboot flash zip firmware.zip
till here all was ok, but the next step failed :
fastboot flash recovery TWRP2.6.1.0.img
i got replied from the fast boot :
error: cannot load 'TWRP2.6.1.0.img': Unknown error
what to do?
I tried to continue without this recovery and did the reboot, and now the one is working ok but with a few more problems.
Anyway , should I re-install the ROM with the aroma installer?
Thanks and BR!
Alon
Click to expand...
Click to collapse
Yes, flash like robertus12 advised.
Or your command will work if you unpack that zip file so that the .img file is in the fastboot folder.:good:
alonper said:
Hi tivofool
Thanks for your help! but i cannot finnish this install..
I checked again and my one is s-off
1.fastboot oem rebootRUU
2.fastboot flash zip firmware.zip
If you get an error
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
type command once again
fastboot flash zip firmware.zip
till here all was ok, but the next step failed :
fastboot flash recovery TWRP2.6.1.0.img
i got replied from the fast boot :
error: cannot load 'TWRP2.6.1.0.img': Unknown error
what to do?
I tried to continue without this recovery and did the reboot, and now the one is working ok but with a few more problems.
Anyway , should I re-install the ROM with the aroma installer?
Thanks and BR!
Alon
Click to expand...
Click to collapse
you'll just need to rename the file in the command prompt

[GUIDE][S4] How to install HBOOT 2.16 | For first time users

HBOOT 2.16 Installation guide​
Requirements before installing​
Back up your files, your SD Card will be WIPED!
Charge your phone to AT LEAST 30%
Your bootloader MUST be unlocked
You NEED to be S-OFF or else it won't work
You need basic knowledge of Fastboot commands
Windows 10/8/7/Vista/XP: You need drivers installed
Windows 8.1: You need drivers installed AND update kb2967917 from Microsoft
Linux: You need "51-android.rules" or "99-android.rules" configured
Mac: Nothing needed that I know of
I am NOT responsible if you break your phone
​
This guide will be from a Windows point of view
Installation Guide​
Download the HBOOT 2.16 firmware file from here: Download from Mega.co.nz
Place it in your adb and fastboot folder. For example C:\Users\(Your Username)\Fastboot
Now open a Command Prompt window and then type in:
Code:
cd C:\(Location of your Fastboot folder)
Now take your phone and connect it to your computer (with USB Debugging ON) and type in:
Code:
adb reboot bootloader
Once you are in the bootloader and it displays "Fastboot USB", type in:
Code:
fastboot oem rebootRUU
Once your computer recognizes your phone type in:
Code:
fastboot flash zip Firmware_4.06.401.1.zip
If you changed the file name make sure to type in the name of it instead of the one above
You will then get an error:
Code:
"FAILED (remote: 90 hboot pre-update! please flush image again immediately)"
Don't worry, this is normal. DO NOT unplug your phone. Simply type in once again:
Code:
fastboot flash zip Firmware_4.06.401.1.zip
If you changed the file name make sure to type in the name of it instead of the one above
Then wait until the Command window says "finished" and type in:
Code:
fastboot reboot-bootloader
Next we need to download TWRP recovery. You can download it from MDMower's website and MAKE SURE to get TWRP for "/data/media storage (HBOOT 2.16.0000)" and TWRP 2.8.0.1 or above.
Now we must go back to the command window with your phone still plugged in displaying "Fastboot USB" on the screen
Then we type:
Code:
cd C:\Users\(Your Username)\Downloads
or if the TWRP Recovery file isn't in the above location just direct it to the folder its stored in
Now we type:
Code:
fastboot flash recovery twrp-2.8.x.x-ville-dm.img
just replace the "x" with the numbers on the file. e.g. - 2.8.0.1
Once it flashed successfully press the power button and use the volume buttons to scroll down to recovery and to boot into it, simply press the power button
Now go into "Mounts" and select Enable MTP if it isn't already.
Now copy a ROM of your choice (That supports HBOOT 2.16) and flash it. If MTP doesn't work, simply sideload the ROM
That's it, now you just reboot after installing your ROM.
Hope this helps anybody having difficulty with HBOOT 2.16
Getting a different error when flashing.
c:\adb>fastboot flash zip Firmware_4.06.401.1.zip
sending 'zip' (46472 KB)...
OKAY [ 2.598s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
FAILED (remote: 42 custom id check fail)
finished. total time: 4.304s
urlyisis said:
Getting a different error when flashing.
c:\adb>fastboot flash zip Firmware_4.06.401.1.zip
sending 'zip' (46472 KB)...
OKAY [ 2.598s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
FAILED (remote: 42 custom id check fail)
finished. total time: 4.304s
Click to expand...
Click to collapse
You need to change your cid
To change it go into bootloader, then fastboot, connect it to your computer and type
Code:
fastboot oem writecid 11111111
that is eight 1s
If that didnt work then type instead
Code:
fastboot oem writecid HTC__001
that is 2 underscores after HTC
I get this:
Code:
Z:\One_S_All-In-One_Kit_v1.1\Data>fastboot flash zip Firmware_4.06.401.1.zip
sending 'zip' (46472 KB)... OKAY [ 6.507s]
writing 'zip'... INFOzip header checking...
INFOzip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 8.020s
No matter how often I attempt it. Redownloaded the zip to make sure it is not corrupt...
Any pointer?
Ah, damn, because I followed the instructions to the end despite the HBOOT not flashing I can also now not access recovery anymore. It seems the new version of recovery was properly flashed, but as it relies on higher HBOOT I can't get into it anymore. It is still in HBOOT 1.03.
Can anyone help me to get this phone ready for Cyanogenmod?
I was able to load the hboot, but now the bootloader is locked again and I can't flash the recovery.
FAILED (remote: not allowed)
Walter_White said:
I get this:
Code:
Z:\One_S_All-In-One_Kit_v1.1\Data>fastboot flash zip Firmware_4.06.401.1.zip
sending 'zip' (46472 KB)... OKAY [ 6.507s]
writing 'zip'... INFOzip header checking...
INFOzip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 8.020s
No matter how often I attempt it. Redownloaded the zip to make sure it is not corrupt...
Any pointer?
Ah, damn, because I followed the instructions to the end despite the HBOOT not flashing I can also now not access recovery anymore. It seems the new version of recovery was properly flashed, but as it relies on higher HBOOT I can't get into it anymore. It is still in HBOOT 1.03.
Can anyone help me to get this phone ready for Cyanogenmod?
Click to expand...
Click to collapse
Get s-off change your cid to HTC__001 as shown above and run this ruu, then follow the instructions above
urlyisis said:
I was able to load the hboot, but now the bootloader is locked again and I can't flash the recovery.
FAILED (remote: not allowed)
Click to expand...
Click to collapse
It looks like your s-on
UPDATE: I had to unlock the bootloader via the HTC unlock. RESOLVED
dd98 said:
It looks like your s-on
Click to expand...
Click to collapse
Actually, the bootloader shows the following.
***** Tampered ******
Locked
VLE PVT SHIP S-OFF RL
CID-HTC__001
HBOOT-2.16.000
dd98 said:
HBOOT 2.16 Installation guide​
Requirements before installing​
Back up your files, your SD Card will be WIPED!
Charge your phone to AT LEAST 30%
Your bootloader MUST be unlocked
You NEED to be S-OFF or else it won't work
You need basic knowledge of Fastboot commands
Windows 10/8/7/Vista/XP: You need drivers installed
Windows 8.1: You need drivers installed AND update kb2967917 from Microsoft
Linux: You need "51-android.rules" or "99-android.rules" configured
Mac: Nothing needed that I know of
I am NOT responsible if you break your phone
​
This guide will be from a Windows point of view
Installation Guide​
Download the HBOOT 2.16 firmware file from here: Download from Mega.co.nz
Place it in your adb and fastboot folder. For example C:\Users\(Your Username)\Fastboot
Now open a Command Prompt window and then type in:
Code:
cd C:\(Location of your Fastboot folder)
Now take your phone and connect it to your computer (with USB Debugging ON) and type in:
Code:
adb reboot bootloader
Once you are in the bootloader and it displays "Fastboot USB", type in:
Code:
fastboot oem rebootRUU
Once your computer recognizes your phone type in:
Code:
fastboot flash zip Firmware_4.06.401.1.zip
If you changed the file name make sure to type in the name of it instead of the one above
You will then get an error:
Code:
"FAILED (remote: 90 hboot pre-update! please flush image again immediately)"
Don't worry, this is normal. DO NOT unplug your phone. Simply type in once again:
Code:
fastboot flash zip Firmware_4.06.401.1.zip
If you changed the file name make sure to type in the name of it instead of the one above
Then wait until the Command window says "finished" and type in:
Code:
fastboot reboot-bootloader
Next we need to download TWRP recovery. You can download it from MDMower's website and MAKE SURE to get TWRP for "/data/media storage (HBOOT 2.16.0000)" and TWRP 2.8.0.1 or above.
Now we must go back to the command window with your phone still plugged in displaying "Fastboot USB" on the screen
Then we type:
Code:
cd C:\Users\(Your Username)\Downloads
or if the TWRP Recovery file isn't in the above location just direct it to the folder its stored in
Now we type:
Code:
fastboot flash recovery twrp-2.8.x.x-ville-dm.img
just replace the "x" with the numbers on the file. e.g. - 2.8.0.1
Once it flashed successfully press the power button and use the volume buttons to scroll down to recovery and to boot into it, simply press the power button
Now go into "Mounts" and select Enable MTP if it isn't already.
Now copy a ROM of your choice (That supports HBOOT 2.16) and flash it. If MTP doesn't work, simply sideload the ROM
That's it, now you just reboot after installing your ROM.
Hope this helps anybody having difficulty with HBOOT 2.16
Click to expand...
Click to collapse
Whatever which recover i choose, my internal storage was always 48mb, i can not push rom, can not sideload rom,
ad346544521 said:
Whatever which recover i choose, my internal storage was always 48mb, i can not push rom, can not sideload rom,
Click to expand...
Click to collapse
You need the hboot 2.16 specific recovery, you can download it here
Never mind, I found what I needed...
Hi, do you have the firmware for t-mobile to downgrade to 2.15? I tried https://mega.co.nz/#!s54F3YqK!QrNjMlieIG65jsaGWS8eXDdLc5FcYM7IEmqTk_pHbFA but doesnt work. I think because is not for tmobile. I cant downloade the full RUU because the download always fails and my internet is so slow.
EDIT: I dont need it anymore, a friend download the file for me. Just a question. in hboot 2.16, gave me more space for my data, i like that, there is no way to make old roms to work on hboot 2.16?
Cannot get this method to work. I'm unlocked and S-OFF. But whenever I try to flash the firmware*.zip I get the message
FAILED (remote: not allowed)
I'm about ready to give up on HBoot 2.16.
confused on twrp for hboot 2.16
Hi thanks a lot for this very clear tuto that help me successfully upgrade to hboot 2.16 without any error issue. everything followed attentively and step by step .
However i am a littlee confused at the step bellow.
When i reached the download section of specified url , concerning TWRP , there is only twrp 2.7 concerning hboot 2.16
But in the tuto you talk about twrp 2.8.. or above. So please can you clarify me on this ?
Thanks
dd98 said:
HBOOT 2.16 Installation guide​
[*]Next we need to download TWRP recovery. You can download it from ......and MAKE SURE to get TWRP for "/data/media storage (HBOOT 2.16.0000)" and TWRP 2.8.0.1 or above.
Click to expand...
Click to collapse
delacosta4526 said:
Hi thanks a lot for this very clear tuto that help me successfully upgrade to hboot 2.16 without any error issue. everything followed attentively and step by step .
However i am a littlee confused at the step bellow.
When i reached the download section of specified url , concerning TWRP , there is only twrp 2.7 concerning hboot 2.16
But in the tuto you talk about twrp 2.8.. or above. So please can you clarify me on this ?
Thanks
Click to expand...
Click to collapse
Sorry, this is an old tutorial. Go to this link, download the latest file and flash it in fastboot mode by typing: fastboot flash recovery twrp-2.8.x.x.img (or whatever the file name is)
thanks..but
dd98 said:
Sorry, this is an old tutorial. Go to link, download the latest file and flash it in fastboot mode by typing: fastboot flash recovery twrp-2.8.x.x.img (or whatever the file name is)
Click to expand...
Click to collapse
thanks that is what i did.
But i though this would have help fix wifi, bluetooth not working since stock rom before i flash with "LIBERTY ROM - The Sixth Element" (that did not fix the problem)
Did you anything that can help ? My phone is Htc one s (actually : hboot 2.16 , TWRP 2.8.0.5, radio 1.20, unlocked, s-off, rooted, and with LIBERTY ROM - The Sixth Element" .
delacosta4526 said:
thanks that is what i did.
But i though this would have help fix wifi, bluetooth not working since stock rom before i flash with "LIBERTY ROM - The Sixth Element" (that did not fix the problem)
Did you anything that can help ? My phone is Htc one s (actually : hboot 2.16 , TWRP 2.8.0.5, radio 1.20, unlocked, s-off, rooted, and with LIBERTY ROM - The Sixth Element" .
Click to expand...
Click to collapse
No the recovery version will NEVER affect anything that does/doesn't work on the rom. Since you are using Liberty rom, make sure you are using the 4.4.2 version because the 4.4.3 version is very buggy
of course
dd98 said:
No the recovery version will NEVER affect anything that does/doesn't work on the rom. Since you are using Liberty rom, make sure you are using the 4.4.2 version because the 4.4.3 version is very buggy
Click to expand...
Click to collapse
Yes surely . i am using 4.4.2. I have carefully read i lot of things including that.
Thanks
Guys can someone please help me?
I am on Windows 10 desperately trying to find a solution on the ''WAITING DEVICE'' response after I type
fastboot oem rebootRUU
I have tried installing a bunch of drivers , driver updates on device manager etc with no luck.
The device is just not responding.
Thanks
File Offline
Unfortunately the HBoot 2.16 file is offline. Can someone please reupload it?
Thank you!

Categories

Resources