[Q] accidently installed darkbootloader how can i flash back to stock? - Sprint HTC One (M7)

i accidentally flash my phone to the wrong thing i now have a phone on dark bootloader from GE how can i flash back to stock ? im trying to go back to 1.29.651.100 i am currently on 3.06.1700.00

From recovery, use adb to push the 1.29
adb push the 1.29 hboot to your sdcard.
adb push nameofhboot.nb0 /sdcard/nameofhboot.nb0
adb shell
dd if=/sdcard/nameofhboot.nb0 of=/dev/block/mmcblk0p12
Then reboot to bootloader.
Sent from my HTCONE using XDA Premium 4 mobile app

18th.abn said:
From recovery, use adb to push the 1.29
adb push the 1.29 hboot to your sdcard.
adb push nameofhboot.nb0 /sdcard/nameofhboot.nb0
adb shell
dd if=/sdcard/nameofhboot.nb0 of=/dev/block/mmcblk0p12
Then reboot to bootloader.
Sent from my HTCONE using XDA Premium 4 mobile app
Click to expand...
Click to collapse
How would I do that sorry im new to this and also I can't get my laptop to even read it

seniorblaze said:
How would I do that sorry im new to this and also I can't get my laptop to even read it
Click to expand...
Click to collapse
From recovery follow the guide for 1.31 RUU which I will link below.
Now to RUU follow this guide
http://forum.xda-developers.com/showthread.php?p=44243635
You will see this message (failed) ignore it and flash the RUU anyway.
~ # ←[6necho "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
warning: seek lseek64 failed
12+0 records in
12+0 records out
12 bytes (12B) copied, 0.007263 seconds, 1.6KB/s
~ # ←[6n
Then RUU here click the first link, extract to desktop open and click setup, then follow the prompts.
To make your life easy you will need drivers for your phone the best are the universal naked drivers for HTC One
http://forum.xda-developers.com/showthread.php?t=2263822
If installed, uninstall HTC sync, and disable any anti virus or firewalls including Windows firewall. You will also need to download ADB if you don't have it minimal ADB is great
http://forum.xda-developers.com/showthread.php?p=42407269
Sent from my HTCONE using xda app-developers app
Sent from my HTCONE using xda app-developers app

I did what u said and when I use the ruu it says error image. 158

Related

Error when update to ICS 4.0 (Official ROM)

Dear All,
I am having problem while updating my Sensation XL. Please refer picture for the error. Anyone can helps on this?? My phone is rooted and running original ROM from HTC.
Did you unroot and relock bootloader?
Sent from my HTC Sensation XL with Beats Audio X315e using Tapatalk 2
Yes... the phone is unlocked
tangcmin said:
Yes... the phone is unlocked
Click to expand...
Click to collapse
Than lock him
Any guides to lock it back?
Thanks
tangcmin said:
Any guides to lock it back?
Thanks
Click to expand...
Click to collapse
read my tut. Link is on signature.
Cheers.. got it Thanks
Hey mate,
The update still not working.
I have locked it back.....
on the top of bootloader is stated
*** Relocked ***
Please help
Forget to tell you that... i am update from setting --> About phone --> Software updates
tangcmin said:
Forget to tell you that... i am update from setting --> About phone --> Software updates
Click to expand...
Click to collapse
but you need lock bootloader to update. Like he say go to setting and update there or download new RUU.
Please refer picture for the detail of bootloader
tangcmin said:
Please refer picture for the detail of bootloader
Click to expand...
Click to collapse
old hboot and relocked bootloader.
For more info go to tutorial in my signature.
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Hey Mate,
I have read your tutorial.. but what does it mean?
""
This operation does not break down your rom. All you have to do after this operation to change the file vold.fstab to 34
""
dd if=/system/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
'dd' is not recognized as an internal or external command,
operable program or batch file.
tangcmin said:
dd if=/system/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
'dd' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
Are you in adb shell?
Sent from my HTC Sensation XL with Beats Audio X315e using Tapatalk 2
tangcmin said:
dd if=/system/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
'dd' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
tangcmin said:
Hey Mate,
I have read your tutorial.. but what does it mean?
""
This operation does not break down your rom. All you have to do after this operation to change the file vold.fstab to 34
""
Click to expand...
Click to collapse
write
PHP:
adb dd if=/system/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
or
PHP:
adb shell
and than
PHP:
dd if=/system/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
This operation does not break down your rom. All you have to do after this operation to change the file vold.fstab to 34 - This mean is nothing changing to your rom, no changes, no need reset factory etc. Only 1 what you need to do is change file called vold.fstab to see your sdcard on new hboot.
C:\Android>adb shell
$ dd if=/data/local/tmp/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
dd if=/data/local/tmp/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
/dev/block/mmcblk0p25: cannot open for write: Permission denied
$
Still cant get it.
p/s: nb0 file at /data/local/tmp instead of /system due to read-only..
Please help...
tangcmin said:
C:\Android>adb shell
$ dd if=/data/local/tmp/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
dd if=/data/local/tmp/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25
/dev/block/mmcblk0p25: cannot open for write: Permission denied
$
Still cant get it.
p/s: nb0 file at /data/local/tmp instead of /system due to read-only..
Please help...
Click to expand...
Click to collapse
where you find this patch? mmcblk0p25 - is /system folder
and your are trying to start it from this folder /data/local/tmp/ - its block 18
why i will get 'Operation not permitted'
when cmd
adb remount
basically, i have the problem on update to Hboot 1.28 by using your guide.
1. What we need to start:
- Unlocked bootloader (unlocked)
- S-OFF (ok... using FARDJADB method)
2. Download:
HBOOT 1.28 (PROBLEM)
Radio 3831.16.00.16_M (UPDATED)
3. Put the files in SDK Android Tools folder.
stona175 said:
where you find this patch? mmcblk0p25 - is /system folder
and your are trying to start it from this folder /data/local/tmp/ - its block 18
Click to expand...
Click to collapse
Which means i can use either way
dd if=/data/local/tmp/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p18
or
dd if=/system/hboot_7230ddr2_Runnymede_1.28.0006_20120424.nb0 of=/dev/block/mmcblk0p25

Stuck boot&recovery with S on

I can access the bootloader and twrp recovery for this Sprint HTC one.
My S is set to on
And I can't recover RUU because I have a newer version, it fails midway thru.
I tried to push a rom to load via adp with the all in one options. but nothing works
I cant load/flash a new rom, because I cant see the sdcard on my pc. At this point, I want to give up and just return to stock.
When I tried to flash RUU it wiped my SD card. So I have no rom to load/flash. I cant access Developer mode in OS to disable S to off.
Could s off be blocking my RUU to stock?
If you have any information, links to the appropriate Sprint roms/images file would be appreciated.
I am truly lost.
From recovery follow the guide for 1.31 RUU which I will link below.
Now to RUU follow this guide
http://forum.xda-developers.com/showthread.php?p=44243635
You will see this message (failed) ignore it and flash the RUU anyway.
~ # ←[6necho "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
warning: seek lseek64 failed
12+0 records in
12+0 records out
12 bytes (12B) copied, 0.007263 seconds, 1.6KB/s
~ # ←[6n
To make your life easy you will need drivers for your phone the best are the universal naked drivers for HTC One
http://forum.xda-developers.com/showthread.php?t=2263822
If installed, uninstall HTC sync, and disable any anti virus or firewalls including Windows firewall. You will also need to download ADB if you don't have it minimal ADB is great
http://forum.xda-developers.com/showthread.php?p=42407269
Sent from my HTCONE using xda app-developers app
Thank you
Konfuzion said:
From recovery follow the guide for 1.31 RUU which I will link below.
Now to RUU follow this guide
http://forum.xda-developers.com/showthread.php?p=44243635
You will see this message (failed) ignore it and flash the RUU anyway.
~ # ←[6necho "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160
warning: seek lseek64 failed
12+0 records in
12+0 records out
12 bytes (12B) copied, 0.007263 seconds, 1.6KB/s
~ # ←[6n
To make your life easy you will need drivers for your phone the best are the universal naked drivers for HTC One
http://forum.xda-developers.com/showthread.php?t=2263822
If installed, uninstall HTC sync, and disable any anti virus or firewalls including Windows firewall. You will also need to download ADB if you don't have it minimal ADB is great
http://forum.xda-developers.com/showthread.php?p=42407269
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
I will try this as soon as I get home.
Thank you for your time

(SOLVED)--Require of sim unlock ...how to carry out instruction

