[FIX] Market stalls or won't download. Reason: Authentication failure - Nook Color Android Development

When using Honeycomb v04 sometimes the market will cease to work after a restart. This is due to a Google authentication issue. The normal fix to this would be to reformat the data partition. However; this will sometimes also erase root. The fix is to perform the following commands in a terminal emulator of your choice. Root is required.
Update2:I have added two lines of code to clear the dalvik-cache. This seems to help produce more positive results. I also have noticed that the script or (these commands) work, its just that for some reason the script has to sometimes be applied twice in a row for it to completely work. It might take a up to a minute for an app to install (rare cases).
Updated Script: http://www.multiupload.com/PSGAMTFBD0
Update: After messing around I have discovered that deleting the accounts database does not always work. Furthermore, it requires one to log back into the Google servers each and every single time.
A better way to go about fixing the market is deleting some data in the data partition. To fix the market do the following:
su
rm -r /data/data/com.android.email/
rm -r /data/data/com.android.providers.contacts/
rm -r /data/data/com.android.vending/
rm -r /data/data/com.google.android.gm
rm -r /data/data/com.google.android.syncadapters.contacts/
cd /data/dalvik-cache
rm -r *
reboot
I have made a script that automates this process. It is my suggestion that instead of restarting the device with the power button, run this script. That way the market fixes itself each reboot.
The script has to be run in a terminal emulator or over ssh (what I use). I do not know if it will work over ADB.
Script: http://www.multiupload.com/5IIM0UQXP1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The method below is old and might not work. Let me know the results you guys have so I can come up with a possible fix that lasts longer than these.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
+
su
rm /data/system/accounts.db
rm /data/system/accounts.db-journal
reboot
After typing these commands your system will reboot and your will have to login to your Google account on your device. This will not affect any apps or data on your system. It simply resets your Google credentials without requiring a factory reset.
If you have any questions let me know.

Dude. Awesome...this worked. I am on froyo, as well. Finally installed Angry Birds from the market!
Sent from my NOOKcolor

I'm having the same problem. It seems to be in conjunction with the error "Google Talk Authentication Failed".
I used your method and it worked the first time, but the market issue started again. When I tried this method a second time, it didn't work.
The other coincidence is that I was buying apps in both cases. The first time, the app was purchased. Now the second app (Beautiful Widgets), is stuck in "Authenticating".
Any ideas?

Yeah there is issues with the market. I am not sure why authentication fails. This fix only seems to work temporarily. Like I tried it 5 times and it worked but the market still breaks down even without a restart. I say try this method again, then reformat the cache partition. Remember, you have to reboot your system for this to take effect. The old method might work for you, it worked for me for a little while, but then I found this method which seems to work better. I dont think it has anything to do with you purchasing apps. Its more of a timing issue. Also what you might want to try is apply this fix, but then instead of using the market, use the web portal market.android.com and choose to install it on your nook. This might also help. Let me know how it goes.

mrschmitz said:
Dude. Awesome...this worked. I am on froyo, as well. Finally installed Angry Birds from the market!
Sent from my NOOKcolor
Click to expand...
Click to collapse
Glad to hear it worked for you.

The web market fails with this message:
There are no android phones associated with this account. Please sign in with a different account.
I do not wish to make another account and fail to see how that changes anything. When I made the account there was no question that referred to a phone model.
HELP!
market does not download
I tried the fixes so far .. maybe just keep trying?
market downloads somethings sometimes, but never Angry Birds ...
thanks
Robyn

Does angry birds even show on teh device? If not then the reason the market does not download angry birds is that it is due to the market not recognizing the device and therefore hiding certain apps from the device. This was most prevalent in the switch from 2.1 to 2.2. The fix was to replace the fingerprint in the build.prop file. If you really want angry birds that bad, I suggest you just download it from 4shared.com. It is less trouble than trying the fix the market seeing apps. BTW what version of android are you running? 2.2 or 3.0?
When you use the web portal the correct name for the device should be zoomlogic pd or something along those lines. Don't know why the web portal is not working.

The way I fixed it was the same way I used to fix a similar but different prob with droid 2. Simply create a 2nd gmail act add that to your gmail app and sync it. Voila! your first act is now recognized

Worked PERFECTLY A+ Man!

what command do i use to run the script?

when google talk authentication fail , maybe u can try this way.
uninstall one of apps u ever downloaded from market before, then immediately reinstall that app again and also install the apps u want to install.
it worked for me.

