[Q] I messed up bad. Wiped SD. - AT&T HTC One (M7)

I got an HTC One today, and wanted to install MIUI, as it is very similar to iOS and I've been using an iPhone since the 3G came out. I've jailbroken most of my devices so I figured rooting it would be a fairly similar experience. I was wrong. It was complicated, but nothing I couldn't handle. I get to the point where I flashed MIUI through TWRP and then flashed my boot.img through terminal. Tried to boot and got stuck at the animation logo for 15 minutes. Started troubleshooting trying to figure it out. Tried reinstalling, etc. One time I went to advance wipe and chose cache, dalvik cache, and internal storage on accident and wiped it. Immediately realizing what I had done, I knew I ****ed up. Followed some instructions to do a ADB Sideload and it worked, flashed my boot.img again and now I'm still stuck in that loop.
I don't know what to do at this point. I'm downloading the stock RUU so I can maybe just relock the bootloader and try again. Please explain any procedures to me like I'm 5. I'm very new to Android, and compared to the one click jailbreaking available to the iPhone, this is a little messy.
Appreciate the help in advance.

Make sure you have the right version of MIUI. ADB push the zip in recovery and flash it. Don't flash boot.img.

What commands do I type in to cmd after i cd \Android into the folder with that stuff? I'm unsure of how to push the zip installation onto the phone in recovery mode.

Adb sideload sideload.zip
Sent from my HTC One using Tapatalk 4 Beta

Nick281051 said:
Adb sideload sideload.zip
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
No luck sideloading the zip file either. I know it's the right file...

Did you rename the file sideload.zip?
Sent from my HTC One using Tapatalk 4 Beta

Yup. Tried it as MIUI.zip, then sideload.zip

Don't really know where to go from here. I cannot get out of the boot loop no matter what I try. I've flashed the boot.img through terminal, I've flashed it through Hasoon's AIOK and I still get stuck there.
I'm lost.

CKRT said:
Don't really know where to go from here. I cannot get out of the boot loop no matter what I try. I've flashed the boot.img through terminal, I've flashed it through Hasoon's AIOK and I still get stuck there.
I'm lost.
Click to expand...
Click to collapse
I think you're fine with just choosing the zip file. You don't need to flash the boot.img. I've never had to flash a boot.img, just the zip file.
Do a factory reset, the Rom zip, and then flash. Only do those steps and see what happens.
Sent from my HTC One using xda premium

ngIfy which
I went ahead and used fastboot oem lock and executed the stock RUU. I'm up and running again with the stock stuff.
I really want to get MIUI up and running. Can anyone tell me what I need to do assuming I'm coming from a stock phone?
I know I need to:
Unlock bootloader again (with a terminal command or do I do the htcdev thing again?)
Flash a new recovery
Transfer the ROM
Flash the ROM
Restart to bootloader
Flash boot.img
Restart and hopefully have a working boot this time
Do I need to be doing anything with S-Off? I know the HTC Dev unlock only partially S-Off's..is that causing my problem?
Edit: using htcdev to unlock my bootloader isn't working. I get this message:
Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won't work.
Is this because I already unlocked the bootloader before? If so how do I unlock the bootloader after relocking it?
Edit 2: I am dumb. I just reused my unlock_code.bin.
About to try to reflash. Wish me luck!

You don't have to flash a boot.img
Sent from my HTC One using xda app-developers app

dcemtp1 said:
You don't have to flash a boot.img
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Everything says it was done successfully, but I'm still hanging on the boot logo for MIUI. Didn't flash a boot.img.
EDIT:
IT WORKS! I cleared my cache/data/davlik by using the regular wipe and it worked!

Related

[Q] Stuck in HTC boot loop after a rom install

