[SOLVED] CM10.1 apps + data loss on reboot - Samsung Galaxy Nexus

I've had a problem ever since I've tried using 4.2 ROMs, such as CM10.1 and AOKP. I install the ROM, load my apps onto it, and when I reboot, not only does the reboot take a ridiculous amount of time (sometimes over 5 minutes) but some of the apps will have had their data wiped and some will just disappear completely!
Finding this really frustrating not being able to reboot without fear of losing apps and data, I decided to logcat the boot. The logcat is full of things like this:
Code:
W/PackageManager( 420): Package com.teslacoilsw.launcher at /system/app/com.teslacoilsw.launcher-1.apk reverting from /data/app/com.teslacoilsw.launcher-1.apk: new version 20003 better than installed 19504
W/PackageManager( 420): Package source /data/app/com.teslacoilsw.launcher-1.apk does not exist.
W/PackageManager( 420): Couldn't delete native library directory /data/app-lib/com.teslacoilsw.launcher-1
I/PackageManager( 420): Package com.teslacoilsw.launcher codePath changed from /data/app/com.teslacoilsw.launcher-1.apk to /system/app/com.teslacoilsw.launcher-1.apk; Retaining data and using new
D/PackageManager( 420): No files in app dir /vendor/app
W/PackageManager( 420): Code path for pkg : com.teslacoilsw.launcher changing from /data/app/com.teslacoilsw.launcher-1.apk to /system/app/com.teslacoilsw.launcher-1.apk
W/PackageManager( 420): Resource path for pkg : com.teslacoilsw.launcher changing from /data/app/com.teslacoilsw.launcher-1.apk to /system/app/com.teslacoilsw.launcher-1.apk
W/PackageManager( 420): Permission com.android.launcher.permission.INSTALL_SHORTCUT from package com.teslacoilsw.launcher ignored: original from com.android.launcher
W/PackageManager( 420): Permission com.android.launcher.permission.UNINSTALL_SHORTCUT from package com.teslacoilsw.launcher ignored: original from com.android.launcher
That same error frequents throughout the boot, just with different package names for all the apps on my phone, both system and user apps. Here's a logcat of a boot.
At first I thought maybe it was because when I upgraded from 4.1 to 4.2 and restored my apps+data through TitaniumBackup that maybe the 4.1 data was screwing with something in 4.2, so I did a clean wipe of the ROM, downloaded the apps from the Play Store and didn't restore anything from TitaniumBackup, yet it was still doing it! I've tried wiping and reinstalling about 5 times now and I keep losing some apps+data on a reboot.
Can anyone who understands logcat a bit better than me or someone help me out?

