[HDX 8.9] Root, google apps and wallpaper fix - Kindle Fire HDX 7" & 8.9" General

Hi,
I wrote a little script with some nice utilities to customize the Kindle Fire HDX 8.9.
Options available :
Superuser
Remove signature check
Install Google Apps
Fix wallpaper
It runs under Linux, and you need to have java, jar, sed, wget, adb and aapt set up on your computer.
To use it, plug your device and enable adb.
Extract the archive and run hdx.sh in a terminal.
Everything is not perfect, but it seems to work pretty good for me
Thanks to everybody who worked on the tools I use in this script.

Is play store working for downloading
Sent from my SPH-L900 using xda app-developers app

Tanks to cpasjuste tips it is

I know u mentioned Linux us it possible to run this from windows
Sent from my SPH-L900 using xda app-developers app

I have the same question... can we run this script under windows somehow. I already have root, gmail and music working... play store can't connect though... I also used adb to do the wallpaper fix and it says it is applied but nothing seems to have happened. Still no wallpapers anyway. btw, I also have superuser and busybox installed too.

Same question here. Also, can the wallpaper fix be used stand alone and will we be able to have wallpapers on stock launcher? I am on 7“
Sent from beneath my invisibility cloak

Judging by the content of the .sh file, i believe a .bat file can be written to run on windows... however, it would be prudent to do it in a safestrap rom slot, you know, just in case something goes wrong...
Thanks for sharing @Ptiwee !
Ill try manual execution of some of the steps in your guide (most especially on the ones related to DownloadProvider) and see how it goes !
Cheers!

If you want just the wallpaper fix I thought I'd mention my fix still works on the hdx that I designed for the HD, though you may have to install busybox on your kindle first.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app

It should be possible to use it on Windows, though you have to find the equivalent for all programs used inside (especially for sed ...)
I don't have time to care about it before Christmas ...

stunts513 said:
If you want just the wallpaper fix I thought I'd mention my fix still works on the hdx that I designed for the HD, though you may have to install busybox on your kindle first.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
Click to expand...
Click to collapse
Do i have to be rooted?
Sent from beneath my invisibility cloak

Will this allow Amazon Appstore to work?
It doesn't look like it as you've used the same cm10 apks, but I thought it wouldn't hurt to ask before I go through the trouble of trying it out...
Sent from my KFTHWI using Tapatalk 4

Hanzo.Hasashi said:
Do i have to be rooted?
Click to expand...
Click to collapse
You'll need to root before applying the wallpaper fix
Sent from my KFTHWI using Tapatalk 4

I have tried this and after applying the Google Apps 3rd option it rebooted and now its stuck with the kindle fire logo and not coming up anymore
The device answers to adb commands (lists up with adb devices) and reboots with "adb reboot fastboot" and/or "adb reboot recovery"
Although resetting with the recovery to factory defaults doesnt help...
Anyone know whats happening? (I cant afford to send it back to US as I live in Colombia)

Sorry for the double post
Root works, but when trying the signature check (I just went past 1-2-3-4 and 5 without checking for errors I was just too sleepy)
It gives me this:
Waiting for device ...
Pulling files ...
8403 KB/s (3479504 bytes in 0.404s)
335 KB/s (27576 bytes in 0.080s)
5837 KB/s (1083168 bytes in 0.181s)
6180 KB/s (1505152 bytes in 0.237s)
9411 KB/s (10893168 bytes in 1.130s)
6375 KB/s (1398376 bytes in 0.214s)
1422 KB/s (130136 bytes in 0.089s)
4940 KB/s (765056 bytes in 0.151s)
7 KB/s (313 bytes in 0.040s)
1 KB/s (72 bytes in 0.040s)
Deodexing ...
Exception in thread "main" org.jf.util.ExceptionWithContext: services.odex is not an apk, dex file or odex file.
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:111)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:54)
at org.jf.baksmali.main.main(main.java:247)
Editing /com/android/server/pm/PackageManagerService.smali ...
./hdx.sh: line 40: smali/com/android/server/pm/PackageManagerService.smali.new: No such file or directory
mv: cannot stat ‘smali/com/android/server/pm/PackageManagerService.smali.new’: No such file or directory
Recompiling ...
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "smali"
at org.jf.smali.main.main(main.java:174)
./hdx.sh: line 44: jar: command not found
rm: cannot remove ‘smali’: No such file or directory
rm: cannot remove ‘classes.dex’: No such file or directory
Reodexing on device...
7 KB/s (313 bytes in 0.040s)
push: scripts/remove_signature_check/dexopt-wrapper -> /data/local/tmp/dexopt-wrapper
push: scripts/remove_signature_check/odexsign.sh -> /data/local/tmp/odexsign.sh
2 files pushed. 0 files skipped.
70 KB/s (5822 bytes in 0.081s)
Signing and replacing services.odex ...
--- BEGIN 'services.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=6931
--- would reduce privs here
--- END 'services.jar' --- status=0xff00, process failed
20+0 records in
20+0 records out
20 bytes transferred in 0.001 secs (20000 bytes/sec)
Cleaning ...
Done, push any key to continue ...
Click to expand...
Click to collapse
Any ideas why services.odex is not what its looking for? (Maybe someone could upload it?)

Guys, if ANY PART OF THIS FAILS & YOUR DEVICE REBOOTS, IT WILL BRICK THE HDX.
Several people are having issues (maybe running this in a terminal on device or via mnty) that leads to the endless bootloop. This can also occur if there are files left in Dalvik cache from the old download manager & UI.
Use caution & common sense when trying to modify your device. My brother works for Amazon & has told me that they are supposed to start cracking down on device returns this week. If you mess your device up because you don't really know what you are doing (much of this is early developmental stage) there is an increasing chance that you will be stuck with a non-functioning device &/or out several hundred dollars.

Poesini said:
Sorry for the double post
Root works, but when trying the signature check (I just went past 1-2-3-4 and 5 without checking for errors I was just too sleepy)
It gives me this:
Any ideas why services.odex is not what its looking for? (Maybe someone could upload it?)
Click to expand...
Click to collapse
If you are still stuck in bootloop, I can help you. Based on your post, I bricked on purpose & was able to recover. Hit me up, or check out my thread in the HDX General forum section.

GSLEON3 said:
If you are still stuck in bootloop, I can help you. Based on your post, I bricked on purpose & was able to recover. Hit me up, or check out my thread in the HDX General forum section.
Click to expand...
Click to collapse
WOW
FKN WOW
You saved my life man you just saved my life... Followed your guide and now I have my device back again YAY
Thanks a lot man

