[Solved] How back to old HBOOT - HTC Sensation XL

Hi Guys.
Like on topic. How to back to old HBOOT version? From 1.28 ??
I need S-OFF?? or its there any way to make it without this?
I try install old stock ruu but i get error.

You can go back to old hboot but you need to go back to gingerbread aswell. O just did it myself so i can explain how if you want?
Sent from my HTC Sensation XL with Beats Audio X315e using Tapatalk 2

1) Unlock bootloader from HTCDEV.
2) Download recovery_for_1.28.img from bottom of post. (File is inside .zip)
3) Boot into fastboot, connect device to PC and flash recovery image.
"fastboot flash recovery recovery_for_1.28.img"
4) Reboot into recovery, connect device to PC again, Fire up adb and check device is connected. "adb devices"
5) Download fardjadb_runnymede.nb0 at bottom of post. (File is inside .zip) and copy it to the same folder as adb.exe
6) In adb command prompt type in "adb push fardjadb_runnymede.nb0 /tmp" then "adb shell" and finally "dd if=/tmp/fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p18"
7) Reboot into fastboot, download supermisc from bottom of post (file is inside .zip). Copy supermisc to same folder as fastboot.exe and connect device to PC.
8) In fastboot command prompt type in "fastboot flash misc supermisc"
9) Reboot back into fastboot again and flash a stock gingerbread RUU.
Done

Thx. You are my Hero. Will try it when i will back home. Thx again and big big beer for you
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium

Not working ;(
Error 140 when install old RUU with 1.25 HBOOT

stona175 said:
Not working ;(
Error 140 when install old RUU with 1.25 HBOOT
Click to expand...
Click to collapse
Did you flash supermisc it's exactly what i did and didnt get an error. Try the lastest GB RUU for your area.
Sent from my HTC Sensation XL with Beats Audio X315e using Tapatalk 2

Everything flashed ok.
But no to /tmp folder only to /system cuz i can't find block number for /tmp.
mount not showing this folder :/
Any way command
PHP:
dd if=/tmp/fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p18 on me was 25
was successful.
flashed supermisc via fastboot too.
When restart HBOOT a still got 1.28 but I thought maybe when i will install older stock rom with 1.25 this will change it but i getting error 140.
Now have sense 4.0 with not changed vold.fstab and not rooted ;(
sorry for my english.

i try to do this but
-i flash recovery image its ok
-i check device is connected "adb devices" its connect
but when i tip in command prompt type in "adb push fardjadb_runnymede.nb0
after i have this
C:\Android>adb push fardjadb_runnymede.nb0 /tmp
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
failed to copy 'fardjadb_runnymede.nb0' to '/tmp': Read-only file system
someone help please

Put manually to system folder file.
in adb write:
- adb shell
- su
- mount
you will see a list with blocks.
search for /dev/block/mmcblk0p** /system on me was 25
and in adb
dd if=/tmp/fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p** on me was 25

done
ok i changed tmp to /system
adb push fardjadb_runnymede.nb0 /system
in "adb shell" too changed tmp to /system
dd if=/system /fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p25
Rebooted into fastboot an I i flashed supermisc sending and writing okey
and i too flashed a stock gingerbread RUU and have HBOOT-1.25.004 so thank you very much

AndroHero said:
You can go back to old hboot but you need to go back to gingerbread aswell. O just did it myself so i can explain how if you want?
Sent from my HTC Sensation XL with Beats Audio X315e using Tapatalk 2
Click to expand...
Click to collapse
You are the man, i used your guide to unbrick my XL.

hi help me i want to downgrade hboot to old .some one can explain what to do ??

chocco2007 said:
hi help me i want to downgrade hboot to old .some one can explain what to do ??
Click to expand...
Click to collapse
read previous posts or guaide on my signature.
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium

think you stona175 .
when i try in CMD dd if=/system/fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p25
it mark cannot open for read :no such file or directory

chocco2007 said:
think you stona175 .
when i try in CMD dd if=/system/fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p25
it mark cannot open for read :no such file or directory
Click to expand...
Click to collapse
you push this file there?
PHP:
adb push fardjadb_runnymede.nb0 /system
with successful?
if you will get system read only
use first
PHP:
adb remount

AndroHero said:
1) Unlock bootloader from HTCDEV.
2) Download recovery_for_1.28.img from bottom of post. (File is inside .zip)
3) Boot into fastboot, connect device to PC and flash recovery image.
"fastboot flash recovery recovery_for_1.28.img"
4) Reboot into recovery, connect device to PC again, Fire up adb and check device is connected. "adb devices"
5) Download fardjadb_runnymede.nb0 at bottom of post. (File is inside .zip) and copy it to the same folder as adb.exe
6) In adb command prompt type in "adb push fardjadb_runnymede.nb0 /tmp" then "adb shell" and finally "dd if=/tmp/fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p18"
7) Reboot into fastboot, download supermisc from bottom of post (file is inside .zip). Copy supermisc to same folder as fastboot.exe and connect device to PC.
8) In fastboot command prompt type in "fastboot flash misc supermisc"
9) Reboot back into fastboot again and flash a stock gingerbread RUU.
Done
Click to expand...
Click to collapse
I'm getting signature error when flashing supermisc
also any chance of a link to GB rom RUU?

