Hi
I've managed to get rid of the crappy Samsung TouchWiz calendar app, and replace it by the vanilla android Calendar.apk (pulled from CyanogenMOD 5.0.8).
To do this I did the following:
Code:
adb shell
su
rm /system/app/Calendar.*
rm /system/app/CalendarProvider.*
chmod 666 /data/system/packages.xml
exit
exit
adb pull /data/system/packages.xml c:\packages.xml
[removed the Calendar and CalendarProvider entries with notepad++]
adb push c:\packages.xml /data/system/packages.xml
adb install c:\CyanogenMOD5.0.8\CalendarProvider.apk
adb install c:\CyanogenMOD5.0.8\Calendar.apk
Worked like a charm!
Now i'm trying the same with Contacts
however this time around it's not working so easily.
Each time I'm trying to install the new ContactsProvider and Contacts apk's, I'm given the following error:
Code:
adb install ContactsProvider.apk
42 KB/s (146217 bytes in 3.344s)
pkg: /data/local/tmp/ContactsProvider.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Any ideas??
I'd love to get a few minutes alone with however at Samsung decided to take this wonderful piece of hardware and cram it full with cheap, buggy iPhone-ripoff software
well to start off, it clearly said it was "Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]"
find a compatible APK then try again
I know this is and old thread but did you finally getit working?
vyruz1986 said:
Now i'm trying the same with Contacts
however this time around it's not working so easily.
Each time I'm trying to install the new ContactsProvider and Contacts apk's, I'm given the following error:
Code:
adb install ContactsProvider.apk
42 KB/s (146217 bytes in 3.344s)
pkg: /data/local/tmp/ContactsProvider.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Any ideas??
I'd love to get a few minutes alone with however at Samsung decided to take this wonderful piece of hardware and cram it full with cheap, buggy iPhone-ripoff software
Click to expand...
Click to collapse
u don need to "install" the apk most of the time, just cp it to /system/app/ will do
ykk_five said:
u don need to "install" the apk most of the time, just cp it to /system/app/ will do
Click to expand...
Click to collapse
I already try that, but the contacts app is not available in app drawer..
PD: I´ve replaced Contacts.apk and ContactsProvider.apk from the cyanogen beta3
joserobleda said:
I already try that, but the contacts app is not available in app drawer..
PD: I´ve replaced Contacts.apk and ContactsProvider.apk from the cyanogen beta3
Click to expand...
Click to collapse
if i remember correctly, the "icon" depends on the contactsprovider
A lot of force closes if i do that. Any idea?
Related
I saw over in the Dream forums that they have Google Navigation working for the G1.
Was just wondering if anyone out there managed to get it to run on the Magic too? Or if not, has anyone been working on it / made any progress?
I tried to follow the G1 instructions but (predictably) it didnt work for the Magic.
I also tried and not surprisingly did not get it to work.
Which part failed? I was thinking of trying it but assumed I would have to pull my build prop file, compare it to the ones from the G1 thread, and make some changes.
adb shell rm /system/sd/app/*Maps*
adb shell rm /system/sd/app/*maps*
adb shell rm /system/sd/dalvik-cache/*Maps*
adb shell rm /system/sd/dalvik-cache/*maps*
adb shell rm /system/app/*Maps*
adb shell rm /system/app/*maps*
None of those files exist on the magic - i am assuming they are stored elsewhere?
also:
/system/packages.xml <-- does not exist on the magic
Result being that you cannot install the new maps.apk file
No dice for me either. I tried manually and the batch file. I'm sure it's those missing files. If someone had access to a G1 and copied them I'm sure it would work.
I also saw this earlier today and was thinking about testing it.
http://forum.xda-developers.com/showthread.php?t=582656
Just checking guys, since you don't have the information in your signatures are you running the Cyan 4.2.3.1 rom? I can't see that this has been given the OK to work on other roms.
?
Do we have to have Cynogens mod to get this to work
crisvillani said:
Do we have to have Cynogens mod to get this to work
Click to expand...
Click to collapse
Probably - I did it on an AOSP rom and screwed up my radio. No idea why
I could not get it working on 32A MyHero because the app looks like it needs 1.6 to work.
Here are the steps to get it installed. Once it was installed it force-closed on launch.
I did this all from adb in recovery
if exists remove Maps.apk from /data/app/
if exists remove Maps.apk from /data/app_s/
if exists remove *maps* & *Maps* from /data/dalvik-cache/
Update build.prop and build.trout.prop
set ro.build.version.sdk=5
set ro.build.version.release=2.0
set ro.com.google.clientidbase=android-verizon
reboot
adb install path-to-Maps.apk (the one found in Dream forums)
I see the new Maps app name and icon, but it force closes (crashes) on launch.
Note: the MyHero rom just has a link from /system/app/ --> /data/app_s/
I imagine it should work on a 1.6 Donut ROM.
Note: You might have to revert the build.prop changes after you install Maps to support other applications.
I'm setting up this thread to keep extra functions on AOSP 1.6 & the actual development of AOSP 1.6 separate.
Discuss issues with extra functions in this thread & NOT the AOSP 1.6 thread.
________________________________________________
Googlebits:
Flash with this signed update.zip: Multiupload (RS|MU|DF|HF|ZS|4S)
________________________________________________
Superuser:
Flash with this signed update.zip: Multiupload (RS|MU|DF|HF|ZS|4S)________________________________________________
Busybox:
This needs to be installed if you install Superuser.
Code:
adb remount
adb shell
busybox --install /system/xbin/
adb reboot
________________________________________________
HTC Keyboard
Download Clicker.apk & HTC_IME.apk from here.
Do the following commands:
Code:
adb remount
adb install -r Clicker.apk
adb install -r HTC_IME.apk
adb reboot
Go into Settings>Locale & Text, made sure "Touch Input" is checked
Long press a text box, selected Input Method & selected "Touch Input"
________________________________________________
Thanks:
quietcbelongs for working on AOSP 1.6
gbhil for the two signed update.zips, this really makes it much easier for everyone
cyanogen for the framework-free HTC keyboard
Great thread.
A couple things to do after you get the Googlebits on:
Move su
Code:
#cp /system/xbin/su /system/bin/su
#ls /system/bin/**to verify su copied**
#rm /system/xbin/su
Install busybox symlinks
Code:
#busybox --install /system/xbin/
I'm loving this build. As soon as GPS gets working I'm deleting my 1.5 nandroid backup.
Link is broken. :-(
JasonMudd said:
Link is broken. :-(
Click to expand...
Click to collapse
Link perfectly fine for me, site is loading a little slow, but it's still there.
Thanks for posting googlebits.
Just a FYI
its a bit cleaner if you do the following.
unarchive google bits to androidsdk/tools
change dir to androidsdk/tools
adb remount
adb push system/framework /system/framework
adb push system/etc/permissions /system/etc/permissions
adb push system/app /system/app
adb reboot
lonerebel said:
Thanks for posting googlebits.
Just a FYI
its a bit cleaner if you do the following.
unarchive google bits to androidsdk/tools
change dir to androidsdk/tools
adb remount
adb push system/framework /system/framework
adb push system/etc/permissions /system/etc/permissions
adb push system/app /system/app
adb reboot
Click to expand...
Click to collapse
I prefer to push each file individually but I guess that would work also.
lonerebel said:
Thanks for posting googlebits.
Just a FYI
its a bit cleaner if you do the following.
unarchive google bits to androidsdk/tools
change dir to androidsdk/tools
adb remount
adb push system/framework /system/framework
adb push system/etc/permissions /system/etc/permissions
adb push system/app /system/app
adb reboot
Click to expand...
Click to collapse
Worked great for me! Thanks!
It may be something else I've broken (I've been tinkering), but is anyone getting gmail push with this build?
Mine seems to have stopped. I can check the mail manually, but nothing is getting pushed to me. Since this could be a Google issue, or something I've done, I'm looking for input before i troubleshoot.
incogneato said:
It may be something else I've broken (I've been tinkering), but is anyone getting gmail push with this build?
Mine seems to have stopped. I can check the mail manually, but nothing is getting pushed to me. Since this could be a Google issue, or something I've done, I'm looking for input before i troubleshoot.
Click to expand...
Click to collapse
I was getting Gmail fine the first day. I'm going to reflash my phone tonight & start fully testing it.
nevermind.
thanks so much for this works like a charm
contacts arent syncing
Hi. I'm having a problem getting my contacts to sync up.everything else though is working flawlessly though
Do the protected apps in the market place show up with this rom??
Thanks!
incogneato said:
It may be something else I've broken (I've been tinkering), but is anyone getting gmail push with this build?
Mine seems to have stopped. I can check the mail manually, but nothing is getting pushed to me. Since this could be a Google issue, or something I've done, I'm looking for input before i troubleshoot.
Click to expand...
Click to collapse
I'm also having issues with new emails being pushed to my phone, but I have been tinkering with SU, so I also may have broke it. I have already installed this on another friend's Hero & I'm going to see if they are having the same issue.
UPDATE:
My friend has not been having an issues receiving new email or with the notifications, so something related to SU or busybox, is possibly causing the issue.
darchstar said:
Hi. I'm having a problem getting my contacts to sync up.everything else though is working flawlessly though
Click to expand...
Click to collapse
I think there might be issue with Google sync after the initial sync.
jerrygon said:
Do the protected apps in the market place show up with this rom??
Click to expand...
Click to collapse
Yes protected apps show up in the market & install fine.
gu1dry said:
I'm also having issues with new emails being pushed to my phone, but I have been tinkering with SU, so I also may have broke it. I have already installed this on another friend's Hero & I'm going to see if they are having the same issue.
UPDATE:
My friend has not been having an issues receiving new email or with the notifications, so something related to SU or busybox, is possibly causing the issue.
I think there might be issue with Google sync after the initial sync.
Yes protected apps show up in the market & install fine.
Click to expand...
Click to collapse
Thanks. I went the whole way back. RUU, rooted with 1.5.2 recovery, flashed quietcblongs 1.6 and copied over googlebits. I'll leave it for a while and verify sync works as expected.
I don't see how busyboxes symlinks or moving su could break it, but your research mirrors mine, so we will see what happens.
Sometime last evening Google syncing stopped again. I'm going to try some mixing and matching with the various 1.5 and 1.6 versions of googlebits.
When i put the code in the cmd it says code not found
i meant error device not found
Did you install the Android SDK? If you did, did first cd to the tools folder of you Android SDK, before you did all the adb commands?
i did i do not know what is wrong
I searched around and couldn't get a clear answer. I'm a noob at anything command prompt/terminal related.
I was screwing around with adb last night after figuring out that I can remove program .apks with the rm <com.whatever.program> command. I got a little trigger happy and removed things that I don't use, just to test it out. I made a nandroid backup before I started. The phone runs fine, but now the Market won't download anything. It just sits on the Starting download... screen.
One of the .apks I removed was GmailProvider.apk. Whether this is the problem or not, I'd like to reinstall it for practice. I can always nand restore later.
So my question is... How can I use adb push to reinstall an apk?
I tried:
Code:
adb push C:\GmailProvider.apk
adb install C:\GmailProvider.apk
adb install C:\GmailProvider.apk \system\app
And about every variation of the 3, in and out of the adb shell.
It didn't work, and I'm at a loss to do anything else. So does anyone have any suggestions?
EDIT: I think my "\" should be "/". I got this
Code:
BusyBox v1.15.2 <2009-12-02 TIME EST> multi-call binary
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [source] dest|directory
Copy files and set attributes
Options:
Then some usage stuff here.
Then I looked at the command prompt and made a face like .
Suggestions?
It might help to say that I'm using EvilEris 2.0.1, Windows 7.
Just reflash your ROM after doing a titanium backup. Easiest fix.
try this after putting GmailProvider.apk in your sdk\tools dir:
Code:
adb remount
adb push GmailProvider.apk /system/app
remount marks the system directory as read/write
silverramsrt said:
try this after putting GmailProvider.apk in your sdk\tools dir:
Code:
adb remount
adb push GmailProvider.apk /system/app
remount marks the system directory as read/write
Click to expand...
Click to collapse
Beat me to it. ADB is powerful and pretty cool if you know some good commands, but you can really mess up your phone if you know what I mean. Not mess up like brick (unless you really try) but more like phone won't load gmail now, phone won't get past the htc screen. As long as you have a nandroid backup you SHOULD be fine, the push, pull and rm commands are really the first step of rom building. If you know what files you pushed and rm'd you can make your dream rom.
CPCookieMan said:
Beat me to it. ADB is powerful and pretty cool if you know some good commands, but you can really mess up your phone if you know what I mean. Not mess up like brick (unless you really try) but more like phone won't load gmail now, phone won't get past the htc screen. As long as you have a nandroid backup you SHOULD be fine, the push, pull and rm commands are really the first step of rom building. If you know what files you pushed and rm'd you can make your dream rom.[/QUOTE
i am installing htc facebook.apk on a rom that has had all the Bloat removed.do i need to do something after i have pushed a apk file into system/app?? i have tried rebooting the phone and the program isnt there,ive tried going in the phone with root explorer and tried installing while having it in r/w and r/o and still cant get it to install.im not sure what im doing wrong.any help is apreciated
Click to expand...
Click to collapse
i am installing htc facebook.apk on a rom that has had all the Bloat removed.do i need to do something after i have pushed a apk file into system/app?? i have tried rebooting the phone and the program isnt there,ive tried going in the phone with root explorer and tried installing while having it in r/w and r/o and still cant get it to install.im not sure what im doing wrong.any help is apreciated
Click to expand...
Click to collapse
You do not have to do anything after an adb push.
What rom? Some roms have been modified to the point some htc apps will not work. Addionally a copy of the htcfacebook.apk from an eris build may not work on a sprint based or g1 based roms do to signature variations
Sent from my Eris using XDA App
zach.xtr said:
You do not have to do anything after an adb push.
What rom? Some roms have been modified to the point some htc apps will not work. Addionally a copy of the htcfacebook.apk from an eris build may not work on a sprint based or g1 based roms do to signature variations
Sent from my Eris using XDA App
Click to expand...
Click to collapse
im running xtrom 3.0.......i just went ahead and installed the social app flash and deleted what the ones i dont uses,but thanks for the help anyways.i was looking into pushing friendstream into it but found out its only works in sprint base builds
ONLY WORKS WITH ANDROID 2.2 (FROYO)
For those of you that don't know, Google released a new Voice Search that allows "actions". For more info go Here.
First off, I wanna thank Tsenru, klinster, devlogic, BinaryMan, and Synchromatic @ the CM forum for all the info.
This is instructions for ubuntu so make the proper adjustments for windows if needed.
From ADB
Code:
adb pull /system/app ~/Desktop/app/
adb remount
adb shell rm -f /system/app/VoiceSearch.apk
adb shell pm uninstall com.google.android.voicesearch
adb shell rm -f /system/app/GoogleQuickSearchBox.apk
adb shell pm uninstall com.google.android.googlequicksearchbox
Once this is done you can search market for "voice search" and "google search" then after they're installed, reboot.
Now for the next step.
If the search hard key doesn't bring up the quick search box (keyboard input), do this.
Code:
adb remount
adb shell ln -s /data/app/com.google.android.googlequicksearchbox-1.apk /system/app/com.google.android.googlequicksearchbox.apk
adb reboot
Now all should work!
I had a wierd name for quick search box (com.google.android.googlequicksearchbox-1) so keep that in mind if you have any issues.
Now enjoy you fancy new voice search!
tried everyone's suggestions so far, with your suggestions I get:
rm failed for -f, Read-only file system
Worked for me, thanks!
beyondinferno said:
ONLY WORKS WITH ANDROID 2.2 (FROYO)
Now for the next step.
If the search hard key doesn't bring up the quick search box (keyboard input), do this.
Code:
adb remount
adb shell mv /data/app/com.google.android.googlequicksearchbox /system/app
adb reboot
Now all should work!
I had a wierd name for quick search box (com.google.android.googlequicksearchbox-1) so keep that in mind if you have any issues.
Now enjoy you fancy new voice search!
Click to expand...
Click to collapse
Rather then using the command adb shell mv /data/app/com.google.android.googlequicksearchbox /system/app
I suggest the command ln -s /data/app/com.google.android.googlequicksearchbox-1.apk /system/app/com.google.android.googlequicksearchbox.apk
ln -s creates a symbolic link to the file rather then moving the file. It keeps the google search file where the installer put it. If you move the file are you causing an issue in the future when the next upgrade comes around?
mmace said:
tried everyone's suggestions so far, with your suggestions I get:
rm failed for -f, Read-only file system
Click to expand...
Click to collapse
adb remount first... and when using rm try busybox...
busybox rm <<file>>
painter_ said:
Rather then using the command adb shell mv /data/app/com.google.android.googlequicksearchbox /system/app
I suggest the command ln -s /data/app/com.google.android.googlequicksearchbox-1.apk /system/app/com.google.android.googlequicksearchbox.apk
ln -s creates a symbolic link to the file rather then moving the file. It keeps the google search file where the installer put it. If you move the file are you causing an issue in the future when the next upgrade comes around?
Click to expand...
Click to collapse
Thanks for the tip!
Changing how to now.
Can't wait to try this tonight.
Sent from my HERO200 using XDA App
Worked great! thank you!
This worked for me as well. Thanks.
Not having much luck reactivating the search button.
I can confirm that it got the job done cause when I tried again, it popped up an error that the file already exists, so it succeeded in creating the link... any suggestions?
Just tried it, works great. Thanks!
what does adb shell PM uninstall do as opposed to adb shell uninstall
If you have TB, uninstall voice search and google search from backup/restore, then reboot phone and go to market install both, worked for me
andygu3 said:
If you have TB, uninstall voice search and google search from backup/restore, then reboot phone and go to market install both, worked for me
Click to expand...
Click to collapse
thanks that worked and it was way easier than adb.
I'd love to have this feature, but I get "failure" when I enter the adb shell pm uninstall com.google.android.voicesearch command. I can't figure out what I'm doing wrong, except that I have no idea what the difference between Ubuntu and Windows commands are.
Thanks for all the hard work. Any help is greatly appreciated.`
EDITED: I got it working. Not sure how. Even though I got a "failure" during the adb uninstall, the old voice search appears to have uninstalled already. Went to the market and downloaded the new app and it works!
Perilousp69 said:
I'd love to have this feature, but I get "failure" when I enter the adb shell pm uninstall com.google.android.voicesearch command. I can't figure out what I'm doing wrong, except that I have no idea what the difference between Ubuntu and Windows commands are.
Thanks for all the hard work. Any help is greatly appreciated.`
Click to expand...
Click to collapse
I should add I'm running FROYO 2.1, vanilla based on Cynogen's Aug. 13 mod
Working!
10chars
DirtyShroomz said:
Working!
10chars
Click to expand...
Click to collapse
Can you tell me how you did it? I noticed you had problems earlier.
Perilousp69 said:
Can you tell me how you did it? I noticed you had problems earlier.
Click to expand...
Click to collapse
Used SUFBS (or any file explorer). Went to system/app and deleted voicesearch.apk, rebooted, went to market and downloaded voice search
Sorry for bumping the old topic, but does anyone know the difference
between:
com.google.android.voicesearch.x and
com.google.android.voicesearch ??
hello everyone,
I recently got my new Xperia play, rooted it and replaced the very very unusable Se Keyboard with the standart LatinIME.apk.
I really dont like the Se apps so I also wanna get rid of the Sms and Email app but when im installing the normal Email.apk im getting
$ adb install "Email(3).apk"
2062 KB/s (1015277 bytes in 0.480s)
pkg: /data/local/tmp/Email(3).apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I hope somebody could clear this up
Laberkopf
Done, thanks to AndroHero I found out that the correct procedure for replacing such apps is:
adb remount
adb push apkname.apk /system/app/
adb remount
adb shell
#reboot
I've replaced the SemcEmail.apk with the Email.apk from Oxygen-2.0-rc7 for the Htc Desire.
Also I've replaced the Conversation.apk withe the Mms.apk from Oxygen.
Thanks AdamG and AndroHero