Jocky & I probably saves 100's of Kaisers back in the WM days. Been a while since I've had time to really get into Android firmware, but I can still piddle with the best of the average, lol...
Glad you are fixed .
Now you can mod the build.prop & start anew if so desired. What I did. Once you've used the exploit, SU is almost garunteed to stay, at least until Amz patches it in an update.
Sent from my Nexus 7 using XDA Premium HD app

Ptiwee said:
Hi,
I wrote a little script with some nice utilities to customize the Kindle Fire HDX 8.9.
Options available :
Superuser
Remove signature check
Install Google Apps
Fix wallpaper
It runs under Linux, and you need to have java, jar, sed, wget, adb and aapt set up on your computer.
To use it, plug your device and enable adb.
Extract the archive and run hdx.sh in a terminal.
Everything is not perfect, but it seems to work pretty good for me
Thanks to everybody who worked on the tools I use in this script.
Click to expand...
Click to collapse
Hi,
I tried to install the Google Apps with the scripts, and now every time I boot up it shows "Kindle is upgrading ...."
After a while it still boot up successfully. But it is taking longer time.
Also, the Google Play store only works for me once after I first reboot. Afterward, it app closes itself right after I click on it.
Reboot does not help.
Did I do anything wrong here? Any idea how I can fix it?
Thanks.

I'm back from Christmas celebrations, sorry ...
As GSLEON3 stated, it is important to use those scripts safely. I put them here for crazy people who know what they are doing
The Kindle update is a known bug, it doesn't disturb me a lot but maybe I'll try to find a solution
For the Google Play store not working, did you disabled the signature check ?

Related

[Q] KFU 0.9.5 not rooting

Is anyone else who picked up one of the new refurb Kindles from Thursday's sale having trouble getting KFU 0.9.5 to actually root and install GApps?
In the last couple steps, it seems it can't complete something. I get the following error:
<idme> write 5002 to offset 0x1000
2183 KB/s (22364 bytes in 0.010s)
mv: can't rename '/system/bin/check_rooted': No such file or directory
<idme> write 4000 to offset 0x1000
Then when you run Install Google Apps / Go Launcher EX, it installs Go Launcher fine, calendar fine, but runs into trouble installing sync and a few other things.
Strange.
I'm having the exact same issue; KFU 0.9.5 is not giving me SU access.
FFF/TWRP are installed, but I fail with the
Please wait...
<idme> write 5002 to offset 0x1000
5459 KB/s (22364 bytes in 0.004s)
mv: can't rename '/system/bin/check_rooted': No such file or directory
<idme> write 4000 to offset 0x1000
Same here, but I installed fff and cwm .
Sent from my Kindle Fire using xda premium
Is it our kindle's or the way we are rooting????
Sent from my Kindle Fire using xda premium
soberarmy said:
Is it our kindle's or the way we are rooting????
Click to expand...
Click to collapse
I don't believe it has to do with anything specific we're doing. I think something changed in 6.3 that is throwing KFU for a loop. I'm not a developer... just a tech nerd... but I think it has something to do with whatever root exploit is in use not being able to assume SU (super user) permissions to copy/change the needed files.
curiousmike said:
I'm having the exact same issue; KFU 0.9.5 is not giving me SU access.
FFF/TWRP are installed, but I fail with the
Please wait...
<idme> write 5002 to offset 0x1000
5459 KB/s (22364 bytes in 0.004s)
mv: can't rename '/system/bin/check_rooted': No such file or directory
<idme> write 4000 to offset 0x1000
Click to expand...
Click to collapse
Are you also trying to do this on one of the refurb KFs from Thursday's sale?
soberarmy said:
Same here, but I installed fff and cwm .
Click to expand...
Click to collapse
Did you try installing CM7 or CM8 after you installed FFF and CWM? I've been tempted to try but after I couldn't get the Google Market/Google Play to work I paused to see if I could figure out why it was failing.
I was able to get Google Calendar installed by unzipping the APK file that it downloaded, copying it files over using USB, and manually installing it.
DPAnyion said:
Are you also trying to do this on one of the refurb KFs from Thursday's sale?
Click to expand...
Click to collapse
Mine is brand new as of a couple days ago.
Same problem, KFU didn't give me SU, also Google Play. Any helps...
I got the kindle from Thursday. Kfu did not work for me. I had to use jcases root method for 6.3, burrito or something. Make sure to follow it exactly. I spent hours trying to get kfu working and even softbricked for a bit.
I used the tools folder from kfu for all of the commands needed. Took 5 min, then did it again to my friends kindle who also got his on Thursdays sale.
I will be on tomorrow for anyone who needs help.
Sent from my Kindle Fire using XDA
DPAnyion said:
Did you try installing CM7 or CM8 after you installed FFF and CWM? I've been tempted to try but after I couldn't get the Google Market/Google Play to work I paused to see if I could figure out why it was failing.
I was able to get Google Calendar installed by unzipping the APK file that it downloaded, copying it files over using USB, and manually installing it.
Click to expand...
Click to collapse
I have not tried to install anything but gapps, Google Calendar did install but i think that sync if not working correctly, and ofcourse market is not working because im not rooted. I have faith that this will be fixed real soon.
Serinety said:
I got the kindle from Thursday. Kfu did not work for me. I had to use jcases root method for 6.3, burrito or something. Make sure to follow it exactly.
Click to expand...
Click to collapse
Do you have a link to this method?
curiousmike said:
Do you have a link to this method?
Click to expand...
Click to collapse
Here you go: http://forum.xda-developers.com/showthread.php?t=1568340
Dasanko said:
Here you go: http://forum.xda-developers.com/showthread.php?t=1568340
Click to expand...
Click to collapse
Did this work for anyone? I have a Fire from the Thurs sale and this isn't working. I upgraded to 9.3 w/o thinking. I first tried KFU 0.9.5 and then jcases' method. When I type this:
adb shell mv /system/bin/check_rooted /system/bin/check_rooted.bak
It says the path doesn't exist.
If I run KFU after jcases' method to install GAPPS it says permission denied like here: http://forum.xda-developers.com/showthread.php?t=1572846&page=2
failed to copy 'apps\system\vending.apk' to '/system/app/vending.apk': Permissio
n denied
failed to copy 'apps\system\GoogleCalendarSyncAdapter.apk' to '/system/app/Googl
eCalendarSyncAdapter.apk': Permission denied
failed to copy 'apps\system\GoogleContactsSyncAdapter.apk' to '/system/app/Googl
eContactsSyncAdapter.apk': Permission denied
For the record: Go launcher installs fine, FFF installs, and so does TWRP.
Serinety said:
I got the kindle from Thursday. Kfu did not work for me. I had to use jcases root method for 6.3, burrito or something. Make sure to follow it exactly. I spent hours trying to get kfu working and even softbricked for a bit.
I used the tools folder from kfu for all of the commands needed. Took 5 min, then did it again to my friends kindle who also got his on Thursdays sale.
I will be on tomorrow for anyone who needs help.
Sent from my Kindle Fire using XDA
Click to expand...
Click to collapse
can you walkthru how you just used the tools folder, i open my tools folder and there's .exe. files etc and not sure where to go from there.
run.bat just crashes for me
Dasanko said:
Here you go: http://forum.xda-developers.com/showthread.php?t=1568340
Click to expand...
Click to collapse
OK, from that I got to this:
http://forum.xda-developers.com/showthread.php?t=1569298
I guess I just flashed my ROM for the first time.
Root explorer now asks me to access as SU, so it seems to be working.
I just got a refurb one too and adb can't see it, even though it is listed in device manager as adb composite interface. Kindle Water can see it on my Mac, but that can't root this software version yet. Quite frustrating!
Sent from my Galaxy Nexus using XDA Premium HD app
have you tried rooting with 0.9.4. I was running 6.3 on a new kindle and it rooted and installed twrp just fine.
Ya its not adding SU app but I didnt need it since I went straight to CM7. Root, FireFireFire and TWRP all went without a hitch.
jocampbe said:
I just got a refurb one too and adb can't see it, even though it is listed in device manager as adb composite interface. Kindle Water can see it on my Mac, but that can't root this software version yet. Quite frustrating!
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
I had to install the drivers the long way for ADB to work. I got these links off Google and they worked with 2 PCs.
http://www.jayceooi.com/2011/12/13/how-to-install-setup-android-sdk-development-environment/
http://www.jayceooi.com/2011/12/13/how-to-install-kindle-fire-adb-usb-driver/