If your getting a sig error, your not pushing the custom hboot to device correctly.

great!!!!!!!!!!!!!!!!!!!!!!!
AndroHero said:
1) Unlock bootloader from HTCDEV.
2) Download recovery_for_1.28.img from bottom of post. (File is inside .zip)
3) Boot into fastboot, connect device to PC and flash recovery image.
"fastboot flash recovery recovery_for_1.28.img"
4) Reboot into recovery, connect device to PC again, Fire up adb and check device is connected. "adb devices"
5) Download fardjadb_runnymede.nb0 at bottom of post. (File is inside .zip) and copy it to the same folder as adb.exe
6) In adb command prompt type in "adb push fardjadb_runnymede.nb0 /tmp" then "adb shell" and finally "dd if=/tmp/fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p18"
7) Reboot into fastboot, download supermisc from bottom of post (file is inside .zip). Copy supermisc to same folder as fastboot.exe and connect device to PC.
8) In fastboot command prompt type in "fastboot flash misc supermisc"
9) Reboot back into fastboot again and flash a stock gingerbread RUU.
Done
Click to expand...
Click to collapse
Perfect, my phone turned to Brick for 2 days, finally saw this post , there is another tool called " FARDJADB_Runnymede_0.1.exe", supposed to do it automatically, but it never worked for me,

AndroHero said:
1) Unlock bootloader from HTCDEV.
2) Download recovery_for_1.28.img from bottom of post. (File is inside .zip)
3) Boot into fastboot, connect device to PC and flash recovery image.
"fastboot flash recovery recovery_for_1.28.img"
4) Reboot into recovery, connect device to PC again, Fire up adb and check device is connected. "adb devices"
5) Download fardjadb_runnymede.nb0 at bottom of post. (File is inside .zip) and copy it to the same folder as adb.exe
6) In adb command prompt type in "adb push fardjadb_runnymede.nb0 /tmp" then "adb shell" and finally "dd if=/tmp/fardjadb_runnymede.nb0 of=/dev/block/mmcblk0p18"
7) Reboot into fastboot, download supermisc from bottom of post (file is inside .zip). Copy supermisc to same folder as fastboot.exe and connect device to PC.
8) In fastboot command prompt type in "fastboot flash misc supermisc"
9) Reboot back into fastboot again and flash a stock gingerbread RUU.
Done
Click to expand...
Click to collapse
Thank you my brother.But what about radio????
If HBOOT v1.28 it means that radio v3831.16.00.27 and the radio in gingerbread RUU radio v3822.10.10.12 .Or is it that it does not matter????

victorygsm said:
Thank you my brother.But what about radio????
If HBOOT v1.28 it means that radio v3831.16.00.27 and the radio in gingerbread RUU radio v3822.10.10.12 .Or is it that it does not matter????
Click to expand...
Click to collapse
Well, you're right, HBOOT 1.28 usually comes with v3831 baseband/radio, but if you are S-OFF you can flash the radio from GB RUU with no problems. I'm going to do this as we speak, to test the signal strength and battery life

Related

How to flash stock recovery.

Hi guys,
I have to send me N1 to htc for fix some problem.
I have RA recovery with lock bootloader, and I want to flash the original, but "fastboot" way doesen't work (signature fail ).
How can i flash it in other way?
Ty
(sry for my eng )
Just flash the stock rom with the recovery image like frf92 original.
evilkorn said:
Just flash the stock rom with the recovery image like frf92 original.
Click to expand...
Click to collapse
How? Through recovery? Because "fastboot" hates me, and won't work.
I'd suggest using a passimg for frf85b and then maybe updating to 91 (or just leave it at 85), you can always re-root when you get it back.
________________________
N1 w/ XDA App
got it, thk to cyanogen wiki
Plug the phone into the computer
Reboot into fastboot by holding TrackBall + Power (you should see three Androids on skateboards and the words 'fastboot USB' in red)
On the computer, open a command prompt cd to the sdk/tools directory (we will assume the SDK is located in C:\android-sdk and the recovery file is in the root of the sdk/tools directory for the following steps)
With the phone connect via USB, open up a cmd prompt
Code:
adb reboot recovery"
Code:
adb devices
​A device name and 'recovery' should be returned
Code:
adb push recovery.img /sdcard/recovery.img
​recovery.img is located on android-sdk/tools dir
Code:
adb shell flash_image recovery /sdcard/recovery.img
​This permanently flashes the recovery.img to your phone, you can now boot into it by holding Vol- while powering on the device
Reboot
nrdmtt said:
got it, thk to cyanogen wiki
Click to expand...
Click to collapse
Thanks for searching!
I hope this encourages other users new to ADB, flashing ROMs, etc. to continue to search after asking for help.
Way to go nrdmtt!!