------------------------------------SOLVED---------------------------------------------------------------------
JUST CARRIED OUT THE COMMANDS IN CWM RECOVERY ....THAT SOLVED ALL PROBLEMS
I have htc j one ...japanese htc one
Hboot is 1.52 and android 4.1.2
I have been able to s off, unlock bootloader using revone
I have flash cwm and rooted phone
Now I need to sim unlock the phone with some adb commands given in the below mentioned website :-
http://htcsoku.info/htcsokudev-news/au-m7-device-sim-unlock/
You can easily auto translate the above page if u open it in google chrome
Can anyone help me with that ?
Thanks in advance
Sent from my GT-N7000 using xda premium
download and unrar this in adb folder >>> http://www.androidfilehost.com/?fid=23159073880933098
they edited misc.img and say to do this :
adb push misc.img /
adb shell
# dd if=/misc.img of=/dev/block/mmcblk0p19
# reboot
hope it helps
criszz said:
download and unrar this in adb folder >>> http://www.androidfilehost.com/?fid=23159073880933098
they edited misc.img and say to do this :
adb push misc.img /
adb shell
# dd if=/misc.img of=/dev/block/mmcblk0p19
# reboot
hope it helps
Click to expand...
Click to collapse
Thanks for replying
I will download this file and put in adb folder
I shud do
adb push misc.img
( is this commabd correct or do I need to to put / ar back)
Then
Adb shell
It shows $ at the end
So it type
Su
Now it becomes #
Then I shud type
dd if=/misc.img of=/dev/block/mmcblk0p19
# reboot
Am I correct ?
Plz help as I am noob in this ...but am trying to learn
Sent from my GT-N7000 using xda premium
The auto-translated instructions are not good enough, and this is a very risky procedure. Fortunately, with code you usually don't need to read the words to understand it. Fortunately, with my Japanese-speaking colleague's help, I understand everything. Some things to know:
- Don't try this unless you are content to risk your phone, because I can tell he made mistakes in his instructions
- To reiterate, you either need to follow his incorrect instructions or you need to listen to me (why would you do that?)
- Look at the code blocks--all that code is meant to be run on your computer while the phone is connected to USB.
- There is only one complicated step, and this is the one with the incorrect instructions.
What he says:
Open misc.img in a hex editor, represent [00001023] as [11] and save. If you are lazy, use the file I modified already. <link>
There are two problems with this statement. First, "00001023" is not a reasonable position in the file. It means "line 10, column 3" (lines start with zero, columns start with zero). But there are 16 bytes per line, so what he really means is "byte 147". (Each pair of hex characters is a byte. The lowest value is 00, the highest value is ff.)
The second problem is that in his "already modified" file, that byte is "00", not "11". This is what I expected, because it's not reasonable for number="11" to mean "unlocked". More likely, "11" is his carrier and "00" is when the phone is unlocked.
What I advise is getting your carrier to unlock the phone, and if that's not possible, proceed only if you are willing to risk your phone. Follow his instructions, but when you get your misc.img file, download his modified version and compare them. If they differ in only one position, install his file to your phone (as per the instructions). If they are very different but the same size, you can try changing byte 147 to 00 (if the surrounding bytes are also all 00). Save the unmodified .img file, because you might be able to use it to rescue your phone if this fails.
Note: this is risky, with or without language barrier issues. At least 10% chance of bricking your phone.
Thanks a lot for your advice.
But it is not possible to carrier unlock the phone
Is there any safe way to sim unlock the phone ?
Currently am stuck ...
Sent from my GT-N7000 using xda premium
sitanshu91 said:
But it is not possible to carrier unlock the phone
Is there any safe way to sim unlock the phone ?
Click to expand...
Click to collapse
I think it's probably safe to flash the misc.img file he uploaded and linked to, if (and only if) it is exactly the same as yours, except for that one byte. Low chance of bricking the phone.
But currently can you tell me to how to pull the image coz I havr followed his command ...
Adb shell
It strt with $
Su
Now # come
Then somd dd comand
Here it shows operation cannot complete(will update what is exactly error in few min)
Exit
Adb pull misc.img
Here it shows error device not detected
Can you help me to first pull file so I can compare
Sent from my GT-N7000 using xda premium
Weird... you got a successful ADB shell, then it stopped detecting your device? I suppose you should just try again.
My phone is not the same as yours, so you shouldn't compare your partition19 to mine. You have a phone specific to Japan, right?
fenstre said:
Weird... you got a successful ADB shell, then it stopped detecting your device? I suppose you should just try again.
My phone is not the same as yours, so you shouldn't compare your partition19 to mine. You have a phone specific to Japan, right?
Click to expand...
Click to collapse
see this is what i get
C:\adb\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/mmcblk0p19 of=/misc.img
dd if=/dev/block/mmcblk0p19 of=/misc.img
/misc.img: cannot open for write: Read-only file system
1|[email protected]:/ #
can you tell me why it says " /misc.img: cannot open for write: Read-only file system "
requesting your help
thanks
sitanshu91 said:
can you tell me why it says " /misc.img: cannot open for write: Read-only file system "
Click to expand...
Click to collapse
That's actually normal (because you're not supposed to write to the root of the phone's filesystem). Every time the instructions say "/", you can replace it with "/sdcard/", and every time they say "/misc.img", you can think "/sdcard/misc.img". (The instructions were carelessly written.)
fenstre said:
That's actually normal (because you're not supposed to write to the root of the phone's filesystem). Every time the instructions say "/", you can replace it with "/sdcard/", and every time they say "/misc.img", you can think "/sdcard/misc.img". (The instructions were carelessly written.)
Click to expand...
Click to collapse
so you say i should proceed
see again i did the same
C:\adb\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb devices
List of devices attached
HT35Z******* device
C:\adb\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/mmcblk0p19 of=/misc.img
dd if=/dev/block/mmcblk0p19 of=/misc.img
/misc.img: cannot open for write: Read-only file system
1|[email protected]:/ # exit
exit
1|[email protected]:/ $ adb pull misc.img
adb pull misc.img
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
1|[email protected]:/ $
now how should i proceed ....please help
Guys requesting help before the new year starts
So I can use my phone in new year
Sent from my GT-N7000 using xda premium
sitanshu91 said:
/misc.img: cannot open for write: Read-only file system
Click to expand...
Click to collapse
are you doing this is fastboot? / recovery? is your device bootloader unlocked through htc dev?
Kasi!995 said:
are you doing this is fastboot? / recovery? is your device bootloader unlocked through htc dev?
Click to expand...
Click to collapse
yes this is unlocked bootloader ...i have done it thru revone
now i have installed busybox
and i can progress
C:\adb\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb devices
List of devices attached
HT3******* device
C:\adb\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/mmcblk0p19 of=/misc.img
dd if=/dev/block/mmcblk0p19 of=/misc.img
2045+0 records in
2045+0 records out
1047040 bytes transferred in 0.106 secs (9877735 bytes/sec)
[email protected]:/ # exit
exit
[email protected]:/ $ adb pull misc.img
adb pull misc.img
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
1|[email protected]:/ $
can you help me now
i want to do as written in this
http://htcsoku.info/htcsokudev-news/au-m7-device-sim-unlock/
thanks
sitanshu91 said:
can you help me now
i want to do as written in this
http://htcsoku.info/htcsokudev-news/au-m7-device-sim-unlock/
thanks
Click to expand...
Click to collapse
what Recovery do you have flashed? TWRP?
Its cwm recovery
Sent from my GT-N7000 using xda premium
Run adb pull outside of adb shell.
1st problem :-
C:\adb\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # dd if=/dev/block/mmcblk0p19 of=/misc.img
dd if=/dev/block/mmcblk0p19 of=/misc.img
2045+0 records in
2045+0 records out
1047040 bytes transferred in 0.106 secs (9877735 bytes/sec)
[email protected]:/ # exit
exit
[email protected]:/ $ adb pull misc.img
adb pull misc.img
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
1|[email protected]:/ $
can you tell me where is my mistake
What can I do can you type command
2nd problem
similiarly when i try
C:\adb\adt-bundle-windows-x86-20131030\sdk\platform-tools>adb push misc.img /
failed to copy 'misc.img' to '//misc.img': Permission denied
request you to please help me
thanks and regards
Sent from my GT-N7000 using xda premium
what is your status now?
criszz said:
what is your status now?
Click to expand...
Click to collapse
i am very glad that you asked .....happy new year
Now my status is sim unlocked ....but i can use only to make and receive phone calls and sms ...
now here is the problem
i cant use data (2g/3g) on my phone
do u know how to do that
thanks
sitanshu