i was able to successfully unlock bootloader, was able to flash a rom successfully, used that rom for a good couple days. then i decided to try a new rom InfectedROM Eternity™ | RLS_1.5 | NIGHTLYS | 3.0 & 3.5 | XE BEATS |(http://forum.xda-developers.com/showthread.php?t=1277431&highlight=stock+radio), so i went into recovery, wipe cache, dalvik, factory reset, system. then i flashed the new rom, new rom loaded but stuck in that roms boot screen.
i went back to recovery wiped everything out again, installed the 1st orig rom i installed, now it just loads to the htc boot screen, & every 30sec or so the htc boot screen would go off & come back on. i went to recovery wiped everything again, did nandroid restore, same results, any suggestions?
what im using:
unlocked bootloader
s -on
hboot 1.50
using teamwin recovery v2.0
Just wipe flash a new rom. Should be good to go
reaper24 said:
Just wipe flash a new rom. Should be good to go
Click to expand...
Click to collapse
already tried no luck
flyimages said:
already tried no luck
Click to expand...
Click to collapse
Did you apply any tweaks or different kernels? was your kernal that you are on now compatible with the rom that you had put on? The recovery your on, r you on 2.0 or the second releaese of 2.0?
You could try to reflash your recovery and then try to nandroid back. Or try a different kernel and or different rom and go from there. Kind of hard to diagnose bc not sure of exactly what you have done completely. If all else fails, search for the ruu and re apply the original rom and re root.
From my guess, it sounds as something that was applied didn't apply right. Again, not sure on all the details.. I know its not much to go on but good luck on it.
Look at the bright side, your obviously not bricked and if you have to re apply the original and start over, its not that bad. Just a little time out of the afternoon.
only update i did was the rom
tried about 2 more diff roms, still same issue
hmm.. i also choose the "system format" in twrp, would that have done some damage?
Are you using fastboot to boot into recovery? If not, and you're hboot 1.5, then that's your problem.
And wiping system wouldn't cause any issues as long as you flash a new ROM after wiping the system, before you reboot.
Sent from my HTC Evo 3D using Tapatalk
k2buckley said:
Are you using fastboot to boot into recovery? If not, and you're hboot 1.5, then that's your problem.
And wiping system wouldn't cause any issues as long as you flash a new ROM after wiping the system, before you reboot.
Sent from my HTC Evo 3D using Tapatalk
Click to expand...
Click to collapse
ah ok i manually go into hboot with the down volume + power. did "fastboot reboot-bootloader" into bootloader, wiped out everything & reinstall rom, still same issue.
Try extracting the boot.img from the zip file containing the rom and flashing it with with fastboot binary. If you have S-ON, CWM can't flash the boot partition so you'll get bootloops with any rom that needs a custom initrd.gz. You need to manually flash the boot partition.
flyimages said:
ah ok i manually go into hboot with the down volume + power. doing fastboot into bootloader now, so we'll see.
Click to expand...
Click to collapse
Yea, do adb reboot bootloader, and then do fastboot boot recovery.img.
You will need to make sure that you have a copy of your recovery.img in the folder that you are working out of when you issue the fastboot boot recovery.img command
Sent from my HTC Evo 3D using Tapatalk
k2buckley said:
Yea, do adb reboot bootloader, and then do fastboot boot recovery.img.
You will need to make sure that you have a copy of your recovery.img in the folder that you are working out of when you issue the fastboot boot recovery.img command
Sent from my HTC Evo 3D using Tapatalk
Click to expand...
Click to collapse
thanks all for the help, the "fastboot flash recovery recovery.img" was pretty much what i was missing!
wow didnt wonder somethin so small could cause something this big, i got everything up & running now!
flyimages said:
thanks all for the help, the "fastboot flash recovery recovery.img" was pretty much what i was missing!
wow didnt wonder somethin so small could cause something this big, i got everything up & running now!
Click to expand...
Click to collapse
glad to see your on the up and up
Okay, I'm having the same problem. No matter what I do, I get stuck in a boot loop after installing a rom. Extracting the boot.img and flashing in fastboot doesn't do a thing. My nand backups don't work either (get stuck at restoring boot).
Don't have any problems installing recovery and gaining root. I'm at a loss here. I really want to get my MIUI on!
Mes3 said:
Okay, I'm having the same problem. No matter what I do, I get stuck in a boot loop after installing a rom. Extracting the boot.img and flashing in fastboot doesn't do a thing. My nand backups don't work either (get stuck at restoring boot).
Don't have any problems installing recovery and gaining root. I'm at a loss here. I really want to get my MIUI on!
Click to expand...
Click to collapse
Are you booting your recovery from fastboot? Fastboot boot recovery.img. If not, boot.img won't flash. It's not necessary to flash the boot.img separately, just boot your recovery from fastboot and you'll be good.
Sent from my HTC Evo 3D using Tapatalk
Yup, definitely booting recovery from fastboot.
I had the same problem try to install new recovery VIA fastboot an wipe data/factory reset then flash new ROM u should be all set to go
Sent from EPIC JWOLF 1 using XDA App

[Q] Thunderbolt stock on white screen after rom flash

Hopefully some one can help me because my thunderbolt is a paper weight at the moment. I used the android dev method for unlocking my bootloader. All went well and i had a factory reset phone with an unlocked boot loaded. I then used adb and flashed clockwordmod recovery ver. 5.0.2.1. Then used flashboot reboot command to reboot then held vol down and power button and got back into hboot/bootloader/flashboot etc menu. Went to recovery and it went to the white screen then to clockworkmod. I wiped the cache and also the cache in the advanced menu. I then installed liquid ICS. It went through it steps and said it installed correctly. Then I rebooted the phone from clockworkmod and it hung on the white screen. I tried to reboot it a few times with the same result. I then tried to install a gingerbreak rom and had the same affect. I read and dug around and found the stock pg05img and put it on my sd card. I booted back into hboot and it installed checked and installed pg05img. I rebooted again from the Hboot menu and it hung on the white screen again. So now I feel stuck. Is my phone toast. How do I get this thing back on its feet. Ive rooted and installed custom roms on my xoom but I am def a newbie. Any help would be appreciated.
Thanks in Advance,
Barry.
Lancaster CA
With the HTC unlock you cannot flash boot.img's through recovery, so any non sense based and/or non gingerbread roms will not boot. I'd suggest flashing one then getting s-off.
Sent from my ThunderBolt using Tapatalk 2
trter10 said:
With the HTC unlock you cannot flash boot.img's through recovery, so any non sense based and/or non gingerbread roms will not boot. I'd suggest flashing one then getting s-off.
Sent from my ThunderBolt using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the advice! I'm still pretty uneducated when it comes to my thunderbolt. what rom do you reccomend I flash and what procedure should I use now that I am stuck at the white screen?
I tried eternity 8-4 with the same result. I used clockwork to install it and reboot the phone. What am I missing?
barryth said:
I tried eternity 8-4 with the same result. I used clockwork to install it and reboot the phone. What am I missing?
Click to expand...
Click to collapse
With the rom file on the comp. Unzip it, and put the boot.img in the folder with fastboot you used to unlock. Then open that folder and hold shift and right click and click open command prompt here. Then connect the phone in fastboot mode. Once its connected, run
Code:
Fastboot flash boot boot.img
Then
Fastboot reboot
And it should boot. Then use the tbolt tool to get S-OFF
Sent from my ThunderBolt using Tapatalk 2
trter10 said:
With the rom file on the comp. Unzip it, and put the boot.img in the folder with fastboot you used to unlock. Then open that folder and hold shift and right click and click open command prompt here. Then connect the phone in fastboot mode. Once its connected, run
Code:
Fastboot flash boot boot.img
Then
Fastboot reboot
And it should boot. Then use the tbolt tool to get S-OFF
Sent from my ThunderBolt using Tapatalk 2
Click to expand...
Click to collapse
I was able to get it working. Thanks for the help, but I have another issue now witch I posted in a new thread above this one. With the tbolttool it will not take s-off and my wifi isnt working. All the details are in my other post.
Thanks!

HTC View wont boot after rooting

Trying to figure out if I can get the view working for my friend.
We rooted it via HTCDev, flashed CWM with fastboot and tried to then flash CGRom with appropriate GApps in recovery after doing factory reset, cache wipe, dalvik cache wipe and a wipe of the /system.
Phone said all was installed correctly, and when rebooting went straight to a black screen.
Trying to power off the View would not work, it keeps booting to the recovery.
Figured out the battery was very low so we charged it fully on a battery machine.
Still would not boot.
Tried flashing another rom, which at least got us to the boot animation, but it just sits with the animation repeating over and over.
Cant flash the only RUU I found because it is older than the last firmware on the device.
Wanted to use the multitool, but it doesn't support the HBoot we're on, and requires the tablet to be fully booted for other functions....
At this point I'm stumped, and we'd be happy just to get it back working even if it was only stock.
Did you flashed the boot.IMG manually? Since you rooted the view via fastboot you need to flash the boot.img from the ROM manually every time you flash a ROM.
Sent from my HTC Flyer P512 using xda app-developers app
Manually how?
Via fast boot or recovery?
If fast boot what is the command? And I can just pull it out of the rom's zip file?
TonyTurboII said:
Manually how?
Via fast boot or recovery?
If fast boot what is the command? And I can just pull it out of the rom's zip file?
Click to expand...
Click to collapse
Ok since you chosen CGROM open the zip file. There you will find a files boot.img. Copy it to the directory where you have adb and fastboot.
Open CMD or Terminal navigate to the directory and type
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
The problem should be fixed.
Finally got back from vacation and gave this a whirl.
Worked perfectly, thank you.
Sent from my HTCONE using xda premium

Is my phone still savable?

I cannot get my phone to start, whenever I reboot it takes me to recovery!
When I'm at recovery it shows black screen. (Recovery installed from Rom Manager)
I can only access bootloader. What did I do?
I installed Rom Manager and install the Clockworkmod Recovery
I wanted to flash cyanogenmod 11, I did that in the Rom Manager
Then my DNA restarts and shows black screen after the HTC Logo
Help please!! >.<
Being in recovery is a good thing. You should have done a backup before flashing. Go to cwm , wipe system data and cache. Restore your backup. Then get a fresh cm down load and start from scratch. Don't use rom manager to flash this time. Flash from recovery.
Oops sorry reread your post. Recovery is not working? So did you flash recovery through rom manager, then immediately flash cm without booting to recovery first to make a backup? Either way your phone will be fine. you will likely have to push a new recovery through adb. You will find instructions through search.
Put the phone in fastboot open a command window on your pc and then use the command "fastboot erase cache" and then see if you can boot into the recovery.
Sent from my HTC6435LVW using XDA Premium 4 mobile app
Reply
Jaggar345 said:
Put the phone in fastboot open a command window on your pc and then use the command "fastboot erase cache" and then see if you can boot into the recovery.
Sent from my HTC6435LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
findinghomer said:
Being in recovery is a good thing. You should have done a backup before flashing. Go to cwm , wipe system data and cache. Restore your backup. Then get a fresh cm down load and start from scratch. Don't use rom manager to flash this time. Flash from recovery.
Oops sorry reread your post. Recovery is not working? So did you flash recovery through rom manager, then immediately flash cm without booting to recovery first to make a backup? Either way your phone will be fine. you will likely have to push a new recovery through adb. You will find instructions through search.
Click to expand...
Click to collapse
Well you see, fastboot is not working for some reasons... I installed the drivers, tried other drivers but still nothing. Whenever I try to lock my bootloader it say "waiting for device" (I wanted to use RUU but cant lock bootloader)
Pardon my english
Are you using windows? I had trouble getting adb to work with my current windows install. I used unbtu booted from a usb and adb worked perfectly....
I borked up my DNA a few weeks back like yours. I use Linux Mint, used some flashboot commands (I'm at work, can't remember exactly) and was able to flash TWRP recovery (but you could flash CWM if you wanted to). Then I was able to RUU. I could have pushed a ROM and flashed afterwards, but I RUU'd instead.
Hope this helps.
Word to the wise, when flashing anything on your phone, READ ALL THE DIRECTIONS VERBATUM. If you don't, you risk the bork (like I did).
Replying
cragunk said:
Are you using windows? I had trouble getting adb to work with my current windows install. I used unbtu booted from a usb and adb worked perfectly....
Click to expand...
Click to collapse
Ubuntu? Ok I'll try that. And yes I'm using windows 8
Yehudah said:
I borked up my DNA a few weeks back like yours. I use Linux Mint, used some flashboot commands (I'm at work, can't remember exactly) and was able to flash TWRP recovery (but you could flash CWM if you wanted to). Then I was able to RUU. I could have pushed a ROM and flashed afterwards, but I RUU'd instead.
Hope this helps.
Word to the wise, when flashing anything on your phone, READ ALL THE DIRECTIONS VERBATUM. If you don't, you risk the bork (like I did).
Click to expand...
Click to collapse
Ubuntu also not working >.<!!
Thanks for your replys~
Try installing HTC sync on ur computer and see if that installs the right drivers
Sent from my HTC6435LVW using xda app-developers app
koksheng999 said:
Ubuntu? Ok I'll try that. And yes I'm using windows 8
Ubuntu also not working >.<!!
Thanks for your replys~
Click to expand...
Click to collapse
Do you have adb & fastboot working on Ubuntu?
Sent from my HTC6435LVW using xda app-developers app
Thanks guys! Problem Solved!
Hey guys thanks for trying to help!!
In the end I went to the place I bought it and they sent it to the factory and fix it for me for free

[Q] How do I flash cutom roms?

I have rooted the rezound, installed twrp recovery, but now i want to flash this ROM:
http://forum.xda-developers.com/showthread.php?t=2113140
I have this ROM along with the gapps on my SDcard and attempted to flash it. I have done the factory wipe as well as both dalvik and cache wipes to install and proceeded. The ROM and gapps have successfully been installed and i proceeded with the system reboot. The phone boots but stays on the HTC splash screen. I can still access my recovery. What should i do? Thanks.
WoodenDiamond71 said:
I have rooted the rezound, installed twrp recovery, but now i want to flash this ROM:
http://forum.xda-developers.com/showthread.php?t=2113140
I have this ROM along with the gapps on my SDcard and attempted to flash it. I have done the factory wipe as well as both dalvik and cache wipes to install and proceeded. The ROM and gapps have successfully been installed and i proceeded with the system reboot. The phone boots but stays on the HTC splash screen. I can still access my recovery. What should i do? Thanks.
Click to expand...
Click to collapse
Are you s-off or s-on? If you're s-on you need to manually flash the boot.img if you dont know what that is. I can explain later. But if you're s-on you need to manually flash the boot.img. On your computer take the zip. Extract it with any zip. It will give a folder. In the folder there will be a boot.img, take this out. Place it in your adb and fastboot folder. Then boot the phone into fastboot
fastboot flash boot boot.img
Try this first if not we can continue with another plan
Sent from my HTC One M8 running Liquid Smooth Nightlies. S-OFF.
pball52998 said:
Are you s-off or s-on? If you're s-on you need to manually flash the boot.img if you dont know what that is. I can explain later. But if you're s-on you need to manually flash the boot.img. On your computer take the zip. Extract it with any zip. It will give a folder. In the folder there will be a boot.img, take this out. Place it in your adb and fastboot folder. Then boot the phone into fastboot
fastboot flash boot boot.img
Try this first if not we can continue with another plan
Sent from my HTC One M8 running Liquid Smooth Nightlies. S-OFF.
Click to expand...
Click to collapse
I am currently S-ON and i do no know how to install the boot.img. May you give me step by step directions on how to do so? I would greatly appreciate it.
WoodenDiamond71 said:
I am currently S-ON and i do no know how to install the boot.img. May you give me step by step directions on how to do so? I would greatly appreciate it.
Click to expand...
Click to collapse
Sorry I'm replying a little late.. And yes!
1. Take the original zip extract it. Open the folder that it makes, there should be some items in it. One being "boot.img".
2. Take the boot.img and move it to your adb and fastboot folder.
3. From there, put your phone in fastboot (volume down + power, then first option)
4. Make sure phone is picked up
fastboot devices
If your device is picked up, you're good to flash the boot.img
fastboot flash boot boot.img
It'll send the boot.img. write it, all that fun stuff.
fastboot reboot
Be patient as the first boot can take up to 20 minutes. Report back or if I need to reword anything I will.
Sent from my HTC One M8 running Paranoid Android 4.4.4. S-OFF.
Edit: after getting your phone to boot. I would suggest running rumrunner. It will get you S-off. http://rumrunner.us/ go through here. Use the universal .0.5.0 if you have any questions, there is a thread in general about rumrunner working for the rezound. If any other questions. Feel free to ask here or PM me.
@pball52998
I recommend at minimum 3 s-on flashes to get acquainted with fastboot and ph98img flashing. It helps reduce end user error when flashing roms.
Snuzzo said:
@pball52998
I recommend at minimum 3 s-on flashes to get acquainted with fastboot and ph98img flashing. It helps reduce end user error when flashing roms.
Click to expand...
Click to collapse
Good point... Always forget about that for newer users...
Sent from my HTC One M8 running Paranoid Android 4.4.4. S-OFF.
pball52998 said:
Good point... Always forget about that for newer users...
Sent from my HTC One M8 running Paranoid Android 4.4.4. S-OFF.
Click to expand...
Click to collapse
Thanks so much for your help! I finally have the phone booted up and ready to use. One issue though, i cannot access the about phone part in the settings. The settings app tends to crash every time i try to select it. Other than that everything works! Thank you so much.

Categories

Resources