Hi there.
I got a problem with TWRP since I partitioned my SD card. Now I lost sd card write authorization and I don't know what I can do to recover it.
Any way to fix that please? (unless the only solution is to flash it again?)
Thank you in advance.
-Device (unrelated but this can help):
SM-G361F, AOG1 build. (Pre-rooted firmware)
-TWRP version: 3.0.2-0
-SD Card main partition format: exFAT
Reflashing it does not work. Posting exact log...
Updating partition details...
...done
Full SELinux support is present.
Updating partition details...
...done
* Total number of partitions to back up: 7
* Available space: 18278MB
[BACKUP STARTED]
* Backup Folder: /external_sd/TWRP/BACKUPS/(myandroiddeviceserialnumber)/2017-07-19--17-12-14_LMY48B.G361FXXU1AOG1/
Can not create '/external_sd/TWRP/BACKUPS/(myandroiddeviceserialnumber)/2017-07-19--17-12-14_LMY48B.G361FXXU1AOG1/' folder (Permission denied).
Failed to make backup folder.
Chmod-ing the external SD or the backup directory is also ineffective. TWRP lost his write permission because of the state of the SD Card.
If it's partitioned, TWRP can't write on because it's not a full block. The real and only way to restore the recovery is restoring the SD Card back to its original state.
Thank you @godkingofcanada for the awnser.
Atronid said:
Chmod-ing the external SD or the backup directory is also ineffective. TWRP lost his write permission because of the state of the SD Card.
If it's partitioned, TWRP can't write on because it's not a full block. The real and only way to restore the recovery is restoring the SD Card back to its original state.
Thank you @godkingofcanada for the awnser.
Click to expand...
Click to collapse
I shouldn't have to declare victory before testing.
I was wrong, it didn't fix anything.
And retry to chmod, boot TWRP without then with the SD also does not fix anything.
There is absolutely no way out of this problem??
Thread closed.
The only way to fix TWRP is flashing a different version of TWRP. I tested 2.8.7.1 and backup is now reworking.
Hope I will successfully go back to 3.0.2.0...
So, thing to remember:
Partitioning SD Card will make TWRP to lose its SD Card write access. If you do that once, you just have to flash another version of TWRP to reset state then go back to the actual version .
Related
I am having problems with the recovery on my phone, it is currently Amon 1.6.2.
In recovery I cannot create nand backups or flash new roms. When trying to create a backup I get this error:
Error: run ‘nandroid-mobile.sh’ via adb!
When trying to flash new roms from SD card i get this:
E: Can’t mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
Invalid argument
E: Can’t mount SDCARD:
Any help would be extremely appreciated.
thanks very much.
Make sure your battery is charged past 25% I believe. Its a saftey feature so you won't brick your phone...
battery is fully charged.
first thing i'd try is backing up all data on SDCard... then, boot into whatever ROM you are currently using. go to Menu > Settings > SD Card & Phone Storage.
Unmount SDCard and then format card. then copy a rom.zip to your SD and boot into recovery and try again. if that doesn't work, try formatting the card in recovery, then see if it will mount as USB, copy rom.zip again and try again.
you weren't by any chance trying to resize the partitions on your phone, were you?
tenzomonk said:
first thing i'd try is backing up all data on SDCard... then, boot into whatever ROM you are currently using. go to Menu > Settings > SD Card & Phone Storage.
Unmount SDCard and then format card. then copy a rom.zip to your SD and boot into recovery and try again. if that doesn't work, try formatting the card in recovery, then see if it will mount as USB, copy rom.zip again and try again.
you weren't by any chance trying to resize the partitions on your phone, were you?
Click to expand...
Click to collapse
i was not trying to resize the partitions, thanks for help i will try this. 1 question though is that i have a lot of apps on my sd card, how do i back those up before reformatting.
Put the card in your computer and drag and drop
Sent from my Motorola Droid 2 with Fission 2.2.2
carbon111 said:
i was not trying to resize the partitions, thanks for help i will try this. 1 question though is that i have a lot of apps on my sd card, how do i back those up before reformatting.
Click to expand...
Click to collapse
Titanium Backup, My Backup Pro or Sprite Backup (pay, on market).
Or search for QtADB here on XDA (not Eris specific) for telling it to backup apps and/or app settings from a Windows GUI, and it's free. Good luck.
Hi guys,
My SD card got corrupted before flashing a rom, so I'm a bit stuck (I can access the CWM menu, the kernel is fine).
So I formatted the card to FAT32 (tried other formats) but when I try and flash an update.zip from it I get
E:Can't mount /sdcard/
So I'm thinking, are there some files missing from the SD card that CWM/android need to interact with it? I can imagine these files were wiped when I did a format. Like superuser files or something? You know also, those hidden files beginning with '.'
I've tried all the usual methods like formatting using SDFormatter and stuff - still, CWM can't see it (my computer can if USB is mounted). Am I right in thinking I need some kind of system files on the SD card?
Any help?
Thanks in advance
the best would be paid copy a rom sd card and flash, or flash a rom stock also either ics or gb and see if there cel recognize SD can not think of anything else. :highfive:
Ok, I guess I'll try that if there's nothing else. If I flash an official .ftf with Flashtool will I need to do anything to my bootloader (currently unlocked)?
Edit: I've been reading around and it seems almost certain that my sd card just needs some vital files on it for CWM and android...
Try by simply reflashing any kernel with cwm if your sd card is readable from pc it is not corrupted, it's more likely somethign wrong with cwm, you should be able to fix reflashing kernel which shouldn't be much of a prob since you have unlocked bl
Rudjgaard said:
Try by simply reflashing any kernel with cwm if your sd card is readable from pc it is not corrupted, it's more likely somethign wrong with cwm, you should be able to fix reflashing kernel which shouldn't be much of a prob since you have unlocked bl
Click to expand...
Click to collapse
Hey nice idea, but I tried that earlier and multiple kernels give the same error - it can't be CWM, it must be the SD card (or what's not on the SD card).
Edit: I've tried chkdsk and formatting to a variety of systems using a variety of partition managers, nothings works, my phone just can't mount the SD.
notoxa said:
Hi guys,
My SD card got corrupted before flashing a rom, so I'm a bit stuck (I can access the CWM menu, the kernel is fine).
So I formatted the card to FAT32 (tried other formats) but when I try and flash an update.zip from it I get
E:Can't mount /sdcard/
So I'm thinking, are there some files missing from the SD card that CWM/android need to interact with it? I can imagine these files were wiped when I did a format. Like superuser files or something? You know also, those hidden files beginning with '.'
I've tried all the usual methods like formatting using SDFormatter and stuff - still, CWM can't see it (my computer can if USB is mounted). Am I right in thinking I need some kind of system files on the SD card?
Any help?
Thanks in advance
Click to expand...
Click to collapse
First backup your nandroid backup (if you have one) in a secure place (not the sdcard)
Put your sd card on some other android phone with cwm and format it from the cwm mount/storage option.
if you don't have a nandroid backup skip the next two steps.
mount the sdcard in your computer and create two folders in the sdcard (a folder inside a folder) name the parent folder as "clockworkmod" and child as "backup" .
Put your nandroid backup in /sdcard/clockworkmod/backup/
Now put the Rom zip file you want to flash in the root of the sd card
Power down your phone.
Put the memory card in your phone
Boot into cwm and try to flash the rom.
If the second step fails with "error mounting sd card" try with another memory card or with another phone.
PRESS THANKS IF I HAVE HELPED YOU
sent from my smultron
my s3 is unable to restore nandroid backup until restoring data proses.
it will give error restoring data thus stop the proses.
already tried backup in internal & external memory but still fails.
my cwm version is 5.5.0.4 cf-v1.5
need advice & help.
i dont have problem with my s2.
thanks.
What a coincidence. I was going to send similar post . Yesterday I experienced the same problem. I wanted to go back to ICS from JB but CWM failed to restore data. Fortunately I had titanium backup as well, so I could restore all my applications.
The error message was "Error while restoring /data!". I have recovery.log if someone wants to look at it.
Use the same CF Root version and CWM to restore that was used to backup sometimes helps .
jje
I used the same version for backup and restore.
Maybe you should try touch recover 6.0.1.2
It work fine for me
Can I restore my old backups with touch recover?
Try using advanced restore and reinstall the components separately
marklar666 said:
Can I restore my old backups with touch recover?
Click to expand...
Click to collapse
Yes backward compatibility.
Ok. Will try it in future. Already recovered all my data from titanium backup.
never had this problem myself, have you checked the size of the backups, if they are less than 700 meg the backup process may not have worked, was there enough space on your're SD card to do the backup in the first place?.
Try copying the backup to the other SD card, does it copy ok, if so try to restore from there. Seems to be there has to be a reason for this that you should try to get the bottom of.
My backup was around 3.5GB. There was over 9GB free space on sdcard and 5GB free on extsdcard. Don't think there was not enough space.
i have backup & restored in internal & external memory yet the restoration of data still failed.
in addition i have tried restoring nandroid by "advance restore from internal sdcard" step by step & still failed when restoring data.
noted that i have used the same version on cwm with my nandroid.
hope someone able to give me a solution for my problem.
i never have this problem with my S2.
Problem solved!
I have manage to successfully restored my nandroid backup by flashing cwm touch recovery 6.0.1.2 from this thread click here.
:victory:
Same problem as kakiboyer, except a bit funkier.
got the 64GB microSD card off amazon popped it in and it just just went. no formatting no nothing.
backed up my original stock image using cwm5.5 and saved it onto the external SD card.
then flashed supernexus build 5 which gave a problem with my external 64GB SD card when i turned it on,it said it was damaged and needed a reformat (not fat32 im guessing) either way the flash was fine, i just need to reclaim the stuff on my 64GB SD card.
I then tried restoring to my original image and then removing the data that way, but instead i got the /data error (hence why i'm here).
Same set up as kakiboyer by the way.
using cwm version 5.5.0.4 cf-v1.5
so when i updated to cmw touch 6.0 it now can't see the external sd card (only the internal one).
BUT when i flash back to 5.5 it can see the external SD as well as the original backups, all my music/movie files etc. on the external SD.
So since the OS can't see the card, touch 6.0 can't see it and i can't revert back to the original image; how can i get my stuff off this SD card?
Fixed it!
Slapped the sd card into my windows machine and ran "chkdsk F: /r" with F: been whatever the sd card is!
got everything back, it was extFAT so copied everything off, reformatted to fat32 and put everything back on.
Happy days!
I had a bootloop issue on my GT-N9300 speadtrum and finally solved it by flashing the ROM using the UpgradeDownload tool
Phone Specifications and Phone information
After the process, I lost all data on the phone (call logs, etc) and on the SD card and I had to root again the phone.
When using testdisk to restore the SD card, I get this:
The first two FAT32 partitions give "no file found, filesystem may be damaged" while the third one contains files.
The first swap partition option gives: Can't open filesystem; files system seems damaged, while the second one gives this result:
First [rom] partition also gives that "it seems damaged"while the next two [rom] partitions contain entries.
The last Linux swap gives: Support for this filesystem hasn't been enabled during compilation
What shall I do to make the SD card work again and restore all my data?
I hope I clearly described it and that someone can help me restore the data.
Hi,
yesterday i was flashing a new Pie Rom. Of course before that ive done a Full Backup via TWRP.
The Rom wasnt really satisfying, so i wanted to restore my backup but then i realized that i can´t move files bigger then 4GB´s (The TWRP Backup contained a 6GB File) from my pc to the sdcard.
I thought this must be because of the file system, so i changed my filesystem via TWRP to F2FS. Somehow ive done the restore then but my sd card was gone.
Then i went back to TWRP and tried to change the file system on my SD Card again but there was an error "Invalid Partition", so i had the idea to format the sdcard.
TWRP get stuck while formatting the SD-Card, after more then 30 Minutes i killed TWRP with holding Power and Volume down Button.
Back in TWRP i cant do anything with the card and of course in system it still wont be recognized.
I tried to wipe or format again but TWRP gives back just errors.
When i try to change Filesystem TWRP tells this facts:
Mount Point: /external_sd
File system: vfat
Present: No
Removable: Yes
Size: 0MB
Used: 0MB
Free: 0MB
Backup Size: 0MB
I cant believe the card is broken, i think i f**ked up the Partition(Table) of the card while powering off during formatting somehow.
Unfortunately i have no other possibility to check the card -> no card reader for pc or another phone.
Do somebody know this problem and is it maybe possible to fix it somehow with my phone?
Thx
Ernesto0023 said:
Hi,
yesterday i was flashing a new Pie Rom. Of course before that ive done a Full Backup via TWRP.
The Rom wasnt really satisfying, so i wanted to restore my backup but then i realized that i can´t move files bigger then 4GB´s (The TWRP Backup contained a 6GB File) from my pc to the sdcard.
I thought this must be because of the file system, so i changed my filesystem via TWRP to F2FS. Somehow ive done the restore then but my sd card was gone.
Then i went back to TWRP and tried to change the file system on my SD Card again but there was an error "Invalid Partition", so i had the idea to format the sdcard.
TWRP get stuck while formatting the SD-Card, after more then 30 Minutes i killed TWRP with holding Power and Volume down Button.
Back in TWRP i cant do anything with the card and of course in system it still wont be recognized.
I tried to wipe or format again but TWRP gives back just errors.
When i try to change Filesystem TWRP tells this facts:
Mount Point: /external_sd
File system: vfat
Present: No
Removable: Yes
Size: 0MB
Used: 0MB
Free: 0MB
Backup Size: 0MB
I cant believe the card is broken, i think i f**ked up the Partition(Table) of the card while powering off during formatting somehow.
Unfortunately i have no other possibility to check the card -> no card reader for pc or another phone.
Do somebody know this problem and is it maybe possible to fix it somehow with my phone?
Thx
Click to expand...
Click to collapse
Ive found a possibility to connect the micro sd to my pc via usb and even there it didnt get recognized from windows. It has found a new drive but no access and no possibility to check or repair it.
So ive tried a few 3rd party tools without success and finally with EaseUS Partition Manager i was able to format it to FAT. The card works now like a charm again. :good: