[Completed] Accidently Wiped Internal Stoareg from my HTC One S - TWRP Shows no OS Found - XDA Assist

Hi,
I have accidentally wiped the internal storage on my HTC One S and now when i boot phone TWRP shows no OS installed.
My phone does not has SD card. It uses internal storage so i don't know how to copy the files and install the ROM.
I tried fastboot and adb devices commands but it returns empty. I am a newbie in device rooting so i am not sure where to go from there. I appreciate your help in this matter
Can you please assist me in this matter.
Thanks

Hassnain.Alvi said:
Hi,
I have accidentally wiped the internal storage on my HTC One S and now when i boot phone TWRP shows no OS installed.
My phone does not has SD card. It uses internal storage so i don't know how to copy the files and install the ROM.
I tried fastboot and adb devices commands but it returns empty. I am a newbie in device rooting so i am not sure where to go from there. I appreciate your help in this matter
Can you please assist me in this matter.
Thanks
Click to expand...
Click to collapse
Hi,
You can install any custom recovery considering your fastboot still works.
And then just use adb sideload to transfer zip.
For further questions, you can ask here http://forum.xda-developers.com/htc-one-s/help
Good luck.

Related

[Q] HTC ONE X - Recovery Help

Ok, I have a problem very similar to threads Ive found by with some minor differences. Hoping for some answers to this nightmare....
I have an AT&T One X - unlocked, rooted and flashed. I was running Viper XL and using TWRP recovery 2.3.10. Yesterday, I decided to flash a Liquidsmooth ROM using flash image gui......everything went fine with install until it hung on liquidsmooth boot screen, for an hour. Figuring there was an install error, I rebooted into twrp to do a recovery. Recovered back to Viper XL and was thrown into bootloop - HTC screen/Viper Boot...over and over again. Finally decided to stop before I destroyed anything.....so here's where I am now. The phone has been reset, sd card was wiped but I can still boot into TWRP without a problem. However, now there is no backup or ROM zip on this SD card.
So my guess is that first and foremost I need to get a ROM on that SD card, however (I'm on a Mac) when I plug the phone in, I get a "No Android Device Connected" in the dialog and when trying to mount SD card via TWRP, the "Mount SD Card" box wont tick.
If I view the log file in TWRP I see a lot of 'could not mount SD card' errors.....
I don't want to keep screwing with it and make things worse. Considering this has happened with both CM10 and LiquidSmooth, my guess is I should just stick with Viper for now, so any help getting this back on here would be hugely appreciated! I have no access to a PC, only a mac.....
Boot screen info:
TAMPERED - UNLOCKED
EVITA PVT SHIP S-ON RL
HBOOT-1.14.0002
RADIO-0,19as.32.09.11_2
OpenDSP-v29.1.0.45.0622
eMMC-boot
If you're on Hboot 1.14 and are S-On you need to manually "flashboot flash boot boot.img" in fastboot from the bootloader menu whenever you flash a new ROM. Go to the bootloader and click "fastboot" then plug in your USB connected to the computer and it should now say "fastboot usb" assuming your drivers are installed (it might install them after you plug your phone in). Now you can flash the boot.img from the rom zip manually via the fastboot command window.
EDIT: Sorry didn't realize you were on Mac. I would first figure out how to mount the SD card as removable storage and not an Android device. You may have to format it as a file system first. At least that's what I had to do when this happened to me when I first flashed but i'm on Windows. I should of read your post more thoroughly.
So this would be done from the terminal? I was able to boot onto fastboot, connected USB cable and now show fastbootusb. I downloaded the ViperXL rom again, so I should extract the boot.img and flash this via terminal?
Are the commands the same on a mac? And how do I then get the rom onto the SD card?
Am I correct in my assumption that this is the answer? http://forum.xda-developers.com/showthread.php?t=1693372
originalseven said:
So this would be done from the terminal? I was able to boot onto fastboot, connected USB cable and now show fastbootusb. I downloaded the ViperXL rom again, so I should extract the boot.img and flash this via terminal?
Are the commands the same on a mac? And how do I then get the rom onto the SD card?
Click to expand...
Click to collapse
I don't want to give you too much advice since I don't have a mac but I would assume they're the same except you need to have fastboot/adb on your computer but since the ones I have are .EXE files they're not going to work on OSX. However, If fastboot usb came up the computer is reading the phone so you may be able to open the SD card as removable storage on you computer thats how it is on Windows. So once you do that you can just move the ROM zip onto the card. But, like I said you're going to need to figure out a way to flash the boot.img separately or else you won't be able to boot into the ROM when it's installed (you'll just bootloop). You're going to have to do that with every new ROM you flash if you're still S-On.
Wish I can be more help but i'm not that versed in OSX.
you can use [APP] Flash Image GUI - Flash Kernels and Recoveries from normal Android mode! to flash boot.img fine before flashing the rom. it will search the rom zip for the boot.img and flash it. you can also flash recovery using the app also. some roms place boot.img in other locations other then the root of the zip in which case you might have trouble selecting the whole zip, but you can just extract the boot.img and flash it fine.
c0d_fish said:
I don't want to give you too much advice since I don't have a mac but I would assume they're the same except you need to have fastboot/adb on your computer but since the ones I have are .EXE files they're not going to work on OSX. However, If fastboot usb came up the computer is reading the phone so you may be able to open the SD card as removable storage on you computer thats how it is on Windows. So once you do that you can just move the ROM zip onto the card. But, like I said you're going to need to figure out a way to flash the boot.img separately or else you won't be able to boot into the ROM when it's installed (you'll just bootloop). You're going to have to do that with every new ROM you flash if you're still S-On.
Wish I can be more help but i'm not that versed in OSX.
Click to expand...
Click to collapse
No problem - thanks for the help you can offer. It seems my bigger problem is getting a ROM onto the SD card - Ive read several similar threads and from what I can tell, doing a factory reset through TWRP means I need to reformat the SD card, which is why it wont mount. Does this sound reasonable?
And if so, is it as simply as "Wipe external storage - SD CARD" in TWRP?
originalseven said:
Am I correct in my assumption that this is the answer? http://forum.xda-developers.com/showthread.php?t=1693372
Click to expand...
Click to collapse
No, this is for the ONE S
you are on ONE X
Try this to get your SD Card working again:
http://forum.xda-developers.com/showthread.php?t=1942519
now you can Mount the SD in TWRP
then put the ROM on the SD and install it with TWRP.
Then this for the boot.img:
http://forum.xda-developers.com/showthread.php?t=2182207
SORRY, did't read you are on MAC, you can try this to get fastboot on the MAC
http://forum.xda-developers.com/showthread.php?t=1917237
Ghostrider said:
No, this is for the ONE S
you are on ONE X
Try this to get your SD Card working again:
http://forum.xda-developers.com/showthread.php?t=1942519
now you can Mount the SD in TWRP
then put the ROM on the SD and install it with TWRP.
Then this for the boot.img:
http://forum.xda-developers.com/showthread.php?t=2182207
Click to expand...
Click to collapse
He has OSX so I don't believe the exact methods of these posts will work but it will point him in the right direction.
---------- Post added at 02:24 PM ---------- Previous post was at 02:20 PM ----------
originalseven said:
No problem - thanks for the help you can offer. It seems my bigger problem is getting a ROM onto the SD card - Ive read several similar threads and from what I can tell, doing a factory reset through TWRP means I need to reformat the SD card, which is why it wont mount. Does this sound reasonable?
And if so, is it as simply as "Wipe external storage - SD CARD" in TWRP?
Click to expand...
Click to collapse
And yes you will have to reformat the SD card I don't know how to go about doing it OSX though. I'm sure a google search will help. The method should be the same for any type SD card plugged into OSX. But remember flashing the boot.img will be the other issue.
c0d_fish said:
I don't want to give you too much advice since I don't have a mac but I would assume they're the same except you need to have fastboot/adb on your computer but since the ones I have are .EXE files they're not going to work on OSX. However, If fastboot usb came up the computer is reading the phone so you may be able to open the SD card as removable storage on you computer thats how it is on Windows. So once you do that you can just move the ROM zip onto the card. But, like I said you're going to need to figure out a way to flash the boot.img separately or else you won't be able to boot into the ROM when it's installed (you'll just bootloop). You're going to have to do that with every new ROM you flash if you're still S-On.
Wish I can be more help but i'm not that versed in OSX.
Click to expand...
Click to collapse
Ghostrider said:
No, this is for the ONE S
you are on ONE X
Try this to get your SD Card working again:
http://forum.xda-developers.com/showthread.php?t=1942519
now you can Mount the SD in TWRP
then put the ROM on the SD and install it with TWRP.
Then this for the boot.img:
http://forum.xda-developers.com/showthread.php?t=2182207
SORRY, did't read you are on MAC, you can try this to get fastboot on the MAC
http://forum.xda-developers.com/showthread.php?t=1917237
Click to expand...
Click to collapse
Yeah those are .exe files. No go on this machine. Similar method for the mac anywhere?
yes i saw it at the Moment, and put something in that maybe work.
this here:
http://forum.xda-developers.com/showthread.php?t=1917237
doing a factory reset in hboot corrupts your sdcard.
once you get adb/fastboot working try running "fastboot erase cache" that clears out the part of cache where the settings for twrp reside, that is why when you format cache in twrp you always see 16MB when you fastboot erase cache it goes to 0MB but for recovery to store it's settings you need to rewipe cache and dalvik in twrp.
Ghostrider said:
yes i saw it at the Moment, and put something in that maybe work.
this here:
http://forum.xda-developers.com/showthread.php?t=1917237
Click to expand...
Click to collapse
This is your answer this man saved you some headaches I think.
Yes, Ghostrider helped you alot give him Thanks, but also do my recommendation also each time you flash recovery.
Ghostrider said:
yes i saw it at the Moment, and put something in that maybe work.
this here:
http://forum.xda-developers.com/showthread.php?t=1917237
Click to expand...
Click to collapse
I think my inner idiot is kicking in. I believe I already have fastboot installed - perhaps Im missing something. I went through this process before and have all of these same files still on my desktop. I'm able to boot my phone into the bootscreen (white screen) and TWRP without problems....the only issue I have right now is my SD card and getting a ROM pushed to it. I've gotten two conflicting bits of advice that im reluctant to try....one of them states I should just boot into TWRP and do a "Wipe external storage" and the other one says I should format it using disk utility in OSX. When I boot into TWRP and hit "mount", Im given four options, mount system, mount data unmount cache and mount sd card...the ONLY one I cant select is mount sd card.
DvineLord said:
doing a factory reset in hboot corrupts your sdcard
Click to expand...
Click to collapse
oh yaa, this one i did once
and never again
---------- Post added at 08:43 PM ---------- Previous post was at 08:38 PM ----------
your SD Card is maybe not there when you have done an factory reset in hboot.
then you Need to Format it in stock recovery.
like in the first link from me
originalseven said:
I think my inner idiot is kicking in. I believe I already have fastboot installed - perhaps Im missing something. I went through this process before and have all of these same files still on my desktop. I'm able to boot my phone into the bootscreen (white screen) and TWRP without problems....the only issue I have right now is my SD card and getting a ROM pushed to it. I've gotten two conflicting bits of advice that im reluctant to try....one of them states I should just boot into TWRP and do a "Wipe external storage" and the other one says I should format it using disk utility in OSX. When I boot into TWRP and hit "mount", Im given four options, mount system, mount data unmount cache and mount sd card...the ONLY one I cant select is mount sd card.
Click to expand...
Click to collapse
Not sure what you should do really this happened to me but I forgot what I did. I ended up just formatting the card with the disk utility in Windows but I don't remember if I had to re-flash the recovery or not afterwards.
So I should just use this method again, regardless of whether I may have done it before, correct? This will format in stock recovery?
In the APK folder, there are two fastboot files, one 'fastboot' and one 'fastboot-mac' - i want the -mac one obviously, right?
originalseven said:
So I should just use this method again, regardless of whether I may have done it before, correct? This will format in stock recovery?
In the APK folder, there are two fastboot files, one 'fastboot' and one 'fastboot-mac' - i want the -mac one obviously, right?
Click to expand...
Click to collapse
That page is no longer found but yeah seems like that would be the one to use.
I can't give you much advices on a MAC, I don't use one.
but if you have working fastboot and ADB this could workout.
Ghostrider said:
yes i saw it at the Moment, and put something in that maybe work.
this here:
http://forum.xda-developers.com/showthread.php?t=1917237
Click to expand...
Click to collapse
Ghostrider said:
I can't give you much advices on a MAC, I don't use one.
but if you have working fastboot and ADB this could workout.
Click to expand...
Click to collapse
Ok - I believe that fastboot is working correctly. I get this output from terminal
Mac-Pro:android originalseven$ ./fastboot-mac devices
HT29SW306500 fastboot
Mac-Pro:android originalseven$
So it's showing a connection between phone and computer.......
The next logical step would be....format the SD card?
Thank you guys sooooo much for the help!!!

Need help!!! :(

Was doing to do a fresh installation of Omni on my Nexus 5 and i accidently done a factory reset however also wiped the internal storage so the rom is now lost.
As i cannot boot the phone, i can only get into the bootloader and recovery screen, how can i manually upload files to my phones storage?
Hope you guys can help me asap.
Thanks,
Ed
edwardtobia said:
Was doing to do a fresh installation of Omni on my Nexus 5 and i accidently done a factory reset however also wiped the internal storage so the rom is now lost.
As i cannot boot the phone, i can only get into the bootloader and recovery screen, how can i manually upload files to my phones storage?
Hope you guys can help me asap.
Thanks,
Ed
Click to expand...
Click to collapse
You should mount the sd card using recovery and then use your PC to copy the zips you need back to your sd card and then flash them. Some recoveries will automatically mount the sd card as soon as you connect the phone and the PC with the usb cable. In others you may have to go into the mounts (or Mounts and Storage) menu and select mount USB storage or sd card.
edwardtobia said:
Was doing to do a fresh installation of Omni on my Nexus 5 and i accidently done a factory reset however also wiped the internal storage so the rom is now lost.
As i cannot boot the phone, i can only get into the bootloader and recovery screen, how can i manually upload files to my phones storage?
Hope you guys can help me asap.
Thanks,
Ed
Click to expand...
Click to collapse
Try to push rom file through adb side load..
I happened to me once..
Try this..
http://forum.xda-developers.com/showthread.php?t=2575150
Plug her into computer
Make sure drivers are working for adb by mounting storage than running the command "adb devices" assuming you have set up your sdk. if your device shows up. Run this
"adb push ROM.zip*/data/media" in the prompt.
If your device is not recognized.
Update drivers manually using the device manager on your computer. You will need to install the drivers. That's easy. Just look up how to. That should fix it with minimal confusion
Sent from my Nexus 5

[Help] No rom installed on my phone, help with installing it VIA ADB sideload.

So, I have/had a N5 on stock 4.4.4 rom, rooted & Xposed installed with TWRP & a lollipop preview on MultiRom.
Was installing the new Lollipop .zip. In an act of hurried stupidity, I wiped my phone, including the internal storage.
Which for some reason also wiped my NANDROID backup. I thought that is not supposed to be wiped even when doing an internal storage wipe, BUT it did.
Now, all i have is TWRP on my phone with no rom installed.
I tried connecting my phone to the pc to see if i can just transfer the rom file onto the internal memory, but nothing shows up when i connect my phone to PC.
after some searching, I came to know via this threadhttp://forum.xda-developers.com/google-nexus-5/general/how-to-wipe-internal-storage-install-t2575150 that i can use the ADB sideload to install the rom, using TWRP.
The problem is, when i connect my phone to the PC, the phone doesn't show up in the device manager.
So i cannot install the drivers & android SDK itself.
So, How do i Install a rom onto it?
I have a PC & a MAC, so i can use either of the machines. But i don't have much technical knowledge about stuff, I did all the above modifications with the help of tutorials & guids. so ELI5 please.
Please help!
Thank you.
Jugal.PM said:
So, I have/had a N5 on stock 4.4.4 rom, rooted & Xposed installed with TWRP & a lollipop preview on MultiRom.
Was installing the new Lollipop .zip. In an act of hurried stupidity, I wiped my phone, including the internal storage.
Which for some reason also wiped my NANDROID backup. I thought that is not supposed to be wiped even when doing an internal storage wipe, BUT it did.
Now, all i have is TWRP on my phone with no rom installed.
I tried connecting my phone to the pc to see if i can just transfer the rom file onto the internal memory, but nothing shows up when i connect my phone to PC.
after some searching, I came to know via this threadhttp://forum.xda-developers.com/google-nexus-5/general/how-to-wipe-internal-storage-install-t2575150 that i can use the ADB sideload to install the rom, using TWRP.
The problem is, when i connect my phone to the PC, the phone doesn't show up in the device manager.
So i cannot install the drivers & android SDK itself.
So, How do i Install a rom onto it?
I have a PC & a MAC, so i can use either of the machines. But i don't have much technical knowledge about stuff, I did all the above modifications with the help of tutorials & guids. so ELI5 please.
Please help!
Thank you.
Click to expand...
Click to collapse
Storage = including sdcard. You didn't need to do that.
If you have the latest TWRP, it has an MTP mode in the mount menu so you can simply copy a ROM.zip to the storage. Try enabling it and see if it shows up in devmgr.
rootSU said:
Storage = including sdcard. You didn't need to do that.
If you have the latest TWRP, it has an MTP mode in the mount menu so you can simply copy a ROM.zip to the storage. Try enabling it and see if it shows up in devmgr.
Click to expand...
Click to collapse
Thank you for the reply.
Turns out, the TWRP i have does have the OTG option under the mount option.
I downloaded the zip from an Android Police article. I bought the phone in india & hence had the KTU84Q build of 4.4.4, So i downloaded the file mentiond in that & tried flashing it via OTG. But it is failing to flash the rom.
it shows errors like: failed to mount, Error executing updater binary & then error flashing zip.
So do i need to do anything else before flashing it?
I'm downloading a 4.4.4 rom. will see if that works. Until then, please help if I need to do something else.
Thank you.
EDIT: I flashed CM11 & it worked perfectly. then tried flashing the 5.0 zip again, but that failed. So i guess something's wrong with the zip file.

[Q] Rooting problem

Hello, so I unlocked the Bootloader of my HTC One Mini and installed TWRP as recovery and put the superuser zip in my internal storage to root my phone.
The problem is, when i go to recovery to install the zip it says "Storage : Internal Storage (262mb)" and all the folders that i see don't correspond to my internal storage so I can't find the zip anywhere.
I'm new to this and I hope one of you can help me.
Thanks.
I'm sorry for posting this, I found the solution after

[Completed] Wiped all system data, now stuck on cwm custom recovery mode

I am a complete newbie to rooting. I followed the kingoroot guidelines and rooted my Idea Aurus 3 phone. Root was success. The next step I did was downloading custom recovery and cyanogenmod ROM from here to my memory card
I flashed the custom recovery with flashify. The next step I did was wiping all data from the device by entering in to recovery mode (including cache and everything)
I was hoping I could simply install zip from sd card. But when i click on this option, I cannot find my sd card nor zip file (I checked most folders including emmc, etc, sd-ext and couldn't find SD card. The custom recovery name is Phylz touch 6
Now basically I have a phone without OS and all I can do is accessing custom recovery. I don't have a back up too
I can also see an error log "Cannot mount custom path"
I formatted the memory card to exFAT from exFAT 32 hoping that would work, it didn't help as well.
Also tried to connect phone to pc using USB (thinking I can move rom to system memory), but wouldn't detect phone memory
Now, is there any way to get this fixed? Any help would be awesome
Thanks!!!
kumarj said:
I am a complete newbie to rooting. I followed the kingoroot guidelines and rooted my Idea Aurus 3 phone. Root was success. The next step I did was downloading custom recovery and cyanogenmod ROM from here to my memory card
I flashed the custom recovery with flashify. The next step I did was wiping all data from the device by entering in to recovery mode (including cache and everything)
I was hoping I could simply install zip from sd card. But when i click on this option, I cannot find my sd card nor zip file (I checked most folders including emmc, etc, sd-ext and couldn't find SD card. The custom recovery name is Phylz touch 6
Now basically I have a phone without OS and all I can do is accessing custom recovery. I don't have a back up too
I can also see an error log "Cannot mount custom path"
I formatted the memory card to exFAT from exFAT 32 hoping that would work, it didn't help as well.
Also tried to connect phone to pc using USB (thinking I can move rom to system memory), but wouldn't detect phone memory
Now, is there any way to get this fixed? Any help would be awesome
Thanks!!!
Click to expand...
Click to collapse
Hello,
Please try posting your query in Android Q&A Forum, the experts there maybe able to assist you.
Regards
Vatsal,
Forum Moderator.

Categories

Resources