Page 1
Page 1
Started By
Message

Having trouble with adaway and android 7? this will solve it

Posted on 9/9/16 at 1:16 pm
Posted by CAD703X
Liberty Island
Member since Jul 2008
77829 posts
Posted on 9/9/16 at 1:16 pm
First if you run into "merging host files failed" message, don't CHANGE ANYTHING with adaway.

Instead go to the play store & download "terminal emulator for android".

Launch it

Type

quote:

su -


And SuperSU dialog will pop up prompting you to grant this access. Say OK.

Next type each of these (hit RETURN after each line):

quote:

mount -orw,remount /system
rm /system/etc/hosts
ln -s /su/etc/hosts /system/etc/hosts
mount -oro,remount /system


Go back to adaway and run it again. This time the host file building/merging will work.

DO NOT CHANGE THE HOST FILE LOCATION IN ADAWAY.

I'm sure eventually a new version of adaway will come out that avoids this, but this is the quickest/easiest way to get it running.



Reinstalled Android 7 3x today and this worked every time so I feel confident it will work for you.

(note cad sure as hell didn't come up with this, the adaway github forum is where I stole this trick from)
This post was edited on 9/9/16 at 1:17 pm
Posted by Hu_Flung_Pu
Central, LA
Member since Jan 2013
22148 posts
Posted on 9/9/16 at 8:18 pm to
How ya liking 7? I'm still on 6 until pure Nexus comes out with 7
Posted by UltimateHog
Oregon
Member since Dec 2011
65734 posts
Posted on 9/9/16 at 8:19 pm to
Have they still not released the factory image?

ETA: Yep, yesterday. About damn time.
This post was edited on 9/9/16 at 8:20 pm
Posted by Givens
Member since May 2016
740 posts
Posted on 9/9/16 at 9:59 pm to
Dang. We have root already?
Posted by CAD703X
Liberty Island
Member since Jul 2008
77829 posts
Posted on 9/10/16 at 9:08 am to
quote:

Dang. We have root already
wouldn't have installed it otherwise
Posted by Givens
Member since May 2016
740 posts
Posted on 9/10/16 at 9:56 am to
What's the easiest way to keep up with updates on rooted stock? Root/unlock kills OTA, right? I'm used to dirty flashing for custom ROMs.
Posted by CAD703X
Liberty Island
Member since Jul 2008
77829 posts
Posted on 9/10/16 at 9:20 pm to
quote:

What's the easiest way to keep up with updates on rooted stock? Root/unlock kills OTA, right? I'm used to dirty flashing for custom ROMs.
I'm still old school tortured by PCs so I just use WUG to do a factory reset and update every few months.

Keeps the phone super fast and battery life improves and half the crappy apps I installed but never use go away again.

I know that doesn't work for everyone but my phone always seems to get sluggish after awhile and s factory OS update solves that problem every time.

Eta yes I have to balance the hassle of root and losing OTA with the apps that require it. AdAway is one of those things that once you're used to it you can never be happy without it.
This post was edited on 9/10/16 at 9:23 pm
Posted by Givens
Member since May 2016
740 posts
Posted on 9/10/16 at 10:09 pm to
quote:

AdAway is one of those things that once you're used to it you can never be happy without it.


Yeah, installed N today without root for the moment. Ads are definitely obnoxious, particularly on certain message boards that shall remain unnamed. I wouldn't mind paying for certain apps, like Sync for Reddit,to avoid ads, but there's no getting away from them in Chrome or other apps.
This post was edited on 9/10/16 at 10:15 pm
Posted by Venelar
The AP
Member since Oct 2010
1134 posts
Posted on 9/10/16 at 10:19 pm to
quote:

What's the easiest way to keep up with updates on rooted stock? Root/unlock kills OTA, right? I'm used to dirty flashing for custom ROMs.





Learn to use fastboot. A ROM upgrade takes 3-4 mins every month when they do the security updates.

For example: download and unzip ROM from Google into a folder with adb/fastboot stuff in it.

Fastboot flash system
Fastboot flash vendor
Fastboot flash radio/bootloader/whatever else needs updating.

Really easy. There is a great thread on XDA with basic fastboot guide
This post was edited on 9/10/16 at 10:22 pm
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram