Unlock bootloader without wiping data? - Sony Xperia L

Flashing ftf is a must after unlocking, but is there a way to preserve data ? I mean my phone will not get wipe
Sent from my C2105 using xda app-developers app

Try not to wipe cache and user data when flashing through Flashtool.
If you can't boot to system without wiping userdata, the best way is backup via Titanium Backup before unlocking bootloader.
If I'm not wrong, Internal SD wouldn't get wiped, only /data partition. But it's better to take backup of your Internal SD first.

underd0g said:
Try not to wipe cache and user data when flashing through Flashtool.
If you can't boot to system without wiping userdata, the best way is backup via Titanium Backup before unlocking bootloader.
If I'm not wrong, Internal SD wouldn't get wiped, only /data partition. But it's better to take backup of your Internal SD first.
Click to expand...
Click to collapse
Yeah internal sd will not be affected but my concern is the data,
Sent from my C2105 using xda app-developers app

amnher said:
Yeah internal sd will not be affected but my concern is the data,
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
I don't get what you mean about the "data" :|
Is it Contact, SMS, etc? Backup using My Backup/ My Backup Pro: https://play.google.com/store/apps/details?id=com.rerware.android.MyBackup
App & Game? Backup using Titanium Backup

underd0g said:
I don't get what you mean about the "data" :|
Is it Contact, SMS, etc? Backup using My Backup/ My Backup Pro: https://play.google.com/store/apps/details?id=com.rerware.android.MyBackup
App & Game? Backup using Titanium Backup
Click to expand...
Click to collapse
Well ill just backup my updated system and data apps with Titanium. But when I restore it, all gets force close(gmail, google play services, etc...)

amnher said:
Well ill just backup my updated system and data apps with Titanium. But when I restore it, all gets force close(gmail, google play services, etc...)
Click to expand...
Click to collapse
Ahh I see..
For system app backup, you need to restore it manually one by one, don't use batch action.
FC is normal for restoring system app, but after reboot, FC is gone.
If you want to move updated app from /data to /system partition.
You can use Batch action "Integrate update of system apps into ROM"
Again, it's normal if FC happen, just reboot your phone after finished integrating the update.

underd0g said:
Ahh I see..
For system app backup, you need to restore it manually one by one, don't use batch action.
FC is normal for restoring system app, but after reboot, FC is gone.
If you want to move updated app from /data to /system partition.
You can use Batch action "Integrate update of system apps into ROM"
Again, it's normal if FC happen, just reboot your phone after finished integrating the update.
Click to expand...
Click to collapse
but problem is still there. I reflashed again and I just restored data apps... I already tried wiping cache and dalvik and reboot but FC still there... Im not planning to move to updated app

Related

[Q] What does nandroid backup contain?

Before people start coming in to flame me for using the search button, please let me clarify that i have looked into several threads on xda and none of them provided me with a clear cut answer of what i wanted to know.
I understand first of all is that nandroid backup is a complete image of what is on the phone which should include stuff like settings, sms, call logs, data etc. What i have not found, however, if they keep other files that are lying around in the phone. For example, most of my Nexus S consists of videos and music (7-10GB) and in separate folders that are not tied to any apps in particular. Hence, if they are included in nandroid backup i would not have sufficient storage to do so (reminder that Nexus S has 16 GB)
I have "accidentally" posted on the galaxy S forum of xda and someone pointed out that it backs up apps and data from the internal SD. As far as i know this is slightly different with Nexus S because i observed that most apps are already installed in the "external" SD portion of the data.
Overall, i'm just a little confused. Can anyone clarify this?
It is just apps and data. The sd card is i believe split so that it doesnt touch your music, videos, and images. It just takes care of the main system stuff like apps and settings. Hoped i helped
Sent from my Nexus S using XDA Premium App
But aren't most apps on the nexus S installed on the sd card section of the storage? At least they are under Settings->Application settings->Manage applications->USB Storage
For example my Gameloft games would be almost 1 GB in size so would that be backed up as well. I will end up with gigantic nandroid backups.
A nAnroid backup includes
.android_source - apps2sd information/apps stored on /sdcard
boot - boot image
cache - cache files stored on /cache
data - apps, dalvik other stuff on /data
recovery - recovery image
system - system apps, frameworks modules etc on /system
nadroid.md5 - md5 information
nandroids do not include anything on the /sdcard other than .android_source.
how to do it? by using CWM?? am i wrong or correct??
ciwek90 said:
how to do it? by using CWM?? am i wrong or correct??
Click to expand...
Click to collapse
Correct.
Flash ClockworkMod.
(You might have to rename /etc/install-recovery.sh to get it to stick.)
Boot into fastboot (volumeUp+ power).
Recovery - Backup and Restore - Backup.
Maximilian Mary said:
Correct.
Flash ClockworkMod.
(You might have to rename /etc/install-recovery.sh to get it to stick.)
Boot into fastboot (volumeUp+ power).
Recovery - Backup and Restore - Backup.
Click to expand...
Click to collapse
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
ciwek90 said:
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
Click to expand...
Click to collapse
Nandroid is basically all or nothing. There is an advanced restore which can restore only the partitions you want (like system or data), but it probably won't play nicely with a custom rom. Your best best is to use titanium backup for user apps & data, and perhaps some select system data like texts, bookmarks, and wifi settings. Check out the batch backup/restore options for user apps & data.
ciwek90 said:
Awesome! but if i want to flash custom rom and i do backup first then i flash new custom rom, so i can get back all my apps by restoring nandroid backup is it? or nandroid backup is only for when things went wrong? i confuse...
Click to expand...
Click to collapse
Nandroid backup backs up everything including the rom... so NO you can't restore apps with it.
To just save apks/apps you use eg Titanium Backup.
NOW i know it! Thank you so much @Maximilian Mary and @rentaric for helping me!
Nandroid = for backup/restore previous rom
Titanium = for backup/restore data & apps
Thanks again!
rentaric said:
Nandroid backup backs up everything including the rom... so NO you can't restore apps with it.
To just save apks/apps you use eg Titanium Backup.
Click to expand...
Click to collapse
Bro, does nandroid backup include the IMEI also?
heyimCHOLO said:
Bro, does nandroid backup include the IMEI also?
Click to expand...
Click to collapse
Some recoveries have this option buy many don't, just boot to your recovery and see if it is listed as an option, if not, then no
Your apps will still be on your sd card because your just restoring your operating system that you had with all of it settings it will show all of your apps you had but if you deleted it from the sd card when you try opening it it would say app not installed. Nandroid backup saves everything in settings and operating system apps will be on sd card. Some apps can be included in nandroid it just depends where they are located when back up is saved.

