adb push .apk vs update.zip - Missing Cache? - Android

OK, So I have my rom properly working on my device and I have a nandroid backup of it. I'm making an update.zip so I can hand it to my testers, but when you flash the update.zip, the settings.apk and gmail/google_login don't appear in the programs list, even though they're in the /system/app/ folder on the device.
I end up having to adb push the settings apk to get it back, and no matter what I do I can't get gmail to show up again - so I wiped and restored my nandroid backup and that works - Gmail and settings. OK, weird, so I adb PULLED all of the apps in the /system/app/ folder and used those to recreate the update.zip... same problem after flash, settings.apk needs to be pushed and gmail is broken.
Edit: Also, on the new flash, the first screen of HTC setup is skipped, the first screen you see is the second screen. If I open HTC setup on my restored backup, this doesn't happen.
HELP!

Related

[Q] Titanium Backup - reinstall app from old backup?

Hi! I need to reinstall MobiTV on my tmo Vibrant so that I can cancel the service. I am running the Eugene373 Vibrant9 ROM (very nice!). I have the app backed up with Titanium from an earlier backup (there is a tar.gz and a properties file associated with the app), and have that TitaniumBackup directory stored on my laptop, but when I do what seems to be the obvious thing (copying the directory to the phone) Titanium does not give me an option to restore MobiTV. I must be missing something obvious.
Ideas? Thanks!
MobiTV is in the /system/app folder and Titanium cannot properly install into /system/app. A lot of my themed apps that I had manually pushed into the folder, like smoked widgets, never restore properly. I wind up having to push the apk's through ADB after everything else is restored.
RobBull69 said:
MobiTV is in the /system/app folder and Titanium cannot properly install into /system/app. A lot of my themed apps that I had manually pushed into the folder, like smoked widgets, never restore properly. I wind up having to push the apk's through ADB after everything else is restored.
Click to expand...
Click to collapse
OK. So I have gone through the TitaniumBackup directory and failed to find the relevant apk. I guess that when i told it to backup all apps and data it didn't do this apk because it was "system"?
So, I found an apk here: h t t p :// forum.xda-developers.com/showthread.php?t=763580. Is this going to do what I want it to do (reinstall MobiTV)? Which directory should I push it into?
OK. The app is installs and runs, but it says it can't "authorize user". Sigh. I'm feeling like I need to start a new thread, as this one is no longer anything like the right name, nut this is one last query.... Ideas?

[Q] Why does Contacts2.db keep replacing itself after being deleted/overwritten?

Hi all,
I have an X10 which had 2.1 stock FW installed.
-got root, dualtouch, xRecovery all working
-synced contacts to google
-made a backup with xRecovery
-flashed FreeX10 beta 4, gapps, hotfix, market, all sucessfully
Everything worked so far. And then when I synced again, all contacts were without phone numbers. So I logged on to google to check and yes all contacts were without numbers there too. So I though what the hell, I'll revert to the backup and sync again. But the backup kept WLODing. I tried all possible combinations of wiping cache and restoring and whatnot. So I decided to do things manually:
-extracted data.img
-found contacts2.db
-opened adb shell and deleted current contacts2.db file and replaced it with the old one with all the phone numbers, changed ownership to app_1.
And I thought that should be it... Instead what happens is that as soon as I launch Contacts app, the contacts get reverted to the first state, ie. without phones. The funny thing is, if after the whole procedure I tap really fast on the call log, I can see al the old calls and the old contact names - everything - but just for a second, and then from nowhere one by one everything gets overwritten again by the just-deleted ones. How is that possible, and what am I doing wrong?

com.google.android.talk.apk