Fastboot flash boot boot.img command not working.

i have s-on Htc devsite unlocked inc s
I recently shifted to Venom ROM from Project x .
I wanted to change my rom again ..
Now when i go to FASTBOOT USB and i try to Fastboot flash boot boot.img ( of a New JB ROM ) Command prompt " fastboot is not recognised as an internal or external command "
mrigoo said:
i have s-on Htc devsite unlocked inc s
I recently shifted to Venom ROM from Project x .
I wanted to change my rom again ..
Now when i go to FASTBOOT USB and i try to Fastboot flash boot boot.img ( of a New JB ROM ) Command prompt " fastboot is not recognised as an internal or external command "
Click to expand...
Click to collapse
You need to move your command prompt to the folder where you have adb platform tools installed something like:
cd program files (x86)\android\android-sdk\platform-tools
It depends on OS you have installed on your PC, this one is for Win7 x64 that I have on mine.
If you're using windows, its easiest to:
(assuming you have fastboot/adb installed and working)
1. Put the boot.img in your fastboot folder
2. Holding shift, right click in an empty space (make sure nothing is selected/highlighted), select open command window here
3. "Adb reboot bootloader" (to boot device to fastboot)
4. "Fastboot devices" (device should show)
5. "Fastboot flash boot boot.img"
6. Fastboot reboot
Sent from my Blacked Out Incredible S
nlooooo said:
You need to move your command prompt to the folder where you have adb platform tools installed something like:
cd program files (x86)\android\android-sdk\platform-tools
It depends on OS you have installed on your PC, this one is for Win7 x64 that I have on mine.
Click to expand...
Click to collapse
I used installed all the android files when i unlocked the bootlocker from HTC dev website .
I did put the Boot.img in the C;\Andorid folder .
it was working before thats how i used project x rom . i developed problem after using Venom rom .. Is it a windows issue ?? or my current ROM can casue this ????.
markj338 said:
If you're using windows, its easiest to:
(assuming you have fastboot/adb installed and working)
1. Put the boot.img in your fastboot folder
2. Holding shift, right click in an empty space (make sure nothing is selected/highlighted), select open command window here
3. "Adb reboot bootloader" (to boot device to fastboot)
4. "Fastboot devices" (device should show)
5. "Fastboot flash boot boot.img"
6. Fastboot reboot
Sent from my Blacked Out Incredible S
Click to expand...
Click to collapse
i got an error in the first step .. device not found .
i have connected my phone .
My phone is in the bootlocker .. shows Fastboot USB .
mrigoo said:
i got an error in the first step .. device not found .
i have connected my phone .
My phone is in the bootlocker .. shows Fastboot USB .
Click to expand...
Click to collapse
Do you have fastboot and adb drivers installed on your computer?
Sent from my Blacked Out Incredible S
markj338 said:
Do you have fastboot and adb drivers installed on your computer?
Sent from my Blacked Out Incredible S
Click to expand...
Click to collapse
Yes....when i unlocked my phone from HTC dev site i downloaded them .
I have adb.exe in the Android folder .
But cant find fastboot.exe ... this must be the reason
Must have deleted it by mistake .
Thanks a ton for helping . !!!
mrigoo said:
Yes....when i unlocked my phone from HTC dev site i downloaded them .
I have adb.exe in the Android folder .
But cant find fastboot.exe ... this must be the reason
Must have deleted it by mistake .
Thanks a ton for helping . !!!
Click to expand...
Click to collapse
Fastboot.exe might not be there. So adb works, but fastboot doesn't?
You might not have it because my fastboot stuff is in a different folder.
Search your windows files for fastboot stuff if it's not there you'll have to download it
Sent from my Blacked Out Incredible S

[Q] Remove Branding with a Mac

