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.
Related
Hi,
After reading this thread and learning that you CAN replace HTC's apps with stock Android ones, I have started messing around to see what other apps I can / should change. I'll use this thread as kind of a log, so if I mess things up I can come back and see where I went wrong. Fellow noobs can surely use it too!
I am using SDK in Ubuntu, but the procedure should be pretty similar in Windows.
First, follow the Unlockr's method to root your phone.
Download a stock Android rom and extract its /system/apps folder inside /sdk/tools. I named the folder "Apps-stock
Check if Ubuntu recognises your phone:
Code:
./fastboot devices
Load the recovery image and mount the system:
Code:
./fastboot boot cm-hero-recovery.img
./adb shell mount /system
Replacing HTC's calendar:
Code:
./adb shell rm /system/app/Calendar.apk
./adb shell rm /system/app/Calendar.odex
./adb push Apps-stock/Calendar.apk /system/app/
I'll edit the thread, add details as I go on
Nice one!
Please keep us informed!
Thanks for this thread.
Post moved to a more appropriate topic :
http://forum.xda-developers.com/showthread.php?p=4477971#post4477971
Thanks for setting this thread up!
Firstly, you should probably say in the first post that everyone should do a Nandroid backup first - it's saved my bacon. Might be an idea to link to the files, too?
Second, I've got a problem trying to run this method. I removed the original calendar.apk and .odex without any problems, and copied the new one over, but on rebooting, it wasn't in the list of applications anywhere. I browsed there in Astro and opened the file, which gave me an option to install it - which then gave an error of "Calendar could not be installed on this device".
I'm running the MoDaCo 2.1 custom ROM and using the calendar.apk from this thread.
Thanks for your time!
fastboot
can you tell me where this fastboot command is located? I am using Ubuntu too, but can not find fastboot. What is it for by the way?
dragonflyFZX said:
can you tell me where this fastboot command is located? I am using Ubuntu too, but can not find fastboot. What is it for by the way?
Click to expand...
Click to collapse
fastboot and adb are executables you get from the Android SDK - see here.
This thread does require your phone to be rooted, though, which would require you to have already used adb at least once....
frandavid100 said:
........
Replacing HTC's calendar:
Code:
./adb shell rm /system/app/Calendar.apk
./adb shell rm /system/app/Calendar.odex
./adb push Apps-stock/Calendar.apk /system/app/
I'll edit the thread, add details as I go on
Click to expand...
Click to collapse
how about simply replacing those files using a file explorer (like linda)? possible, or would that screw up my system?
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
just a refresher to help those trying to read the dozens of new pages credit goes to david279, Gregalous and others
MMS FIX - WORKS
cd C:\android-sdk-windows\tools
adb shell
cd /data/data/com*telephony/databases
sqlite3 telephony.db
update carriers set mmsc='http://mms.sprintpcs.com?X-MDN=YOUR11DIGITNUMBER' where name='Production'; *input your phone number example 13303214294 dont forget the'*
adb reboot
QUICKBOOT FIX - WORKS
cd C:\android-sdk-windows\tools
adb remount
adb push reboot /system/bin
adb shell
cd /system/bin/
ls **optional...I did this just so I could make sure the reboot file was there**
chmod 755 reboot
chmod 755 /system/bin/reboot
adb reboot
3D GALLERY INSTALL - WORKS
cd C:\android-sdk-windows\tools
adb remount
adb push Gallery3D.apk /system/app
adb reboot
REOCCURRING SIGN-IN FAILURE - DOESN'T WORK
install google voice 0.2
MARKET NOT SHOWING INSTALLED APPS - WORKS FOR MANY (may fix failing sign-in error at boot)
cd C:\android-sdk-windows\tools
adb pull /system/build.prop .
used wordpad (don't use MS notepad) to edit build.prop with the following:
ro.build.fingerprint=google/passion/passion/mahimahi:2.1/ERD79/22607:user/release-keys
ro.cdma.home.operator.numeric = 310120 (note 310120, not 310012)
ro.cdma.home.operator.alpha = Sprint
ro.com.google.clientidbase=android-sprint
adb remount
adb push build.prop /system/
clear market cache
adb reboot
REPLACE LOCKSCREEN - WORKS
cd C:\android-sdk-windows\tools
adb remount
adb shell
cd /system/app/
rm HtcLockScreen*
exit
reboot phone
I did not mean for the original title to be dirogitory i simply ment to make it as clear as posible it fixes many problems that we have had in that rom i dont want somone applying it to another 2.1 rom that it doesnt work for and coming back and saying ruler why wernt you more clear...
this was all posted (in one post) by rank78 i reposted so i could make a wiki page out of it (the fix finds were descovered by multilple people if you want your name up here pm me and il put it up)
these problems are more-so in all 2.X roms, the way your title is is like your bashing, but thanks anyway
lv2bll said:
these problems are more-so in all 2.X roms, the way your title is is like your bashing, but thanks anyway
Click to expand...
Click to collapse
x2 but thanks for the effort.
Great info, but can you edit the title of the post? It seems a bit harsh to flipz. All these guys deserve the utmost respect for doing these ROMs and not asking for much from us.
Just my 2 cents, thanks again.
wow people are sensitive. he's not bashing flipz...
rank78 also posted the links to the files needed for these fixes, i think it would be a good idea to post them on the first post of this topic
Great
Thanks Rolermon,
Quick question, would the MMS fix work for the 2.1 Darchdroid? Also, when you said step 5. update carriers set mmsc='http://mms.sprintpcs.com?X-MDN=YOUR11DIGITNUMBER' where name='Production'; -----------are we to changing the MDN=************ for something on our end, or do we leave it as it is?
Edit---------Another question on the QUICKBOOT FIX - WORKS--------
Where do I find the reboot file that I need to push to /system/bin?
Kykiskly said:
Thanks Rolermon,
Quick question, would the MMS fix work for the 2.1 Darchdroid? Also, when you said step 5. update carriers set mmsc='http://mms.sprintpcs.com?X-MDN=YOUR11DIGITNUMBER' where name='Production'; -----------are we to changing the MDN=************ for something on our end, or do we leave it as it is?
Edit---------Another question on the QUICKBOOT FIX - WORKS--------
Where do I find the reboot file that I need to push to /system/bin?
Click to expand...
Click to collapse
Tried the MMS fix on Darch's 2.1 ROM... no luck.
link to the post with files needed to fix. i pm'ed flip to add these to the first post.
http://forum.xda-developers.com/showpost.php?p=5799963&postcount=1908
rank78 said:
link to the post with files needed to fix. i pm'ed flip to add these to the first post.
http://forum.xda-developers.com/showpost.php?p=5799963&postcount=1908
Click to expand...
Click to collapse
Thanks Rank- How do I get the 11 MDN number from my phone?
Kykiskly said:
Thanks Rank- How do I get the 11 MDN number from my phone?
Click to expand...
Click to collapse
its just 1, area code, phone number = 11
Kykiskly said:
Thanks Rank- How do I get the 11 MDN number from my phone?
Click to expand...
Click to collapse
I believe it is your phone number 1-234-567-8901 that is 11
Kykiskly said:
Thanks Rolermon,
Quick question, would the MMS fix work for the 2.1 Darchdroid? Also, when you said step 5. update carriers set mmsc='http://mms.sprintpcs.com?X-MDN=YOUR11DIGITNUMBER' where name='Production'; -----------are we to changing the MDN=************ for something on our end, or do we leave it as it is?
Edit---------Another question on the QUICKBOOT FIX - WORKS--------
Where do I find the reboot file that I need to push to /system/bin?
Click to expand...
Click to collapse
fyi the quickboot fix is for the program quickboot that wasn't functioning after flashing the rom.
the reboot file is zipped in my post
rank78 said:
fyi the quickboot fix is for the program quickboot that wasn't functioning after flashing the rom.
the reboot file is zipped in my post
Click to expand...
Click to collapse
Many thanks, but I was able to push the file to the destination. About the MMS, i did as instructed, still didn't help at all. I am not able to mms pics out either.
I am on Darchdroid V1 2.1
You guys probably know a lot more about this than I do, but shouldn't the MMS link be:
http://mms.sprintpcs.com/servlets/MMS?X-SPRINT-MDN="Your MSID Number" ?
on my hero, i just put in:
http: //mms.sprintpcs.com/servlets/MMS
and it worked.
rulermon said:
just a refresher to help those trying to read the dozens of new pages credit goes to david279, Gregalous and others
MMS FIX - WORKS
cd C:\android-sdk-windows\tools
adb shell
cd /data/data/com*telephony/databases
sqlite3 telephony.db
update carriers set mmsc='http://mms.sprintpcs.com?X-MDN=YOUR11DIGITNUMBER' where name='Production'; *input your phone number example 13303214294 dont forget the'*
adb reboot
QUICKBOOT FIX - WORKS
cd C:\android-sdk-windows\tools
adb remount
adb push reboot /system/bin
adb shell
cd /system/bin/
ls **optional...I did this just so I could make sure the reboot file was there**
chmod 755 reboot
chmod 755 /system/bin/reboot
adb reboot
3D GALLERY INSTALL - WORKS
cd C:\android-sdk-windows\tools
adb remount
adb push Gallery3D.apk /system/app
adb reboot
REOCCURRING SIGN-IN FAILURE - DOESN'T WORK
install google voice 0.2
MARKET NOT SHOWING INSTALLED APPS - WORKS FOR MANY (may fix failing sign-in error at boot)
cd C:\android-sdk-windows\tools
adb pull /system/build.prop .
used wordpad (don't use MS notepad) to edit build.prop with the following:
ro.build.fingerprint=google/passion/passion/mahimahi:2.1/ERD79/22607:user/release-keys
ro.cdma.home.operator.numeric = 310120 (note 310120, not 310012)
ro.cdma.home.operator.alpha = Sprint
ro.com.google.clientidbase=android-sprint
adb remount
adb push build.prop /system/
clear market cache
adb reboot
REPLACE LOCKSCREEN - WORKS
cd C:\android-sdk-windows\tools
adb remount
adb shell
cd /system/app/
rm HtcLockScreen*
exit
reboot phone
I did not mean for the original title to be dirogitory i simply ment to make it as clear as posible it fixes many problems that we have had in that rom i dont want somone applying it to another 2.1 rom that it doesnt work for and coming back and saying ruler why wernt you more clear...
this was all posted (in one post) by rank78 i reposted so i could make a wiki page out of it (the fix finds were descovered by multilple people if you want your name up here pm me and il put it up)
Click to expand...
Click to collapse
There still needs to be appropriate quit and .quit statements added in to get out of sqlite3 and shell.
ripleys said:
You guys probably know a lot more about this than I do, but shouldn't the MMS link be:
http://mms.sprintpcs.com/servlets/MMS?X-SPRINT-MDN="Your MSID Number" ?
on my hero, i just put in:
http: //mms.sprintpcs.com/servlets/MMS
and it worked.
Click to expand...
Click to collapse
What do you mean by "http: //mms.sprintpcs.com/servlets/MMS"? Didn't you complete the sentence with the MDN=-----------------?
Kykiskly said:
What do you mean by "http: //mms.sprintpcs.com/servlets/MMS"? Didn't you complete the sentence with the MDN=-----------------?
Click to expand...
Click to collapse
No, supposedly both work. The MDN version works all the time and the MMS version works some of the time.
Mistamike17 said:
No, supposedly both work. The MDN version works all the time and the MMS version works some of the time.
Click to expand...
Click to collapse
Ok but after that statement, what goes after, cuz since we are in the sqlite3 telephony.db, we cant adb reboot from there. What is the command to close/save the statement. I tried .quit, exit, adb reboot and no success.
how do we know that by doing the above statements the change took effect?
1) update carriers set mmsc='http://mms.sprintpcs.com?X-MDN=1+area code + cell #' where name='Production'; *1+area code + cell '*
2)http: //mms.sprintpcs.com/servlets/MMS
This also worked on Souffle!!! Thanks guys!
Code:
QUICKBOOT FIX - WORKS
cd C:\android-sdk-windows\tools
adb remount
adb push reboot /system/bin
adb shell
cd /system/bin/
ls **optional...I did this just so I could make sure the reboot file was there**
chmod 755 reboot
chmod 755 /system/bin/reboot
adb reboot
I have been running Tainted Vanilla and was going to try Ivan's Eris_Official Rom. but when I installed it there are some apps missing from the market that I have paid for ( ie. Age of Conquest Europe, Africa, Asia ). I have installed the market fix and this has made no difference.
I have looked in /system/app but did not see the apps listed in there
I have also looked at backing it up with astro but it is listed as private
So i wanted to see if I could just pull the APK from adb or if there is some thing I have done wrong.
Any help would be cool Thanks
Mike
i'm not sure i can help with the missing apps (were you using apps2sd?)... but, i often backup my apks for just that reason
you can pull/backup the apks...
adb remount
then... depending on where apps are...
adb pull /system/app ./
or
adb pull /data/app ./
or
adb pull /system/sd/app ./
it will copy all the installed apks to the current working directory (i'm assuming you're using a Windows PC... if not, let me know). hopefully this at least helps!
Thanks for the help.
I was using a Nand backup and jumping from one to the other.
the adb commands worked for me. thanks again
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