install data in the system - General Questions and Answers

Hello I want to know if there is the possibility of modifying the rom or an apk so that the data of a single application is installed in the system to avoid losing the data after a factory reset. thanks i hope you answer

dannysanchez1601 said:
Hello I want to know if there is the possibility of modifying the rom or an apk so that the data of a single application is installed in the system to avoid losing the data after a factory reset. thanks i hope you answer
Click to expand...
Click to collapse
You can backup the data and store the backup somewhere other than on your device then use the backup to restore the data if it gets wiped.
Sent from my SM-S767VL using Tapatalk

Related

Unlock bootloader without wiping data?

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

[Q] Factory reset doesn't delete data/restore system?

Aside from the pee-stain at the bottom of the phone I did notice one thing. When you do a factory reset (and select/check that deleting userdata is okay) it does not:
• delete sdcard data
• remove user settings for apps/wifi
• restore modified system files (hosts, etc...)
• root remains as well
Is there actually a way to do a proper reset and have it restore things as it should? In line with that how do I securely erase the data if possible so in given it to a family or it ends up on some truck with Avast that the data can't be restored?
Thanks!
windraker said:
Aside from the pee-stain at the bottom of the phone I did notice one thing. When you do a factory reset (and select/check that deleting userdata is okay) it does not:
• delete sdcard data
• remove user settings for apps/wifi
• restore modified system files (hosts, etc...)
• root remains as well
Is there actually a way to do a proper reset and have it restore things as it should? In line with that how do I securely erase the data if possible so in given it to a family or it ends up on some truck with Avast that the data can't be restored?
Thanks!
Click to expand...
Click to collapse
WTF? Factory reset does not actually factory reset..? This seems like a huge bug with CM11... Especially the part about the lack of deletion in the SD card and user settings.
an_xda said:
WTF? Factory reset does not actually factory reset..? This seems like a huge bug with CM11... Especially the part about the lack of deletion in the SD card and user settings.
Click to expand...
Click to collapse
Nope. I had rooted the phone and while I think I lost root; the modified hosts file I changed (http://winhelp2002.mvps.org/hosts.htm) was still there as well as the entire SD card contents. It remembered my home wifi as well because I looked in settings and it showed my home one as "out of range"
Not sure if it's a bug or by design as I haven't tried flashing the stock image yet.
For a complete factory reset that will erase everything. Everything! You can do a factory reset from the boot loader. (Restart or power on phone and hold down the volume down button, scroll to factory reset, push power button) or from TRWP data reset, it makes you confirm and type "yes"
I reset my phone through the boot loader on accident a couple times and wanted to kick my dog.
Sent from my HTC One using XDA Free mobile app
You guys do know that factory resetting only formats the data partition excluding the /data/media directory. This is not a bug. It wouldn't need to do anything to the system partition of you don't root. And it's not able to restore the system partition without a system image and where are you going to store that? In the system partition? All user settings including apps and WiFi settings are stored on the data partition will actually be wiped unless when you log into your Google account you select restore from backup. There's no reason you would want to delete storage too when factory resetting unless you want to sell the phone and you can delete that in so many ways since it's your storage.
Sent from my TouchPad using XDA Premium 4 mobile app
cannonofcourse said:
For a complete factory reset that will erase everything. Everything! You can do a factory reset from the boot loader. (Restart or power on phone and hold down the volume down button, scroll to factory reset, push power button) or from TRWP data reset, it makes you confirm and type "yes"
I reset my phone through the boot loader on accident a couple times and wanted to kick my dog.
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
The Jack of Clubs said:
You guys do know that factory resetting only formats the data partition excluding the /data/media directory. This is not a bug. It wouldn't need to do anything to the system partition of you don't root. And it's not able to restore the system partition without a system image and where are you going to store that? In the system partition? All user settings including apps and WiFi settings are stored on the data partition will actually be wiped unless when you log into your Google account you select restore from backup. There's no reason you would want to delete storage too when factory resetting unless you want to sell the phone and you can delete that in so many ways since it's your storage.
Sent from my TouchPad using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thank you both Tried that and worked. Wanted to restore the hosts file to stock but couldn't find the original again. (didn't think to extract factory rom files on cyangen site)
The solution is in their FAQ.
so wait... if i factory reset from twrp... will my internal sd.. i.e. music.. and other files also get deleted?
abhimanyu bajaj said:
so wait... if i factory reset from twrp... will my internal sd.. i.e. music.. and other files also get deleted?
Click to expand...
Click to collapse
No.
Transmitted via Bacon
timmaaa said:
No.
Transmitted via Bacon
Click to expand...
Click to collapse
and if i flash a new rom... will it be deleted?
abhimanyu bajaj said:
and if i flash a new rom... will it be deleted?
Click to expand...
Click to collapse
Just flashing the ROM by itself will not wipe data or internal storage, but you may encounter bugs (it's called dirty flashing). The best way to get a bug-less ROM is to clean flash which means wiping every partition. The only one that should be OK is internal so you don't have to wipe that one when clean flashing.
abhimanyu bajaj said:
and if i flash a new rom... will it be deleted?
Click to expand...
Click to collapse
No, flashing a ROM doesn't wipe user data. When flashing a new ROM it's best to wipe system, data, cache, and dalvik cache, but it isn't necessary to wipe (internal storage) user data.
Newbie XDA member
I change my phone original bootanimation and then i get No Command when i factor reset .. Nothing Happend how do just restore my (/system) /system/media bootanimation.zip ... other way to fix this thing i have pc >?

[Q] [Help] How to restore internal data

so i was format my data and forgotten that i have an important notes and how stupid i am that i haven't backup my data
can i restore the data ?
thanks
jerryhaikal said:
so i was format my data and forgotten that i have an important notes and how stupid i am that i haven't backup my data
can i restore the data ?
thanks
Click to expand...
Click to collapse
Nope there is no way you can recovery it. But still you can connect your phone to pc and use mini tool partition wizard to recover lost data as if you have not much written the new data over when erased you maybe would able to recover it.
Sent from my XT1033 using XDA Free mobile app

Best way to backup apps + data without root

Hi!
I'm going to wipe data and cache and I need to make a app + data backup without root.
Two only method I know are hellium and adb backup.
In the last device I owned Hellium doesn't work properly (I lost most apps and data). And using adb backup I'm not sure if it works perfectly or if it will improve device smoothness.
Do you recommend me a good way to backup apps with their data?
Thanks in advance.
Hello
Since you posted this in the Samsung S8 section, non whithstanding your signature, i am going to assume you have an S8.
I was wondering the same thing.
Would SmartSwitch not fullfil your backup needs?
Jay
magarto said:
Hi!
I'm going to wipe data and cache and I need to make a app + data backup without root.
Two only method I know are hellium and adb backup.
In the last device I owned Hellium doesn't work properly (I lost most apps and data). And using adb backup I'm not sure if it works perfectly or if it will improve device smoothness.
Do you recommend me a good way to backup apps with their data?
Thanks in advance.
Click to expand...
Click to collapse
Yes, I have a S8. I thought I posted it in the questions and answers forum.
I didn't know that with Smart Switch we can full backup apps and data and not only transferring them to a new Samsung device.
I hope that backups are encrypted.
Smart Switch does not restore everything.... Just like Helium (non-root) . Some apps prohibit backing up app data ???

[Resolved] [HELP] [TWRP] Unable to find "Format data" button

Hi guys,
First : thanks a lot for all your help on this forum.
I'm trying to install a custom ROM on my new LG G6 H870 phone using TWRP 3.1 and i'm facing an issue : I can't find the "Format Data" button in the Wipe menu. I need that button to remove the "Encryption Unsuccessful" screen after flashing.
What did I missed ? Can't see any thread talking about this....
Is the option "Repair or Change File System" / "Change File System" / "Ext4" doing exactly the same ? It does not remove the "Encryption Unsuccessful" screen...
Should I try to reinstall TWRP ?
Thanks a lot for your help.
Ok, the twrp image I used seems to be broken... I downloaded it again from the official webiste, now everything works.
I re-flashed twrp using fastboost, everything worked well. I have now the Format data button...
Thanks
Format data button
Hello,
Could you please help me to understand the real function of Format data button in Wipe section ?
Cause I saw in a thread that it is needed to root android phone but does-it also delete all data in the phone (pictures videos etc...) ? And if so, is it possible to recover these files after formatting ?
Thank you !
infostar said:
Hello,
Could you please help me to understand the real function of Format data button in Wipe section ?
Cause I saw in a thread that it is needed to root android phone but does-it also delete all data in the phone (pictures videos etc...) ? And if so, is it possible to recover these files after formatting ?
Thank you !
Click to expand...
Click to collapse
Yes, everything that you have stored on the device will be removed during the format.
Can it be recovered after? Maybe, maybe not, typically, if just deleted, it can be mostly recovered fairly easily, but when formatting instead of deleting, it is usually difficult to recover anything, if anything can even be recovered at all.
When stored information is simply deleted, it can be recovered because it isn't actually gone, it is still there, it is just "tagged" to be ignored by the system as if it isn't there, then, the next time the device needs to write new data, it overwrites the "tagged" data. When you "recover" deleted data, you are basically just removing the "tag" so that the "deleted" data is no longer marked to be ignored/overwritten.
But, when you format, it does not delete the data(it is not "tagged"), it is removed and then overwritten to make the space "blank".
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Yes, everything that you have stored on the device will be removed during the format.
Can it be recovered after? Maybe, maybe not, typically, if just deleted, it can be mostly recovered fairly easily, but when formatting instead of deleting, it is usually difficult to recover anything, if anything can even be recovered at all.
When stored information is simply deleted, it can be recovered because it isn't actually gone, it is still there, it is just "tagged" to be ignored by the system as if it isn't there, then, the next time the device needs to write new data, it overwrites the "tagged" data. When you "recover" deleted data, you are basically just removing the "tag" so that the "deleted" data is no longer marked to be ignored/overwritten.
But, when you format, it does not delete the data(it is not "tagged"), it is removed and then overwritten to make the space "blank".
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Thanks a lot for the details, I will try my best to restore my phone after this because it bootlooped yesterday ...... So, I'm thinking of getting an image of the system with ADB sideload on recovery mode before flashing the original firmware....
Is it a bad idea ?
infostar said:
Thanks a lot for the details, I will try my best to restore my phone after this because it bootlooped yesterday ...... So, I'm thinking of getting an image of the system with ADB sideload on recovery mode before flashing the original firmware....
Is it a bad idea ?
Click to expand...
Click to collapse
You don't necessarily need to pull a system.img, backing up your data via adb then restoring the data after getting the bootloop fixed, should work.
If you can get adb to connect with the device properly, then, yes, I would pull an adb backup of your apps, data and personal settings. Then wipe or reflash the device then restore the apps, data and settings from the adb backup. Are you familiar with adb backup?
Sent from my SM-S767VL using Tapatalk
Droidriven said:
You don't necessarily need to pull a system.img, backing up your data via adb then restoring the data after getting the bootloop fixed, should work.
If you can get adb to connect with the device properly, then, yes, I would pull an adb backup of your apps, data and personal settings. Then wipe or reflash the device then restore the apps, data and settings from the adb backup. Are you familiar with adb backup?
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
No, I'm not familiar with it but I read a lot of XDA threads and I will give it a shot. ISo, I'll try an ADB backup. If it's not working, it won't big a big deal, I will reflash it to have my phone back.
Thanks

Categories

Resources