dudeman1996 said:
I've had a problem ever since I've tried using 4.2 ROMs, such as CM10.1 and AOKP. I install the ROM, load my apps onto it, and when I reboot, not only does the reboot take a ridiculous amount of time (sometimes over 5 minutes) but some of the apps will have had their data wiped and some will just disappear completely!
Finding this really frustrating not being able to reboot without fear of losing apps and data, I decided to logcat the boot. The logcat is full of things like this:
Code:
W/PackageManager( 420): Package com.teslacoilsw.launcher at /system/app/com.teslacoilsw.launcher-1.apk reverting from /data/app/com.teslacoilsw.launcher-1.apk: new version 20003 better than installed 19504
W/PackageManager( 420): Package source /data/app/com.teslacoilsw.launcher-1.apk does not exist.
W/PackageManager( 420): Couldn't delete native library directory /data/app-lib/com.teslacoilsw.launcher-1
I/PackageManager( 420): Package com.teslacoilsw.launcher codePath changed from /data/app/com.teslacoilsw.launcher-1.apk to /system/app/com.teslacoilsw.launcher-1.apk; Retaining data and using new
D/PackageManager( 420): No files in app dir /vendor/app
W/PackageManager( 420): Code path for pkg : com.teslacoilsw.launcher changing from /data/app/com.teslacoilsw.launcher-1.apk to /system/app/com.teslacoilsw.launcher-1.apk
W/PackageManager( 420): Resource path for pkg : com.teslacoilsw.launcher changing from /data/app/com.teslacoilsw.launcher-1.apk to /system/app/com.teslacoilsw.launcher-1.apk
W/PackageManager( 420): Permission com.android.launcher.permission.INSTALL_SHORTCUT from package com.teslacoilsw.launcher ignored: original from com.android.launcher
W/PackageManager( 420): Permission com.android.launcher.permission.UNINSTALL_SHORTCUT from package com.teslacoilsw.launcher ignored: original from com.android.launcher
That same error frequents throughout the boot, just with different package names for all the apps on my phone, both system and user apps. Here's a logcat of a boot.
At first I thought maybe it was because when I upgraded from 4.1 to 4.2 and restored my apps+data through TitaniumBackup that maybe the 4.1 data was screwing with something in 4.2, so I did a clean wipe of the ROM, downloaded the apps from the Play Store and didn't restore anything from TitaniumBackup, yet it was still doing it! I've tried wiping and reinstalling about 5 times now and I keep losing some apps+data on a reboot.
Can anyone who understands logcat a bit better than me or someone help me out?
Click to expand...
Click to collapse
well...
only errors i see are:
Code:
E/Gmail.LabelManager( 2334): Unable to get label ^i for account [email protected]
E/Gmail ( 2334): Couldn't find label: ^i
are you using nova launcher? stable or beta? i was a user of nova launcher (switched to apex a few days ago) on CM; never seen such warnings.
my advice would be start fresh: flash stock images through fastboot, formatting the partitions before flashing them. update your bootloader to latest version if needed.
then flash latest twrp (can't suggest cwm version, but i assume latest non-touch would be the most stable, although some will say otherwise), and reflash your rom.
install fewer apps at the same time, rebooting in between.

Re: CM10.1 apps + data loss on reboot
bk201doesntexist said:
well...
only errors i see are:
Code:
E/Gmail.LabelManager( 2334): Unable to get label ^i for account [email protected]
E/Gmail ( 2334): Couldn't find label: ^i
are you using nova launcher? stable or beta? i was a user of nova launcher (switched to apex a few days ago) on CM; never seen such warnings.
my advice would be start fresh: flash stock images through fastboot, formatting the partitions before flashing them. update your bootloader to latest version if needed.
then flash latest twrp (can't suggest cwm version, but i assume latest non-touch would be the most stable, although some will say otherwise), and reflash your rom.
install fewer apps at the same time, rebooting in between.
Click to expand...
Click to collapse
Wait so the whole "couldn't delete data-lib" thing is normal..?
Yeah using nova, beta builds.
Hmm, okay I'll give flashing stock a try. How do I go about updating the bootloader? IIIRC I think there was a bootloader img in the stock folder, is it that?
Sent from my Galaxy Nexus using xda premium

Re: CM10.1 apps + data loss on reboot
dudeman1996 said:
Wait so the whole "couldn't delete data-lib" thing is normal..?
Yeah using nova, beta builds.
Hmm, okay I'll give flashing stock a try. How do I go about updating the bootloader? IIIRC I think there was a bootloader img in the stock folder, is it that?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes. Let us know how that turns out.
Sent from my i9250

Re: CM10.1 apps + data loss on reboot
bk201doesntexist said:
Yes. Let us know how that turns out.
Sent from my i9250
Click to expand...
Click to collapse
That seems to have worked. I didn't realise it would wipe my sdcard though, so I lost everything including over 10,000 texts :/ all I have is a TB backup from a week ago and my camera pics that dropbox auto uploaded. Oh well, can't do anything now, thanks a lot for your help
Sent from my Galaxy Nexus using xda premium

Related

Android Market Error

Everytime I try to purchase an app or song or book from the market I get "An error has occurred. Please try again." Its been happening since about October. I've tried clearing the cache on the market, I tried factory resetting, I even tried wiping everything (sd and emmc included.) The log mentions something about mismatched uids.
HTML:
12-11 10:28:01.601 I/ActivityManager( 461): Starting activity: Intent { flg=0x20010000 cmp=com.android.vending/com.google.android.finsky.activities.PurchaseDialog (has extras) } from pid 1242
12-11 10:28:01.701 D/Finsky ( 1242): [1] SelfUpdateScheduler.checkForSelfUpdate: Skipping self-update. Local Version [8009011] >= Server Version [0]
12-11 10:28:01.741 I/ActivityManager( 461): Displayed com.android.vending/com.google.android.finsky.activities.PurchaseDialog: +123ms
12-11 10:28:01.831 D/Finsky ( 1242): [1] PageFragment.rebindViews: Page [class=PurchaseFragment] loaded in [89 ms]
12-11 10:28:01.841 E/Finsky ( 1242): [1] AppPermissionAdapter.<init>: Invalid group name:null
12-11 10:28:01.871 W/Finsky ( 1242): [1] CarrierParamsAction.run: Saving carrier billing params failed.
12-11 10:28:01.881 D/Finsky ( 1242): [1] CarrierProvisioningAction.shouldFetchProvisioning: Required CarrierBillingParams missing. Shouldn't fetch provisioning.
12-11 10:28:01.881 D/Finsky ( 1242): [1] CarrierProvisioningAction.run: No need to fetch provisioning from carrier.
12-11 10:28:01.881 D/Finsky ( 1242): [1] GetBillingCountriesAction.run: Skip getting fresh list of billing countries.
12-11 10:28:01.881 W/AccountManagerService( 461): caller uid 10051 is different than the authenticator's uid
12-11 10:28:01.881 E/Finsky ( 1242): [57] 1.run: Caught SecurityException: caller uid 10051 is different than the authenticator's uid
12-11 10:28:01.901 D/Finsky ( 1242): [1] CheckoutPurchase.onErrorReceived: Could not retrieve Checkout auth token: caller uid 10051 is different than the authenticator's uid
12-11 10:28:01.901 E/Finsky ( 1242): [1] CheckoutPurchase.setError: type=UNKNOWN, code=-1, message=An error occurred. Please try again.
Reposted to QandA, sorry for the mix up. Mods feel free to delete.
I was getting the authentication error and wouldn't log me in....I reflashed Gapps and I could get into Market again but when I try to download or update an app, it just sits there and says, "downloading......"
But my buddy who is on Sprint is able to download apps just fine.
Have you tried contacting Google via email. It might be on their end.
Sent from my ADR6300 Incredible
I believe this can be fix like so:
Go to: settings/applications/manage applications/running app./tap:download manager,then tap clear data,and force to stop,after that go back to home,restart your phone,also clear cache/data on market,I hope this will fix your problem...let me know.
Sent from my PC36100 using XDA App
Thanks for the suggestion, but I am still having the problem. I'll just use the web interface for now.
I just downloaded the MarketFix app from the Android Market. It moves the market cache to the SD card. Problem solved...give it a shot.
I had that same problem when the credit card information for Google Wallet had to be updated.
Try entering or updating your Wallet info online via your computer.
Sent from my NookColor
gadzooks64 said:
I had that same problem when the credit card information for Google Wallet had to be updated.
Try entering or updating your Wallet info online via your computer.
Sent from my NookColor
Click to expand...
Click to collapse
Thanks for the tip, but still a no go.
wrong thread, sorry
I'm having the same exact problem as the OP, anyone know of any other possible solution or tricks?
By the way I have a different device than OP, mine is a cheap chinese tablet called teclast p75.
android market place error
unfortunately i also have the issue with the android market place on my kindle fire. i installed the market place, google wallet is actual, but i am even not able to download free apps. after accepting and clicking on "download" i always get the message
"appname" could not be downloaded due to an error. does anybody have an idea? I am really lost.
have you been updated to the 3.4.7 version of the market yet? that's to anyonehaving this issue
I got same proplem. i'v update market, clear cache, clear everything and stil can't buy anythings from google play
so?
I am having this problem now. on og droid steel droid rom.
I had a similar problem once on my kindle and eventually what i wound up doing was going into recovery and flashing the ROM from scratch like it was brand new. Wipe System/Data/DataData/Cache/Dalvik/anything else you like to wipe and reflash the ROM (and the newest applicable gapps) and see if that helps. It did the trick for me, it is an odd error and I feel like the easiest thing is to start from the beginning when something like that happens and hope that you don't run into it again.
EDIT: of course make a nandroid first, in case it doesn't work
I had the mismatced UIDs issue when I installed a stock 2.3.4 Rom. It alerted me on the first boot up, then never alerted me again. I had to install a different Rom because many features didn't work. Hope this helps!
I did try reflashing the stock ROM (provided by the producer) without success, still having the same problem.
You mention reflashing the gapps, would that only work if you got the Cynogenmod installed or will they work with any ROM?
I did try reflashing the stock ROM (provided by the producer) without success, still having the same problem.
You mention reflashing the gapps, would that only work if you got the Cynogenmod installed or will they work with any ROM?
Click to expand...
Click to collapse
Were you able to root/flash this through recovery? With stock ROMs the GAPPS are typically included (unless the company making the tablet wishes to use a different market so they don't have to pay royalties to google).
Yes it does ship with gapps but the user mentioned re-installing them (maybe even upgrading). I wondered that if you can find different gapps it could make it work but I don't know how you would go about it. The gapps for Cynogen are in a zip that has to be installed using Cynogen recovery console, not sure how to install them manually.
kulhat said:
Yes it does ship with gapps but the user mentioned re-installing them (maybe even upgrading). I wondered that if you can find different gapps it could make it work but I don't know how you would go about it. The gapps for Cynogen are in a zip that has to be installed using Cynogen recovery console, not sure how to install them manually.
Click to expand...
Click to collapse
If you want to install a newer market you can do it as long as you're rooted. That being said, so long as you're not on an ancient device (maybe you're that lucky with the chinese tablet) it is supposed to update automatically. At any rate, if you have SU then you just need to drop the vending.apk into /system/app and give it the following permissions:
[X][X][ ]
[X][ ][ ]
[X][ ][ ]
EDIT: You might only need marketupdater.apk things have changed since they changed the market to googleplay so I am not as familiar with it as I used to be when I originally rooted/ added the market to my Kindle Fire
All I do anymore to get gapps is flash the gapps.zip through recovery but I don't know a whole lot about your chinese tablet so I can't really give input on its recovery setup haha

Can't install Dropbox, Chromium ROM 11

Hello i got a strange problem. Few days ago I got crash when i want to open (installed before and updated before to the last version) Dropbox. It happens suddenly. After update it works fine, but with next trying to open, apps got crash and closed. I decided to do reinstall, uninstalling and installing again, but i had some bugs/errors.
When i want to download i got problem called Error -24, i found sollution for it, but don't work for me.
Sollution is like:
Qewbicle said:
Go to
/data/data/
and search for your
com.application-address.whatever-it-may-be
Some of them you can tell what they are just by the names, the others, google-em.
If you wish to keep the information that it contains for the app, I recommend making a copy of it first.
Delete it
Install the application, it'll work, trust me.
Now replace it with your copy.
Done.
Click to expand...
Click to collapse
But it didn't works for me, after this i got problem with package lost in google play store. Sometimes i got LOW STORAGE info, but it is fake, cause i could install other apps, much bigger than dropbox - so i have space to install.
I delete folder com.dropbox from:
/data/data
/data/usr/0/
/data/system
every dropbox folder
I tried to install dropbox from official homepage, i get the app on my phone, but installation is not finish. I also tried to restore backup of Dropbox via titanium backup, but it stuck on the restoring (app only and same for app + data)
I don't have no idea what is wrong. I did also FIX APK Permission from 4EXT Recovery without any result.
Here is my logcat:
Code:
I/SystemServer( 418): DropBox Service
I/BootReceiver( 418): Copying /proc/last_kmsg to DropBox (SYSTEM_LAST_KMSG)
I/ActivityManager( 418): START u0 {act=android.intent.action.VIEW dat=file:///storage/sdcard0/Download/Dropbox.apk typ=application/vnd.android.package-archive cmp=com.android.packageinstaller/.PackageInstallerActivity} from pid 2538
I/AppSecurityPermissions( 2763): Ignoring unknown permission:com.dropbox.android.permission.C2D_MESSAGE
I/ActivityManager( 418): START u0 {dat=file:///storage/sdcard0/Download/Dropbox.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)} from pid 2763
W/ActivityManager( 418): No content provider found for permission revoke: file:///storage/sdcard0/Download/Dropbox.apk
W/ActivityManager( 418): No content provider found for permission revoke: file:///storage/sdcard0/Download/Dropbox.apk
I/PackageManager( 418): Running dexopt on: com.dropbox.android
E/installd( 84): dexopt cannot open '/data/dalvik-cache/[email protected]@[email protected]' for output
W/PackageManager( 418): Package couldn't be installed in /data/app/com.dropbox.android-1.apk
I/InstallAppProgress( 2763): Finished installing com.dropbox.android
Any sollution? I am working with it about few hours... Thanks for help.
I almost forgot, after some restarts and clean dalvick-cache my Titanium Backup was gone, and i had to install it again, strange situation when app suddenly dissappear, any fix for it too?
Update:
I tried to install via terminal emulator but got message:
Code:
pkg: Dropbox.apk
Failure [INSTALL_FAILED_DEXOPT]

[Q] Mail app attachment error: File browser stopped unexpectedly

HELP - i'm new at this -
I bought a HTC One M8sw off Ebay - it came from China. I can see based on the settings and using Root Checker Basic that it has been rooted and customised and I have SuperSU app showing up. Thus, I have a File manager installed which probably does not come as stock with the mobile? The file manager works fine. Issue is that, when I'm in the stock MAIL app and i try to attach a file by clicking on File or click on Document/PDF or Office Document - I get the following error:
------------------------------
Sorry!
File Browser has stopped unexpectedly
When I go into the error report:
It says the process which name is com.htc.FilePicker
-----------------------------------
I have gone through all the trouble shooting with HTC phone Support including clearing cache and data, rebooting, safe mode for 24 hours, deleting and re-adding email accounts, but still does not work. They have told me now that i need to a factory reset and see if this fixes it ... but i prefer not to do that as I don't want to remove all the amazing customisation which came with the phone as i wouldn't know how to get it back!
Anyone else experience this? Can you please let me know if there's anything i could do to fix this issue without going back to a factory reset? Any further information required?
Note: I'm not a techie ... so have limited to any knowledge on how to root, check root etc.
Well, are you running customized stock or are you on a custom rom?
Go into Settings > About tablet > Build number and post what you got there.
It could be that the former owner only removed the stock HTC file manager app. Do you have it in your app drawer?
Or check in system/priv-app/ and look for the FilePicker.apk.
If it is not there you could just download the stock firmware (whichever version you are on now), extract it and look in system/priv-app for the apk, copy it to the corresponding folder on your phone, set the permissions to read-only and reboot.
This is just a wild guess since I don't know what rom you are running, but it's a place to start...
berndblb said:
Well, are you running customized stock or are you on a custom rom?
Go into Settings > About tablet > Build number and post what you got there.
It could be that the former owner only removed the stock HTC file manager app. Do you have it in your app drawer?
Or check in system/priv-app/ and look for the FilePicker.apk.
If it is not there you could just download the stock firmware (whichever version you are on now), extract it and look in system/priv-app for the apk, copy it to the corresponding folder on your phone, set the permissions to read-only and reboot.
This is just a wild guess since I don't know what rom you are running, but it's a place to start...
Click to expand...
Click to collapse
In the Log file of Error - I see the following:
Type: crash
Process: com.htc.FilePicker
Time: 1414606270952
Device Active Time: -1
Flags: 0x4088be45
Package: com.htc.FilePicker v639000400 (6.0.767298)
Application Label: File Browser
System App: true
Installed By: null
App Active Time: -1
Build: htc/htc_europe/htc_m8dug:4.4.2/KOT49H/352881.12:user/release-keys
Project Branch: M8_DUGL_K44_SENSE60:379917
Changelist: 352881
Release: 4.4.2
Number of hibernations: 0
Time of resume from hibernation: unknown
Bootloader: 3.18.0.0000
Radio: 1.18.30306251.22G
----- KERNEL -----
Linux version 3.4.0-gcd8e74f ([email protected]) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Tue Jun 10 19:10:59 CST 2014
---------------
In the System/About - I see:
Build: 1.45.401.12.CL352881 release- keys
The File Manager is in the app drawer just like all other apps. I do not how to go to System/ priv to find the file picker.
Hope the above makes sense. Any help appreciated.
htcm8new said:
In the Log file of Error - I see the following:
Type: crash
Process: com.htc.FilePicker
Time: 1414606270952
Device Active Time: -1
Flags: 0x4088be45
Package: com.htc.FilePicker v639000400 (6.0.767298)
Application Label: File Browser
System App: true
Installed By: null
App Active Time: -1
Build: htc/htc_europe/htc_m8dug:4.4.2/KOT49H/352881.12:user/release-keys
Project Branch: M8_DUGL_K44_SENSE60:379917
Changelist: 352881
Release: 4.4.2
Number of hibernations: 0
Time of resume from hibernation: unknown
Bootloader: 3.18.0.0000
Radio: 1.18.30306251.22G
----- KERNEL -----
Linux version 3.4.0-gcd8e74f (ro[email protected]) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Tue Jun 10 19:10:59 CST 2014
---------------
In the System/About - I see:
Build: 1.45.401.12.CL352881 release- keys
The File Manager is in the app drawer just like all other apps. I do not how to go to System/ priv to find the file picker.
Hope the above makes sense. Any help appreciated.
Click to expand...
Click to collapse
Any Response from anyone out there in the interwebiverse?
htcm8new said:
Any Response from anyone out there in the interwebiverse?
Click to expand...
Click to collapse
It's really tough to give you any advice without knowing what modifications have been done to the stock system....
The best way would be to flash back to stock or flash a custom rom and start from there...
But then you would have to do find out which modifications have been done and redo them yourself. Sooner or later you probably have to anyway...
It's been suggested that I just delete the current HTC file browser and install another which may do the trick? Thoughts?
Possibly. I suggested something similar myself in an earlier post.
But a bit of learning will be involved....
The file browser is installed as a system app and you need root priviliges to uninstall it. Do you have root?
If not sure downlad RootChecker from the Play Store and run it.
I suspect to provide the functionality you want, the new file browser also needs to be installed as a system app (apps installed by the user are normally installed to data/app, factory loaded apps are in system/priv-app).
The difference between both is all about permissions which apps need within Android to be able to execute certain functions. User apps are way more restricted in what they are allowed to do and access than system apps.
You can accomplish both by using Titanium Backup (if you have root). It can uninstall system apps and it can covert an app installed by the user to a system app.
So to replace the current file browser you need to:
Get Titanium Backup, grant it root rights (which it will ask for when you launch it).
Backup (just a precaution) then uninstall the current file browser in TiBu
A little detour here:
You could give this a shot: Backup, then uninstall the file browser, reboot, then restore it in Titanuim Backup.
Reboot and check if you can attach files now. This would be an easy solution if the apk currently installed is not corrupted.
If that doesn't work:
Download a custom rom for your current rom version (was it 4.4.2?) that has the HTC file browser. I know that scrosler's roms (stock rooted or CleanROM) have it. Not sure about the many other roms for this phone.
Extract the zip file to it's own folder and drill down through them until you find system/priv-app.
Inside should be a file called FilePicker.apk. I believe that is the HTC file browser.
Copy that apk to your phone
In Settings > Security enable "unknown sources"
Using the phone's file browser find the apk, tap to install it.
Open Titanium Backup and find the newly installed app, convert it to a system app.
Reboot.
That would give you a fesh copy of the stock file browser.
Hope this helps.
Thanks for the detailed explanation. Steep learning to ensure i don't mess this up, but will take my time to make sure i understand everything stated in your explanation and then give it a crack over the wknd and let you know.

Error installing Facebook on CM 12.1 (ZMoD by Ziyan)

I installed the ZMoD ROM by Ziyan a couple of weeks ago on my Galaxy Nexus. works perfect, much faster than CM 10.2 which I used before, and stable with no problems so far.
the only issue I have is that I can't install the Facebook app. when installing via Play Store, I get error 504 (which normally means that there is a network connection error, but that's not the case because I can install other apps just fine).
I then tried to sideload the app using adb, and this is the error I get after the several packages have been compiled:
Code:
E/installd( 136): DexInv: --- END '/data/app/com.facebook.katana-1/base.apk' --- status=0x0100, process failed
W/PackageManager( 414): Package couldn't be installed in /data/app/com.facebook.katana-1
E/Finsky ( 1478): [1] 2.onReceive: Error -504 while installing com.facebook.katana: INSTALL_FAILED_DEXOPT: Package couldn't be installed in /data/app/com.facebook.katana-1: scanPackageLI
W/Finsky ( 1478): [1] 3.installFailed: Install failure of com.facebook.katana: -504 null
D/Finsky ( 1478): [1] InstallerTask.cancelCleanup: Cancel running installation of com.facebook.katana (com.facebook.katana)
E/ActivityThread(19954): Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
searching the web for this error it seems that one possible cause is that the /system partition is too small, and indeed, there is hardly any space left there. I got an error about this issue when flashing the GApps, so I selected a smaller GApps build to work around it.
any ideas what can be done about this?
solved
ok, I solved the issue. for the record, I did a new install of ZMoD, but this time, I not only did the normal factory reset (i.e. clearing cache, dalvik, data), but also formatted the /system partition. looks like this removed some leftovers from the old CM version which caused the conflict.

adb restore not working

I've upgraded my tablet from Cynogen to Lineage. When still on CM, I made a full adb backup. I used a tool to see what is in it, and it seemed all fine.
Now it's upgraded to Lineage. I did an adb restore, and it finished without errors or warnings. And the result: *nothing* got restored, not even after a reboot. Absolutely nothing.
What do I do to get the backup file restored?
adb logcat has entries for each and every app:
Code:
09-15 14:41:56.641 678 3422 I BackupManagerService: Package bz.ktk.bubble not installed; requiring apk in dataset
09-15 14:41:56.642 678 3422 D BackupManagerService: APK file; installing
09-15 14:41:56.642 678 3422 D BackupManagerService: Installing from backup: bz.ktk.bubble
09-15 14:41:56.686 2816 2828 W asset : Asset path /data/cache/backup_stage/bz.ktk.bubble is neither a directory nor file (type=0).
09-15 14:41:56.687 2816 2828 W DefContainer: Failed to parse package at /data/cache/backup_stage/bz.ktk.bubble: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/cache/backup_stage/bz.ktk.bubble
09-15 14:41:56.689 678 3422 D BackupManagerService: [discarding file content]
How do I fix that??
Hi thany2
I had the exact same issue when trying to restore a backup made on Android 8.1 to Android 8.1.
Through trial and error, I found that `abe unpack` and `abe pack` fixes the issue and I was able to restore the backup. abe: android-backup-extractor. You might need to install apks beforehand. Just run `adb logcat` while restoring.

Categories

Resources