[Q] Backup via ADB and restore to Secondary identical device - Android Q&A, Help & Troubleshooting

Hi guys, have been searching for a solution to this for days now.
Background
I've had an android application developed which I am now preparing to roll out to our customers. We are supplying the software pre-loaded on 2012 edition Galaxy Note 10.1 3G's.
So far I have rolled out approx 30 units. But this is where I need help. I currently take approx 15mins per tablet to set it up - For each one I:
Turning tablet on
Get past all the initial login screens, dropbox, samsung update, google account etc
Change about 10 settings (sound, display, lockscreen etc)
Delete all the default homescreens and set a new wallpaper (copy a file)
Install approx 4 applications
This is both error prone, and time consuming. So I've been looking for a way to speed things up. Initially tried root > nandroid backup > restore via recovery (not ideal) - then tried some backup apps Titanium, Settings backup etc which didn't seem to work (root required for most)
Help
My latest attempt is backing up and restoring via ADB. Things are finally looking positive down this route. I am able to do a full backup, and then a full restore to the second tablet. The apps are there, the wallpapers changed, the settings have mostly been applied (some missing) but the problem comes when I restart for the first time. Instantly bootloops and I cannot stop it without a factory reset.
I'm wondering if Anyone might have some clues for me as to what I can do to stop it boot looping. Could I backup JUST the necessary files, instead of a full backup (e.g. just settings, and my apps etc?) How do I do this? I'm not super flash with scripting but it would be ideal if I was able to automate the process a little.
Any help is Greatly appreciated at this point. Thanks

Related

[Q] process com.android.systemui has stopped