Kindle fire firmware 6.3 broke android market?

I've successfully rooted and done a lot of stuff on my kindle fire running firmware 6.3 but for some reason the android market gives me this error
"the application Market (process com.android.veding) has stopped unexpectedly. Please try again.
I've been trying to get apps from manually navigating to the android market over the browser but all that does is show up as installe on the market but there's no notification nor Downloads for my kindle:
Jamesrulez1 said:
I've successfully rooted and done a lot of stuff on my kindle fire running firmware 6.3 but for some reason the android market gives me this error
"the application Market (process com.android.veding) has stopped unexpectedly. Please try again.
I've been trying to get apps from manually navigating to the android market over the browser but all that does is show up as installe on the market but there's no notification nor Downloads for my kindle:
Click to expand...
Click to collapse
Did you mount the system/app as r/w then change in back to r/o when you installed market/play store?
Sent from my Kindle Fire using Tapatalk
Maybe reinstall the market see what happens or clear data and cache maybe it will prompt you to login again a hopefully that will fix your error
shravbits said:
Did you mount the system/app as r/w then change in back to r/o when you installed market/play store?
Sent from my Kindle Fire using Tapatalk
Click to expand...
Click to collapse
I have no idea what that is all I did was install it by downloading the 2 apk files and installing them.
Thepooch said:
Maybe reinstall the market see what happens or clear data and cache maybe it will prompt you to login again a hopefully that will fix your error
Click to expand...
Click to collapse
Ive tried reinstalling on multiple occasions including newer and older market Apo.
Jamesrulez1 said:
I have no idea what that is all I did was install it by downloading the 2 apk files and installing them.
Ive tried reinstalling on multiple occasions including newer and older market Apo.
Click to expand...
Click to collapse
In Kindle Fire Utility 'Extras' section there is an option that says 'Mount system/app' and one that says 'Install Google Apps/Market'
NOTE: You use the mount option for manual play store installation and the install google apps for easy/automated installation (works best on KFU 0.9.4)
Sent from my Kindle Fire using Tapatalk
shravbits said:
In Kindle Fire Utility 'Extras' section there is an option that says 'Mount system/app' and one that says 'Install Google Apps/Market'
NOTE: You use the mount option for manual play store installation and the install google apps for easy/automated installation (works best on KFU 0.9.4)
Sent from my Kindle Fire using Tapatalk
Click to expand...
Click to collapse
I have 0.9.5 right now and in the extra's the only thing that's close to being that would be "Install google apps/ Go launcher EX" I have installed it before but then downloaded apk's for vendor.apk and installed that over it. Now after trying it again i get a log list of errors saying the files already exist.
***********************************************
* Apps Installer *
***********************************************
apps.zip has been found.
Skipping download...
rm failed for /system/app/Facebook.apk, No such file or directory
1632 KB/s (2238785 bytes in 1.339s)
pkg: /data/local/tmp/GoogleServicesFramework.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
3148 KB/s (3730612 bytes in 1.157s)
pkg: /data/local/tmp/com.gau.go.launcherex-1.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
2689 KB/s (4023889 bytes in 1.461s)
pkg: /data/local/tmp/com.facebook.katana-1.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
2358 KB/s (4408080 bytes in 1.825s)
pkg: /data/local/tmp/com.google.android.apps.googlevoice-1.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
2559 KB/s (8054357 bytes in 3.073s)
pkg: /data/local/tmp/com.google.android.apps.plus-1.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
2416 KB/s (47023 bytes in 0.019s)
pkg: /data/local/tmp/SyncSettings.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
1721 KB/s (327980 bytes in 0.186s)
pkg: /data/local/tmp/Calendar.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
failed to copy 'apps\system\vending.apk' to '/system/app/vending.apk': Permissio
n denied
failed to copy 'apps\system\GoogleCalendarSyncAdapter.apk' to '/system/app/Googl
eCalendarSyncAdapter.apk': Permission denied
failed to copy 'apps\system\GoogleContactsSyncAdapter.apk' to '/system/app/Googl
eContactsSyncAdapter.apk': Permission denied
***********************************************
* All Done! *
***********************************************
That's all folks. Our apps have been installed.
Press any key to continue . . .
Bump still looking for help. My kindle is bad without it lol.
Jamesrulez1 said:
Bump still looking for help. My kindle is bad without it lol.
Click to expand...
Click to collapse
its strange how it keeps telling you all already exists but nothing works have you thought about flashing another from James? If I had to recommend one it would be this one http://forum.xda-developers.com/showthread.php?t=1390773 I use it dedicatedly works flawless for me after you flash the rom you flash g apps in the thread walla market issues solved other than that its telling you they are installed
Thepooch said:
its strange how it keeps telling you all already exists but nothing works have you thought about flashing another from James? If I had to recommend one it would be this one http://forum.xda-developers.com/showthread.php?t=1390773 I use it dedicatedly works flawless for me after you flash the rom you flash g apps in the thread walla market issues solved other than that its telling you they are installed
Click to expand...
Click to collapse
Hmm i'll try it i'll update later to let you guys know.
I did my first root this morning using KFU and ran into the same problem. I could not get mount access to get google market installed. It was always denied, even when I mounted first in KFU.
This thread: http://forum.xda-developers.com/showthread.php?t=1569298 states that there is a new /system/bin/check_rooted binary. I assume this is what is blocking us from mounting the app directory in order to install the market. I tried the secured rom there (probably should have done the unsecured), and still didn't have access to mount.
Instead, I booted into twrp, and installed http://forum.xda-developers.com/showthread.php?t=1439916. It says you do not need to wipe first, but I did anyways. After booting back in, google play showed up already installed in the apps. I logged in and downloaded mobo player to test it out, and no problems.
shravbits said:
Did you mount the system/app as r/w then change in back to r/o when you installed market/play store?
Sent from my Kindle Fire using Tapatalk
Click to expand...
Click to collapse
Ok ive found out how to do that now. It worked and then when I tried to download a new app it crashed with the same error and now wont open up at all
I have been having similar problems, I got to load into the google play store app once and then tried to download something and got the force close error. Since then I have uninstalled it multiple times and reinstalled and have never gotten it to work.
Also I am having some issue changing the permissions in the folders, I change the permissions then navigate to a different folder and when I come back the permissions are back to the original setting.
Help would be great.
Carlos
Bump.my kindle fire is now a brick because I'm on au ans cant use the normal kindle fire store.

(OUTDATED) Nook HD+ root, modified 2/15/13 RIP

THIS METHOD IS NO LONGER WORKS as of update version 2.0.5 and higher.
Please visit this thread instead for the current rooting method.
Posting in this thread will get you nowhere, let it RIP.
ANNOUNCEMENT:
If you have a new Nook HD/HD+ and want to root and get the GAPPS running, you should follow the guide at the All-in-One thread instead. That said, I won't copy all the information here to there, so you should continue to read on.
Let me start by saying that I didn't come up with the working root method. The original root instruction came from verygreen in this thread. And I am not a developer, I merely have a few linux background and even less so in the Android. I worked on this on my spare time by myself.
I merely take what was working, but unusable to make it usable. I found something that he is missed. This may actually be working on Nook HD (non-plus) also, but since I don't own one I can't say that it will.
Disclaimer:
If something gone wrong, it's all your fault. I take ZERO responsibility for what happen to your device, your life, your wife/husband, your kids, your unborn child and etc. You get the idea.
Background:
When I found out the root doesn't actually work past a reboot, I start looking what actually cause the Nook to be pissed and factory reset itself. Well, it seem that the /system and anything in there is basically coming from a /dev/block/mmcblk0p8 And if something got change, Nook get pissed and do a FULL FACTORY RESET(I'll explain in a moment). Well, at least I start investigated under that idea.
What I found:
What I found, or at least what I think I found is that, probably just adding file, or increase in the size(maybe there is a threshold for this), will cause it to do a full factory reset. What I also found is that there is a $PATH for /system/sbin but not pointing to anywhere. So I come up with the idea of making another ext4 file system in a file and loop mount it to /system/sbin I guess that work(very well). What I also found is that, there are two kind of factory resets. The one that you perform yourself, which is actually not a full factory reset and the one that Nook get pissed and do the full one.
A factory reset that you perform yourself, whether from the GUI or button combination will basically clean the partition /data while a full blown one will basically restore other partition such as /system
What is included:
basically a zip file, inside that zip file are 6 files.
boot_complete_hook.sh.bak this is basically a modified version of verygreen's
busybox & su are basically from his thread
superuser.apk well I found this one floating around and seem like a good idea to stick it in there (not even sure if it gonna work w/ Nook)
makeroot.bat this is basically what do most of the work. It's base on verygreen original rooting instruction.
sbin_mount This is basically an ext4 file system which have su and another version of busybox all setup nice and tidy for you all. This version of busybox is 1.20.2r2 which I grabbed from here.
Prerequisite:
ADB, it's your responsibility to have adb up and running, meaning not just have it install, but it can see your nook also.
leapinlar wrote a post to help you getting ADB to work here.
Now to get root:
all you have to do is unzip it and run makeroot.bat (obviously you run this in windows command prompt). Yub that's all. The batch file will do the rest, including reboot the nook and wait for it to reboot and stuff. Won't make a coffee for you though.
The manual and hard way:
well, I will only explain this in a summarize way. Basically this start with verygreen rooting method. It basically take advantage of the exploit and run /data/boot_complete_hook.sh which you adb push yourself(with correct permission) with root privilege. What you can run in there is basically up to your creativity. So obviously in this case, you mount the sbin_mount as an ext4 filesystem in the /system/sbin You can make this file yourself if you want to, in linux using dd and mkfs command. Basically using dd to create a file volume to the size you want and mkfs to format it to ext4. Mount it and start uploading stuff you want in there. You will have to correct all the file permission as well. Since all of this will be mounted to /system/sbin you should be aware what you gonna put in there. I guess I could make this thing 100MB, but for this specific purpose 10MB is enough. I my case, just the su and busybox and the symbolic links for the busybox. I'm doing this for the long term. I'm too lazy to point to busybox everytime I wanna do something.
What to do afterward:
Now that you have root, you can Enable Unknown Source to allow you to install app from within the device and install GAPPS. Follow the two guides below if you interested.
Enable Unknown Source: Again, I make an easy little tool for you here.
GAPPS: here.
Did I missed something:
Well, as I said I'm no coder so if I didn't do a clean job, you can refine it. If I didn't document or give proper credit, then I guess I missed that. Sorry about that, again I'm no coder and never done this. And finally:
If this thing work for you, feel free to hit that "THANKS" button. I spent many hours trying to come up with this solution.
FAQ:
Q: My so and so application when attempting to have root access get freeze up, or superuser doesn't work?
A: Well, I'm not sure if this is dued to how the Nook side-loading work or not, but it seem for some reason superuser won't start by itself. So you have to start it manually the first time.
Q: I type in "adb root" and I can't get in as root, it doesn't work?
A: yes it does, it's just not working with adb root. You can get in via "adb shell" once you get in, type in "su" and you can see that you now should have root access.
Thank you so much! This works perfectly. Survives reboot.
here's the Linux version.
Thanks someone0 for getting this started.
Haven't fully tested the linux version, but it loads and starts up, so should work.
extract, and open up terminal and navigate to the dir you extracted to, and type
./makeroot.sh and then enter.
This sounds like a good idea initially.
It is true that the B&N does not just check for /system/xbin/su directly like they did in the past.
This time they check for something else and I just had no time to look into it more deeply to find out what is it they are actually checking for. I plan to figure this out on Friday when I am back home.
Also wanted to tell you that having Linux background is a great thing when tinkering with Android (at a low level, anyway). I don't have much Android background to speak of as well.
This works really well, and thanks to Someone (and mad props too) for getting persistent root working on this.
I may be being very naive, but my suspicion on the reboot is around the manifest file that's present at root.
It seems to be generated by the boot process and it might provide a quick and dirty list of what's permitted on the device to check. With persistent root, lots of investigation becomes a lot less painful. I expect that by end of day we'll have install unsigned running.
Early in my experimenting with the HD+, I noted:
- some versions of the Google Services Framework can be installed via adb
- when I launched the native calendar app after installing gsf, it wanted to sync to a google account, and was able to add the google account
- one version of the Play store installed and launched as far as throwing the 'you must accept the terms of service' before crashing
What BN most likely does is calculating the hash value (or digest, if you prefer) of certain system files that they think shouldn't be tampered with, then during reboot, the values of these files must match, or they will do a factory reset.
The key point is to find out where they do these checks and fool the check.
This sound simple but it depends on how they implement it. If they use binary decisions (like if the hash_value == calculated), then it is easy to get around. If not (e.g. using white box algorithm to hide keys), then it get more complicated.
excellent and very elegant solution. Kudos!
I'm heading out to work, and if you think your theory is right, try poking around with it. Now that your have root, you can try to dd those bootloading partitions out to user area and upload them out to PC and inspect them.
looking at the vold.fstab
Code:
xloader -> /dev/block/mmcblk0p1
bootloader -> /dev/block/mmcblk0p2
recovery -> /dev/block/mmcblk0p3
boot -> /dev/block/mmcblk0p4
rom -> /dev/block/mmcblk0p5
bootdata -> /dev/block/mmcblk0p6
factory -> /dev/block/mmcblk0p7
system -> /dev/block/mmcblk0p8
cache -> /dev/block/mmcblk0p9
userdata -> /dev/block/mmcblk0p10
Be extra careful when touching those partition if you not sure, don't touch them. But making a block copy of them and taking them out should be relatively easy and safe. Obviously you gonna need a Linux box to do this. I setup a VM on one of my PC last night because I need to get a ext4 partition and put all the goodies in there.
krylon360 said:
here's the Linux version.
Thanks someone0 for getting this started.
Haven't fully tested the linux version, but it loads and starts up, so should work.
extract, and open up terminal and navigate to the dir you extracted to, and type
./makeroot.sh and then enter.
Click to expand...
Click to collapse
Just wonder why do use a zip file for the linux version? Wouldn't this kinda messup the permission when compress/uncompress? meaning, makeroot.sh may not have the proper permission when unzip. Please double check.
someone0 said:
Just wonder why do use a zip file for the linux version? Wouldn't this kinda messup the permission when compress/uncompress? meaning, makeroot.sh may not have the proper permission when unzip. Please double check.
Click to expand...
Click to collapse
works just fine.
I chmod a+x'd the script before putting it into the zip.
heh, yeah, it works. Forgot I had my touchpad pluged in and it rebooted it....
whoops.
thanks for posting the location of the /recovery partition. I want to put a copy of htat on ice to prevent BN from undoing any of my work in a future update - I may want some of the fixes they have, but I want to be able to roll them back if needed.
Someone0 are you around can you pm me, Your root works, I installed nook color tools ver .02 in system/app folder and was able to see it in my sideloaded launcher, was able to uncheck/check install non market apps which sets the setting for US to be able to install .apk files from the nook itself, ONLY ISSUE is since I put that file in the system/app folder and the nook didnt like it I got stuck in a bootloop and get to start this process all over again! (nook resetted to ground zero)
maybe we temporary can leave it there get us the permission to install non market apps then remove the file and we will be ok or maybe stuck in another bootloop.
---------- Post added at 09:20 PM ---------- Previous post was at 08:52 PM ----------
GOT IT WORKING NOW:
1. Once rooted, get a file manager with root support and enable read/write permission to /system
2. temporary copy nook tools ver .02 .apk to the system/app folder
3. have a sideloaded launcher and check the app drawer youll see nook tools, run it, first screen uncheck and check the install non market apps box couple of times make sure its checked afterwards
4. have a test .apk to run the BN installer on and see you can now install .apks from the NOOK HD and HD+
5. remove the nook tools.apk file from the system/app folder and quit your file explorer which should reset everything for the system folder back to the way it orginally is!
6. reboot, if you reboot successfully with no boot loop 8 times, your GOLDEN FOR NOW! once again load up a file manager go select an .apk file and see you can now install it! Next step is trying to get amazon market working! then google somehow, but for google you need files in system/app folder permanently!
7. YOU CAN NOW SUCCESSFULLY DOWNLOAD .APK FILES through web, email, any other app and install through the NOOK HD or HD+ BN installer for .apk files. Watch what you install, if it gets put into /system or /system/app folder DREADED BOOT LOOP which resets everything! AMAZON MARKET WORKS!!!! and apps from there install fine to the BUILT IN MEMORY.
** Hopefully amazon market dont install stuff to the system/app folder and if it does hopefully you do not get the dreaded boot loops where you got to start this whole process over again so be forwarned!!! you will loose all data on NOOK HD and HD+ if u get stuck in the bootloops! BACKUP STUFF before messing with root and this kind of thing! DEVELOPMENT!
Aside from moving the actual apk to /system/app/ temporary (since you only do it once), putting a symbolic link there may work also without creating a reset loop. But can't you just side load the apk and run it in other folder?
someone0 said:
Aside from moving the actual apk to /system/app/ temporary (since you only do it once), putting a symbolic link there may work also without creating a reset loop. But can't you just side load the apk and run it in other folder?
Click to expand...
Click to collapse
when you sidelaod it OR install or have it installed to another folder or ran from another folder it cant modify the setting to allow non market apps to install!!
has to be in the /system/app folder THEN RAN from app drawer then you can set the setting uncheck and check box quit program and for now YOU HAVE to remove the .apk from the system/app folder and then you can reboot and the setting sticks! I GOT AMAZON MARKET INSTALLED right now installing apps! NOW WE GOT A KINDLE ladys and gentleman!
Amazon apk installs in internal memory. Apps downloaded from Amazon get installed in internal memory. You can then move them to SD card or leave them in internal memory. System apps are provided in the ROMs by the developers or vendors. ALWAYS back up before making system changes.. Now rooted - use Titanium Backup. System/app should be static throughout ROM lifecycle unless modified by user.
skyhawk21 said:
7. YOU CAN NOW SUCCESSFULLY DOWNLOAD .APK FILES through web, email, any other app and install through the NOOK HD or HD+ BN installer for .apk files. Watch what you install, if it gets put into /system or /system/app folder DREADED BOOT LOOP which resets everything! AMAZON MARKET WORKS!!!! and apps from there install fine to the BUILT IN MEMORY.
** Hopefully amazon market dont install stuff to the system/app folder and if it does hopefully you do not get the dreaded boot loops where you got to start this whole process over again so be forwarned!!! you will loose all data on NOOK HD and HD+ if u get stuck in the bootloops! BACKUP STUFF before messing with root and this kind of thing! DEVELOPMENT!
Click to expand...
Click to collapse
This is why I put the /system back to ro, at least that is what I think I did.
Amazon Store working on ROOTED Nook HD
Proof of Concept:
http://youtu.be/wCyd730L74Y
skyhawk21 said:
Proof of Concept:
http://youtu.be/wCyd730L74Y
Click to expand...
Click to collapse
LOL, your internet is slow. Could have cut the video time by 1/2 if not 2/3 if you switch to faster ISP.
skyhawk21 said:
Someone0 are you around can you pm me, Your root works, I installed nook color tools ver .02 in system/app folder
Click to expand...
Click to collapse
What exactly did you install? I cannot find "nook color tools" in Google Play or on APKTOP. Thanks for your hard work!
NEVERMIND! I found the thread that has the link for the app: http://forum.xda-developers.com/showthread.php?t=868366 Thanks again.
does this root method work on Nook HD+2.0.2?
if not how I can downgrade to 2.0.0?

