UPDATE: try this simpler method first: http://forum.xda-developers.com/galaxy-y/general/trick-how-to-disable-google-play-store-t2951378
BEFORE REPLYING: please know that I have tried all of the standard suggested solutions to prevent Market from updating, including freezing Market Updater, using pm disable on it, and turning off auto-updates for apps, and these do not work on Market versions >= 3.0.
On my Samsung Galaxy S2, the latest market app (3.4.4) randomly freezes my entire phone, causing me to have to hold the power button down to reboot. Happens nearly every time I browse for apps in that version. I can "uninstall updates" to get back to the version in /system, but it updates itself to 3.4.4 every time I run it. My goal: prevent the automatic updates.
Plenty of threads here and elsewhere have tips for preventing the updates. The problem is that none if them work for market versions beyond 3.0. I've discovered a method for preventing the updates even on more recent market versions.
Do "uninstall updates" on the market app (in "manage applications").
Open the terminal app.
Run "su" to become root.
Run: touch /data/app/com.android.vending-1.apk
Run: chattr +i /data/app/com.android.vending-1.apk
This will put a bogus APK file in the way of where Android wants to put the new version. The chattr command makes the file "immutable", so that even root can't remove it. Just setting it read only with chmod isn't enough.
This will pin your market to the version included in your ROM. This trick might work if you want to pin a version that's already in /data/app, if you skip the "uninstall updates" and the "touch" command... Haven't tested this.
I tried it, but it said "chattr: command not found".
lexelby said:
On my Samsung Galaxy S2, the latest market app (3.4.4) randomly freezes my entire phone, causing me to have to hold the power button down to reboot. Happens nearly every time I browse for apps in that version. I can "uninstall updates" to get back to the version in /system, but it updates itself to 3.4.4 every time I run it. My goal: prevent the automatic updates.
Plenty of threads here and elsewhere have tips for preventing the updates. The problem is that none if them work for market versions beyond 3.0. I've discovered a method for preventing the updates even on more recent market versions.
Do "uninstall updates" on the market app (in "manage applications").
Open the terminal app.
Run "su" to become root.
Run: touch /data/app/com.android.vending-1.apk
Run: chattr +i /data/app/com.android.vending-1.apk
This will put a bogus APK file in the way of where Android wants to put the new version. The chattr command makes the file "immutable", so that even root can't remove it. Just setting it read only with chmod isn't enough.
This will pin your market to the version included in your ROM. This trick might work if you want to pin a version that's already in /data/app, if you skip the "uninstall updates" and the "touch" command... Haven't tested this.
Click to expand...
Click to collapse
I've had the same problem and this looks quite promising, but I have the same problem w/ chattr not found. What terminal app are you running?
Oops, should have mentioned... You'll need busybox installed. It'll include the chattr command.
lexelby said:
On my Samsung Galaxy S2, the latest market app (3.4.4) randomly freezes my entire phone, causing me to have to hold the power button down to reboot. Happens nearly every time I browse for apps in that version. I can "uninstall updates" to get back to the version in /system, but it updates itself to 3.4.4 every time I run it. My goal: prevent the automatic updates.
Plenty of threads here and elsewhere have tips for preventing the updates. The problem is that none if them work for market versions beyond 3.0. I've discovered a method for preventing the updates even on more recent market versions.
Do "uninstall updates" on the market app (in "manage applications").
Open the terminal app.
Run "su" to become root.
Run: touch /data/app/com.android.vending-1.apk
Run: chattr +i /data/app/com.android.vending-1.apk
This will put a bogus APK file in the way of where Android wants to put the new version. The chattr command makes the file "immutable", so that even root can't remove it. Just setting it read only with chmod isn't enough.
This will pin your market to the version included in your ROM. This trick might work if you want to pin a version that's already in /data/app, if you skip the "uninstall updates" and the "touch" command... Haven't tested this.
Click to expand...
Click to collapse
Ok, I'm back to version 3.1.3. I really hope this works! This market freeze problem has been driving me nuts. This has been the first time I've become overly frustrated with Android. If a version of the market isn't working correctly on our phones, we should be able to run whatever version of the market we want without it automatically updating and forcing you to use the latest version.
Oh!! You have the freezing too? I searched all over but I couldn't find anyone else describing the same freezes. What device/ROM are you on?
lexelby said:
Oh!! You have the freezing too? I searched all over but I couldn't find anyone else describing the same freezes. What device/ROM are you on?
Click to expand...
Click to collapse
I'm currently on CM7 using the AT&T Galaxy S2. I try MIUI from time to time to see if the issue has been resolved, but it hasn't. I had my first market lockup on CM7 today. It's been frustrating the living hell out of me. I tried your suggestion and the market still updated. Hasn't locked up yet, but I haven't spent a lot of time on my phone either.
Any other alternatives? Did the proposed solution work for you?
Sounds like you and I have the exact same phone, carrier, and ROM. The fix did work for me... Hasn't updated since. Maybe try removing Market Updater with Titanium Backup too. Perhaps it falls back to that to update if the builtin mechanism fails... Not sure. You could also try the process again, but be super sure you close Market, "uninstall updates", and then do the touch and chattr. If all else fails you could take a screen video (can we do that on Android?) and I'll watch to see if maybe there's a step I missed.
Also, after going through the steps, run these and paste in the results:
ls -l /data/app/com.android.vending-1.apk
lsattr /data/app/com.android.vending-1.apk
Ok, I'm going to try all of this later today when I get a chance. Will post back with an update asap.
Also, do you remember the results that came up after running every command? I'm going to try to post everything that comes up so you can take a look for yourself.
How long have you been running the market without it updating? I know quite a few people that could benefit from this if it works consistsntly. We are not some rare group. This is a pretty widespread issue here.
Sent from my SGH-I777 using Tapatalk
My market's been on version 3.1.3 since the day before I posted this thread, and it hasn't updated at all. I really think we can get this working for you too... We just need to figure out if I forgot to include a step. The two commands both actually give no feedback at all, so the ls and lsattr will tell us whether things worked properly.
So this problem is widespread? My Google-fu fails me, apparently. Is it just sgh-i777 users on cm7?
Here are my results. Note, the first time I did this, after one of the steps, I got something "not found." I don't remember what it was. But anyways:
$ export PATH=/data/local/bin:$PATH
$ su
# touch /data/app/com.android.vending-1.apk
# chattr +1/data/app/com.android.vending-1.apk
BusyBox v1.19.3 (2011-11-22 01:37:10 MST) multi-call binary.
Usage: chattr [-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]...
Change file attributes on an ext2 fs
Modifiers:
- Remove attributes
+ Add attributes
= Set attributes
Attributes:
A Don't track atime
a Append mode only
c Enable compress
D Write dir contents synchronously
d Don't backup with dump
i Cannot be modified (immutable)
j Write all data to journal first
s Zero disk storage when deleted
S Write file contents synchronously
t Disable tail-merging of partial blocks with other files
u Allow file to be undeleted
-R Recurse
-v Set the file's version/generation number
# ls -l/data/app/com.android.vending-1.apk
ls: invalid option -- /
BusyBox v1.19.3 (2011-11-22 01:37:10 MST) multi-call binary.
Usage: ls [-1AaCxdLHRFplinsehrSXvctu] [-w WIDTH] [FILE]...
List directory contents
-1 One column output
-a Include entries which start with .
-A Like -a, but exclude . and ..
-C List by columns
-x List by lines
-d List directory entries instead of contents
-L Follow symlinks
-H Follow symlinks on command line
-R Recurse
-p Append / to dir entries
-F Append indicator (one of */[email protected]|) to entries
-l Long listing format
-i List inode numbers
-n List numeric UIDs and GIDs instead of names
-s List allocated blocks
-e List full date and time
-h List sizes in human readable format (1K 243M 2G)
-r Sort in reverse order
-S Sort by size
-X Sort by extension
-v Sort by version
-c With -l: sort by ctime
-t With -l: sort by mtime
-u With -l: sort by atime
-w N Assume the terminal is N columns wide
--color[={always,never,auto}] Control coloring
# lsattr /data/app/com.android.vending-1.apk
--------A---- /data/app/com.android.vending-1.apk
#
I just looked at the options and it looks like I inserted an "L" instead of "I" to make the file immutible. Correct? Let me know if I did something wrong so I can go back and try again.
Aha! Now we're getting somewhere. The command should be... "chattr space plus lower-case I space /data/app/com.abdroid.vending-1.apk"... that's "vending dash one dot apk". The ls command is "ell ess space dash ell space /data/app/com.abdroid.vending-1.apk". Can you just copy/paste the commands from the OP?
lexelby said:
Aha! Now we're getting somewhere. The command should be... "chattr space plus lower-case I space /data/app/com.abdroid.vending-1.apk"... that's "vending dash one dot apk". The ls command is "ell ess space dash ell space /data/app/com.abdroid.vending-1.apk". Can you just copy/paste the commands from the OP?
Click to expand...
Click to collapse
Well I'll be damned! I'm going to give this a try.
Do avoid spelling android as "abdroid" like I did, though
lexelby said:
Do avoid spelling android as "abdroid" like I did, though
Click to expand...
Click to collapse
Lol.
Ok, I think I got it. Take a look.
$ export PATH=/data/local/bin:$PATH
$su
# a/app/com.android.vending-1.apk
# a/app/com.android.vending-1.apk
# ls -l data/app/com.android.vending-1.apk
-rw-rw-rw- 1 0 0 0 Jan 11 16:06 data/app/com.android.vending-1.apk
# lsattr data/app/com.android.vending-1.apk
-----i--A---- data/app/com.android.vending-1.apk
#
Don't know why some of it's cut off. I'm not a terminal emulator expert.
That looks right. Now run Market. It should be at 3.1.3, and if you close it, wait a minute, and reopen it, it should still be 3.1.3. If it's updated, then I guess we go back to the drawing board...
Ok ,I ran it and restarted it and it's still the same. Now keep in mind, I did this several times yesterday and about an hour later when I launched the market, it updated. Oh, while I have it in mind, let me freeze market updater, just to eliminate all possible causes. If this works, I owe you a beer! You just have no idea how frustrated I've been over the past month with this issue!
And for the record, type "android market freezes phone" in google search and see for yourself. We are NOT the only ones.
Oh trust me, I know just how frustrated you've been I was really starting to get pissed off at having to "uninstall updates" to safely use the market. I also think the freezes and resulting hard reboots caused the filesystem corruption that forced me to have to restore to factory and restore all of my apps from Titanium. That sucked.
i have another work around that might work. so far its sticking for me.
since the steps from OP is to prevent market from updating and staying at 3.1.3, i downloaded market 3.1.3.apk from here.
i went into root explorer and renamed 'vending.apk' to 'vending.apk.bak'. i didnt delete it incase if anything. just renamed as a backup.
i used tibu to freeze 'market updater'.
i copied market 3.1.3 apk into /system/app and set permission to rw-r-r.
reboot.
so far its working fine for me and its staying at 3.1.3. not sure for how long.
Related
First let me say that tho' I may not post here frequently, but I am an avid fan and supporter of this community. Much praise to all those who have so diligently worked on the custom roms, such as JF, Haykuro, TheDude, etc., and to their continuing cooperation and advancement.
However I come with an issue, that I have looked for a solution but have not been able to find one. And while I do dual boot with Jaunty, I am in no way a guru to have time to understand Android's systems. I do hope this would be fixed just for a more 'official' method of updating instead of aTrackDog.
After running nandroid for safety, wiping and flashing a new 1.5 ROM (Dude's .8, .92, .93, Haykruo's ADP1.5H [No JF yet, tomorrow]), then restoring apps and links through either manual method (I just adb the entire process for convenience) or through the apps2sd app (also for convenience). The official Market app does sync in some way with what is installed on the phone, until you go into the market, at which point it asks you if you want to install it to replace the version you have.
I am curious if there is a way to backup your Market application settings before wiping (I prefer to wipe, even if they are 'nowipe' builds, as I go from different developer's builds frequently too) so after redo the app2sd on your new install, you won't have to run aTrackDog to get your updates. Not going through and installing every single application is a plus too, why have more apps if we can just backup and transfer settings somehow?
As I previously mentioned, I don't know the Android system, or specifically the Market and Application systems, so I don't know if this could be done. Also, if I am the only one experiencing this, I would like to know how I am doing this improperly.
Update: Thanks goes to beagz for supplying the information and giving credit to haitiankid4lyf (http://forum.xda-developers.com/showpost.php?p=3655174&postcount=44)
It's not just you, that's how it works. But I don't see a problem running atrackdog.
I guess there is a file that you can transfer and it will make market remember your apps. Though I might be wrong. If it was that easy, someone would have figured it out by now.
Somebody discovered and posted this. I tried and it works.
mkdir /sdcard/market
cp /data/data/com.android.vending/databases/assets.db /sdcard/market/assets.db
To restore use
rm /data/data/com.android.vending/databases/assets.db
cp /sdcard/market/assets.db /data/data/com.android.vending/databases/assets.db
beagz said:
Somebody discovered and posted this. I tried and it works.
mkdir /sdcard/market
cp /data/data/com.android.vending/databases/assets.db /sdcard/market/assets.db
To restore use
rm /data/data/com.android.vending/databases/assets.db
cp /sdcard/market/assets.db /data/data/com.android.vending/databases/assets.db
Click to expand...
Click to collapse
Cool! It is an easy solution after all.
Thank you for sharing.
Cool, so just run the first two lines in the termainl and it will fix the issues?
Minker17 said:
Cool, so just run the first two lines in the termainl and it will fix the issues?
Click to expand...
Click to collapse
If you have not made backup prior to flashing a new ROM, this method will not help.
The first 2 are run before a wipe. After run market so that it is set then run the restore commands , reboot and you are set.
Just to clarify. This assumes you are starting from a stable running OS and are preparing to upgrade. All your apps must already be installed.
1) Run these commands to backup your market settings.
mkdir /sdcard/market
cp /data/data/com.android.vending/databases/assets.db /sdcard/market/assets.db
2) Install and wipe to update to the new build you want to use. (you don't need to do any of this if you are not wiping)
3) Complete the setup of your phone.
4) Start the market and agree to terms and conditions.
5) Run the second set of commands to restore your market settings.
rm /data/data/com.android.vending/databases/assets.db
cp /sdcard/market/assets.db /data/data/com.android.vending/databases/assets.db
6) Reboot and restart the market. All your apps should now be listed under downloads and should update as usual.
7) Kick back and smile since you do not have to redownload and install your apps again
beagz said:
The first 2 are run before a wipe. After run market so that it is set then run the restore commands , reboot and you are set.
Just to clarify. This assumes you are starting from a stable running OS and are preparing to upgrade. All your apps must already be installed.
1) Run these commands to backup your market settings.
mkdir /sdcard/market
cp /data/data/com.android.vending/databases/assets.db /sdcard/market/assets.db
2) Install and wipe to update to the new build you want to use. (you don't need to do any of this if you are not wiping)
3) Complete the setup of your phone.
4) Start the market and agree to terms and conditions.
5) Run the second set of commands to restore your market settings.
rm /data/data/com.android.vending/databases/assets.db
cp /sdcard/market/assets.db /data/data/com.android.vending/databases/assets.db
6) Reboot and restart the market. All your apps should now be listed under downloads and should update as usual.
7) Kick back and smile since you do not have to redownload and install your apps again
Click to expand...
Click to collapse
Also worth noting: this wont work if you go from rc33 to cupcake. I tried it and after restoring the database, market force closes on launch. Fortunately I made a backup of the new assets.db before I restored the old one.
@Azlum: Good to know. Never tried it before I was using the cupcake builds.
Wow this is so awesome, thamk you very much, this is exactly what I have been looking for. This makes apps2sd absolutely perfect for me now. I think I am going to add this to the wiki if at all possible. Thank you so much again.
I didn't wipe from JF RC33 to JF 1.5, had my apps to SD, and the market showed me having about half of my apps installed. Don't know why, but that's what it did.
well, my lazy ass didnt backup, so ill continue to use atrackdog. works for me
Just to let everyone know. I was very glad to help. However, it should be noted that as I stated I found this script posted by someone else. I feel that it is proper to credit
"haitiankid4lyf"
for posting this in the Gscript thread post # 44.
Thank you haitiankid4lyf! for posting this script so that we could use it to make recoveries easier!
beagz said:
Somebody discovered and posted this. I tried and it works.
mkdir /sdcard/market
cp /data/data/com.android.vending/databases/assets.db /sdcard/market/assets.db
To restore use
rm /data/data/com.android.vending/databases/assets.db
cp /sdcard/market/assets.db /data/data/com.android.vending/databases/assets.db
Click to expand...
Click to collapse
HOLY CRAP. That saved my life. This post should be stickied.
I believe that during the initial app2sd development, people experimented with moving the entire /data/data directory, which was unstable and is now not recommended (I never did it as I didn't want that many I/O operations wearing down the life of my card, tho' it is class 6) and I believe we wouldn't need to do this if we were to have /data/data ported.
I would also like to reference this thread http://forum.xda-developers.com/showthread.php?p=3729952 that details the backing up (and restoration) of specific application settings as this I believe would be useful for some (as it is for me). Integration of this into something like aTrackDog would be absolutely amazing, the reason why I say aTrackDog is since it already tracks applications and wouldn't just be copying the whole directory including system components (as the point of this is having things similar AFTER doing a wipe).
Anyway, just my two cents.
Wait...will this work if I backup with nandroid before I upgraded to 1.5?
What I did was setup a gscript to backup all the data to the sdcard.
cp -f -r /data/data/* /sdcard/backups/---mylocation--
You could reverse / restore by doing it in reverse and then chmoding as you said.
Don't mean to start too many threads, but this is meant to specifically discuss the above programs.
RE: Google maps
Completely uninstalling and then reinstalling from the market seems to address the force close that occurs when a search query is submitted.
Alternatively, you can move the google maps apk from the ext2 partition to the /system/app folder on the phone. This is the same fix as for the google voice search...
RE: Google voice search
I went about the rather cumbersome process of moving the apk from the ext2 partition (as automatically happens in the Modaco ROM) back to the /system/app folder on the phone. This has resolved all the voice search crashes that I have come across.
NB: I do not know the results if you were to fix google maps by uninstalling and reinstalling and fix google voice search by moving the apk. I.e. if you were to do a google voice search within google maps under this fixing method, Im not sure if the voice search will crash....I'm guessing not though.
Please bear in mind im a COMPLETE linux/andoird/adb/whatever noob. I can outline my method for moving the apks, but Im certain there are better ways to do it.
Sweet, that fixed my google voice issue (and a quick mv and reboot didn't seem so bad to me, but perhaps I just have a high pain tolerance lol)
that or i didn't know there was an mv command...like i said...complete noob
dom2114 said:
that or i didn't know there was an mv command...like i said...complete noob
Click to expand...
Click to collapse
No sweat, mv is a linux command that can be used to move (thus mv) or rename files.
Basic Syntax:
Code:
mv [source] [destination]
So what I did was
Code:
mv /data/app/com.google.android.voicesearch.apk /system/app
and then rebooted the phone. Worked like a champ!
thanks, worked perfectly
NOTE: be sure to issue this command before the move to not get the 'read-only file system' error
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Thanks a ton for this! I don't have A2SD running and my Google Voice Search was also not working, I didn't even notice until someone had pointed it out. Lucky for me, there was a solution almost as fast as the problem was discovered! We should probably point it out to Paul @ MoDaCo now!
tstack77 said:
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Alternatively, the following command works on MoDaCo's ROM:
Code:
adb remount
It accomplishes the same thing and is waaaaay easier for my simple mind to remember.
thecodemonk said:
Code:
adb remount
It accomplishes the same thing and is waaaaay easier for my simple mind to remember.
Click to expand...
Click to collapse
haha, totally agree. Thanks for that bit o' knowledge
AWESOME, thank you. I've been saving all of these forum posts together, I'll make a super-post once I get everything running the way I want, very clearly detailed and it will feature all of these different commands that I have used to help me along the way!
ok, so help me out if you can.
I want to copy the apk's on the ext2 partition i.e. in /system/sd/app to my computer in case I decide to wipe the sdcard for some reason.
In adb im typing:
cp /system/sd/app /desktop
Ive tried cp with the -r, -f, -rf options, and everytime i get a cannot create error message or sometimes a cannot create symlink message
Any tips??
dom2114 said:
ok, so help me out if you can.
I want to copy the apk's on the ext2 partition i.e. in /system/sd/app to my computer in case I decide to wipe the sdcard for some reason.
In adb im typing:
cp /system/sd/app /desktop
Ive tried cp with the -r, -f, -rf options, and everytime i get a cannot create error message or sometimes a cannot create symlink message
Any tips??
Click to expand...
Click to collapse
Once you're inside the adb shell, you don't really have access back to your desktop. Your best bet would be to run (from the windows command prompt where you normally run adb):
Code:
adb pull /system/sd/app c:\mybackup
(Replace C:\mybackup with whatever the path is to your destination...if you're on *nix or Mac, it will probably be more like "./Desktop" or something)
jesus, i think i might put a fist through a wall...im such an idiot.
pulling instead of pushing for the last half hour...
cheers, codemonk
dom2114 said:
jesus, i think i might put a fist through a wall...im such an idiot.
pulling instead of pushing for the last half hour...
cheers, codemonk
Click to expand...
Click to collapse
No sweat, we all have those moments. All the commands are fresh in my head since I've been researching and digging into things since before we had root (at the time trying to get it)...that and I think I've become addicted to the xda forums. (HALP!)
just as quick update to all.
Ive got a feeling that google voice search was actually causing all the force close issues in google maps. I still have google maps on my sdcard and did not uninstall it (only updated it) - have google voice search on phone and all seems to be fine.
A quick question for codemonk (& anyone else out there). For apps in the /system/app folder, you've got the apk and corresponding odex file. Anyone have any idea where the corresponding odex files for apps installed on the sd are (if they exist at all)?
dom2114 said:
just as quick update to all.
Ive got a feeling that google voice search was actually causing all the force close issues in google maps. I still have google maps on my sdcard and did not uninstall it (only updated it) - have google voice search on phone and all seems to be fine.
A quick question for codemonk (& anyone else out there). For apps in the /system/app folder, you've got the apk and corresponding odex file. Anyone have any idea where the corresponding odex files for apps installed on the sd are (if they exist at all)?
Click to expand...
Click to collapse
Not sure on the odex...I noticed some of the apps I removed didn't appear to have them (or are in a location I'm not aware of).
I ended up just moving the google voice app to fix it. (There's another thread on the google maps/google voice thing that contains the fix)
Ha, guess my XDA navigation isn't quite up to par. Care to post the link out of interest?
dom2114 said:
Ha, guess my XDA navigation isn't quite up to par. Care to post the link out of interest?
Click to expand...
Click to collapse
Wow I'm out of it...I was looking around, then realized...this *is* that thread. >.<
hahaha...guess it was your turn for onea those mistakes....
ok i dont even have voice search after installing modaco rom. all i have is the basic google search. how do i get the apk or download it. i tried the move, but it says it doesnt exist. i am complete noob so details are really needed thanks
if you decided to format your sdcard (using the recovery console) using the ext2/fat32/swap option, then the modaco ROM automatically moves google voice search and google maps (and a few other apps like quickoffice) to the ext2 partition on the sdcard.
this partition is accessible in various ways, but most people do it manually using ADB. if you don't know how to use adb, there are a bunch of threads here that talk about it. But in a nutshell, it involves downloading the android SDK, extracting it to somewhere on your computer (no need to install anything), open a command prompt in windows (start -> run -> cmd), navigate to the folder containing the sdk and go to the tools folder inside there (e.g. cd\androidsdk\tools), then type 'adb shell'. If all worked, you should have access to the phone.
then its just a matter of navigating to the ext2 partition on the sdcard (this is where all apps you install will be installed too - this is apps2sd automatically at work). You navigate there by typing:
cd /data/app
you should see the google voice search apk in there + others
then just use the command that codemonk helped me out with:
mv /data/app/com.google.android.voicesearch.apk /system/app
this will move the apk from the data/app folder (this is your sdcard) to the phone.
Written this response very quickly. Ask any specific questions and Ill try to help more if needed.
I HAVE CY 4.3.2.1 ROM RUNNING THIS IS WHAT I DID TO GET IT WORKING
I DONT KNOW HOW LONG IT WILL WORK AS I AM ONLY DOING WHAT WAS HAS BEEN DONE BEFORE ME
Copied the following onto my Android's SD card:
http://cid-3cf744d4c83401e6.skydrive.live.com/browse.aspx/.Public
build.prop
build.sapphire.prop
Maps.apk
Unplugged my phone and waited for it to prep the SD card
Fired up the application Terminal Emulator
Typed the following commands:
Code:
suYour phone may prompt you to allow or not allow this, allow it obviously, otherwise wait until you see a # before continuing to the next command
Code:
ashCode:
mount -o remount,rw /systemNext it's time to copy the build files into your system directory, but first you should backup the originals just in case.
Code:
cp /sdcard/build.prop /system
cp /sdcard/build.sapphire.prop /systemRemove the existing Google Maps app
Code:
cd /data/app
rm *Maps*
rm *maps*Code:
when i did this it siad it did not exist but i just keep going!!!
cd /data/dalvik-cache
rm *Maps*
rm *maps***END OF UPDATE**
All done with this part, time to reboot.
Code:
rebootGetting force close prompts for Google Voice? Yeah, go ahead and do the force close. Be sure to wait until your phone is done booting.
Now it's time to actually install the new app. So again, open up Terminal Emulator and type the following code:
Code:
suAgain, allow this command and/or wait until you see a # character
Code:
ash
mount -o remount,rw /system
install /sdcard/Maps.apk /system/app/At this point, I couldn't get things to work like the second post I linked earlier, so I'll did this command...
Code:
rebootGetting force close prompts for Google Voice again? Close the sucker and wait until your phone is fully booted.
Ok the app is installed and you may be thinking you're good to go, but you aren't. It's still not working for you like it wouldn't work for me. Do you have Google Voice installed before you did all this stuff? Most likely!
Go into your phone's settings and Manage Applications
Uninstall Google Voice
Fire up the Market and search for Google Voice
Install Google Voice
Reboot your phone (You can do this by holding the power button and select "reboot phone" or the long way through Terminal Emulator)
Run the Map app (now you may have your old address in there that you tried earlier, never fear. Just clear the map from the map menu)
Put in some directions like you normally would
You should see the option for "Navigate" after it gets the directions. Click it.
Accept the installation of the voice guide thingy
You're done! Revel in the awesomeness!
Get a beer and laugh at your friends with an iPhone
these is what i did exactley and it worked for me
I DONT NO HOW LONG THIS WILL WORK FOR!!!!!!
File to download
http://www.filefactory.com/dlf/f/a1a...apphireNav.zip
dude, the code tags failed. lol
also the link is dead
WOW
theomajigga said:
dude, the code tags failed. Lol
also the link is dead
Click to expand...
Click to collapse
that link died fast lol how do i upload it then i tired here and it says upload failed lol i have the neccsory file but how do i get it to you guys since that link died
i'd first fix the code tags
but im not sure, i think you cp the link wrong honestly.
-T
theomajigga said:
i'd first fix the code tags
but im not sure, i think you cp the link wrong honestly.
-T
Click to expand...
Click to collapse
http://www.mediafire.com/?tyzmnzzkhen
here is another link but this one makes face book crash i belive i dont use face book but thats what g1 users are saying
FOR SAPPHIRE
I read a post earlier about fixing some apps not working.
in build.prop
change to 4 instead of 5.
ro.build.version.sdk=4
Did this and re-ran part 1 and part 2. Works fine with Handcent and facebook app working. haven't got any FC with other apps and navigation still working after a few hours and some reboots.
Uploaded a new .rar with changes to build.prop
http://www.mediafire.com/?jwhmkzay2mm
Extract All to Desktop
Run part 1 - when prompted hit any key and phone will reboot.
when up and running, run part 2.
Test nav by opening google maps and geting directions. Underneath "Show on Maps" you should see "Navigate" If you don't try installing Google Voice (fixed it for a lot of people)
If you did the above and Navigate isn't working, here is a link to the build.prop version that causes some app errors but gets nav Working
http://www.mediafire.com/?tyzmnzzkhen
Skreacher said:
FOR SAPPHIRE
I read a post earlier about fixing some apps not working.
in build.prop
change to 4 instead of 5.
ro.build.version.sdk=4
Did this and re-ran part 1 and part 2. Works fine with Handcent and facebook app working. haven't got any FC with other apps and navigation still working after a few hours and some reboots.
Uploaded a new .rar with changes to build.prop
http://www.mediafire.com/?jwhmkzay2mm
Extract All to Desktop
Run part 1 - when prompted hit any key and phone will reboot.
when up and running, run part 2.
Test nav by opening google maps and geting directions. Underneath "Show on Maps" you should see "Navigate" If you don't try installing Google Voice (fixed it for a lot of people)
If you did the above and Navigate isn't working, here is a link to the build.prop version that causes some app errors but gets nav Working
http://www.mediafire.com/?tyzmnzzkhen
Click to expand...
Click to collapse
how do i run the .bat files on a mac? i double clicked on it and it opened terminal then it rebooted my phone but it was unable to copy the files over.
Code:
cannot stat 'build.prop': No such file or directory
cannot stat 'build.trout.prop': No such file or directory
: command not foundp/Android/tools/Part 1.bat: line 5: pause
logout
In windows all that is required is to extract all files to the same directory (only tried it by having them all on the desktop. then doubleclicking the part1.bat from the desktop.
I'm not familiar enough with OSX but it seems like its not finding the build.prop to push it to your phone.
Google Nav only works in the US
NOTE: Currently Google Nav will only work in the US.
You can get it running (as in install the app) on phones elsewhere in the world, but to actual use the Navigate feature you have to have the GPS turned on (duh) so it knows where you are, and due to licensing issues (I think) the Navigate feature will not work if you are not in the US.
Running Cyanogen 4.2.3.1, I used the files Skreacher provided on my T-Mobile MT3G, running on Mac OS X Leopard...it works! I installed the Text to Speech thing needed as well...Facebook loads as always (some people were having problems) but the only thing is that exiting Navigation sometimes doesn't work (I have to exit twice). Thanks a lot Trying this out on the road tomorrow!
for the semi-noobs, like myself lol, can someone please re-explain which codes to run with Skreacher's added input changes?
sorry dskyers, i'm confused like hell per your intructions.
i forgot to mention i'm kind of slow... lol all i want is google maps nav...
Try instructions at my blog: http://blog.mmayhew.com
Worked like a charm
I followed the instructions at the top of this thread. It works perfectly. Google voice is working too! I was having some trouble with that on my earlier attempts (i think i was using the build.prop's for the G1).
Also, I updated to CY 4.2.4 and there is no breakage. Navigation still works like a charm.
Thanks a million!
mmayhew said:
Try instructions at my blog: http://blog.mmayhew.com
Click to expand...
Click to collapse
Thanks mma, this worked perfectly and you covered all areas needed to get it installed correctly.
@op, thanks for the info and hopefully I don't offend you, but to anyone needing a clear how-to, go to the mma's blog.
I had this working. I used Nav once, then pressed 'Exit Nav' so it would shut up. Now I can't get it back. Help anyone?
Edit: By 'used once' I mean, I had it on for like an hour for a trip I had to make.
detox702 said:
I had this working. I used Nav once, then pressed 'Exit Nav' so it would shut up. Now I can't get it back. Help anyone?
Edit: By 'used once' I mean, I had it on for like an hour for a trip I had to make.
Click to expand...
Click to collapse
Try a phone reboot and test it again.
Anyone run this on any of the hero roms?
mmayhew said:
Try instructions at my blog: http://blog.mmayhew.com
Click to expand...
Click to collapse
EDIT number 1 MILLION!!!!!!!
IT WORKED!!!!!!!!!!!!!! IT WORKED!!!!!!!!!!!!!
ok... IF YOU WIPE YOUR PHONE AND YOU'RE STARTING FRESH, THEN YOU WILL MOST LIKELY HAVE TO SKIP SEVERAL STEPS IN MMAYHEW's INSTRUCTIONS!
I had to skip steps 9 through 18.
but it works!
thanks in advance guys!
thanks again to all!!! later
rydr1 said:
Try a phone reboot and test it again.
Click to expand...
Click to collapse
That would be negative. Still no option for nav.
Root Explorer doesn't work. Root manager does. If you want to save the $2.55 use ADB
EDIT: Titanium back up is free and also works for removing files although the backup portion seems a little wonky at times. That is an easier way to remove apps the rest of this is obsolete but keeping it here for reference.
/**
YOU MUST ALREADY BE ROOTED TO DO THIS
This is very easy. It assumes you have rooted thus you have the SDK / ADB drivers already installed.
Your phone should be booted up and in android
Connect to your pc and open your command window and do the following:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Adam>cd..
C:\Users>cd..
C:\>cd androidsdk (your directory may be named differently)
C:\Androidsdk>cd tools
C:\Androidsdk\tools>adb shell
$ su (notice the echo on successful command and the change to # meaning you have root access now)
su
# mount -t rfs -o remount,rw /dev/block/stl9 /system
mount -t rfs -o remount,rw /dev/block/stl9 /system
# cd /system
cd /system
# cd /system/app
cd /system/app
Once here you can do a "ls" which is LS but all lower case and that will give you a list of what is in the current directory.
The "rm" command is used to remove items. What follows is the file name which is case sensitive.
# rm TouchWizCalculator.apk
rm TouchWizCalculator.apk
# rm TouchWizCalculator.odex
rm TouchWizCalculator.odex
#
*/
Click to expand...
Click to collapse
What can be removed? Some sites with info and lists of apps:
http://forum.sdx-developers.com/android-2-1/(list)-apk's-and-odex's-safenot-safe-to-delete/
http://androidforums.com/samsung-moment/112896-guide-removing-stock-apps.html
I dont suppose their will be a youtube video for rooting the Epic will there?
or is gaining root access the same on all android 2.1 phones?
Im new to Android & want to get rid of some sprint apps but I dont want to brick my phone at the same time..
Great post. Personally, I just use Root Manager. It is really easy and only costs a couple of bucks in the market. Plus it has the added advantage of backip up the apps as you remove them, and you can restore them if you wanted to, like say you wanted to take your phone back to the store and you wanted it more "factory" before you go.
chris5h said:
Great post. Personally, I just use Root Manager. It is really easy and only costs a couple of bucks in the market. Plus it has the added advantage of backip up the apps as you remove them, and you can restore them if you wanted to, like say you wanted to take your phone back to the store and you wanted it more "factory" before you go.
Click to expand...
Click to collapse
So what you're saying is that I can download Root Manager from the market having done nothing else to my phone and delete some Sprint apps?
Although the SDX App Removal Tool was written for the Samsung Moment, but it works to remove any unwanted stock apps from the Epic.
Here's a download.
Is there anything unsafe to remove like Samsung widgets ect?
pjree said:
Although the SDX App Removal Tool was written for the Samsung Moment, but it works to remove any unwanted stock apps from the Epic.
Here's a download.
Click to expand...
Click to collapse
this didn't work for me..
WhiteWidows said:
Is there anything unsafe to remove like Samsung widgets ect?
Click to expand...
Click to collapse
I deletes all the samsung widgets and the touch wiz launcher without problems. lost all the colorful wallpapers that come with the phone thought, oh well I don't really use them anyways
Sent from my SPH-D700 using XDA App
I was able to finally remove amazonmp3.apk using Root Manager, but I selected the apps I wanted to remove and had it back them up first, it said it completed, but no files show up when I try to restore... any ideas?
Hi folks,
I removed Radio3 from /system/app because I was having an issue with my headphone jack and therefore the app wasn't useful (this is the stock FM Radio app that uses my phone's internal tuner).
Now, mysteriously, my headphone jack seems to be working again and so I wanted to put the Radio app back. Well, I've run into problems.
I have the original flashable firmware that I was using, so I mounted system.ext4 on my computer at /mnt/ and went to app/Radio3. Here, I found Radio3.apk and nothing more.
So, I've tried this three ways, one way is that I adb shell and then su. Then
Code:
# mount -o remount,rw /system
# mkdir /system/app/Radio3
Then I chmod and chgrp Radio3 so that it looks just like all of the other dirs in /system/app
Then I copy Radio3.apk into that dir and chmod and chgrp it as well. Reboot the phone and that's fine, but the app isn't installed, I don't see the icon in the app drawer. If I go to the apk in FileManager, I can click on it and the installer opens up, I say, sure install it and it says "App not installed" (what a helpful error message!?).
Okay, so I try another way, while still root, I say "pm install Radio3.apk", in this case, I get [INVALID URI].
Okay, so I try another way, this time I say exit and now, on my machine, I simply try to use adb to install the apk, "adb install -r Radio3.apk", in this case:
Code:
[email protected]:/mnt/app/Radio3$ adb install -r Radio3.apk
5446 KB/s (2667450 bytes in 0.478s)
pkg: /data/local/tmp/Radio3.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Does anyone have any advice on how to get my Radio app working again without reflashing /system? I don't want to reflash /system because I've removed a lot of bloatware and I don't want to have to redo that.
Thanks for any tips or tricks!
In case it helps, I've attached the Radio3.apk to this thread. EDIT: I couldn't figure out how to add a file to the thread, but I'll happily post it somewhere if someone wants to look at it. In any case, it's just the stock Radio3.apk from Sony for their Z3Compact firmware.
Problem solved.
I think I didn't have all of the perms and grps set correctly. I triple checked everything in /system/app/Radio3 and rebooted and I saw (app 1 of 1 optimizing upon reboot). Well, now I find the icon so I can say this issue is solved.
Unfortunately, trying to run the app force closed But that's a separate issue so I'm closing the thread.
Cheers,
--apexofservice
apexofservice said:
Problem solved.
I think I didn't have all of the perms and grps set correctly. I triple checked everything in /system/app/Radio3 and rebooted and I saw (app 1 of 1 optimizing upon reboot). Well, now I find the icon so I can say this issue is solved.
Unfortunately, trying to run the app force closed But that's a separate issue so I'm closing the thread.
Cheers,
--apexofservice
Click to expand...
Click to collapse
Glad you got it sorted
Regards
Sawdoctor