Related
EDIT: I solved my own problem. Scroll down to post #8 for the solution.
My problem was that my phone (T-Mobile USA HTC One S) would not boot into ICS anymore, but I was still able to get into recovery (CWM), yet I had no access to the sdcard ("unable to mount /sdcard").
Post #8 below tells you how you can restore access to the sdcard in CWM so that you can push a ROM zip file to the sdcard via adb.
-J
Have you made any nandroids? If you have maybe you can restore. Also check in the download file in cwm that is possible place where that file may be.
Sent from my myTouch 4G Slide using xda premium
archie53 said:
Have you made any nandroids? If you have maybe you can restore. Also check in the download file in cwm that is possible place where that file may be.
Sent from my myTouch 4G Slide using xda premium
Click to expand...
Click to collapse
Unfortunately I didn't have the foresight to make a nandroid backup. My previous phone was a Samsung Galaxy S 4G, which, like most Android phones, has a removable SD-Card that stuff can be copied onto (and then flashed). Not so here obviously.
Is it even possible to push files to the sdcard using the method I tried when in CWM?
When you push the file via ADB, have you tried placing it into a folder that you know is on the /sdcard?
joshnichols189 said:
When you push the file via ADB, have you tried placing it into a folder that you know is on the /sdcard?
Click to expand...
Click to collapse
It just got worse. I got the idea to format all partitions (data, system, cache, sdcard) through CWM, and now CWM can't even mount /sdcard/ anymore...
I had to do the same thing:
adb push "NameOfFile.zip /sdcard
then go to install from zip.
Look on sd card and it will be there.
I always rename the zip files to there can be less errors.
you can also do
adb shell pull "nameOfFile.zip /sdcard
make sure the zip file is where your adb and fastboot is
My problem is CWM can't mount the /sdcard directory, so I can't flash the new OS. Is there anybody that knows how to recover from that problem?
LuckyMethod said:
My problem is CWM can't mount the /sdcard directory, so I can't flash the new OS. Is there anybody that knows how to recover from that problem?
Click to expand...
Click to collapse
Yes, I just fixed my problem yesterday after some serious trial-and-error.
1) Use the All-in-One-Kit and flash your recovery back to stock
2) Boot into the bootloader and choose to "clear storage" and afterwards to reset to factory defaults.
3) Go back to the all-in-one-kit and flash a CWM recovery version again.
4) Reboot into recovery (CWM). Your /sdcard should now be mounted and visible.
5) Now, try the UTB rom (it worked for me), rename the zip file to something short (i.e. utb.zip), and push it to the sdcard using adb as follows:
Code:
adb push utb.zip /sdcard
6) While still in CWM, flash the zip.
The trick here is that only the stock recovery is capable of restoring access to the sdcard by it's proprietary "clear storage" option.
Good luck!
-J
If that doesn't work an easy fix is boot into bootloader, goto fastboot and use "fastboot flash boot boot.img" and so fouth. In the dev section I seen a stock tmobile naindroid. Download it and you'll have your data.img and boot.img. You should be able to flash them without needing to push to /sdcard. letme know how it works
I know you fixed this already just thought this still might help
cannondale0815 said:
Yes, I just fixed my problem yesterday after some serious trial-and-error.
1) Use the All-in-One-Kit and flash your recovery back to stock
...cut...
-J
Click to expand...
Click to collapse
It worked like a charm, thank you very much. You saved my life, I was in a time crunch.
LuckyMethod said:
It worked like a charm, thank you very much. You saved my life, I was in a time crunch.
Click to expand...
Click to collapse
Happy it worked for you. Took me several days to figure this out
Sent from my HTC One S using xda premium
I too formatted my sd card but a little trial and error and using your direction, I am back in business ! Thank you , this should really be a sticky
Sent from my HTC VLE_U using xda premium
j3.cole said:
I too formatted my sd card but a little trial and error and using your direction, I am back in business ! Thank you , this should really be a sticky
Sent from my HTC VLE_U using xda premium
Click to expand...
Click to collapse
Thank you. I changed the title and original post to make it easier for people to find this thread.
I am going to try this trick tomorrow after having spent endless hours trying to fdisk/parted via adb, and flashing endless roms and updates to no avail. I will post the outcome here. I really hope this works for me like it has for you guys...
mrmoretti said:
I am going to try this trick tomorrow after having spent endless hours trying to fdisk/parted via adb, and flashing endless roms and updates to no avail. I will post the outcome here. I really hope this works for me like it has for you guys...
Click to expand...
Click to collapse
IT WORKED! This thread should be made sticky! I'm sure a lot of users who have HTC One S with built-in SD will have the same issue when mucking about with their phone. Thank you!
Bump, as too many people are having this problem.
Sent from my HTC One S using Tapatalk 2
cannondale0815 said:
Yes, I just fixed my problem yesterday after some serious trial-and-error.
1) Use the All-in-One-Kit and flash your recovery back to stock
2) Boot into the bootloader and choose to "clear storage" and afterwards to reset to factory defaults.
3) Go back to the all-in-one-kit and flash a CWM recovery version again.
4) Reboot into recovery (CWM). Your /sdcard should now be mounted and visible.
5) Now, try the UTB rom (it worked for me), rename the zip file to something short (i.e. utb.zip), and push it to the sdcard using adb as follows:
Code:
adb push utb.zip /sdcard
6) While still in CWM, flash the zip.
The trick here is that only the stock recovery is capable of restoring access to the sdcard by it's proprietary "clear storage" option.
Good luck!
-J
Click to expand...
Click to collapse
THANK YOU SO MUCH! THIS WORKED PERFECTLY!
This should definitely be included in a stickied guide for people like me who have managed to corrupt their recoveries.
Got it after several tries
hey guys i have the same problem, the solution sort of work, but when i try to do a adb push its show it was sucessful but when i do to flash it i cant see it.
yasir_jan87 said:
hey guys i have the same problem, the solution sort of work, but when i try to do a adb push its show it was sucessful but when i do to flash it i cant see it.
Click to expand...
Click to collapse
Try to shorten the filename, i.e. "rom.zip".
And try this slightly modified command instead:
adb push rom.zip /sdcard/rom.zip
Sent from my aokp_tenderloin using Tapatalk 2
For some reason I am not able to install any custom ROM's with TWRP 2.3.3 I transfer the files across to the root directory of my internal storage using ADB pusher but whenever I try and install a ROM I seem to get this error message
E:Mount: Unable to find partition for path '/[email protected]_Edition_V02.zip'
Error flashing zip '/[email protected]_Edition_V02.zip'
Updating partition details..
Click to expand...
Click to collapse
Does anyone have any idea as to why this is happening, and how I can get around it?
I currently dont have a ROM installed on my TF300 due to me being an idiot, but I can use ADB, TWRP and fastboot so I should be able to sort this out.
Nekrom4n said:
For some reason I am not able to install any custom ROM's with TWRP 2.3.3 I transfer the files across to the root directory of my internal storage using ADB pusher but whenever I try and install a ROM I seem to get this error message
Does anyone have any idea as to why this is happening, and how I can get around it?
I currently dont have a ROM installed on my TF300 due to me being an idiot, but I can use ADB, TWRP and fastboot so I should be able to sort this out.
Click to expand...
Click to collapse
I can not remember,
Is the update a complete rom ??
If not,then install OC V.3 instead..
Nekrom4n said:
For some reason I am not able to install any custom ROM's with TWRP 2.3.3 I transfer the files across to the root directory of my internal storage using ADB pusher but whenever I try and install a ROM I seem to get this error message
Does anyone have any idea as to why this is happening, and how I can get around it?
I currently dont have a ROM installed on my TF300 due to me being an idiot, but I can use ADB, TWRP and fastboot so I should be able to sort this out.
Click to expand...
Click to collapse
Try Clockwork, this 4.2 is weird. I can do a backup in TWRP, but it cannot find what I placed on the sd card, so I have to use Clockwork for some reason....
Managed to sort it. For some reason TWRP didn't like installing from root, and changed to a sub directory and it works fine now. Installed paranoid android in the end
Sent from my Transformer Pad TF300T using XDA Premium HD app
same issue
i have the same proble only im stalling from /mnt/sdcard not from root.
On htc one s3..........
have been withoutmy droid for weeks!
samo problem
I have the same issue but when i put the ROM in a folder it does not work.
I have a goophone i5 and i wiped my system have no OS on it only TWRP.
I need to install a new recovery can anyone help me i am a noob for this !
Thank you
What command are any of you using to push the file??
Thx Josh
problem
lj50036 said:
What command are any of you using to push the file??
Thx Josh
Click to expand...
Click to collapse
i am trying to install a rom from the TWRP recovery .
i uploaded the file on the external SD card .
Nekrom4n said:
Managed to sort it. For some reason TWRP didn't like installing from root, and changed to a sub directory and it works fine now. Installed paranoid android in the end
Sent from my Transformer Pad TF300T using XDA Premium HD app
Click to expand...
Click to collapse
Thanks! As soon as I put the zips (PA4.4 + gapps) into my sdcard folder my nexus 7 was able to install w/ out fail.
Nekrom4n said:
Managed to sort it. For some reason TWRP didn't like installing from root, and changed to a sub directory and it works fine now. Installed paranoid android in the end
Sent from my Transformer Pad TF300T using XDA Premium HD app
Click to expand...
Click to collapse
How did you changed to your root directory to sub directory
I have a non-rooted Galaxy Tab 2 7.0 P3113 that was factory reset, so I'm trying to dump the data partition sector-by-sector to microSD to try to recover data.
Since there is no way to mount the internal memory as a hard drive through USB, it makes the most sense to use an aftermarket recovery which can read the sectors and write them to an image file on the microSD.
But I don't know if CWM or TWRP can do this. Obviously they can back up to microSD, but I've never heard of someone having issues with the 4gb file size limit of FAT32. That means the backups are always smaller than the full size of the internal memory!! Somehow they have a way of distinguishing used space from empty space, but the empty space is exactly what I need to copy in order to recover files.
Which brings me to the next issue-- the size of the partition images. TWRP apparently supports exFAT so that shouldn't be a problem. CWM seems to require some hacks. So does anybody know how to force TWRP to backup ALL sectors of a partition to microSD?
Edit: The DD command would also work but I don't know if it's enabled when you ADB in to a Galaxy in TWRP. I can't just try it because I lost the USB cable.
You can use Android Terminal Emulator on the phone and use the dd command providing you have Busybox installed.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
You can use Android Terminal Emulator on the phone and use the dd command providing you have Busybox installed.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
The problem is that requires rooting and downloading/installing a big app, which will overwrite a bunch of data... Right? Unless you can keep the files confined to the system partition I guess.
Just found out that TWRP can split up the backup so it can even use a FAT32 microSD. Pretty cool.
I just wish I could find out if it backs up the "empty" sectors. I emailed Team Win and they didn't reply.
I imagine that you could write a CWM zip that would copy the terminal emulator apk to the /system partition, but if I were you I would just shell out for a stock USB cord to use with ADB shell. You can find them online cheaply, and if you plan on doing any sort of rooting/customizing, you'll need one.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
I imagine that you could write a CWM zip that would copy the terminal emulator apk to the /system partition, but if I were you I would just shell out for a stock USB cord to use with ADB shell. You can find them online cheaply, and if you plan on doing any sort of rooting/customizing, you'll need one.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
Oh I ordered a cord. I just meant I couldn't try it right away.
I tried some ADB shell stuff before I lost the cord and I couldn't even get it to list partitions. They really lock it down I guess. As I understand, you do have ADB access from TWRP, but I don't know if all the commands work or if you have root access.
Edit: It turns out TWRP backs up the boot and system partition as IMG files using the DD command, but all the others are backed up as simple zip files. I guess they decided no one would want to get a raw image of the data partition. Seems strange because extracting files from raw sectors is a common method of recovering files from camera memory cards etc, so why not a tablet/phone?
http://www.icsforums.com/forum/showthread/13239
Try the adb root command.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
Try the adb root command.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
That would give root access while you're connected to the Recovery with ADB shell? Just type "root"?
So long as the device is actually rooted... Oh. Darn. I just remembered that the stock ROM has a bug that stops this from working. There's a kernel (flashed with ODIN) that fixes this for p5xxx, but it's not for 3xxx tabs. Maybe that's because they don't have the bug, though. Try it and see, but it may or may not work.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
So long as the device is actually rooted... Oh. Darn. I just remembered that the stock ROM has a bug that stops this from working. There's a kernel (flashed with ODIN) that fixes this for p5xxx, but it's not for 3xxx tabs. Maybe that's because they don't have the bug, though. Try it and see, but it may or may not work.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
Well it's not rooted to begin with.
I'd be happy to root IF I can root without writing anything to the data partition. So far that seems to be impossible.
What Android version are you using? I might be able to modify the standard root zip to use the /system partition exclusively.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
What Android version are you using? I might be able to modify the standard root zip to use the /system partition exclusively.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
Wow, that's possible? I think that would be useful for a lot of people trying to recover data.
Oh and what about the cache partition? Does the camera app store pictures temporarily there? If so that would be another source to try to recover pics from. Or do apps ever store docs there? Or is it not worth trying to preserve?
I was planning to use CF Auto Root but I asked Chainfire about it and he said that it can format the data partition if it becomes unreadable, so I didn't want to risk it.
Android 4.0.3
Kernel version 3.0.8-378347-user
[email protected] #1
Build number IML74K.P3113UEALD3
Model number GT-P3113
Well I guess this is all moot because I can't even figure out how to flash TWRP for the P3113. I downloaded an the .img file, Odin recognizes my device, and I got it into Download Mode, but I don't know how to set up the img as a tar.md5. You would think whoever made that .img would have provided instructions on flashing it, or just uploaded it as a tar.md5 since that's what you need. That's something that really annoys me about the Android community-- folks assume everybody knows what they're doing.
But the worst is all the threads where people ask how to flash TWRP to a Galaxy Tab 2 7.0 with Odin, and the replies are all "Just use CWM".
I found a download for the TWRP 2.2 for some Galaxy phone but I can't even examine the format of the tar.md5 because the freaking download site requires registration. Even if I duplicated the format, no idea if it would work. http://forum.xda-developers.com/showthread.php?p=30694404
I think all you need to do is rename the file to "recovery. img" and use 7-zip to put it inside a tar archive, then flash the tar with ODIN.
Posted from my Galaxy Tab 2 with CM10.1
MultipleMonomials said:
I think all you need to do is rename the file to "recovery. img" and use 7-zip to put it inside a tar archive, then flash the tar with ODIN.
Posted from my Galaxy Tab 2 with CM10.1
Click to expand...
Click to collapse
Apparently it's not that simple. Somehow you have to integrate an MD5 checksum with Linux console commands http://androidadn.com/2012/09/how-to-convert-img-files-to-tar-md5-to-do-a-flash-with-odin3/
Edit: Better thread http://forum.xda-developers.com/showthread.php?t=1484304
This is the IMG file I'm talking about http://rootzwiki.com/topic/27140-recoverytouchtwrp211galaxy-tab-2-7-and-10662012/
Edit: I do have a Macbook running 10.6 Snow Leopard so I think this might work http://www.macupdate.com/app/mac/14503/gui-tar
Edit: It can create a .tar but I don't know how to turn it into a tar.md5
Also, I was reading about Heimdall. Anybody know if it will work with just the .img file? http://www.thepowerbase.com/2012/04/slay-odin-with-the-mighty-heimdall/
Yeah, if you can get Heimdall running, you should be able to flash TWRP with that.
Posted from my Fascinate using XDA Premium
---------- Post added at 07:01 AM ---------- Previous post was at 06:58 AM ----------
I will warn you, however, that I think that by default TWRP backs up to /sdcard, which is located in /data/media, so make sure to switch that.
Posted from my Fascinate using XDA Premium
MultipleMonomials said:
Yeah, if you can get Heimdall running, you should be able to flash TWRP with that.
Posted from my Fascinate using XDA Premium
---------- Post added at 07:01 AM ---------- Previous post was at 06:58 AM ----------
I will warn you, however, that I think that by default TWRP backs up to /sdcard, which is located in /data/media, so make sure to switch that.
Posted from my Fascinate using XDA Premium
Click to expand...
Click to collapse
There's now a TWRP for the Tab 2 7.0! http://forum.xda-developers.com/showthread.php?p=38809460&posted=1#post38809460
I installed TWRP and now I'm trying to use ADB to see if I have root access. But Windows fails to install drivers for the tablet while in recovery mode
Well I've tried every driver I can find but I can't install the tablet in TWRP Recovery mode. Windows sees it as "GT-P3113"
Wait... Can't I load a rooted system image onto the tablet from Odin? Wouldn't that leave the other partitions unaffected?
Hey
I have a tf101g with prime and CWM but i want to unroot it back to factory.
I tried the one click unroot method but the bat closes and no menu option ever turns up. What options do i have here ?
thefollower said:
Hey
I have a tf101g with prime and CWM but i want to unroot it back to factory.
I tried the one click unroot method but the bat closes and no menu option ever turns up. What options do i have here ?
Click to expand...
Click to collapse
Download the stock firmware (WW or US). Unzip it once (it will still be a zip).
Place said file where you can flash with your recovery.
Flash stock firmware with CWM.
Reboot.
frederuco said:
Download the stock firmware (WW or US). Unzip it once (it will still be a zip).
Place said file where you can flash with your recovery.
Flash stock firmware with CWM.
Reboot.
Click to expand...
Click to collapse
I can't. I click choose zip from sdcard, and i get E:Can't mount /sdcard/
thefollower said:
I can't. I click choose zip from sdcard, and i get E:Can't mount /sdcard/
Click to expand...
Click to collapse
What version of CWM are you on and how did you install it?
I am assuming you mustve used ROM Manager to update it...See here: http://forum.xda-developers.com/showthread.php?t=1671598
You should use PERI to push a working recovery and then flash it using that.
frederuco said:
What version of CWM are you on and how did you install it?
I am assuming you mustve used ROM Manager to update it...See here: http://forum.xda-developers.com/showthread.php?t=1671598
You should use PERI to push a working recovery and then flash it using that.
Click to expand...
Click to collapse
Well i ran rom manager but it did work (as in it did update). I'm on version v6.0.1.3 ?
thefollower said:
Well i ran rom manager but it did work (as in it did update). I'm on version v6.0.1.3 ?
Click to expand...
Click to collapse
Also (my edit was not working)
I'm on android 3.2 which i think is not ICS operating system right?
thefollower said:
Well i ran rom manager but it did work (as in it did update). I'm on version v6.0.1.3 ?
Click to expand...
Click to collapse
thefollower said:
Also (my edit was not working)
I'm on android 3.2 which i think is not ICS operating system right?
Click to expand...
Click to collapse
Yes, 3.2 is Honeycomb. I am not sure if Wolf's Exploit works on Honeycomb or not, but I would give PERI a try (linked in my previous post).
frederuco said:
Yes, 3.2 is Honeycomb. I am not sure if Wolf's Exploit works on Honeycomb or not, but I would give PERI a try (linked in my previous post).
Click to expand...
Click to collapse
Ok i tried it, didn't work my tablet is asking for a password which i've never set =/ Won't let me passed it either. Tried and failed about 20 times to guess one and it doesnt give me an option to change my password.
Have i bricked it ? =/
thefollower said:
Ok i tried it, didn't work my tablet is asking for a password which i've never set =/ Won't let me passed it either. Tried and failed about 20 times to guess one and it doesnt give me an option to change my password.
Have i bricked it ? =/
Click to expand...
Click to collapse
Is this the password for the Android OS, or is it an encryption password?
If it is an encryption password before the Android login, you will need to do a format data (wipe the entire /data/ partition including /data/media/ a.k.a. /sdcard/). If your internal memory was encrypted then it would make sense why CWM cannot mount the /sdcard/.
Can you install zips from the microSD with your recovery? If so you could try flashing another recovery zip file and see if that works. You could also try to use adb to install another recovery when you are in CWM.
frederuco said:
Is this the password for the Android OS, or is it an encryption password?
If it is an encryption password before the Android login, you will need to do a format data (wipe the entire /data/ partition including /data/media/ a.k.a. /sdcard/). If your internal memory was encrypted then it would make sense why CWM cannot mount the /sdcard/.
Can you install zips from the microSD with your recovery? If so you could try flashing another recovery zip file and see if that works. You could also try to use adb to install another recovery when you are in CWM.
Click to expand...
Click to collapse
I have sinced fixed it, i re-ran the .bat file and did it again seems to solve it ^_^ Thanks!
thefollower said:
I have sinced fixed it, i re-ran the .bat file and did it again seems to solve it ^_^ Thanks!
Click to expand...
Click to collapse
Sweet
Hey!
i just rooted my phone by this way : http://www.modaco.com/topic/366771-root-your-moto-g-option-1-superboot/
and it works!
but now i need to install a custom recovery so i can install custom rom too!
how could i ? " i tried to use rom manager but he shows me that my device is not supported officially by CWR
any help ?
Pir4t3 said:
Hey!
i just rooted my phone by this way : http://www.modaco.com/topic/366771-root-your-moto-g-option-1-superboot/
and it works!
but now i need to install a custom recovery so i can install custom rom too!
how could i ? " i tried to use rom manager but he shows me that my device is not supported officially by CWR
any help ?
Click to expand...
Click to collapse
ok solved!
but i got another problem
i can't mount usb storage at the recovery mode!
i flashed CWM And TW .. and the same
how can i solve it ?
Pir4t3 said:
ok solved!
but i got another problem
i can't mount usb storage at the recovery mode!
i flashed CWM And TW .. and the same
how can i solve it ?
Click to expand...
Click to collapse
What do you mean by usb storage? You can flash your rom by sideloading it under your recovery.
adb sideload rom-name.zip
1pilo said:
What do you mean by usb storage? You can flash your rom by sideloading it under your recovery.
adb sideload rom-name.zip
Click to expand...
Click to collapse
when u open the recovery go to mount then mount usb storage
it makes ur pc read your phone so you can transfer some files
i used it many times in my old phone " Nexus s "
and I'm using mac so i don't this command will work
Pir4t3 said:
when u open the recovery go to mount then mount usb storage
it makes ur pc read your phone so you can transfer some files
i used it many times in my old phone " Nexus s "
and I'm using mac so i don't this command will work
Click to expand...
Click to collapse
I'm also using a mac. if your downloading the sdk from google u go to sdk/platform-tools and theres the adb file.
Next you need to place the rom file in the same folder
then you need to go to your recovery under install from sideload
and then in your terminal
./adb sideload rom-name.zip
after transfering from mac it gets installed directly
1pilo said:
I'm also using a mac. if your downloading the sdk from google u go to sdk/platform-tools and theres the adb file.
Next you need to place the rom file in the same folder
then you need to go to your recovery under install from sideload
and then in your terminal
./adb sideload rom-name.zip
after transfering from mac it gets installed directly
Click to expand...
Click to collapse
Thanks!
so if i want to transfer a file without installing it " if it zip too "
coz i want to try it .. but i just wanna try that it works without installing a rom
is it possible ?
and again thanks!
Pir4t3 said:
Thanks!
so if i want to transfer a file without installing it " if it zip too "
coz i want to try it .. but i just wanna try that it works without installing a rom
is it possible ?
and again thanks!
Click to expand...
Click to collapse
that should be tricky trying a rom without installing it.
The only solution I know would be doing a backup before. Then installing it and then restoring the backup.
There should be some other recovery where u can manage your roms. but I cant remember.
1pilo said:
that should be tricky trying a rom without installing it.
The only solution I know would be doing a backup before. Then installing it and then restoring the backup.
There should be some other recovery where u can manage your roms. but I cant remember.
Click to expand...
Click to collapse
i tried CMW and TW .. same thing happened!
i just wanna say Thank you again