HI,
i own a HTC one with a T-mobile Austria branding which includes a million of apps i didn't need.
How can i change it to a Clean Stock HTC version on a MAC?
I really want to get the updates from HTC, not from T-mobile.
Thanks bye!
prognosticon said:
HI,
i own a HTC one with a T-mobile Austria branding which includes a million of apps i didn't need.
How can i change it to a Clean Stock HTC version on a MAC?
I really want to get the updates from HTC, not from T-mobile.
Thanks bye!
Click to expand...
Click to collapse
platform doesn't matter
gaining S-off is all you need
once you do that change the CID to match the unbranded HTC One device and install that RUU
You might have to change the Model ID (MID) as well but that's easy too.
Just pick an S-off method, you'll probably want revOne since it is just terminal commands.
Thanks but is there a way to get Soff without HTC-DEV on a mac also?
Edit:
Sorry just saw that it is no problem with revone!
gunnyman said:
platform doesn't matter
....... and install that RUU
Click to expand...
Click to collapse
I have no idea how to install a RUU via mac, google doesn't help.
My phone is now S-off and my CID is HTC__001.
What should i do next?
prognosticon said:
I have no idea how to install a RUU via mac, google doesn't help.
My phone is now S-off and my CID is HTC__001.
What should i do next?
Click to expand...
Click to collapse
oh you need windows to install an RUU I just did it with VM ware and an old windows disc I had laying around
As mentioned above, you'd need Windows in order to install an RUU. Follow this guide in order to install a RUU, and since you're on HTC__001, download and install this RUU:
http://bugsylawson.com/files/file/1...13323127-1031113105-release-310878-signedexe/
Here's the important part in the guide:
mike1986. said:
Going back to stock
What you need to know before going back to stock:
Your bootloader will never be "LOCKED" again. You can't restore it. You can only relock it.
"TAMPERED" text in bootloader will disappear only after proceeding method 2.
There are 3 main methods. All three will be described below.
Method 1 - only for users with .401 devices (for more info click here - RUU variants)
Visit this thread - [ROM] HTC One *STOCK* ROM
Download stock odexed version of most recent firmware and recovery.img
Move recovery.img to c:\mini-sdk location
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of stock ROM (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device in bootloader mode.
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Method 2 - flashing RUU (ROM Update Utility)
Visit this or this thread.
Find proper RUU for your device
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot oem lock
Flash RUU and follow on screen instructions.
You have now completely stock software on your device.
Method 3 - flashing nandroid backup
In custom recovery restore nandroid backup you did after flashing custom recovery for the first time.
If you performed nandroid backup before permanently flashing custom recovery, your stock recovery should be now flashed.
If you still have custom recovery, extract recovery.img from your nandroid backup.
Move recovery.img to c:\mini-sdk location
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Here are some videos you might find helpful:
1) by Flow-Wolf
How to Unlock the bootloader
How to Flash the recovery
How to root the HTC One
2) by udimars30
How to Unbrick/Unroot/Flash stock Rom Back on HTC ONE
[/FONT]
Click to expand...
Click to collapse
EDIT: You'll need to setup adb and fastboot on Mac in order to be able to use the terminal commands mentioned in the guide. This can help you do that: http://forum.xda-developers.com/showthread.php?t=1917237
DO NOT download the Android SDK as it is not necessary, however scroll down in the guide and you'll find a small zip file containing a folder called android which you should extract to your Desktop.

Fastboot not recognizing phone after HBOOT downgrade

