Ok, have bumped phone... TWRP, and working great, but have question - G3 Q&A, Help & Troubleshooting

So I restored my phone from a TWRP backup, very nice, very fast.
However, I discovered I have to (re)setup my Cal account options, and other apps accounts/options as well.
Is the restore supposed to be an 'exact' copy of my phone?
Thanks.

1. Questions go in Q&A forum not General.
2. Whenever I have restored using TWRP it has been an exact copy of what I backed up.

samorgs said:
1. Questions go in Q&A forum not General.
2. Whenever I have restored using TWRP it has been an exact copy of what I backed up.
Click to expand...
Click to collapse
Hum. My backups include boot, system and data. No cache or EFS. They are all restored.
Am I missing a setup thing or ?

samorgs said:
1. Questions go in Q&A forum not General.
2. Whenever I have restored using TWRP it has been an exact copy of what I backed up.
Click to expand...
Click to collapse
Hum. My backups include boot, system and data. No cache or EFS. They are all restored.
Am I missing a setup thing or ?
I am unable to move this thread to QA

JeffDC said:
Hum. My backups include boot, system and data. No cache or EFS. They are all restored.
Am I missing a setup thing or ?
Click to expand...
Click to collapse
In order to have an "exact" copy you would have to restore the "cache" too, but since you didn't back up your cache your only choice would be is to redo your settings.

Please post questions in the Q&A section
Thread moved

Amb669 said:
In order to have an "exact" copy you would have to restore the "cache" too, but since you didn't back up your cache your only choice would be is to redo your settings.
Click to expand...
Click to collapse
Excellent, thank you.

JeffDC said:
Excellent, thank you.
Click to expand...
Click to collapse
Okay well your cache has nothing to do with settings saved on your phone. Your cache can be deleted at any time while running any ROM and it wont change settings in your phone, unless for some odd reason your phone has not written the data to storage yet before a reboot. Your cache is used to temporarily store files that your phone will need in the future to help open apps quicker without having to look up the required files each time for the operation. Instead, the phone can look to the cache to quickly load commonly used files back into the RAM.

acparker18 said:
Okay well your cache has nothing to do with settings saved on your phone. Your cache can be deleted at any time while running any ROM and it wont change settings in your phone, unless for some odd reason your phone has not written the data to storage yet before a reboot. Your cache is used to temporarily store files that your phone will need in the future to help open apps quicker without having to look up the required files each time for the operation. Instead, the phone can look to the cache to quickly load commonly used files back into the RAM.
Click to expand...
Click to collapse
Thanks. Any thoughts on why my restore did not have my 'accounts' setup, like my default google account for 'Cal(anded)", and others? I had to spend a bit of time re-setting up a number of 'accounts and preferences.

JeffDC said:
Thanks. Any thoughts on why my restore did not have my 'accounts' setup, like my default google account for 'Cal(anded)", and others? I had to spend a bit of time re-setting up a number of 'accounts and preferences.
Click to expand...
Click to collapse
I noticed you said that you also didn't backup the EFS partition. That shouldn't have anything to do with your accounts but I always backup and restore the EFS partition each time and I have never lost any account info. It could have to do with the fact that your EFS partition contains carrier and device-specific info like your device ID number that could have caused your backup to not recognize the device once you restored it. This probably lead to your phone erasing your account info out of security in case someone else had gotten a hold of your backup and restored it to their phone. This way, the person who hijacked your backup couldn't access sensitive information like account login credentials. I'm not sure if this is the case, but it seems to be the only explanation I have. Next time you do a backup, include the EFS partition and see if that fixes it on the next restore. Either way, I hope it doesn't erase it on you again man. I know it can be frustrating to have to manually fix little details like that every time. Best of luck!

acparker18 said:
I noticed you said that you also didn't backup the EFS partition. That shouldn't have anything to do with your accounts but I always backup and restore the EFS partition each time and I have never lost any account info. It could have to do with the fact that your EFS partition contains carrier and device-specific info like your device ID number that could have caused your backup to not recognize the device once you restored it. This probably lead to your phone erasing your account info out of security in case someone else had gotten a hold of your backup and restored it to their phone. This way, the person who hijacked your backup couldn't access sensitive information like account login credentials. I'm not sure if this is the case, but it seems to be the only explanation I have. Next time you do a backup, include the EFS partition and see if that fixes it on the next restore. Either way, I hope it doesn't erase it on you again man. I know it can be frustrating to have to manually fix little details like that every time. Best of luck!
Click to expand...
Click to collapse
Thanks for the detailed response. Good info to understands.
Following the loss of the accounts, and everyone's help, I am backing up everything in the list, EFS as well.

Related

Few questions on using Titanium back up on GNEX.

I've used Titanium to do my back-ups on my old Galaxy Vibrant, so I have a general understanding of how it works. My question is this though, when I did back-ups in the past, they were saved to the SD card (I think), but the GNEX doesn't have an SD card. So if I do a back-up, won't the back-up I just made get erased when I wipe data before flashing a new ROM? Also, what about my pictures, will they get erased? I have hundreds of pictures on my phone, maybe even over 1000 TBH. I don't want to have to reload everything again. And last, does Titanium back-up your progress in games? I seem to remember that it does, but I don't remember for sure.
Any guides out there for doing Titanium back-ups on the Gnex? Why didn't those silly people just give us an sd card slot
ok even though it does not have a physically removable sd card it still does not get wiped when flashing roms and wiping the data cache partition. only if you do a factory data reset from the phone's settings. I've never needed to do that so dont worry i have 1000's of pics too. I'd back em up just in case on your laptop for safe measure though anyways. also when you backup th apps it does not save game progress unless you backup the app's data. then it should save preferences and progress and all that good stuff. Thank me if it helps!!
Ok, another thing I just thought of. After I flash the new ROM and enter my email, the phone is going to start automatically downloading all my apps, obviously I don't want to do that since I'm going to restore them with Titanium. How do I turn off the auto-downloading of apps?
After I flash the new ROM and enter my email, the phone is going to start automatically downloading all my apps
Click to expand...
Click to collapse
No it won't. It only restores your apps if you decide to not turn off the "restore my apps and settings" option. It's on by default, simply turn it off after you've entered your Gmail account. It's the next or the second screen after you logged into your Gmail account.
Ok, now my phone doesn't want to mount when I connect it to my computer. It charges, it just won't mount. ftw....
Hotstuff5964 said:
Ok, now my phone doesn't want to mount when I connect it to my computer. It charges, it just won't mount. ftw....
Click to expand...
Click to collapse
Not sure about the mount issue but I will tell you to definitely leave the auto restore on and let the market automatically download your apps after a wipe. You want to do this because it will automatically install the apps where as titanium will take forever and you have to manually tap install. Then once the apps are installed go to titanium and just backup so data only which is you game progress and preferences and such. I found this out the hard way lol
Sent from my Galaxy Nexus using Tapatalk
In my experience, the restore and wipe cache (maybe wipe data too) only clean the system/ or /cache, and leave the sdcard/ untouched. So the data backup by Titanium back-ups should work rightly.
BTW, I have some problem about using Titanium back-ups. If I always want to keep the newest backup of both application and system data, are the any useful script?
Although there's a script could backup the new application that installed after last backup, but what about the new system app/data? Because sometimes I may have change ROM and it will add some new system app/data.
So far, I use the script that backup all the system/application data. But I wonder it may leave duplicate backup to some app, that's the condition I want to avoid.
Any idea?

[Q] Titanium Backup: restoring after wiping

