• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Pinch zoom for maps ported

People really have to wait for Pete to create a ROM to install two files?!?! :thinking:

Whiskey Tango Foxtrot! ... over. :D

No Not really, its just that I noticed that Pete now has v7.3 of Beast......and I was planing on trying that out as soon as I got home.

But now I want these apps as well.

So if Pete already had them in his ROM by then....then that would save me one step.

:)


I know......I'm lazy.
 
Upvote 0
I've done it and it's great. Working well, except for my current location is still at my house when I'm at work down the street. I couldn't upload nor can host, but if someone else can I have the codes here that I had to edit to work.

Some people will need to edit the Maps.odex, but some may not. I needed to. I have no custom ROM, just a rooted Droid 2.0.1.
mv /system/app/Maps.odex /systemapp/Maps.obak

If you updated Maps through Market previously, then you will have one extra step. I did.
mv /data/app/com.google.android.apps.maps.apk /data/app/com.google.android.apps.maps.bak

This is the bare minimum of coding in Emulator
Code:
su
mount -o remount,rw /dev/mtd/mtdblock4 /system
mv /system/app/Maps.apk /system/app/Maps.bak
mv /system/framework/com.google.android.maps.jar /system/framework/com.google.android.maps.bak
cat /sdcard/Maps.apk > /system/app/Maps.apk
cat /sdcard/com.google.android.maps.jar > /system/framework/com.google.android.maps.jar
mount -o remount,ro /dev/mtd/mtdblock4 /system
sync
reboot
 
Upvote 0
OK, I've gotten a few texts and PMs regarding how I got this to work, so here's the deal.

First, the details. I'm running Pete's 0.8.4 with the latest version of Maps from the Market. I downloaded the zip file (no zoom buttons / night mode) and extracted the two files, "Maps.apk" and "com.google.android.maps.jar". Search through the folders of that zip file, you'll find them. Upload those to the root of your sdcard.

Using Root Explorer, I navigated to the /data/app folder and changed the name of the com.google.android.apps.maps.apk file to com.google.android.apps.maps.apk.bak

Then I navigated to the /system/framework folder, tap "Mount R/W" at the top, and changed the name of the com.google.android.maps.jar file to com.google.android.maps.jar.bak ... then tap "Mount R/O" at the top.

Then I went to the root of the sdcard and copied the new com.google.android.maps.jar file, navigate to the /system/framework/ folder tap "Mount R/W" at the top, tap Paste at the bottom, then tap "Mount R/O" at the top..

Lastly, go back to the root of the sdcard, copy the new Maps.apk file, navigate to /system/app/ folder, tap "Mount R/W" at the top, tap Paste at the bottom, then tap "Mount R/O" at the top.

DONE! :)

Hope this helps...
 
Upvote 0
OK, I've gotten a few texts and PMs regarding how I got this to work, so here's the deal.

First, the details. I'm running Pete's 0.8.4 with the latest version of Maps from the Market. I downloaded the zip file (no zoom buttons / night mode) and extracted the two files, "Maps.apk" and "com.google.android.maps.jar". Search through the folders of that zip file, you'll find them. Upload those to the root of your sdcard.

Using Root Explorer, I navigated to the /data/app folder and changed the name of the com.google.android.apps.maps.apk file to com.google.android.apps.maps.apk.bak

Then I navigated to the /system/framework folder, tap "Mount R/W" at the top, and changed the name of the com.google.android.maps.jar file to com.google.android.maps.jar.bak ... then tap "Mount R/O" at the top.

Then I went to the root of the sdcard and copied the new com.google.android.maps.jar file, navigate to the /system/framework/ folder tap "Mount R/W" at the top, tap Paste at the bottom, then tap "Mount R/O" at the top..

Lastly, go back to the root of the sdcard, copy the new Maps.apk file, navigate to /system/app/ folder, tap "Mount R/W" at the top, tap Paste at the bottom, then tap "Mount R/O" at the top.

DONE! :)

Hope this helps...
I was going to opt to use Root Explorer also because I favor that, but it doesn't always quite work the way I want it, so I opted for and Emulator, that's why I posted the codes for it. BTW, you didn't have to edit the Maps.odex to .bak? Oh but I think it's because you're using Pete's.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones