Modifications to external SD card made in TWRP disappear - AT&T HTC One (M8)

I feel like I'm going crazy. I make a Nandroid backup in TWRP (via "fastboot boot twrp.img" not permanently installed) and the backup finishes, I verify that it is there with the TWRP file manager, and then *poof* at some point it disappears. I don't even have to reboot for it to disappear. If I use the USB mount to try to copy the backup off of the device before rebooting, while still under TWRP, it's gone. I tried to use the shell to copy a folder, and *poof* it also disappears. WHAT IS GOING ON!!?!?!?! It's as though the external sd card is mounted as read only but TWRP is just pretending it can write to it (I checked 'mount' and the external SD is listed rw). But is that what's going on here? And why?

Related

[Q] Vegan Ginger sdcard2 format command formatted sdcard and will not boot!

So I just finished putting the final tweak on a re-install of Vegan Ginger. My previous install had some issues with long boot times and the Gallery was not synchronizing with my Picasa Web Photos. The last step in the process was wiping the external SDcard which was complaining from Ginger since I formatted originally to FAT32 on my PC and was unsure of the "preferred" format for Android/Gingerbread. So I went into settings, and under sdcard2 selected "Erase". I then attempted to mount and got some errors regarding the sdcard was empty or not formatted, so I selected "Format". I attempted to re-mount again and got the same error. So I figured that I would give the CWM format a try and rebooted into CWM. I then selected "format sd-ext" and CWM complained that apps2sd did not exist. I then rebooted the tablet through the CWM main menu.
Somehow in this process my internal sdcard was formatted!
The next boot, Vegan Ginger displayed the G Tab Devs and Vegan Launch screen but would boot loop about 5 times until the screen went black.
I was able to boot into ClockWorkMod (CWM) and attempts to mount /data or /sdcard result in:
mount /sdcard
Code:
Can't mount /sdcard
Can't mount /dev/block/mmcblk3p1 (or /dev/block/mmcblk2p1)
(No such file or directory)
mount /data
Code:
Can't mount DATA:!
Can't mount /dev/block/mmcblk3p1 (or /dev/block/mmcblk2p1)
(No such file or directory)
I attempted to do a restore through CWM which resulted in a failure.
Any suggestions on how to get back to a running system? My guess is the following:
format data
format sdcard
The following information would be very helpful:
Is there any chance recovering the current system?
Is it possible to do a "system snapshot" of my tablet to avoid this issue in the future?
What is the preferred Android external SD card format?
Thanks!
Run nvflash from the dev section. There is nothing there to save anymore
I had this same issue with a 32gb micro sdcard formatted in fat32. After finally getting things back in order with nvflash/wipe/reload, Im hesitant to try again. Any idea on the cause or how to prevent it from happening?
brianafischer said:
Is it possible to do a "system snapshot" of my tablet to avoid this issue in the future?
Click to expand...
Click to collapse
In CWM, do a backup (this is the nandroid backup mentioned often here on xda)
When you boot into android, copy the backup file OFF the device, and onto a desktop PC, or a USB flash drive - anywhere but onto any storage that is on the gtab.
Repeat both those steps any time you're about to make major changes, or do any formatting, or otherwise play with sharp objects near your gtab.
When you screw the pooch, you can always copy your latest backup back to the backup directory on the gtab, and then restore from CWM. You may need to nvflash first to get the thing into some sane state, of course. But you'll have the image which will save lots of setup time after...

Rom Manager with CM7