I have the premium version of Titanium Backup which I have been using for over a year with much success.
I have one query which would make it really awesome if it can be accomplished.
I normally only use it when doing a ROM upgrade. When I am getting ready to upgrade, I delete all my old backups, do a new set of backups on all user apps + system data, and wipe and flash the ROM. Then, when I'm back inside, I go into the Market and download Titanium plus the Pro unlock, and restore the backup.
(First of all, is this what you guys do? restoring all system data shouldn't screw up the features of the new ROM from the old one, right?)
The question is: Is there any way to have Titanium run without having to first go into the Market, find the app plus the unlock, download it, and install it? i.e. If I could just run it straight off the SD card, or install it straight off the SD card without having to use the Market.
Ideally, it would be even better if I could have a startup script on first run where it just restores the full set of apps + system data after I've flashed the ROM.
Is this at all possible?
download or extract from a rom the titanium.apk, put it on sd-card an install the apk after flashing new rom and it´s done.
Ozzah said:
I have the premium version of Titanium Backup which I have been using for over a year with much success.
I have one query which would make it really awesome if it can be accomplished.
I normally only use it when doing a ROM upgrade. When I am getting ready to upgrade, I delete all my old backups, do a new set of backups on all user apps + system data, and wipe and flash the ROM. Then, when I'm back inside, I go into the Market and download Titanium plus the Pro unlock, and restore the backup.
(First of all, is this what you guys do? restoring all system data shouldn't screw up the features of the new ROM from the old one, right?)
The question is: Is there any way to have Titanium run without having to first go into the Market, find the app plus the unlock, download it, and install it? i.e. If I could just run it straight off the SD card, or install it straight off the SD card without having to use the Market.
Ideally, it would be even better if I could have a startup script on first run where it just restores the full set of apps + system data after I've flashed the ROM.
Is this at all possible?
Click to expand...
Click to collapse
Never restore system data as it can and has causes issues. It is only advised to restore user apps and data never system data.
As for your other question no not that I know of. Most roms worth anything already include TIBU so all you have to do is install the pro key and run it.
Start Titanium backup
Goto menu/more/create update>zip
scroll down and hit "create update.zip"
when you install a new Rom just use "add another zip" when in Rom manager or 4EXT recovery
Goto SD card and select "update.zip" from root of SD card
Hope that helps
alchopop said:
Start Titanium backup
Goto menu/more/create update>zip
scroll down and hit "create update.zip"
Click to expand...
Click to collapse
Thanks, that's great!
Do you know if it is smart enough to bundle the Pro unlock into the update.zip? I opened the zip file up and there only appears to be 1 APK in there.
Would it be difficult (or even possible?) to manually adjust the update.zip so that it includes the Pro unlock APK?
Ozzah said:
Thanks, that's great!
Do you know if it is smart enough to bundle the Pro unlock into the update.zip? I opened the zip file up and there only appears to be 1 APK in there.
Would it be difficult (or even possible?) to manually adjust the update.zip so that it includes the Pro unlock APK?
Click to expand...
Click to collapse
Pro unlock is stored on the SD card, no need to worry about it
Sent from my Desire HD using xda premium
restoring
So I'm returning my nexus for a replacement today. Some kind of battery issue that makes it keep turning off every night:
http://forum.xda-developers.com/showthread.php?p=34923533#post34923533
On restoring, if I understand right, I'm going to move my titanium folder back to the new nexus to the SD card area.
Run my TiBU apk and just restore my apps and associated files.
If I understand right, I Should Not restore my system files right? (Although i did a lot of customizing i was hoping could come right over).
Then when i have it all customized again, I'll back up the new system and hopefully it won't have any issues anymore.
Just an android noob talking it through, sound good?
I'll be installing the rom and CM10 again of course before doing this.
zelendel said:
Never restore system data as it can and has causes issues. It is only advised to restore user apps and data never system data.
Click to expand...
Click to collapse
Sorry, i take this opportunity to ask a question i had in mind for a long time: what exactly do you mean by "system data"?
I mean, can i restore stuff like "Settings", or "Wireless network", "Bluetooth associations", "SMS", "Wallpaper" and stuff like this? Is really annoying to have to re-customize from scratch the CyanogenMod settings and similar stuff, everytime i do a full wipe...
sberla54 said:
Sorry, i take this opportunity to ask a question i had in mind for a long time: what exactly do you mean by "system data"?
I mean, can i restore stuff like "Settings", or "Wireless network", "Bluetooth associations", "SMS", "Wallpaper" and stuff like this? Is really annoying to have to re-customize from scratch the CyanogenMod settings and similar stuff, everytime i do a full wipe...
Click to expand...
Click to collapse
You can restore these, they're not system level files (i.e. make the system run)
GuyInTheCorner said:
You can restore these, they're not system level files (i.e. make the system run)
Click to expand...
Click to collapse
Thank you!
So....what's the stuff i DON'T have to restore, because messes up my system?
sberla54 said:
Thank you!
So....what's the stuff i DON'T have to restore, because messes up my system?
Click to expand...
Click to collapse
Do not restore data from SYSTEM apps.
dalanik said:
Do not restore data from SYSTEM apps.
Click to expand...
Click to collapse
Could you tell me a couple of examples?
I'm sorry but i really can't figure out which ones are the system apps. In my opinion, even Settings and Wireless networks are system apps.
Do you mean all the services, frameworks, sms and contacts apps and stuff like this?
sberla54 said:
Could you tell me a couple of examples?
I'm sorry but i really can't figure out which ones are the system apps. In my opinion, even Settings and Wireless networks are system apps.
Do you mean all the services, frameworks, sms and contacts apps and stuff like this?
Click to expand...
Click to collapse
I think he's talking about app names that are red-colored while you're doing the backup in Titanium BackUp.
Am I right?
Cheers
Please delete

Weird backup-restore TWRP behaviour

I have been using TWRP for a while and have been saving backups regularly on the external SD-card. I have restored many times after testing some custom ROM.
Today I tried to restore my most recent backup and after it was done, it throws me back into the boot screen.
I can see a long list of previous backups but when I select them I observe the following, which I had not paid attention to before:
1) the most recent backup involves the partitions System and Data
2) the three next backups show no partitions and TWRP refuses to restore them (and I could swear I had restored from them in the past)
3) a very old backup shows System, Data and Boot
4) an older custom ROM backup also shows System, Data and Boot
Can someone please tell me what you think the problem is here? I cannot go back to my most recent backup.
Make sure you've not somehow ended up with 2 twrp folders with different id's as twrp will only recognize the current Id.
If that's the case copy the backups into that folder.
There is only one TWRP folder. It seems some backups contain "Boot" "Data" and "System" and some backups contain only "System" and "Data" and are missing "Boot".
As I only followed the "defaults" when I did the backups, I need to understand why in some cases it did not save "Boot".
Would you know why?
Zilliman said:
There is only one TWRP folder. It seems some backups contain "Boot" "Data" and "System" and some backups contain only "System" and "Data" and are missing "Boot".
As I only followed the "defaults" when I did the backups, I need to understand why in some cases it did not save "Boot".
Would you know why?
Click to expand...
Click to collapse
I've no idea, never come across it, unless you accidentally unchecked those partitions?
In any case none are full backups.
You should make a backup of EFS and modem too.
ashyx said:
I've no idea, never come across it, unless you accidentally unchecked those partitions?
In any case none are full backups.
You should make a backup of EFS and modem too.
Click to expand...
Click to collapse
I have managed to restore an older backup which had Boot, Data and System partitions. I then restored the latest backup which only had Data and System. It now seems to work. I started it up and it all appears to be in place.
I then booted into TWRP and selected to do a backup and it had automatically selected the Data, System and Boot partitions. Why did it leave Boot out of the previous backups I do not understand but will keep an eye on it from now on.
Regarding the EFS partition: Originally I installed the stock ROM using ODIN. Does this mean that all the partitions were created during that initial installation? Or was the EFS partition present beforehand?
EFS partition is not part of the firmware, so is extremely important to back up, probably the most important of all to backup as it contains a lot of information that could render your device useless if it gets corrupted.
OK, thanks, will do it now.
ashyx said:
EFS partition is not part of the firmware, so is extremely important to back up, probably the most important of all to backup as it contains a lot of information that could render your device useless if it gets corrupted.
Click to expand...
Click to collapse
Can we make EFS checked by default? I had no idea that it's that important..
alexeyp said:
Can we make EFS checked by default? I had no idea that it's that important..
Click to expand...
Click to collapse
"Important" - is there anything other than the IMEI to worry about? On my other, dual-SIM Chinese phones, I used to change the IMEI as I liked.
Yes. And it's ONLY 20MB, compared to the other partitions which are many GB in length.
And Restore should be made to have the partition unchecked by default.
Zilliman said:
"Important" - is there anything other than the IMEI to worry about? On my other, dual-SIM Chinese phones, I used to change the IMEI as I liked.
Yes. And it's ONLY 20MB, compared to the other partitions which are many GB in length.
And Restore should be made to have the partition unchecked by default.
Click to expand...
Click to collapse
Check it and it should stay checked.
And yes it contains a lot of important stuff related to imei, wifi, network, Bluetooth.
Lose it and you could be in trouble.
Search Google for more info.