System wipes and factory resets

What is the difference between a System wipe and. a factory reset. Doesn't Factory wipe the internal sd card clean and that is why we do Titanium Backup of our apps and store them on the external sd card? Will a system wipe require we do the same thing ?
lartomar2002 said:
What is the difference between a System wipe and. a factory reset. Doesn't Factory wipe the internal sd card clean and that is why we do Titanium Backup of our apps and store them on the external sd card? Will a system wipe require we do the same thing ?
Click to expand...
Click to collapse
Factory reset - wipe all user download apps, reset (clear app data/cache) for all system apps. You will boot to a factory setup.
System wipe, you delete all the system apps the result is you have NO O/S to boot to. Twrp will alerts you that you have no O/S.
If you backup your system apps or user apps with Titanium, it will save you time to update. All system apps come with the rom but outdated, so once they installed, you need to update them.
TiBu offers as an option to do a system apps backup. Could those be used to replace the OS? I know a nanroid back up does this but I am curious about how everything works together. :cyclops:
lartomar2002 said:
TiBu offers as an option to do a system apps backup. Could those be used to replace the OS? I know a nanroid back up does this but I am curious about how everything works together. :cyclops:
Click to expand...
Click to collapse
No, the O/S contained a lot more than just system apps, like Kernel, bootloader etc.. nandroid can backup all these, but not Tibu. Tibu only backing up system apps. You need the OS to install Tibu in order to restore system apps.
Edit: Tibu has an option to backup all system/user apps as a zip file and this file can be flash using twrp, but only apps, no O/S.(kernel, bootloader).
Okay, thank very much for clearing all of it up for me

how to reset cm10 system settings and clear dalvik cache and cache?

how to reset cm10 system settings and clear dalvik cache and cache?
lg p500 running cm10.1 unofficial 4.1.2 jellybean
i did some changes on settings>interface>system>statusbar&notification drawer
and it changed some things i dont like problem is i cant seem to undo the changes
how do i reset the settings to default WITHOUT DELETING ANY DATA and will clearing dalvik cache and cache help and be safe to do even after
i flashed this custom rom back in march without deleting any data
Wipe system, cache and dalvik cache from your recovery and then flash the Rom and gapps again
Sent from my GT-I9082 using xda premium
akiratoriyama said:
Wipe system, cache and dalvik cache from your recovery and then flash the Rom and gapps again
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
doing that will delete my data wont it? will it?
akiratoriyama said:
Wipe system, cache and dalvik cache from your recovery and then flash the Rom and gapps again
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
i want to do this because i have this problem
i want to use the slide notification bar for quick brigthness changing it worked before but it shows this now:
lg p500 doesnt even have ambient light sensor so i dont know how automatic brightness would even be enabled:
If you want you can take a nandroid backup and yes it won't delete any of your data
Sent from my GT-I9082 using xda premium
akiratoriyama said:
If you want you can take a nandroid backup and yes it won't delete any of your data
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
How to make a nandroid backup and what does it do?
I thought if you click wipe system in recovery it deletes your data? Please explain thoroughly so I can do is safely and DON'T lose data
androiddownloader said:
How to make a nandroid backup and what does it do?
I thought if you click wipe system in recovery it deletes your data? Please explain thoroughly so I can do is safely and DON'T lose data
Click to expand...
Click to collapse
If you wipe system you done loose data ... data here roughly means data partition which holds apps
it wipes only when you wipe data or a reset etc
in recovery you can make a backup of current rom ... you need abour 400 mb free space on sdcard
then try anything if it doesnt work out .. in recovery you can restore and nothing would be lost
mcd_legend said:
If you wipe system you done loose data ... data here roughly means data partition which holds apps
it wipes only when you wipe data or a reset etc
in recovery you can make a backup of current rom ... you need abour 400 mb free space on sdcard
then try anything if it doesnt work out .. in recovery you can restore and nothing would be lost
Click to expand...
Click to collapse
if i click wipe system do i lose data? what does wiping system do?
after i make the nandroid backup on my clockwork mod recovery how do i use it to restore from the backup?
akiratoriyama said:
If you want you can take a nandroid backup and yes it won't delete any of your data
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
mcd_legend said:
If you wipe system you done loose data ... data here roughly means data partition which holds apps
it wipes only when you wipe data or a reset etc
in recovery you can make a backup of current rom ... you need abour 400 mb free space on sdcard
then try anything if it doesnt work out .. in recovery you can restore and nothing would be lost
Click to expand...
Click to collapse
i read "wipe system" in clockword mod means "Formatting the system partition will remove your ROM and leave your phone without an operating system "
that means i would lose my operating system or data then what do i do
androiddownloader said:
i read "wipe system" in clockword mod means "Formatting the system partition will remove your ROM and leave your phone without an operating system "
that means i would lose my operating system or data then what do i do
Click to expand...
Click to collapse
you will loose your current rom not data ...
u see apps are in /data partition
and rom on /system ... so wiping system wont afftect /data
its like in windows when you reinstall windows ... only c: gets wiped rest like d: etc arent changed
for nandroid restore ... u can go in recovery > backup and restore ... there is an option for that
mcd_legend said:
you will loose your current rom not data ...
u see apps are in /data partition
and rom on /system ... so wiping system wont afftect /data
its like in windows when you reinstall windows ... only c: gets wiped rest like d: etc arent changed
for nandroid restore ... u can go in recovery > backup and restore ... there is an option for that
Click to expand...
Click to collapse
im saying if i make a backup in cwm and then wipe system that will delete my rom operating system right? and then right after i go to restore the backup? if i do wont the settings go right back that is giving me the brightness problem. and if my phone accidentally turns off then how am i going to get to cwm if theres no rom operating system
androiddownloader said:
im saying if i make a backup in cwm and then wipe system that will delete my rom operating system right? and then right after i go to restore the backup? if i do wont the settings go right back that is giving me the brightness problem. and if my phone accidentally turns off then how am i going to get to cwm if theres no rom operating system
Click to expand...
Click to collapse
©FIRST & LAST >>WIPING/FACTORY RESETTING SYSTEM DOESN'T DELETING SYSTEM.
My dear bro.answer is very very simple
First thing- you want data but not settings right ?
Just go in recovery - go in backup section - backup whole system(do a nandroid bacup)
After that in main menu select -wipe data/factory reset and then wipe cache and dalvik cache also,Ok
Now you only want data and fresh system(resetted) am i right ?
Now go to backup &restore - select Advance restore - select restore data only - select your last backup.
After that back in main menu and select reboot system now!and voila system rebooted(takes about 5-7 minutes ) and you can seeing problem is gone and all data is intact.as it is.
Last but no least - some of your apps that you installed separately is in internal memory is gone due to factory resetting system.
So it is adviced do a titanium backup of each before doing above things
Btw,who tells you wiping system delets itself?
Press thanks if i helped you!

[Q] save app cache ??

I need a way to backup app cache and restore it automatically after reboot
If you referring to App Data, you should use titanium backup for all the apps you would like to backup.
MeganTheo613 said:
If you referring to App Data, you should use titanium backup for all the apps you would like to backup.
Click to expand...
Click to collapse
No I need cache not app data for US play store so I don't have to restart the process every time I reboot

Proper way to backup system, apps and settings

Since I just got stuck with a broken nightly on cyanogenmod I wanted to ask for a solid way to backup the system, apps and all settings of my device (which is a HTC one S ville).
I thought about backing up my cyanogenmod system with TWRP?
Is TWRP able to backup all the apps and app settings? Does it also include for exmple Tasker profiles?
What is a backup app like titanium for? Do I even need it if I back up frequently with TWRP?
Thanks in advance
The twrp backup is an exact image of all your partitions: cache, boot, system and data including the file system. It'll contain everything you have on your phone except sdcard. It's downside is that you cannot restore only a specific app or it's data, you have to restore all of them.
Titanium Backup on the other side, backups the apps and data and allows separate restore for each app.
If you do frequent twrp backups and you would restore everything at once, you don't need TB
Sent from nowhere over the air...
Rapier said:
The twrp backup is an exact image of all your partitions: cache, boot, system and data including the file system. It'll contain everything you have on your phone except sdcard. It's downside is that you cannot restore only a specific app or it's data, you have to restore all of them.
Titanium Backup on the other side, backups the apps and data and allows separate restore for each app.
If you do frequent twrp backups and you would restore everything at once, you don't need TB
Sent from nowhere over the air...
Click to expand...
Click to collapse
Agree TWRP

Categories

Resources