[Q] Help a (desperate) newbie (how to back-up rom) - Galaxy S 4 Q&A, Help & Troubleshooting

Hello all,
Firstly, please bear with me if my question seems simple... I have flashed a couple of roms without problems, have recovered a bricked mobile and have generally messed around without too many disasters - unless you count the many hours spent setting-up my mobile after re-flashing... and this is the point... I will give a background and then questions will follow...
background:
I have finally found the rom for me (Albe 95 v2 btw - highly recommended, the guy did a truly grand job) and since I reckon that sooner or later I will become "restless" again and want to re-flash or mess around, I would like to make a back-up of my complete system... not app-by-app but do the backup in such a way that I get a single .zip file at the end of it all, and no matter how badly I might mess things up further down the road I can always return to my current status with in a flash (sorry for the poor pun)...
should be easy, right? well I've tried following some simple steps with clockwork mod (basically trying some of the functions in the backup directory, where there is an option that says something that amounts to "make a zip") and just now for the second time I've had a failure... after seemingly working and copying files for some 5-10 minutes it suddenly stops, says there was an error, and that's it... time to exit cwm and reboot... and that's when the real problems begin...
upon exiting CWM, i get a weird message (something about maybe losing root, and having to fix it before exiting)... after exiting (I selected the option to "fix it" btw) upon reboot the mobile works fine (rooted and all) except one detail - the sim card doesn't receive signal anymore... this happened just the same way first time round and I want to know what I´m doing wrong.. I did read some guides about making a backup and they seem easy enough when I read them, but then this happens...
so question #1 - can somebody point me to a newbie-friendly, step-by-step, idiot-proof guide for how to reach my holy grail in the form of a zip file?
...all this brings me to question #2:
after installing the new rom, there is some 3Gb left of memory... after a day or so of using, theres about 700mb left... I formatted the SD card and wanted clockworkmod to backup directly onto the sd_card... is there an option for this? there is simply no way I will ever be able to free up space on the internal memory alone...
question #3 - where does all that space disappear??? and speaking of space disappearing, after clockworkmod did its partial backup, the internal storage was reduced from some 700mb to under 300... now even if the phone is strictly speaking working, I cannot so much as update an application, or download a new one... unfortunately this is where my ignorance shows, as I understand that the internal storage is split in two sections, but I have no idea how (if?) I can access the "main" one, where CWM is presumably writing its files and which I guess by now is chock-full... what can I do here? where does CWM hide its backups (and yes, I´ve searched around and read somewhere that its supposed to be in a directory such as Data/Media/clockworckmod, but I cannot find it... and I can see the hidden files...
in fact, out of 9Gb of internal storage, the directories & fiels I can see amount to a pitiful 1,3Gb, and yet if I check space available in system settings I get 300 Gb!!! that means I have a good 7,4 Gb of storage unaccounted for! that's not even considering that total space of internal card is 9gb, not the 16gb that it should be... in other words, I can account for almost exactly 10% of my internal storage... what the hell????? either my internal memory is made of dark matter or I need a charitable colleague on this board to explain to me what is going on... or maybe suggest a link that you learned from back in the day when you were a newbie...
that's it... for now... sorry for the extremely long post, but I am frustrated, as I have to flash this bugger, again...
Thank you in advance for any help, info, and advice...
P.

1. Not in a zip file. The backup feature in ClockworkMod and all other custom recoveries is what we call a nandroid backup. They generally are backed up and restored using the appropriate functions, and not via a flashable zip file.
2. On the Galaxy S4, the internal storage is labeled "sdcard0". Thus ClockworkMod apparently thinks it's a MicroSD card. Looking at another device running a current version of CWM, it doesn't appear that you can select the location. If you want to be sure the backup is made on the MicroSD card, change your recovery to TWRP 2.8.4.0. You can select where the backup goes on that recovery.
3. You likely made multiple backups with ClockworkMod. An odd thing, at least the the copy of ClockworkMod on my tablet, is that if you delete backups, the space itself is still allocated to the backups that no longer exist. To free up this space, in the backup and restore menu is an option to "free unused backup data". Horribly misnamed, if you select this option you should see your space return. In addition, keep in mind that Android stores hidden files and folders on the internal storage. If you download large games, you may find yourself running out of space as the game stores parts of itself on the internal storage in a hidden directory.
Once you get your space back, switch your recovery to TWRP so you can select the MicroSD card.

Thanks for your answer strephon.... but now i need to understand the next steps and to avoid a re-re-reinstall, i would like to ask what version of TWRP should i use?
I have Rashr to help me get this recovery app but i have a list of options to choos from and none seems correct...
if i run Phone Info, it tells me the following:
- device type: jflte
- Product name: kltexx
...but on rashr none of the TWRP versions seem applicable... the closest would be jfltexx (ver 2.8.5.0 )... there is also a ver 2.8.4.0 but also in this case only for jfltexx... is this what i'm after?
Please note that CWM and Philz both have jflte versions... maybe i should try Philz? Does it let me do nandroid backup on my Sd card?
Again, thanks in advance

You probably will have better luck using the TWRP Manager app, but the version you want is 2.8.4.0, for jfltexx. Philz is a derivative of ClockworkMod, but I don't know if it has the same limitations.

Thank you man... got twrp and ran the backup. Looks like just what i was after...
Much obliged ?

...now that i've managed to get the backup done i would like to make sure about one point :
This will work if i mess install a new rom and for whatever reason i want to revert to my backed up rom... but what if i brick my mobile?
Thats happened to me before and i downloaded a rom which I flashed using Odin and with the phone in download mode... is there a way i can merge these files in a zip (or whatever format )that i can then flash with Odin?

If you brick and need Odin, you won't be able to use these files in it. However, if you have to install a ROM via Odin, you can afterward install the recovery and restore from the nandroid backup. The backup would then restore the S4 back to the state it was in when the backup was made.

...but is there no way of doing that in one step only? I mean just as someone prepared that rom to be flashed via odin can i not create one myself? There's gotta be a way. ...

platypus78 said:
...but is there no way of doing that in one step only? I mean just as someone prepared that rom to be flashed via odin can i not create one myself? There's gotta be a way. ...
Click to expand...
Click to collapse
What you want is not possible.
You won't brick your phone, it's almost impossible.
If a situation like you describe emerges, then just flash a custom recovery trough Odin and restore the backup.

Damn that sucks ?
But at least its cleared so thanks for that...

Related

[Q] What can I safely delete?

According to SD card Analyst I have
Clockworkmod: 1.99GB
TWRP: 1.12GB
TBU: 383MB
As you can imagine, that is a BIG chunk out of my 6GB total!
I have flashed lots of ROMs in the last couple of weeks but I have now settled on one. AFAIK all I need to keep is the current bakup in TWRP in case anything happens.
I would be glad for some advice as to what I can safely delete. I don't want to make a mistake as my system is running brilliantly right now.
Many thanks for any help!
StrangerWeather said:
According to SD card Analyst I have
Clockworkmod: 1.99GB
TWRP: 1.12GB
TBU: 383MB
As you can imagine, that is a BIG chunk out of my 6GB total!
I have flashed lots of ROMs in the last couple of weeks but I have now settled on one. AFAIK all I need to keep is the current bakup in TWRP in case anything happens.
I would be glad for some advice as to what I can safely delete. I don't want to make a mistake as my system is running brilliantly right now.
Many thanks for any help!
Click to expand...
Click to collapse
As you already said, you should keep the TWRP backup as a safety net... The dated folders in the Clockworkmod can be deleted if you don't need to use them any more. Just leave the main folder but delete the sub folders.
TBU backups are just your apps + data... if you don't need data restored (since you probably have them in your TWRP backup) you can delete the contents there as well.
StrangerWeather said:
According to SD card Analyst I have
Clockworkmod: 1.99GB
TWRP: 1.12GB
TBU: 383MB
As you can imagine, that is a BIG chunk out of my 6GB total!
I have flashed lots of ROMs in the last couple of weeks but I have now settled on one. AFAIK all I need to keep is the current bakup in TWRP in case anything happens.
I would be glad for some advice as to what I can safely delete. I don't want to make a mistake as my system is running brilliantly right now.
Many thanks for any help!
Click to expand...
Click to collapse
I agree with cvcduty, but I just wondered if there was a reason you use both TWRP and Clockworkmod, especially on an 8GB N7 with limited space. I've always just used CWM, so I was curious
Sent from my Paranoid Nexus 7
RockNrolling said:
I agree with cvcduty, but I just wondered if there was a reason you use both TWRP and Clockworkmod, especially on an 8GB N7 with limited space. I've always just used CWM, so I was curious
Sent from my Paranoid Nexus 7
Click to expand...
Click to collapse
Well, to be honest the answer is a bit silly: I am not aware of having used CWM, I didn't even know I had it!
Can I uninstall it altogether? And if so, how?
In CWM, there is a folder called Blobs with 1.78GB worth of folders. Is it safe to delete it?
If you don't use cwm then yes you can delete it.
I removed mine aswell as I have a nandroid backup on my PC which I can adb push if worst comes
Sent from my HTC One X using xda app-developers app
The clockworkmod APK
and
The clockworkmod RECOVERY
both use that same folder. Every time you flash a cyanogen Rom it had the apk installed by default. So that's where it's coming from.
In the folder back up the Nandroid folder or the one with data system recovery files (140-250mb) to your computer and then delete the whole dang folder if you do not use clockwork recovery.
As for titanium you can use the cloud storage feature and save another 500mb
carved via Ville

URGENT: Factory Reset wiped sdcard

I have a rather urgent issue, in which a factory reset wiped my sdcard. First of all, is that normal? This is my first device with no external microsd, and my first time using TWRP. Before, I had been using various versions of Amon-Ra or CWM, and when I factory reset they never wiped the sd card. Next, whether it was normal or not, I need a way to recover my data. I had around 8 gigs in sdcard before it got wiped.
To give you more background info on what was going on, I had a rooted 4.1.2 16GB Nexus, and I decided that I wanted to try PA. I made a nandroid backup of course, and then proceeded to flash the rom. I followed the instructions on the PA thread, first doing a factory reset followed up by the actual flashing, then a wipe of cache/davlik. After I tried the rom out for a few minutes, I noticed that there weren't any redeeming features to make it worth the time-consuming switch from stock to PA, transferring all my data and setting up my settings once more.
I rebooted back into recovery and factory reset again, and then I went to restore and saw that there were no backups. Suspicious, I went to the install menu, and found my entire sdcard folder had been wiped out. What happened?
Edit: I'm currently still on the recovery, afraid to do anything in case I lose my data forever.
Was your boot loader already unlocked or did you unlock it right before you flashed the ROM?
littleemp said:
Was your boot loader already unlocked or did you unlock it right before you flashed the ROM?
Click to expand...
Click to collapse
Thanks for the reply, especially on Christmas, but I got around the issue myself. It had been unlocked for 2 months now.
I noticed that every time I booted into recovery, it would make a "0" folder and move the contents of my sdcard into that "0" folder. Then the 0 folder would go inside another 0 folder, and so on and so forth. It was a really strange issue because I was unable to restore my backup; TWRP could not find my /sdcard/TWRP/backup folder, because it did not exist! It was in sdcard/0/0/TWRP/backup. I used the built in file manager in TWRP, and moved the contents back into the proper folder. I could then restore, and now I'm feeling relieved.
However, two issues remain; the 0 folders are still there, and storage transfer speeds seem very slow.
Edit: I got rid of the 0 folders by moving my folders out of them and then deleting the 0 folders, but the size of my files seem to have been inflated. What took up 6 gigs before is now taking up 8.8gb. Lol wut? Also, when I hook it up to a computer it tells me that 12GB has been filled. So many discrepancies.
androidwkim said:
Edit: I got rid of the 0 folders by moving my folders out of them and then deleting the 0 folders, but the size of my files seem to have been inflated. What took up 6 gigs before is now taking up 8.8gb. Lol wut? Also, when I hook it up to a computer it tells me that 12GB has been filled. So many discrepancies.
Click to expand...
Click to collapse
I am having the same problem. I think everybody has that problem, because it's caused by jelly bean 4.2 and its new emulated storage.
The only way I have found to get arround it was to copy all files on the computer from the sdcard, then formating the sdcard in recouvery and moving everything back.
Only problem I am having right now is that I can't for the love of it copy my files. Stupid MTP filesystem is really buggy and extremly slow. I constantly crashes or gives me multiple erros. The one I am having at the moment is something about a parameter error.
Very annoying the stupid filesystem under 4.2.
Btw. I can't get the adb pull command to work either. When I tell it to copy system/storage/emulated/legacy (I believe thats where the sdcard is actually loccated, right?!) it doesn't copy a single file.
If anybody could help me I would be very greatfull.
xaboren said:
I am having the same problem. I think everybody has that problem, because it's caused by jelly bean 4.2 and its new emulated storage.
The only way I have found to get arround it was to copy all files on the computer from the sdcard, then formating the sdcard in recouvery and moving everything back.
Only problem I am having right now is that I can't for the love of it copy my files. Stupid MTP filesystem is really buggy and extremly slow. I constantly crashes or gives me multiple erros. The one I am having at the moment is something about a parameter error.
Very annoying the stupid filesystem under 4.2.
Btw. I can't get the adb pull command to work either. When I tell it to copy system/storage/emulated/legacy (I believe thats where the sdcard is actually loccated, right?!) it doesn't copy a single file.
If anybody could help me I would be very greatfull.
Click to expand...
Click to collapse
I had the same fear, emotion and discovery a week ago when trying a new Rom thanks multi users feature .
You may try to switch from MTP mode to MSC in system setting to increase the speed.
Take care of the different tools because as example JROMFlasher will format the SD card for better cleaning. (I had backup!)
I think I read that the Factory Reset from the settings menu WILL erase everything.
Formatting with ClockworkMod, saves your sdcard files.
I also recommend unlocking asap just for laughs. Even if you don't plan on rooting or Modding... unlocking will ensure your files won't be deleted if you decide to or something happens that requires it
Sent from my Nexus 7 using XDA Premium HD app

[Q] How to reload backup image?

I have the 32GB wi-fi version of the Nexus 7. Over a couple of months of use (and changing ROMs a few times), the storage capacity was reading very low even though I only had a couple of apps loaded. I read about how this can be a problem with the Nexus 7 and you can do a full wipe to restore the correct storage capacity. The process recommended doing a backup and storing it on your PC. I did this and then did the full wipe. The device will not boot now (Google screen only). I can get it into recovery mode but I don't know how to get my backup image onto the device. Any help would be greatly appreciated!
P.S.
I have searched the help & troubleshooting forum for two days before posting this. This is a last resort!
i'm surprised searching for "how to restore nandroid backup" didn't yield any results..
you were probably low on space due to all the backups taking up space, each one can easily take up several GBs. you should have tried to move them to PC without full wipe. they're just stored in the sdcard partition, probably in "clockworkmod/backup" or "TWRP/backup" depending on the recovery.
anyway you did a full wipe and then didn't install or restore anything afterwards. so currently you have a blank tablet with nothing installed which is why it doesn't boot .
did you copy or move the backup to your PC? when you full wiped did you only wipe the system and data partitions. i hope you didn't wipe the sdcard partition either way.
- if you copied the backup, just go back into recovery, select "backup and restore" or similar, then click "restore" and select the latest backup.
- if you moved the backup, you obviously need to move it back . within recovery you'll need to mount the sdcard when connected to PC (under "mount" option or similar), then depending on which recovery you use, move the entire backup folder to the correct location e.g. /TWRP/BACKUP/ or clockworkmod/backup. then restore.
The memory wasn't tied up in backups (or anything else that showed in storage). I had removed all but basic apps (ROM Manager, GMAIL, etc) and only kept one backup. It was odd, the available space said 3.4GB but the graph above showing available storage indicated a LOT more! It's like they are reading totally different information. Where I am getting totally stuck at is the computer does not seem to recognize the device when it's connected so I can't get the backup back onto the device. I have installed the appropriate drivers on my PC but still nothing. I really appreciate any help you can give on this!

[Q] Clockworkmod backup without flashing recovery

I recently learned how to boot into a customer recovery without actually flashing it to the phone. Of course this is the method I used to root my 9505G.
I got the bright idea to also make a full backup from in CWM recovery (which is not actually flashed to my phone). The available space on my SDCard went down by nearly 2GB, so I know the backup was made. However, using rooted file explorers I cannot find the backup files anywhere (I've looked in all the common locations suggested in other threads)! I've even used storage analyzers which show you how much space is used by each folder and none of them are accounting for this extra space.
Any ideas?
So you want to make a CWM backup without flashing CWM ? Any other brilliant ideas why you're at it ? (That should give you the answer to your question).

[Q] Unsuccessful Nandroid Backup Eats Up Memory Space

Hi everyone,
I have a situation here with my Nexus 4. I am running CWM Recovery 6.0.4.3 and AOKP nightly builds. I was using Stock ROM before AOKP. That time, before I upgraded I was trying to make a nandroid backup. I had around 7GB free space before performing the backup. Eventually the backup went wrong, it said "Error while backing up /data". I don't know what to do so I just reboot and re-run the backup process, but it still gave me the same error. I then boot into my phone and realized something... my free memory space has lessened to around 2GB only! I then decided not to make the backup and just flash my ROM to AOKP. I thought this will clear the problem, but it's not.
So, my question is, how to clear this used space? I checked in the nandroid backup folder and found absolutely nothing there, so it must be somewhere else... Any help would be appreciated! Thanks in advance
james.abcde said:
Hi everyone,
I have a situation here with my Nexus 4. I am running CWM Recovery 6.0.4.3 and AOKP nightly builds. I was using Stock ROM before AOKP. That time, before I upgraded I was trying to make a nandroid backup. I had around 7GB free space before performing the backup. Eventually the backup went wrong, it said "Error while backing up /data". I don't know what to do so I just reboot and re-run the backup process, but it still gave me the same error. I then boot into my phone and realized something... my free memory space has lessened to around 2GB only! I then decided not to make the backup and just flash my ROM to AOKP. I thought this will clear the problem, but it's not.
So, my question is, how to clear this used space? I checked in the nandroid backup folder and found absolutely nothing there, so it must be somewhere else... Any help would be appreciated! Thanks in advance
Click to expand...
Click to collapse
Just as you said, it must be somewhere. Check other folders or even the rood of the virtual SD card. If you still don't find anything you may have to factory reset the device and wipe the SD card partition. Before you jump the gun though, make sure (assuming you're using windows as your PC OS, show hidden folders.
Did you check of have a Clockworkmod folder? Each time you create a backup, it creates a new folder with a new time stamp.
Use a file manager to delete the unnecessary or aborted backups. The backup folder should be visible with having to use an app such as Root Explorer.

Categories

Resources