Does this work on the Nook Tablet? Mine doesn't appear to function when I try to do a backup.
ROM Manager
I am using ROM manager on CM7 alpha12 without problems. I use it to boot to CWM recovery and back. I use TB and CWM for backup so I can't verify backup with ROM manager.
dshafer85268 said:
I am using ROM manager on CM7 alpha12 without problems. I use it to boot to CWM recovery and back. I use TB and CWM for backup so I can't verify backup with ROM manager.
Click to expand...
Click to collapse
So you are saying that you did the newest CM7 upgrade and your CWM works without using a SDcard? When I try to do a backup in ROM Manager my tablet will reboot and then it comes up with a screen saying to power cycle again and if this don't fix it call B&N support
ROM manager
Correct - if I want to use CWM I just start THE RM app and select to reboot to recovery. The tablet reboots into cwm and I do what I need,for example,backup and repartition data and media then select to reboot to regular CM7 ROM w/o changing SD card.
dshafer85268 said:
Correct - if I want to use CWM I just start THE RM app and select to reboot to recovery. The tablet reboots into cwm and I do what I need,for example,backup and repartition data and media then select to reboot to regular CM7 ROM w/o changing SD card.
Click to expand...
Click to collapse
Bummer Mine doesn't work and I have no idea how to fix it
I cant do a backup directly from ROM manager either.
BUT if you follow his directions and boot into CWM first, you can do a backup from there without a hitch.
If you want to name it yourself you need to go to the file in your file manager of choice, and change it there.
Can someone tell me where backups to internal storage are stored?
Thanks.
sdcard/clockworkmod/backup
I do believe you need a sd card for your backups.
It sounds like you do not have one, thats why you are not able to do a backup?
I have one and it creates a backup via internal. But when I try to backup to sd card, it tells me it failed to mount. So I backup via "internal storage." I can then go to restore and I see my backup from the internal there.
Dont have my tablet in front of me but it somehwere like: /mnt/emmc/clockworkmod/backup
You should find a clockwordmod in that general area if its like CM7 for other devices
You can manually mount and unmount your SDcard through clockwordmod as well. Have you tried to mount it manually before backing up
I just decided to try it again, booted into CWM and clicked "backup" and now its backing up to sd (free space showing as 30017MB, 32gb card so that makes sense).
Earlier when I tried manually mounting the sd card it was giving me an error (failed to mount). I have no idea what fixed it but its working now and I'm sure I'll be able to find the sdcard backup at the very least.
Thanks for your help.
The SD card doesnt always mount on its own in these devices. I HAVE noticed that..
Hell,it doent even want to mount with guidance, as you have just shown, and I have experienced as well..
Glad it worked this time..
sd mount
As has been noted in other threads, sometimes you have to take the card out and reinsert to get it to mount. I have had times when using the CWM menu option to mount sdcard failed. Turn the tablet over,click the card out and back in and it will mount
dshafer85268 said:
As has been noted in other threads, sometimes you have to take the card out and reinsert to get it to mount. I have had times when using the CWM menu option to mount sdcard failed. Turn the tablet over,click the card out and back in and it will mount
Click to expand...
Click to collapse
Definitely the case, but when in CWM it doesnt always mount even by ejecting and re-inserting the card.
At least from my experiences.

Stuck with CWM, Using adb to push.

Previously I have used adb to push files onto my internal sdcard, to then flash the phone.
In these instances I've pushed to /data/media, loaded up CWM, choose zip from internal. File is there, flash.
All very easy.
This time around, Ive run Super Wipe, pushed the new rom to /data/media.
But when i go to 'choose zip from internal sdcard', I get 'Couldn't open directory', 'No files found'
I even tested before I wiped, and pushing to /data/media worked, and they were found in CWM afterwards at root.
Any ideas? I dont have an external sdcard right now annoyingly, so adb pushing is my only idea Ive had.
It seems to not pick up its own root directory; always saying 'couldn't open directory', with or without data being mounted.
Cheers in advance! Soft brick for now, ouch
EDIT: Internal SDcard isn't being mounted when using the phone. Im running stock firmware, and I cant even install apps because they cant create folders. Messaging doesn't work, becuase it cant save the messages. Its like the internal sdcard has disconnected from the phone...
When hooked up to the PC, the phone storage is blank, and when I try to put files into it, it stays on 0%
My internal storage is non-responsive.

[Q] How to copy SD files from TWRP or fastboot to desktop

Hi guys,
I need your guys' help. Somehow I messed up my installation (Play store crashing, can't see SD card directory in the files browser etc.).
Goal:
All I want to do right now is to copy my SD card files from my N5 to my desktop (Mac) so I have all the settings and backups and then wipe the whole phone and start fresh, subsequently restoring app and settings.
I can see my SD card directory within the TWRP file manager, also my Nandroid backup, which I tried restoring (I don't know if you have to wipe anything before doing so), but after well over an hour turned the device off.
I read somewhere that there is a pull function to copy files from phone to desktop (see here: http://stackoverflow.com/questions/17629889/android-adb-pull-file-on-desktop). So I tried adb pull sdcard/ /Users/myusername/Desktop/android but it says "command not found"
Question:
What am I doing wrong and how do I copy the important stuff over?
Note: I have a N5 with TWRP custom recovery, unlocked bootloader.

How to copy TWRP Nandroid backup onto PC?

I made TWRP to make a nandroid backup. In past I copied files to pc, but when I tried to restore it failed. I red that it's not as simple, as permissions etc need to be copied, and you need to use adb. I couldn't get it to work. I rebooted to twrp, connected usb cable and in elevated command prompt
Code:
adb pull /sdcard/TWRP TWRP
but it only copied a .twrps file that's 1kb. How to do this?
you do do not need adb bro.
Just plug in your phone when running android (normat MTP or MSC) and browse SDcard/TWRP then copy. if the backup is on internal memory otherwise if it is on the External SDcard broswse The external SD card directory and you will find the folder TWRP.
you have to copy the TWRP Folder.

Categories

Resources