Softbricked One Mini - HTC One Mini

so I've got a interesting situation. A friend managed to softbrick his Mini. I don't know how he got it in this state, but, it has TWRP installed, its copy of android does not boot, and it's S-ON. I played with RUUs for a few hours and couldn't get any of them to work. If I can get any working copy of android on it I can then get S-OFF and fix it. As far as I see there's two routes to fix this.
-Get S-OFF without using android
-Get a android ROM on there without S-OFF.
I pretty much have access to fastboot and twrp that can't flash Roms because of s on. Recoveries also have errors about mounting /system or /cache.
Any help in fixing this would be appreciated.
Sent from my HTC6525LVW using XDA Premium 4 mobile app

Adding abit more information, I tried using a RUU but get errors because of firmware version. When I get the rom.zip out of the RUU and try to use fastboot to flash it, on windows I get a error about header errors (error 32). On Linux I get errors about the file is too large.
Also, nomatter what recovery I can try, neither can mount either /system or /cache unless you format them, then after a reboot they cant be mounted again.

I had an issue where my os was completely wiped after a botched update attempt. Lol I went through every possible I could think of or find until I see something about using an external drive. So what I did was use fastboot to flash a recovery, which you already have which is good. And then from there I used an OTG cable, and connected my USB drive to it, which had a ROM zip on it and flashed it. It worked. I am bootloader unlocked but not s-off. But as long as you have a recovery you can do this. I actually wasn't even rooted.
Sent from my One Mini using XDA Premium 4 mobile app

dizzyman1180 said:
I had an issue where my os was completely wiped after a botched update attempt. Lol I went through every possible I could think of or find until I see something about using an external drive. So what I did was use fastboot to flash a recovery, which you already have which is good. And then from there I used an OTG cable, and connected my USB drive to it, which had a ROM zip on it and flashed it. It worked. I am bootloader unlocked but not s-off. But as long as you have a recovery you can do this. I actually wasn't even rooted.
Sent from my One Mini using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm still worried about the failing to mount /system and /cache errors. Did you have those as well?
Sent from my HTC6525LVW using XDA Premium 4 mobile app

polaric said:
I pretty much have access to fastboot and twrp that can't flash Roms because of s on.
Click to expand...
Click to collapse
You don't need S-OFF to flash roms. As long as you unlocked the bootloader you can fastboot-flash boot, system and recovery. And so you can flash ROMs when in recovery mode.
polaric said:
I'm still worried about the failing to mount /system and /cache errors. Did you have those as well?
Click to expand...
Click to collapse
What HBOOT version do you have?

morschesholz said:
You don't need S-OFF to flash roms. As long as you unlocked the bootloader you can fastboot-flash boot, system and recovery. And so you can flash ROMs when in recovery mode.
What HBOOT version do you have?
Click to expand...
Click to collapse
HBOOT is 2.22
Sent from my HTC6525LVW using XDA Premium 4 mobile app

Well, then it looks like the same issue as in the thread next to this one. So please go over there and perhaps you'll try my next steps written down there: http://forum.xda-developers.com/showthread.php?p=51737651

morschesholz said:
Well, then it looks like the same issue as in the thread next to this one. So please go over there and perhaps you'll try my next steps written down there: http://forum.xda-developers.com/showthread.php?p=51737651
Click to expand...
Click to collapse
I followed that and it got me a working recovery, but both twrp versions and the cwm version won't flash the cm zip, regardless if its modified, if I modify it myself or use a attached update-script. Both recoveries simply say "Failed to flash zip".
Sent from my HTC6525LVW using XDA Premium 4 mobile app

Then you should repeat the flashing and have a look at the recovery log right after it. At TWRP it's located at /tmp/recovery.log (don't know for CWM).
Either do a
Code:
adb shell cat /tmp/recovery.log
or pull it to your pc:
Code:
adb pull /tmp/recovery.log

morschesholz said:
Then you should repeat the flashing and have a look at the recovery log right after it. At TWRP it's located at /tmp/recovery.log (don't know for CWM).
Either do a
Code:
adb shell cat /tmp/recovery.log
or pull it to your pc:
Code:
adb pull /tmp/recovery.log
Click to expand...
Click to collapse
Already tried multiple times, of course. I looked at the log and didnt see anything of value though. I can post it if you like.
Sent from my HTC6525LVW using XDA Premium 4 mobile app

That's what I recommended in another post:
morschesholz said:
Meanwhile you could try flashing CM11. There is an edited updater-script and boot.img over here: http://forum.xda-developers.com/showthread.php?p=51613028
I used it with cm-11-20140403-NIGHTLY-m4 successfully. Maybe the edited script works with newer versions of the CM nightlies as well, but I didn't test that yet.
Click to expand...
Click to collapse

This is the 0403 CM11 nightly I modified to match the new partition layout: https://dl.dropboxusercontent.com/u/5035075/m4kk/cm-11-20140403-NIGHTLY-m4kk.zip
You should be able to flash it with the modified version of TWRP 2.7.0.5

Related

Help - can't get into recovery!

I was running SkyICS on my SR i727 without any problem. Yesterday while rebooting the phone the phone froze. I tried to get into recovery to reflash it. Can't get into recovery!
Then I flashed the stock GB through ODIN (did that 2-3 times) Success, rooted, installed 2-3 versions of CWM recovery through ODIN. ODIN everytime shows success and the phone reboots without any problem BUT I can't get into recovery by any means. Tried all button combo, adb reboot recovery, quickboot apk. Most of the time the phone hangs at the Samsung logo. If it hangs a battery pull and I can boot into GB.
I even tried to flash the stock recovery and booting into it. Same problem
I mainly need a custom ROM or CWM to flash RAT unlocked radio so that I can switch 2G/3G.
Please help guys!!
User error
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Illnevertell said:
User error
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
???????
Can I flash a Rogers stock GB ROM through ODIN?
I was able to push the Rogers radio modem using instruction in this thread and is working fine.
http://forum.xda-developers.com/showthread.php?t=1506212
But the problem with CWM is still there.
Helllppp plsssss!!
First off which SkyICS were you running?
Second when you flashed to stock GB which CWM did you flash through ODIN?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
specter07 said:
1. First off which SkyICS were you running?
2. Second when you flashed to stock GB which CWM did you flash through ODIN?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
1. SkyICS 4.2F
2. Followed this thread:
http://forum.xda-developers.com/showthread.php?t=1773659
Also, my battery percentage is always showing 100%. Not decreasing with use and suddenly when actually the charge becomes zero the phone switches off. Since, I can't get into recovery I can delete the battery stats.
Is there any other way?
mike_79 said:
Also, my battery percentage is always showing 100%. Not decreasing with use and suddenly when actually the charge becomes zero the phone switches off. Since, I can't get into recovery I can delete the battery stats.
Is there any other way?
Click to expand...
Click to collapse
Battery stat wipe won't help if you search that issue has been talked about
I promise your doing it wrong something somewhere your messing up
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
With all the problems sounds like you just have to start from scratch.
Goo into download mode and redo everything. Re flash a stock tar, once that's up and running then go to download mode again and flash CWM.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Illnevertell said:
Battery stat wipe won't help if you search that issue has been talked about
I promise your doing it wrong something somewhere your messing up
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Can you give me a pointer? It'll be very helpful.
specter07 said:
With all the problems sounds like you just have to start from scratch.
Goo into download mode and redo everything. Re flash a stock tar, once that's up and running then go to download mode again and flash CWM.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Already did that - several times. Seems that the recovery partition is corrupted .
mike_79 said:
Can you give me a pointer? It'll be very helpful.
Already did that - several times. Seems that the recovery partition is corrupted .
Click to expand...
Click to collapse
How many different recoveries have you tried pushing with Odin? When you use Odin do you get the PASS followed be the automatic reboot? And last but not least (sorry if I missed it) what method are you using to boot into recovery
Sent from my SGH-I727 using Tapatalk 2
Thru Terminal Emu
These steps are directly from the TWRP website i used them when i couldnt get into recovery and it fixed it Good Luck
http://techerrata.com/file/twrp2/skyrocket/openrecovery-twrp-2.2.2.0-skyrocket.img
Download the above file. Using adb shell or terminal emulator:
su
dd if=/sdcard/openrecovery-twrp-2.2.0-skyrocket.img of=/dev/block/mmcblk0p22
Make certain that you get this command right. Typing the wrong number could result in a brick!
Source: http://teamw.in/project/twrp2/94
cdshepherd said:
How many different recoveries have you tried pushing with Odin? When you use Odin do you get the PASS followed be the automatic reboot? And last but not least (sorry if I missed it) what method are you using to boot into recovery
Sent from my SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
I've tried 3-4 different CWM.
Yes I always get the PASS screen followed by reboot.
I've tried different methos - 3 button combo, reboot recovery command under adb shell and quickboot apk (http://forum.xda-developers.com/showthread.php?t=1423071). Same problem everytime. The phone shows a black screen after the samsung logo and nothing responds. Battery pool and I can boot into GB.
crashpsycho said:
These steps are directly from the TWRP website i used them when i couldnt get into recovery and it fixed it Good Luck
http://techerrata.com/file/twrp2/skyrocket/openrecovery-twrp-2.2.2.0-skyrocket.img
Download the above file. Using adb shell or terminal emulator:
su
dd if=/sdcard/openrecovery-twrp-2.2.0-skyrocket.img of=/dev/block/mmcblk0p22
Make certain that you get this command right. Typing the wrong number could result in a brick!
Source: http://teamw.in/project/twrp2/94
Click to expand...
Click to collapse
Just tried that too. Same result as above.
BTW the command should be
dd if=/sdcard/openrecovery-twrp-2.2.2.0-skyrocket.img of=/dev/block/mmcblk0p22
Click to expand...
Click to collapse
I don't have much knowledge about linux but I just tried running e2fsck on the recovery partition. I got the following output:
# e2fsck /dev/block/mmcblk0p22
e2fsck /dev/block/mmcblk0p22
e2fsck 1.41.11 (14-Mar-2010)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab
file while determining whether /dev/block/mmcblk0p22 is mounted.
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/block/mmcblk0p
22
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Click to expand...
Click to collapse
Can you try starting with the leaked Odin download for ICS ucle2 if I'm correct from there wait for a first full boot do not try to root right away. After try to restart the phone and hold up&down volume rocker with power and see if you get into that recovery first. If you cant even get into that recovery u really messed some issh up.
If you are able to get into that recovery wipe everything then reboot let the phone develope what it needs. then try to flash 1 of these 2 recoveries and see what happens.here are some links incase u done have these there to my dropbox.
https://www.dropbox.com/s/g3dyxr0qhrazivz/recovery.tar.md5
orignal cwm recovery
roboto recovery cwm
https://www.dropbox.com/s/emsskncs7eb9gu0/recovery.tar.md5
odin 4.0.4 leaked
https://www.dropbox.com/s/mpm2h0nqo7dl6h9/I727UCLE2_OneClick-4.0.4.exe
i know it seems like ive done these steps but sometime the simple isssh fixes it. "but if you cant get into stock recovery and it truly is corrupt your looking into a paper weight"
Sent from my SAMSUNG-SGH-I727 using xda premium
crashpsycho said:
Can you try starting with the leaked Odin download for ICS ucle2 if I'm correct from there wait for a first full boot do not try to root right away. After try to restart the phone and hold up&down volume rocker with power and see if you get into that recovery first. If you cant even get into that recovery u really messed some issh up.
If you are able to get into that recovery wipe everything then reboot let the phone develope what it needs. then try to flash 1 of these 2 recoveries and see what happens.here are some links incase u done have these there to my dropbox.
https://www.dropbox.com/s/g3dyxr0qhrazivz/recovery.tar.md5
orignal cwm recovery
roboto recovery cwm
https://www.dropbox.com/s/emsskncs7eb9gu0/recovery.tar.md5
odin 4.0.4 leaked
https://www.dropbox.com/s/mpm2h0nqo7dl6h9/I727UCLE2_OneClick-4.0.4.exe
i know it seems like ive done these steps but sometime the simple isssh fixes it. "but if you cant get into stock recovery and it truly is corrupt your looking into a paper weight"
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
But isn't the ICS 4.0.4 associated with hard bricks with some devices? My phone is usable now. It is running GB. Only problem is battery indicator which is always 100%.
Follow this thread to completely return to stock. I had the exact same problem with SKYIcs.
http://forum.xda-developers.com/showthread.php?t=1749021
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
iceman012284 said:
Follow this thread to completely return to stock. I had the exact same problem with SKYIcs.
http://forum.xda-developers.com/showthread.php?t=1749021
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
have you tried installing goo manager and flashing recovery through the app itself, ive heard that works...
also have you tried adb commands to reboot into recovery?
iceman012284 said:
Follow this thread to completely return to stock. I had the exact same problem with SKYIcs.
http://forum.xda-developers.com/showthread.php?t=1749021
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Tried - didn't not work. Blank screen after reboot and the samsung logo.
droid512 said:
have you tried installing goo manager and flashing recovery through the app itself, ive heard that works...
also have you tried adb commands to reboot into recovery?
Click to expand...
Click to collapse
You mean ROM manager? No I haven't.
Tried the adb command without any result.