Firmware update corrupted data

Hello there I updated my international firmware to unlocked/developer and I got a message saying that my password is correct but I need to reset my phone because the data was corrupt.
This is the first time I saw this message so I tried fixing this by formatting the data partition to ext4. I was able to get back but it reset my phone but I have a twrp backup.
However everytime I restore this backup, it does not recognize my pin. I can get into the phone using my finger print but I run into the phone automatically erasing the data if I try to browse the internal data.
I'm already on a clean rom install using a Google backup. I lost some of my pictures because doing dirty installs reset my camera's save location. I wish to try to retrieve my pictures from the twrp if it is possible. Does anyone have ideas?
Did you have the SD Card set as adoptable storage, or external storage that was encrypted? That might help with someone answering your post.
I feel your pain, I learned of adoptable storage the hard way when I was installing a rom and ended up wiping data because of the install method I was testing not working out, which also took out everything on my sdcard including my backups, it sounds goofy now, but at the time I didn't see it coming lol.
I think you may want to check the last few pages of @Sneakyghost 's HTC 10 firmware thread for discussion of a problem like yours, and someone has posted a link to help another user that had a similar problem to yours, unless that was you. It's in the HTC 10 guides and news section I believe.
revoltech said:
Hello there I updated my international firmware to unlocked/developer and I got a message saying that my password is correct but I need to reset my phone because the data was corrupt.
This is the first time I saw this message so I tried fixing this by formatting the data partition to ext4. I was able to get back but it reset my phone but I have a twrp backup.
However everytime I restore this backup, it does not recognize my pin. I can get into the phone using my finger print but I run into the phone automatically erasing the data if I try to browse the internal data.
I'm already on a clean rom install using a Google backup. I lost some of my pictures because doing dirty installs reset my camera's save location. I wish to try to retrieve my pictures from the twrp if it is possible. Does anyone have ideas?
Click to expand...
Click to collapse
After restoring your nandroid you have to reboot into recovery and delete the three lockscreen files in data/system. Then reboot and you will need to re setup your pin and fingerprints.
Sorry deleted I thought this was my thread when waking up in the middle of the night.
Still have no answer. Even though I was mentioned.

