Adaway fails to update - Nexus 6P Q&A, Help & Troubleshooting

I have read that a lot of people have got adaway to work on the nexus 6p however when I try to update the host files it falls. Any help would be much appreciated.

Clear app cache and try again.
Sent from my Nexus 6P

mo123456789 said:
I have read that a lot of people have got adaway to work on the nexus 6p however when I try to update the host files it falls. Any help would be much appreciated.
Click to expand...
Click to collapse
Are you using the root that keeps system intact? if so, you may need to change the file location to /data had to do this when I had the Droid Turbo.

jawiler said:
Are you using the root that keeps system intact? if so, you may need to change the file location to /data had to do this when I had the Droid Turbo.
Click to expand...
Click to collapse
Not sure which root I'm using. I had to flash the modified boot.img to root.
Where do I change the file location from?

mo123456789 said:
Not sure which root I'm using. I had to flash the modified boot.img to root.
Where do I change the file location from?
Click to expand...
Click to collapse
under preferences, target hosts file and try a different location listed there

jawiler said:
under preferences, target hosts file and try a different location listed there
Click to expand...
Click to collapse
Don't mean to jack the thread, but I am doing this for the first time too. What preferences are you referring to? F-droid?

89titanium said:
Don't mean to jack the thread, but I am doing this for the first time too. What preferences are you referring to? F-droid?
Click to expand...
Click to collapse
preferences in the adaway app itself, there are 3 dots on the upper right corner of the app, select preferences from the drop down menu and then scroll down to the Target hosts file, there are 4 options to choose from. I'm hoping this helps, mine works fine on the default system location, but I'm on the root that does modify the system. I hope I'm making sense

jawiler said:
preferences in the adaway app itself, there are 3 dots on the upper right corner of the app, select preferences from the drop down menu and then scroll down to the Target hosts file, there are 4 options to choose from. I'm hoping this helps, mine works fine on the default system location, but I'm on the root that does modify the system. I hope I'm making sense
Click to expand...
Click to collapse
Thanks. I've tried changing the location to the three different location options but still not luck. Getting another when changing location. This time it says symlink missing. And some info.

mo123456789 said:
Thanks. I've tried changing the location to the three different location options but still not luck. Getting another when changing location. This time it says symlink missing. And some info.
Click to expand...
Click to collapse
unfortunately, I'm not an expert, not sure what else to try. Hopefully someone else will have a suggestion:good:

OP - It must be the way you are rooted.
I'm using AdAway with no issues.

tech_head said:
OP - It must be the way you are rooted.
I'm using AdAway with no issues.
Click to expand...
Click to collapse
Just flashed chroma rom and working perfectly fine.must be an issue with cm13

Related

[HELP] get verizon/protected apps on sprint based roms like aloysius v12?

