[Q] re-installing google play store? - Android Q&A, Help & Troubleshooting

I was uninstalling bloatware from my samsung galaxy victory after rooting, and in the process, accidentally deleted the play store. I re-downloaded the latest .apk for the play store, installed it, and when I open it, it crashes and says "unfortunately, google play store has stopped". I looked up tp see if there were any solutions, and many sources said to gp to settings>app. management>google play>force stop, clear data, clear cache. that didnt work. I tried installing older play store apk's, all giving the same error. any other possible solutions?

I think perhaps you deleted the odex as well..
Press Thanks if you like my Work/Advice

did you install the apk to /system or to /data?
the playstore apk belongs into /system/app not /data/app

whats the odex? and hiw do I change the installation directory?
-new to android & rooting so I still havent looked up all the terminology so sorry-

I dont think it has to do with odex files.
change the installation directory als follows:
first uninstall the market app and copy the market apk to your sdcard.
I'll use the filename "market.apk" to refer to it in this description
Then use "adb shell" or some on device console emulator and issue the following commands:
1. "su" become root
2. "mount -o remount,rw /system" to remount /system read-write
3. "cp /mnt/sdcard/market.apk /system/app" to copy the market apk into the right system folder if it fails try "/sdcard/market.apk" instead of "/mnt/sdcard/market.apk"
4. "reboot"
After your reboot you should see an android message stating to update some system files or so.
If your device is fully booted, try to use your market app. It should work now.
Hope this helps...

Related

[Q] Google Voice uninstall

so i just flashed KaosFroyo v37 on my Eris, i'm not new to swapping ROMs and have been playing with KaosFroyo from the beginning. but for some reason now the uninstall button on the market app is greyed out, and in the application browser it fails to uninstall (astro).
i need to install the 0.3 version. how do i get rid of the newer version? thanks in advance.
You can't install any pre-installed apps using the market, astro, or anything else really.
Do you have adb setup? You'll want to do:
Code:
adb shell
mount -o rw,remount dev/block/mtdblock3 /system
cd /system/app
Hit enter
Then...
Code:
ls <-- lists all installed applications in the /system/app folder
Find google voice's apk (probably named something like Voice.apk, or GoogleVoice.apk, then type
Code:
rm GoogleVoice.apk (or whatever the name of the apk is)
Also, I think the app root explorer on the market (~$3.00) can do it for you as well, without all the hassle.
If you want to install your version of it using adb, then get the apk on your computer (somewhere easily accessible like the root of your hard drive) and do this.
Code:
adb install c:/(apkname).apk
Titanium Backup will also uninstall just about anything.
Thanks for the tips... i forgot about titanium backup, if that doesn't work then i'll try adb... I have to get the sdk and drivers installed after a wipe anyways.
Sent from my FroyoEris using Tapatalk

[HowTo]Market 2.2.11 on Nookie Froyo [2/7/2011 NFv0.6.6]

