[Q] A question about TWRP and Simple2Ext - Samsung Galaxy Gio GT-S5660

Hello everbody,
I have some questions related to TWRP. What I am aiming for is trying out new ROMs to see which one suits best my needs. For that I need to do a full backup of my system. As far as I know this is what TWRP is supposed to do this.
I just did some tests and it turned out that this is not the case - I created a full backup using TWRP (checked all checkboxes in the backup creation window). This is the place to mention that I use Simple2Ext to move all user apps to sd-ext. So I assumed that TWRP will manage to restore the whole system as it backs up all partitions (incl. sd-ext). It seems though this is not the case - I just recovered a backup but the system contains only the system apps (Calculator, Gallery etc.) Not even Google Play Store. All user apps (including S2E) have an SD icon in the Apps settings and when I try to start an app from the desktop, it says App isn't installed.
What am I doing wrong? How can I make a full backup which I can restore and have S2E working? Is this possible?

Nytmarez said:
Hello everbody,
I have some questions related to TWRP. What I am aiming for is trying out new ROMs to see which one suits best my needs. For that I need to do a full backup of my system. As far as I know this is what TWRP is supposed to do this.
I just did some tests and it turned out that this is not the case - I created a full backup using TWRP (checked all checkboxes in the backup creation window). This is the place to mention that I use Simple2Ext to move all user apps to sd-ext. So I assumed that TWRP will manage to restore the whole system as it backs up all partitions (incl. sd-ext). It seems though this is not the case - I just recovered a backup but the system contains only the system apps (Calculator, Gallery etc.) Not even Google Play Store. All user apps (including S2E) have an SD icon in the Apps settings and when I try to start an app from the desktop, it says App isn't installed.
What am I doing wrong? How can I make a full backup which I can restore and have S2E working? Is this possible?
Click to expand...
Click to collapse
It seems that it did a only-system-partition backup. Don't know if that's the only backup function with TWRP, but as it should be based on CyanogenMod recovery, it should support a full backupt (including every partition). I suggest to write in development thread.

Related

What is the proper way to rom hop?

Greetings,
I want to be able to seamlessly switch from CM7 to MIUI to Sense, etc., keeping all of my settings, apps, etc for each setup. I assumed that I can do this by simply configuring each and doing Nandroid backups. But, when I try to restore my Myn's backup, I get an error.
Anyone know the proper procedure rom-hopping like this?
Thanks!
mike
1. Backup current apps and data in titanium backup
2. In recovery, backup current rom
3. Full wipe [factory/data, cache, dalvik]
4. Flash rom, reboot.
5. When booted into new rom, restore apps and data, NOT system settings.
6.
And if you want to switch back, go to recovery, backup current rom, then restore the backup you want; no need to wipe.
Also you'll get restore errors if you renamed the folder using invalid characters, or its corrupted.
Yes, you can just keep nandroid backups of each ROM you like after you get them set up and running how you want. Then you can restore whatever setup you feel like that day.
You can also back up your apps w/ titanium, that way if you install any new apps, when you restore another ROM, you can use ti to restore any missing apps that you've installed since the backup was made.
To the OP, your post is incomplete without the error message
Your steps seem like the proper way to go between roms. What you need to be aware of is, some apps store their data on the sdcard. Depending what is stored, you may get issues. Beautiful wigets comes to mind. It stores the skins on the sd card.
Are you getting error messages restoring from the backup image itself? What error. Are your image files intact?
Might be your version of recovery. I had a problem going from CM7 to anything else. I switched the recovery version in Rom Manager and fixed it
Sorry, I overlooked that. What error are you getting?
1. What % was your battery at? If it's below 30-40%, it won't restore or backup.
2. Have you renamed the backup? You can only use certain punctuation in the names or it won't work.
teh roxxorz said:
1. Backup current apps and data in titanium backup
2. In recovery, backup current rom
3. Full wipe [factory/data, cache, dalvik]
4. Flash rom, reboot.
5. When booted into new rom, restore apps and data, NOT system settings.
6.
And if you want to switch back, go to recovery, backup current rom, then restore the backup you want; no need to wipe.
Also you'll get restore errors if you renamed the folder using invalid characters, or its corrupted.
Click to expand...
Click to collapse
Good advice. One thing I'm curious about though. When you do a rom backup, it saves your apps/data etc. anyway, right? When you "restore" a ROM everything is exactly like you had it. So why is it necessary to do a Titanium Backup of all your apps/data (other than prudent good practice obviously) when your ROM backup will have the same. Is there another reason I'm missing?
Second, when you say backup "apps + data" but NOT system settings, what exactly do you mean? When you do a batch backup w/ Titanium Backup you can choose to do Apps or Apps + all system data. How can you quickly and easily backup apps + app data without all system settings? Manually go in and select certain (green) system data?
I do it in case I download any new apps while on one ROM that may not be included in my nand backup.
I don't restore app data, but theoretically you could restore the newer app data as well.
Alpine- said:
Good advice. One thing I'm curious about though. When you do a rom backup, it saves your apps/data etc. anyway, right? When you "restore" a ROM everything is exactly like you had it. So why is it necessary to do a Titanium Backup of all your apps/data (other than prudent good practice obviously) when your ROM backup will have the same. Is there another reason I'm missing?
Second, when you say backup "apps + data" but NOT system settings, what exactly do you mean? When you do a batch backup w/ Titanium Backup you can choose to do Apps or Apps + all system data. How can you quickly and easily backup apps + app data without all system settings? Manually go in and select certain (green) system data?
Click to expand...
Click to collapse
The reason for backing up your apps and data is because when you install a new rom, like going from CM7 > MIUI, you should always do a full wipe, which will erase your user apps; erases all phone content. When you boot into the new rom, the titanium backup data is on the sdcard, and can be restored from there; that's why. And doing a full wipe when flashing a new rom kills off a lot of problems, like random fcs, ect.
No, you do the batch operation for backup user apps + system data, just to be safe that you get the data for the apps. That makes it easiest. When you RESTORE, you go into batch, there's an option for restore only user apps and data, right above apps + system data.