[MOVED] Rooting tutorial - hdx 8.9" 14.3.1.0

THIS POST IS CLOSED, IT MOVED!​
HERE​
Thanks goes to: fi01 for finding the bug, Jcase for making the exploit, slayer615 for making the batch bundle.
File says it has virus
Faznx92 said:
I modified slayer615's batch code to Auto-Root the Kindle Fire HDX 8.9" 14.3.1.0
I can not confirm that this works simply because I don't own the 8.9" hdx. If you get root, please tell me so I can confirm it.
1: Get the adb drivers and install. here
2: Enable adb on the Kindle
3: Connect Kindle to computer, goto Device Manager in Control Panel, Look for the unsupported adb device (if not found safely remove hardware the kindle on the taskbar), Click the unsupported device and click update driver then point it to the android_winusb file in the driver install directory.
4: Download the root14.3.1.0.7z file, unpack
5: Run the runme.bat Follow along. That's it!
At this point you should be rooted. You can now install SuperSU and Busybox on your HDX. If not connecting in the batch file make sure you have the adb drivers installed first! If not root, reply. Remember this is tested to work on Kindle Fire HDX 8.9" 14.3.1.0
Thanks goes to: fi01 for finding the bug, Jcase for making the exploit, slayer615 for making the batch bundle.
Thanks to cdub50 if you wish to remove special offers ads. Here
To block Amazon auto-updates:
Download and install Android Firewall (root required first)
Once installed white list the apps you want wifi to use, open the set custom script option
Enter:
Code:
iptables -A "droidwall" -s 72.21.194.208 -j "droidwall-reject"
iptables -A "droidwall" -s 176.32.195.233 -j "droidwall-reject"
iptables -A "droidwall" -s 72.21.195.233 -j "droidwall-reject"
Hit ok and that should block Amazon from pushing updates to your Kindle HDX
Click to expand...
Click to collapse
can not download zip file keeps saying it has visus
pastordion1 said:
can not download zip file keeps saying it has visus
Click to expand...
Click to collapse
Sorry, I had to switch to xda's file attachment instead of Google drive. Google didn't like the packed adb.exe.
Faznx92 said:
Sorry, I had to switch to Dropbox instead of Google drive. Google didn't like the packed adb.exe.
Click to expand...
Click to collapse
It worked for me. Thanks. Here is what the script showed:
======================================================================
======================================================================
Welcome to Kindle Root Utility (Faznx92 version)
Special Thanks to:
jcase
fi01
======================================================================
======================================================================
WARNING THIS WORKS ONLY WITH KINDLE HDX 8.9" version 14.3.1.0
======================================================================
======================================================================
Please connect Device with enabled USB-Debugging to your Computer!
Device connected. Pushing files...
1673 KB/s (104564 bytes in 0.061s)
36 KB/s (188 bytes in 0.005s)
1658 KB/s (507888 bytes in 0.299s)
Changing permissions...
Executing Exploit (could take some minutes, be patient!)
Hit ENTER to continue
Press any key to continue . . .
Device detected: KFAPWI (JDQ39)
Attempt acdb exploit...
KFAPWI (JDQ39) is not supported.
Attempt fj_hdcp exploit...
Attempt msm_cameraconfig exploit...
Detected kernel physical address at 0x00008000 form iomem
Attempt put_user exploit...
Press any key to continue . . .
Type "su" to check for root!
[email protected]:/ $ su
su
[email protected]:/ #
R1Mike said:
It worked for me. Thanks. Here is what the script showed:
======================================================================
======================================================================
Welcome to Kindle Root Utility (Faznx92 version)
Special Thanks to:
jcase
fi01
======================================================================
======================================================================
WARNING THIS WORKS ONLY WITH KINDLE HDX 8.9" version 14.3.1.0
======================================================================
======================================================================
Please connect Device with enabled USB-Debugging to your Computer!
Device connected. Pushing files...
1673 KB/s (104564 bytes in 0.061s)
36 KB/s (188 bytes in 0.005s)
1658 KB/s (507888 bytes in 0.299s)
Changing permissions...
Executing Exploit (could take some minutes, be patient!)
Hit ENTER to continue
Press any key to continue . . .
Device detected: KFAPWI (JDQ39)
Attempt acdb exploit...
KFAPWI (JDQ39) is not supported.
Attempt fj_hdcp exploit...
Attempt msm_cameraconfig exploit...
Detected kernel physical address at 0x00008000 form iomem
Attempt put_user exploit...
Press any key to continue . . .
Type "su" to check for root!
[email protected]:/ $ su
su
[email protected]:/ #
Click to expand...
Click to collapse
Thanks for replying!
Jcase we need to take the boot-loader!:fingers-crossed:
Anybody look at the boot-loader yet?
For the Android Firewall, how do I know it is working? I've added the 3 lines to the "set custom script", I've enabled the firewall, I've applied the rules. When I click on "check now" for system updates, my HDX checks and comes back with no updates found. Shouldn't it fail the check?
It works on my Kindle fire hdx 8.9, but the functions of LBE seem not to be completely opened. And the wrong message: 403 forbidden will appear when I download from web pages. Strange. How to scroll it back?
tianlie said:
It works on my Kindle fire hdx 8.9, but the functions of LBE seem not to be completely opened. And the wrong message: 403 forbidden will appear when I download from web pages. Strange. How to scroll it back?
Click to expand...
Click to collapse
What is LBE?
Faznx92 said:
What is LBE?
Click to expand...
Click to collapse
Look Before Entering??? Heck, I don't know. I'm just thinking out loud. On a more serious note, I used your batch file to root my 8.9 and except for the GAPPS issue I've had no problems. The root process took all of 15 to 20 seconds. Have to admit now I'm curious though.
Faznx92 said:
What is LBE?
Click to expand...
Click to collapse
LBE is a security software. And good news is the problem disappeared after I clean the cookie and connect to another network router. Now, my kindle fire HDX 8.9 is rooted normally. Thanks a lot.
tianlie said:
LBE is a security software. And good news is the problem disappeared after I clean the cookie and connect to another network router. Now, my kindle fire HDX 8.9 is rooted normally. Thanks a lot.
Click to expand...
Click to collapse
That's good to hear. Did it root ok?
Yes. I use another security software which need root. It seems work normally.
if i root with this can i install google play?? if i install google play can i install apps from play store?? can i download apk and just install them as third pary apks?? i know what rooting gives us, im no noob, but im confused as to what rooting gives us with the kindle fire OS. im a first time kindler but have owned and unlocked\rooted many androids before.
any good news on unlockin bootloader???
gutts10 said:
if i root with this can i install google play?? if i install google play can i install apps from play store?? can i download apk and just install them as third pary apks?? i know what rooting gives us, im no noob, but im confused as to what rooting gives us with the kindle fire OS. im a first time kindler but have owned and unlocked\rooted many androids before.
any good news on unlockin bootloader???
Click to expand...
Click to collapse
With this rooting method, you do can install google market(following an additional tutorial). Once you have market installed, you wont be able to install apps through market, you will have to sideload. I have done that and all google apps work with no problem...
sent from my rooted Kindle Fire HDX 8.9
fierce_brake said:
With this rooting method, you do can install google market(following an additional tutorial). Once you have market installed, you wont be able to install apps through market, you will have to sideload. I have done that and all google apps work with no problem...
sent from my rooted Kindle Fire HDX 8.9
Click to expand...
Click to collapse
thanks!! just the answer i was looking for. so without custom roms and the ability root and side load apks how do you rate the kindle fir hdx? mine is in the mail so i havent been able to tinker around with it but the only downside i see with the kindle fire hdx is the fire OS. is that a big draw back??
gutts10 said:
thanks!! just the answer i was looking for. so without custom roms and the ability root and side load apks how do you rate the kindle fir hdx? mine is in the mail so i havent been able to tinker around with it but the only downside i see with the kindle fire hdx is the fire OS. is that a big draw back??
Click to expand...
Click to collapse
It comes down to what you use it for. If you have Amazon Prime, Fire OS is perfect. For me I can care less. I have the HDX 7". I have Hashcode's TWRP recovery installed and made a backup of my ROM and running it from a rom slot. Just waiting to install custom ROM's. The bootloader is still locked and may stay that way for a while. But, with safestrap it adds a boot recovery menu.
Hash is working on porting safestrap to the 8.9" but for now it is ONLY on the 7".
http://forum.xda-developers.com/showthread.php?t=2556677
gutts10 said:
thanks!! just the answer i was looking for. so without custom roms and the ability root and side load apks how do you rate the kindle fir hdx? mine is in the mail so i havent been able to tinker around with it but the only downside i see with the kindle fire hdx is the fire OS. is that a big draw back??
Click to expand...
Click to collapse
How do i rate the kindle fire hdx 8.9 ?
with all my google apps up and working i give it 4 and a half stars out of 5.
the hardware is amazing, the darn thing is ultra thin and overall, is very fast/snappy.
Is the fire OS a big drawback ?
well, the only 3 thing that so far nag me, are
- the fact that you cant bluetooth-pair the tab with another device (my S4 for example) to do Bluetooth tethering.
- The other thing is, at least with my own Bluetooth jaybird x-buds earphones, that when i am listening to music and i turn off the screen, the music starts horribly lagging.
- The darn nav bar prevents me of fully seeing the landscape thumb-keyboard (3rd party app) layout.
So basically, in my case at least, fire OS is nothing more than a small nuisance, which i will get rid of once custom roms make their appearance.
Taking into consideration all efforts provided on these threads to improve/costumize the software capabilities for this device, IMHO, i believe it is a darn good investment.
Faznx92 said:
It comes down to what you use it for. If you have Amazon Prime, Fire OS is perfect. For me I can care less. I have the HDX 7". I have Hashcode's TWRP recovery installed and made a backup of my ROM and running it from a rom slot. Just waiting to install custom ROM's. The bootloader is still locked and may stay that way for a while. But, with safestrap it adds a boot recovery menu.
Hash is working on porting safestrap to the 8.9" but for now it is ONLY on the 7".
http://forum.xda-developers.com/showthread.php?t=2556677
Click to expand...
Click to collapse
so are you saying with safestrap that we can install custom roms sans unlocked bootloader?? and that were just waiting for some custom roms???
thanks!!
wont work on mine
Faznx92 said:
I modified slayer615's batch code to Auto-Root the Kindle Fire HDX 8.9" 14.3.1.0
1: Download the adb driver and install it to your computer.
2: Connect the Kindle to a computer. Then Enable adb on the Kindle in Settings --> Device
3: On your computer goto Control Panel ---> System ---> Device Manager. Look under the Other devices tab. Right-Click Android and click update driver. Then click Browse My Computer. Click Let me pick from a list of device drivers. Scroll down and select Kindle Fire. Hit next until the driver installs.
4: Download the root14.zip file, unpack
5: Run the runme.bat Follow along. That's it!
At this point you should be rooted. You can now install SuperSU and Busybox on your HDX. If not connecting in the batch file make sure you have the adb drivers installed first! If not root, reply. Remember this is tested to work on Kindle Fire HDX 8.9" 14.3.1.0
Thanks goes to: fi01 for finding the bug, Jcase for making the exploit, slayer615 for making the batch bundle.
NOTICE:
If the Hdx is updated past this point Amazon may patch the bug and so you loose root.
To block Amazon auto-updates:
Download and install Android Firewall (root required first)
Once installed white list all the apps you want wifi to use or just all of them, open the set custom script option.
Enter:
Code:
iptables -A "droidwall" -s 72.21.194.208 -j "droidwall-reject"
iptables -A "droidwall" -s 176.32.195.233 -j "droidwall-reject"
iptables -A "droidwall" -s 72.21.195.233 -j "droidwall-reject"
Hit ok and that should block Amazon from pushing updates to your Kindle HDX
THIS IS 100% WORKING ON VERSION 14.3.1.0
Please leave a response how it worked!
-NOTICE- If your browser flags the root14.zip file it is because of the packed adb.exe file.
Click to expand...
Click to collapse
Hi guys, i followed the steps and here's what i get when I run runme.bat. Can someone tell me what i did wrong? thanks.
======================================================================
======================================================================
Welcome to Kindle Root Utility (Faznx92 version)
Special Thanks to:
jcase
fi01
======================================================================
======================================================================
WARNING THIS WORKS ONLY WITH KINDLE HDX 8.9" version 14.3.1.0
======================================================================
======================================================================
Please connect Device with enabled USB-Debugging to your Computer!
'adb' is not recognized as an internal or external command,
operable program or batch file.
Device connected. Pushing files...
'adb' is not recognized as an internal or external command,
operable program or batch file.
'adb' is not recognized as an internal or external command,
operable program or batch file.
'adb' is not recognized as an internal or external command,
operable program or batch file.
Changing permissions...
'adb' is not recognized as an internal or external command,
operable program or batch file.
'adb' is not recognized as an internal or external command,
operable program or batch file.
Executing Exploit (could take some minutes, be patient!)
Hit ENTER to continue
Press any key to continue . . .