Rooted SGS2 (with S2root) on Three network - kernel KI8, PDA KI2, CSC KI2
Backed up Talk 1.3 with titanium backup (not pro), uninstalled, cannot restore. titanium backup just sits on "restoring", even left it for 20 mins, cant even cancel it i have to close with task manager.
3 seemingly related titanium backup files:
com.google.android.talk-20111209-015957.properties
com.google.android.talk-fabd85cd35eb7dca08bec6aea0e6c41e.apk.gz (containing the apk)
com.google.android.talk-20111209-015957.tar.gz - (containing signinginactivity.xml)
com.google.android.talk.apk is still in the system\app folder, though nothing by that name on the titanium backup list, appears as "Talk 1.3" and uninstalled. if i delete the titanium backup files, the uninstalled app name changes to com.google.android.talk and talk 1.3 disappears.
Tried running a copy of talk.apk on the phone, didnt install, tried copying it to system\app and resarting: nothing. didnt show upanywhere as an installed app.
I thought it was something else and I want it back. Whatever changes i do, i still see the gtalk status next to people's names in my contacts/text message list, online/away etc. but no app in the app list. I can't work out what titanium backup did.
I think you should have booted to recovery and wiped cache partition and dalvik cache then rebooted and tried again.I dont think it was a good idea to have deleted the backup files cos the backup you made is most likely gone.You might have to reflash your firmware to get the stock app back you deleted.
hmm
I have a copy of the backup files on my desktop, what can I do with them? And is com.google.Android.talk.apk all there is to it? I have no talk.apk, no talkprovider.apk, no gservices like other people have mentioned.
boot into ClockworkMod recovery and flash
gapps-gb-20110828-newtalk-signed.zip
from
http://goo-inside.me/gapps
+1 thats the way to go
good call.that should do if your missing everything else.
I really don't think this was a good idea. Like I said before i still saw peoples talk statuses next to my normal contacts, some part of the stock app was still there. Now I get constantly disconnected in the new app and it seems to sign out when I back out of the program. What can I do with my titanium backup files instead? They are in .gz format but cwm flashes zips, I know I can convert just not sure if its the right thing to do.
I've also read that talk is part of the gmail app somewhere
P.s. Sorry for late reply, was getting my head round installing cwm, unrooted with s2 root then changed kernel to cfroot ki8
Or is there at least a way to reinstall the ki8 firmware that kies gave me...and would that even help
just incase
just incase anyone reading wants to know the real answer, it was to reinstall the official firmware from http://forum.xda-developers.com/showthread.php?t=1113928
then re-root with CF-Root from http://forum.xda-developers.com/showthread.php?t=1103399
all stock apps are back including talk, all my apps and settings were left untouched.

Restoring system application

So I accidentally uninstalled system application using titanium backup pro. Now when i try to restore it (I took a backup right be I uninstalled) it just sits there "restoring App+Data" indefinitely.
The app i uninstalled was "Search Applications Provider" (I was meant to uninstall "SamsungAppsUNA2"; i just slicked on the wrong thing)
I've done the following and it has't helped:
* Ensured that USB debugging is on
* Tried setting "app processing mode" to -> "Auto, Indirect" as suggested elsewhere
* Rebooting
This still hasn't helped, it just sits "restoring" forever...
What options do i have?
Can i reinstall from the APK if i can somehow get it?
p.s. I'm using the I9100XXLPQ (Official Final Build) ICS ROM from Faryaab's thread
I'd reflash the rom. Restoring system apps is problematic at the best of times, usually end up with FC's. Try flashing it over the top of what you have now, and if that causes issues, do a clean install.
What do i lose when i re-flash the rom?
Launcher shortcuts? Sms?
MrEs said:
What do i lose when i re-flash the rom?
Launcher shortcuts? Sms?
Click to expand...
Click to collapse
If you have Titanium Pro backup than probably you will use the widgets on your launcher. SMS should be in backup. I would do another backup beforer flash, so that your data backup is fine
Two options...
Copy the apk in your Titanium folder... Rename it and move the copied file to your /system/app folder and reboot
Option 2 is to extract it from the ROM's zip and adb push it to the /system/app folder and reboot...
You may need to fix permissions afterwards using either option

[Q] Is it possible to backup WhatsApp through TWRP?

My phone recently went into boot loop for some unknown reason.
As WhatsApp default backup takes place at 2 am, I had some important conversions that happened after 2 am and the next day,
I can only access TWRP now.
If can copy the folders of WhatsApp from /data/app and /data/data and clean install a ROM, and the copy the folders back to the respective locations, will my WhatsApp open the same as before?
Thanks.

Categories

Resources