[Q] Clean install from Custom ROM to Stock Firmware - Galaxy S 4 Q&A, Help & Troubleshooting

Guys I need a little help.
I am planning on using stock Firmware. I am currently on Wanamlite v.18. I want a clean install just like when I am doing a Wipe prior to installing a custom ROM via CWM Recovery. But I don't want to lose all the files esp. those OBB's inside the Internal Memory:
This is my currenty setup
Wanamlite v1.8
Adam Kernel 1.8
PhilzTouch CWM-Based Recovery
GT-I9500
This is what I've thought of doing to properly execute my task:
Enter CWM Recovery and Wipe System, Data & Cache
Power-Off the unit and Enter Download Mode
Flash Stock Firmware (XXUBMG9, KSA) via Odin
Root, Flash Custom Recovery and Custom Kernel (Perseus or Adam)
Will my plan work or would each steps be in conflict of the other?
Many thanks for the answers!

I think you are on the right path...except that you have a chance of loosing your OBB files....so move them to a secure location and proceed...or better yet ...back up the app using the OBB file using titanium backup...that will ensure you have all the app data...there are many tutorials regarding this....then I think you can flash the stock Firmware. ..root the phone...then restore the app using titanium backup...good luck...hope this helps

sadeshmagic said:
I think you are on the right path...except that you have a chance of loosing your OBB files....so move them to a secure location and proceed...or better yet ...back up the app using the OBB file using titanium backup...that will ensure you have all the app data...there are many tutorials regarding this....then I think you can flash the stock Firmware. ..root the phone...then restore the app using titanium backup...good luck...hope this helps
Click to expand...
Click to collapse
How do you back-up those OBB files using Titanium Backup? I haven't tried that option.

Paolonicus said:
How do you back-up those OBB files using Titanium Backup? I haven't tried that option.
Click to expand...
Click to collapse
As I mentioned. ..either you move the OBB files to a secure location or you have to back up all your apps via titanium backup.... the thing is OBB files are used in your apps...so when you backup your apps from TB....the obb files get backed up

Related

Cannot restore Titanium Backup from PACman to Paranoid Android

After Google Services drying up my monthly data cap trying to download 4.3, I thought I'd move from PACman v23 to the new Paranoid Android 3.92 as it had 4.3. I thought I did all the right things. I backed up in Rom Manager, copied the file across to my PC. I ran a fresh backup of everything in Titanium Backup and copied that all across to my PC too.
I did a factory reset/data wipe and flashed bootloader/modem/rom/gapps as instructed and got the latest Paranoid Android running. I copy across my TB backup directory and I install TitaniumBackup from the market place. I go restore missing apps, and then... it just hangs on the first app. Read a little online, change the restore mode to "Interactive", doesn't fix it. Go back to the normal setting. I run Verify Backups, and to my surprise, it says there are errors with ALL my backup files. I get pissed, decide perhaps I should've just created a flashable zip. So I say no problem. I'm persistent. I'll create a backup of Paranoid Android, reflash my PACman backup, redo my Titanium Backup, and then reflash my Paranoid Android backup and apply the TB backup zip. So I Copy my PACman zip file, choose Install ZIP from sdcard, select the PACman zip and boom... MD5 verification failed.
I realise I had some Titanium Backup essentials backup on Google Drive and Dropbox, so I copy them over. Point TB to that directory, but the same problem persists. It just hangs.
I've been copying across the same TB folder between various ROM installations with no issues, and I'm not sure what is causing the issue here. I suspect it is either the bootloader and radio (which was what has been the extra step compared to installing other roms) but I don't want to admit that now all my backups are completely useless.
Am I missing something here? Anyone have any suggestions?
TL;DR I can't seem to get any TB backups to restore on my newly flashed Paranoid Android rom.
mversion said:
After Google Services drying up my monthly data cap trying to download 4.3, I thought I'd move from PACman v23 to the new Paranoid Android 3.92 as it had 4.3. I thought I did all the right things. I backed up in Rom Manager, copied the file across to my PC. I ran a fresh backup of everything in Titanium Backup and copied that all across to my PC too.
I did a factory reset/data wipe and flashed bootloader/modem/rom/gapps as instructed and got the latest Paranoid Android running. I copy across my TB backup directory and I install TitaniumBackup from the market place. I go restore missing apps, and then... it just hangs on the first app. Read a little online, change the restore mode to "Interactive", doesn't fix it. Go back to the normal setting. I run Verify Backups, and to my surprise, it says there are errors with ALL my backup files. I get pissed, decide perhaps I should've just created a flashable zip. So I say no problem. I'm persistent. I'll create a backup of Paranoid Android, reflash my PACman backup, redo my Titanium Backup, and then reflash my Paranoid Android backup and apply the TB backup zip. So I Copy my PACman zip file, choose Install ZIP from sdcard, select the PACman zip and boom... MD5 verification failed.
I realise I had some Titanium Backup essentials backup on Google Drive and Dropbox, so I copy them over. Point TB to that directory, but the same problem persists. It just hangs.
I've been copying across the same TB folder between various ROM installations with no issues, and I'm not sure what is causing the issue here. I suspect it is either the bootloader and radio (which was what has been the extra step compared to installing other roms) but I don't want to admit that now all my backups are completely useless.
Am I missing something here? Anyone have any suggestions?
TL;DR I can't seem to get any TB backups to restore on my newly flashed Paranoid Android rom.
Click to expand...
Click to collapse
Do you have the latest version of Titanium Backup, that supports Android 4.3?
mversion said:
After Google Services drying up my monthly data cap trying to download 4.3, I thought I'd move from PACman v23 to the new Paranoid Android 3.92 as it had 4.3. I thought I did all the right things. I backed up in Rom Manager, copied the file across to my PC. I ran a fresh backup of everything in Titanium Backup and copied that all across to my PC too.
I did a factory reset/data wipe and flashed bootloader/modem/rom/gapps as instructed and got the latest Paranoid Android running. I copy across my TB backup directory and I install TitaniumBackup from the market place. I go restore missing apps, and then... it just hangs on the first app. Read a little online, change the restore mode to "Interactive", doesn't fix it. Go back to the normal setting. I run Verify Backups, and to my surprise, it says there are errors with ALL my backup files. I get pissed, decide perhaps I should've just created a flashable zip. So I say no problem. I'm persistent. I'll create a backup of Paranoid Android, reflash my PACman backup, redo my Titanium Backup, and then reflash my Paranoid Android backup and apply the TB backup zip. So I Copy my PACman zip file, choose Install ZIP from sdcard, select the PACman zip and boom... MD5 verification failed.
I realise I had some Titanium Backup essentials backup on Google Drive and Dropbox, so I copy them over. Point TB to that directory, but the same problem persists. It just hangs.
I've been copying across the same TB folder between various ROM installations with no issues, and I'm not sure what is causing the issue here. I suspect it is either the bootloader and radio (which was what has been the extra step compared to installing other roms) but I don't want to admit that now all my backups are completely useless.
Am I missing something here? Anyone have any suggestions?
TL;DR I can't seem to get any TB backups to restore on my newly flashed Paranoid Android rom.
Click to expand...
Click to collapse
I'm having the same issues. Best luck I had is to install the latest SuperSU(PA uses an integrated superuser) and then restore my apps one by one. Some work and others don't. It's a problem with 4.3/TB and SU which hopefully will be resolved. Most of my games worked but Nova launcher did not. I was also in indirect mode when restoring them.
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
I think I screwed something up before. Just did a factory reset, installed latest SuperSU and changed app installation to indirect mode. Everything restored flawlessly after that.
Here is the reply for anyone having similar issues which is explained easily in details
https://plus.google.com/app/basic/stream/z12rw1urfveawxfxm04cjl1aoor5ezninhc
johnie5 said:
Here is the reply for anyone having similar issues which is explained easily in details
https://plus.google.com/app/basic/stream/z12rw1urfveawxfxm04cjl1aoor5ezninhc
Click to expand...
Click to collapse
Thanks.
I installed stock 4.3, had to flash the latest SuperSU to get root, and found that all my Titanium Backup files were A-OK. Perhaps it is just a matter of the latest SuperSU and the TB workaround detailed on that link:
...Titanium Backup is an example of such an app. It may incorrectly detect the path to your internal storage for backups, and thus crash on backup/restore. You can fix this by going into preferences and selecting a folder under /storage/emulated/legacy as backup/restore path, not under /storage/emulated/0.
Click to expand...
Click to collapse
I'll reinstall PA3.92 and try again.
Last update: Installing the latest Paranoid Android 3.94 and putting my Titanium Backup folder in the legacy folder detailed above has given me a working solution.
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
Thanks for the solution!! I've been trying to restore stuff for hours.
Happy I found a solution. I too spent way too long getting Titanium Backup to restore apps. And once I found this solution, implementing the folder change isn't just ticking a box or adding an entry. But all's well now. Really enjoying my first taste of Paranoid Android - lots of settings to figure out. I was having dpi/resolution issues with Simpson's Tapped Out and PA will give me several solution options. Thanks everyone!
mversion said:
Thanks.
I installed stock 4.3, had to flash the latest SuperSU to get root, and found that all my Titanium Backup files were A-OK. Perhaps it is just a matter of the latest SuperSU and the TB workaround detailed on that link:
I'll reinstall PA3.92 and try again.
Click to expand...
Click to collapse
I was having restore problems with Titanium Backup and installed SuperSU from the play store after reading this and then allowed it to update the binaries through CWM.
All my backups are now restoring fine!
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
This worked for me, too, on two different ROMs on my HTC One. I can't believe how easy it was after I tried to figure out a solution for about two hours. Thanks!!!
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
That's a bingo!
here is what I did (nexus 7 FLO)
menu - > preferences -> Backup folder location -> DETECT
choose /legacy instead of /0/something or other
It will ask to move the data
select yes
restore away
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
This was much appreciated. I simply switched the backup folder location from /storage/emulated/0 to /storage/emulated/legacy instead. Problem Solved. No Rebooting, no installing SuperSU or anything. I've spent two hours trying to restore my backups (the one time, I forgot to create the flash zips with all my backups and the one time I didn't have space to create a Nandroid,) and now I'm good to Go.
Mercado_Negro said:
You have to change the backups folder to storage/emulated/legacy in 4.3 to be able to restore your applications. You can change it in Menu/Preferences within TiBu.
Click to expand...
Click to collapse
Thanks , worked perfect :good:
Xentar712 said:
I'm having the same issues. Best luck I had is to install the latest SuperSU(PA uses an integrated superuser) and then restore my apps one by one. Some work and others don't. It's a problem with 4.3/TB and SU which hopefully will be resolved. Most of my games worked but Nova launcher did not. I was also in indirect mode when restoring them.
Click to expand...
Click to collapse
Thank you. I've had a few reinstalls now where I've had to redirect TiBu to the "Legacy" path but this time with Carbon rom I also had to update SuperSU, then let SuperSU update the binary through CWM before I could restore anything.
Edit: Also if you're having problems figuring out how to change Titanium Backup's default path in preferences, your phone/tablet's Back button (beside the home button) will move you up through directories in the "select backup folder" dialog. This one had me stuck for awhile so maybe this info will help someone else.
Even changing it to legacy I am unable to get TiBU to restore. I have even made it navigate to the Titanium Backup Folder where I can see all my apps and system data backed up but it won't load it to restore for some reason.
Any suggestions?
xavier2k3 said:
Even changing it to legacy I am unable to get TiBU to restore. I have even made it navigate to the Titanium Backup Folder where I can see all my apps and system data backed up but it won't load it to restore for some reason.
Any suggestions?
Click to expand...
Click to collapse
Yes, flash superSU:
http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip
droidgren said:
Yes, flash superSU:
http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip
Click to expand...
Click to collapse
Already had. I just set it up again from scratch. Wasn't that bad to be honest.
Titanium Backup was updated today to version 6.1.1. It uses the /legacy path now by default for ROMs using Superuser. You shouldn't run into problems anymore.

[Q] How to restore Titanium backup backup without root ? urgent help

Hello,
i have titanium backup files i made from my old Note2 and now i want to restore on my new S4
i don't want to root my new s4 anyway to keep it clean
is there any way to make titanium backup restore the apps without root ?
i need only the apps not the data .. just the apps
so , is there any other way to restore just the apps from the titanium backup folder ?
Extract the apk files from the titanium backup archives and put it on your sdcard so you can install them
Sent from my Xperia Arc S using XDA Premium 4 mobile app
om22 said:
Extract the apk files from the titanium backup archives and put it on your sdcard so you can install them
Sent from my Xperia Arc S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I need to restore my backups to my non-rooted phone but I need the app data.. is this possible?
Not without root. I wouldn't recommend extracting the apks as your market links will be broken. No updates. You need root or start again
MamomaN said:
Hello,
i have titanium backup files i made from my old Note2 and now i want to restore on my new S4
i don't want to root my new s4 anyway to keep it clean
is there any way to make titanium backup restore the apps without root ?
i need only the apps not the data .. just the apps
so , is there any other way to restore just the apps from the titanium backup folder ?
Click to expand...
Click to collapse
If you still have Note II, there is an easy way to accomplish what you need.
Astro File Manager can back up all installed apps to a folder named "backups." Apps can be reinstalled in the normal way from this folder. Market link is not lost, no root required.
After some of my past experiences, I tend to back up things six ways from Sunday and this has been handy for me.
I hope this helps.
Use Helium if you can..
On the same line, if you still have your note 2, use Helium (Koush's app, previously Carbon) instead..
It allows for backup/restore of data without root.
Now can you use data files backed up with Titanium to restore using Helium is unknown to me...
---
Edit: Apologies, wrong reply, dint read that you want just the apps and not the data! Talked only about data..
My experiences.
I just got a G3 and the computer side for Helium wouldn't recognize my phone. Not sure if I wanna root.
OK. I just lied to you. I do wanna root it.
I'm gonna try the Astro method.
I am stuck in the same situation....tried everything but there is no way around to to restore unless the phone is rooted
bsam55 said:
If you still have Note II, there is an easy way to accomplish what you need.
Astro File Manager can back up all installed apps to a folder named "backups." Apps can be reinstalled in the normal way from this folder. Market link is not lost, no root required.
After some of my past experiences, I tend to back up things six ways from Sunday and this has been handy for me.
I hope this helps.
Click to expand...
Click to collapse
I tried the Astro method suggested here. Just a warning: only the apk is backed up; no app data. I was hoping it would do the app data since that is what I really care about.
On a rooted device, ES File Explorer (any version) can back up both apps and data. I back up my apps and data with it all the time, or else I wouldn't have gone through the trouble of modifying pre-malware versions of that app to work with systemless root.
Without root however, backing up the data is impossible.
Strephon Alkhalikoi said:
On a rooted device, ES File Explorer (any version) can back up both apps and data. I back up my apps and data with it all the time, or else I wouldn't have gone through the trouble of modifying pre-malware versions of that app to work with systemless root.
Without root however, backing up the data is impossible.
Click to expand...
Click to collapse
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
pvman said:
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
Click to expand...
Click to collapse
Just install apk that backed up inside backups/apps. I use ES nowadays just to backup Titanium Backup apk so I don't have to re-download it everytime I clean flash my device.
For data of apps, you might need root.
Sent from my Redmi 3 using XDA Labs
pvman said:
What about restoring from an ES File Explorer backup? Can an ES File Explorer backup (apps and/or data) be restored on a non-rooted device?
Click to expand...
Click to collapse
Apps can be restored, but not data. Even if you did have app data backed up it cannot be restored without root.
EDIT: Clarified message.
Without root, you will not be able to restore data because the file/directory owner and SELinux security context need to be changed. This is the way Android works; with only a few exceptions, each app gets its own user ID (owner) as which the app runs. Generally speaking, one user ID (UID) cannot write the files/directories of another UID. Doing that would require that UID to set the mode bits (permissions) of a file or directory so that group (GID) or "other" is allowed, but Android apps generally don't do that to maintain the "one UID per app" sandbox. Similarly, if SELinux is used, additional access checks are made based on SELinux contexts (but I don't know that well, so I can't explain it, other than to say, if your file context is not right compared to the context of the process accessing it, it will be denied/won't work).
root on the other hand can override permission checks, and can assign the UID, GID, mode bits, and (usually) the SELinux security context of a file or directory. That is what TB does. If you have SuperSU Pro, you can see the chown/chmod/etc. that it does in its logs.

Flashable Zip

If you flash a new rom you would have to redownload the required apps or use an app like Titanium Backup to reinstall them (or manually install each app) which is time consuming.
Its just far easier to make a flashable .zip and keep in on SD card so after each wipe and ROM flash you could just flash this zip and all would be there.
I have made this thread so that members can name the apps to be installed and I will provide you with a flashable zip. The zip file can be flashed through the stock recovery.
BE SPECIFIC
1. List the names of the apps.
2. Whether the app should be paid or free version.
3. List the file hosting site on which i should upload.
4. The zip file will be uploaded within 2 days.
the advantage of titanium would be, that I don't have to reconfigure apps, since I can restore app data too
junkyde said:
the advantage of titanium would be, that I don't have to reconfigure apps, since I can restore app data too
Click to expand...
Click to collapse
the advantage of flashable zip is that it installs apps in just seconds.
and btw we can restore app data through a zip as well
If I have a request, do I PM you or post it here?

How to transfer apps & user data from Kitkat 4.4.4 to Marshmallow 6.0.1?

Hi, I just start to use Note 4 with Marshmallow 6.0.1 installed. My current phone is on Kitkat 4.4.4. How can I transfer apps and user data from Kitkat to Marshmallow? I tried to use Titaniumbackup by copying the folder over, but no apps got showed up in Marshmallow. I tried another apps called app backup and restore, but it seems this apps only backup and restore apps, not user data. Thanks in advance to advice.
Use titanium backup and create a flashable zip file with the backup. Copy the zip file to the new phone then flash the zip file. Don't backup system data if you're using a different phone or ROM.
shadowcliffs said:
Hi, I just start to use Note 4 with Marshmallow 6.0.1 installed. My current phone is on Kitkat 4.4.4. How can I transfer apps and user data from Kitkat to Marshmallow? I tried to use Titaniumbackup by copying the folder over, but no apps got showed up in Marshmallow. I tried another apps called app backup and restore, but it seems this apps only backup and restore apps, not user data. Thanks in advance to advice.
Click to expand...
Click to collapse
Where did you copy the TB backup folder to? Did TB find the folder to restore apps?

[GUIDE] Create update.zip for TWRP flash with user apps

Many of you flashed many ROMs. For that you have to wipe data and all of your apps. And everytime you have to install apps from playstore or sd card.
So easy way to avoid time to make a TWRP flashable zip file.
1ST METHOD Root your phone and backup all of your data and create update*.zip file from titanium backup pro app.
link https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup
2ND METHOD Use aroma package creater from *@Nikhil
go to this thread https://forum.xda-developers.com/showthread.php?t=2633379
Hit thanks if it helped to save your lot of time.
Which one of these methods can backup and restore data for apks too, not only apks?
jazzh said:
Which one of these methods can backup and restore data for apks too, not only apks?
Click to expand...
Click to collapse
Both method. In titanium backup u must have root. But flashable method no need to root. For restore data of any apps u must put data file from root directory of the app in the flashable zip creator.
Storing data of an app my conflict many issues, better to avoid. I prefer storing only user apps while flashing apps.
HAPPY FLASHING

Categories

Resources