How to block ads without root

Since this is a vanilla android phone, the only real modification I wanted was to change the hosts file to block ads. Turns out you can do that without rooting your phone, but you DO need an unlocked bootloader.
After you're unlocked, you'll need the TWRP recovery image:
http://forum.xda-developers.com/nex...recovery-twrp-2-8-7-0-touch-recovery-t3230471
and the flashable hosts file:
http://forum.xda-developers.com/showthread.php?t=1916098
Reboot into the factory bootloader, then into TWRP:
Code:
fastboot boot twrp-2.8.7.0-bullhead.img
Start ADB Sideload in TWRP and push the flashable hosts file:
Code:
adb sideload MoaAB_ADBlocking_12October2015_R4.zip
Reboot, DON'T install superuser when prompted, and you're done! You'll still have the factory recovery, but you will get the device is corrupt message since this changes the system.
There may be an easier way to do this, but just wanted to put it out there if there's anyone else looking to do the same thing.
I seem to lose adb access when I am in TWRP, do I type "adb sideload MoaAB_ADBlocking_12October2015_R4.zip" in the command prompt on my computer or is there a way to type this within TWRP?
The command prompt. I've had driver issues with adb in recovery on some computers, check in device manager and see if it shows up. You may have to update the driver (right click on the phone in device manager) and manually select adb. Not at my computer, so I can't give specific steps, sorry.
Sent from my Nexus 5X using Tapatalk
Yup you were right, driver issues, fixing right now, thanks!
If you use the Amazon app, it will be broken with MoaAB, unless it was fixed.
Seems to work fine, so they must have updated the list.
Sent from my Nexus 5X using Tapatalk
thanks for posting this , will try it soon!
Can I load this if I am on unlocked bl, unencrypted, and rooted?
Yup, then you can just flash it in TWRP. Or use an app like AdAway.
Sent from my Nexus 5X using Tapatalk
Can anyone tell me if flashing this host file will prevent future OTA's from installing successfully?
If so, would saving the original host file as a backup and pushing that back via ADB allow the OTAs?
Thanks!
I can't tell you for sure, but it's certainly a possibility. Having a backup is always a good idea, but there is a flashable stock hosts file in the same thread as the ad blocking file.
Personally, I'll probably just flash the factory system.img when it's time for an update.
Sent from my Nexus 5X using Tapatalk
Rbrowser is a good alternative, if you'd prefer to keep everything stock for updates. Does an excellent job at blocking ads, and very Chrome like.
As an avid flasher and owner of all the Nexus this is the first time I'm trying to go non-root and I was able to find any alternative for ad blocking. I'd recommend you install AdGuard, it blocks websites and apps but it redirects the traffic through its vpn server so Google battery stats will determine it's eating all the juice. This however is simply not true, after extensive use I can still do 3-4hrs SOT, so give it a shot if you want ad blocking non-root.
Since AdAway always did a great job for me, I made a script that grabs all the same sources and builds a single hosts file to push to the phone. You'll need Linux or another UNIX to run it though.
http://www.jimsrandomcrap.com/2015/12/12/ad-blocking-without-root-on-the-nexus-5x/
wow you are the best
beavis9k said:
Since AdAway always did a great job for me, I made a script that grabs all the same sources and builds a single hosts file to push to the phone. You'll need Linux or another UNIX to run it though.
Click to expand...
Click to collapse
:good:
No problem; I'm glad other people find it useful. Maybe I should make a post for it in the development section.
@beavis9k: I followed your tutorial and I was able to push the hosts file to my phone but ads still do not get blocked.
Should there be some kind of a response after applying the "adb shell chmod 644 /system/etc/hosts" command?
If I open the hosts file the only entry is "127.0.0.1 localhost::1 localhost". I guess that isn't correct and the script is not able to grab the sources when I run it.
UPDATE: Solved it. There was a problem with cygwin running the script.
Norlam said:
@beavis9k: I followed your tutorial and I was able to push the hosts file to my phone but ads still do not get blocked.
Should there be some kind of a response after applying the "adb shell chmod 644 /system/etc/hosts" command?
If I open the hosts file the only entry is "127.0.0.1 localhost::1 localhost". I guess that isn't correct and the script is not able to grab the sources when I run it.
UPDATE: Solved it. There was a problem with cygwin running the script.
Click to expand...
Click to collapse
Ahhh... thanks for letting me know. I never did try it under cygwin. I figured it would just work. If the generated hosts file only has localhost in it, I would guess that wget isn't installed with cygwin.
Yeah that was the problem. I forgot the check the "wget" package during the installation of cygwin
After installing the package the hosts file was working as it should :good:

Categories

Resources