New Market (2.2.11) on Nookie Froyo 0.6.6
Update 2/7/2011: Updated for Nooke Froyo 0.6.6. Please READ THE NOTES.
There are 2 methods: Pushing to existing system (just Market) and pushing to new system (all gapps, working Market & Youtube especially)
Notes:
You should exercise caution and make sure you match the case exactly as I have posted. For example, if you push vending.apk instead of Vending.apk, you'll still see the old one, etc. You may also be ignoring a failure message when you copy/paste a command. Report any failure messages.
There are now two sections: Updating and install of Market, and Fresh NookieFroyo/Fresh Market.
Method 1: You have an existing, older market, and you use SD Nookie Froyo. I will note that I started from a format of my SD card, and a fresh image. Report if you used an upgraded NF.
Steps to installing:
1. Download Vending_2_2_11.zip from below
2. Extract Vending_2_2_11.apk to somewhere on your computer. Note the location (eg C:\users\name\blabla\Vending_2_2_11.apk) as yours will be different.
3. Open up a command/termal
4. Use ADB as usual, and run the following commands:
Code:
adb shell
# mount –o remount,rw /dev/block/mmcblk1p2 /system
(should get a confirmation, it will say exactly what you entered)
# exit
adb push C:\users\name\blabla\Vending_2_2_11.apk /system/app/Vending.apk
5. Now, open Settings --> Applications --> Manage Applications --> All --> Market
6. Clear *cache*, and then Force stop
7. Press back
8. Select Google Services Framework
9. Clear *data*, and then Force Stop
10. Reboot
11. Open market
12. Insert credentials & accept agreement (if needed)
13. *Confirm new market. If you don't have it, stop here.
14. Download something
15. ??? Profit!
Method 2: You just installed Nookie Froyo, you use the SD card version, and you have no gapps.
***EXPERIMENTAL. Gnomes ahead!***
What I have done here is I have taken the nookie devs gapps zip, and changed out the market & youtube apks for known working apks.
1. Download nookie-froyo-gapps-20110207 from here:
(mirror 1 (likely dead) http://rapidshare.com/files/446788041/nookie-froyo-gapps-20110207.zip )
(mirror 2 http://rapidshare.com/files/446835767/nookie-froyo-gapps-20110207.zip )
(mirror 3 http://www.multiupload.com/RFP7W72EVS )
(mirror 4 http://www.multiupload.com/72F253U21B)
2. Unzip. Note the location (C:\Users\name\blabla\nookie-froyo-gapps-20110207)
3. Open up a command/terminal
Code:
adb shell
#mount -o remount,rw /dev/block/mmcblk1p2 /system
(should get a confirmation, it will say exactly what you entered)
# exit
adb push C:\users\name\PathToUnzippedGoogleApps\system system/
(should see each file push individually, followed by ## pushed successfully)
adb reboot
4. Open market
5. Enter credentials, accept eula
6. Download something, report success/failure of method 2.
7. ??? Profit? Thank me?
If it "freezes" at a loading screen, you may need to reboot.
Credit to the folks at XDA who have done this before on other devices. I just tried it and it worked. Also credit to http://aliwaqas.info/download-and-install-new-android-market-version-2-2-11-guide/ for the vending 2.2.11 apk
General Questions
How to get ADB or Nook Color ADB Drivers
http://nookdevs.com/NookColor_USB_ADB
I installed ADB & Drivers, but it isn't working!!!
Make sure that "USB Debugging" is enabled under Settings > Applications > Development > USB Debugging (check)
I can't see "x" app, or all apps
You need to change your build.prop
http://nookdevs.com/NookColor:_Nookie_Froyo_Tips#Access_Protected_market_apps
Neither method worked! Can't download apps. (after trying a reboot)
Please answer the following:
What version of Nookie Froyo (v.#x.#y.#z)
What type of Nooke Froyo (SD card, eMMC)
Which method (one or two)
Post a log of the commands you typed, and the output. Screenshots or copy/paste work best.
I tried it using rootEx since my ADB wasn't installed on a different PC. It did not work once adding to system/app or installing with r/w.
Worked Using ADB
I tried it with ADB, and it worked. Now Need for Speed Shift shows up. I tried everything before, but could not get it to show.
mattphoner said:
I tried it using rootEx since my ADB wasn't installed on a different PC. It did not work once adding to system/app or installing with r/w.
Click to expand...
Click to collapse
So double checking here:
/system was mounted R/W
you copied it in as Vending.apk (NOT Vending_2_2_11.apk)
you rebooted
And you still have the old market (with the gray bar)?
Tried again over ADB, that worked!! Not sure if RootEx is the way to go or not.
Anyone know if this will work on regular (nootered) 2.1?
Installed via Root Explorer, and it worked for me. Here's what I did:
Renamed it to: Vending.apk
Mounted System as R/W
Copied Vending.apk to: /System/app/
Rebooted NC then installed Vending.apk from /System/app/
Tested and working.
I tried installing it before rebooting and it just said that it didn't install.
JESTERDEV: on Froyo or 2.1?
sent from my nook color using XDA App
JesterDev said:
Installed via Root Explorer, and it worked for me. Here's what I did:
Renamed it to: Vending.apk
Mounted System as R/W
Copied Vending.apk to: /System/app/
Rebooted NC then installed Vending.apk from /System/app/
Tested and working.
I tried installing it before rebooting and it just said that it didn't install.
Click to expand...
Click to collapse
Maybe this is where I went wrong. I tried installing it BEFORE rebooting, not after.
I am unable to install from either method, RootExplorer or ADB.
With ADB everything went fine, but after reboot I had no Market installed. I checked the system directory, and the apk file was there, but trying to do anything with it resulted in "Unable to Parse Package" errors.
I tried manually with RootExplorer as well, and received the same errors.
EDIT: I even loaded my backup from RomManager to see if that would allow me to try again, but I am still receiving the same errors. Once again the ADB push method works fine to get the file in as Vending.apk in RW mode to system, but then upon reboot there is no market installed anymore.
The apk file is in the system/app directory, but it's not installed for some reason. Any attempt to do so results in the parse errors.
Not working on 2.1.
I haven't been willing to root my nook because all of my school books are on there. Just been using Nookie on SD. I'll update the OP later with some updated directions based on additional feedback tonight. Plus, I need to write a "from stock" tutorial that would be nice to have on the wiki.
Especially curious to know about it working on 2.1. Keep the feedback on that coming please
cybertimber2007 said:
I haven't been willing to root my nook because all of my school books are on there. Just been using Nookie on SD. I'll update the OP later with some updated directions based on additional feedback tonight. Plus, I need to write a "from stock" tutorial that would be nice to have on the wiki.
Especially curious to know about it working on 2.1. Keep the feedback on that coming please
Click to expand...
Click to collapse
You can keep your school books when you root the device. Just sayin'
Sent from my Nooted friend...
Tried to download something from the Market this morning, and it will not let me. I don't remember the exact error, but I will post when I get home. It worked just fine yesterday.
@hetzbh, Froyo.
JesterDev said:
Tried to download something from the Market this morning, and it will not let me. I don't remember the exact error, but I will post when I get home. It worked just fine yesterday.
@hetzbh, Froyo.
Click to expand...
Click to collapse
Not having a problem here. Anyone else?
Obviously there is something I'm doing wrong... I tried installing the new market with ADB and nothing happened...
What options do I have to install this correctly?
I didn't get any errors in ADB while installing
hetzbh said:
JESTERDEV: on Froyo or 2.1?
sent from my nook color using XDA App
Click to expand...
Click to collapse
no the it doesnt work on 2.1... but the 2.2.7 market works on the 2.1 system
djkns said:
no the it doesnt work on 2.1... but the 2.2.7 market works on the 2.1 system
Click to expand...
Click to collapse
Heh, funny. 'Cause originally I was going to post 2.2.7, but the IRC chat informed me that 2.2.11 was available. Did you use the same directions, but with the 2.2.7 vending instead of 2.2.11? I wouldn't mind posting that up there for 2.1 users.
bassrebel said:
Obviously there is something I'm doing wrong... I tried installing the new market with ADB and nothing happened...
What options do I have to install this correctly?
I didn't get any errors in ADB while installing
Click to expand...
Click to collapse
What exactly did you do, what happened (I guess you still have a gray top-bar market), did you reboot, and are you on Nookie Froyo?
Note that unlike most apks, you don't "install" (adb install <file>). You just push the file (adb push /system/app/Vending.apk). Also, there is case sensitivity. vending.apk and Vending.apk are two different files in *nix.
cybertimber2007 said:
What exactly did you do, what happened (I guess you still have a gray top-bar market), did you reboot, and are you on Nookie Froyo?
Note that unlike most apks, you don't "install" (adb install <file>). You just push the file (adb push /system/app/Vending.apk). Also, there is case sensitivity. vending.apk and Vending.apk are two different files in *nix.
Click to expand...
Click to collapse
Well... i booted froyo... then i installed the adb on my computer, opened superuser and followed the instructions, i didnt see an error msg, but when i try to check i dont see qmny market in my apps

[How To] Enable Nvigation world-wide (ownhere/Brut.all MOD)

This is how i managed to install the Google Maps 5.7.0 ownhere/Brut.all MOD which enables Navigation in countries where originally you cnt use this app. this is a modified version that seamlessly replaces the original app.
i tried to follow the instructions provided in the original thread but i kept facing problems and errors like "Application not installed" when trying to install the app, and "remount failed: no such file or directories", among others.
i also dnt have the Maps app availble in the market in my country, i can only sideload it.
it took me few days of googling to finally make it work on my Galaxy Ace. i'm running a rooted stock 2.2.1
it's simple once you got the right instructions. but as usual, i'm not responsible if your phone just decides to go brain dead on its own
for this you need ROOT access, Superuser, ADB and Titanium Backup
in Titanium Backup, choose Maps and back it up (app+data).
in case things dnt work out, you can always use this backup to restore the original app and data.
in Titanium Backup, choose Maps and wipe data then uninstall.
in Titanium Backup, choose Street View, wipe data and uninstall.
use whatever way to place the maps5.7.0-ownhere.apk file in the root of your sd card.
(i dnt know what's the diffrence between maps5.7.0-ownhere and maps5.7.0-ownhere-testkeyresign. i used the first and it's working fine.)
now connect your phone to your computer and make sure you keep your screen on. that's very important for the next step to work.
launch ADB and enter these commands:
adb shell (in the next line, a $ will appear)
su (when you inter this, Superuser in your phone will prompt you to grant root access. confirm it. a # will appear in the next line)
mount -t rfs -o remount,rw /dev/block/stl9 /system (this will remount your system in Read/Write mode)
cp /sdcard/maps5.7.0-ownhere.apk /system/app/maps5.7.0-ownhere.apk
mount -t rfs -o remount,ro /dev/block/stl9 /system (remount system back in ReadOnly mode)
exit
exit
Maps should appear in your app drawer.
you can now reinstall Street View.
if anything is not clear enough, just ask
I think its more easy to just use root explorer to copy that googlemaps apk to its proper place, because what i understand from that adb command is it copy the googlemaps apk to /system/app folder which could be done in just two or three click with root explorer. Cmiiw
But nevertheless, thanks for this tutorial tho
Sent from your phone
is it working
an0nym0us_ said:
I think its more easy to just use root explorer to copy that googlemaps apk to its proper place, because what i understand from that adb command is it copy the googlemaps apk to /system/app folder which could be done in just two or three click with root explorer. Cmiiw
But nevertheless, thanks for this tutorial tho
Click to expand...
Click to collapse
that was the first thing that came to my mind when installing didnt work. i copied the file with root explorer but the Maps app didnt show up in the app drawer.
i only speak from my own experience, i'm no expert.
thank you for the contrbution
imranaryan said:
is it working
Click to expand...
Click to collapse
it is working on my phone

[Q] Binary Files

After rooting my .28 TFP, I noticed that the directory (system/xbin) contains much less files than before (only 4 files.)
I'm having some problems with some root apps especially patching apps. Could this be the problem?
Can I copy binary files from my MB855 rooted Ginger Bread phone to the same directory?
there's a busybox app on the market, I think this has the programs you are missing. (or rather, it installs the latest versions for you). Try that first.
tshoulihane said:
there's a busybox app on the market, I think this has the programs you are missing. (or rather, it installs the latest versions for you). Try that first.
Click to expand...
Click to collapse
Thank you. It worked. Root apps that did not use to work before are now working.
A couple of bugs I have noticed after installing busybox, though.
-some root apps that used to work in the background now have to be started manually.
-Superuser app does not show the prompt message and gives root access to root apps without prompt.
-The system files were mounted as RW and not mounted back to RO. I was unable to do it myself :-(
Any advice?
Hmmm... Try re-installing the superuser apk (and let it update the su binary if it wants to).
For /system as RO - reboot. It may be that you are trying to re-mount it with the wrong options. If it comes up as RW after reboot, something odd is going on.

Messed up /data/apk - Help?

The problem:
I rooted my Samsung Galaxy Ace and went exploring the root directory with Root Explorer. I renamed the folder "apk" found in /data to "apk_old", thinking that if everything worked, I could just delete it as it contained a handful of stock apks as well as several apps installed from the market. At the time, I though apks were needed just for installation and that by deleting the folder I would save ~30MB of internal memory. Well, I turns out I was horribly wrong. Several stock apps, such as Youtube or Maps and all market apps that were installed in internal memory have stopped working. In the app drawer, their icons have turned into those default apk icons and their names into com.something.blabla. I was getting crashes every 1-2 minutes from those apps. The widgets on my home screen, such as Google search or Homework 4x2 have also stopped working.
What I've tried:
*renaming the folder back to "apk", obviously. That didn't work, it said something like "execution failed"
*making a copy of the folder - failed
*zipping the folder - failed
*thinking there was a problem with Root Explorer, I installed Total Commander and Solid Explorer hoping I could rename the folder back. Total Commander cannot open the /data folder, while Solid Explorer says the /data folder is empty
*"pulling" all of "/data" with ADB - 0 files pulled.
However, as I was trying to clean up my own mess, things changed a bit. At some point the crashes stopped and all of the "corrupt" apps have simply gone away from the app drawer. While I was unable to do anything with the "apk_old" folder in /data, something changed so that right now I can't even access /data anymore.
So yea, I have a bad feeling that somehow everything inside the /data folder has been wiped, though I sure hope I'm wrong. Anyone have anything to advise?
Oh, and I also noticed that Superuser is gone. I tried re-rooting my phone from this link, it worked the first time I rooted, but not now...
http://forum.xda-developers.com/showthread.php?t=1552792
I don't know exactly what you have in /data/apk I guess is the same I have in /data/app all the installed package.apk
Since your system is compromised I would avoid to use programs from it like Root Explorer to change anything, and for the other programs looks like they don't have root access.
I would try with plain adb: http://forum.xda-developers.com/showthread.php?t=2141817
Once you have your phone connected with adb shell you can go root:
Code:
$ su
to list files and directories in /data
Code:
# ls /data
and then to rename the folder
Code:
# mv /data/apk_old /data/apk
then reboot the phone
good luck
I'm assuming those # signs were suppose to be $'s?, Anyways, what I typed into adb:
1. adb shell
2. $ ls data
What I get:
opendir failed, Permission denied
Another atempt:
1. adb shell
2. $ su
What I get:
su, and after a long pause - Permission denied
eh? So, apparently I can't get root access, what now?
the dficua
Ha, made progress. I installed Superuser through adb and it gave me permission to access data and to rename apk_old back to apk. However, the folder has been wiped of all the apps. Luckily, I have a friend who also has a Galaxy Ace, I'll just copy the folder and paste it into /data, hopefully i'll bring back the default apps.
$ is the normal shell
# is root shell
I forgot to tell you to try that on recovery mode to prevent the calling of SuperUser to grant privilegs, su binary itself should be in /system/xbin
When you restore apps remember also to fix permissions, user and group, it should be something like this:
# chmod 0664 /data/apk/*.apk
# chown system:system /data/apk/*.apk
check the right values in your friend's phone.

Categories

Resources