My Google account was being wiped out in front of my eyes almost every other time i rebooted. After some thread reading and trial and error I finally figured it out. Its been about 18 hours and over 15 reboots (EDIT: Few days now ) either via reboot menu, wanamXposed module and adb, I have not lost my account so far.
This is still being tested, so affected users please test and comment how it worked for you.
There are hundreds of posts out there that tell you the fix is to be on Google play Store version 4.4.21 and many of them have reported that it works. Unfortunately many including me, were on the very same version and yet Google account was being wiped no matter what. Thats when i realized, it is not just being on 4.4.21, but having that version as a system app, instead of having the version installed as an update. The difference is, when you have version 3.x.x installed as a system app, which updates itself to 4.4.21, it does not update the original app, but instead installs updates in the /data partition. So seeing version 4.4.21 in the Playstore app 'About' settings does not mean anything.
Verify if you are on an affected release.
Go to Setting >> more >> Application Manager >> Downloaded. If you see 'Google Play Store' you may be affected.
Now go to the application managers "All" Section (swiping leftward from 'Downloads' section) and navigate to 'Google Play Store'
You will see the version number of your app. Next to it, you will see two buttons, One of them may be "uninstall updates" If you see this option, your version number means nothing. Don't be fooled by it, you have may 4.4.21 installed, but in your /data/app directory.
If the above was true, you have an older version of playstore installed as a system app, and have the latest version installed as an update over the old version in the /data partition.
Instructions
Flash GoogleWipeFix_Flash_CWM.zip from Clockworkmod.
PS: This really only removes your existing Google Play Store, flashes v 4.4.21 and clears data. You may as well flash it, nothing to loose.
Click Show content for Manual Instructions (Not needed if you chose to flash instead).
You do not need this if you flash using my zip. This is for Manual Testing only.
If you are not already on PlayStore version 4.4.21 then download version 4.4.21 and place in in your SDCard as /sdcard/Phonesky.apk
DOWNLOAD
Google Play Store 4.4.21
Instructions for shell users :
Code:
su
mount -o remount, rw /system
cp /system/app/Phonesky.apk /system/app/Phonesky.apk.bkp
mv /data/app/com.android.vending-1.apk /data/app/com.android.vending-1.apk.bkp
cp /sdcard/Phonesky.apk /system/app/Phonesky.apk
chmod 644 /system/app/Phonesky.apk
reboot
Instructions for Root explorer users
Re-mount /system as read-write
Backup /system/app/Phonesky.apk
Backup and Delete /data/app/com.android.vending-1.apk (TIP: you may see warnings that PlayStore Stopped, Thats ok!)
Copy /sdcard/Phonesky.apk and overwrite /system/app/Phonesky.apk
Give the new apk appropriate read permissions to all. rw-r--r--
reboot
Click to expand...
Click to collapse
Troubleshooting help
If it does not work for you, it would be of great help if you could post below details.
What rom are you on?
Please check the following:
Go to application manager >> Google Play Store and tel me if you see the button "Uninstall updates" next to "Force Stop"
If you have "Uninstall updates" you need to click it, and then repeat the whole procedure again.
Do you have access to adb or terminal emulator app? if yes, please give me the output of the following.
Code:
su
ls -l /data/app/com.android.ven* /system/app/Phonesky.*
Click to expand...
Click to collapse
I added a CWM flashable zip. Try that if it didn't work earlier.
XDA:DevDB Information
GoogleWipeFix, a Tool/Utility for the Samsung Galaxy Note II
Contributors
kkoolpatz
Version Information
Status: Testing
Created 2013-11-02
Last Updated 2013-11-05
I use my own cooked rom which is posted in the forums as well.. I have hardly had any gapps issues.. Had them once in the beginning but flashing the latest gapps solved everything..!
Thanks for sharing
kkoolpatz said:
Verify if you are on an affected release.
Go to Setting >> more >> Application Manager >> Downloaded. If you see 'Google Play Store' you may be affected.
Now go to the application managers "All" Section (swiping leftward from 'Downloads' section) and navigate to 'Google Play Store'
You will see the version number of your app. Next to it, you will see you buttons, One of them may be "uninstall updates" If you see this option, your version number means nothing don't e fooled by it. you have may 4.4.21 installed, but in your /data/app directory.
Click to expand...
Click to collapse
I am using Tigra v.3 ROM, which has the 4.4.21 version as system app and still I had the Google account wiped yesterday after a reboot from Wanam Xposed.
So maybe your fix solves some problems, but in my case...
Thanks anyway!
My ROM users are already on 4.4.2.1 by default (removed everything related to old versions) and they still have account lost.
The problem is only in XXUEMI6, XXUEMJ2/5 don't have this problem.
Thanks for sharing
tried this on my n7105T
no i no longer get the force close / crash message
just no connection (like i was getting prior to trying a million other fixes)
including factory reset
I haven't been on the forums much lately but can't see anything about this - what is the bug exactly? All your google data being deleted on just the account being removed from the phone? Or something else entirely?
dhuewes said:
I am using Tigra v.3 ROM, which has the 4.4.21 version as system app and still I had the Google account wiped yesterday after a reboot from Wanam Xposed.
So maybe your fix solves some problems, but in my case...
Thanks anyway!
Click to expand...
Click to collapse
Its just been one day, so i'm hoping this fix stays permanent. Are you sure you do not have /data/app/com.android.vending-1.apk installed?
fliptechnologies said:
tried this on my n7105T
no i no longer get the force close / crash message
just no connection (like i was getting prior to trying a million other fixes)
including factory reset
Click to expand...
Click to collapse
What do you mean by no connection? I am not sure if this will apply to your device since this caters specifically to Note 2 leaked roms.
Tamen said:
I haven't been on the forums much lately but can't see anything about this - what is the bug exactly? All your google data being deleted on just the account being removed from the phone? Or something else entirely?
Click to expand...
Click to collapse
If you are on one of the affected roms, after you reboot Google account is totally removed. As if it was never added. Its known to happen on Note 2 android 4.3 leaked MI6 rom
I've tested your possible Fix.... Had 3 reboots in total now... so far so good... No G account yet....
Sent from my GT-N7100 using XDA Premium 4 mobile app
I just did try.
I didnt have vending-1.apk in my data folder so didnt do anything with that.
Also when we copy phonesky.apk , do we need to set permission to rw.r.r ???
I actually did it. And now trying.
Sent from my GT-N7100 using xda app-developers app
I just moved the updated version to /system/app and removed Phonesky.apk.
I'm gonna check out if it does anything, smart tip btw, never thought of this.
I've given it a try, thanks.
Thanx man
Sent from my GT-N7100 using XDA Premium 4 mobile app
Yes,the fix works...rebooted nearly ten times today,no google account loss.
Just remember to set permission as rw-r-r for phonesky.apk after replacing the old one.
akp.ajinkya said:
Yes,the fix works...rebooted nearly ten times today,no google account loss.
Just remember to set permission as rw-r-r for phonesky.apk after replacing the old one.
Click to expand...
Click to collapse
Thanks, I'll add the permissions part to OP
I followed your full procedure, the problem persists, wanam v4.0 (mi6).
hi
I have noticed that whenever i fiddle with xposed, my account gets wiped. Otherwise no loss on reboot. Just what i have observed.
kkoolpatz said:
Thanks, I'll add the permissions part to OP
Click to expand...
Click to collapse
Worked for me on Hurricane v5, note3 apps and Superwolf theme 10.5 -- Thanks
Alipk52 said:
I followed your full procedure, the problem persists, wanam v4.0 (mi6).
Click to expand...
Click to collapse
Thanks for reporting. I wonder if you need to remove .odex file since wanam is an odex rom
Please check the following for me.
Go to application manager >> Google Play Store and tel me if you see the buttons "Uninstall updates" and "clear data"
If you have "Uninstall updates" something went wrong in your procedure.
Do you have access to adb or terminal emulator app? if yes, please give me the output of the following.
Code:
su
ls -l /data/app/com.android.ven* /system/app/Phonesky.*
http://stackoverflow.com/questions/...ows-unknown-error-code-during-application-ins
I cant install Waze+ Sygic.
Any help?
Reason why
Code 505 is a permissions code. This typically means that the APK file already exists in your /data/app folder. You'll need to locate the APK files in question in the /data/app folder and remove them. You will need root to perform this action.
You came across this problem because you didn't do a wipe of your userdata partition when you jumped from Kitkat to Lollipop. I encountered the same issue because of that reason. I just ended up wiping and starting fresh as my phone hadn't been wiped since I got the device last November.
I can't install amazon app but i have no amazon folder on /data/app
Hello.
Yesterday i did a factory reset on my phone.After which i am unable to install a "few apps".I have tried installing app from the .apk file i had as backup and also from Play store but no success.
When trying to install from .apk file the app begins to install but after like 3 or 4 seconds it says.
"App not installed"
nothing else.
i tried to install the same app from Play store, again no success. App downloads 100% but when installing it says something like "unknown error: error code"-24" " and then nothing.
This happens for a few Apps only.They are all server softwares that contain Apach,PHP,MySQL.The first of these i installed was KSweb server. Then last time i did a factory reset i faced this problem for KSweb server. I tried quite a lot of things but no success.
So i downloaded another app (DroidPHP) with same functionality it was downloded and installed fine and also worked great.But yesterday i did a factory reset again after 4 months maybe. And now i am unable to install DroidPHP aswell. Also KSweb is not installing and showing same error.
i have an unrooted phone running Jelly Beans 4.2
Try to push app to system/app then reboot,
Or Wipe data,Cache & flash a Rom fully!
Hi. New version of Remote Play found here:
http://forum.xda-developers.com/android/apps-games/ps4-remote-play-t2929147[1]
Asks you to go into recovery and flash the zip. I had a working version of the app which was installed from a normal APK, and it worked fine. I uninstalled this APK and downloaded the new one and flashed it. It said it installed successfully however when I turn the phone on, the app isn't there. Not showing up in Settings -> Apps either. Wiped dalvik cache and still no luck.
Downloaded the old version where you install by APK and it tries install then says "App not installed". It's like its detected a newer version that I can't see.
Anybody have any idea how I can fix this?
i installed an apk app mod on my Samsung galaxy note 10+. the apk is an older version of the app but when i went to uninstall the app as usual to install the latest release off google play instead of downloading and installing it just installed the previous apk installed from google which i havent seen before. i have tried clearing the data and using app cleaners such as sd maid but its still installing the unofficial version. i also tried to install a newer version of the app from an apk off google and it wont install at all. i believe that after uninstalling the app that some of the files have not been deleted and google recognises these as the correct app files. using sd maid i traced to this path:
/data/app/~~HQ5E7AhU5J2CuBMCGbfjTg==/com.snapchat.android-PWYp8D9k00ttRuj98fIkTA==
im pretty sure this is what needs deleting to get google to download the official version but due to samsungs security rules i cant delete it. i dont want to root or factory reset my phone
any help is much appreciated
That's Snap Chat, is that installed or was it part of the Google app?
Try clearing the system cache from the boot menu.
System apps and systen privileged apps including their daa can only get deleted by ROOT, only deleting their related data can get achieved by a FR.