HTC Butterfly S 9060 easy unlock bootloader(no need of htcDev)

hey gus i have unlocked my 9060 by this method and its pretty easy(Thanks to its creators).........and the best part is that u dont have lose any data from ur phone .................(ur device must be S-off)
this method is imported from my old phone desire 601 ..........credit:
@scotty1223 thanks
u just have to do this .......
first go to this site and do as he say...... and install the adb to ur pc.........credit goes to @Snoop05
and then just open this (adb.zip) and download it ......
extract it to short path like:--- C:\.
now open the command prompt where u have extracted (press the left shift in that extracted folder and right click and click open command prompt) or locate to the folder
Now u just have to unlock ......
type adb shell (in the command prompt)
type su
type or paste echo -ne "HTCU" | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
****i advice copy and past****
type exit
type exit
type adb reboot bootloader (for checking its position *****unlocked***** )
type fastboot reboot ( to back in os)
hey @rajat ,can u give me the stock systemUI.apk 4.2.2 9060 ,,,,,it's urgent....thanks in advance
thanks for the new method. can i try this with my htc one m7?
goodman_east said:
thanks for the new method. can i try this with my htc one m7?
Click to expand...
Click to collapse
u can but u have to change this line only the main code.........................
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
cause m7 memory partition is different from zara
else is same .............and btw what m7 u have is it china 802t.............
Good
goodman_east said:
thanks for the new method. can i try this with my htc one m7?
Click to expand...
Click to collapse
Great job
rajat836 said:
hey gus i have unlocked my 9060 by this method and its pretty easy(Thanks to its creators).........and the best part is that u dont have lose any data from ur phone .................(ur device must be S-off)
this method is imported from my old phone desire 601 ..........credit:
@scotty1223 thanks
u just have to do this .......
first go to this site and do as he say...... and install the adb to ur pc.........credit goes to @Snoop05
and then just open this (adb.zip) and download it ......
extract it to short path like:--- C:\.
now open the command prompt where u have extracted (press the left shift in that extracted folder and right click and click open command prompt) or locate to the folder
Now u just have to unlock ......
type adb shell (in the command prompt)
type su
type or paste echo -ne "HTCU" | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
****i advice copy and past****
type exit
type exit
type adb reboot bootloader (for checking its position *****unlocked***** )
type fastboot reboot ( to back in os)
Click to expand...
Click to collapse
What is the use unlock ?
How I can make the S - OFF?
Thanks for the input.