the title says it all how can i get those types of apps working on roms based on other phones? i have aloysius v12 but i want to use the verizon apps that come in the market but they are not there. is there i fix or patch so i can use skype or something like that?? i installed an APK i backed up but when i install it it says this app is not available for this phone. can someone please help?
Can you pull ur build.prop and attach it to a post here?
TopazAaron said:
Can you pull ur build.prop and attach it to a post here?
Click to expand...
Click to collapse
where and how do i do that?
Working on a fix right now. Gimme a little bit and I'll have it up.
Doesn't jcase's market fix help this kind of problem?
Sent from my FroyoEris using XDA App
snyluc13 said:
Doesn't jcase's market fix help this kind of problem?
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
I ran into this problem too running the Sprint based Fresh rom. While Jcase's Market Fix will fix the problem with missing protected apps, it wont fix the missing Verizon apps.
To do that, I used Root Explorer on my phone and opened the "build.prop" file located in the System folder. Open the file in the included text editor and scroll down to until you see this line:
"ro.cdma.home.operator.numeric"
The correct value for the line should be "310012". Sprint roms will have the value as "310120".
Save the changes and exit. After reboot, check your Market. The right-most tab on the main page will read "Verizon" now instead of "Downloads".
Or flash this handy zip from recovery.
FunkyFender said:
Or flash this handy zip from recovery.
Click to expand...
Click to collapse
thanks ...works great
FunkyFender said:
Or flash this handy zip from recovery.
Click to expand...
Click to collapse
Lol. Where were you when I needed you earlier?
PPCGeek01 said:
Lol. Where were you when I needed you earlier?
Click to expand...
Click to collapse
At work unfortunately. These back-to-back shifts are killing me.
FunkyFender said:
Working on a fix right now. Gimme a little bit and I'll have it up.
Click to expand...
Click to collapse
thanks i really want to use those apps
edit: thanks for the fix, works like a charm
Anyone else having issues with the my Verizon app? Everytime I go into it it states phone number can not be verified
FunkyFender said:
Or flash this handy zip from recovery.
Click to expand...
Click to collapse
I know this is probably elementary, but is there a step by step post anywhere for flashing a zip file?
I just rooted last night and put the first custom ROM on my phone. This is uncharted territory for me. Everything is great so far except for these missing apps.
I tried the root explorer method, but it would only let me read the text, not edit.
EDIT: Ignore this post. GREAT SUCCESS!! Too easy.
PPCGeek01 said:
I ran into this problem too running the Sprint based Fresh rom. While Jcase's Market Fix will fix the problem with missing protected apps, it wont fix the missing Verizon apps.
To do that, I used Root Explorer on my phone and opened the "build.prop" file located in the System folder. Open the file in the included text editor and scroll down to until you see this line:
"ro.cdma.home.operator.numeric"
The correct value for the line should be "310012". Sprint roms will have the value as "310120".
Save the changes and exit. After reboot, check your Market. The right-most tab on the main page will read "Verizon" now instead of "Downloads".
Click to expand...
Click to collapse
Thank you.
I was doing it the hard way - download the app in a HTC/VZW Rom, copy them to SD, restore the Sprint ROM (Aloysius V12) and install.
Looking at them now in the Market.
bftb0
THANKS. This worked great for me.

Accidentally installed "Cracked App"

Hi, I accidentally installed an apk with a name of "cracked app" as described here:
http://www.gfi.com/blog/cracked-android-apps-dabble-in-ad-clicks/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+SunbeltBlog+(GFI+Labs+(OLD))&utm_content=Google+Reader
I have uninstalled it but I fear that it remained on my device and will do things like credentials thief etc. How can I make sure it's gone?
Thanks.
[email protected] said:
Hi, I accidentally installed an apk with a name of "cracked app" as described here:
http://www.gfi.com/blog/cracked-android-apps-dabble-in-ad-clicks/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+SunbeltBlog+(GFI+Labs+(OLD))&utm_content=Google+Reader
I have uninstalled it but I fear that it remained on my device and will do things like credentials thief etc. How can I make sure it's gone?
Thanks.
Click to expand...
Click to collapse
i think it will sufficient to just uninstall it ;
is the icon gone from the app drawer / app menu ?
when you are rooted, you can check the data/app folder for an suspicious entry
Yeah the icon is gone, I'm not rooted...
Thanks for the quick reply BTW
Factory restore will get rid of it
Sent from my Nexus 4 using xda premium
I don't know if there's anything to get rid of and I don't want to do a factory reset without being sure because I have just finished customizing my Nexus 4. Is there any way to check if it still exists?
Hi,
With a file explorer check mainly in /data/data, /data/app and /data/app-lib if there is the app, app package name, or anything related to this app.
Or easier with the file explorer do a search with the app name or a part of the package name.
If there are some files related to the app, delete them (but be sure it's related to this app...).
The only thing I have in /data folder is a log.txt file which contains one line that looks like (X for folders):
../../../X/X/X/X/X/ connect_ads_manager_android.cpp(29):AdsManager::adsmanager w(320) h(48)
[email protected] said:
The only thing I have in /data folder is a log.txt file which contains one line that looks like (X for folders):
../../../X/X/X/X/X/ connect_ads_manager_android.cpp(29):AdsManager::adsmanager w(320) h(48)
Click to expand...
Click to collapse
Are you sure you follow the paths I have indicated?
The log.txt is related to scriptmanager if I'm not wrong.
The paths you mentioned don't exist in my /data folder.. (root path)
You are rooted?
In your file explorer have you an option like "Show hidden files / folders"? If yes activate it.
I am not rooted, I am using File Explorer and I've checked the "hidden files" option.
Where is the data folder located?
[email protected] said:
I am not rooted, I am using File Explorer and I've checked the "hidden files" option.
Click to expand...
Click to collapse
Were you trying to get an app for free? :/
The best thing to do would be a factory reset. That way, you'd have the peace of mind that there is no leftover files remaining on the phone.
MacHackz said:
Were you trying to get an app for free? :/
Click to expand...
Click to collapse
No.
xdviper said:
The best thing to do would be a factory reset. That way, you'd have the peace of mind that there is no leftover files remaining on the phone.
Click to expand...
Click to collapse
What if I've already done a factory reset? Is it possible to do two?
Cracked apps are just paid apps most of the time that people try to get from places like aptoide. It will not hurt your phone just uninstall and you are good to go.
Sent from my SGH-T989 using Tapatalk
richardlibeau said:
Cracked apps are just paid apps most of the time that people try to get from places like aptoide. It will not hurt your phone just uninstall and you are good to go.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
What I have downloaded is a free app that isn't available in the Play Store. Can I check that it has done nothing to my device? It would be a great relief.
[email protected] said:
What I have downloaded is a free app that isn't available in the Play Store. Can I check that it has done nothing to my device? It would be a great relief.
Click to expand...
Click to collapse
Yeah if you must get advanced mobile care or an app like that from the market that checks for viruses and stuff like that
Sent from my SGH-T989 using Tapatalk
Advanced Mobile Care hasn't detected any virus or any app that collects my private data (besides the apps I normally use and know). Am I safe?
[email protected] said:
Advanced Mobile Care hasn't detected any virus or any app that collects my private data (besides the apps I normally use and know). Am I safe?
Click to expand...
Click to collapse
I don't think anyone can say with absolute certainty if you are safe. They can tell you steps to try to see if any remnants are left behind but that's about it. I personally think you should run the flash-all.bat file which comes with the stock image to wipe and clean everything.
xda6969 said:
I don't think anyone can say with absolute certainty if you are safe. They can tell you steps to try to see if any remnants are left behind but that's about it. I personally think you should run the flash-all.bat file which comes with the stock image to wipe and clean everything.
Click to expand...
Click to collapse
Is running the flash-all.bat file better than just going to settings and clicking factory reset?

[Q] Best way to backup wifi passwords?

I have a bunch of wifi access points and passwords that I use regularly, but always lose them when I flash a new ROM. What's the best way to backup these credentials so that I can restore them after flashing a new ROM? I've tried the "WiFi Pass Recovery & Backup" app but it totally bombards you with ads (seriously) and also causes thousands of wakelocks so drains the battery as well (I've had spyware which has been less obtrusive).
I try to avoid syncing my apps and data with my Google account as it takes so long to restore it all (I usually backup apps to my SD card).
Go to system-->misc-->wifi-->wpa_supplicant.conf
Backup this file. It has all the wifi passwords you've ever accessed.
Sent from my GT-I9500 using XDA Free mobile app
DeepankarS said:
Go to system-->misc-->wifi-->wpa_supplicant.conf
Backup this file. It has all the wifi passwords you've ever accessed.
Sent from my GT-I9500 using XDA Free mobile app
Click to expand...
Click to collapse
I don't see a "misc" subfolder in my system (or sys) folder
???
Ill send the exact thing. Sorry for the confusion mate.
Sorry.
Actually i am not rooted as of now. On 4.4.2 and waiting for a knos friendly method.
Sorry brother.
Wait..
I think it is this..
Data/misc/wifi/wifi_supplicant.conf
Sent from my GT-I9500 using XDA Free mobile app
itm said:
I don't see a "misc" subfolder in my system (or sys) folder
???
Click to expand...
Click to collapse
Were you able to figure out?
Thank me if I helped
Sent from my Samsung Galaxy S4 via XDA app.
DeepankarS said:
Go to system-->misc-->wifi-->wpa_supplicant.conf
Backup this file. It has all the wifi passwords you've ever accessed.
Sent from my GT-I9500 using XDA Free mobile app
Click to expand...
Click to collapse
DeepankarS said:
Were you able to figure out?
Thank me if I helped
Sent from my Samsung Galaxy S4 via XDA app.
Click to expand...
Click to collapse
No - I couldn't find a "misc" subfolder in the data folder either I'm afraid
itm said:
No - I couldn't find a "misc" subfolder in the data folder either I'm afraid
Click to expand...
Click to collapse
There is a free app on Google Play called Wifi Key Recovery
Get that. It does all the work for you and shows you the saved passwords in a nice organized layout. You must be rooted for it to work.
Have a link
https://play.google.com/store/apps/details?id=aws.apps.wifiKeyRecovery
Skipjacks said:
There is a free app on Google Play called Wifi Key Recovery
Get that. It does all the work for you and shows you the saved passwords in a nice organized layout. You must be rooted for it to work.
Have a link
https://play.google.com/store/apps/details?id=aws.apps.wifiKeyRecovery
Click to expand...
Click to collapse
Thanks - that looks like a useful app. A backup and restore feature would have been ideal, but in the absence of that this will be useful the next time I reflash a ROM.
Also Titanium Backup pro backup wifi passwords
itm said:
Thanks - that looks like a useful app. A backup and restore feature would have been ideal, but in the absence of that this will be useful the next time I reflash a ROM.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.ryanamaral.wifi.passwords&hl=nl
There are plenty of apps on Google Play that backups / recovers WiFi keys.
Skipjacks said:
There is a free app on Google Play called Wifi Key Recovery
Get that. It does all the work for you and shows you the saved passwords in a nice organized layout. You must be rooted for it to work.
Have a link
https://play.google.com/store/apps/details?id=aws.apps.wifiKeyRecovery
Click to expand...
Click to collapse
Skyriderz said:
https://play.google.com/store/apps/details?id=com.ryanamaral.wifi.passwords&hl=nl
There are plenty of apps on Google Play that backups / recovers WiFi keys.
Click to expand...
Click to collapse
That's the app that I referred to in my original post. It generates more full-screen popup ads than any app I've ever seen, and also causes a massive amount of wakelocks, which take their toll on the battery.
itm said:
That's the app that I referred to in my original post. It generates more full-screen popup ads than any app I've ever seen, and also causes a massive amount of wakelocks, which take their toll on the battery.
Click to expand...
Click to collapse
Yea, I noticed. My apologies.. I attempted to edit my post regarding it, but it appears that I had to wait 5 minutes. Can't you use an app like Lucky Patcher for the app? And or use the WiFi app for backup/restore reasons, and freeze it for future usage.
verny94 said:
Also Titanium Backup pro backup wifi passwords
Click to expand...
Click to collapse
I've just been exploring this. Presumably it's the "Backup data to XML" option? I just tried this for "Wi-Fi Access Points", and chose to save the file locally (to the suggested default location: \storage\emulated\legacy). It seemed to succeed, but when I looked in the \storage\emulated\legacy folder there was no sign of the file.
So I then chose the Dropbox option, and confirmed that the file had been uploaded there. When I tried to restore it using Titanium the app was unable to locate the file - i.e. in the TiBu app I chose "Restore data from XML", navigated to the relevant folder in Dropbox, and it said "No matching files". If I go into the Dropbox app it can see the file no problem.
Am I missing something, or is the TiBu XML backup/restore option flakey??
itm said:
I've just been exploring this. Presumably it's the "Backup data to XML" option? I just tried this for "Wi-Fi Access Points", and chose to save the file locally (to the suggested default location: \storage\emulated\legacy). It seemed to succeed, but when I looked in the \storage\emulated\legacy folder there was no sign of the file.
So I then chose the Dropbox option, and confirmed that the file had been uploaded there. When I tried to restore it using Titanium the app was unable to locate the file - i.e. in the TiBu app I chose "Restore data from XML", navigated to the relevant folder in Dropbox, and it said "No matching files". If I go into the Dropbox app it can see the file no problem.
Am I missing something, or is the TiBu XML backup/restore option flakey??
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1677566
1. Download root file manager
2. Go to with root explorer
/data/misc/wifi/
3.And open "wpa_supplicant.conf"
That's where all your wifi network passwords get saved to
Click to expand...
Click to collapse
I've checked my S4 for that directory (root browsing), I can find it just fine. Haven't tried it further though.
verny94 said:
Also Titanium Backup pro backup wifi passwords
Click to expand...
Click to collapse
Skyriderz said:
http://forum.xda-developers.com/showthread.php?t=1677566
I've checked my S4 for that directory (root browsing), I can find it just fine. Haven't tried it further though.
Click to expand...
Click to collapse
OK that seems to work - thanks. I'll keep a copy of the .conf file on my ExtSDCard and restore it after I flash a new ROM.
itm said:
OK that seems to work - thanks. I'll keep a copy of the .conf file on my ExtSDCard and restore it after I flash a new ROM.
Click to expand...
Click to collapse
The file has information on it? I haven't checked that as I merely checked if the directory and file exists.
Just be careful of what you get. Most of these don't restore passwords. Only some do.
most of these just show you a list of them. The one I linked lets you save that list. But you still ahve to manually re-enter them.
Skyriderz said:
The file has information on it? I haven't checked that as I merely checked if the directory and file exists.
Click to expand...
Click to collapse
Skipjacks said:
Just be careful of what you get. Most of these don't restore passwords. Only some do.
most of these just show you a list of them. The one I linked lets you save that list. But you still ahve to manually re-enter them.
Click to expand...
Click to collapse
Yes the .conf file contains the SSIDs and passwords in plain text format (surprisingly I thought). Anyway it hopefully gives me a way of restoring them to a rooted device if I use Root Explorer.
itm said:
Yes the .conf file contains the SSIDs and passwords in plain text format (surprisingly I thought). Anyway it hopefully gives me a way of restoring them to a rooted device if I use Root Explorer.
Click to expand...
Click to collapse
I had no idea they were stores in plain text. That is pretty odd.

[HOWTO] Enable Auto Rotation for Lock Screen & Launcher

This is a quick walk through for editing the build.prop to allow lock screen and launcher rotation.​
I got tired of looking at my phone sideways while it was propped up landscape wise, in my case.
1. Locate "build.prop" in /system using your favorite file explore
2. Open it up and at the bottom add the lines
Code:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
3. Save your edit and reboot.
Lockscreen rotation still not working for you???
A few users have reported that adding a blank line between the two, fixes this issue.
Once the phone reboots your lockscreen and Google Now launcher will rotate with the orientation of the device just like other apps do.
To undo this, simply remove the lines we added
:good:
Update: 11/10/2015
enigma9o7 Has figured out how to get this to stick even after an update! Head over to his post for the walkthrough and install guide!! Remember to give them a "thanks" for sharing the work!
Awesome I been wondering how to get this done.
Nice tip. I've always just used an app called Ultimate Rotation Control. Seems to work just fine on the Nexus 6. A quick build.prop tweak removes the need for a separate app for it, though. I might get around to trying this...eventually
can someone make a flash able zip for this please ?
thanks in advance
Anybody know how one would do this with adb?
N6
I used an app for quite some time but i disliked it running in the background.
Im not able to make a flashable zip. Maybe in time I will see if i can.
For adb, youd have to pull the build.prop, edit on computer then push it back. The instructions to do that are unclear to me
mrfuzzie23 said:
can someone make a flash able zip for this please ?
thanks in advance
Click to expand...
Click to collapse
You can install Nova Launcher and toggle the setting in there, or use the ultimate rotation app someone else mentioned.
Thx
If you set the DPI to 384 or less, this happens by default.
pavankp said:
If you set the DPI to 384 or less, this happens by default.
Click to expand...
Click to collapse
Thats good to know! Not surprising, the device is most likely changed to "tablet size" to the system. And they have full rotation.
Works great, thanks! (AT&T Nexus 6)
Would not work for me I get error saving
techrider6262 said:
Would not work for me I get error saving
Click to expand...
Click to collapse
Thats not good. What error are you getting?
eqbirvin said:
Thats not good. What error are you getting?
Click to expand...
Click to collapse
It just said error can't save and I tried a couple different time
techrider6262 said:
It just said error can't save and I tried a couple different time
Click to expand...
Click to collapse
gotcha. You are rooted, correct? and if so what file manager are you using to locate the build.prop?
es file explorer and i'm rooted.
in ES file explorer when you grant it root permissions, click on root, then mount R/W, make sure "/system" is RW instead of RO. (sorry if you already know this, im just trying to save time and figure your error out haha)
Thanks I got it working.:good:
Glad to hear it!
to each their own, I like being able to get OTAs so I'll stick with Ultimate Rotation Control

How to delete OTA update file

Hey,
Immediately after I've downgraded from Lollipop to Kitkat, the phone started downloading the Lollipop update (before I was able to disable the auto-update option).
I want to delete that file, but I can't find it. According to many how-tos I've found it's supposed to be in the /cache folder, but it isn't. I've tried searching for "fota" and "n9005" (because most firmware names have that string in it), but didn't find it.
My phone is rooted.
I've also looked at the Software Updater app in Settings/applications/all to try to clear the cache, but it says it only has 12kb cache.
Does anyone have an idea where I could find the file?
Look for it in /data/fota
zlazaar said:
Look for it in /data/fota
Click to expand...
Click to collapse
Perfect, there it was! Thank you so much.
Any idea how to get rid of the update message? It keeps asking to install the update although I've removed the file.
I've read to accept the installation. Then it will reboot, and nothing will happen. But I don't dare doing that. Are there other ways? Or is this method safe?
Thanks!
Freeze the system updater package using Titanium backup.
zlazaar said:
Freeze the system updater package using Titanium backup.
Click to expand...
Click to collapse
Any other options which don't require the need to install extra apps?
Simply rename the package (something like SamsungUpdates.apk.BAK) then reboot.
zlazaar said:
Simply rename the package (something like SamsungUpdates.apk.BAK) then reboot.
Click to expand...
Click to collapse
And isn't that Samsung updater necessary for other things?
No, and in case you face problems, rename it back to .apk
Or, you can go to Settings/Application Manager and disable the Notifications of Google Play Services.
zlazaar said:
Simply rename the package (something like SamsungUpdates.apk.BAK) then reboot.
Click to expand...
Click to collapse
zlazaar said:
No, and in case you face problems, rename it back to .apk
Or, you can go to Settings/Application Manager and disable the Notifications of Google Play Services.
Click to expand...
Click to collapse
And how about the option to click on "install". Will that work to get rid of the notifications, since there is no file anymore to install?
Spir4 said:
And how about the option to click on "install". Will that work to get rid of the notifications, since there is no file anymore to install?
Click to expand...
Click to collapse
Sorry, i can't recommend something i didn't tried myself. But i think you don't risk anything by trying.
zlazaar said:
Sorry, i can't recommend something i didn't tried myself. But i think you don't risk anything by trying.
Click to expand...
Click to collapse
I'll have a look into it a bit further, and I'll let you know if I do it and what its result is.
I've finally gotten the guts to press the "install" button, and it immediately said that OTA updates aren't supported on modified devices. Gone notification, even after reboot. Yay

Categories

Resources