[Q] Uninstalled Google Play Store and unable to restore it - Galaxy Note Pro 12.2 Q&A, Help & Troubleshooting

Hi.
I accidentally removed google play store through Titanium Backup and I'm unable to restore it. Will a hard reset fix this? I am rooted through C. F. Root.
*edit:
Nevermind, it didn't recover. I guess I'll have to flash GAPPS or flash the entire rom. #Ugh.

fvig2001 said:
Hi.
I accidentally removed google play store through Titanium Backup and I'm unable to restore it. Will a hard reset fix this? I am rooted through C. F. Root.
*edit:
Nevermind, it didn't recover. I guess I'll have to flash GAPPS or flash the entire rom. #Ugh.
Click to expand...
Click to collapse
Hi!
Extracting the app and PM-ing you a download link should be fairly easy.
The app IS however proprietary software albeit free of charge, so i'm not absolutely sure it's kosher within XDA.
Thoughts anyone?
Regards
Elo.

searching in google (not playstore) as "google play apk" you should easily find the apk

"Hard reset" ie. factory reset won't fix it as factory reset clears all the user data stored on /data partition. The Google Play store app was stored on /system partition.
You have two possibilities:
1) - Download the newest Play Store apk from http://www.apkmirror.com/apk/google...gle-play-store-5-2-12-2-android-apk-download/
- rename the downloaded apk to "Phonesky.apk" (case sensitive! this is how the genuine file is named...)
- open some kind of root file manager, ie. Total Commander, and copy the Phonesky.apk to /system/priv-app directory and set its permission to 664 (or rw-rw-r--)
- reboot and Play Store shall be restored.
2) reflash stock rom with odin - it will completely restore /system partition.

Just reflash the stock firmware over it. Shouldn't even wipe your data.
Polar67 said:
Hi!
The app IS however proprietary software albeit free of charge, so i'm not absolutely sure it's kosher within XDA.
Click to expand...
Click to collapse
Sharing the Google apps, Samsung apps etc is perfectly legal within XDA. Sharing unmodified apps is also perfectly legal. The Warez rules only apply to bypassing the need to pay for an app or in-app purchase.
In fact, the Google Play apk's are shared thousands of times on XDA (even on the front page). Same for the Samsung apps.

Related

