Accidently did factory reset - HTC One S

Hi folks,
I accidently selected factory default from the Bootloader menu instead of recovery and finally ended up losing all my data from sdcard... Have seen a link at xda forums where we can recover the files that are deleted from a mtp medium.. But for that we need to identify how our medium is mapped like mmcblk0 or anything.. Can anyone help me to find how our device sdcard will be mapped inside dev/block
Sent from my One S using xda app-developers app

Wouldnt you be better just starting off again.
Sent from my HTC One S using xda premium

csakthikumar said:
[...] we need to identify how our medium is mapped like mmcblk0 or anything.. Can anyone help me to find how our device sdcard will be mapped inside dev/block
Click to expand...
Click to collapse
You can find a thread on partition layout here:
http://forum.xda-developers.com/showthread.php?t=2091801
The sdcard is /dev/block/mmcblk0p36
Hope you can recover your stuff.
-Jobo

touch of jobo said:
You can find a thread on partition layout here:
http://forum.xda-developers.com/showthread.php?t=2091801
The sdcard is /dev/block/mmcblk0p36
Hope you can recover your stuff.
-Jobo
Click to expand...
Click to collapse
Dude this is what exactly I was expecting thanks a lot buddy
Sent from my One S using xda app-developers app

Related

I need help please

I installed cyanogenmod.. didnt like how it handled sdcard and internal memory.
Then I tried doing some stupid fixes that I found on these forums.. They didn't work so I decided to try to flash the leaked gingerbread rom.
Now my phone is starting in clockworkmod recovery and I can't do anything because I'm getting these stupid errors:
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
And no, I can't wipe, that's the first thing I tried.
Update:
Can't restore to stock. It won't let me format /cache, /system, and /data
Nvflash, put a new rom on the sd card, flash.
Sent from my LG-P999 using XDA App
jonnyboyca said:
Nvflash, put a new rom on the sd card, flash.
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
I'm sorry, I'm a noob. How do I do this?
This happened to me too. Take out the SD. Wipe it then put it back in
Sent from my LG-P999 using XDA Premium App
Nvflash how to http://forum.xda-developers.com/showthread.php?t=1054492
Sent from my LG-P999 using XDA App
jonnyboyca said:
Nvflash how to http://forum.xda-developers.com/showthread.php?t=1054492
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
I'm not trying to nvflash recovery. I already tried that. It didn't work.
moeahmad1995 said:
This happened to me too. Take out the SD. Wipe it then put it back in
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
That didn't work.
exact same thing happened to me, corrupted your internal partitions and you need to basicly wipe the partition table of your internal memory and manually redo every partition, i think theres 8 different ones, search around about using adb shell and parted to do that honestly i spent 2 days figuring it out myself and i dont know how i would begin explaining it, but youre not left with a total brick l ike i thought lol.. its fixable.
sincest said:
exact same thing happened to me, corrupted your internal partitions and you need to basicly wipe the partition table of your internal memory and manually redo every partition, i think theres 8 different ones, search around about using adb shell and parted to do that honestly i spent 2 days figuring it out myself and i dont know how i would begin explaining it, but youre not left with a total brick l ike i thought lol.. its fixable.
Click to expand...
Click to collapse
Help me please! Where do I start? Anything?
Well you might have messed up then... can to clockwork recovery? If not you prolly have to turn your device into an APX driver. They have a guide on this forum but I'm to lazy to find it..
Google it
Sent from my LG-P999 using XDA App
Sent from my LG-P999 using XDA App
that error means that the phone cant mount the cache partition it either isnt there annymore or the partition is corrupted, cant flash anything at all is the partitions arent there, flashing only formats existing partitions, but wont flash if they are not mountable, gahh first you need to learn how to use adb shell, google it, you have to install the android sdk for it, the partition table for the g2x is somewhere in these forums, search helps, i cant remember all the commands off the top of my head, but searchign around .. google is your best friend, you can find all you need, i did, and this is my first android phone with no experience on the android system ~ if it wassnt 8am and i wasnt with 0 sleep or felt motivated i would look up a few links, but married with children on netflix is quite entertaining.
http://forum.xda-developers.com/showpost.php?p=12932334&postcount=35
out of boredom i looked up the post with the information on all the partitions
sincest said:
that error means that the phone cant mount the cache partition it either isnt there annymore or the partition is corrupted, cant flash anything at all is the partitions arent there, flashing only formats existing partitions, but wont flash if they are not mountable, gahh first you need to learn how to use adb shell, google it, you have to install the android sdk for it, the partition table for the g2x is somewhere in these forums, search helps, i cant remember all the commands off the top of my head, but searchign around .. google is your best friend, you can find all you need, i did, and this is my first android phone with no experience on the android system ~ if it wassnt 8am and i wasnt with 0 sleep or felt motivated i would look up a few links, but married with children on netflix is quite entertaining.
http://forum.xda-developers.com/showpost.php?p=12932334&postcount=35
out of boredom i looked up the post with the information on all the partitions
Click to expand...
Click to collapse
Okay, thats a bit helpful. I have the adb shell already set up from other attempts at fixing this thing. So all I really need are the commands to reformat the partitions
Try this.http://forum.xda-developers.com/showthread.php?t=1156102
Sent from my butt using XDA Premium App
Thanks man! I'll try this out when I get home.
once in adb shell
parted /dev/block/mmcblk0
is the command you type to gen into the partition... print all will display your partition table, and just type .. help or commands i forget and read thru what the commands do, you'll figure it out xD
What do I do from there? I tried creating the partitions from (http://forum.xda-developers.com/showpost.php?p=12932334&postcount=35) but it says the location is out of the device /dev/block/mmcblk0
Nevermind, I figured it out. I had to change the units in parted. It was in MB i had to change it to KiB.
GOD DAMNIT. I fixed the partitions and restored a rom and now its stuck in the LG boot logo.
****ing god damn it i can't even get into cwm recovery.
I saw your post on reddit, tried to help but I guess I was out of my league
try nvflasher now? you don't even need the phone on to do that. it sounds like you got your partitions fixed, should be smooth sailing from here on out. Have you tried formatting the sdcard?
Yeah I tried reflashing cwm recovery with nvflash if thats what you're saying, but to no avail. Still stuck on LG boot screen.
FINAL EDIT: yeah I gave up here. Anyone else with these problems might want to just restore to stock recovery and exchange it at T-mobile. That's what I ended up doing.
I got the same problem too
I can get to CWM, but with the errors can't mount /cache/ recovery/command and other 4 lines.
Cant wipe or format anything.
Please help me out of this.
Thank you

Can't back up rom

I'm wanting to test out another rom, but for some reason I cannot back up my existing rom in cwm. I'm currently on CM7.
Any help is greatly appreciated!
Sent from my SGH-I997 using XDA App
I choose backup existing rom, then shows the little android guy but there's the huge exclamation mark next to it. No clue what's going on. Never had this problem before.
Sent from my SGH-I997 using XDA App
The back button is disabled....3 button and reboot back into recovery and try again
Sent from my SAMSUNG-SGH-I997 using xda premium
Thank you for your help dman, but I'm not sure what you mean by 3button thing?
Sent from my SGH-I997 using XDA App
chuckles_prs said:
Thank you for your help dman, but I'm not sure what you mean by 3button thing?
Sent from my SGH-I997 using XDA App
Click to expand...
Click to collapse
Hold power and both buttons on the volume rocker until the phone reboots. When you see the Samsung logo, let go of power, but keep holding the rocker down. This boots you into recovery.
Sent from my SAMSUNG-SGH-I997 using xda premium
Just wanted to make sure I was doing it right. Well still no luck. After the back up says complete, this is the log info.
No/sdcard/.android_secure found.
Skipping backup of applications on external storage.
Backing up cache...
No sd - ext found. Skipping backup of sd-ext
Generating md5 sum...
Backup complete.
so I reboot the phone after that, went into cwm and there's no backup from the back up list. :/
Sent from my SGH-I997 using XDA App
chuckles_prs said:
Just wanted to make sure I was doing it right. Well still no luck. After the back up says complete, this is the log info.
No/sdcard/.android_secure found.
Skipping backup of applications on external storage.
Backing up cache...
No sd - ext found. Skipping backup of sd-ext
Generating md5 sum...
Backup complete.
so I reboot the phone after that, went into cwm and there's no backup from the back up list. :/
Sent from my SGH-I997 using XDA App
Click to expand...
Click to collapse
Do you have an external sd card?
Yes I do. Its a 2gb
Sent from my SGH-I997 using XDA App
chuckles_prs said:
Yes I do. Its a 2gb
Sent from my SGH-I997 using XDA App
Click to expand...
Click to collapse
didnt mean to click thanks. do you have any room on it?
Total space: 1.86
Available space: 1.85
Sent from my SGH-I997 using XDA App
Even the internal storage is pretty much open. I have no music/videos/anything. Maybe a couple apps and that's about it.
Sent from my SGH-I997 using XDA App
Have you recently tried to move any files between your SD card and PC? Sometimes cards can become corrupted, or certain files at least can also become bad and not read. The more you mount and unmount the more degraded it gets. If you tried to delete any files, did you accidentally delete something from your internal SD?
Not that I'm aware of. When I get home ill try transferring a small file over. As far as the internal SD card its fine.
Sent from my SGH-I997 using XDA App
What is mouted under the mounts and storage menu of CWM?
I'm not sure how I check that?
Sent from my SGH-I997 using XDA App
@statik.
Mount/system
Unmount/cache
Mount/datadata
Mount/sdcard
Mount/data
Mount/emmc
Mount/usbstorage
Sent from my SGH-I997 using XDA App
Nothing at all? Sigh. I really wish I could find a solution to this.
I guess ill try out Odin to put it back to stock and then root and unlock it. I just hate the fact I can't back up anything.
Sent from my SGH-I997 using XDA App

[Q] File System question

I performed a Factory Reset / Wipe and was under the impression this cleared everything off the Xoom that I had added. Upon looking at the /mnt/sdcard folder I see folders of Apps that I had previously installed.
Question
Can the /mnt/sdcard be formatted ? If so how ?
Not super familiar with the whole file system setup so If this is a noob/stupid question could you please explain things for me.
mgabriel2 said:
Can the /mnt/sdcard be formatted ? If so how ?
Click to expand...
Click to collapse
There are two ways that I know of that I personally have done just in the last week or so. First you can unmount the SD card from the Xoom and place it in an Android Cell Phone, and go to settings/storage and from there unmount the card and click reformat SD card. Or you can hook the Xoom up via USB and clear it from within the PC/mac. Hope this helped.
Sent from my Xoom using xda premium
Nope that would be for the micro USB card this is the /mint/sdcard which is part of the internal memory
Sent from my Xoom using xda premium
mgabriel2 said:
Nope that would be for the micro USB card this is the /mint/sdcard which is part of the internal memory
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
Fastboot -w wipes all user data including /mnt/sdcard I lost some pictures of my dog because of it
Sent from my MB860 using xda premium
The simplest way I know of is thru the Backup/Restore options in CWM, just doing the wipes won't do it. I use the Team Rogue version of CWM tho, i don't remember off hand if it can be done in the other recovery's (i.e. Rom Managers version or the one from solarnz that is most popular).
I just, personally, like the way the menus are laid out with Team Rogue's version and not having like a dozen No's with one Yes when confirming an action, nothing against the others.
Thanks guys I will try the Fastboot -w when at home and able to use it and Team Rogue's Recovery when at work.
Its been awhile but what is the option in Team Rogue recovery I dont see one to wipe the Internal data
mgabriel2 said:
Its been awhile but what is the option in Team Rogue recovery I dont see one to wipe the Internal data
Click to expand...
Click to collapse
I believe that its or in the Advance or Mount Storage options....

[Q] How Is the internal memory partitioned/set up

So. I repartitioned my internal memory so i could use it to boot up my mac(long story short). I changed it to GUID partition table and formatted it to Mac OSX. Now iforgot how it was originally set up and CMW will not mount/reformat it. Im assuming i need to change it to Master Boot Record and partition it to MS-DOS (FAT). is this correct? will someone please give me some advice?
Look in the dev section for the Batch Cleanup Tool. It rewrites the partitions using NV flash
Sent from my LG-P999 using xda premium
rtotheichie said:
Look in the dev section for the Batch Cleanup Tool. It rewrites the partitions using NV flash
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I tried that but it cannot mount my /emmc therefore it cannot re write the partitions
ʞloʌ uıʇsnɾ said:
I tried that but it cannot mount my /emmc therefore it cannot re write the partitions
Click to expand...
Click to collapse
Can you load cwm? You can format emmc from there and then run the cleanup batch.
Are you able to download the bootloader?
Sent from my LG-P999 using xda app-developers app
---------- Post added at 12:13 AM ---------- Previous post was at 12:10 AM ----------
ʞloʌ uıʇsnɾ said:
I tried that but it cannot mount my /emmc therefore it cannot re write the partitions
Click to expand...
Click to collapse
Btw, I am very interested in this case as I have never come across something that could not be fixed with nvflash and this case seems as the first.
Sent from my LG-P999 using xda app-developers app

TWRP Recovery Galaxy Blaze Unofficial BETA

Here is my beta build of Team Win Recovery Project V2.3.1.1 For The Galaxy S Blaze 4G
I have been testing this out and so far everything is working fine.
I have noticed that in recovery the reboot buttons work but do not light when touched. I am working on a fix for this.
With that said:
Links: http://sourceforge.net/projects/paranoidblaze/files/TWRP-Recovery-Blaze.zip/download
Download and put on external sdcard
reboot recovery
Flash Zip in recovery...
reboot and enjoy...
Thanks...
TWRP opensource project
FIXED USB MOUNT ISSUE... NEW LINK UP
Awesome
Just flashed, rebooted back to recovery, checked it out a little but when I went to go reboot to system it just went to a black screen I had to pull the battery.
EDIT
Re-downloaded and Re-flashed and it reboots fine now not sure what happend.
Sent from my SlimBean Blaze
Don't think it has done that with me. I know paranoid does take a while to boot with black screen.
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Is this an actual ROM or just an add on
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
forgetaboutit said:
Is this an actual ROM or just an add on
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Click to expand...
Click to collapse
This would be a recovery.
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Is there source for this? Set up a repo and I'd be happy to help Already was thinking of doing it as a nice addition to my kernel, but you've done the hard part already.
merwin said:
Is there source for this? Set up a repo and I'd be happy to help Already was thinking of doing it as a nice addition to my kernel, but you've done the hard part already.
Click to expand...
Click to collapse
Yes TWRP is open source. you can find them on github:
https://github.com/TeamWin/Team-Win-Recovery-Project
it's pretty easy to incorporate into a system build if you follow their compilation guide at the bottom of their page
On screen touch buttons! Woo hoo! Thank you too cool
Sent from my SGH-T769 using Tapatalk 2
Any reason we can't access the internal SD card?
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Acerbus91 said:
Any reason we can't access the internal SD card?
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Click to expand...
Click to collapse
Just about to ask the same thing...I kept wondering where my download folder was.
BrownLarry said:
Just about to ask the same thing...I kept wondering where my download folder was.
Click to expand...
Click to collapse
If you are trying to mount the internal storage you go under advanced / File Manager
Really appreciate this, I'm sure everyone else does too. Use twrp on both my tablets, hate cwm. Is there any known issues of why this couldn't be permanent recovery?. Just about to flash will report bugs if any occur. Thanks button hit
Racing19969 said:
If you are trying to mount the internal storage you go under advanced / File Manager
Click to expand...
Click to collapse
I did that however, it still showed the external SD card, but not the internal
Sent from my SAMSUNG-SGH-T769 using xda app-developers app
Acerbus91 said:
Any reason we can't access the internal SD card?
Click to expand...
Click to collapse
Racing19969 said:
If you are trying to mount the internal storage you go under advanced / File Manager
Click to expand...
Click to collapse
Acerbus91 said:
I did that however, it still showed the external SD card, but not the internal
Click to expand...
Click to collapse
There doesn't seem to be an easy-to-use interface to mount the internal sdcard (emmc) - but you can still do it. Go into Advanced, then Terminal Command, select / as your starting folder (working directory - just hit select it'll likely be there as default), then type in the following:
/sbin/mount /dev/block/mmcblk0p28 /emmc
Then when you back out of there and get to the Install area, you can switch between the internal and external. Hope that helps!
dwitherell said:
There doesn't seem to be an easy-to-use interface to mount the internal sdcard (emmc) - but you can still do it. Go into Advanced, then Terminal Command, select / as your starting folder (working directory - just hit select it'll likely be there as default), then type in the following:
/sbin/mount /dev/block/mmcblk0p28 /emmc
Then when you back out of there and get to the Install area, you can switch between the internal and external. Hope that helps!
Click to expand...
Click to collapse
Going to try a new build and hopefully fix this issue... will let you know soon..
Racing19969 said:
Going to try a new build and hopefully fix this issue... will let you know soon..
Click to expand...
Click to collapse
One other thing I noticed - not sure it matters if it was made this way by design, but if you happen to be usb connected while in recovery and then reboot system, instead of rebooting the phone just powers down. Just thought I'd throw that out there.
As an aside, this is my first experience with this recovery - me likey
OK how so I go back to cmw cause this is confusing as hell
paranoidandroidpoweredBLAZE!!
forgetaboutit said:
OK how so I go back to cmw cause this is confusing as hell
paranoidandroidpoweredBLAZE!!
Click to expand...
Click to collapse
Wait what? this is like the EASIEST thing ever. I mean you could not get any easier/smoother than TWRP.
Search in the Dev section. Plenty of threads showing you how to get back to cwm
I couldn't even find the files I needed to flash
paranoidandroidpoweredBLAZE!!

Categories

Resources