Hu guys,
i was googling for some hours but couldnt find a soltuion to this. Everytime i install ANY app on my new sgs2 and reboot I get the following error message:
The application Status Bar (process com.android.systemui) has stopped unexpectedly. Please try again.
I get the message twice and then the bar is gone. When i dont press force close I see the bar just working perfectly in the background.
Only solution is factory reset, but as soon i install apps (no matter which) i start getting the same problems.
Thinking of returning the phone
Marcie
Can you post what's in the 'About Phone's screen, what network you're using and where you bought your phone.
Sent from my GT-I9100 using Tapatalk
Try a reflash as i only got that problem when i pushed systemui.apk and didnt reboot straight after. Sounds like a corruption somewherw
Sent from my GT-I9100 using XDA Premium App
the problem was when ever i made the inital configuration i ticked the box to sync my google config. my google config was from my old sgs1 which must have corrupted my phone. i reset the phone and unticked the google config option and i dont have the problem anymore.
Ahhh!!! I got the same problem!!! Is there any way to fix this? Anyone?
marcie82, i'm having the same problem and your post was the only post I found that addresses the issue. When you wrote that you've reset your phone, did you mean you reflashed it?
I just got the same phone from amazon.. and it worked fine when i first opened it but then the task bar disappeared..
i reset it back to original factory settings.. it's downloading my old apps now.. i'll keep on debugging this thing until something comes up
A buddy of mine had a similar issue, for him it was com.android.phone that kept randomly crashing, sometimes mid-call and thereby terminating the call.
We tried factory reset and other things as well, nothing helped.
So we ended up re-flashing the FW (he was on KE2 and we flashed a stock KE7), that is now ~2 weeks ago and he never had any crashes anymore since then.
So, long story short, try reflashing (a maybe newer) FW with odin, factory once more (if the ROM doesn't do it while flashing) and see if it gets any better.
Also check the CSC setting, we set it to generic XEU after the flash - use w/e suits your region/FW.
installing applications
i noticed that as soon as i go to google market and click on the 'my apps' button.. it starts downloading all the apps i previously purchased automatically.. is there a way to prevent that from happening?
Settings -> Privacy
"Back uo my data" and "Automatic restore"
untick at least the auto-restore, or the auto-backup too, maybe that helps.
I got both disabled by default (first thing I set after a wipe) and it never tried to restore my apps by itself (yay for AppBackupAndRestore ).
could it be a specific application?
debugging progress: i noticed that it's not installing *any* app that causes this task bar thing disappearing (at least not in my case):
i restored my phone to factory default.. then i disabled my automatic restore and defaults. then i installed only one app from my very long list of apps. (for some reason i had to do it from my 3g connection and not wifi.. but that's a different problem)..
anyways i installed it and it worked just fine! i restarted my phone just to make sure and the task bar is still there!
i'm gonna go through my apps ans install them one by one.. i know it's a painstaking process but hey i gotta give back to the android community
A
A trick I used in a similar situation was the following :
Use Titanium Backup. U make a backup of the application that has the problem. Then u wipe the data of this application and then u restore the data.
For me that trick miraculoussly solved that problem ...
http://forum.xda-developers.com/showthread.php?t=1162680
Had the same problem with not working phone/contacts, freezing like "process com.android.phone - Force Close" etc.
I realized the error happens only after upgrading for example to KG, than after a short period making a backup of the whole system, downgrading to KF, then restoring with Titanium Backup.
It restores the whole system, including settings, and accounts and so on. This might be the problem. It seems nobody realized that the MODEM and PHONE is upgraded too, so there might be some components not compatible with earlier versions.
Solution: restore only user apps & data, not the system settings. Use a separate app for SMS, call logs, contacts or calendar. Do a cache wipe and then a fact reset from MENU+UP+POWER (restore menu), then reinstall your choice of firmware, restore user apps&data with Titanium or anything preferred, then enter/restore everything else manually. No problem when upgrading.
Tested, had 3 sleepless nights, but works for me.
Noob in need of androidized kindle help!
Hey ya'll,
I just rooted and downloaded ics4 onto my kindle. It was working great all day and I used the gba emulator for android and everything.
Now, for some reason I keep getting the error "unfortunately, system UI has stopped working".The tool bar on the bottom of the screen with the home and back buttons aren't even there anymore. I have rebooted and gone into TWRP and done a system reboot and everything yet that keeps happening. Why do you think that is ?
caused by Titanium
hlaja said:
Had the same problem with not working phone/contacts, freezing like "process com.android.phone - Force Close" etc.
I realized the error happens only after upgrading for example to KG, than after a short period making a backup of the whole system, downgrading to KF, then restoring with Titanium Backup.
It restores the whole system, including settings, and accounts and so on. This might be the problem. It seems nobody realized that the MODEM and PHONE is upgraded too, so there might be some components not compatible with earlier versions.
Solution: restore only user apps & data, not the system settings. Use a separate app for SMS, call logs, contacts or calendar. Do a cache wipe and then a fact reset from MENU+UP+POWER (restore menu), then reinstall your choice of firmware, restore user apps&data with Titanium or anything preferred, then enter/restore everything else manually. No problem when upgrading.
Tested, had 3 sleepless nights, but works for me.
Click to expand...
Click to collapse
I am sure the problem caused by restore system data by Titanium. I have tried four times today. Factory reset and flash and restore. Only when I restore system data caused this problem.
Why resurrect a two year old thread?
For information, restoring apps WILL NOT cause instability......restoring data ESPECIALLY data from system apps WILL.
RULE OF THUMB......
If you are upgrading your android OS (eg...ICS to JB).....
DO NOT restore system app data....ever
For user apps....if the app runs as soon as you open it, you *should* be ok to re-install the data.
If the app requires the downloading of 'additional files' on first run, DO NOT re-install as this data is likely to be OS version specific......
My wife says I'm a phone geek....She's probably right
Due to an update of an Xposed module, I had badly corrupted my systemui. The phone was totally unusable, and I could only press the OK button notifying the stopped event at startup.
Lucky me, I still had not updated to 4.4.3. Via Skipsoft Android Toolkit I updated to the last Android release, and my systemui got fixed. I did not choose to do a complete wipe, so I actually maintained my previous apps. In relation to root, I did not loose it, but I had to reinstall SuperSU to get the non-official apps working again.
I hope this helps somebody else in my same condition, with no need to do a system wipe!
com.android.systemui stops working when battwry gets less then 16 %
Hi guys ,
Can anyone upload the system ui file for android KitKat?
I tried all things to fix "Unfortunately com.android.system ui. Has stopped working when battery gets lower then 16% so I think I should replace the system ui file from system app folder
Hey everyone, I just had this same problem pop up onto my phone while I was checking my messages. Ive never rooted my Motorola Droid Razr HD and the power button is jammed at the moment as well. Is there a way around this problem or is this phone done for?
Maybe you should try increasing the heapsize in the build.prop file, the no. of notifications in the status bar causes this crash. if you want to know more about the heapsize etc. google for this crash in cyanogenmod fourms.

[Q] Can't Detect Sim Card - Software Issue

Hi
I recently installed Touchpal Dialer to replace the Android Stock Dialer (Phone). I then used Titanium Backup to uninstall the stock dialer. (I only select Phone and pressed 'Uninstall'). However in the process of uninstall, something crashed (some process stopped working) and I was stuck on Force Close (which repeatedly pops up).
So to return to Android I rebooted. However the phone can no longer detect the the SIM card (and hence the network). I tried to access Settings>Call, but I get the error "The application Settings (process com.android.settings) has stopped unexpectedly".
My first thought was to restore Phone using Titanium Backup, but this seemed to be stuck (or at least it was taking excessively long >20min).
Then I reinstalled the rom but that doesn't affect the files required to detect the sim card.
How do I fix this and get my phone to be able to dial again?
Any and all help is much appreciated.
pzling said:
Hi
I recently installed Touchpal Dialer to replace the Android Stock Dialer (Phone). I then used Titanium Backup to uninstall the stock dialer. (I only select Phone and pressed 'Uninstall'). However in the process of uninstall, something crashed (some process stopped working) and I was stuck on Force Close (which repeatedly pops up).
So to return to Android I rebooted. However the phone can no longer detect the the SIM card (and hence the network). I tried to access Settings>Call, but I get the error "The application Settings (process com.android.settings) has stopped unexpectedly".
My first thought was to restore Phone using Titanium Backup, but this seemed to be stuck (or at least it was taking excessively long >20min).
Then I reinstalled the rom but that doesn't affect the files required to detect the sim card.
How do I fix this and get my phone to be able to dial again?
Any and all help is much appreciated.
Click to expand...
Click to collapse
If there was a point in time when everything was working and then one change was made, the stock dialer was removed, then things stopped working, the solution would be to revert back to the working point in time.
Curious, what guide suggested the removal of the stock dialer?
As a side note, before removing files it is always best to either make a complete backup, nandroid, or to at least backup the specific file being removed so it can be quickly and easily replaced.
The main issue here seems to be the removal of the stock dialer. On the technical side of things, the dialer is a very integrated component of Android.
In AOSP, which all ROMs to some degree are based off, the dialer apk file contains not only the dialer but also browsing of contacts and links in on the back end with a few files.
Once you restore the Dialer, I think called phone.apk or something similar, the issues should go away such as FC. If there are issues accessing the SIM card after restoring the previously removed file, off the top of my head, my best guess would be to clear out the settings stored on the data partition. A setting could have been created during the dialer removed state which might prevent the system from restoring proper SIM access.
Hope that adds a bit more detail around the standard process of removing files and making adjustments!
Cheers thanks, much appreciated.
Largely the guide of my ignorance that decided to remove the stock dialer. It's only in the last half hour or so that I've just come by a guide that specifically says to *not* remove the stock dialer. In the first instance I thought it wouldn't be such a big deal as Titanium Backup could always restore it ... in which it turned out it couldn't.
So after all's said and done, is there a way (apart from Ti Backup) to restore just the stock dialer phone.apk (say by download or other)?
Another approach I'm considering is to find a way to flash a custom / stock ROM to fix this. However as my phone is unbranded and on HBOOT 1.49.0018, I'm finding this very difficult with the standard methods posted. On the other hand, ideas are starting to run out and desperation running high!
pzling said:
Hi
I recently installed Touchpal Dialer to replace the Android Stock Dialer (Phone). I then used Titanium Backup to uninstall the stock dialer. (I only select Phone and pressed 'Uninstall'). However in the process of uninstall, something crashed (some process stopped working) and I was stuck on Force Close (which repeatedly pops up).
So to return to Android I rebooted. However the phone can no longer detect the the SIM card (and hence the network). I tried to access Settings>Call, but I get the error "The application Settings (process com.android.settings) has stopped unexpectedly".
My first thought was to restore Phone using Titanium Backup, but this seemed to be stuck (or at least it was taking excessively long >20min).
Then I reinstalled the rom but that doesn't affect the files required to detect the sim card.
How do I fix this and get my phone to be able to dial again?
Any and all help is much appreciated.
Click to expand...
Click to collapse
I have had this happen to me a few times, this mostly happens when you apply a mod/tweak to a rom that is not compatible. Do a wipe and re-flash the rom that you want and it should fix the problem.
Thanks so much for this, that's fixed it.
Re wiping, since you can wipe from the Recovery and installation of the rom wipes before flashing anyway, is it necessary to use a wipe img? If so, what is recommended? (As I'm on HBOOT 1.49, I seem to only be able to run CWM 4.0.1.4 Shooteru Recovery).
ROM not booting
Looks like I've dug myself into another hole again.
The 'Sim Card detection' problem was fixed with a wipe from CWM 4.0.1.4 and flashed with ShaWn3D v1.4 rom. Everything works and I was happy.
But I was keen to try out the LeeDroid rom but the WiFi error keeps recurring despite my attempts with the solutions provided at
http://forum.xda-developers.com/showthread.php?t=1248838.
I've tried:
- re-flashing LeeDroid with so many versions of bcm4329.ko I've lost count
- reflashing the kernel with the LeeDroid kernel addet
- re-flashing another rom altogether (King Cobra v1.9) to see if it makes a difference; it doesn't - WiFi persists.
So now I've decided to go back to the ShaWn3D rom but now although the flash is successful, the boot is stuck at the white HTC splash screen.
What have I done wrong?

[Q] Best way to retrieve data from a smashed SGS2?

Hey guys,
In a moment of great weakness... i have destroyed my SGS2. This phone has been giving me a lot of grief lately (spontaneous and looping reboots, slow or no data connection, apps not behaving as should - requiring reinstalls, and general buginess)... and the result is a cracked temper and a cracked screen.
All that aside - i have decided not to get the screen repaired, but to get a new phone (no idea what my next handset should be - will gladly take suggestions).
So... Lately I have been backing up a lot of my apps using Titanium - which is great. And I have my contacts set to auto-sync with my gmail account - which it has failed to do since adding a few new contacts yesterday.
So my questions are... what is the best way to retrieve/backup the following data now that the screen is un-usable (but the phone seems to still work ok):
- Contact and Calendar Data
- Apps (or list of apps) that Titanium hasnt backed up
I figure I may need a different method of app backup/restore if i do not wish to root my next phone. There doesn't seem to be an automatic feature in the Play Store which keeps track of which apps I have installed... Is there another way to do it?
Thanks for any help.
Cheers.
I'm almost tempted to suggest Kies as solution for retrieving all organizer data (contacts, calendar, tasks, notes) since it does not require mobile screen interaction.
And there are two ways to save data: sync with Outlook or simple backup.
I'm ready to be flamed...
1. To retrieve your contacts or view them, visit Google.com/contacts and login your hole details. You can also sync them too ur New phone.
Access Google calendar online, to see your calendar info
2. I'm not sure how you can proceed with backing up your new apps since you said phone is working but unusable but the options below will work fine in getting back your apps on your next phone without rooting your new device.
I). Though Google Playstore:
When you log in your Google account on your new phone, open playstore, go to my apps and swipe to the next page too view all.
All, will show all the apps you have ever installed or updated via playstore. You can simply reinstall them one by one.
Note that you will need a lot of data so Wi-Fi is recommended.
ii) via ADB: this will work only if usb debugging was enabled under development option. And you have access to a pc. Root access May also be helpful.
You can use ADB to copy all your presently installed app's apks and even your titanium backup folder or any other folder to your Pc
More info on this will follow based on your response.
iii) MTP mode: this will work if MTP mode and not mass storage mode was previously enabled on your phone.
Simply connect your device via usb to ur pc and start copying your files especially your titanium folder, since your question is about apps.
iv) Titanium backup folder:
If you have a copy of your titanium backup folder, then all is well
Personally, I will galaxy Siii or NoteII if you have the patience.
Swyped from my Samsung Galaxy SII
Thank for the help guys.
Kies did allow me to retrieve those few un-synced numbers.
And the "my apps" list is a great way to see and reinstall past apps. Not sure if I will be able to root my new phone (Xperia S), so if I cannot get to the Titanium Backup data, this looks like the next best thing.
Thanks again guys.

[Q] Changing ID for backup in Google account

Can anyoen tell me if and how I can change the identification for the settings backup / restore in the Google account on a rooted device, resp. what is used as identification there?
Situation is as follows:
- old device had a sudden death and the Titanium Backup was unluckily on the internal SD, not on the external one (don't ask)
- device got replaced
- device rooted and CM 10.1.3 put on it
- selected to restore from Google account
- now it started to install the huge amout of apps that was installed on the replaced device
- this at some point broke and the remaining apps just had error 920 and were not installed
- I just wanted to try it again, so I made a factory reset
- same as before, but now ALL apps got the 920 error and nothing was installed, so I assumed this was probably some anti-DDOS thing in playstore and thought I'd try again after some waiting period
- after waiting some time I made another factory reset, but now it doesn't even try to install any apps but does nothing
I assume that, after the last failures, it rememberd for the specific device that nothing is installed and thus does not try to install anything again now.
Thus my idea to change the ID with which the backup is identified per device.
I already tried to change the Andriod ID with Titanium Backup and to do another factory reset, but that doesn't really help either.
Hopefully someone of you can help me with this.

LG L70 - stopping more apps - even after a factory reset and flashing ROM

Good afternoon.
Recently, I dealt with the message "The Contacts application stopped". The same with Calendar app and sometimes with the Camera app. The same issue I had with the original keyboard LG, which I did not use so I did not mind that. Basically, the message appeared only after backing up with Titanium backup before I switched back to Smart Keyboard Pro.
Deleting data of the application did not help. So I had to do a Factory reset. But that logically resulted in deleting Smart Pro Keaboard and thus I was done because LG keyboard was not working again. So I could not enter the password for Wi-Fi, could not log into my Google Account and therefore all my backups were useless (LG backup, Google backup and Titanium Backup). Now, as I write this, I get an idea to install Titanium Backup from the card, so maybe next time).
So finally I had to flash the phone. Then I restored everything (root, applications, SDfix, Folder mount, ... ) and the phone worked for about a week without any problems. Then Contacts started to stop (again: "The application Contacts stopped"). I went around by using another application for contacts. But then even Settings began to stop. For example when I need to turn on Wi-Fi, I'll hold the icon for a list of available networks and the app Settings stops. The same when I try to set the background image or when I try to access the list of applications or try to view Phone info.
Prior to these problems, the phone went over a year without any problems. I've got SafeRemover, but I just deleted useless apps like Google Music and so on. I cannot delete data of the stopping apps since I cannot get into the menu.
I do not I have any suspicious newly installed application. No task killer, booster, antivirus and similar crap I do. Just SD Maid.
I have a LG L70, Android 4.4.2 with the newest firmware from LG web. I can not find out more because Setting would stop. :-/
Do you guys have any idea how to solve the problem?
You could try an older version of the firmware.
You could also try clearing cache and dalvik cache through recovery (if possivle) or flashing custom ROMs (if available).
Thanks a lot for your replies. I don't know how to clean Dalvik cache with recovery. I tried flashing the same stock ROM again with normal flash. Other possibilities are (in this order): CSE flash with the same rom, normal flash with different stock rom, custom rom.
So after normal flashing with stock ROM everything seemed ok. I recovered some apps and setting from Google account and then I started recovering from LG backup. It ended, phone switched of and is dead. I can't switch it on, load Recovery menu neither Bootloader menu (with USB cable). So it look like a hard brick.
My notebook sees the phone as "QHSUSB_BULK" in a "non-determined device" category. I'm searching the unbrick method but I start being desperate. :-/

Categories

Resources