Google Drive not restore all apps after flashing - OnePlus 2 Q&A, Help & Troubleshooting

I've tried a lot of ROMs. Most install fine, with no bootloops or problems. I get all my apps and settings back automatically, thanks to Google Drive. I'm talking LOS, crDroid, Carbon, Liquid Remix, AEX and others.
But some ROMs restore only 20 of my apps. (I have about 100.) Google Drive skips the question to "Confirm your old A2005 screen lock" and then doesn't decrypt or restore most of my apps. Examples are Paranoid Android, and OmniROM.
When apps are missing, I use Goggle Drive manually and look at my backups. Because I never entered my old screen lock PIN, the backups -- sure enough -- show just 20 apps.
Why is the screen lock PIN question skipped? Is there any way to fix this? In fact, is there a way to get the manual use of Google Drive to restore everything?

Related

[Q] Device reset?

When i was flashing some app, my nexus stopped at the boot animation during reboot. I tried clearing cache and flashing the kernel again without luck. So i flashed system.img using fastboot. After a reboot all my apps are gone. I can still see my sdcard data from the computer. How to restore my apps with data. Also google apps seems to be missing as well (Only few apps like maps, email,play games/movies etc are present and they are not working as well since google play services not running). I am not able to add an account. Please help
Somebody please help me out.
What did you try to flash that caused this?
I flashed moto g gallery from apps and themes section. I ended up formatting everything (I did back up my sdcard which contains my earlier TiB backup files). What I want to know is that whenever i messed up system files in kitkat or JB, flashing the same system.img restores everything without effecting my apps/apps data. Will it not work in LP ? Have anyone tried this.
The new installation wasn't pretty as well. I was not able to login to my google account (couldn't connect to google servers). After repeated tries I was able to do so. I installed all my previous apps from wondershare toolkit. But after a random reboot/s some(not all) of my apps are missing which I am pretty sure installed and check in app drawer.

apps crashing in my backup (kitkat) after upgrade to Cyanogenmod 12 (lollipop)

Hi guys, so basically I made a backup of my STOCK rom and then I installed CYANOGEN mod 12 on the phone... Realizing I totally forgot about my contacts I then backed it up and "restored" my old backup of the stock rom which is kitkat. to find that EVERYTHING "stops working" so I cant get to my contacts.
Now heres where I believe I went wrong. I used philz touchwiz and upon my process to flash the phone I did the system/factory reset option or something like that and it asks if you'd like to wipe the phone to install a new rom. I selected yes so I thought that I was good to go and did not go further into the other stuff... I flashed cyanogen mod on the phone and then it said it was "upgrading my apps" ok well thats fine, and it ran great and no issues.... So going back to my STOCK backup after that, all the apps just crash, which I assume is due to still having the old apps which are "upgraded" to lollipop but the apps of course crash on "kitkat"
So, I've read that in a backup it saves all your apps and stuff.. It should return your phone back to exactly where it was when you made the backup. so why is it i'm having the app issues? I guess I need to delete them right?
So what is the options i need to do to get rid of the apps and do a proper phone wiping prior to a backup so that when I load my kitkat backup that It runs fine as it should? Wipe cache? dalvik? /data?, etc etc.... will it erase the main phones memory as a hole or no?
let me know how to correct this, I greatly appreciate it. I've tried googling to no prevail so far.
If I'm understanding correctly, you're trying to restore your KitKat apps onto cm12.
If that is the case, it will keep force closing apps. When upgrading and moving from touchwiz based Roms to AOSP based Roms you can't just restore from backups, the environment is different.
So to carry your contacts, I suggest recreating the same KitKat environment by clean installing whatever ROM you had, let google play store install the apps, then restore your app data only using philz advanced restore option (make sure all other options besides app data or data are unchecked)
Once all are restored, make a backup of your contacts and SMS using call log back up and SMS backup apps from playstore.
Back up any app progress using adb like
#adb -backup -f appname.ab -obb -noapk com.android....
And then do a clean cm12 install, let play store install all apps and start restoring call log, SMS, and your app data.
This takes a while, but it is worth it!

Restore apps previously installed from GPlay after factory reset or flashing custROM