[Q]Is there any good app or Recovery to backup /sd-ext?

I think that most of customized ROM support ext4 partition and release A2SD/CM7/A2E version.
And many apps or data are moved to /sd-ext.
Is there any good backup app or Recovery can backup /sd-ext partition and save to sdcard?
Sometimes I don't want to recovery all ROM and do restore data/apps things again and again.
Use ROM Manager, which could backup sd-ext individually.
But this function only shown in Premium version.
Correct me if i'm wrong, but doesnt Recovery menu offer that function? (Backup and restore menu)
I use the recovery menu that was flashed by RomManager (2.5.0.7 or something), and it is able to do a full backup (aka nandroid backup? I'm new so not sure about terms)
scottnet said:
Use ROM Manager, which could backup sd-ext individually.
But this function only shown in Premium version.
Click to expand...
Click to collapse
Do not use rom manager. It carts more problems than out solves.
Yes, every recovery should have this offer.
TouchPaled from Oxygen with Transparent XDA App
The way I backup is following:
1st step:
Titanium Backup. Use this to backup all my app/data/settings.
2nd step:
Set up Google Backup if supported (that way Market knows what apps i had and starts installing them after a wipe) Does not always work however, hence the step1.
3rd step:
Reboot phone into recovery menu, "backup and restore > Backup". This backs up following: system, rom, ext partition (if any) and also recovery/bootloader.
Using these steps, i can restore only my apps/settings (step 1) on a new rom or do a complete restore if something doesnt work right (step 3). Step 2 is handy If i want a fresh start but it doesnt always work right.
asestar said:
The way I backup is following:
1st step:
Titanium Backup. Use this to backup all my app/data/settings.
2nd step:
Set up Google Backup if supported (that way Market knows what apps i had and starts installing them after a wipe) Does not always work however, hence the step1.
3rd step:
Reboot phone into recovery menu, "backup and restore > Backup". This backs up following: system, rom, ext partition (if any) and also recovery/bootloader.
Using these steps, i can restore only my apps/settings (step 1) on a new rom or do a complete restore if something doesnt work right (step 3). Step 2 is handy If i want a fresh start but it doesnt always work right.
Click to expand...
Click to collapse
4rd step:
after the backup with the step 3, u can go in the advanced restore menu, and restore only the partition u want..for example restore only the sd-ext (as the OP was asking)
Thanks for your information.
No matter ROM manager or new Recovery, the problem is to support /sd-ext backup/restore especially I always format to ext4.
I installed ROM manager once, but it can not backup/resotre my ext4 partiton.
It might be 2 month ago, and I removed ROM manager.
Did anyone have the experience to backup/resotre ext4 and which Recovery version?
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[Q] Best way to back up your phone when switching roms?

What are you guys using to back up your phones when switching Roms? I want to back up contacts, wifi settings, APPs etc.
If I'm switching ROMs I set them up from scratch again, after doing a Nandroid of the current one
Titanium Backup works really well. It's on the market. Probably on here somewhere also.
Will Titanium restore your screens? Its a bit tiring getting them alls setup and then starting from scratch on my droid incredible I never really set up the phone because I switched Roms so often.
veli69 said:
What are you guys using to back up your phones when switching Roms? I want to back up contacts, wifi settings, APPs etc.
Click to expand...
Click to collapse
Use google for contacts and wifi settings, apps Titanium Backup
Sent from my Galaxy Nexus using XDA App
veli69 said:
Will Titanium restore your screens? Its a bit tiring getting them alls setup and then starting from scratch on my droid incredible I never really set up the phone because I switched Roms so often.
Click to expand...
Click to collapse
Alright, so for backing up your system you're going to want to use CWM and make a NANDROID backup. After you're done with that you will probably want to back up your apps. To back up app as well as data (such as angry birds scores) you will want to use Titanium Backup. Just remember not to restore system data, just apps/app data after flashing your ROM/Kernel.
For contacts (assuming you are on verizon) you had the option to chose where you store your contacts. Those options were either in your Gmail account or in "Backup manger" if you cant figure out where they are you can always make a file with all your contacts and place it on your SD card by going to the People App>menu>import/export>Export to storage.
As far as wifi settings go i am not aware of a way to do so.
And if you wanted to keep the launcher as it is (like where your apps are, folder, widgets, etc.) you will have to be on a custom launcher such as ADW or GoLauncher. This happens because the launcher is an app and when the app data is restored (from titanium backup) the placement of things are exactly how they were when you made the backup!
1) Nandroid. Always nanroid just to be safe - if something breaks, you need to have a working build to fall back on .
2) Contacts - I don't worry about it - they should all be synced with your Google account anyhoo.
3) Wifi settings - should also be synced with your Google account, and will be automatically restored when you set up the new ROM (assuming you tick the "restore data to my device" option in the google account setup screen).
4) Apps - TitaniumBackup for apps and data - not for system data though.
5) Launcher - some launchers will have an option built-in for backing up and restoring your screen layouts, folders, etc. Widgets will rarely be able to be restored no matter what method you use. You can also use Titanium to explicitly back up and restore your launcher's data - if you're still on the stock launcher, filter for System apps and look for an entry that starts out "[DESKTOP] Launcher ..." (it'll be in green) and backup/restore the data for that.
When you boot after first wipe it asks you for Google account details, then it will pull down your contacts, wifi settings etc. which we want.
But it also starts re-downloading all your Market apps, which we don't want because we've got them in Titanium Backup and we want to restore them with data (save games) and be linked to the Market for updates.
What's the correct way to handle this?
I've created issues before where some apps don't list in 'My apps' in the Market, and don't auto-update unless I search for them at which point it says 'Installed'.
I usually enable airplane mode immediately after the Google account setup, reboot, restore from titanium, reboot, and then turn the radios back on.
ClockworkMod Rom Manager. Its the best tool there is. yu can flash roms by pressing a simple button.
make sure you understand the difference between clockworkmod and titanium backup before you start modding your device. CWM will restore your phone exactly to how it was when you made the backup, everything from your screens, apps, setting, contacts, call and text logs. When you restore with CWM it will erase everything that was done after the backup point. Another thing to keep in mind is that you cant choose to restore specific things in CWM like you can with TB, you have to restore it all in one shot.
TB will restore apps, system apps and data associated with those apps. TB can also be used to backup settings, wifi access points and bluetooth pairings.
So if you get a bootloop or softbrick you have to use CWM. You need to do a factory reset/wipe before you flash a new rom, this is when you would use TB. Use TB to restore the apps, data and settings.
SMSbackup and calllogbackup in the market is also good for backing up or texts and call logs if you want to keep them. google will backup your contacts if you allow google to do this but you can always just save your contacts on your sim card
never ever restore system apps and data.
Especially if it was meant to be a full wipe.
Even then, clean start is always best so wipe and stop reporting bugs if you didn't do a wipe.
s2d4 said:
never ever restore system apps and data.
Especially if it was meant to be a full wipe.
Even then, clean start is always best so wipe and stop reporting bugs if you didn't do a wipe.
Click to expand...
Click to collapse
On that note, some data for system apps can be safely restored - just never do it as a batch process. If I'm going to try restoring any system data, I do another full nandroid first (just in case) and then restore data one at a time.
I'm shocked no one has mentioned this app yet. Appextractor let's you restore things from your nandroid, Obviously some things shouldn't be restored, but many things can be safely restored.
EKnofsky said:
I'm shocked no one has mentioned this app yet. Appextractor let's you restore things from your nandroid, Obviously some things shouldn't be restored, but many things can be safely restored.
Click to expand...
Click to collapse
The only problem I had with app extractor is the amount of SD storage space it uses - and doesn't automatically clean up. My nandroids are already ~2.7GB - I don't really want the whole thing also stored uncompressed. I quickly run out of storage space that way.
Oh, and it's painfully slow.
AppExtractor is useful if there's an important app you forgot to back up in Titanium, but doesn't really make sense to me as your primary restore method.
Isn't the Titanium data wiped when a new ROM is flashed? I assume that before flashing anything, copy the /sdcard directory to another computer?
And after flashing a new ROM, I assume that Ti has to be downloaded first in order to restore the other apps
thereddog said:
Isn't the Titanium data wiped when a new ROM is flashed? I assume that before flashing anything, copy the /sdcard directory to another computer?
And after flashing a new ROM, I assume that Ti has to be downloaded first in order to restore the other apps
Click to expand...
Click to collapse
Unless you're using the factory recovery, the Titanium data will remain intact. You will have to reinstall Titanium from the market - or use the tool built-in to Titanium to create a flashable *.zip. Just flash that *.zip before you boot your ROM the first time and you'll have Titanium pre-loaded.
use adb! works without root
adb backup [-f ] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosystem] []
- write an archive of the device's data to .
If no -f option is supplied then the data is written
to "backup.ab" in the current directory.
(-apk|-noapk enable/disable backup of the .apks themselves
in the archive; the default is noapk.)
(-shared|-noshared enable/disable backup of the device's
shared storage / SD card contents; the default is noshared.)
(-all means to back up all installed applications)
(-system|-nosystem toggles whether -all automatically includes
system applications; the default is to include system apps)
( is the list of applications to be backed up. If
the -all or -shared flags are passed, then the package
list is optional. Applications explicitly given on the
command line will be included even if -nosystem would
ordinarily cause them to be omitted.)
adb restore - restore device contents from the backup archive
example: adb backup -all -system -shared -apk
nitramz said:
use adb! works without root
Click to expand...
Click to collapse
Thanks for this. I had seen adb backup alluded to elsewhere but not a concise post detailing the usage. I'd rather not have to use my computer to handle backups, but it sounds like a pretty cool option.
Try MyBackup PRO. It does exactly what you need. I have used it before and it is good.

