I’m rooted and using CW for my recovery. I’m using a pre-owned phone that I (thought) I wiped before rooting. I am running stock 4.2.2, baseband MDL.
Initially all I wanted to do was nandroid to my SD card in preparation for flashing a custom ROM. I have a 32GB card that my phone recognizes just fine, so I thought it would make sense to put the backup there. So I enabled Use External Storage in ROM Manager settings and tried to begin the backup process.
First I tried it using the ROM Manager itself. Got this error message:
Unknown volume for path [/external_sd/clockworkmod/backup/name of the backupfile here]
/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log
Please open ROM Manager to report the issue
Then I tried doing it by going straight into Recovery and initiating it myself. That was in the Backup and Restore menu. The Backup location options were
/sdcard
/storage/sdcard1
Neither of those is the external card. Then I looked at the Advanced menu but there was no option that mentioned the external card. So it seems that the Recovery doesn’t see my external card. And the subdirectory options that Recovery wants to use do not exist on my phone.
At first I thought it was my SD card. I removed it, re-formatted it (non-Quick) on my computer, etc. I was still not able to save my recovery to my SD card. Again I see that CW want to put the recovery in a subdirectory that does not exist.
I was able to nandroid to the internal memory, so at least there’s that. But the file directories on my card are a mess that make no sense and don’t seem to match what I’ve seen on multiple forums.
Using ES File Explorer I see this from the root directory -
/storage/emulated/0
/storage/emulated/legacy
/storage/extSdCard
/storage/sdcard0 – this one has a little arrow at the start of the pathname. Does that make it a shortcut?
/storage/container – this one has a little arrow at the start of the pathname. Does that make it a shortcut?
Also from the root directory I see this –
/sdcard/ – this one has a little arrow at the start of the pathname
Then there are these –
/mnt which seems to have copies of sdcard and extSdCard
/mnt_1 which just has extSdCard, sdcard_1, sdcard_2, and sdcard_3
I’m running 4.2.2, baseband MDL. What I would like to do is get the directory structure back to stock and remove all the multiples of data and folders that I am seeing.
1. If I totally wipe the phone, will the stock file structure be restored?
2. If the answer to #1 is “yes”, what happens if I do an Advanced Restore, restoring Data from a nandroid created with the screwy structure? Does the screwy structure return?
Thanks,
Veronica
re: nandroid backup/restore
verngator said:
I’m rooted and using CW for my recovery. I’m using a pre-owned phone that I (thought) I wiped before rooting. I am running stock 4.2.2, baseband MDL.
Initially all I wanted to do was nandroid to my SD card in preparation for flashing a custom ROM. I have a 32GB card that my phone recognizes just fine, so I thought it would make sense to put the backup there. So I enabled Use External Storage in ROM Manager settings and tried to begin the backup process.
First I tried it using the ROM Manager itself. Got this error message:Unknown volume for path [/external_sd/clockworkmod/backup/name of the backupfile here]
/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log
Please open ROM Manager to report the issueThen I tried doing it by going straight into Recovery and initiating it myself. That was in the Backup and Restore menu. The Backup location options were
/sdcard
/storage/sdcard1
Neither of those is the external card. Then I looked at the Advanced menu but there was no option that mentioned the external card. So it seems that the Recovery doesn’t see my external card. And the subdirectory options that Recovery wants to use do not exist on my phone.
At first I thought it was my SD card. I removed it, re-formatted it (non-Quick) on my computer, etc. I was still not able to save my recovery to my SD card. Again I see that CW want to put the recovery in a subdirectory that does not exist.
I was able to nandroid to the internal memory, so at least there’s that. But the file directories on my card are a mess that make no sense and don’t seem to match what I’ve seen on multiple forums.
Using ES File Explorer I see this from the root directory -
/storage/emulated/0
/storage/emulated/legacy
/storage/extSdCard
/storage/sdcard0 – this one has a little arrow at the start of the pathname. Does that make it a shortcut?
/storage/container – this one has a little arrow at the start of the pathname. Does that make it a shortcut?
Also from the root directory I see this –
/sdcard/ – this one has a little arrow at the start of the pathname
Then there are these –
/mnt which seems to have copies of sdcard and extSdCard
/mnt_1 which just has extSdCard, sdcard_1, sdcard_2, and sdcard_3
I’m running 4.2.2, baseband MDL. What I would like to do is get the directory structure back to stock and remove all the multiples of data and folders that I am seeing.
1. If I totally wipe the phone, will the stock file structure be restored?
2. If the answer to #1 is “yes”, what happens if I do an Advanced Restore, restoring Data from a nandroid created with the screwy structure? Does the screwy structure return?
Thanks,
Veronica
Click to expand...
Click to collapse
If you wipe the phone using it's internal "factory data reset"
(settings>accounts>backup and reset>factory data reset)
It will restore the stock phone's internal sdcard's structures, directories and folders.
But what I would suggest is to download and odin flash the TWRP custom recovery,
that way you will not loose any data or user files and you will not have any problems
making or restoring nandroid backups.
TWRP is really easy to use and basically self-explanatory.
Here is the direct download link for TWRP: http://techerrata.com/get/twrp2/jfltetmo/openrecovery-twrp-2.6.3.1-jfltetmo.tar
Good luck!
Misterjunky said:
If you wipe the phone using it's internal "factory data reset"
(settings>accounts>backup and reset>factory data reset)
It will restore the stock phone's internal sdcard's structures, directories and folders.
But what I would suggest is to download and odin flash the TWRP custom recovery,
that way you will not loose any data or user files and you will not have any problems
making or restoring nandroid backups.
TWRP is really easy to use and basically self-explanatory.
Here is the direct download link for TWRP: http://techerrata.com/get/twrp2/jfltetmo/openrecovery-twrp-2.6.3.1-jfltetmo.tar
Good luck!
Click to expand...
Click to collapse
Thanks!
Are you saying that using TWRP will preserve the file structures and that CW has some kind of effect on them...or that CW is the reason I can't put my backup on my SD card?
verngator said:
Thanks!
Are you saying that using TWRP will preserve the file structures and that CW has some kind of effect on them...or that CW is the reason I can't put my backup on my SD card?
Click to expand...
Click to collapse
CWM or TWRP do not effect the file structures.
All I am saying is create a nandroid backup using TWRP and then restore
the backup. Then if it works properly for you then keep using twrp.
You will be pleasantly surprised how well twrp works and how easy it is to use.
Good luck!
Related
My HD2 can use clockworkmod from the bootloader to create a backup of sys & boot. Even windows had sprite backup to make a image of the rom.....so what do tilt users have to backup their rom so they can get back to a good copy of it or try a new rom without losing everything?
famewolf said:
My HD2 can use clockworkmod from the bootloader to create a backup of sys & boot. Even windows had sprite backup to make a image of the rom.....so what do tilt users have to backup their rom so they can get back to a good copy of it or try a new rom without losing everything?
Click to expand...
Click to collapse
You can backup data from within install menu(dont remember how its properly called)
And system well if you have a flashed image on sd card than there is no point to back it up.
-Arturo- said:
You can backup data from within install menu(dont remember how its properly called)
And system well if you have a flashed image on sd card than there is no point to back it up.
Click to expand...
Click to collapse
Some of us change our system as well such as custom kernels, customized framework's and additional tweaks to files such as the build.conf etc we'd rather not have to keep doing over.
famewolf said:
Some of us change our system as well such as custom kernels, customized framework's and additional tweaks to files such as the build.conf etc we'd rather not have to keep doing over.
Click to expand...
Click to collapse
Well the thing with system is that after you flash it ..it stays in the memory card then you can move it(back it up) to your computer and change it accordingly. So for example you have changed the framework in the system on your phone.... you can do the same with the backed up system on computer and it will take you not more then 15 seconds. You just open it with 7zip and the world is yours you can pretty much do whatever you want with it remove/add files replace them and so on....and that is all the files and folders in the system image. If you have ever removed/replaced/added files to a simple rar archive then you pretty much know how easy it is to edit a rom on your computer.
backing up your kaiser
Android is just Linux so you can do almost anything you can do in Linux if you can get to the shell. I use a program called Terminal Emulator from a guy called jackpal that I got from the Market. It will give you a command prompt so you can perform any Linux commands you like and if you type su it will act as super user and give you a # prompt.
I also went as far as writing my own userinit.sh that runs each time I boot and copies files from my data partition on NAND to the SD card. I just copy the /data/data, /data/app, /data/local, and /data/system folders to a folder named backup on the root of the SD card. The script also moves the previous backup to a folder called backup.old and if backup.old already exists it deletes it first.
This way if my phone reboots and data is corrupt I can use Root Explorer to copy the files in either backup or backup.old on my SD card back to NAND and my phone is restored.
You can also us the backup routines that are in the menu that comes up when you press the DPAD during the boot process but that backs up the entire data partition to the tune of 256MB and if there is corruption it really doesn't do much good.
As a side note you can mount the file created by the backup on any linux box using the mount command and a loop device. Once mounted you can just copy files that you need out and transfer them back to your phone using the SD card.
Hi all,
I have had my Note II for a day now and I love it but I seem to have an issue. I rooted and installed CWM 6.0.1.5 (modified version by Phil I believe) using Odin and I of course made a backup of my stock rooted ROM before I started flashing anything but when I tried to restore my Nand it says that it cant find the files and cant open the location. The CWM backup file IS there cause I can see it when I plug my phone into my computer but it wont restore and yes... I've tried EVERY restore option there is in CWM - Restore, Advanced Restore, Restore from External, Advanced Restore from External, so on and so on...
Can anyone tell my why I cant restore my Nandroid? This concerns me as well should I ever need to restore my backed up EFS as again, it just wont restore anything from CWM.
Anyone else with this issue or know what to do about it?
Also,
When I choose to flash anything from Internal SD it is now taking me to a list that shows /0, /obb and /legacy (or something like that) and then I have to choose /0 in order to gain access to my actual Internal files.
I actually have 2 of these sets of folders some how after flashing so now when I try and flash from Internal SD I have to choose /0 AND THEN ANOTHER /0 to access the internal card from CWM. This is quite weird and annoying to say the least. This behavior is also shown when searching my device using ANY file explorer and when I connect my phone to my computer as well - IE. I have all of these extra folders showing.
Can ANYONE explain why this is happening and how to avoid it if at all possible? Is this just something new in 4.2? I am currently running Jellybam 3.52 - 4.2.1 ROM.
Thanks,
Is your Nandroid backup from CWM or TWRP?
I've seen articles regarding the backup function of CWM, the backup files have to be in the following path on either the Internal or External SD Card. I'll use the below path as an example for an external SD card.
externalsdcard/clockworkmod/backup/[What ever you want the backup to be]
When you use the restore function from CWM and navigate to Restore from External/Internal SD Card. It should come up with the name of the folder you chose in [What ever you want the backup to be] and be able to restore your Nandroid backup.
Jonnit said:
Is your Nandroid backup from CWM or TWRP?
I've seen articles regarding the backup function of CWM, the backup files have to be in the following path on either the Internal or External SD Card. I'll use the below path as an example for an external SD card.
externalsdcard/clockworkmod/backup/[What ever you want the backup to be]
When you use the restore function from CWM and navigate to Restore from External/Internal SD Card. It should come up with the name of the folder you chose in [What ever you want the backup to be] and be able to restore your Nandroid backup.
Click to expand...
Click to collapse
My Nand is in CWM. I dont use TWRP.
As I said... My backup is on my internal sd card in the exact same format as you described but when I go to CWM and try to restore it first says "cannot open directory" and then immediately says "no files found"
Ive been using CWM since my original SGS and I have never seen this happen before. I can see it in my File Explorer, I can see it on my computer when I plug in the device but I cant get CWM to find the file to restore it.
Im about as confused as it gets...
Im testing something right now... I am making a new backup of my Jellybeer ROM to my External SD card to see what happens. IF it will find the files after its done I will advise but I still dont get why it wont restore from my internal card...?
*EDIT* So it seems to have backed up to the ext. sd card and I can see this file when I choose to restore from ext. sd but... it was the FASTEST backup Ive ever seen. It literally took like 45 seconds if that so I hope its a full back up!
IF my memory serves me correctly... When I backed up my stock ROM (my initial back up), I checked for the restore when it was done and it was there but then I flashed Hyperdroid and then I flashed PACman and then tried to restore my original Nand and it wouldn't let me so I wonder if I flash something else (which i don't want to do right now cause Jellybeer is serving me well at the moment) am I going to lose the ability to flash my Nand again?
Small bump...
yiannisthegreek said:
Small bump...
Click to expand...
Click to collapse
Ok so... NEW ISSUE!!!
I tried to restore the nand I made yesterday to my ext sd card (as I mentioned 2 posts back) and it said MD5 mismatch?! WTF?! How is that even possible? Can anyone please advise why my CWM is acting so weird?! Is there another version I can download perhaps? I am at a complete loss...
yiannisthegreek said:
Ok so... NEW ISSUE!!!
I tried to restore the nand I made yesterday to my ext sd card (as I mentioned 2 posts back) and it said MD5 mismatch?! WTF?! How is that even possible? Can anyone please advise why my CWM is acting so weird?! Is there another version I can download perhaps? I am at a complete loss...
Click to expand...
Click to collapse
Is there really no one who can help me with on this or give me some advice?
Md5 corrupted. ..
I.e your backup are corrupted.
Do factory reset then flash stock rom
Sent from my GT-N7100 using xda app-developers app
UtkarshGupta said:
Md5 corrupted. ..
I.e your backup are corrupted.
Do factory reset then flash stock rom
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply but... What would cause this to happen? Did you read my post where I backed up to my external sd card? Like I said... The backup literally only took like 45 seconds to complete which is weird unto itself.
What will flashing a stock ROM do to fix this? And when you say "stock" do you mean like "stock - unrooted"?
did u install cm 10. just read it propyl with cm 10.1 ie jb 4.2 creates a 0 folder all ur files get put in there
put anither rom on card delete the 0 folder then go to this link http://forum.xda-developers.com/showthread.php?t=1896696
every thing there you need to flash another rom or recovery
try chenglu recovery
dr ketan has done a very good usefull thread
hope it helps,,sounds like your backup is corrupt
sloppy1 said:
did u install cm 10. just read it propyl with cm 10.1 ie jb 4.2 creates a 0 folder all ur files get put in there
put anither rom on card delete the 0 folder then go to this link http://forum.xda-developers.com/showthread.php?t=1896696
every thing there you need to flash another rom or recovery
try chenglu recovery
dr ketan has done a very good usefull thread
hope it helps,,sounds like your backup is corrupt
Click to expand...
Click to collapse
Chenglu is the one I used when I rooted my device by using Dr. Ketans guide and now I cant get ANY of my NAND backups to restore...
With regard to the /0 file issue - Yes... I am running a 4.2.+ CM10.1 based ROM so I understand that it creates those /0 files but it just keeps on creating them after flashing anything new!!!
Your issue is related to the new JB 4.2 and multi-user feature. CWM cannot find backups since they are moved to a different folder
The day you need your backup, just install a JB 4.1.2, move your /0 folder to root of sdcard and run your nandroid
Phil3759 said:
Your issue is related to the new JB 4.2 and multi-user feature. CWM cannot find backups since they are moved to a different folder
The day you need your backup, just install a JB 4.1.2, move your /0 folder to root of sdcard and run your nandroid
Click to expand...
Click to collapse
Hi Phil,
Thanks for the reply my friend! So...you're saying that IF and when I need to restore my nand that I will have to install a 4.1.2 ROM first and then follow your instructions to move the /0 folder to the root of my sd card (i assume by using a file explorer of some kind in the 4.1.2 ROM itself?) and then flash my nand? Is that correct? Should I keep just any old 4.1.2 ROM on my device at all times for this purpose?
If so then what if I have multiple /0 files created as I do now? Currently I have 2 /0 folders and this seems to grow as I flash anything new. Do I then move ALL of the /0 folders to the root of my sd card before I can restore my nandroid backup?
Also... Why was I not able to restore from my external sd card using the option in your recovery either? I made a simple backup of my current 4.2.+ ROM to my external card and when I tried to restore it last night to test it said MD5 mismatch. Is this related to the 4.2 ROM issue as well?
yiannisthegreek said:
Chenglu is the one I used when I rooted my device by using Dr. Ketans guide and now I cant get ANY of my NAND backups to restore...
With regard to the /0 file issue - Yes... I am running a 4.2.+ CM10.1 based ROM so I understand that it creates those /0 files but it just keeps on creating them after flashing anything new!!!
Click to expand...
Click to collapse
delete 0 folder
flash cwm recovery with odin go into mounts
wipe caches and format system when done
power down then go into download mode
then flash stock img
that worked for me
sloppy1 said:
delete 0 folder
flash cwm recovery with odin go into mounts
wipe caches and format system when done
power down then go into download mode
then flash stock img
that worked for me
Click to expand...
Click to collapse
Im sorry but I dont know if I understand you completely...
Flash CWM with odin and then go into mounts? Firstly, what version of CWM are you saying to flash and then I assume you mean once thats done that I should then boot into recovery and then go into mounts? And then wipe caches, format system?
Can you clarify?
yiannisthegreek said:
Im sorry but I dont know if I understand you completely...
Flash CWM with odin and then go into mounts? Firstly, what version of CWM are you saying to flash and then I assume you mean once thats done that I should then boot into recovery and then go into mounts? And then wipe caches, format system?
Can you clarify?
Click to expand...
Click to collapse
re-dload chenglu recovery
when in recovery wipe data n dalvik then go into mounts then format system
then power down,
then download mode,
use odin to flash stock img
---------- Post added at 11:11 PM ---------- Previous post was at 11:06 PM ----------
try this 1st
connect fone to pc,
open up 0 folder inside 0 fokder will be clockwork folder, drag it to root of sd card,
try restore it from there that might work
sloppy1 said:
re-dload chenglu recovery
when in recovery wipe data n dalvik then go into mounts then format system
then power down,
then download mode,
use odin to flash stock img
---------- Post added at 11:11 PM ---------- Previous post was at 11:06 PM ----------
try this 1st
connect fone to pc,
open up 0 folder inside 0 fokder will be clockwork folder, drag it to root of sd card,
try restore it from there that might work
Click to expand...
Click to collapse
What I did was... I flashed v6.0.2.7 via ODIN (which has 4.2.+ ROM support) and I am now FINALLY able to restore my Nand back ups!!! The only thing now is that I apparently have 3 /0 folders on my device and I REALLY just want to know how to get rid of the extra folders and to know how to keep them from being created altogether!!!
I have one that has ALL of the original .zip files, gapps, etc that I installed on my device, then I have one that has an efs backup on it somehow and has a couple of application folders in it and then I have one that is like stock.
Why are these being created and how can I get rid of them? This is driving me CRAZY!!!
I had the same issue this morning.
I fixed it by installing the aroma file manager addon in Phil's CWM recovery and using aroma to copy the clockworkmod folder out of the /0 folder and back to the root of the sd card.
Then when I went into backup and restore the backup was visible again.
Once you have a rom installed you shoudl just be able to plug in via usb and just browse the sd card on your computer to move everything back out of the /0 folder
yiannisthegreek said:
Ok so... NEW ISSUE!!!
I tried to restore the nand I made yesterday to my ext sd card (as I mentioned 2 posts back) and it said MD5 mismatch?! WTF?! How is that even possible? Can anyone please advise why my CWM is acting so weird?! Is there another version I can download perhaps? I am at a complete loss...
Click to expand...
Click to collapse
You can install nandroid manager from playstore and you can fix nandroid md5 mismatch there or you can use terminal emulator to generate new md5 file in your nandroid (google it because i cant remember the command)
yiannisthegreek said:
Hi all,
I have had my Note II for a day now and I love it but I seem to have an issue. I rooted and installed CWM 6.0.1.5 (modified version by Phil I believe) using Odin and I of course made a backup of my stock rooted ROM before I started flashing anything but when I tried to restore my Nand it says that it cant find the files and cant open the location. The CWM backup file IS there cause I can see it when I plug my phone into my computer but it wont restore and yes... I've tried EVERY restore option there is in CWM - Restore, Advanced Restore, Restore from External, Advanced Restore from External, so on and so on...
Can anyone tell my why I cant restore my Nandroid? This concerns me as well should I ever need to restore my backed up EFS as again, it just wont restore anything from CWM.
Anyone else with this issue or know what to do about it?
Also,
When I choose to flash anything from Internal SD it is now taking me to a list that shows /0, /obb and /legacy (or something like that) and then I have to choose /0 in order to gain access to my actual Internal files.
I actually have 2 of these sets of folders some how after flashing so now when I try and flash from Internal SD I have to choose /0 AND THEN ANOTHER /0 to access the internal card from CWM. This is quite weird and annoying to say the least. This behavior is also shown when searching my device using ANY file explorer and when I connect my phone to my computer as well - IE. I have all of these extra folders showing.
Can ANYONE explain why this is happening and how to avoid it if at all possible? Is this just something new in 4.2? I am currently running Jellybam 3.52 - 4.2.1 ROM.
Thanks,
Click to expand...
Click to collapse
Is that cwm recovery on sdcard??? Please move it on your ext card and recover .
Or you got an md5 mismatch ? Use mismatch fixer or see my thread http://forum.xda-developers.com/showthread.php?t=2681072
Sent from my GT-S7562 using XDA Premium 4 mobile app
After several tries, I finally successfully installed Cyanogenmod 10.2 on my Rogers Samsung Galaxy S3 for the first time. Unfortunately, Titanium Backup can't find the files to restore app+data. I've gone to Preferences > Backup folder location to detect where the backup is...and it says it's empty.
The weird thing is, when I'm in Clockwork Recovery mode and browse through the folders, the folder structure is identical to before I installed the ROM. Like I see the folder I stored the .zip files in, my photo folders, and a lot of other folders. But when I browse through the File Manager on the phone or when it's plugged into the computer, that stuff doesn't exist.
I'm not really too knowledgeable in this sorta thing, but I've rooted/installed new ROMs on my old Galaxy S before and successfully restored apps+data using Titanium Backup. I'm not too sure what's happening here
Did wiping data during the installation delete the backup too? My photos are gone as well (this didn't happen on the Galaxy S...), I don't mind though since I already backed it all up on my computer, but it's still surprising.
Any help to restore my apps and data is much appreciated!!
[PS: During the setup, Google can also restore apps that it backed up for me...but I've tried this and it only restores the apps and not the data...so I'm really hoping Titanium Backup will do that for me]
If I recall, CM changes the sdcard locations. So say before CM you had sdcard (internal) then extsdcard (external). I believe CM creates an sdcard 0 and 1. Try looking in both places. Good luck.
pre4speed said:
If I recall, CM changes the sdcard locations. So say before CM you had sdcard (internal) then extsdcard (external). I believe CM creates an sdcard 0 and 1. Try looking in both places. Good luck.
Click to expand...
Click to collapse
Ya I couldn't find the backup in sdcard0. I should also mention that I made the mistake of storing it in internal, rather than external (sdcard1). The folders within sdcard0 is what it would look like on a new phone...
Anyways, I'm determined to find out how to recover it because it's in the phone SOMEWHERE because the folder structure still exists when I'm in Clockwork Recovery.
poutineroutine said:
Ya I couldn't find the backup in sdcard0. I should also mention that I made the mistake of storing it in internal, rather than external (sdcard1). The folders within sdcard0 is what it would look like on a new phone...
Anyways, I determined to find out how to recover it because it's in the phone SOMEWHERE because the folder structure still exists when I'm in Clockwork Recovery.
Click to expand...
Click to collapse
Menu, preferences, backup folder location, search whole device it will find then use current folder it will then restart and you're set
louvass said:
Menu, preferences, backup folder location, search whole device it will find then use current folder it will then restart and you're set
Click to expand...
Click to collapse
I did that many times already. It says 'No backup location was found'...
poutineroutine said:
I did that many times already. It says 'No backup location was found'...
Click to expand...
Click to collapse
I'm having the exact same problem. Has this problem been solved?
Some help desperately needed here! Thanks!
This could all depend on if you backed everything up on your device or SD card? If internal then I want to say the AOSP rom will not recognize anything from stock. However if you stored all those files on the external SD card and all lose your data, then there is an issue.
Suggestion: flash stock and see if it all comes back. If so then move all data to external SD card. Flash AOSP rom then it will all be there. Let me know how it works out
Hi,
I flashed last night Temasek's CM11 4.4.2 ROM (http://forum.xda-developers.com/showthread.php?t=2596887), wiping user data, caches, etc (I was on a rooted stock 4.1.2 ROM).
Everything is working great so far, I love this ROM, I just noticed a problem that it's quite annoying: it seems that the internal user data file system (which would be the /sdcard folder in my old ROM) is all messed up and replicated. Here;s what happens:
I created a backup of the current ROM with Online Nandroid backup. If I use a file explorer from my phone (X-plore) and go to the "partition" /storage/emulated/0 I can see the backup created in /storage/emulated/0/clockworkmod/backup/.
However, if I connect the phone to my PC and browse the contents, the partition that I see isn't that same partition, it's an older one with older files (for example it has a clockworkmod folder but the backup isn't there, and some folders are different). What;s worse is that I can't find this "old" partition when browsing my phone with X-plore. These are the palces where I've looked at:
- /storage/emulated/0 (shows the partition where the backup I just created went, I can see the backup there)
- With root privileges:
- /data/media (shows an older second partition with different folders)
- /data/media/0 (shows the "right" partition, where the backup is)
- /sdcard (again, shows the "right" partition)
- /storage/sdcard0 (same here, shows the "right" one)
So to sum up, it looks like I see at least 3 diffent partitions:
1. From my PC, I see an older one that I can't see from X-plore (I tried Cyanogenmod file explorer too)
2. From my phone, I see the one that has the backup I just created
3. From my phone too, I see a second old partition (different from the one I see from my PC)
So what I would like to know is:
1. How can I transfer the backup to my PC if I can't see the partition that holds it from there?
2. Is it safe to just delete all those folders in both old partitions? I'm sure they're taking space unnecessarily
Any help would be much appreciated!
After flashing any CM/AOSP Rom. They actually create a different folder set up. That's because of the ability of different users...
You need to apply the restore SD card after downgrade.
Found HERE:
http://forum.xda-developers.com/showthread.php?p=36873319
After that^^^^^^^^^ just make sure you copy everything you want.. Then you can delete all those other folders you don't need.
SENT FROM MY SAMMY i317 USING TAPATALK
Bajanman said:
After flashing any CM/AOSP Rom. They actually create a different folder set up. That's because of the ability of different users...
You need to apply the restore SD card after downgrade.
Found HERE:
http://forum.xda-developers.com/showthread.php?p=36873319
After that^^^^^^^^^ just make sure you copy everything you want.. Then you can delete all those other folders you don't need.
SENT FROM MY SAMMY i317 USING TAPATALK
Click to expand...
Click to collapse
Thanks for the reply! I'll try this as soon as I get home!
Bajanman said:
After flashing any CM/AOSP Rom. They actually create a different folder set up. That's because of the ability of different users...
You need to apply the restore SD card after downgrade.
Found HERE:
http://forum.xda-developers.com/showthread.php?p=36873319
After that^^^^^^^^^ just make sure you copy everything you want.. Then you can delete all those other folders you don't need.
SENT FROM MY SAMMY i317 USING TAPATALK
Click to expand...
Click to collapse
Hey! So it seems that did it!!! Now I can see ALL the contents in the /sdcard partition (X-plore shows it as /storage/emulated/0)
So my question is (I'm still pretty noob at all this): all the files/folders shown there shouldn't be critical for the OS to work, right? They should all be stuff saved by apps, that if they get deleted the worst thing that will happen is that those apps will lose that info, right? I ask because I can recognize most of them, but not all of them, so I'm not sure, and I would like to remove as much stuff as possible.
One file that makes me doubt specially is /sdcard/clockworkmod/download/download2.clokworkmod.com/recoveries/recovery-clockwork-touch-6.0.4.3-t0lteatt.img. Is that the actual CWM recovery that I have in my phone? Or just the installation image that can be removed?
Thank you very much for your help!
I ended up deleting everything from the sdcard partition and restoring the stuff that mattered to me, and everything seems fine now. The only weird thing is that when I create a backup with Online Nandroid backup (which gets stored in /sdcard/clockworkmod/backups), I can't see it when connecting my phone to my PC. I can see everything else in the sdcard except the backup. I've tried unplugging and plugin again the phone, rebooting it, rebooting my PC... but nothing. However, if I zip the backup folder with X-plore, leaving the zip file in the same folder as the backup folder, my PC can see it...
Weird thing but oh well!
Hi All,
Been trying to figure this out for the last 30 Hours straight & now I'm at the end of my rag with bloody knuckles & a hole in my desk... So I thought this would be a good a time as any to ask for some advice/help!
I have upgraded/flashed my HTC One M8 (2014) from LP (Android_Revolution_HD-One_M8_41.0_866186) to MM (ResurrectionRemix-M-v5.6.2-20160203-m8) (Based off CM13). I created a backup of all my Apps & Data using Titanium Backup & also made a full Nandroid backup using TWRP.
The problem is with restoring the data within the Nandroid backup, previously I have used the "Extract Data From Nandroid Backup" option in Titanium Backup to extract my SMS/MMS messages to my new Rom. However when I try to do that on MM I'm greeted with the message "Failed to locate your TWRP backups directory. Please verify that the "TWRP/BACKUPS" folder exists on your SD card."
To make thing worse, when I try to restore my Nandroid backup, it all goes well except my WiFi & Mobile Data no longer work... I can connect to my WiFi but it always says that there is no internet connection. So restoring is not an option as I can't do much without internet access.
Anyone have any ideas? I have tried to use a different SD Card & no joy, could it maybe be a permissions issue or something or am I just being a muppet & missing a simple solution.
Either way any advice would be much appreciated. Thanks.
Oh yeah, I Googled the message that Titanium brings up with quotation marks & there were only TWO results (both from the same thread on XDA)... I've never seen Google look so barren!
Hi - I'm having a similar issue. Upgraded from LP to MM and can't extract apps/data from Nandroid backup...
It says it's been successful but no apps are there...
NeoSonic said:
Hi All,
Been trying to figure this out for the last 30 Hours straight & now I'm at the end of my rag with bloody knuckles & a hole in my desk... So I thought this would be a good a time as any to ask for some advice/help!
I have upgraded/flashed my HTC One M8 (2014) from LP (Android_Revolution_HD-One_M8_41.0_866186) to MM (ResurrectionRemix-M-v5.6.2-20160203-m8) (Based off CM13). I created a backup of all my Apps & Data using Titanium Backup & also made a full Nandroid backup using TWRP.
The problem is with restoring the data within the Nandroid backup, previously I have used the "Extract Data From Nandroid Backup" option in Titanium Backup to extract my SMS/MMS messages to my new Rom. However when I try to do that on MM I'm greeted with the message "Failed to locate your TWRP backups directory. Please verify that the "TWRP/BACKUPS" folder exists on your SD card."
To make thing worse, when I try to restore my Nandroid backup, it all goes well except my WiFi & Mobile Data no longer work... I can connect to my WiFi but it always says that there is no internet connection. So restoring is not an option as I can't do much without internet access.
Anyone have any ideas? I have tried to use a different SD Card & no joy, could it maybe be a permissions issue or something or am I just being a muppet & missing a simple solution.
Either way any advice would be much appreciated. Thanks.
Oh yeah, I Googled the message that Titanium brings up with quotation marks & there were only TWO results (both from the same thread on XDA)... I've never seen Google look so barren!
Click to expand...
Click to collapse
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
topjohnwu said:
Q: **** app cannot access external SDcard!!
A: Look at this explanation:
Since Kitkat (2 years ago man), we don't have direct external storage write permission. Google consider it insecure, so they implemented this feature. The reason why you can access external SDcard easily before is because most roms on XDA already contains a hack in /system/etc/permissions/platform.xml. You should not rely on this hack forever, please take a look below.
In lollipop and after, Google provided a much secure and better way to grant external storage access to third party apps, first of all take a look at this article for details:
http://www.androidpolice.com/2014/1...s-automatic-mediastore-and-improves-security/
So instead of using the old platform.xml hack in the old Kitkat days, adopt yourself with this new behavior of Android!! If a certain app cannot access SDcard, ASK THE DEVELOPER to add support for this API!!
Many apps already have support for this API. I'll take Titanium Backup for example, as lots of you cannot find the way to use it on externals SD. In Menu>>Preferences>>Backup Location, you can choose Document Provider on top of the detect button.
In the provider, open the menu on the top right corner and select "Show SDcard", then you'll see External Storage in the left side. Select external SDcard in the document provider and press the button on the bottom, the app will then be granted access to the whole external storage. You can then create a new folder in TiBack and select it as your backup location.
Other apps also follows the instructions above, you just have to manually set up the folder where the app can access, in the case which most of us would love to give access to the whole SDcard, I set the location to the root of external storage. Each app has independent permission, so you have to manually grant each app you wish to access external storage.
Click to expand...
Click to collapse
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
'allo mate, I appreciate the reply but it has done nothing for me, just to clarify, I can see my backed up Apps & Data so I'm pretty sure it already has access to the SD card (correct me if I'm wrong) but it is still unable to see the Nandroid TWRP backup... bit of a Jar as I just paid for the premium version of Titanium Backup & Nandroid Manager. Nandroid Manager is able to see the files but hangs when trying to extract the Messages...
Any Ideas?
NeoSonic said:
'allo mate, I appreciate the reply but it has done nothing for me, just to clarify, I can see my backed up Apps & Data so I'm pretty sure it already has access to the SD card (correct me if I'm wrong) but it is still unable to see the Nandroid TWRP backup... bit of a Jar as I just paid for the premium version of Titanium Backup & Nandroid Manager. Nandroid Manager is able to see the files but hangs when trying to extract the Messages...
Any Ideas?
Click to expand...
Click to collapse
Copy or move the backup folder to internal storage and it will work. Not sure if it's a bug in TB or because of how MM handles the external sdcard but it doesn't check it. It finds the TWRP folder on internal, which if you don't backup on internal, only has your preferences (and theme if you use one). I never used it, so not sure if it was an issue before MM or not.
I did try and got an error about not finding a "clockworkmod/backup" folder or a "TWRP/Backups" folder so to see what happened I made a "Backups" folder in the TWRP directory on my internal storage and the error basically changed to say there were no backups in it.
-Duir- said:
Copy or move the backup folder to internal storage and it will work. Not sure if it's a bug in TB or because of how MM handles the external sdcard but it doesn't check it. It finds the TWRP folder on internal, which if you don't backup on internal, only has your preferences (and theme if you use one). I never used it, so not sure if it was an issue before MM or not.
I did try and got an error about not finding a "clockworkmod/backup" folder or a "TWRP/Backups" folder so to see what happened I made a "Backups" folder in the TWRP directory on my internal storage and the error basically changed to say there were no backups in it.
Click to expand...
Click to collapse
Cheers for that mate, seems to have done the trick. Unfortunately when I restore my Phone & Messaging data it completely destroys my phone... I get the message "com.android.phone" has stopped working & the entire system slows down to a crawl... I also get the Sim Card icon in the top right of the screen with a line through it... Is this because I'm moving between Sense to something else? I'm really at my wits end with this.
Any advice would be much appreciated.
NeoSonic said:
Cheers for that mate, seems to have done the trick. Unfortunately when I restore my Phone & Messaging data it completely destroys my phone... I get the message "com.android.phone" has stopped working & the entire system slows down to a crawl... I also get the Sim Card icon in the top right of the screen with a line through it... Is this because I'm moving between Sense to something else? I'm really at my wits end with this.
Any advice would be much appreciated.
Click to expand...
Click to collapse
I would say that's definitely it. Not only are you restoring app data for system apps from two different Android versions (LP -> MM) which can be buggy, but also for two completely different builds (Sense -> CM) which don't use the same apps. Sense will use HTC's own Phone and Messaging apps and CM if I remember uses stock Android versions). It's been too long since I tried CM but when I did it I had a third-party program for backing up contacts and installed something like GoSMS to backup messages, then installed the same apps on CM and restored the data from within those apps and the stock dialer/messaging apps had the data. But this was before HTC added backup/restore capability into their versions of the apps.
I'm having a similar issue, I google searched and it brought me here. I can see my backup from within TWRP, even on the PC I can see the TWRP folder and files. But when I boot and use titanium backup or nandroid manager, it says backup not found. Even in the root browser, the TWRP folder is empty and even on the PC I can't see the files anymore. Its kind of frustrating because there are two apps that I want restored but I don't want to completly restore using TWRP.
rapiollymega said:
I'm having a similar issue, I google searched and it brought me here. I can see my backup from within TWRP, even on the PC I can see the TWRP folder and files. But when I boot and use titanium backup or nandroid manager, it says backup not found. Even in the root browser, the TWRP folder is empty and even on the PC I can't see the files anymore. Its kind of frustrating because there are two apps that I want restored but I don't want to completly restore using TWRP.
Click to expand...
Click to collapse
Try going to Settings>Apps, find Titanium Backup, then select Permissions and see if Storage is toggled on.
I've got the same problem, storage permission is toggled on. Although I am using a LG G3
same here with my Galaxy S5 (AOKP 6.0.1)
The same problem on Xiaomi Mi Max (Android 6.0.1). External SD card permission is granted to TB (it can see full SD contents and select TWRP backup directories). But "extract from Nandroid backup" shows "folder not found" error.
I'm afraid CWM/TWRP directory locations are hardcoded as "/TWRP on SD card" while /sdcard is mapped to internal memory on modern phones.
I had copied data files of the backup (1.5 gigs, not a best choice) to internal memory (/sdcard) and TB immediately found them. Unfortunately, TB offers only apps and app data for restoration. I need to extract plain user data directories but TB offers no way for that.
Stock S5 6.0.1
same here...what a pain..
Had to copy nandroid backup from extsd to internal storage to restore app data
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
DAMN THANK YOU that solved it
Anyone knows how to extract the nandroidbackup from the TWRP folder on ExternalStorage? I cannot move the backup because its to large for my InternalStorage. I think it's an issue in TiBackup, creating a symbolic link also does not work since my ExternalStorage is formatted as exFAT.
Another fix I discovered is get your BACKUP ID
twrp save folder > TWRP>BACKUPS>BACKUPID>backup
if you have a backup without a backupid folder it will not work!
Having storage permission or not doesn't seem to help at all!
-Duir- said:
Is your TWRP backup folder on the external sdcard? If so, did you give Titanium access? There's multiple thread about apps needing to be given permission to access external storage. Titanium Backup especially has a lot of threads detailing this because of steps needed to access your backup folder if it is on the external sdcard.
Click to expand...
Click to collapse
This helps Titanium Backup see its own backup folder, but doesn't help it see the /TWRP/BACKUPS folder
emuzychenko said:
I'm afraid CWM/TWRP directory locations are hardcoded as "/TWRP on SD card" while /sdcard is mapped to internal memory on modern phones.
Click to expand...
Click to collapse
Can a symlink be created from the location it's looking to the location it's actually at?