Twrp FAILED

Anybody knows how to fix the FAILED message I get anytime to try to wipe or flash in TWRP?
Sent from my Nexus 4 using xda premium
persheshhater said:
Anybody knows how to fix the FAILED message I get anytime to try to wipe or flash in TWRP?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Uncheck md5 checking in Twrp.
Sent from my HTC One XL
That didnt help. It always fails when it is about to update partition details...
Sent from my Nexus 4 using xda premium
ECEXCURSION said:
Uncheck md5 checking in Twrp.
Sent from my HTC One XL
Click to expand...
Click to collapse
That doesn't work I tried that before.
Idk, that was my idea.
So it fails even when you try to wipe, that's interesting (also means my assumption was wrong).
Sent from my HTC One XL
persheshhater said:
Anybody knows how to fix the FAILED message I get anytime to try to wipe or flash in TWRP?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
If u gave more info like twrp version hboot version stuff like that people could probly help u out better mabie u flashed a bad recovery?
Mabie u could try using a toolkit to reflash twrp from your pc? Or ruu to stock and star over?
Work for this guy.
http://forum.xda-developers.com/showthread.php?t=2089438&page=2
I am having the same issue
hboot1.14.0002
radio 0.19as.32.09.11_2
I am unlocked/tampered but S-on.
I thought I made a back up of CleanRom5 when I first put it on the phone, but alas I find that I didnt.
So I am between roms with s-on. Is there a way to achieve S-off with. I can still get into bootloader, and recovery.
hiperglyde said:
I am having the same issue
hboot1.14.0002
radio 0.19as.32.09.11_2
I am unlocked/tampered but S-on.
I thought I made a back up of CleanRom5 when I first put it on the phone, but alas I find that I didnt.
So I am between roms with s-on. Is there a way to achieve S-off with. I can still get into bootloader, and recovery.
Click to expand...
Click to collapse
boot to bootloader fastboot flash a 2.3 version of twrp i use 2.3.3.0 boot to recovery mount usb transfer rom to phone flash rom be sure to fastboot flash boot.img reboot
This seems to be a bug with 2.4.x.x versions of TWRP. If you downgrade to an old version, it should be OK, from what I've read.
jerrycoffman45 said:
boot to bootloader fastboot flash a 2.3 version of twrp i use 2.3.3.0 boot to recovery mount usb transfer rom to phone flash rom be sure to fastboot flash boot.img reboot
Click to expand...
Click to collapse
edit .. found it
for others that might need it
http://techerrata.com/browse/twrp2/evita
http://techerrata.com/browse/twrp2/evita
I installed 2.3.3.0 and the factory reset still failed..?
errors given were E:unable to mount '/sdcard'
did you factory reset from bootloader if so you have corrupted your sd card there is a fix let me find it
I did this and this is what Xsmagical and I did to fix it.
Take the stock android recovery from a ruu or stock Rom. (I used the one from 1.85 ruu but it doesn't matter.)
Fastboot flash the stock recovery to your phone and then reboot into bootloader where you originally wiped.
Factory reset from hboot and then Fastboot flash twrp again, mount sd should be available now. Mount sd, copy whatever Rom onto sd card and flash from there.
Freaked me out too man
this is not my post copy and paste
Thanks brother anyone else this may help
http://www.youtube.com/watch?v=H-vf5eHV3_s
I just about crapped a brick literally

[Q] Flashing issues...

Ok, I've looked through the help sections, I've Googled my issue [a few times now], so now time to ask for help. [which may or may not be well recieved.]
I was running Viper 3.2.6 fine for about a month, I loved the rom, however I started getting repeated FCs and errors, so I decided to recover my nandroid backup. That didn't work very well, and my phone started to bootloop... I then decided to re-flash viper, re-install twrp [first 2.4.4.0, then when that version wouldn't work, 2.4.1.0] Now when flashing Viper [any JB version I've tried] all my phone does is hang on the HTC startup screen, then reboot back to TWRP. Not to mention that Viper is the only sense ROM that my phone will accept. I've tried fastboot flashing the boot.img, fastboot erasing cache, and running the Nocturnal SD fix to give myself a clean slate to work with.
I'm S-on and HBoot 2.14. Any help that can be provided would be appreciated.
I would post a logcat, but when I tried it would not output anything since the phone is not getting to the rom boot animation.
Try flashing the boot image separately. Or going s-off. I have had troubles with twrp higher than 2.4 before I went s-off.
I always stayed on 2.3
Sent from my HTC One X using xda premium
---------- Post added at 04:53 PM ---------- Previous post was at 04:49 PM ----------
May sound silly but are you typing the word "boot" in twice when flashing?
Sent from my HTC One X using xda premium
Venomtester said:
Try flashing the boot image separately. Or going s-off. I have had troubles with twrp higher than 2.4 before I went s-off.
I always stayed on 2.3
Sent from my HTC One X using xda premium
---------- Post added at 04:53 PM ---------- Previous post was at 04:49 PM ----------
May sound silly but are you typing the word "boot" in twice when flashing?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
As far as flashing the boot image, I type fastboot flash boot boot.img.
And with the S-Off situation, I looked into that, but most of the tools for that seemingly require a working ROM, as usually they require you to have "usb debugging enabled" Like I stated previously, I've tried to solve the issue myself, to no avail thus far.
Also being hboot 2.14 twrp 2.3.x seems to not have touchscreen.
So you have no working Rom? Or can you flash viper again?
Sent from my HTC One X using xda premium
Magickalhack said:
As far as flashing the boot image, I type fastboot flash boot boot.img.
And with the S-Off situation, I looked into that, but most of the tools for that seemingly require a working ROM, as usually they require you to have "usb debugging enabled" Like I stated previously, I've tried to solve the issue myself, to no avail thus far.
Also being hboot 2.14 twrp 2.3.x seems to not have touchscreen.
Click to expand...
Click to collapse
Pretty sure you can s-off purely from boot loader.
2.3.x has working touchscreen for 2.14 and would solve all your issues. You'd have to wipe everything and reflash viper though
Sent from my One X using xda app-developers app
Also check fastboot device too make sure adb is reading your phone.
Sent from my HTC One X using xda premium
exad said:
Pretty sure you can s-off purely from boot loader.
2.3.x has working touchscreen for 2.14 and would solve all your issues. You'd have to wipe everything and reflash viper though
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
Just tried 2.3.1 and no, the touchscreen didn't work, I was looking for a d/l for 2.3.3.x but haven't been able to find one. all of the ones I have found have been removed, or changed to 2.4.4.0
I would be quite greatful if you could point me in the direction of a 2.3.3.x twrp that works.
With S-Off, all the guides I've found by searching XDA [and google, which usually points me back to XDA] state that I need to start with USB debugging enabled, I even tried to start the process in fastboot... still no-go.
So you have no working Rom? Or can you flash viper again?
Click to expand...
Click to collapse
None, Every time I try venom it looks like it flashes just fine, says it's successful, however I just end up looking at twrp again.
Venomtester said:
Also check fastboot device too make sure adb is reading your phone.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
When I did fastboot devices I got:
HT26PW300712 fastboot
Click to expand...
Click to collapse
https://dl.dropbox.com/u/19685555/openrecovery-twrp-2.3.3.1-evita.img
MD5: D903047E6E871ACB8F99834C30EB8307
As for the USB debugging. It's just so you can use ADB to boot to fastboot. You can go into bootloader and go to fastboot and then skip step 3. -_-
http://forum.xda-developers.com/showthread.php?t=2155071
Just trust me, Install TWRP 2.3.3.1, reflash viper (wipe everything first, cache, dalvik, system, factory reset) and your fine, or S-OFF and then do it or vice versa, whatever you want.
---------- Post added at 06:17 PM ---------- Previous post was at 06:02 PM ----------
I forgot to add, and I am so sorry, to do fastboot erase cache after flashing twrp 2.3.3.1, just in case.
exad said:
https://dl.dropbox.com/u/19685555/openrecovery-twrp-2.3.3.1-evita.img
MD5: D903047E6E871ACB8F99834C30EB8307
As for the USB debugging. It's just so you can use ADB to boot to fastboot. You can go into bootloader and go to fastboot and then skip step 3. -_-
http://forum.xda-developers.com/showthread.php?t=2155071
Just trust me, Install TWRP 2.3.3.1, reflash viper (wipe everything first, cache, dalvik, system, factory reset) and your fine, or S-OFF and then do it or vice versa, whatever you want.
---------- Post added at 06:17 PM ---------- Previous post was at 06:02 PM ----------
I forgot to add, and I am so sorry, to do fastboot erase cache after flashing twrp 2.3.3.1, just in case.
Click to expand...
Click to collapse
For s-off, if you don't use supercid, it doesn't seem to work, I did not use super cid, since I didn't need to to unlock my bootloader. I tried that method already.
Though, 2.3.3.1 is working; but viper XL 3.2.6 is still fighting with me... Now it's just hanging at the HTC boot screen with the annoying red script.
Magickalhack said:
For s-off, if you don't use supercid, it doesn't seem to work, I did not use super cid, since I didn't need to to unlock my bootloader. I tried that method already.
Though, 2.3.3.1 is working; but viper XL 3.2.6 is still fighting with me... Now it's just hanging at the HTC boot screen with the annoying red script.
Click to expand...
Click to collapse
Did you fastboot erase cache then wipe everything and reinstall viper after installing twrp 2.3.3.1? If so:
http://forum.xda-developers.com/showthread.php?t=2212737
Do this. Then soff then ruu with your bootloader kept unlocked then reinstall twrp 2.3.3.1 then flash viper
Sent from my One X using xda app-developers app
exad said:
Did you fastboot erase cache then wipe everything and reinstall viper after installing twrp 2.3.3.1? If so:
http://forum.xda-developers.com/showthread.php?t=2212737
Do this. Then soff then ruu with your bootloader kept unlocked then reinstall twrp 2.3.3.1 then flash viper
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
Followed your instructions to the letter[I actually wiped everything twice before installing Viper.], same result, still hanging at the white HTC screen. I'm going to keep trying though. Thank you for the help thus far.
Magickalhack said:
Followed your instructions to the letter[I actually wiped everything twice before installing Viper.], same result, still hanging at the white HTC screen. I'm going to keep trying though. Thank you for the help thus far.
Click to expand...
Click to collapse
I've seen this before. You will have to s-off and ruu so follow my last post.
Sent from my One X using xda app-developers app
exad said:
I've seen this before. You will have to s-off and ruu so follow my last post.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
The only issue, is that it requires adb; since I cannot get a rom to load; when I adb, it just outputs device not found. I was able to find the file to hex edit using twrp file manager, and edited the right part, but it won't let me over-write the original file... any suggestions?
Magickalhack said:
The only issue, is that it requires adb; since I cannot get a rom to load; when I adb, it just outputs device not found. I was able to find the file to hex edit using twrp file manager, and edited the right part, but it won't let me over-write the original file... any suggestions?
Click to expand...
Click to collapse
You should be able to adb from recovery no?
Sent from my One X using xda app-developers app
exad said:
You should be able to adb from recovery no?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
I can adb sideload; but when I try to run the commands it just keeps saying "error: closed" I'll try again though.
Magickalhack said:
I can adb sideload; but when I try to run the commands it just keeps saying "error: closed" I'll try again though.
Click to expand...
Click to collapse
Sorry I hadnt had to do this till now. OK here's what you need to do. In recovery advanced. Go to terminal command select root dir "/". And then do the "dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4" on your phone. This will pull the file. Mount your SD card in twrp and hex edit the mmcblk0p4 file on your sdcard like in my guide then save it in the same spot, make sure file size matches then go back to terminal command and select the root "/" directory again and type
"dd if=/sdcard/mmcblk0p4 of=/dev/block/mmcblk0p4" from your phone. This will push the edited file back.
This is a bit more advanced but will work since you cannot adb. Adb just allows you to use the phones terminal remotely. Instead were actually using it on the phone.
Sent from my One X using xda app-developers app
exad said:
Sorry I hadnt had to do this till now. OK here's what you need to do. In recovery advanced. Go to terminal command select root dir "/". And then do the "dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4" on your phone. This will pull the file. Mount your SD card in twrp and hex edit the mmcblk0p4 file on your sdcard like in my guide then save it in the same spot, make sure file size matches then go back to terminal command and select the root "/" directory again and type
"dd if=/sdcard/mmcblk0p4 of=/dev/block/mmcblk0p4" from your phone. This will push the edited file back.
This is a bit more advanced but will work since you cannot adb. Adb just allows you to use the phones terminal remotely. Instead were actually using it on the phone.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
actually, I had considered something similar, I just didn't know what directory I would have needed. I'll try this out and let you know.
Magickalhack said:
actually, I had considered something similar, I just didn't know what directory I would have needed. I'll try this out and let you know.
Click to expand...
Click to collapse
I tested it before telling you so it will work. then you can s-off.
Sent from my One X using xda app-developers app
exad said:
I tested it before telling you so it will work. then you can s-off.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
It's not liking the: adb shell su -c "/data/local/tmp/soffbin3" command. It's outputting: /sbin/sh: su: not found
I flashed SuperSU and I'm getting the same error.
Magickalhack said:
It's not liking the: adb shell su -c "/data/local/tmp/soffbin3" command. It's outputting: /sbin/sh: su: not found
I flashed SuperSU and I'm getting the same error.
Click to expand...
Click to collapse
Sorry man, I fell asleep. You still stuck at this part?
Sent from my One X using xda app-developers app

[Q] HTC One X (AT&T) Won't Turn on

Hi,
I am new to rooting the device. I rooted HTC One X (AT&T) using toolkit by Hasoon2000. I followed all the steps as per my knowledge. Everything went good rooting the device, But when I tried to flash CM 10.1 it was giving me failure error. When I did second time it gave me same error but somehow I thought ROM got flashed and went ahead and flashed kernel. While doing so my cell phone battery was till 50% but once I flashed kernel. Suddenly screen went blank and couldn't turn it on. When try to go into fastboot mode it lights up red led and once and stays there until I hit the power button. After hitting power button it shows the HTC logo and displays the message below logo about device being used for development. then within a second screen gets turned off (no red LED) I tried to keep for charging for at least an hour or so with computer as well as on AC power but results are same. Neither I am able to connect it to computer or charge it. I don;t know what is going on with my device. So please can someone help me with this issue? I would really appreciate if this issue been resolved.
Thanks in Advance.
nishantbalwan said:
Hi,
I am new to rooting the device. I rooted HTC One X (AT&T) using toolkit by Hasoon2000. I followed all the steps as per my knowledge. Everything went good rooting the device, But when I tried to flash CM 10.1 it was giving me failure error. When I did second time it gave me same error but somehow I thought ROM got flashed and went ahead and flashed kernel. While doing so my cell phone battery was till 50% but once I flashed kernel. Suddenly screen went blank and couldn't turn it on. When try to go into fastboot mode it lights up red led and once and stays there until I hit the power button. After hitting power button it shows the HTC logo and displays the message below logo about device being used for development. then within a second screen gets turned off (no red LED) I tried to keep for charging for at least an hour or so with computer as well as on AC power but results are same. Neither I am able to connect it to computer or charge it. I don;t know what is going on with my device. So please can someone help me with this issue? I would really appreciate if this issue been resolved.
Thanks in Advance.
Click to expand...
Click to collapse
Please provide:
Hboot version
S-ON or S-OFF
exad said:
Please provide:
Hboot version
S-ON or S-OFF
Click to expand...
Click to collapse
I don't remember Hboot version. Is there any way I can I find that out as my phone is dead. But S-ON was there all the time even after unlocking bootloader.
Thanks.
nishantbalwan said:
I don't remember Hboot version. Is there any way I can I find that out as my phone is dead. But S-ON was there all the time even after unlocking bootloader.
Thanks.
Click to expand...
Click to collapse
While it's off, press and hold volume down and power until the Hboot comes up.
exad said:
While it's off, press and hold volume down and power until the Hboot comes up.
Click to expand...
Click to collapse
Phone is now showing me HBOOT screen, HBOOT is 2.14.000. Now In order to install CM 10.1 what do I need to do as it was failing. Also will my device go off again?
Thanks a ton
nishantbalwan said:
Phone is now showing me HBOOT screen, HBOOT is 2.14.000. Now In order to install CM 10.1 what do I need to do as it was failing. Also will my device go off again?
Thanks a ton
Click to expand...
Click to collapse
Flash TWRP 2.6 if you're not using that version already.
fastboot flash recovery twrpfilename.img
Download cm 10.1 Check md5 to make sure download was good. Also, make sure you're downloading the one for our device. Link will be in original android dev section.
wipe everything (except sd card) in twrp 2.6
then flash cm 10.1
If you get an error, tell me what the error is.
exad said:
Flash TWRP 2.6 if you're not using that version already.
fastboot flash recovery twrpfilename.img
Download cm 10.1 Check md5 to make sure download was good. Also, make sure you're downloading the one for our device. Link will be in original android dev section.
wipe everything (except sd card) in twrp 2.6
then flash cm 10.1
If you get an error, tell me what the error is.
Click to expand...
Click to collapse
Thanks you very much exad. Is it important to have S-OFF? Can I install android 4.3 ROM on HTC One X. Have you tried that? How can I check md5 to make sure CM is good?
S-off allows you to ruu without bricking.
Yes. I am running android 4.3 cm 10.2 right now. There have been bricks reported though that issue should be fixed now.
Use an md5 checker program. Google md5 checker.
Sent from my One X using xda app-developers app
exad said:
S-off allows you to ruu without bricking.
Yes. I am running android 4.3 cm 10.2 right now. There have been bricks reported though that issue should be fixed now.
Use an md5 checker program. Google md5 checker.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
I have flashed openrecovery-twrp-2.6.0.1-m7.img but when I want to go to recovery it is still sticking on that HTC logo screen, giving message in red and getting it off. I don't know what I can do to go in recovery and do the needful.
Could you also provide me link to instruction to install CM 10..2 with that as well?
Thanks
nishantbalwan said:
I have flashed openrecovery-twrp-2.6.0.1-m7.img but when I want to go to recovery it is still sticking on that HTC logo screen, giving message in red and getting it off. I don't know what I can do to go in recovery and do the needful.
Could you also provide me link to instruction to install CM 10..2 with that as well?
Thanks
Click to expand...
Click to collapse
M7 is the new HTC one device you flashed the wrong recovery. You need to flash twrp 2.6 for the evita.
Sent from my HTC One XL using xda premium
31ken31 said:
M7 is the new HTC one device you flashed the wrong recovery. You need to flash twrp 2.6 for the evita.
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
How can I copy CM 10.1 and gapps on sd card? I am not having access to copy those file on sdcard. Is there any way I can flash ROM without copying files into sdcard?
I have installed but still I am not able to start phone. Could you please help me with that?
Thanks
nishantbalwan said:
How can I copy CM 10.1 and gapps on sd card? I am not having access to copy those file on sdcard. Is there any way I can flash ROM without copying files into sdcard?
I have installed but still I am not able to start phone. Could you please help me with that?
Thanks
Click to expand...
Click to collapse
If you are able to boot into recovery, then you should be able to use the command <code> adb push <code>to copy any file from your current directory in computer to the sdcard
Sent from my Nexus 7 using xda app-developers app
kewlguru said:
If you are able to boot into recovery, then you should be able to use the command <code> adb push <code>to copy any file from your current directory in computer to the sdcard
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Adb won't work, he doesn't have a ROM to boot into.
nishantbalwan said:
How can I copy CM 10.1 and gapps on sd card? I am not having access to copy those file on sdcard. Is there any way I can flash ROM without copying files into sdcard?
I have installed but still I am not able to start phone. Could you please help me with that?
Thanks
Click to expand...
Click to collapse
Have you flashed the correct recovery for our device (Evita) yet?
Sent from my Evita
kewlguru said:
If you are able to boot into recovery, then you should be able to use the command <code> adb push <code>to copy any file from your current directory in computer to the sdcard
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Even after installing TWRP 2.6 I am not able to flash the ROM. It is saying:
No MD5 file found.
assert failed: getprop("ro.product.device")=="endeavoru" || getprop("r
E:Error executing updater binary inn zip ,/sdcard/ROMs/cm-10.1.0-RC5-ende
updating partition details...
Wrong ROM. You have evita not endeavour.
Look before you download and flash wrong recovery and ROM because you are on track to brick your device. You have burnt 2 of your lives already.
You have no idea how lucky you are as your device should already be broken.
timmaaa said:
Adb won't work, he doesn't have a ROM to boot into.
Have you flashed the correct recovery for our device (Evita) yet?
Sent from my Evita
Click to expand...
Click to collapse
It did work. I was successful to copy files from computer to sdcards using adb.
twistedddx said:
Wrong ROM. You have evita not endeavour.
Look before you download and flash wrong recovery and ROM because you are on track to brick your device. You have burnt 2 of your lives already.
You have no idea how lucky you are as your device should already be broken.
Click to expand...
Click to collapse
I think I have installed CM 10.1.2 for evita but now it is not rebooting into ROM. I am not able to reboot automatically. I have press and hold power and volume down key to go into fastboot. I am not getting what I am doing wrong now.
nishantbalwan said:
It did work. I was successful to copy files from computer to sdcards using adb.
Click to expand...
Click to collapse
Ok. But listen to what Twisteddx said just before, take your time and make sure you're only flashing things meant for your device. He was right, you're EXTREMELY lucky you haven't bricked your phone yet. Only download ROMs from within this forum!
Sent from my Evita
If you are s-on you need to extract the boot.img from the rom you're flashing and fastboot flash boot boot.img or it won't boot. With S-off this step is no longer required.
Sent from my One X using xda app-developers app
exad said:
If you are s-on you need to extract the boot.img from the rom you're flashing and fastboot flash boot boot.img or it won't boot. With S-off this step is no longer required.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
How can I extact boot.img file? can I use fastboot commands?

[Recovery][Unofficial]TWRP 2.7.0.0 & Clockwork Recovery Touch 6.0.4.4 W/loki (D800)

[Recovery][Unofficial]TWRP 2.7.0.0 & Clockwork Recovery Touch 6.0.4.4 W/loki (D800)
Clockwork recovery touch with Loki for AT&T LG G2 (D800) Only.
TWRP recovery touch with Loki for AT&T LG G2 (D800) Only.
The only difference between official recoveries and this version is that Loki is built in to recovery.
THIS IS ONLY FOR 10d FIRMWARE. IF YOU ARE ON 10o THEN DO NOT USE!!!
You may want to flash 10d firmware. It can be found HERE with instructions. If you plan on using ROMs it is best to flash 10d firmware first.
Install Methods
Flashable Zip - Must have TWRP or whatever custom recovery already installed.
Boot into recovery and flash Recovery Zip file.
Manual Method - With no custom recovery already installed.
Must have Root first. Check HERE for root
Download the zip file to which recovery you want
Extract zip file to C:\
Open command prompt in root of C drive
You will need adb installed and properly setup in your environment variables. If not place the recovery.img wherever your adb file is located.
Type the following commands:
Code:
adb push recovery.img /data/local/tmp/recovery.img
adb shell
su
cd /data/local/tmp
dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
exit
adb reboot recovery
Now you should be in recovery.
Downloads
TWRP 2.7.0.0 with Loki
File Name openrecovery-twrp-2.7.0.0-d800-loki.zip
MD5 f640c221e4a6c575b375094f765d63ba
Clockwork Recovery Touch 6.0.4.4 with Loki
File Name recovery-clockwork-touch-6.0.4.4-d800-loki.zip
MD5 d50fbe2e026463e5df698f0b8b0a4d91
Download HERE
Mirror - Goo.im
Enjoy!
Web Presence:
Twitter
Google+
Credits
TWRP team for great recovery
Koush for original clockwork recovery
djrbliss for Loki
manojsuper said:
Does everything worked.
Sent from my LG-D800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Everything I have tested so far.
Can I flash using flashify?
Sent from my LG-D802 using XDA Premium 4 mobile app
holeshot77 said:
Can I flash using flashify?
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I have not tested that way but I am sure you can. If you just need the img file than extract from zip file.
If you try then let us know how it worked out
Using flashify works like a charm. Just extract img file and flash using flashify. As a third alternative.
Sent from my LG-D802 using XDA Premium 4 mobile app
I haven't used cwm since the days of the vibrant but ,my question is does this recovery speed up flashing a rom? It takes me less then a minute to flash a rom on the nexus 4 so I was just curious. Thanks.
Sent from my Nexus 7 2013 using XDA Premium 4 mobile app
ManOnTheMoon said:
I haven't used cwm since the days of the vibrant but ,my question is does this recovery speed up flashing a rom? It takes me less then a minute to flash a rom on the nexus 4 so I was just curious. Thanks.
Sent from my Nexus 7 2013 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you been flashing OEM modified ROMs on G2 the speed may have been due to the size of the ROMs.
AndroidUser00110001 said:
If you been flashing OEM modified ROMs on G2 the speed may have been due to the size of the ROMs.
Click to expand...
Click to collapse
Sorry I meant to include CM/AOSP based roms. The days of flashing 250mb+ roms are over :good:
I also havent used CWM in a long time now, are there any real differences between this and TWRP besides layout? Any special features unique to CWM?
EniGmA1987 said:
I also havent used CWM in a long time now, are there any real differences between this and TWRP besides layout? Any special features unique to CWM?
Click to expand...
Click to collapse
They all do the same so people will use what they prefer...
Will I lose my twrp backups if I flash this clockwork recovery?
If not, then would I be able to restore twrp backups with cwm? May be a silly question but I never tried this and worried about losing backups.
You will not lose them until you delete them but I am not sure if you can restore twrp backups with clockwork.
SysAdmNj said:
Will I lose my twrp backups if I flash this clockwork recovery?
If not, then would I be able to restore twrp backups with cwm? May be a silly question but I never tried this and worried about losing backups.
Click to expand...
Click to collapse
Sent from my LG-D800 using XDA Premium 4 mobile app
Thanks for this! Always good to see people doing stuff on this phone : )
Flashing was a breeze. Thanks.
Does this mount usb-otg? When I try "Mount USB Storage" nothing happens. I am pretty sure TWRP also does not yet support usb-otg. My hopes were CWM did.
Thanks
Adb side load is an alternative for Mount usb. Install Zip --> Install from adb sideload. Unfortunately this didn't work for me either. If it works for any of you guys please let me know the steps you followed. Sideload doesn't work in TWRP also.
In case of a soft brick either Mount usb or adb side load should help. Otherwise you have to go back to stock using Lg tools and start all over again.
varunkumars said:
Adb side load is an alternative for Mount usb. Install Zip --> Install from adb sideload. Unfortunately this didn't work for me either. If it works for any of you guys please let me know the steps you followed. Sideload doesn't work in TWRP also.
In case of a soft brick either Mount usb or adb side load should help. Otherwise you have to go back to stock using Lg tools and start all over again.
Click to expand...
Click to collapse
Thanks for the reply. I will be a happy camper when we get real usb-otg support from both recoveries
Format Cache is not working
Hey guys,
I flashed this and seem to have a problem with formatting the cache- it just stops so I cannot wipe becuase it stops at formatting cache. Anybody else experienced this before? I flashed again with same results.
thanks,
AC
aaronc_98 said:
Hey guys,
I flashed this and seem to have a problem with formatting the cache- it just stops so I cannot wipe becuase it stops at formatting cache. Anybody else experienced this before? I flashed again with same results.
thanks,
AC
Click to expand...
Click to collapse
Just let it finish, it takes a long time. I thought the same and then it finished up.
Worked like a charm. Thanks!
Sent from my LG-D800 using Tapatalk
Is wiping always going to take this long?
Sent from my LG-D800 using Tapatalk

Categories

Resources