Poor Performance on Sense 3.5 ROMs

Hey guys,
i used good old InsertCoin ROM most time, but i'd like to use new Sense 3.5 now.
I tried Runnymedia AIO and Runny ROM. Both perform ok at first, but then i restore my apps using Titanium Backup. Now the device performs extremely slow after i use the market (play store).
Increasing CPU Frequency doesn't help either. How can i find out, whats slowing my device down?
Using STOCK HBOOT with 1GB Ext4 Partition.
Radio: 32.49.00.32U_5.11.05.27
Instead of Restoring apps, why not try re-downloading them from the Play Store. My Phone is super smooth. No problems yet.
It seems that you're right. App-restoring might be the problem. I removed most apps which i restored with TB and now its smooth again.
But of course i want to keep my App-Data (/data) from my InsertCoin installation.
I'll try installing BackupEverything on IC, backup my apps with this app and then restore to Runny ROM.
Any idea why that might be?
I also have a slow RunnyMod after restoring via Titanium to restore my apps, but most of them have no other way to backup...
Slow, after restoring with BackupEverything too. And BE doesn't even backup /data/data
Somebody knows a tool which actually works?
thylux said:
Any idea why that might be?
I also have a slow RunnyMod after restoring via Titanium to restore my apps, but most of them have no other way to backup...
Click to expand...
Click to collapse
I backup my apps using AppMonster PRO. Have done since I got my Desire 2 years ago.
It allows for plain name backup of .apks and using its newer backup method, allows for batch reinstall of apps. Also can specifiy how many versions of an apk to keep / as2d notification and automatic backup of .apk when installed.
Doesn't do cache backup and user customizations that can be carried over from one install to another in way that Titanium Backup does, but works fab for me, I just reinstall wot I want!
In this way I dont get any mess up's when switching roms were I restore a TB backup and it puts the data in the wrong place.
I always backup and restore with ic_backup_apps.zip and ic_restore_apps.zip. I can't find the original links (there was a link in the Insertcoin thread) and I don't know if I'm allowed to post mirrors here. But a google search should help you get those files I think.
ic_backup_apps stores all the apks in a .tar file on you sd card and also wipes your system, be careful
ic_restore_apps unpacks this file and puts them back
To install another ROM I always do the following:
backup apps with titanium (only user apps+data, no system data)
backup sms, call log and "some" system settings with Mybackup root
power off, reboot in recovery
a nandroid backup is advised, you should do this regulary anyway imo
flash ic_backup_apps.zip as you would flash any other zip. But be careful, this also wipes everything
full wipe (data+system+boot+sd-ext+cache+dalvik) + battery stats, so everything except sd card
flash the rom.zip
flash ic_restore_apps.zip
power off, (remove sim, to prevent incoming sms while restoring), reboot
switch off automatic backup (it's not needed now)
restore with mybackup root
restore (some) user app data with titanium
I've wiped and flashed multiple sense 3.5 ROMs this way and never had problems with slowness or FCs.
Your SD card could also be a bottleneck.

[Solved] Restoring apps in data after switch to LOS

Hello guys, I'm thinking of switching from MIUI to LOS or Syberia. To do that I need to format the /data partition. I really don't want to re-install all my apps again, so is there a way to restore the data partition not as an image, but as file structure? I have TWRP backups but they're images of the partition. Do I need to install Titanium Backup or similar?
What would be the best course of action here?
Thanks in advance!
Try migrate on play store
raspizdiaika said:
Try migrate on play store
Click to expand...
Click to collapse
Play Store indeed has a list of all the apps I have installed. However all the data that's in the app's settings will be gone.
Here's an example - I use a Launcher app. If I re-install it from Play Store, all icon arrangements, wallpaper settings, all other settings within the Launcher will be gone.
What I'm trying to achieve is once the /data partition is formatted, ideally I'll just need to copy paste the data (files and folders) back in again. Partition restore won't work as it will mess up the LOS (or any other non-MIUI OS) installation.
The TWRP backup gives me an image file, which can be extracted to apps and folders, but I'm not sure I can just copy paste that over to the /data folder(partition). Main concern is permissions. Would they be automatically set on OS boot?
unicastbg said:
Play Store indeed has a list of all the apps I have installed. However all the data that's in the app's settings will be gone.
Here's an example - I use a Launcher app. If I re-install it from Play Store, all icon arrangements, wallpaper settings, all other settings within the Launcher will be gone.
What I'm trying to achieve is once the /data partition is formatted, ideally I'll just need to copy paste the data (files and folders) back in again. Partition restore won't work as it will mess up the LOS (or any other non-MIUI OS) installation.
The TWRP backup gives me an image file, which can be extracted to apps and folders, but I'm not sure I can just copy paste that over to the /data folder(partition). Main concern is permissions. Would they be automatically set on OS boot?
Click to expand...
Click to collapse
Titanium backup is hard to beat. You can copy your back up folder onto your pc and copy it back over after the wipe to restore your app data.
unicastbg said:
Play Store indeed has a list of all the apps I have installed. However all the data that's in the app's settings will be gone.
Here's an example - I use a Launcher app. If I re-install it from Play Store, all icon arrangements, wallpaper settings, all other settings within the Launcher will be gone.
What I'm trying to achieve is once the /data partition is formatted, ideally I'll just need to copy paste the data (files and folders) back in again. Partition restore won't work as it will mess up the LOS (or any other non-MIUI OS) installation.
The TWRP backup gives me an image file, which can be extracted to apps and folders, but I'm not sure I can just copy paste that over to the /data folder(partition). Main concern is permissions. Would they be automatically set on OS boot?
Click to expand...
Click to collapse
He actually means Migrate as it's an app on Play Store. The app is sort of like Titanium Backup but free.
Sent from my MI 5s using Tapatalk
Thanks, I misunderstood the reply. Migrate indeed looks like the app that will do the job. I'll give it a shot.
Thanks again!
Quick update - I am now on LOS 16 and used Migrate. A few apps gave errors (Telegram is one of them) so I uninstalled and installed them back from Play Store. But that's nothing really. I loaded the launcher amd saw all my icons back where I left them... Amazing!

Categories

Resources