How to copy the system 1:1 to a new device by using TWRP

I got a new device by RMA and now I want to copy my nandroid backup made with TWRP to the new one.
Which partitions do I have to copy?
Most of the partitions are system based, so don't touch them. All you would want to copy is data, but I am not even sure that would work, without a boot loop? I keep all my data backed up with Titanium. And Google drive would restore most of what you had on your phone as long as you were allowing setting>system>backup.
Sui77 said:
I got a new device by RMA and now I want to copy my nandroid backup made with TWRP to the new one.
Which partitions do I have to copy?
Click to expand...
Click to collapse
Data, as it is the one where your settings and app updates are stored. Just be sure the new device is running the same version of Android as the old.
Droid_Nut said:
Most of the partitions are system based, so don't touch them. All you would want to copy is data, but I am not even sure that would work, without a boot loop? I keep all my data backed up with Titanium. And Google drive would restore most of what you had on your phone as long as you were allowing setting>system>backup.
Click to expand...
Click to collapse
Restoring a nandroid backup of the data partition to another, identical, device will work without causing a bootloop given the precautions I describe above. Do note however that Google's backup only restores items acquired through the Play Store. Alternative app stores such as Amazon will not be restored, apps acquired through Amazon will not be restored, and any apps sideloaded will not be restored. Since Google's restore function doesn't restore everything, any backup solution - like a nandroid backup - is going to be a better alternative.
Strephon Alkhalikoi said:
Data, as it is the one where your settings and app updates are stored. Just be sure the new device is running the same version of Android as the old.
Restoring a nandroid backup of the data partition to another, identical, device will work without causing a bootloop given the precautions I describe above. Do note however that Google's backup only restores items acquired through the Play Store. Alternative app stores such as Amazon will not be restored, apps acquired through Amazon will not be restored, and any apps sideloaded will not be restored. Since Google's restore function doesn't restore everything, any backup solution - like a nandroid backup - is going to be a better alternative.
Click to expand...
Click to collapse
Thanks for the clarification that you can restore data as long as you are on the same version, does it have to be at the same security update level as well?
That is why I use Titanium for apps I got off of Fdroid and other sources. I will make sure I try the Nandroid data backup next time.
Security level shouldn't make a difference, but that is not something I have attempted. The pair of identical tablets I have here are running the same security update.
Thanks, data did the trick.
I had to delete 2 files due to a non working finger printer by using TWRP files explorer, but now the phone is fine.
Last thing pending are customer ringtones, but this is a nasty one.
Any idea how to do it?
Sui77 said:
Thanks, data did the trick.
I had to delete 2 files due to a non working finger printer by using TWRP files explorer, but now the phone is fine.
Last thing pending are customer ringtones, but this is a nasty one.
Any idea how to do it?
Click to expand...
Click to collapse
I am having the same problem with the fingerprint reader after restoring data from one phone to another, what files did you delete in TWRP file manager?
Solution for fingerprinter:
1. Boot into TWRP
2. Go to advanced>filemanager to acces the files in your phone.
3. Enter the folder /data/system/user/0
4. Delete following files: ./fpdata/user.db, settings_fingerprint.xml
5. Reboot to system and set up new fingerprints with the fingerprint wizard
6. Everything should work normal
Was not easy to find, but it's easy to do
Sui77 said:
Solution for fingerprinter:
1. Boot into TWRP
2. Go to advanced>filemanager to acces the files in your phone.
3. Enter the folder /data/system/user/0
4. Delete following files: ./fpdata/user.db, settings_fingerprint.xml
5. Reboot to system and set up new fingerprints with the fingerprint wizard
6. Everything should work normal
Was not easy to find, but it's easy to do
Click to expand...
Click to collapse
I didn't think it would be easy to find, but thanks for the tips. :good:
I am just putting this phone online with Q Beta 3 today, I have no notifications for text, and all options are greyed out?
Droid_Nut said:
I am just putting this phone online with Q Beta 3 today, I have no notifications for text, and all options are greyed out?
Click to expand...
Click to collapse
Turns out this is a bug in Android Q. With Pie there were some many notifications that I set my sound to none, so I just set my sound to Gibbon Call, and now I get text notifications. :good:

Categories

Resources