64 Bit Stock Recovery

Hi guys,
Some1 please upload here stock recovery of 64 bit device.
I will make TWRP and CWM Recovery,but i need this file and its no possible to get from my 510.
How I can extract from my 510?
Sent from my HTC Desire 510 using XDA Free mobile app
Try connect via adb shell or in terminal emulator type: cat /proc/mtd and press enter
you will see which is recovery partition and then type: dd if=/dev/mtd/mtd1 of=/sdcard/recovery.img (note that mtd1 you must replace with number which is recovery partition)
after that you will have recovery.img on your sd card
there is other guide:
http://howtorootcherrymobilesnap.weebly.com/adb/how-to-extract-img-files-via-adb-ex-bootimg
vwadam said:
Try connect via adb shell or in terminal emulator type: cat /proc/mtd and press enter
you will see which is recovery partition and then type: dd if=/dev/mtd/mtd1 of=/sdcard/recovery.img (note that mtd1 you must replace with number which is recovery partition)
after that you will have recovery.img on your sd card
Click to expand...
Click to collapse
Code:
[email protected]_a11ul:/ # cat /proc/mtd
cat /proc/mtd
tmp-mksh: cat: /proc/mtd: No such file or directory
EDIT:
http://postimg.org/image/v40y6pecz/
Code:
dd if=/dev/block/mmcblk0p48 of=/sdcard/recovery.img
and result: https://drive.google.com/file/d/0B3-NJk0QRfxXaG5sWDc1NG5tbzg/view?usp=sharing
but I tried "fastboot boot recovery.img" and will not boot.
but I tried "fastboot boot recovery.img" and will not boot.
Click to expand...
Click to collapse
fastboot flash boot recovery.img ?
Sent from my HTC Desire 510 using XDA Free mobile app
lucyr03 said:
Code:
[email protected]_a11ul:/ # cat /proc/mtd
cat /proc/mtd
tmp-mksh: cat: /proc/mtd: No such file or directory
EDIT:
http://postimg.org/image/v40y6pecz/
Code:
dd if=/dev/block/mmcblk0p48 of=/sdcard/recovery.img
and result: https://drive.google.com/file/d/0B3-NJk0QRfxXaG5sWDc1NG5tbzg/view?usp=sharing
but I tried "fastboot boot recovery.img" and will not boot.
Click to expand...
Click to collapse
I tried it and worked perfect,thanks for help.
I will try to make twrp recovery soon
vwadam said:
I tried it and worked perfect,thanks for help.
I will try to make twrp recovery soon
Click to expand...
Click to collapse
I'm waiting for twrp
Sent from my HTC Desire 510 using XDA Free mobile app

Categories

Resources