Hi guys. I wanted 2 restore my HTC One firmware through RUU. I followed nkk71's guide to do so. So i downgraded the bootloader to 1.44 to flash the RUU. However, after the downgrade, my One isnt recognized by fastboot. Whenever i type any command, its Waiting for device........... I have installed HTC Sync and tried uninstalling also. No success.
But this laptop has both USB 3.0 ports and is on Win 8.1 Is the USB 3.0 port the problem??
But on HBOOT 1.54, the phone was easily recognized.'
Thanks sincerely for any help
You need the newer hboot with Windows 8.1.
An alternative is a Linux live CD.
raghav kapur said:
Hi guys. I wanted 2 restore my HTC One firmware through RUU. I followed nkk71's guide to do so. So i downgraded the bootloader to 1.44 to flash the RUU. However, after the downgrade, my One isnt recognized by fastboot. Whenever i type any command, its Waiting for device........... I have installed HTC Sync and tried uninstalling also. No success.
But this laptop has both USB 3.0 ports and is on Win 8.1 Is the USB 3.0 port the problem??
But on HBOOT 1.54, the phone was easily recognized.'
Thanks sincerely for any help
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2610783&page=2
nkk71 said:
http://forum.xda-developers.com/showthread.php?t=2610783&page=2
Click to expand...
Click to collapse
thanks a lot for your suggestion. Win7 did the trick. But I have another question. Wen im doing the push adb command for installing the guru bootloader reset zip, its not happening.
What I've done is:
1) Put the guru bootloader reset zip in fastboot folder
2) adb push xxxx.zip (Ive just dragged the zip file from fastboot folder to command prompt)
3) Then I get a whole huge bunch of letters
Is it possible 2 simply drag the zip file to my virtual sd card and then flash from CWM, the way its done for flashing a rom
Or could you please tell me what command to put to flash the guru bootloader reset from command prompt
Really sorry if im irritating you
You should paste your results from adb push to get a better answer
raghav kapur said:
thanks a lot for your suggestion. Win7 did the trick. But I have another question. Wen im doing the push adb command for installing the guru bootloader reset zip, its not happening.
What I've done is:
1) Put the guru bootloader reset zip in fastboot folder
2) adb push xxxx.zip (Ive just dragged the zip file from fastboot folder to command prompt)
3) Then I get a whole huge bunch of letters
Is it possible 2 simply drag the zip file to my virtual sd card and then flash from CWM, the way its done for flashing a rom
Or could you please tell me what command to put to flash the guru bootloader reset from command prompt
Really sorry if im irritating you
Click to expand...
Click to collapse
you should look at the guide in a little bit more detail (including post 7, which has "visuals" both of the command prompt and the screenshots, so you can see what kind of output you get.
the command is "adb push <name of file>.zip /data/media/" <- yes, you need to mention the destination
here's a little trick it seems many are missing: in the command prompt type:
Code:
C:\ADB3>adb push g
then press TAB, and looky here:
Code:
C:\ADB3>adb push Guru_Bootloader_Reset_1.0.zip
then you can continue and type "<space>/data/media/"
if there is more than one file that starts with "g" press TAB again (and again) until the correct file is displayed.
nkk71 said:
you should look at the guide in a little bit more detail (including post 7, which has "visuals" both of the command prompt and the screenshots, so you can see what kind of output you get.
the command is "adb push <name of file>.zip /data/media/" <- yes, you need to mention the destination
here's a little trick it seems many are missing: in the command prompt type:
Code:
C:\ADB3>adb push g
then press TAB, and looky here:
Code:
C:\ADB3>adb push Guru_Bootloader_Reset_1.0.zip
then you can continue and type "<space>/data/media/"
if there is more than one file that starts with "g" press TAB again (and again) until the correct file is displayed.
Click to expand...
Click to collapse
i keep getting device not found error
nkk71 said:
you should look at the guide in a little bit more detail (including post 7, which has "visuals" both of the command prompt and the screenshots, so you can see what kind of output you get.
the command is "adb push <name of file>.zip /data/media/" <- yes, you need to mention the destination
here's a little trick it seems many are missing: in the command prompt type:
Code:
C:\ADB3>adb push g
then press TAB, and looky here:
Code:
C:\ADB3>adb push Guru_Bootloader_Reset_1.0.zip
then you can continue and type "<space>/data/media/"
if there is more than one file that starts with "g" press TAB again (and again) until the correct file is displayed.
Click to expand...
Click to collapse
can I just copy the bootloader reset zip to my internal storage through ES File Explorer and then flash using CWM ?
raghav kapur said:
i keep getting device not found error
Click to expand...
Click to collapse
are you in recovery or booted up rom (with USB debugging enabled?), anyway if you can see your phone with MTP in Windows, then fine just drag it onto the phone.
nkk71 said:
are you in recovery or booted up rom (with USB debugging enabled?), anyway if you can see your phone with MTP in Windows, then fine just drag it onto the phone.
Click to expand...
Click to collapse
It initially wasn't working thru adb. So I just decided 2 boot the phone after that. The phone is booting fine. So this is what I plan to do :
1) Copy the boot loader zip to internal storage
2) Boot CWM
3) Flash the zip
4) Lock the Boot loader and remove tampered
5) Run RUU when the phone is in fastboot
Is this the correct procedure ?
raghav kapur said:
It initially wasn't working thru adb. So I just decided 2 boot the phone after that. The phone is booting fine. So this is what I plan to do :
1) Copy the boot loader zip to internal storage
2) Boot CWM
3) Flash the zip
4) Lock the Boot loader and remove tampered
5) Run RUU when the phone is in fastboot
Is this the correct procedure ?
Click to expand...
Click to collapse
yep, sounds good.
STAY S-OFF
nkk71 said:
yep, sounds good.
STAY S-OFF
Click to expand...
Click to collapse
REALLY THANKS A LOOT. I really don't know how to thank you enough. My phone is back to normal
One last question: HTC UAE has told me that the phone has to be S-ON to be repaired for free. So simply running that command provided in the guide will get it S-ON right ?
raghav kapur said:
REALLY THANKS A LOOT. I really don't know how to thank you enough. My phone is back to normal
One last question: HTC UAE has told me that the phone has to be S-ON to be repaired for free. So simply running that command provided in the guide will get it S-ON right ?
Click to expand...
Click to collapse
yes as mentioned in the guide, however you have to do this before updating to 3.xx because hboot 1.55 is patched for that (as mentioned in the guide)
so if you're just sending to repair, and think it's necessary go ahead with s-on. after that you can take OTA updates... then again why bother, i'm sure they'll update it in the repair center.

