[Q] How to restore only internal storage with Philz Recovery - Android Q&A, Help & Troubleshooting

Hi there,
I had an operating cm11 on my galaxy s4. Now I made a complete backup and then installed a cm12 prev version (http://forum.xda-developers.com/galaxy-s4/i9505-orig-develop/rom-cyanogenmod-12-t2943934).
Because the author recommand to change from ext4 to f2fs I had to format the internal storage.
Know I want to restore only the internal storage (some explorer call it /storage/emulated/0 and some /sdcard).
Which restore type do i have to set in Philz Recovery to restore only this data?
Is it /data and /data/media?
Or is it anything else?
Thank you
Zoker

Related

[Q] SD card change+Rom change from xpart to a2sd+ and taking over ext4?

Hey guys.
I've read some threads about moving ext4 from one SD to another, but this isn't exactly what I need.
I am currently on MIUI XJ 1.8.12 XPart rom and I want to change to 1.8.12 A2SD+ and a bigger SD card.
Changing the rom isn't the problem, but backing up my ext4 partition from the old SD is!
I used the newest ubuntu live CD(11.04 I believe) to partition the new SD card to FAT32/ext4. Everything is fine.
The SD gets recognized as it should. FAT32 and EXT4 partition mount and I can access them.
But with my old SD it doesn't work.
If I plug it in, FAT32 and EXT4 partition get recognized. FAT32 partition is named "195" and EXT4 is "userdata".
When I try to click the EXT4 it just dissappears. In the media tab it is listed, but I can't access it because I am not the owner of it/I am missing permissions/rights to access it.
I partitioned it with CWM recovery, but meanwhile I changed my recovery to RMD 1.03 (I don't think that this matters though...).
Now my questions:
1. How can I access my EXT4 partition to backup its content?
2. If I can't access it because I can't change permissions... do I really need to copy it or will it be enough to restore my apps that I backed up under xpart with MIUI Backup?
3. Is it a problem to restore a app backup done under xpart-script with a a2sd+ rom?
Thank you for reading!
you can backup your ext partition in recovery. i think you can also just open a file explorer and copy the folder /sd-ext (i havent tried this, so im not sure if this will work)
Ok, I haven't tried to backup it with recovery.
Will it then be possible to flash a new rom (a2sd+ instead of xpart) and restore only the ext partition?
I want a clean install with a2sd+ but I don't want to loose settings and savegames.
Just a small "up" for my thread.
I backed up my sd-ext partition and I could wipe right now.
Will there be any problems with restoring the ext partition on a new rom?
What will happen if I just wipe sd-ext and restore MIUI Backup?
Will sd-ext will just be "rebuilded" from the MIUI Backup?
Bananebieger said:
Will there be any problems with restoring the ext partition on a new rom?
Click to expand...
Click to collapse
there will only be problems if your rom does not support either your a2sd or your current ext filesystem (which is to say, does it support ext4 or does it only support ext2 or ext3?)
Bananebieger said:
What will happen if I just wipe sd-ext and restore MIUI Backup?
Will sd-ext will just be "rebuilded" from the MIUI Backup?
Click to expand...
Click to collapse
i believe so (please dont take my word for it as i have not done this before. however, im pretty sure it will be "rebuilt" as you have it included in your backup)
Thank you again.
Its the MIUI rom from XJ for Desire Classic with XPART script. Your ext Partition gets converted to ext4 if you install this rom.
Will there be problems with using sd-ext content from XPART after update to A2SD+?
Maybe I'll bother the dev from this rom

[Q] What exactly happens when I delete my internal SD card?

My internal SD card is mostly full (11GB) after a year of using my i9300, and I'm not sure where all that space has gone (some pictures and video but I think a lot of apps I used throughout the last year but ended up deleting). So I figure the next time I try a new ROM I will delete the whole thing and start from scratch, backing up my data of course. I will back up the entire internal SD card to my computer and take a nandroid backup before doing anything.
Should I format the internal SD card or just delete all its contents?
I've noticed that when I try a new ROM the internal SD card isn't touched, so where does the ROM actually get stored?
What does the wipe data / factory reset option in ClockworkMod Recovery actually wipe?
Does a nandroid backup back up the internal SD card? I have a feeling the answer is no, but then what does it actually back up?
If I use TitaniumBackup to back up all my app data and move that backup to my computer, then I delete the internal SD card, wipe the system, tehen replace my old ROM with a new ROM, then use TitaniumBackup to restore my apps and their data, am I missing anything? For example, I don't think certain data gets backed up by TitaniumBackup, for example photos (even though that might be considered 'data' of the camera app), so what could I be unwittingly missing when I do my restore from TitaniumBackup? How will I know what things I need from what's currently on my internal SD card?
iamthemandroid said:
Should I format the internal SD card or just delete all its contents?
Click to expand...
Click to collapse
No need to format it.
iamthemandroid said:
I've noticed that when I try a new ROM the internal SD card isn't touched, so where does the ROM actually get stored?
Click to expand...
Click to collapse
Lets distinguish between these things.
The "internal SDcard" is NOT an sdcard. It is a partition on the internal memory referred to as /sdcard (on other phones /sdcard mounts to removable media but not here). However, as it happens, the internal memory itself is an eMMC (embedded MultiMedia Card) which is where the confusion arises, so let us refer to eMMC as "Internal Memory" from here on.
The internal memory has many partitions (It's 14.9 GiB in total). It has a /system partition (ROM goes here) a /boot partition (bootloader), /recovery partition (guess) and /cache partition and a /data partition (A few others that aren't of interest here).
Usually /data is where all your data and apps go (in /data/app and /data/data) however, we use the FUSE file system to cleverly put /sdcard (usually removable media) into /data/media. This way /data is fully used as user data space.
iamthemandroid said:
What does the wipe data / factory reset option in ClockworkMod Recovery actually wipe?
Click to expand...
Click to collapse
Custom Recoveries wipe /data/app and /data/data. Stock recovery wipes /data which includes /data/media AKA /sdcard
iamthemandroid said:
Does a nandroid backup back up the internal SD card? I have a feeling the answer is no, but then what does it actually back up?
Click to expand...
Click to collapse
No. It backs up /system, /data (ignoring data/media) and /cache. It often backs up to /sdcard so it cant backup where it is saving the files to
iamthemandroid said:
If I use TitaniumBackup to back up all my app data and move that backup to my computer, then I delete the internal SD card, wipe the system, tehen replace my old ROM with a new ROM, then use TitaniumBackup to restore my apps and their data, am I missing anything? For example, I don't think certain data gets backed up by TitaniumBackup, for example photos (even though that might be considered 'data' of the camera app), so what could I be unwittingly missing when I do my restore from TitaniumBackup? How will I know what things I need from what's currently on my internal SD card?
Click to expand...
Click to collapse
Backup titanium to /sdcard then copy EVERYTHING from /sdcard to computer, will catch everything. Titanium doesn't back up stuff on /sdcard unless it is explicitly part of an application and you select that option in preferences
Your best option would be to format Internal SD card. And as you install a new rom, as you can see you only have 11GB of free space. Thats what is left from your total 16GB. Android OS reserves some space for bootloader, rom and cache.
The factory reset in recovery will delete all your system settings, apps, messages, call log and such. But if I'm correct it shouldn't touch the pictures. Nandroid backup doesnt hold your whole Internal SD card in itself.
And titanium backup backups apps and their settings, but it will not backup messages or pictures.. You can for example manually copy pictures to your computer and then back to your device. And for messages there is a good app called 'SMS Backup & Restore'.
Hope this helps
Edit: Me and my slow typing
Etirel said:
Edit: Me and my slow typing
Click to expand...
Click to collapse
I was on a mission
rootSU said:
I was on a mission
Click to expand...
Click to collapse
Guess so But you explained it a lot better than I did. So probably better that way
help me please formated sd with stock nanaroid on it..please help!!!!
i formatted my sd like a clown...i recoverd the files how ever i am unable to find my twrp back up ...i really need some help
DroiDBoSS said:
i formatted my sd like a clown...i recoverd the files how ever i am unable to find my twrp back up ...i really need some help
Click to expand...
Click to collapse
You formatted that means you have lost what was on the sd card .
If you put your Nandroid backup on that card then its lost .
JJEgan said:
You formatted that means you have lost what was on the sd card .
If you put your Nandroid backup on that card then its lost .
Click to expand...
Click to collapse
know any ware i can download the rogers stock 4.1.2 firmware...and does it mess with my unlocked bootloader if i flash back?
DroiDBoSS said:
know any ware i can download the rogers stock 4.1.2 firmware...and does it mess with my unlocked bootloader if i flash back?
Click to expand...
Click to collapse
Do you have I9300 or I9305 phone ???
If not this is I9300 you are in the wrong forum . Firmware/ mods from here may brick your phone .
Back up
rootSU said:
No need to format it.
Lets distinguish between these things.
The "internal SDcard" is NOT an sdcard. It is a partition on the internal memory referred to as /sdcard (on other phones /sdcard mounts to removable media but not here). However, as it happens, the internal memory itself is an eMMC (embedded MultiMedia Card) which is where the confusion arises, so let us refer to eMMC as "Internal Memory" from here on.
The internal memory has many partitions (It's 14.9 GiB in total). It has a /system partition (ROM goes here) a /boot partition (bootloader), /recovery partition (guess) and /cache partition and a /data partition (A few others that aren't of interest here).
Usually /data is where all your data and apps go (in /data/app and /data/data) however, we use the FUSE file system to cleverly put /sdcard (usually removable media) into /data/media. This way /data is fully used as user data space.
Custom Recoveries wipe /data/app and /data/data. Stock recovery wipes /data which includes /data/media AKA /sdcard
No. It backs up /system, /data (ignoring data/media) and /cache. It often backs up to /sdcard so it cant backup where it is saving the files to
Backup titanium to /sdcard then copy EVERYTHING from /sdcard to computer, will catch everything. Titanium doesn't back up stuff on /sdcard unless it is explicitly part of an application and you select that option in preferences
Click to expand...
Click to collapse
I backup via philz_touch_6.00.8 but when i tried to restore philz_touch_6.00.8 could not find the backup folder or file. Also when i check the my data using file explorer also i could not find backup file or folder. Interesting that capasity of internal sd card is less then befor about 3 GB. Could you explain why i could not find and restore or remove ?

New to CWM Recovery need some help

So I've finally managed to install a CWM recovery for my spreadtrum phone. Went on to do my first nandroid backup but I noticed near the end of the procedure it said sd-ext partition not found sd-ext not backed up (something to that effect). I know I have an sd-ext partition because I am using link2sd (using fat32 for partitions). My question is what will happen in the event I restore that backup? Will the linked apps in the sd-ext partition need reinstall? Is there any potential problem that may occur if I restore? Thanks in advance.

[SOLVED] Help Data Recovery from a Soft Brick

My father had a softbrick of his Galaxy S2 without having done a backup in the last 6 month.
Now he need some data that are stored on the phone so I cannot do a wipe data factory reset and I was wondering if I install a custom recovery can I move all the datas on the Sdcard and then read them from a microsd card reader?
Will installing a new recovery change the data?
Thanks
EDIT:
I solved the problem.
First I installed the Philz CWM recovery, that I reboot the phone in recovery Mode and chosed to mount as USB drive so I could copy the content of Sdcard.
Then I did a backup of data and system Partition through the backup menu on an external Sd card, after that I did a wipe/factory reset and the Phone reboot regularly
To recover the information that you need from the Backup can you use TitaniumBackup
I'm quite sure that the /data partition will stay untouched, since the recovery image is installed in another partition.
BTW, on some recoveries I was able to connect the phone to the computer and to read internal storage. Are you sure it's the data partition you need? The only thing stored in this partition are apps and app data. Images etc are on the internal storage (sdcard0).
Hope this helps.
I thought that Data and Sdcard were the same partition, what I need is to recover contacts and Viber/whatsapp message and images.
If I install a Custom recovery can I do a backup of everything and could I use adb to do a complete copy of the sdcard?
Thanks

TWRP nandroid

Good Morning,
I would like to make a Nandroid backup with TWRP, but on their website there is this FAQ hereunder which if I understand correctly, states that internal storage is not included. I don't have an external card but only internal storage. Can someone confirm that a nandroid with TWRP doesn't include the data in internal storage, or is this a misunderstanding?
Many thanks.
What is EXCLUDED from a TWRP backup?
Apr 11, 2018
First of all: you have to choose the partitions which should be added to a backup but there is an important thing to know regarding the /data/media storage (FAQ: What is a data/media device?).
When you have a device with a /data/media storage as internal storage TWRP behaves different then you might thought. Please read the mentioned link above to understand what /data/media is and if your device is affected or not.
Creating a backup of the user data partition will NOT include /data/media (your internal storage)! That means if you save photos or data on the internal storage (e.g. some apps will save data there as well) those will be NOT included in a TWRP backup! There are many people thinking that this is the case but due to a decision taken by the dev team this is the current way of how it works.
To be absolutely clear when you do something like this:
1.Creating a full backup in TWRP (including /data partition)
2.Factory resetting your phone
3.Restoring your previously taken full backup
4.Result: all your saved data will be there but your data on the internal storage gets LOST!
So keep that in mind when you backup and restore!
You may want to backup the internal storage as well but this is not possible in the TWRP GUI. You have to do it manually (e.g. with "tar" when your internal storage is mounted in TWRP).
TWRP is open source software. So you're free to add a backup option for the internal storage and push your request to our gerrit for reviewing.
https://twrp.me/faq/backupexclusions.html

Categories

Resources