Hi, first of all: i'm kind of a flashaholic.
Depending on certain ROMs, custom, on first boot, google is proposing me to restore my apps from my previous devices. But NOT for all custom ROMs.
Does anyone know what it depends off? Is it related to the ROM? To the gapps? To the the device ID? To first time init? to the Backup transport?
Restoring apps is very important to my coz I bought many apps and I can't re-install them one by one.
I've searched in the treads about restoring/backing-up, I google it, but didn't find anything.
The backing-up is active in the Settings menu. I'm not interested in using TiBck, since I'm using it ONLY for restoring data (migrating apps from ROM to ROM, with TiBckup is dangerous/buggy).
Do you have some information about that? what are the solutions? Can I force, on the first boot, or even after, the ROM to reinstall/restore apps previously installed?
Hope I was clear enough.
Thanks and
Best regards.
Hi,
1. It depends on what firmware and device model you have. Apps that designed for TW won't be listed on list of apps to be imported/restored if you installed CyanogenMod. Same thing will happen on apps that designed for CyanogenMod if you installed TW.
2. Unfortunately, AFAIK, you can't. You need some third party apps like Titanium Backup (are you mention it as TiBckup?), or backup feature of Clean Master and ES File Explorer (requires root and only main apk will be copied). If you want to restore apps will all data from previous ROM, the only way is to use Titanium Backup. You can also just format /system, but it's far way not recommended as it would cause more problems.
PS Edit: If you've installed some paid apps, the best way is to re-download them as they will detect your device ID and found it was mismatch, then will immediately block access unless the apps are reinstalled with the same Google Account as you bought these apps.
Sent from my GT-I9500
I was not talking about third part apps (yes TiBckup stands for Titanium Backup), but of Google's function when you first boot after a flash or after a factory reset.
Well, it depends on the android version only, the model does not matter (it is not HW related). It already happened to my to have the option reinstall apps from AOSP (Resurrection ROM) on a new, fresh and clean TW FW (Imperium); and vice versa.
I know there is always the option to manually install apps from Gplay, but it is not what I want, neither the option I'm looking for.
If I flash Resurrection ROM v5.6.2, on Lollipop 5.1.1, then there is the option to restore the apps from previous phones
If I flash Resurrection ROM v6.0.1, on MM, there is not such option/pop-up/choice...
Still thanks for your replay.

Apps crashes and random restarts

Hy everyone
After a lot of searches and flashing I have to open this thread.
No matter which oreo or nougat rom I tried I got constant app crashes and random reboots.
I have tried all oreo roms, nougat Roms and eui roms too.
Sometimes app crashes after one day or instantly after flashing.
I have tried different modems.
Tried without xposed and magisk but still apps start crashes on each rom.
I have clean flashed everytime too. But don't know why this is happening on all roms.
any one can help me out?
Thankyou
Heyyo, have you also tried doing a TWRP format data (by format data I mean format and not wipe) and then not restoring from a Google Cloud backup? There is a small chance that it could be a setting or something from your Google Cloud backup causing the instability.
Bit better
Hey, Thanks a lot for reply and I am sorry that I just read your response right now
First of all I didn't use Google cloud backup
I only restored from Tb.
I have already formatted data as you said and flashed new rom. Didn't even restore data from Tb.
As soon as I installed three to four apps from playstore phone restarted.
After installing all apps and setting up my phone.
Now app crashes are lot less then before but they still crashes like just Google stopped working until I restart phone.
Different app crashes after sometime and I have to restart phone to get them back to Work. Phone also restart sometimes.
Don't know why it's like that...
Is there any way I can check which app causing problems by myself?
Any suggestions?
Thank you

System lags and crashes, makes impossible the use