URGENT: HTC One m7 Developer Edition - No OS, only Bootloader and TWRP [SOLVED]

Hi guys,
Accidentally wiped the internal storage and system files, was distracted and on phone with someone else and messed it up. Didn't do a backup because I'm selling the phone and backed up all my stuff to PC before going with the wipe.
Current status:
-Tampered
-Unlocked
-S-On
-Hboot 1.44
-Bootloader with fastboot working
-Recovery TWRP 2.8.0.0. working
-Fastboot recognizes device
-Adb doesn't recognize device
-Have managed to push a stock TWRP nandroid backup for Developer Ediion by mounting. It sits along with the TWRP folder in /sdcard
-Tried RESTORE button through TWRP recovery, can't see the ROM.zip file
-Tried INSTALL button through TWRP Recovery, gets stuck at "updating partition details"
Please help me, thanks in advance.
shabx said:
Hi guys,
Accidentally wiped the internal storage and system files, was distracted and on phone with someone else and messed it up. Didn't do a backup because I'm selling the phone and backed up all my stuff to PC before going with the wipe.
Current status:
-Tampered
-Unlocked
-S-On
-Hboot 1.44
-Bootloader with fastboot working
-Recovery TWRP 2.8.0.0. working
-Fastboot recognizes device
-Adb doesn't recognize device
-Have managed to push a stock TWRP nandroid backup for Developer Ediion by mounting. It sits along with the TWRP folder in /sdcard
-Tried RESTORE button through TWRP recovery, can't see the ROM.zip file
-Tried INSTALL button through TWRP Recovery, gets stuck at "updating partition details"
Please help me, thanks in advance.
Click to expand...
Click to collapse
You will need to unzip the nandroid backup and place it in the <serial #> directory for TWRP to see it. The nandroid backup folder needs to be in //sdcard/TWRP/BACKUP/<Serial #>/<Nandroid_folder_name>. You might also change to TWRP 2.6.3.3 it works best with stock roms.
Thanks, i can try this today. If its possible, can you put up a screenshot showing the exact filepath.. Or confirm if what I understood below is accurate.
/sdcard/twrp/backup/serial #/nandroid/<contents of zip file>
shabx said:
Thanks, i can try this today. If its possible, can you put up a screenshot showing the exact filepath.. Or confirm if what I understood below is accurate.
/sdcard/twrp/backup/serial #/5.11.1540.9 TWRP NANDROID
Click to expand...
Click to collapse
See attached pictures, this is the view from the zip. You see there is only one folder in the zip. This folder is extracted out of the zip and it becomes the folder that is placed in the serial # folder. The contents of the folder are shown in the second picture. The serial # is the serial # of your phone. If you don't know it then you can find it in fastboot getvar all.
One more thing. The mount function is very inconsistent. Out of 60-70 attempts.. It mounted only once properly and I could push the stock ROM to the phone. Is there a way to unpack the zip in twrp?
shabx said:
One more thing. The mount function is very inconsistent. Out of 60-70 attempts.. It mounted only once properly and I could push the stock ROM to the phone. Is there a way to unpack the zip in twrp?
Click to expand...
Click to collapse
No, I don't think you can unpack the zip in TWRP. Just what is the file you are trying to move? Could you give the name and location where you got the file?
I got it from htc1guru database. Its the M7 TWRP Nandroid Backup CID BS US001 1.29.1540.3 .. Its for the developer edition which is the same as my phone..
Currently the phone only has twrp folder on sdcard.. And inside twrp, there's .twrps
. that's it.. I will have to create a new folder called backup, a new folder with their serial number as its name etc.
shabx said:
I got it from htc1guru database. Its the M7 TWRP Nandroid Backup CID BS US001 1.29.1540.3 .. Its for the developer edition which is the same as my phone..
Currently the phone only has twrp folder on sdcard.. And inside twrp, there's .twrps
. that's it.. I will have to create a new folder called backup, a new folder with their serial number as its name etc.
Click to expand...
Click to collapse
That file may not work with your phone it is pretty outdated. Can you post a fastboot getvar all (except for imei and serialno)? So, we can see if there is a better version or way to do the same thing.
Ok I will post the details when I get back home tonight.. Any other ideas? Anyway to get the adb working? I could then use revone for s-off and then RUU from desktop
shabx said:
Ok I will post the details when I get back home tonight.. Any other ideas? Anyway to get the adb working? I could then use revone for s-off and then RUU from desktop
Click to expand...
Click to collapse
ADB works in OS if USB Debugging is enabled and in custom recovery. In other words, the phone is in Recovery and attached to your computer you can run the command adb devices and you should see your serial number and next to it "recovery". If you are in FASTBOOT USB, only fastboot will work not ADB. Depending on your hboot you can use revone (hboot 1.4X), rumrunner (hboot 1.54) or firewater (hboot 1.5X) to achieve S-OFF.
Adb doesn't work. I tried adb devices and it would not return any values. Fastboot devices always gave the serial number but not adb. I have hboot1.44 and because of adb device not found I can't push revone too
shabx said:
Adb doesn't work. I tried adb devices and it would not return any values. Fastboot devices always gave the serial number but not adb. I have hboot1.44 and because of adb device not found I can't push revone too
Click to expand...
Click to collapse
Here try this method:
How to get ADB to recognize the device​
After you re-install adb & fastboot
Disconnect your phone from the computer
Then reboot the computer and open the command window
Type: adb kill-server
Then when it is finished
Type: adb start-server
Now connect your phone to the PC
Type: adb devices
Click to expand...
Click to collapse
majmoz said:
Here try this method:
Click to expand...
Click to collapse
@majmoz
shabx said:
@majmoz
Click to expand...
Click to collapse
This is an old method that I used to get S-OFF with revone:
Revone S-OFF on the phone method​Revone Download:
http://revolutionary.io/revone
Big thanks to the Revolutionary dev team. The original thread can be found here.
Written instructions:
 Download the Revone file above and transfer it to your phone (or download on your phone)
 Use a root file explorer and paste the file inside the /data/local/tmp folder
 Open a terminal emulator and type the following:
