Related
So I've been having the famous No connection error on Play Store for a few months now and really want to fix it. I've read all threads on this topic and watched all tutorials. The one thing everyone seems to be saying works is deleting the hosts file from the etc folder which is the one thing I can't seem to do.
My phone is N5 and it's rooted through CF. I use Total Commander as my file manager but it won't let me delete the file even though Total Commander has root privileges. The permissions of the hosts file are set to r/w under user but read only for group and world. Again it won't let me set it to read write for the other two. I've also tried doing this through ES explorer but it's the same thing. Can anyone please recommend a way to delete the file successfully?
xismo1 said:
So I've been having the famous No connection error on Play Store for a few months now and really want to fix it. I've read all threads on this topic and watched all tutorials. The one thing everyone seems to be saying works is deleting the hosts file from the etc folder which is the one thing I can't seem to do.
My phone is N5 and it's rooted through CF. I use Total Commander as my file manager but it won't let me delete the file even though Total Commander has root privileges. The permissions of the hosts file are set to r/w under user but read only for group and world. Again it won't let me set it to read write for the other two. I've also tried doing this through ES explorer but it's the same thing. Can anyone please recommend a way to delete the file successfully?
Click to expand...
Click to collapse
I personally use FX File explorer with root add-on, works perfectly out read write. Try that. Also, do you have newest play store installed, the 4.6.17 version?
I just updated to 4.6.16 today but it made no difference. The no connection error still persists.
Regarding the permissions though it seems to be a problem on a higher level as I've tried three different file managers (ES Explorer, Total Commander and Root Explorer) and none of them let me delete the hosts file. Any idea where else the problem could be?
Have you installed an app called Freedom?
No, should I?
No. It's one of the reasons why most people can't get connection on play store.
Have you tried removing the file through ADB? This guide should help you
I haven't, guess I could give it a shot but do you think there would be any difference? I'd be effectively doing the same thing manually that the file managers are trying to do. And they're failing at it.
When I try to remount the system folder in total commander it gives me a remount error so I'm wondering if it could be successful through shell.
xismo1 said:
I haven't, guess I could give it a shot but do you think there would be any difference? I'd be effectively doing the same thing manually that the file managers are trying to do. And they're failing at it.
When I try to remount the system folder in total commander it gives me a remount error so I'm wondering if it could be successful through shell.
Click to expand...
Click to collapse
I'm not sure what's wrong here, but there is a posibility you lost your root (dirty flashed and update or something) so you could try that. You can also try flashing supersu and see if that helps. That normally solves my root problems.
I was actually thinking that I may have lost root as well, but then I have a volume mod flashed and that still works fine, though not sure if that would be effected when already flashed. I haven't done any updates though so not really sure how that could happen. Is there any way to test whether I still have root for sure?
Oh and I already have SuperSU Pro, flashed that a few months ago.
Just tried checking whether I still have root via root checker and it says I do. Really not sure what's going on. Does anyone have an advice on how to grant rw permissions to the hosts file?
get rid of total commander, its garbage. get root explorer. also, youll probably have to flash the latest supersu, since you flash a few months ago. i know they updated their su binaries a few times in the last few months. you have to keep stuff like that current.
Fair enough. I actually just got the latest root explorer and was finally able to delete the hosts file only to find out that it doesn't actually solve the play store problem. What options do I have left? Factory recovery?
xismo1 said:
Fair enough. I actually just got the latest root explorer and was finally able to delete the hosts file only to find out that it doesn't actually solve the play store problem. What options do I have left? Factory recovery?
Click to expand...
Click to collapse
factory reset is an option, as well as flashing the factory img.
Finally got it sorted. Thanks everyone for your help.
OK so as you have noticed kit kat does NOT allow third party apps to write to the SD card, this is stupid, but lucky for us we have a fix IF you are rooted
we have 2 solutions
1) using root explorer or something similar go to
Quote:
/system/etc/permissions/platform.xml
and enter the permission that i have circled in red below (see attached) then it will work. Enter it so it looks EXACTALLY like it does below
2) the other option that MAY work is to go to the play store and download SDFix, that does the same thing (however myself and a few others are reporting that it isnt working as it is written)
big thanks to Mr Sam Epic for showing the fix, which came from Unknown Force in a SGS4 forum
****edit 4/19
had a few reports of SDFix not working, it didnt for me, i thought it was just a random error, what i did to fix it was to go into platform.xml and manually edit the permission so it looks exactally like the image below, i put in the extra return after the permission, there is not a logical reason why this fixed it, but it did
original thread here:
http://forum.xda-developers.com/showthread.php?p=51861458
Seems like it worked, thanks.
I gave this a try in Root Explorer. I have gone over it many times and I did everything correctly but now Titanium won't launch, Weatherbug won't load, and GAPPS fails everytime. I am using Odin to go back to stock now-- will try the other method.
After write to extsd is enabled, I would strongly suggest the Xposed Framework module Downloads2SD. It allows you to change default directories to the extsd. It seems to work for Chrome downloads as well.
Here's a weird one... I edited the file exactly the way it should be, worked fine... played with a few things, edited build prop screwing around having fun. Boot looped because oops. No problem, Odin to stock. Fresh stock build.
Rooted, Edited the platform.xml again exactly the way required, reboot. Even system apps won't write to SD. Couldn't even install XDA app lol
Odin again, root, edit the xml exactly the depicted way again. Still nothing can write to SD. Wtf.
Anyone have a stock or working platform.xml I can peek at? Something is screwy here lol
I have all the source on my Linux box but I'm nowhere near it, unfortunately.
Nsane457 said:
After write to extsd is enabled, I would strongly suggest the Xposed Framework module Downloads2SD. It allows you to change default directories to the extsd. It seems to work for Chrome downloads as well.
Click to expand...
Click to collapse
I agree, I had issues with my S4 after moving to KK also with my new S5. And now with those of us on Verizon, we are lucky enough to have root Thanks to exposed you can start moving files around like before. Its just amazing how controlling companies feel they need to be.... Oh well, thanks for the Root Geohot, and Xposed rovo89 & Tungstwenty!
Excellent! This worked on my N900V with 4.4.2 and root! (fix #1)
I thought my old file browser just wasn't reading root correctly, but with this, it's back to normal/pre OTA function. Thanks again!
Could you please add to the instructions, for option 1 at least, to double-check the permissions on the file? (They should be 644 and root/root). Was helping my brother and just went through lots of problems (everything crashing) and turns out the editor changed the permissions (found the answer on another site where someone described the same symptoms). I'm also wondering whether the permissions also have something to do with why it seems to sometimes not work for people...
Just wanted to chime in and say that SDFix worked flawlessly the first time on my rooted SM-G900V.
All I did was root and then run this utility, installed nothing else at any point, not even SuperSU.
NextApp SDFix works great with my stock rooted SG5. Verified with ttorrent.
One thing I have to say about this is when I did it i had issues with the camera app saving to extsd. So I changed it back after a lot of work on it.
Confirmed working. Thanks for the mod advice. Just make sure to make the edits exactly as shown in the image.
I tried the SDfix apk and it worked only on the root of the SD card. Any file structure past the root did not have rw access.
Now that I can write to my sd, I am noticing very poor speeds. We are talking like less that 1MB/s. I tested it with both large iso files and a bunch of small 30-300 kb files. Both tests are very slow. Any ideas on where to look to fix that?
Sent from my SM-G900V using XDA Premium HD app
evilbeef54 said:
OK so as you have noticed kit kat does NOT allow third party apps to write to the SD card, this is stupid, but lucky for us we have a fix IF you are rooted
we have 2 solutions
1) using root explorer or something similar go to
Quote:
/system/etc/permissions/platform.xml
and enter the permission that i have circled in red below (see attached) then it will work. Enter it so it looks EXACTALLY like it does below
2) the other option that MAY work is to go to the play store and download SDFix, that does the same thing (however myself and a few others are reporting that it isnt working as it is written)
big thanks to Mr Sam Epic for showing the fix, which came from Unknown Force in a SGS4 forum
****edit 4/19
had a few reports of SDFix not working, it didnt for me, i thought it was just a random error, what i did to fix it was to go into platform.xml and manually edit the permission so it looks exactally like the image below, i put in the extra return after the permission, there is not a logical reason why this fixed it, but it did
original thread here:
http://forum.xda-developers.com/showthread.php?p=51861458
Click to expand...
Click to collapse
So I tried this and my ability to use the TextSecure app broke. I reverted back to the auto-created backup (thank you Root Explorer) of my platform.xml file, and it restored TextSecure functionality after a reboot. However, I have been unable to turn Bluetooth on since doing this. The only other change was updating to the latest release of Busybox this morning, which apparently was just released. Could this platform.xml file triggered some other actions upon rebooting that would cause Bluetooth problems?
evilbeef54 said:
OK so as you have noticed kit kat does NOT allow third party apps to write to the SD card, this is stupid, but lucky for us we have a fix IF you are rooted
we have 2 solutions
1) using root explorer or something similar go to
Quote:
/system/etc/permissions/platform.xml
and enter the permission that i have circled in red below (see attached) then it will work. Enter it so it looks EXACTALLY like it does below
2) the other option that MAY work is to go to the play store and download SDFix, that does the same thing (however myself and a few others are reporting that it isnt working as it is written)
big thanks to Mr Sam Epic for showing the fix, which came from Unknown Force in a SGS4 forum
****edit 4/19
had a few reports of SDFix not working, it didnt for me, i thought it was just a random error, what i did to fix it was to go into platform.xml and manually edit the permission so it looks exactally like the image below, i put in the extra return after the permission, there is not a logical reason why this fixed it, but it did
original thread here:
http://forum.xda-developers.com/showthread.php?p=51861458
Click to expand...
Click to collapse
You can also just use Folder Mount.apk and in the beginning while setting it up iT patches the external microsd and then anything and everything can read and write to the external micro sd. HIT THANKS IF YOU DIDNT ALREADY KNOW THIS..
Thank you very much, evilbeef54! Lol, funny username, by the way. The first solution (editing platform.xml) did the trick for my Xperia C4 (E5303) running Android Version 5.1, Build number 27.2.A.0.155. I edited the file using Root Browser then RB Text Editor, and after a reboot Titanium Backup finally allowed me to save my backups to my external SD Card.
xperia_c4_hater said:
Thank you very much, evilbeef54! Lol, funny username, by the way. The first solution (editing platform.xml) did the trick for my Xperia C4 (E5303) running Android Version 5.1, Build number 27.2.A.0.155. I edited the file using Root Browser then RB Text Editor, and after a reboot Titanium Backup finally allowed me to save my backups to my external SD Card.
Click to expand...
Click to collapse
way to necro a thread.
Used the ping pong root for at&t s6 and worked great. Deleted a lot of crap and was happy. But the galaxy apps app keeps finding a way to redownload itself. Tried to go through settings and turn off auto update And everything. Anyone have any tips??
I'd be interested to know if there's a workaround to this as well. Once I know for sure we can get rid of the bloatware I may jump back on the S6 bandwagon.
Isn't there a way to remove the download list app from the Play Store so that they don't redownload automatically?
Sent from my iPhone 6 Plus using Tapatalk
On the G3 there was a folder which had a list of apps it would download no matter what, wonder if the S6 has something similar?
Did you reboot your phone after uninstalling?
Even without rebooting it does it. Play store auto update and everything is off. I did notice in kinguser after deleting things there are files that show up at bottom of the uninstall list. File names like com.Flipboard or com.shealth its weird files for the apps that were uninstalled. And even deleting those from list they just show up again. I'm going to look around file explorer see if I can find anything.
Samsungs S Health app is another one that won't delete. Found the com. Folder with file in it. But says can't delete. This is with root access. Maybe we just need to flash a whole new ROM. I'm sure cynagen working on one
maybe try using sdmaid, it uninstalls well for me
What are you using to uninstall? I see you said Kinguser so I'm assuming not using Titanium Backup. Try to get supersu instead
I tried a couple times to make SuperSU the main app but even following the directions in the ping-pong root thread I just can't seem to make SuperSU work for some reason
Hi, may you can install an "Root explore", then just go to /system/app and directly remove apk files of those annoying apps from your ROM.
**CONTINUE AT YOUR OWN RISK**
**I ASSUME YOU KNOW HOW TO SAFELY NAVIGATE /SYSTEM & ADJUST FILES AND THEIR PERMISSIONS**
This is a write up on how to install and use the stock Google Phone app.
Yes there are simpler ways to achieve something similar. There are a few developers on xda who have patched the Google Phone app so you don't have to do the following.
I personally enjoys the harder things in life. Along with just jumping on Apkmirror and installing any new updates to the phone app without waiting for someone to patch it.
Google Play Store won't allow you to find or update (as far as I know) the Google Phone app unless your phones identifies itself to the store as a pixel. If you did manage to get your hands on the apk it'll fail to install.
(I've seen a few magisk modules that will work)
However thanks to Apkmirror and the opengapps GitHub you could get around this.
First you need to get the files that the Google Phone app requires to be within the /system partition.
com.google.android.dialer.support.xml
com.google.android.dialer.support.jar (I use API 27)
The .xml goes in /system/etc/permissions with root permissions and the .jar goes in /system/Framework also with root permissions.
So either use your favorite root file manager, TWRP, adb, and place the files in their respective location and adjust the permissions. I personally either use TWRP or adb and adjust the permissions via the chmod 0644 command on the files.
Once you have verified the files are where they belong and have the correct permissions. Install the apk, set it as the default phone app and enjoy. (Adjust all permissions to your liking)
https://github.com/opengapps/all/tree/master/
View the code and find the files.
Thank you GitHub, Opengapps, and who ever uploads the files to Apkmirror.
Information I gathered over the years and random old xda threads. Also serves as a post I can reflect back on two months from now when I forget again.
ENJOY and don't do something if you don't understand, accept responsibility for your own actions because I won't for you. Go explore the wonders of learning Linux, and have plenty of backups to fix your non fatal mistakes.
It works great, thanks!
Tachi91 said:
**CONTINUE AT YOUR OWN RISK**
**I ASSUME YOU KNOW HOW TO SAFELY NAVIGATE /SYSTEM & ADJUST FILES AND THEIR PERMISSIONS**
This is a write up on how to install and use the stock Google Phone app.
Yes there are simpler ways to achieve something similar. There are a few developers on xda who have patched the Google Phone app so you don't have to do the following.
I personally enjoys the harder things in life. Along with just jumping on Apkmirror and installing any new updates to the phone app without waiting for someone to patch it.
Google Play Store won't allow you to find or update (as far as I know) the Google Phone app unless your phones identifies itself to the store as a pixel. If you did manage to get your hands on the apk it'll fail to install.
(I've seen a few magisk modules that will work)
However thanks to Apkmirror and the opengapps GitHub you could get around this.
First you need to get the files that the Google Phone app requires to be within the /system partition.
com.google.android.dialer.support.xml
com.google.android.dialer.support.jar (I use API 27)
The .xml goes in /system/etc/permissions with root permissions and the .jar goes in /system/Framework also with root permissions.
So either use your favorite root file manager, TWRP, adb, and place the files in their respective location and adjust the permissions. I personally either use TWRP or adb and adjust the permissions via the chmod 0644 command on the files.
Once you have verified the files are where they belong and have the correct permissions. Install the apk, set it as the default phone app and enjoy. (Adjust all permissions to your liking)
https://github.com/opengapps/all/tree/master/
View the code and find the files.
Thank you GitHub, Opengapps, and who ever uploads the files to Apkmirror.
Information I gathered over the years and random old xda threads. Also serves as a post I can reflect back on two months from now when I forget again.
ENJOY and don't do something if you don't understand, accept responsibility for your own actions because I won't for you. Go explore the wonders of learning Linux, and have plenty of backups to fix your non fatal mistakes.
Click to expand...
Click to collapse
You could use Magisk an PIX3LIFY module, it should do all that for you...
Anyway, does Google Phone work just fine without any crash? Because I have Android Oreo 8.0 on my HTC 10 and I've tried to get Google Phone working but it crashes when you give contacts permissions and access your call history or the dialer keypad. Do you not have these problems on your U12+ with Android Oreo 8.0?
rfgamaral said:
You could use Magisk an PIX3LIFY module, it should do all that for you...
Anyway, does Google Phone work just fine without any crash? Because I have Android Oreo 8.0 on my HTC 10 and I've tried to get Google Phone working but it crashes when you give contacts permissions and access your call history or the dialer keypad. Do you not have these problems on your U12+ with Android Oreo 8.0?
Click to expand...
Click to collapse
Works fine for me, no issues.
In the past ive seen it crash from either wrong file permissions or incorrect framework or xml file.
I changed phone and It works great on the Rog Phone too. No crashes at all.
Hi. Newbie here. Want to install the Google dialer on wife's HTC U12+ but the link is dead? Any assistance would be greatly appreciated. Happy wife happy life?
Hi, I use root in all my devices from a lot of time but now I'm 41yo and no more interested in this.
I use root "now only" for
1) call recording (BCR);
2) SwifthBackup;
3) Revanced.
So, call recorder seems to be installed also without root: just put apk in system app directory!
... but, how I can move an apk in system directory without root or twrp, and with locked bootloader?
SwifthBackup can work without root? I don't remember but I can search.
Revanced isn't a problem, I can use with microG.
----
Any help about my doubts?
I want try also because VPN not work, and after a months of email with support "seems" can be related to unlocked/rooted device.
I want just try.
Ty.
Without root, Swift Backup can backup app APK files, but not the app data. It does allow you to grant adb permissions through Shizuku, but I never figured out what [if anything] that allows it to do. I wasn't able to backup app data with ADB privelages.
I don't know the answer to the Call Recording issue.
lupastro82 said:
Hi, I use root in all my devices from a lot of time but now I'm 41yo and no more interested in this.
I use root "now only" for
1) call recording (BCR);
2) SwifthBackup;
3) Revanced.
So, call recorder seems to be installed also without root: just put apk in system app directory!
... but, how I can move an apk in system directory without root or twrp, and with locked bootloader?
SwifthBackup can work without root? I don't remember but I can search.
Revanced isn't a problem, I can use with microG.
----
Any help about my doubts?
I want try also because VPN not work, and after a months of email with support "seems" can be related to unlocked/rooted device.
I want just try.
Ty.
Click to expand...
Click to collapse
I imagine that, once you move that .apk to the system app directory (while rooted), once you unroot, it should still stay there and probably be accessible; but I'm unsure whether successfully running it will be possible -- it depends on the call recording app and if the app requires root to run. If it doesn't and it simply needs root just to be inserted, then I imagine it would probably work if you unroot.
But I have never heard of this method of getting a mod or add-on to work by inserting it in the system app directory...it's fascinating...
Like you said, ReVanced doesn't necessarily need root to work; it just works better with it. Swift Backup will only in a basic way be able to back your device up without root access.
But if you are simply just trying to get a certain VPN to work -- and in the end you don't want to lose root -- you could try doing the numerous root-hiding methods. There are many games, banking apps, and streaming apps that won't work with root (without even giving you a warning that it's because of root detection sometimes) that, once you hide root successfully, are able to run it. It sounds like that could possibly be the case for your VPN.
There are these you can try (if you haven't yet); Zygisk Deny List, UniversalSafetyNetFix (Displax mod works best with P7P), Shamiko, HideMyApp, Magisk Delta, etc.
Also, please be aware (or reminded if you know already) that while unrooting will not wipe and reset your device, locking your bootloader requires wiping the device and you losing everything! You'll be able to get some stuff restored through Google One Backup/Sync, but most everything will need to be set back up and/or lost. And if all you are seeking is to get a VPN to work, I really highly doubt that the app/service goes so far as to detect if you have an unlocked bootloader; it seems there are some banking apps that go that far, but most apps out there don't go that far, and hearing a VPN does would be a first...
Good luck!
Just Google VPN. Do not work anymore from about two months and seems can be a root/unlocked issue.
Anyway, u're right. Ty so much.