Hi. I have a Xiaomi MiA1, Lineage 16.0 (I try to update it two or three times per week). It is rooted. I use openGapps.
I have a problem since yesterday: suddenly, my phone got a lot of lag that makes impossible the use. KLWP got closed (it stopped being the default background), Nova Launcher was lagging and restarting several times. Openning any app was impossible, including the settings and system, it freezes and closes, returning to the launcher home screen... I tried to stop, clean data and delete klwp, nova, but i got the same result. The minutes passed and it got worse. Finally, the phone freezed, the clock wasn't working, so the only solution was doing a manual soft reset.
So, yesterday I did a dirty flash, because I didn't have a recent backup. I used SDMaid database feature in the morning so I tought maybe it was bad executed and was the origin of the issue. I tried to rescue some information (to backup some app data) with oandbackups. I cleaned caché and did a Factory reset. It seem to work. and do a clean installation. at first, it seem like it worked. I installed the apps I had by my Google account, and went to sleep. Today, it was ready, I turned it off and charged it, and in the morning: again the crash. So I did a clean installation. Again, it seemed to work. It installed all my apps and... crash again. I fear it could be some launcher issue? any prob with lineage? Any app? How can I know whats happening?
Sorry for my bad english. Any help would be apreciated.
vainille said:
Hi. I have a Xiaomi MiA1, Lineage 16.0 (I try to update it two or three times per week). It is rooted. I use openGapps.
I have a problem since yesterday: suddenly, my phone got a lot of lag that makes impossible the use. KLWP got closed (it stopped being the default background), Nova Launcher was lagging and restarting several times. Openning any app was impossible, including the settings and system, it freezes and closes, returning to the launcher home screen... I tried to stop, clean data and delete klwp, nova, but i got the same result. The minutes passed and it got worse. Finally, the phone freezed, the clock wasn't working, so the only solution was doing a manual soft reset.
So, yesterday I did a dirty flash, because I didn't have a recent backup. I used SDMaid database feature in the morning so I tought maybe it was bad executed and was the origin of the issue. I tried to rescue some information (to backup some app data) with oandbackups. I cleaned caché and did a Factory reset. It seem to work. and do a clean installation. at first, it seem like it worked. I installed the apps I had by my Google account, and went to sleep. Today, it was ready, I turned it off and charged it, and in the morning: again the crash. So I did a clean installation. Again, it seemed to work. It installed all my apps and... crash again. I fear it could be some launcher issue? any prob with lineage? Any app? How can I know whats happening?
Sorry for my bad english. Any help would be apreciated.
Click to expand...
Click to collapse
Keeping in mind the kind of apps you mentioned, I'd go with an app+data backup of those apps you installed and uninstall them completely, check if problem is still there.
I suspect you're facing a compatibility or configuration issue, since both apps are related to home screen.
If problem is solved, first read if those apps are actually compatible with ROM and OS version, then you could try to install just one app, without data, and check if things go well (give it a day), same with the rest until you can confirm OS is working well with apps just installed, no changes made in them yet... In other words, were trying to confirm that problem comes from apps and/or their configurations, so you could somehow report those issues to apps developers. You can use Catalog or other apps to record System logs until app crashes.
On the other hand, if problem is still there, even before you started to reinstall apps, then Dirty flashing isn't a good choice in that case, since it preserves System configurations, no mention your device is rooted, were user changes are present... you are opened to different problems, worse if you use an old Magisk version, or installed modules there, or apps that force your OS to do things it doesn't do in it's original state.
So, as you were so dare to go with a dirty flash, you could better go with a clean flash instead.
Erase any system lock protection (fingerprint, pattern, etc), do a ROM Backup from TWRP, flash latest firmware and make a clean install of the latest version of the ROM of your choice, keeping in mind their own flashing procedure.
As with above reply, if a completely clean install doesnt work, consider going back to a previous lineage release. If it still doesnt work, consider a full EDL stock rom reflash using MiFlash -- then flash your custom rom.
KaaMyA said:
Keeping in mind the kind of apps you mentioned, I'd go with an app+data backup of those apps you installed and uninstall them completely, check if problem is still there.
I suspect you're facing a compatibility or configuration issue, since both apps are related to home screen.
If problem is solved, first read if those apps are actually compatible with ROM and OS version, then you could try to install just one app, without data, and check if things go well (give it a day), same with the rest until you can confirm OS is working well with apps just installed, no changes made in them yet... In other words, were trying to confirm that problem comes from apps and/or their configurations, so you could somehow report those issues to apps developers. You can use Catalog or other apps to record System logs until app crashes.
On the other hand, if problem is still there, even before you started to reinstall apps, then Dirty flashing isn't a good choice in that case, since it preserves System configurations, no mention your device is rooted, were user changes are present... you are opened to different problems, worse if you use an old Magisk version, or installed modules there, or apps that force your OS to do things it doesn't do in it's original state.
So, as you were so dare to go with a dirty flash, you could better go with a clean flash instead.
Erase any system lock protection (fingerprint, pattern, etc), do a ROM Backup from TWRP, flash latest firmware and make a clean install of the latest version of the ROM of your choice, keeping in mind their own flashing procedure.
Click to expand...
Click to collapse
I made a clean flash in the morning, with the same results, so there's when I thought it could be an app the main problem. It worked with Nova a few hours.
I just followed your instructions, I installed the last firmware (the jan one) and the last rom of lineage. I didn't installed the apps in my google backup so I can install them and check how is the behaviour. I will install CatLog so I can check the logs too! I really hope installing the firmware was enough. Thank you very much!
ayunatsume said:
As with above reply, if a completely clean install doesnt work, consider going back to a previous lineage release. If it still doesnt work, consider a full EDL stock rom reflash using MiFlash -- then flash your custom rom.
Click to expand...
Click to collapse
I was planning to reflash the custom ROM but I couln't find the latest one that's compatible with MiFlash. I really hope the clean install is enought... thank you
I was planning to reflash the custom ROM but I couln't find the latest one that's compatible with MiFlash. I really hope the clean install is enought... thank you[/QUOTE]What our partner said was flashing stock (original) ROM.
In any case, if you went with a clean flash, try to leave your system free of user installed apps for a few and check how it goes.

Categories

Resources