KingLo said:
The way I fixed it was the same way I used to fix a similar but different prob with droid 2. Simply create a 2nd gmail act add that to your gmail app and sync it. Voila! your first act is now recognized
Click to expand...
Click to collapse
Confirmed. Adding a second gmail account fixed this problem for me, too.

sj8570 said:
when google talk authentication fail , maybe u can try this way.
uninstall one of apps u ever downloaded from market before, then immediately reinstall that app again and also install the apps u want to install.
it worked for me.
Click to expand...
Click to collapse
Booya, this worked perfectly for me. Thanks!

Interesting...worked for a couple of dl's.
ovar said:
Booya, this worked perfectly for me. Thanks!
Click to expand...
Click to collapse
I was pleasantly surprised that uninstalling one app I had previously downloaded then immediately reinstalling it from the Market did actually enable me to start downloading and installing some other apps. I got 2-3 installed that had been failing moments earlier. But now it seems to have stopped again and uninstalling an app and retrying to install it is no longer working.
I'm back to the same thing I was getting earlier, which is that trying to download and install any app would result in the the little blurb saying "your item will be downloaded" but the download bar comes up only for a few seconds and then closes. It never completes the install and leaves the name of the app sitting in the list of 'My Apps' waiting to be selected and installed.
Anyone come up with a permanent fix for downloading from the Market?
-JTT

drewzee said:
what command do i use to run the script?
Click to expand...
Click to collapse
using terminal emulator:
type su
then type sh /location/to/script/. Replace location to script with the actual location on your device where the script is saved. for example: if its saved on the sd card then type sh /sdcard/script.

Related

how do I uninstall Tmobile Visual Voicemail on Axura

So I just flashed Axura 2.2.5.9 and have kernel version 2.6.32.9 and well I wanted to use visual voicemail from Tmobile, but it won't let me install the newest version. So I tried to uninstall the older version that came with the rom and it won't let me.
The uninstall button is grayed out.
When I try to download the newer version from the market it says, "duplicate provider authority."
Thanks
vahdyx said:
So I just flashed Axura 2.2.5.9 and have kernel version 2.6.32.9 and well I wanted to use visual voicemail from Tmobile, but it won't let me install the newest version. So I tried to uninstall the older version that came with the rom and it won't let me.
The uninstall button is grayed out.
When I try to download the newer version from the market it says, "duplicate provider authority."
Thanks
Click to expand...
Click to collapse
easiest way is through Root Explorer, simply delete the .apk file from /system/app
or, if you have ADB on your PC, access your device through adb, and type the following commands:
adb shell
su
mount -o rw,remount /system
cd /system/app
rm nameof.apk
reboot
hope this helps
Well, using the app "Super manager" as my root explorer didn't work, so I ended up purchasing "SystemApp Remover" from the market and it worked well. As for the other method you described above was above my tech level and knowledge so I figured I'd find an easier method with keeping that as a last case scenario.
I got rid of Voicemail notifier, google voice and visual voicemail. Worked like a charm.
vahdyx said:
Well, it didn't work, but I ended up purchasing "SystemApp Remover" from the market and it worked well.
I got rid of Voicemail notifier, google voice and visual voicemail. Worked like a charm.
Click to expand...
Click to collapse
yes thats a good app....but the above methods undoubtedly work. did you even try them? if they didnt work, which method did you try, and what part of it didnt work? they are two of the original ways of removing system apps, theyve been around almost as long as root access for Android was discovered....good things to know and learn
if someone is trying to help you, dont just say the methods dont work.......either admit that you didnt even try, or post what went wrong, cause it couldve been something you did...because if another person who has this same problem sees this thread, they will automatically think these things dont work and will lose solutions to their problem.
^^^this goes for any situation, not just this one
Okay my apologies,
I went to the market and tried to find a root explorer but couldn't find a free one so I downloaded "Super Manager" app
I went into system file and long pressed on the file and tapped delete, the file just sat there. I did it again and it wouldn't delete. I restated my phone and it still didn't work.
So it wasn't necessarily the above method that didn't work it was the app that didn't work. I'll correct the post above as well.
I had a problem with system app remover before as I think it didnt just delete the apk but core processes linked to the apk I had a unbelievable flurry of fc maybe that was just my experience but root explorer is indisputably the easiest way to delete apk's cause you don't need anything other than the phone to do so
Yeah, ditto that @wills, I would advise to just freeze the process in titanium and go from there. I wouldn't remove it.
Don't blame me, blame my keyboard's autocorrection algorithm.
I deleted about 10 apps from system/app using root explorer. Not sure why a lot of the bloat was left in/inluded in the latest axura... I wish apps that can be grabbed for free from the market could be left out. ESPECIALLY the bloat from samsung.
I mean, why include samsung widgets when you removed touchwiz?

[Q] CM7.2 RC1 and Google Play

So I jumped on the cyanogen colored band wagon. Don't' get me wrong, this is the ROM I've been waiting for. Only now I am having issues. Google Play (formerly Marketplace) force closes every time i start it up.
I've done the required, check to see that English (united states) is set. Even did a wipe dalvik from CWM. so far Play has not responded to my advances. I was wanting to get it back up and running cause with out it, I don't' have Gmail, Google Maps, and a few other apps I use.
My atrix timeline:
Bought the phone with Froyo on it, and used this guide to unlock and root. Then I installed Alien ROM 4 to my device to get me to Gingerbread (2.3.4.) I stuck with that build till last night when I flashed CM7.2 RC1 to my phone.
Nothing strange happened while I did this. Followed the guides to the Tee.
What I think may have happened, when I used TiBu to restore my apps, it may have borked Play/Market.
Also, not sure why some of the gapps didn't' come along. I did flash them, right after CM7, then rebooted. I got a screen/list of apps, but not sure what I did to prevent some of them from NOT loading.
I've even tried to flash the gapps from CWM again, in hopes that would fix things... Nope.
The answer is probably, "Do a fresh install of CM7.2," but I want a second opinion before I do this.
Forgot to mention I removed tenfars cwm and used the one in the tuts by the CM wiki
I had the same issue with the play store. The way I fixed it was I first uninstalled the play store. Then I got a copy of the old market. I then renamed it vending and placed the apk in the following directory using root explorer (need to make sure the root explorer is set to Mount R/O):
system>app
After that I changed the permissions for the market apk. I made sure read, write, and execute were all cheeked under owner and clicked ok. I then exited root explorer and rebooted the phone. Once the phone booted back up I had the old market again. Then I went back to the system>app directory and changed the permissions back to the default (probably don't have to do this, but did it just in case). After that I opened the market and agreed to the terms. I then exited the market and waited a few minutes and went back it. I was then automatically pushed the play store and had no more FCs.
Attached is the original market.
Permissions should be set to RW/R/R and none set to executable.
Sent from my MB860 using xda premium
CaelanT said:
Permissions should be set to RW/R/R and none set to executable.
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
I know that's what permissions are suppose to be set to, but it wouldn't install the app for me until I also checked execute.
Dark9781 said:
I know that's what permissions are suppose to be set to, but it wouldn't install the app for me until I also checked execute.
Click to expand...
Click to collapse
Happened with me to..all i didwas uninstall updates through the app settings. I think it has something to do with corrupted cache data. Before i got it fixed I'd clear cache from there to and it'd work for a little bit.
Sent from my VS910 4G using XDA
I've not had time to get back to this yet but may work on it tonight. Firstly I don't have root explorer on my phone, nor the experience to mess with setting permissions. Will a reinstall possibly fix my issue?
Is there any other way of going about fixing the issue using TiBu? Maybe uninstalling play and rerunning gapps?

[Q] Play store Just Isn't There D:

There is simply no play store. I've had my rooted Lg P500 for a while now and it was running CM9 fine, except allot of apps crashed and it was rather slow as well as no camera, so i returned it to my backup of Gingerbread (Stock). Everything was going well, and then i got bored of GB, so i re-flashed CM9 With GApps. I noticed that their was no play store however, even after re-flashing GApps which didn't really bother me at the time.
After doing this, i found that CM10 had been released, which allot of people said was allot more stable and the camera actually worked (even though its a bad camera, i still use apps which use the camera as a background, and it gets rather annoying with just black). I loved it for a while and then i realised that there was no play store (and possibly other android apps which i don't really care about), however there was Gmail. I Flashed GApps (the correct one) and then i tried re flashing it. I did this about 20 times, just constantly re flashing everything and occasionally trying to restore back to GB (Which does have the play store) and then re-flashing CM10, BUT NOTHING WORKS :S!!!!
I then learned that this was a common problem amongst many people, but i cant seem to find an answer. I've tried setting up adb to push a playstore.apk file through, but for some reason, my computer decided it wouldn't recognize my device unless in mass storage mode, so when i do the adb thing i get this message;
"No device found"
I've also tried flashing ICS GApps, and that didn't work. I've tried everything and i cant find anything :'( .
I've also connected to wi-fi and my google account and left it for a while to check if it would update, but it still wont work :/
This is the thread where i got my ROM from and GApps download. (P.S if you read the downloads, i've tried using the mine GApps thing but that didnt work :/ )
http://forum.xda-developers.com/showthread.php?t=1811325&page=198
If anybody can help me ill be forever grateful
Cheers
Ok, i've been messing around with adb trying to push play store through and i'va managed to get my device recognised, however when i try to remount my phone i get "permission denied", yet i know my phone is rooted as when i type
adb shell
su
i get the $.
if it is possible to do this, can someone please assist me by doing it this way? well not assist, just get over this permission denied thing?:cyclops:
also, i wanted to edit my other post and say that this probably is in the wrong thread, and if it is can you please move it
thanks
Ive got adb to work except when attempting to remount, i get permission denied yet when i type
adb shell
su
it works :/
GoodPie said:
Ive got adb to work except when attempting to remount, i get permission denied yet when i type
adb shell
su
it works :/
Click to expand...
Click to collapse
simply try to get the apk file and install it as any app
Just download the apk from the first post and download it like any other app.
http://forum.xda-developers.com/showthread.php?t=1836057
Sent from my #Motofail... No further Plans coming...
tatperson said:
Just download the apk from the first post and download it like any other app.
http://forum.xda-developers.com/showthread.php?t=1836057
Sent from my #Motofail... No further Plans coming...
Click to expand...
Click to collapse
He is right. But, to ensure that the Play Store app is on your phone, search for it. Secondly, depending on the Rom, you might have to use TB or a related app to uninstall the apk store, since you won't be able to reinstall it if it IS in your Rom as a system app
GoodPie said:
Ok, i've been messing around with adb trying to push play store through and i'va managed to get my device recognised, however when i try to remount my phone i get "permission denied", yet i know my phone is rooted as when i type
adb shell
su
i get the $.
if it is possible to do this, can someone please assist me by doing it this way? well not assist, just get over this permission denied thing?:cyclops:
also, i wanted to edit my other post and say that this probably is in the wrong thread, and if it is can you please move it
thanks
Click to expand...
Click to collapse
Are you sure you're rooted? You should be seeing # if you're rooted, not $. You should also be seeing superuser or superSU pop up requesting permissions on your phone.
Open terminal emulator on your phone (assuming you have it, since you said you're running cm9) you should see $ here. Type su and hit enter - make sure superuser/superSU pops up and you grant permission. If you don't see superuser/superSU or get permission denied, you probably aren't rooted.
Sent from my One X

No launcher on boot

Hi all,
I bought a Fire HD 6 yesterday and this evening I followed the [Root] OS 4, 5.0.n and Install Lollipop & Gapps ("Newbie Friendly") guide and all went well. I got YouTube, Chrome and some other apps installed and set up all my email and social media accounts.
Then I thought I'd try using a different launcher so I installed Nova from the Play Store. After a bit of playing I uninstalled it.
About an hour later I powered down my FHD6 and on booting up I now get a black screen with the arrow, circle and square buttons across the bottom. The square button shows a screen saying "Your recent screens appear here". I can pull down the menu from the top and get into the settings menu but there seems to be no way to launch a launcher or any applications.
I do have adb access and Android File Transfer application on my Mac still recognises the file system.
Any help would be greatly appreciated.
----update
I tried manually launching the Fire Launcher with
am start -n com.amazon.firelauncher/.Launcher
Click to expand...
Click to collapse
But that had no noticeable effect. I also tried installing the Nova Launcher APK files over adb and that did nothing either.
I think I'm out of talent at this point, hopefully one of you guys will be able to point me in the right direction.
idwxyz said:
About an hour later I powered down my FHD6 and on booting up I now get a black screen with the arrow, circle and square buttons across the bottom. The square button shows a screen saying "Your recent screens appear here". I can pull down the menu from the top and get into the settings menu but there seems to be no way to launch a launcher or any applications.
I do have adb access and Android File Transfer application on my Mac still recognises the file system.
Click to expand...
Click to collapse
You need to enable fire launcher: adb shell pm enable com.amazon.firelauncher and reboot. That should work, but some people say they have lost the launcher permanently when they uninstall a custom one with stock disabled--so post back if further problems.
DoLooper said:
You need to enable fire launcher: adb shell pm enable com.amazon.firelauncher and reboot. That should work, but some people say they have lost the launcher permanently when they uninstall a custom one with stock disabled--so post back if further problems.
Click to expand...
Click to collapse
Thanks for the response. Sadly that didn't work. Terminal confirmed "Package com.amazon.firelauncher new state: enabled" but after rebooting it's still missing the launcher.
To clarify I did install Nova Launcher but I didn't think I did anything to disable the stock one. There was no obvious option (on the device) to set Nova as default, I read some posts about commands to disable it but wasn't ready to commit so after playing with it for a bit I decided to uninstall it.
---update
Weirdly when I got home and it auto connected to my wifi it suddenly started chiming to tell me that I had new emails and twitter notifications. Clicking on the notifications gets me into the apps and they work fine but without a luncher it's still pretty useless. It's really odd.
---question
As I still have root and adb can I just pick up again from some step in the tutorial I followed the first time around?
idwxyz said:
Thanks for the response. Sadly that didn't work. Terminal confirmed "Package com.amazon.firelauncher new state: enabled" but after rebooting it's still missing the launcher.
To clarify I did install Nova Launcher but I didn't think I did anything to disable the stock one. There was no obvious option (on the device) to set Nova as default, I read some posts about commands to disable it but wasn't ready to commit so after playing with it for a bit I decided to uninstall it.
---update
Weirdly when I got home and it auto connected to my wifi it suddenly started chiming to tell me that I had new emails and twitter notifications. Clicking on the notifications gets me into the apps and they work fine but without a luncher it's still pretty useless. It's really odd.
---question
As I still have root and adb can I just pick up again from some step in the tutorial I followed the first time around?
Click to expand...
Click to collapse
Convert 3rd party launcher to a system app and press home again.
paz4491 said:
Convert 3rd party launcher to a system app and press home again.
Click to expand...
Click to collapse
Could you explain how I do this? This is my first android device so I'm a complete newbie here.
My GoogleFu found some articles that suggested I just need to copy the APK file to /system/app and then chmod it to 644.
I've tried doing this through adb shell as su and I get an error when I try to move the file telling me that it's a Read-only file system.
idwxyz said:
Could you explain how I do this? This is my first android device so I'm a complete newbie here.
My GoogleFu found some articles that suggested I just need to copy the APK file to /system/app and then chmod it to 644.
I've tried doing this through adb shell as su and I get an error when I try to move the file telling me that it's a Read-only file system.
Click to expand...
Click to collapse
Use lucky patcher. Tap on the launcher, then tools and move to /system/app.
paz4491 said:
Use lucky patcher. Tap on the launcher, then tools and move to /system/app.
Click to expand...
Click to collapse
Thanks for the suggestion but I don't currently have a launcher on the device though so I'm not sure how to install and launch an app.
idwxyz said:
Thanks for the suggestion but I don't currently have a launcher on the device though so I'm not sure how to install and launch an app.
Click to expand...
Click to collapse
You don't need to make Nova a system app for it to run, only to make it use widgets. First try this and see if the Fire launcher is running after the reboot.
adb shell
su
(make sure you have # prompt and if not, post)
pm enable com.amazon.firelauncher
pm disable com.teslacoilsw.launcher
Type exit 2 times to get out of su and then: adb reboot
If Fire launcher is running, go back into su, type these commands and reboot and post the results:
pm disable com.amazon.firelauncher
pm enable com.teslacoilsw.launcher
Thanks for your help DoLooper!
DoLooper said:
pm enable com.amazon.firelauncher
pm disable com.teslacoilsw.launcher
Click to expand...
Click to collapse
On booting this briefly showed the stock launcher without any apps but then went back to the black screen with the arrow, circle and square at the bottom like before.
DoLooper said:
pm disable com.amazon.firelauncher
pm enable com.teslacoilsw.launcher
Click to expand...
Click to collapse
This however brought the device back to life with the Nova launcher. I guess the question now is have I lost the stock launcher forever?
idwxyz said:
I guess the question now is have I lost the stock launcher forever?
Click to expand...
Click to collapse
Maybe. Do you remember what else you did besides installing Nova? Any "unusual" apps? Any adb commands? Please look at settings>device>system updates and post the build date.
Before I installed Nova Launcher I installed:
Auto Trader
Chrome
eBay
Facebook
Hearthstone - which was pretty laggy so I uninstalled it
LinkedIn
London Tube Map
Messenger
Rightmove
Skype
Spotify
Twitter
YouTube
Zoopla
I have also just now installed BlueMail as the Amazon one won't launch anymore since it started working with Nova Launcher.
The build date shows as Thursday, 24 September 2015, 03:51 BST (Fire OS 5.0.1)
I don't remember running any funky adb commands. I tried following a post to kill the ads on the home screen but it was for an older version of Android so adb just didn't recognise the commands.
I don't see anything that might have caused the problem, unless you disabled Silk browser to make Chrome work (and I really don't think that's it). It's possible your bin file was corrupted, but if so I'd expect other stuff to be broken too.
Please get gatesjunior Debloater tool, here on xda, and see which apps are disabled. I'm going to pm you with options.
Sadly I can't run debloater as the Mac version doesn't seem to play nice with El Capitan. If I can get access to another machine at some point I'll report back what was disabled. For now though I'm just really happy that you got it working again, you're a star!
Thanks to everyone on this forum for all your knowledge and guides.
Well that didn't last long.
I just couldn't resit tinkering with it. I tried to make Nova a system app because widgets didn't work. I followed this tutorial . I followed the steps through using ES File Explorer. Copied the com file to the SD card folder, cut it to /system/app/ modified the permissions, rebooted my device and I got the Fire screen for several minutes. I did adb reboot. It rebooted, said it was installing the latest software and I'm back where I was before.
I have the black screen with arrow, circle and square. Although fortunately ES File Explorer is still open so I can access that if it helps?!?
I used ES File Explorer to copy the file from the SD Card back into /data/app/ and then deleted the one from /system/app/. I then adb rebooted and tried the pm disable com.amazon.firelauncher, pm enable com.teslacoilsw.launcher again. But no joy.
If I want to start again where should I start from as the device is still rooted?
Turn off wifi and try a factory reset. Root and gapps survive a reset. First, disable Nova and enable Firelauncher. Then factory reset, wait through VERY long restart, enable USB debugging and then reinstall superSU with this command: adb install -r filename.apk
If your bin file was corrupted, this may not fix the problem and I'll tell you what to try next.
idwxyz said:
Well that didn't last long.
I just couldn't resit tinkering with it. I tried to make Nova a system app because widgets didn't work. I followed this tutorial . I followed the steps through using ES File Explorer. Copied the com file to the SD card folder, cut it to /system/app/ modified the permissions, rebooted my device and I got the Fire screen for several minutes. I did adb reboot. It rebooted, said it was installing the latest software and I'm back where I was before.
I have the black screen with arrow, circle and square. Although fortunately ES File Explorer is still open so I can access that if it helps?!?
I used ES File Explorer to copy the file from the SD Card back into /data/app/ and then deleted the one from /system/app/. I then adb rebooted and tried the pm disable com.amazon.firelauncher, pm enable com.teslacoilsw.launcher again. But no joy.
If I want to start again where should I start from as the device is still rooted?
Click to expand...
Click to collapse
I had difficulties with the fire launcher so had to get rid of it..
Since you can still access es explorer, another alternative is to install lucky patcher and launch via ADB. Copy and paste the code into ADB to launch the app.
Code:
adb shell am start -n com.android.vending.billing.InAppBillingService.LUCK/com.android.vending.billing.InAppBillingService.LUCK.patchActivity
Then you can convert to a system app
Please stop promoting Lucky Patcher here.
@idwxyz There's a play store app, /system-app mover, that converts user apps to system.
DoLooper said:
Please stop promoting Lucky Patcher here.
@idwxyz There's a play store app, /system-app mover, that converts user apps to system.
Click to expand...
Click to collapse
Sorry not trying to promote lucky patcher but other apps failed to convert on my device.
DoLooper said:
Turn off wifi and try a factory reset. Root and gapps survive a reset. First, disable Nova and enable Firelauncher. Then factory reset, wait through VERY long restart, enable USB debugging and then reinstall superSU with this command: adb install -r filename.apk
If your bin file was corrupted, this may not fix the problem and I'll tell you what to try next.
Click to expand...
Click to collapse
I turned off wifi, went to settings > reset to factory defaults. It took a while to erase and reboot. I then reinstalled superSU with that command. My device is now working fine with the stock launcher all the stock apps and the Play Store. I also checked through section D of the tutorial to make sure all the settings were still in place before switching on wifi.
Then I installed Nova and Nova Prime, disabled the stock launcher, enabled Nova and everything worked. Then I tried going back the other way, I disabled Nova, enabled the stock launcher, adb rebooted and it booted up into the stock launcher.
It all works!
I used /system-app mover to make Nova a system app and now widgets work too. Thank you so much!

several apps having issues now on rooted Marshmallow

I'm currently rooted and restoring my apps, however it seems like with each new version of Android the external SD gets trickier and trickier. A lot of apps these days use the round about method of having you choose the card to write to via the file manager, unfortunately not all apps do this and one of them looks to be the ever popular Tasker. am I missing the option or am I screwed and have to rewrite all my tasks to write to the internal storage?
another issue is with Secure Settings mainly used in conjunction with Tasker... when I start it up it fails to recognize su and never prompts me via SuperSU for permissions to grant. anyone have any workarounds or fix for this?
lastly, is BusyBox still usable under Marshmallow? i loaded it up and everything seemed fine, but after a reboot Google Play Services, Amazon, Youtube and some others kept crashing.
My observations:
MyProfiles Pro not able to turn data ON/OFF with ROOT permissions even if the root permission is there for the app.
One Power Guard battery app works, but cannot tweak the profiles, it says root needed. I seriously doubt if it really is working.
njaustin123 said:
My observations:
MyProfiles Pro not able to turn data ON/OFF with ROOT permissions even if the root permission is there for the app.
One Power Guard battery app works, but cannot tweak the profiles, it says root needed. I seriously doubt if it really is working.
Click to expand...
Click to collapse
what I've realized is that SuperSU is running in systemless mode, which is causing some issues for outdated apps that were hardcoded to find 'su' in /system. some workarounds are putting a dummy file named su in /system or getting SuperSU to run in /system.
dimm0k said:
I'm currently rooted and restoring my apps, however it seems like with each new version of Android the external SD gets trickier and trickier. A lot of apps these days use the round about method of having you choose the card to write to via the file manager, unfortunately not all apps do this and one of them looks to be the ever popular Tasker. am I missing the option or am I screwed and have to rewrite all my tasks to write to the internal storage?
another issue is with Secure Settings mainly used in conjunction with Tasker... when I start it up it fails to recognize su and never prompts me via SuperSU for permissions to grant. anyone have any workarounds or fix for this?
lastly, is BusyBox still usable under Marshmallow? i loaded it up and everything seemed fine, but after a reboot Google Play Services, Amazon, Youtube and some others kept crashing.
Click to expand...
Click to collapse
I learned this the hard way in updating from LP to MM; do NOT restore your apps from a backup under LP. I did that, and was having nothing but issue after issue. Best bet, backup everything not an app, go back to the google play store, and reinstall everything from there. Any apk's you had you installed, install them fresh. I was literally to the point of shipping the phone back to T-Mobile and going to an S7 it was such a pain in the neck. After I learned after the 4th factory reset from LG Bridge, I've never had any issues since.
chernabog88008 said:
I learned this the hard way in updating from LP to MM; do NOT restore your apps from a backup under LP. I did that, and was having nothing but issue after issue. Best bet, backup everything not an app, go back to the google play store, and reinstall everything from there. Any apk's you had you installed, install them fresh. I was literally to the point of shipping the phone back to T-Mobile and going to an S7 it was such a pain in the neck. After I learned after the 4th factory reset from LG Bridge, I've never had any issues since.
Click to expand...
Click to collapse
Whenever you do a clean fresh flash Rom at the setup most rooms let you restore all your previous apps from google, no need to go to the play store it does it automatic. If you made a backup just restore the data.
Sent from my LG-H901 using XDA-Developers mobile app
dimm0k said:
what I've realized is that SuperSU is running in systemless mode, which is causing some issues for outdated apps that were hardcoded to find 'su' in /system. some workarounds are putting a dummy file named su in /system or getting SuperSU to run in /system.
Click to expand...
Click to collapse
Thanks. But can you give me little bit more details on that. How can I get SuperSU to run in /system? I checked settings of SuperSU app, but could not find.
Also I tried to create a new file called su in /system with Root Browser of ROM Toolbox, but it says 'failed'
chernabog88008 said:
I learned this the hard way in updating from LP to MM; do NOT restore your apps from a backup under LP. I did that, and was having nothing but issue after issue. Best bet, backup everything not an app, go back to the google play store, and reinstall everything from there. Any apk's you had you installed, install them fresh. I was literally to the point of shipping the phone back to T-Mobile and going to an S7 it was such a pain in the neck. After I learned after the 4th factory reset from LG Bridge, I've never had any issues since.
Click to expand...
Click to collapse
I have witnessed this, mainly with Google apps. after restoring the app with data the app would randomly crash... removing the app and installing it from Google fixes it, but I have not experienced this with non-Google apps. I'll keep this in mind the next go around when restoring my stuff.
njaustin123 said:
Thanks. But can you give me little bit more details on that. How can I get SuperSU to run in /system? I checked settings of SuperSU app, but could not find.
Also I tried to create a new file called su in /system with Root Browser of ROM Toolbox, but it says 'failed'
Click to expand...
Click to collapse
you won't be able to change SuperSU to be in systemless mode within SuperSU... look here for the non-systemless root method that you'll need to flash in TWRP. realize that if you do this flash that it most likely will break Android Pay. not sure if you need to mount /system as rw in Root Browser before you can create files there or if Root Browser does it for you automatically?
I am having issues with the camera in manual mode it keeps force closing
Sent from my LG-H901 using XDA-Developers mobile app
after doing some research and from my understanding, the bad news is that it looks like it's up to devs to add the feature of writing to the external SD via the Storage Access Framework (SAF). unfortunately it doesn't look like an easy task, as the developer of Tasker mentioned that he won't be implementing this since the number of external SD users are far and few =( and would revisit it if that number changes.
the good news for those of us smart and brave enough to root our devices, this is solvable via editing packages.xml and adding in one line for each app you want to "fix". this is documented here
justice26 said:
I am having issues with the camera in manual mode it keeps force closing
Sent from my LG-H901 using XDA-Developers mobile app
Click to expand...
Click to collapse
works fine for me here... are you using stock ROM?
dimm0k said:
you won't be able to change SuperSU to be in systemless mode within SuperSU... look here for the non-systemless root method that you'll need to flash in TWRP. realize that if you do this flash that it most likely will break Android Pay. not sure if you need to mount /system as rw in Root Browser before you can create files there or if Root Browser does it for you automatically?
Click to expand...
Click to collapse
I don't want to break stuff like Android Pay though I am not using it right now.
And about putting the file, in ROM Toolbox it says rwxr-xr-x for /system. Doesn't that mean write is there?
njaustin123 said:
I don't want to break stuff like Android Pay though I am not using it right now.
And about putting the file, in ROM Toolbox it says rwxr-xr-x for /system. Doesn't that mean write is there?
Click to expand...
Click to collapse
I believe non-systemless root only breaks Android Pay because of the way Android Pay is designed, as I believe it needs /system to be "pure". just want you to know that I have not done anything and have left everything as is, systemless root. seems like the only app I had that needed root was Secure Settings, which doesn't look like it will ever be updated anytime soon so I'm trying to ween myself away from that and do everything via Tasker without that plugin. as for you, if you're lucky, write to the apps you're having issues with and have them update it for systemless root. the issue is that their apps were looking for root specifically in /system, but with systemless root the su binary is now in /su/bin. as for putting a dummy su file in /system, I'm not entirely sure that would make your apps work and if it would break Android Pay if you did so. regardless, it doesn't hurt to try as you can simply remove the dummy su file to revert back to systemless. I believe those permissions you've listed for /system does does mean it can be written to, however it has to also be mounted as rw. check that via a terminal by issuing "mount | grep /system". you will probably see a ro in parenthesis or simply try to put a file in there.
dimm0k said:
I believe non-systemless root only breaks Android Pay because of the way Android Pay is designed, as I believe it needs /system to be "pure". just want you to know that I have not done anything and have left everything as is, systemless root. seems like the only app I had that needed root was Secure Settings, which doesn't look like it will ever be updated anytime soon so I'm trying to ween myself away from that and do everything via Tasker without that plugin. as for you, if you're lucky, write to the apps you're having issues with and have them update it for systemless root. the issue is that their apps were looking for root specifically in /system, but with systemless root the su binary is now in /su/bin. as for putting a dummy su file in /system, I'm not entirely sure that would make your apps work and if it would break Android Pay if you did so. regardless, it doesn't hurt to try as you can simply remove the dummy su file to revert back to systemless. I believe those permissions you've listed for /system does does mean it can be written to, however it has to also be mounted as rw. check that via a terminal by issuing "mount | grep /system". you will probably see a ro in parenthesis or simply try to put a file in there.
Click to expand...
Click to collapse
OK, so here is it: I was able to mount /system as rw with the terminal emulator in ROM toolbox and then create a dummy file named su. Rebooted the phone, both the apps still fail. I will write to the developers. For the time being, I am OK turning data on/off manually along with using MyProfiles for other things. And for the One Power Guard, I believe freezing many of the T-Mobile and LG junk using Titanium and having SetCPU with a little bit under-clocking have already made the battery better. So I can wait. Am also evaluating Craig's Root Battery App instead of OPG. Thank you anyways.

Categories

Resources