Code:
[B][I]su[/I][/B] (enter)
[B][I]cd /data/local/tmp[/I][/B] (enter)
[B][I]chmod 755 revone[/I][/B] (enter) (IF revone doesn’t work, type revone.bin)
[B][I]./revone -P[/I][/B] (enter)
 Reboot
 Open terminal again and type:
Code:
[B][I]su[/I][/B] (enter)
[B][I]cd /data/local/tmp[/I][/B] (enter)
[B][I]./revone -s 0 -u[/I][/B] (That would be a ZERO) (enter)
 Reboot
 That’s it! To get rid of the tampered, or relock, follow instructions below
To remove “tampered”
open terminal
Code:
[B][I]cd /data/local/tmp[/I][/B]
[B][I]su[/I][/B]
[B][I]./revone.bin -t[/I][/B]
These are other commands that you can fill in above to
-u – Unlock the device
-l – Lock the device (as if it was never unlocked)
-r – Relock the device (mark the device as relocked)
-t – Reset the device’s tamper flag.
Click to expand...
Click to collapse
You will need a terminal emulator you can download one from the Google Play Store.
majmoz said:
This is an old method that I used to get S-OFF with revone:
You will need a terminal emulator you can download one from the Google Play Store.
Click to expand...
Click to collapse
@majmoz
This wont work. My phone has no OS so I can't get in and download stuff from Play Store. Also the ADB steps listed by you didn't work. ADB devices does not return anything.
shabx said:
@majmoz
This wont work. My phone has no OS so I can't get in and download stuff from Play Store. Also the ADB steps listed by you didn't work. ADB devices does not return anything.
Click to expand...
Click to collapse
@majmoz
OK ADB devices found works. How do I get S-Off now? I tried Revone, but its failing with error code = 1
shabx said:
@majmoz
OK ADB devices found works. How do I get S-Off now? I tried Revone, but its failing with error code = 1
Click to expand...
Click to collapse
Let's get a rom on your phone first. Did you have a rom that you wanted to put on your phone? It should be a Sense ROM.
Originally posted by @alrayHTC ONE M7_U/M7_UL - ADB PUSH & FLASH A ROM - DETAILED INSTRUCTIONS
Prerequisites:
You need ADB and FASTBOOT on your computer,
either by installing the Android SDK or Minimal ADB and FASTBOOT
You need to know how to start a fastboot/adb command prompt:
To open a command window prompt, in Windows go to Start Menu --> ''Run'' then type cmd. Change the directory to the ADB folder on your machine:
If using the default install location for the SDK:
Code:
cd C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools
If using the default install location of Minimal ADB and FASTBOOT:
Code:
cd C:\Program Files (x86)\Minimal ADB and Fastboot
Or hold left shift + right click a blank space inside the folder where adb and fastboot are located and select ''Open command window here'' from the contextual menu.
You need TWRP recovery on your device.
We still recommend to use version 2.6.3.3 for all roms
except if another version is specified in the rom OP.
Use 2.7.1.1+ for roms that require "block:by-name" support (CM11)
Unlock bootloader if not already unlocked:
Thanks to Electroz for the video tutorial
Flash TWRP Recovery:
Make sure the recovery.img file is in the same folder where adb and fastboot are located
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
reboot phone in bootloader mode
Flash the recovery:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
You need your HTC drivers correctly installed on your PC:
If not, follow this guide (thanks to nkk71):
originally from @nkk71: [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock
follow the below instructions to fix
Open "Device Manager" -> select the unknown "One" -> right-click -> "Update Driver Software ..." -> "Browse my computer" -> "Let me pick" -> "Android USB Devices" -> select "My HTC ..." -> install that
just in case, HTC Drivers can be found here: [Drivers] HTC Drivers for Windows - Several Versions (credits to @mdmower)
though you should already have them since you have been using your phone anyways
for those who like a visual guide:
okay so I did a fastboot boot command, and as you can see it didnt install correct driver
Open "Device Manager"
there's the culprit
right click and Update Driver Software
select Browse my computer for driver software
select Let me pick from a list of device drivers on my computer
select Android USB Devices
select My HTC ... (if you have more than one version, choose the latest)
warning, select Yes
successful installation
now it looks better
and can confirm:
Code:
C:\ADB3>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
Click to expand...
Click to collapse
​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Procedure:
Make sure the ROM you want to flash is in the same folder where ADB and FASTBOOT are.
(C:\adt-bundle-windows-x86_64-<DATE>\sdk\platform-tools or C:\Program Files (x86)\Minimal ADB and Fastboot)
Here is a list of the HTC M7 roms. Some other roms can be found here.
Connect your phone to computer using usb cable
(if not using the official HTC USB calble, make sure
you are using a USB data cable and not only a charging
cable. Data cables have 4 contacts: 5V, GND, DATA+, DATA-.
Charging cable only have 5V and GND contact and will not work)
Reboot phone in recovery mode (TWRP):
If phone is booted in OS:
Code:
adb reboot recovery
if not booted or bootlooping, hold power button + volume down until phone boot in bootloader mode
then select BOOTLOADER then RECOVERY using volume up/down to navigate and power button to select.
Make sure your phone is booted in TWRP main menu:
transfer the rom to your /sdcard folder:
Code:
adb push name_of_rom.zip /sdcard/
Wait for the zip file to transfer, this can take several minutes (5-15) and there is no progress bar, the command prompt will be unresponsive for that duration. When the command prompt is responsive again and display how much bytes transferred in X seconds, the transfer is completed:
In TWRP main menu, select ''INSTALL''
Browse the installation menu and select your rom zip file inside /sdcard folder:
Swipe to confirm you want to flash the rom
Reboot phone
Click to expand...
Click to collapse
Click to expand...
Click to collapse
@majmoz I'm currently downloading the 1.29.1540.17 from htcdev.com .. This is the same as shown in he getvar all posted earlier. Will push the ROM via adb and post results or errors. Thanks.
shabx said:
@majmoz I'm currently downloading the 1.29.1540.17 from htcdev.com .. This is the same as shown in he getvar all posted earlier. Will push the ROM via adb and post results or errors. Thanks.
Click to expand...
Click to collapse
That file is a RUU rom zip for your phone. I believe you will have to flash it in bootloader like firmware. Your bootloader will need to be relocked.
Rename file to rom.zip and put in your fastboot/adb folder.
Put the phone in bootloader/FASTBOOT USB:
After that, type:
Code:
fastboot oem lock
Code:
[B][I]fastboot oem rebootRUU [/I][/B]
NOTE: You should see a silver HTC logo come up on your phone after executing this command.
NOTE: if this command freezes, just disconnect the USB cable and hold the power and volume down buttons until the device reboots. Then, repeat the steps above again.
Finally:
Code:
[B][I]fastboot flash zip rom.zip[/I][/B]
Repeat the same command: IMPORTANT
Code:
[B][I]fastboot flash zip rom.zip[/I][/B]
NOTE: The green bar on the phone may not go to 100% of the bar ... but If you see completed on your computer command window, wait for a few seconds and move on.
Last Step:
Code:
[B][I]fastboot reboot[/I][/B]
Click to expand...
Click to collapse
The phone came with an unlocked bootloader. Then why do I need to relock it. You have given me 2 sets of instructions above.. One is using adb and other is flashing the ruu in bootloader.

Categories

Resources