[SOLVED] Unable to install google maps after restore to factory :(

I'm unable to install google maps after restore to factory defaults
Tried to flash different gapps zip from cwm, but didn't help. Later found out that there's no google maps in there.
Tried gapps fixer zip - didn't help.
Tried to install from market, got error: "incompatible with other application(s) using the same shared user ID"
Installation from apk fails.
Also tried to delete maps.apk from system but it says "read only", adb remount fails with some permissions error, but titanium backup works fine & cwm flashes (but restores to stock after second reboot), so I suppose root is ok?
Can someone post google maps zip for cwm or advice me on the situation?
/Nexus S 4.0.4 I9020 IMM76D unlocked & rooted/
There's a couple threads on xda about factory reset messing up Google apps like maps and YouTube. You're supposed to delete something in apps but I don't remember exactly what it is. Do a search for the thread. Sorry I don't have more details
Sent from my Nexus S using XDA App
ctai320 said:
There's a couple threads on xda about factory reset messing up Google apps like maps and YouTube. You're supposed to delete something in apps but I don't remember exactly what it is. Do a search for the thread. Sorry I don't have more details
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
all I could find leads me to flashing gapps, but google maps is not in there!
Also I cannot delete maps.apk from system, it's ready only for me & if I try to manage permissions from root explorer it says read only
Try reflash superuser and than try delete it throught any filemanager with root acces
all you can do is reflash gapps. i had the same problem. for some reason the phone comes with google maps, but if u factory reset it, you don't get it, because it's restricted to some regions
granets said:
all you can do is reflash gapps. i had the same problem. for some reason the phone comes with google maps, but if u factory reset it, you don't get it, because it's restricted to some regions
Click to expand...
Click to collapse
THERE IS NO GOOGLE MAPS APP IN GAPPS!!!
Everything is ok now thanks to this guide
http://forum.xda-developers.com/showthread.php?t=1219029
Cheers!

[Q] RH-01 Error when trying to open Google play store

I just rooted my phone from Jelly Bean 4.1 and am running the latest stable CM10 rom out. I also installed gapps, but wasn't sure if I had installed the right version. When I try to open the Google Play store, I get an error that says "Error retrieving information from sever. [RH-01]". My Wi fi and 4G are both on. I can access internet via stock browser. Also, when I try to search something it tells me that Gmail has stopped working.
same thing here, after i installed lots of apps to my microsd's 2nd partition using link2sd, i got all apps except system apps disappeared from 'My apps' at google play store though i could still see them as 'installed' when i search their names at google play store
i used link2sd to link around 900 mb of lib, dex and apk files, my second partition is ext 3, im using jellyblastv3 with kuro kernel that supports up to ext 4 my microsd is 16 gb and partition is around 1024 ~ 1078 mb
This didn't happen to me before, well im not used to link this lot of files but you know galaxy y has 195 mb internal storage and dalvik cache takes most of it and the apps that use app2sd method still take some space from internal so i also linked them.
The methods i tried :
Fixing using titanium backup market doc (after a cache, data cleaning of app store)
Tried to mess with link2sd, tried everything except 'relink all' but the problem is not about link2sd, all my apps are working fine
Deleting play store cache & deleting google framework cache and data, THAT led me to this error, while i was trying to get the other apps to show up in my apps list things gone worse.
I couldn't find any solutions on the internet for link2sd, been googling this for last 3 days, i'd appreciate any help
I've had the same issue. Erasing cache doesn't help, removing Google account doesn't help, reflashing doesn't help. I had to restore a backup to get the play store back.
I had the same issue with my phone, whenever I factory reset my phone I get that error. I had to flash through Odin, to another stock ROM and then go from there. Was never able to get around it or figure out why it wouldn't work.
Sent from my Nexus 7 using xda app-developers app
Fixed but still got problems
My error was caused coz i messed up with 'google framework' at gemini app manager too much, it changes app auto runs and i didn't know anything about google framework back then, i re-enabled some autoruns and its fine now, you could also try that app, its free on google app store
BUT i still couldn't find a solution to this :
I have got total of 210 ~ 216 apps installed on my phone including system apps, theres only like 16 showing up on the market (which i reinstalled or newly installed them recently from google play store) the rest aren't displayed at 'my apps' page, but i can still see them as 'installed' when i go to their download pages.STILL i can't update them, while appbrain market tells me they are outdated (its expected as i didn't update any programs due to this problem for last 2 weeks) google play store just shows 'Open, uninstall' options at app's download page
Is there any ways to fix this without losing all my apps data? I tried reinstalling from old backups but no luck, i don't wanna lose my apps data and i don't know how to backup my data without apks included
Bump.
Anyone else figured out any fixes. This seems to be affecting several people.
Go to apps- all google play store, clear cache, data and disable. Then google services framework clear cache and data and force stop. Reboot. Should get a notification for updates and go back into apps- all scroll to the bottom and enable play store. This has worked for me the last few times I got this error.
By the way I solved the problem by flashing the correct gapps for 4.1
Sent from my SCH-I535 using xda app-developers app
fix for my error
****EDIT**** : Can only get apps installed from google play store work, the rest (like installed from sd card) won't get linked to play store
looks like i found the fix, reinstall every single app (got 216 atm ) with their orginal APK without using titanium.It seems like titanium had problems while backing my apks up, perhaps its something about titanium failing to sync my data (i usually do full backups with data so this shouldn't happen) Devs should really create some apps - scripts to fix this kind of sync problems, i found only one app @ xda so far, but it scans the google play store database, not all of the databases on the phone, even if i point my ext as database it won't work, its so annoying how i gotta reinstall my whole 216 apps, probably gonna take one day cause i don't have backups of all my apks, only big ones (such as games).
if you don't wanna get same errors as i did :
use the default play store
NEVER use nandroid advanced restore unless you know what your doing
make sure titanium backup works well
always backup your data before flashing anything that has something to do with your system (such as roms, scripts)
NEVER use autorun managers on system apps (last time i disabled some autoruns about sms service, it took 1 - 2 days for my msgs to appear at my friends' phones.)
myoussef0 said:
By the way I solved the problem by flashing the correct gapps for 4.1
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
what is the right gapps?
Another problem...
seems like most of the apps that i install from my SD don't get linked to google play store, they aren't even in the database, only apps that are installed from google store got their links correctly, someone help please
NOTE : i also get 'error retrieving info from server, RPC:s-5:AEC-0 if i wipe dalvik cache via CWM
IMPORTANT UPDATE : It seems like my apps divided into 2 different adroid IDs, probably cause titanium wasn't able to detect my new ID,
Any suggestions about syncing my android apps' IDs without having to reinstall them?
timmae2 said:
what is the right gapps?
Click to expand...
Click to collapse
check your FW version and proper gapps here: http://goo.im/gapps
None of these fixes have worked for me.
Anyone have something that's worked?

Could someone please upload me the titanium apk?

I'm not sure if the last update broke my apk, but titanium has disappeared and I can't install it from play (unknown error -24). Could someone please upload me the FREE version? I have my pro key installed.
Installing apk will fail with error. I have had this before with TB.
Simple to fix:
(I'm assuming you're rooted, chances are you are if you get this error)
- YOU'LL LOSE YOUR DATA FOR THAT APP (You would have done anyway, if it was uninstalled properly) -*
1.) Using a root file manager, go to /data/data
2.) Find the package name of the app you're wanting to install
(Don't know the package name? Find the app you're wanting to install on the Play Store online and it's in the URL)
3.) Delete that folder. All of it.
4.) Try to install your app again, it should work now
Sent from my Nexus 5 using Tapatalk 2
Probably won't install if it won't work from the Play Store lol. Try installing via Terminal Emulator and see what error it gives?
aramil said:
Installing apk will fail with error. I have had this before with TB.
Simple to fix:
(I'm assuming you're rooted, chances are you are if you get this error)
- YOU'LL LOSE YOUR DATA FOR THAT APP (You would have done anyway, if it was uninstalled properly) -*
1.) Using a root file manager, go to /data/data
2.) Find the package name of the app you're wanting to install
(Don't know the package name? Find the app you're wanting to install on the Play Store online and it's in the URL)
3.) Delete that folder. All of it.
4.) Try to install your app again, it should work now
Sent from my Nexus 5 using Tapatalk 2
Click to expand...
Click to collapse
Lethargy said:
Probably won't install if it won't work from the Play Store lol. Try installing via Terminal Emulator and see what error it gives?
Click to expand...
Click to collapse
Thanks Guys. Neither work. For some reason it thinks I am out of space.
I've dropped it in /system/app but it wont get root. will try priv-app next
Have you deleted the left overs from app-lib folder on /data? (Maybe it is not called app-lib but I am pretty sure it has "lib" in its name)
How much free space is left on your phone?
I'll assume it is enough to install one app.
I had this problem the other day. Do you have SD Maid / CCleaner / Clean Master installed? I just had to clean system+app cache and it was fine.
bitdomo said:
Have you deleted the left overs from app-lib folder on /data? (Maybe it is not called app-lib but I am pretty sure it has "lib" in its name)
Click to expand...
Click to collapse
No I hadn't done.
It's running in Prov-app OK at the moment, so for short term I should be OK. Thanks Dom
RoyJ said:
How much free space is left on your phone?
I'll assume it is enough to install one app.
I had this problem the other day. Do you have SD Maid / CCleaner / Clean Master installed? I just had to clean system+app cache and it was fine.
Click to expand...
Click to collapse
3 GB. I'll give it a go.

Galaxy S7 SM-G930F (6.0.1) - System Partition Size

Hi All
I am hoping someone can help... I have the Galaxy S7 (SM-G930F / 6.0.1 / UK / EE) and have come up with an issue.
I use Cerberus Apps in case my phone is lost - you are able to install this into the system to avoid someone wiping the phone and removing the software. To do this the phone must be rooted and then I usually use Link2SD to transfer the app to make it a system app. This has always worked on my old phones - but alas not this time.
The problem is that the system partition (4Gb) is full!! I have deleted all the language packs to try and clear some space - but it is still full! Strangely enough I also uninstalled an "Amazon" app which was listed as being a system app and quite large (from memory I think it was just under 100Mb)... but when I removed it and rebooted the system partition free space remained unchanged! It's possible that Amazon was a user app and I mis-read it... but anyway - I thought that the only way to clear some space was to resize the system partition - so I installed TWRP (3.0.2), have done a complete backup (system/efs/etc) apart from \data as this showed 0Mb and "failed to mount" when I tried to back it up originally.
So, my question is - can anyone help me to free some space from the system partition to allow Cerberus App to be stored there? I did think about uninstalling the VR Gear files as I dont have a VR device and assumed I could re-load these from Google Play if needed - but I do have the Galaxy Gear watch - so decided not to remove these files in case it screwed this up. Not sure which Google Apps I can remove and re-install if needed... so if anyone knows this, then that would be a help too
I thought you could resize the partition in TWRP but cant find any clear details on how to do this, so thought I'd ask here before I screw the phone up :silly:
Any ideas/help greatly received.
TWRP doesn't support encryption so that's likely why /data won't mount. Resizing partitions is typically done via Odin with PIT files, but it's very dangerous, so I wouldn't recommend it.
Luxembourg ROMs have around 130mb free system space, so there must be a ton of carrier bloat in yours. This doesn't sound right though, it's required that there is some space for expansion. Could you run the following command in a root terminal and post the results please?
df -k | grep system
CurtisMJ said:
df -k | grep system
Click to expand...
Click to collapse
Thanks Curtis - I left my phone at home today, so will try this tonight and post results. After deleting all the unwanted language files I have about 40Mb space free, but this still doesnt seem to be enough as when I run Link2SD and reboot the phone, Cerberus has vanished and has to be re-installed... although when it re-installs it shows it as an "update" which would indicate that it is installed already - just 'lost' ???
Will update tonight when I get a moment.
Thanks
That's interesting actually. It seems to be indicative of permission issues. The app was successfully moved to the system, but the permissions on its files were wrong and the system refuses to load it(Link2SD's fault, essentially) . It's still acknowledged by the app manager though, which is why it can be "updated". Can you try move it with something apart from Link2SD? I recommend titanium backup.
CurtisMJ said:
Can you try move it with something apart from Link2SD? I recommend titanium backup.
Click to expand...
Click to collapse
Thanks Curtis - I have Titanium Backup (free version) installed already so can give it a go - I have only used it for backups (a long while ago) and have never used it to relocate an app... is it fairly self explanatory how to do it?
Will look tonight when I get in
Thanks
Just tried with titanium myself and it fails in a similar manner. Seems Marshmallow is a little fiddly and Link2SD puts out a generic message when it has issues. Titanium just freezes. You'll have to do it manually
First you'll need to clear the system of failed attempts. Look in the /system/app and /system/priv-app with a root Explorer for Cerberus apks or folders. Next, look in the /data/app folder and find the Cerberus folder. Take note of this path.
Next, fire up a root terminal and enter the following commands. In my case I was moving Greenify.
mount -o remount,rw /system
cp - a /data/app/com.oasisfeng.greenify-1 /system/app/Greenify
Replace the data folder with your noted path. The system path can be anything.
Then reboot and the app should be system.
Hi Curtis
Thanks for spending so much time on this.
OK, I skipped straight to the manual relocation method that you said. Whilst the app is Cerberus the APK etc is called System Framework as I have installed the 'hidden' version rather than the one which shows as Cerberus on the phone. However using OI File Manager, when I look in /system/app and /system/priv-app folders there is nothing called Cerberus or System Framework... so I am assuming that there are no orphaned APKs or other files.
But, this is where the strange thing starts, when I look in the /data/app folder, it is empty... so I am guessing I am looking in the wrong place as there are loads of apps! I am looking from home then selecting data, etc... any thoughts?
Oh, I have checked that hidden files are shown too!
Thanks again
i used to install the same app on my S7
please follow this guide & let me know the result.
1- uninstall Cerberus App, Link2SD, TTb, etc. and reboot
2- install SystemCleanup.
3- from the app SystemCleanup swip to tab apps and remove some bloatware like Google books, music, games, google TTS.
4- Reboot & install Cerberus App, do not run it.
5- from the app SystemCleanup go to apps tab and move Cerberus App to system/app & reboot again.
6- That's all.
Click to expand...
Click to collapse
Hi Abuzar
Thanks for the help... I tried using System Cleanup and initially it didn't work... it didn't show System Framework after cleaning up which made me think it was uninstalled properly. But when I tried to re-install it I got a message asking if I wanted to update the the built in application... so I said yes and re-checked in System Cleanup and it was visible, so I tried uninstalling it and after a couple of attempts it succeeded.
Then I re-installed and it installed it as a new app and it was visible in System Cleanup as installed in /data. So, I moved it to /system and configured it. It now lists in System Cleanup as being installed @auto system+data... so I am assuming it has installed properly... but not 100% sure as it lists some of it in data - so not sure if after a reset it will wipe the user profile from Cerberus or not.
I took a backup in TWRP and thought I would do a factory reset and test it... but on the S7 using factory reset in O/S it asks for my samsung password etc so looks like it may delete my Samsung/Google account's so didn't proceed as I didn't want to delete any online info. So... I tried factory wipe in TWRP but it just said failed "could not mount /data and unable to find crypto footer" and a few more "failed to mount /data" errors... so I gave up and will have to assume its installed properly as a system app
Thanks for all your help.
Just as a final note, the system+data combo sounds normal. Under regular conditions, the system partition is read only, so in order to install any updates to system apps, Android actually installs them as data apps, but cross-references them to system apps and gives them the relevant permissions. You can remove the data part by selecting "Uninstall Updates" in the app info page.

Non-rooted backup of app caches on data partition?

Hello all,
I've been searching this topic for a few weeks, and have yet to find a viable solution. I want to grab some files out of the app caches on the data partition of my Pixel 2. I don't necessarily want to root it, because I have no desire to modify anything, just want to view some stuff.
I've tried several backup apps - which have either failed because they need root, or "backup disallowed". I've also tried adb using pull, backup, cp, shell, etc. It seems a bit backwards to unlock the bootloader, wiping the device of the very data I'm trying to extract. It's been frustrating to not be able to access one's own personal data ?
Any ideas? Thank you.
+1 I'd love to have this answer as well. All my passwords are in Twik (Play store app). I don't think Google is backing up app data (or are they?). If I ever decide to flash the Pixel 2, I'll have to re-type all my websites, plus the private key. Twik is one of the few apps I rely on that isn't cloud based. I suspect the answer is there's no way on an unrooted android device.
Speaking of Google backing up app data, Google android says it can restore app and app data, but in my experience, unless the app uses cloud based data, it ain't happening. So why do they claim to backup app data? I suppose they are refering to Google apps, as of coarse, Google does keep your Google app cloud data anyway, so you'll have it restored when you log back into your android device.
You could try using Helium for backing up data. Even without root, if you follow the instructions (download the file to a Windows box and connect the phone to it) Helium should work.
Rukbat said:
You could try using Helium for backing up data. Even without root, if you follow the instructions (download the file to a Windows box and connect the phone to it) Helium should work.
Click to expand...
Click to collapse
I think I tried that once. But without root, it skips anything that has it's backup flag set to "false". Unless you know a way to trick it ?

Categories

Resources