Improve Blu R1 HD overall perfomance #root - BLU R1 HD Guides, News, & Discussion

This is what I did
Updated the latest sqlite3 binaries from this thread
http://forum.xda-developers.com/showthread.php?t=2730422&page=12
http://http://forum.xda-developers.com/attachment.php?attachmentid=3930740&d=1478647272
Download here
http://http://www.mediafire.com/download/hfqw8v3snz0hgbn/sqlite3
Extract with esfile explorer
Put Sqlite3 binaries in system/xbin
Reboot
After reboot
You will notice some very good response in overall perfomance browsing loading Pages loading apps facebook twitter
Even watching YouTube vídeos

Can anyone tell me if I did this right?
Should it just look like this: i.imgur.com/F8gUmvI.png

Link is dead?
khyr said:
This is what I did
Updated the latest sqlite3 binaries from this thread
http://forum.xda-developers.com/showthread.php?t=2730422&page=12
http://http://forum.xda-developers.com/attachment.php?attachmentid=3930740&d=1478647272
Download here
http://http://www.mediafire.com/download/hfqw8v3snz0hgbn/sqlite3
Extract with esfile explorer
Put Sqlite3 binaries in system/xbin
Reboot
After reboot
You will notice some very good response in overall perfomance browsing loading Pages loading apps facebook twitter
Even watching YouTube vídeos
Click to expand...
Click to collapse
Is this still available?

Related

Easy Ad-Blocking

First a special thanks to kushdeck for the updated signed hosts
I know many people want to support the devs, if you do then don't apply this little trick.
Many ads are ill placed on videos or other free apps, by following the instructions below, it will eliminate those annoying ads.
Tested on android 2.2 (Phone must be rooted!!!!)
1. Download signed-hosts file below.
2. Place file on root of SD card
3. Reboot into recovery
4. select option to install zip from sdcard
5. Select choose zip from sdcard
6. Find and highlight Signed-hosts.zip
7. install and reboot.
8. Once phone has rebooted go to your favorite app that has ads and enjoy.
Even easier: Download AdFree from the Market.
Just removed ad-free and installed this host file.
EDIT: Seems to be working fine. Good post, thanks.
Will that block ads for the internet to or just apps
internet and apps
Is Ad-free supposed to block app ads as well or is it just less efficient in doing so?
I've noticed Ad-free does fine blocking internet ads, but it's not as great for app adds.
Basically, is this a better alternative to using Ad-free?
I never liked Ad blocking from Apps.
Will this work on 2.1? Has anyone tested it on 2.1?
Android 17 said:
Is Ad-free supposed to block app ads as well or is it just less efficient in doing so?
I've noticed Ad-free does fine blocking internet ads, but it's not as great for app adds.
Basically, is this a better alternative to using Ad-free?
Click to expand...
Click to collapse
AdFree does the exact same thing. It downloads a host file and replaces your current one.
MSmith1 said:
Will this work on 2.1? Has anyone tested it on 2.1?
Click to expand...
Click to collapse
It should, but so does AdFree.
Does ad-free not work on froyo or is it just not available in the ap store for it?
Sent from my PC36100 using XDA App
SharkUW said:
Does ad-free not work on froyo or is it just not available in the ap store for it?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Not only is it in the Market, but it works flawlessly. Search for "AdFree Android."
Neat trick! Before the days of firefox and adblock (plus) for firefox, we used to do the same thing in windows!
Is there a more recent hosts file available than 7/31/2010?
gpz1100 said:
Neat trick! Before the days of firefox and adblock (plus) for firefox, we used to do the same thing in windows!
Is there a more recent hosts file available than 7/31/2010?
Click to expand...
Click to collapse
This is why you should just use Ad Free, lol. It will constantly keep the hosts file up to date. THIS fix is simply a one time manual way to do it, and of course is not self updating lol.
Agreed, but as part of the learning process, I try to do simple things like this manually.
From several threads on here, I compiled enough information to generate a simple dos batch file which makes use of adb. Should be run from a command prompt containing the adb executable.
It's operation is very simple, permit writing to the /system, renames existing hosts to hosts.bak, downloads new one, then change /system permissions to read only.
I called the file hosts.bat
Code:
@echo off
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
adb shell mv /system/etc/hosts /system/etc/hosts.bak
adb shell wget http://209.68.48.119/winhelp2002/hosts.txt -O /system/etc/hosts
adb shell mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Edit: the ip address above is just the resolved numeric equivalent of http://www.mvps.org/
Adfree is great but I have had problems with adfree and 4g. When I have adfree enabled and I try to browse webpages on a 4g connection, most pages won't load properly it will just hand there for a long time and then load the page.... when I disable adfree web browsing on 4g is fine....
DarkManX4lf , I thought adfree was just a front end for something similar to my post above (#14)?
I realize it's a bit more complicated with update checking, but is it doing anything more than that?
Reference post #14 above.
I believe on the evo's with the 3.7 software, the file system should be
/dev/block/mtdblock4, not /dev/block/mtdblock3 .
However, even with this change, something isn't right after changing the hosts file. I get identical results replacing the file in recovery mode vs fully booted.
Epst, debug no longer works (##data#, or ##debug# from the phone screen). It shows loading, but never comes up.
I don't think see how copying the file over can break something. I suspect something else needs to be done to the file system to prevent these functions from breaking. They work properly with adfree, so it must be doing more than the above lines do.
Thoughts?
DarkManX4lf said:
Adfree is great but I have had problems with adfree and 4g. When I have adfree enabled and I try to browse webpages on a 4g connection, most pages won't load properly it will just hand there for a long time and then load the page.... when I disable adfree web browsing on 4g is fine....
Click to expand...
Click to collapse
Same situation here.
Can you provide some specific sites you're having issues with?
I tried 4g here with adfree and didn't run into issues with any of the sites I tried, including several banking ssl sites.
Me too i have issues with adblocking and this mod when i use 4G. Pages do not load fully or correctly. Literally any site.
evo 3.70
running fresh 3.5.0.1

[SCRIPT] Adblock Script and Updater

I put together a small shell script to make it easy for anyone rooted to block ads and check to see if they have the latest version I keep of adhosts. If after checking you do not have the latest, it will download it for you automatically.
What does this script do (in a nutshell):
1) Checks to see if you have the latest version of ad hosts for adblocking from me
2) If you do not have the latest, it will download it for you
3) If you have the latest, it just exits out, no changes
4) Installs the script to your /system/xbin directory so the next time you just have to type:
Code:
su
blockads
and it will run the script for you
How to run this?
Get this if you are using an AOSP ROM:
1) Download it from http://dl.dropbox.com/u/24904191/blockads
Try this if you are using a SENSE ROM (thanks chrootz for the fixes):
1) http://dl.dropbox.com/u/24904191/sense/blockads
*** If you have troubles getting the script to work, try updating your system to the latest version of busybox (stick it in /system/xbin and overwrite the current version of busybox, then change the permissions to 755 and owner and group to root) ***
2) Move it to /data/local/tmp (if you dont have it, create it) from a file explorer with root permissions (must set the system in r/w mode) or from the terminal shell
3) make sure the script has the right permissions by typing:
Code:
su
chmod 755 /data/local/tmp/blockads
in the terminal shell (in the emulator or whatever you use to get to it)
4) run the script by typing
Code:
/data/local/tmp/blockads
5) let it do its thing
After its done you can run it again anytime from the terminal by typing
Code:
su
blockads
as already mentioned.
I'm working on making it a GUI app next (with more features), but this should tie anyone who wants it over until then
Anyone who finds any adservers and wants me to add them to the list, feel free to list them here and I will add them.
Latest updates:
2011-12-01: Updated to block carrieriq
Tried this out and got this:
sh-3.2# su
sh-3.2# /data/local/tmp/blockads
Fetching host file via hostname
wget: bad address 'dl.dropbox.com'
update could not be completed, sorry
sh-3.2#
newter55 said:
Tried this out and got this:
sh-3.2# su
sh-3.2# /data/local/tmp/blockads
Fetching host file via hostname
wget: bad address 'dl.dropbox.com'
update could not be completed, sorry
sh-3.2#
Click to expand...
Click to collapse
I forgot some ROMs and such have a busybox version that doesn't work right with hostnames in wget. I'll see if I can work around that and update the script
EDIT: updated to work around by using the IP for those that their busybox wget does not work correctly with hostnames. Only issue with that is the IP may change.
Ok. I am stuck. I actually don't have a hosts file under "etc", only a hosts.bak. With root explorer mounted as r/w I am still not able to rename the "host.bak" file to "hosts" - error message "read-only file/directory". I created a blank "hosts" text file, put in on the sdcard and with terminal emulator still can't cp to "etc" because of "read-only directory" error message. Any other suggestions?
GermanGuy said:
Ok. I am stuck. I actually don't have a hosts file under "etc", only a hosts.bak. With root explorer mounted as r/w I am still not able to rename the "host.bak" file to "hosts" - error message "read-only file/directory". I created a blank "hosts" text file, put in on the sdcard and with terminal emulator still can't cp to "etc" because of "read-only directory" error message. Any other suggestions?
Click to expand...
Click to collapse
Top right corner of Root Explorer .... Mount RW.
Sent from my A05PTH3ORY using XDA App
Does this do anything differently then AdFree, from the market?
yareally said:
I forgot some ROMs and such have a busybox version that doesn't work right with hostnames in wget. I'll see if I can work around that and update the script
EDIT: updated to work around by using the IP for those that their busybox wget does not work correctly with hostnames. Only issue with that is the IP may change.
Click to expand...
Click to collapse
Updated blockads script to test this am and:
sh-3.2$ export PATH=/data/local/bin:$PATH
sh-3.2$ su
sh-3.2# blockads
Fetching host file via hostname
wget: bad address 'dl.dropbox.com'
The busybox version of wget on your system does not work correctly with
hostnames. Trying workaround with latest known IP to the hostname...
Connecting to 184.73.229.87 (184.73.229.87:80)
hosts 100% |***********| 641k 00:00:00 ETA
backing up old host file and updating
failed on 'hosts' - Cross-device link
md5sum: can't open '/system/etc/hosts': No such file or directory
/system/xbin/blockads: line 38: [: 8172d35d1b72871f7e1ef4e709920f0e: unary operator expected
Unable to chmod /system/etc/hosts: No such file or directory
Unable to chmod /system/etc/hosts: No such file or directory
remounting filesystem in r/o mode...
Cleaning up files...
rm failed for -f, No such file or directory
update complete!
sh-3.2#
The end result is the existing hosts file being renamed hosts.bak and obviously no new hosts filebeing being created.
EDIT.... The above is testing on my inspire running busybox 1.19. Tried using the script on my sensation running bb 1.18.4 and it works fine.
Edit edit... Installed bb 1.18.4 on inspire and result is the same as posted above.
DroidTh3ory said:
Top right corner of Root Explorer .... Mount RW.
Sent from my A05PTH3ORY using XDA App
Click to expand...
Click to collapse
That's what I did, but it does not work - still does not let me modify read-only files.
After reading over the code and seeing the comments, I can only guess you had the modified version of wget on your device during testing, which does support host names. Before I continue, I am not trying to rain on your parade, but... By downloading the file, checking the md5, comparing it to the existing file, replacing if needed, and then cleaning up... you went about 5 steps beyond what just doing an "if server file is newer" check would do by including a custom wget. Even though you have to put in the code to install and verify the wget, the trade is that you no longer have to download the file every time, check it every time, and worry about making sure the md5 matches.
If you decide you want to switch over to that method, you can check out the option already included in http://forum.xda-developers.com/showthread.php?t=1092128 by downloading the live install version to view the actual script. Just a recommendation to optimize the process. Nice work, though, you definitely found a way to get the job done.
As for the difference between this and Adfree. There is no real difference. Adfree checks the server, does a callback, and prompts the user with updates. Adfree just requires an entire shell to turn it into an app, but will automatically run on boot.
twistedumbrella said:
As for the difference between this and Adfree. There is no real difference. Adfree checks the server, does a callback, and prompts the user with updates. Adfree just requires an entire shell to turn it into an app, but will automatically run on boot.
Click to expand...
Click to collapse
So, for those of you not comfortable running ADB, or Terminal Emulator, just install AdFree, and let it do everything for you.
spotmark said:
So, for those of you not comfortable running ADB, or Terminal Emulator, just install AdFree, and let it do everything for you.
Click to expand...
Click to collapse
Well, you also have the option of most included ROM toolkits, ScriptFusion, and a lot of preinstalled adblock scripts, but the big difference is the hosts file itself. Sounds like this one is custom, whereas mine takes bamf and adfree and merges them. This one may end up blocking more ads, but the only way to know would be to sit down and compare them all.
Sent from my ADR6400L using Tapatalk
twistedumbrella said:
Well, you also have the option of most included ROM toolkits, ScriptFusion, and a lot of preinstalled adblock scripts, but the big difference is the hosts file itself. Sounds like this one is custom, whereas mine takes bamf and adfree and merges them. This one may end up blocking more ads, but the only way to know would be to sit down and compare them all.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
Ah, I see.
Thank you for your comments everyone . I'll refine the script a bit more and also deal with a permanent workaround for not having a wget that checks hostsnames by testing with a ping and getting the IP first, using that and then doing wget. This started as a way for me to deal with having to move my ad host file each time I update it on my phone to just giving it out to everyone.
The only other difference than what was mentioned between my script and adfree as far as I know is I include a wider range of adhosts according to those that have used both. I have never used adfree, but people that have said I blocked more ads than they do and I also use an invalid IP address to block (0.0.0.0) instead of the loopback address (127.0.0.1) so it kills them a bit faster.
If anyone is still having problems that weren't resolved with it from above, let me know as well. I tested it against busybox 1.16.2 on my own phone, but it seems no 2 busybox version are alike
I havent tried this, but this one does include busybox 1.19 for those that don't want to manually install it. https://market.android.com/details?id=com.jrummy.busybox.installer&feature=related_apps
yareally said:
Thank you for your comments everyone . I'll refine the script a bit more and also deal with a permanent workaround for not having a wget that checks hostsnames by testing with a ping and getting the IP first, using that and then doing wget. This started as a way for me to deal with having to move my ad host file each time I update it on my phone to just giving it out to everyone.
The only other difference than what was mentioned between my script and adfree as far as I know is I include a wider range of adhosts according to those that have used both. I have never used adfree, but people that have said I blocked more ads than they do and I also use an invalid IP address to block (0.0.0.0) instead of the loopback address (127.0.0.1) so it kills them a bit faster.
If anyone is still having problems that weren't resolved with it from above, let me know as well. I tested it against busybox 1.16.2 on my own phone, but it seems no 2 busybox version are alike
I havent tried this, but this one does include busybox 1.19 for those that don't want to manually install it. https://market.android.com/details?id=com.jrummy.busybox.installer&feature=related_apps
Click to expand...
Click to collapse
Hit me up if I can be any help. It's good to have a better list available. Adfree has never been very thorough.
Sent from my ADR6400L using Tapatalk
+1 I exam yareally's hosts, This is much faster killing them and I glad you finally developing the script update for the hosts. I am going test your script update on 2 of the roms A05PTH3ORY and Gengeritis 3D VII. Thanks - Keep it up
yareally said:
The only other difference than what was mentioned between my script and adfree as far as I know is I include a wider range of adhosts according to those that have used both. I have never used adfree, but people that have said I blocked more ads than they do and I also use an invalid IP address to block (0.0.0.0) instead of the loopback address (127.0.0.1) so it kills them a bit faster.
Click to expand...
Click to collapse
Added about 10-15 more hosts today.
Thanks for the script. I'm going to give it a shot in a little bit. AdFree hasn't worked right in months. I've been using Absolute System to block ads, but I think I'll give this a try. Thanks again.
I'm about 50% done working on a basic gui app to do what the script does + some other features, just to give an update. GUI app will be free to any xda members of course
Things I am putting into it:
Choice between no blocking, partial blocking (basically in browser only stuff in case you want to show developers some love by not blocking their application ads), and full blocking.
Updating like the script does with just a touch of a button.
Optional ability to download a host block list for your desktop pc.
*features that may come later*
-ability to send me hosts from the app to add to the block list
-ability to add your own hosts on the fly to the list (either for personal routing or for adblocking, since adblocking is only the secondary use of the hosts file). Unfortunately, you will have to figure out the hosts yourself, since there's no easy way to tell really automatically.
Any other suggestions are welcomed
yareally said:
I'm about 50% done working on a basic gui app to do what the script does + some other features, just to give an update. GUI app will be free to any xda members of course
Things I am putting into it:
Choice between no blocking, partial blocking (basically in browser only stuff in case you want to show developers some love by not blocking their application ads), and full blocking.
Updating like the script does with just a touch of a button.
Optional ability to download a host block list for your desktop pc.
*features that may come later*
-ability to send me hosts from the app to add to the block list
-ability to add your own hosts on the fly to the list (either for personal routing or for adblocking, since adblocking is only the secondary use of the hosts file). Unfortunately, you will have to figure out the hosts yourself, since there's no easy way to tell really automatically.
Any other suggestions are welcomed
Click to expand...
Click to collapse
Sounds like AdFree but much better and will work better as well. Can't wait!!
Just tried this today on gingeritis 3d beta8 and it doesnt seem to work as i get the same error someone else posted a few posts back. Something about no such file or directory system/etc/hosts. I reverted adfree and uninstalled it and renamed the hosts file to hosts from hosts.bak but when I Su adblock it gets renamed to hosts.bak and terminal shows that same error

SU not found

hi, 2months ago I root the device with cm-10.2.1-maguro all working as expected, till I liked to use voice recorder after recording stopped the app close, realize that has to do with root.
I couldnt find how to enable the app through superuser, so start to check for alternatives so I landed here
Code:
https://play.google.com/store/apps/details?id=eu.chainfire.supersu
no hope also with that, uninstalled. The problem :
through adb + eclipse I can browse the device folders when using adb root - OK
on device superuser still @ settings - OK
when on android terminal - and run the command su writes su not found!
then I red @ superSU GplayURL
Superuser access management runs through a so called "su binary". There can be only one of these at a time.
Click to expand...
Click to collapse
how I can restore the original cm-10.2.1-maguro su binary?
whokn0ws said:
hi, 2months ago I root the device with cm-10.2.1-maguro all working as expected, till I liked to use voice recorder after recording stopped the app close, realize that has to do with root.
I couldnt find how to enable the app through superuser, so start to check for alternatives so I landed here
Code:
https://play.google.com/store/apps/details?id=eu.chainfire.supersu
no hope also with that, uninstalled. The problem :
through adb + eclipse I can browse the device folders when using adb root - OK
on device superuser still @ settings - OK
when on android terminal - and run the command su writes su not found!
then I red @ superSU GplayURL
how I can restore the original cm-10.2.1-maguro su binary?
Click to expand...
Click to collapse
Have you tried installing a rooted ROM?
Sent from my Nexus 4 using Tapatalk
nada, just download the cm desktop + cm android and made the root, nothing else.. please, advise how I can fix it..
whokn0ws said:
nada, just download the cm desktop + cm android and made the root, nothing else.. please, advise how I can fix it..
Click to expand...
Click to collapse
What recovery do you have installed?
Sent from my Nexus 4 using Tapatalk
http://www.cyanogenmod.org/
from desktop navigate to http://get.cm (download app)
from mobile navigate to http://get.cm (download app)
mobile get rooted in ~15min
thanks
so I dont know anything else..
I used to have this issue (but I didn't realise I had lost root because of an app), so I just downloaded and reflashed SU and all was good.
Download and flash from recovery: http://download.chainfire.eu/282/SuperSU/
hmm tried I got :
- Mounting
- Removing old
- Extracting files
- Restoring files
- Settings Permissions
set_perm : some canges failed
E: Error in data/media/0/CWM-SuperSU-v0.98.zip
(Status 7)
Installation aborted
-- when tried sideload ^the same with :
E: Error in /tmp/update.zip
!?
@nicknc writes :
ClockworMod Recovery v6.0.4.7
[searching..searching..searching..]
the solution is to download the latest SuperSU zip aka
http://download.chainfire.eu/446/SuperSU/UPDATE-SuperSU-v1.99r3.zip
there isnot error7, installed rebooted su is there!.
the final Q, is how to enable an application to have root access (when SuperSU not prompt me) ?
Marvlesz thanks!
whokn0ws said:
the final Q, is how to enable an application to have root access (when SuperSU not prompt me) ?
Click to expand...
Click to collapse
When an app requests SU, you should be prompted. If you've set a default choice, you should be able to change that from the SU app. You should also be able to change previous choices from there as well.
basically the problem is :
1-voice recorder recording but no output
2-on built-in browser in any page has 'browse' to choose a file - the open dialog never opens! (aka facebook.com upload photo or imgur.com)
how I will resolve these? googlesearch=0%

[TUT] Disable OTA on 4.5.2 + Install GApps

Edit: Sorry for not maintaining this thread for a long time (rl stuff) but after all I really recommend you switching to LineageOS. It's very straightforward, you have full Play Store and Amazon access and a smooth, nice, customizable and clean android. Also you don't have to worry about your device getting incompatible to the Play Store^^ or bricking your device by accidental updates.
Srsly, don't do anything below here. It's old and not supported anymore. Also before doing anything to your tablet: Unlock the Bootloader here
So you finally rooted your Kindle Fire HDX 7/8.9 on 4.5.2
and you want to start using it but remembered that amazons updates kill everything, searched for a method to bypass it and fortunately found this thread.(You Sir are very lucky)
So lets start:
1. How to disable OTA updates
Step 1:
Get a file explorer which has root access (I used ES File Explorer because it was already in the Amazon App Store but every other file explorer should work too)
Step 2:
Browse to /system/priv-app/ and search for DeviceSoftwareOTA.apk
Step 3:
Just rename DeviceSoftwareOTA.apk to whatever you like (Important: After renaming the file mustn't end with .apk)
Step 4:
Profit! You can now access the internet freely without the fear of evil amazon updates
But you want to install apps on your Kindle so
2. How to install Google Play Apps
Step 1:
Aquire the GApps for KitKat. Preferably here
Step 2:
Extract it to your Kindle and copy everything except for PrebuiltGMSCore.apk, META-INF and addon.d in the similar system folder (apps in system/app folder go to system/app folder (the real one))
Step 3:
Install PrebuiltGMSCore.apk manually like you would install any normal apk
Step 4:
Reboot (eventually it takes a bit longer)
Step 5:
PROFIT!!!! You have a fully working Play Store!
Obviously i don't take any responsibility if anything goes wrong (even though this procedure should be pretty safe)
Just rename DeviceSoftwareOTA.apk to whatever you like
Click to expand...
Click to collapse
You need specify that need to change the extension exactly
Potato_of_Doom said:
Step 5:
PROFIT!!!! You have a fully working Play Store!
Click to expand...
Click to collapse
Worked great but for some reason on my kindle hdx 7" running 4.5.2 when I booted up the SetupWizard came up to select my language and then when I clicked the big arrow it dumped me into the wireless settings screen and I was stuck. I had to eventually remove /system/priv-app/SetupWizard.apk. You might want to recommend users not including this as well on the off chance it causes the same problem I had. After I fixed this I just clicked on the play store and it prompted me to login.
Potato_of_Doom said:
So you finally rooted your Kindle Fire HDX 7/8.9 on 4.5.2
and you want to start using it but remembered that amazons updates kill everything, searched for a method to bypass it and fortunately found this thread.(You Sir are very lucky)
So lets start:
1. How to disable OTA updates
Step 1:
Get a file explorer which has root access (I used ES File Explorer because it was already in the Amazon App Store but every other file explorer should work too)
Step 2:
Browse to /system/priv-app/ and search for DeviceSoftwareOTA.apk
Step 3:
Just rename DeviceSoftwareOTA.apk to whatever you like (Important: After renaming the file mustn't end with .apk)
Step 4:
Profit! You can now access the internet freely without the fear of evil amazon updates
But you want to install apps on your Kindle so
2. How to install Google Play Apps
Step 1:
Aquire the GApps for KitKat. Preferably here
Step 2:
Extract it to your Kindle and copy everything except for PrebuiltGMSCore.apk, META-INF and addon.d in the similar system folder (apps in system/app folder go to system/app folder (the real one))
Step 3:
Install PrebuiltGMSCore.apk manually like you would install any normal apk
Step 4:
Reboot (eventually it takes a bit longer)
Step 5:
PROFIT!!!! You have a fully working Play Store!
Obviously i don't take any responsibility if anything goes wrong (even though this procedure should be pretty safe)
Click to expand...
Click to collapse
do i put <app etc framework lib priv-app> in /system dir
candiflan said:
do i put <app etc framework lib priv-app> in /system dir
Click to expand...
Click to collapse
Yes you can copy everything, just look out for /priv-app/PrebuiltGMSCore.apk (If you try to copy it you'll get a memory error)
@awinston
Thats strange. On my kindle it worked without any issues
Potato_of_Doom said:
Yes you can copy everything, just look out for /priv-app/PrebuiltGMSCore.apk (If you try to copy it you'll get a memory error)
@awinston
Thats strange. On my kindle it worked without any issues
Click to expand...
Click to collapse
Got it thanks
awinston said:
Worked great but for some reason on my kindle hdx 7" running 4.5.2 when I booted up the SetupWizard came up to select my language and then when I clicked the big arrow it dumped me into the wireless settings screen and I was stuck. I had to eventually remove /system/priv-app/SetupWizard.apk. You might want to recommend users not including this as well on the off chance it causes the same problem I had. After I fixed this I just clicked on the play store and it prompted me to login.
Click to expand...
Click to collapse
How did you remove /system/priv-app/SetupWizard.apk
After doing this to get gapps, I am receiving license error when attempting to play amazon instant videos. Any ideas?
Edit: obviously did something to drm as I can't access kindle books either.
Anyone know a way to fix? Thanks
candiflan said:
How did you remove /system/priv-app/SetupWizard.apk
Click to expand...
Click to collapse
Never mind I rename SetupWizard.apk to SetupWizard.apk.old this is what I did
adb shell "su -c 'mount -o rw,remount /system'"
adb shell "su -c 'mv /system/priv-app/SetupWizard.apk /system/priv-app/SetupWizard.apk.old'"
adb shell "su -c 'mount -o ro,remount /system'"
Is there a recommendation on installing the gapps via this method, versus the HDXposed method?
It sounds like this is easier and slightly less risky.
Sent from my KFTHWI using Tapatalk
Potato_of_Doom said:
So you finally rooted your Kindle Fire HDX 7/8.9 on 4.5.2
and you want to start using it but remembered that amazons updates kill everything, searched for a method to bypass it and fortunately found this thread.(You Sir are very lucky)
So lets start:
1. How to disable OTA updates
Step 1:
Get a file explorer which has root access (I used ES File Explorer because it was already in the Amazon App Store but every other file explorer should work too)
Step 2:
Browse to /system/priv-app/ and search for DeviceSoftwareOTA.apk
Step 3:
Just rename DeviceSoftwareOTA.apk to whatever you like (Important: After renaming the file mustn't end with .apk)
Step 4:
Profit! You can now access the internet freely without the fear of evil amazon updates
But you want to install apps on your Kindle so
2. How to install Google Play Apps
Step 1:
Aquire the GApps for KitKat. Preferably here
Step 2:
Extract it to your Kindle and copy everything except for PrebuiltGMSCore.apk, META-INF and addon.d in the similar system folder (apps in system/app folder go to system/app folder (the real one))
Step 3:
Install PrebuiltGMSCore.apk manually like you would install any normal apk
Step 4:
Reboot (eventually it takes a bit longer)
Step 5:
PROFIT!!!! You have a fully working Play Store!
Obviously i don't take any responsibility if anything goes wrong (even though this procedure should be pretty safe)
Click to expand...
Click to collapse
Doesnt work on my Apollo. I downloaded GAPPS 036 (320DPI) and follow your steps. But it doesn't work and I cannot copy phonesky.apk, i have to manually install it. I copied system folder using ES Explorer. Do I have to set permit for files??
Thanks
tuanda82 said:
Doesnt work on my Apollo. I downloaded GAPPS 036 (320DPI) and follow your steps. But it doesn't work and I cannot copy phonesky.apk, i have to manually install it. I copied system folder using ES Explorer. Do I have to set permit for files??
Thanks
Click to expand...
Click to collapse
I had issues when I tried ES Explorer. I used Root Explorer with no issues. Also, make sure to set perms to RW R R to match other files in all the directories.
tuanda82 said:
Doesnt work on my Apollo. I downloaded GAPPS 036 (320DPI) and follow your steps. But it doesn't work and I cannot copy phonesky.apk, i have to manually install it. I copied system folder using ES Explorer. Do I have to set permit for files??
Thanks
Click to expand...
Click to collapse
Did you get an error message?
Notifications not working
Anyone else having problems not receiving notifications? I am not receiving notifications about updates from google play and I am not receiving notifications from apps where they have been enabled. I took a quick look at some test apps on the store and I never receive the notifications through those apps either. Below is a log cat from a test notifications app. I did some reading and it seems to suggest maybe the individual apps are not configured correctly but I will need to keep digging. Will keep digging, just not very familiar with c2dm so wanted to ask.
03-03 11:17:24.787 2024-4230/? I/GCM﹕ GCM message com.firstrowria.pushnotificationtester 0:1425403044280977%c5da679ff9fd7ecd
03-03 11:17:24.797 2024-2024/? W/GCM-DMM﹕ broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=com.firstrowria.pushnotificationtester (has extras) }
03-03 11:17:24.797 937-966/? W/BroadcastQueue﹕ Permission Denial: broadcasting Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10 pkg=com.firstrowria.pushnotificationtester (has extras) } from com.google.android.gsf (pid=2024, uid=10003) requires com.google.android.c2dm.permission.SEND due to receiver com.firstrowria.pushnotificationtester/.broadcast.GCMReceiver
Potato_of_Doom said:
Did you get an error message?
Click to expand...
Click to collapse
@riggsandroid: I tried root explorer and set permissions, same results.
@Potato_of_Doom: It closed without message. On the first boot, I can log in my account but after the home screen loading, PlayStore closed without warning. next time playstore close without warning (very fast). It is seem another Google service still working except playstore. I can log in to my play games account and load Clash of clans data without problems.
tuanda82 said:
@riggsandroid: I tried root explorer and set permissions, same results.
Click to expand...
Click to collapse
@tuanda82 I had similar issues when I didn't remember to install the GMS Core apk after moving all files over. Just a thought.
awinston said:
Anyone else having problems not receiving notifications?
Click to expand...
Click to collapse
Discovered a fix. I had to install Xposed and HDXposed. This leads me to wonder whether the technique used to install gapps with HDXposed might not be the better and safer solution if notifications only work with HDXposed. Anyone else have notifications working without HDXposed installed? After looking through the HDXposed code it looks like this is probably the only solution but maybe I am missing something.
candiflan said:
do i put <app etc framework lib priv-app> in /system dir
Click to expand...
Click to collapse
I don't want to confuse anyone, but you really don't want to overwrite the folders, just add files to their corresponding location within their like-named partition directories.
If you are comfortable with adb shell commands, I find it easiest to actually move all the folders from the zip into the data or a newly created system folder & then use batch scripts that take advantage of the * wildcard call, such as *.apk, to change ownership & permission setting to 644 for all files at one time. I don't have time to list it all out all the steps right now, but if you have been playing with adb for a while, you probably already know what I am talking about. You can also do the same thing, live in the system folder, but I personally like to segregate the new files so I can check several & then move them all over at once, after I am confident all the changes were made via the shell commands.
Potato_of_Doom said:
So you finally rooted your Kindle Fire HDX 7/8.9 on 4.5.2
and you want to start using it but remembered that amazons updates kill everything, searched for a method to bypass it and fortunately found this thread.(You Sir are very lucky)
So lets start:
1. How to disable OTA updates
Step 1:
Get a file explorer which has root access (I used ES File Explorer because it was already in the Amazon App Store but every other file explorer should work too)
Step 2:
Browse to /system/priv-app/ and search for DeviceSoftwareOTA.apk
Step 3:
Just rename DeviceSoftwareOTA.apk to whatever you like (Important: After renaming the file mustn't end with .apk)
Step 4:
Profit! You can now access the internet freely without the fear of evil amazon updates
But you want to install apps on your Kindle so
2. How to install Google Play Apps
Step 1:
Aquire the GApps for KitKat. Preferably here
Step 2:
Extract it to your Kindle and copy everything except for PrebuiltGMSCore.apk, META-INF and addon.d in the similar system folder (apps in system/app folder go to system/app folder (the real one))
Step 3:
Install PrebuiltGMSCore.apk manually like you would install any normal apk
Step 4:
Reboot (eventually it takes a bit longer)
Step 5:
PROFIT!!!! You have a fully working Play Store!
Obviously i don't take any responsibility if anything goes wrong (even though this procedure should be pretty safe)
Click to expand...
Click to collapse
There's another way to get working playstore:
You need enough system store to flash gapps by recovery. To get this, change some system apps to user apps (for example by titanium backup). Don't do this with 'really' system apps, but there are many Amazon apps, you can change (for example kindle reader, music, audible). You can still use these apps after change. Then you can flash with twrp a small gapps package.

[ROOT NEEDED] [Fire Stick 2] [GAPPS] Install WORKING GApps on Fire Stick 2.

YOU NEED TO BE ROOTED TO DO THIS OR ELSE YOU WON'T GET ANY RESULTS!​Here's how to install a working Google Play Store without any error 406, a full Leanback Launcher complete with suggestions and settings, and a fully working Google search with mic!​
BEFORE YOU START​You need to first follow the Playing with Fire guide, but please delete the wifi direct xml from the tar.gz first so the remote and wifi will work.​
Now for the tweaking!​Please install the XInstaller XPosed module and enable it.
And please enable downgrading apps in the Installations menu in XInstaller.​
GOOGLE APP​Now, you want to download this version of the Google App and install it with the Downgrade App toggle you enabled.
Now you will have working Google Search.​
LEANBACK LAUNCHER + SETTINGS​Now for Leanback Launcher. Playing With Fire already installed the TvSettings but this version of it doesn't work very well.
Download this version of TvSettings from aftv2atv. Now do these commands to install it.
Code:
adb push TvSettings.apk /sdcard/
adb shell
su
mount -o rw,remount /system
rm /system/priv-app/TvSettings/TvSettings.apk
mkdir /system/priv-app/TvSettings
chmod 755 /system/priv-app/TvSettings
chown root:root /system/priv-app/TvSettings
mv /sdcard/TvSettings.apk /system/priv-app/TvSettings/
cd /system/priv-app/TvSettings/
chown root:root TvSettings.apk
Now you will have a better Settings app. Now for the main launcher.
Download Leanback Launcher and rename it to TvLauncher.apk
Now do these commands.
Code:
adb shell
su
mount -o rw,remount /system
mkdir /system/priv-app/TvLauncher
chmod 755 /system/priv-app/TvLauncher
chown root:root /system/priv-app/TvLauncher
mv /sdcard/TvLauncher.apk /system/priv-app/TvLauncher/
cd /system/priv-app/TvLauncher/
chown root:root TvLauncher.apk
Now you should have a working Leanback Launcher with settings and suggestions!​
GOOGLE PLAY STORE​Now for the main event, the Google Play Store! Download the Play Store mod I made and install it.
It might crash on launch, if it does, go into settings, go to apps, select Play Store from System Applications, and clear data. You'll do this every time it crashes.
Now you have the full Play Store!
CONCLUSION
If you read this through and followed the steps, you should have all of these fully working.
Enjoy your Googlified Fire Stick 2!​
Awesome, can't wait to try this tomorrow.
---------- Post added at 07:12 PM ---------- Previous post was at 07:05 PM ----------
Sorry to ask a question to soon but the title says firestick 2 and the playing with fire thread says it works on fire tv 2 box. Is it fair to assume it will work for that too or just the firestick 2?
brick00444 said:
Awesome, can't wait to try this tomorrow.
---------- Post added at 07:12 PM ---------- Previous post was at 07:05 PM ----------
Sorry to ask a question to soon but the title says firestick 2 and the playing with fire thread says it works on fire tv 2 box. Is it fair to assume it will work for that too or just the firestick 2?
Click to expand...
Click to collapse
It works, make sure to use the ARM versions.
Pix12 said:
It works, make sure to use the ARM versions.
Click to expand...
Click to collapse
Now I'm confused, in the instructions for Lazyv4 it says: "Step One: Required Files - Download the following files. For some of these I will have listed two versions (ARM) and (ARM64) so make sure you pick the version that's appropriate for the architecture of your CPU. FireTV-v1 (ARM) & FireTV-v2 (ARM64)."
Thanks for the post @Pix12.
Do you have any extra advice for the Google Play login on Fire Box 2nd gen? I followed the guide above - your Play Store mod won't install (and the old apk you recommend on Playing Fire thread will install but still won't allow Google login)
Btw- I think you forgot to include an 'adb push Tvlauncher.apk' line in your guide. Cheers.
EDIT: Worked it out: - so re-installing Google Play Services fixed login issue. I used an apk uploaded Aug'18 (https://www.apkmirror.com/apk/googl...3-2-78-080406-210410490-android-apk-download/) and used the Google Play apk mentioned here: https://forum.xda-developers.com/showpost.php?p=79117328&postcount=279 (thanks @Pix12)
EDIT#2: Giving up on both Fire Stick 2 (tank) & Fire TV box 2 (sloane) mods - i.e. insert Google Playstore. 'Playing with Fire' mod doesn't work reliably anymore and I can't get the method outlined in this OP to fix it (although I did make some progress with the recommended XInstaller module - it was patchy to say the least). Hopefully a Dev on here will work it out properly but it's well beyond me. Need a new, less frustrating project.....
JJ2017 said:
Thanks for the post @Pix12.
Do you have any extra advice for the Google Play login on Fire Box 2nd gen? I followed the guide above - your Play Store mod won't install (and the old apk you recommend on Playing Fire thread will install but still won't allow Google login)
Btw- I think you forgot to include an 'adb push Tvlauncher.apk' line in your guide. Cheers.
EDIT: Worked it out: - so re-installing Google Play Services fixed login issue. I used an apk uploaded Aug'18 (https://www.apkmirror.com/apk/googl...3-2-78-080406-210410490-android-apk-download/) and used the Google Play apk mentioned here: https://forum.xda-developers.com/showpost.php?p=79117328&postcount=279 (thanks @Pix12)
Click to expand...
Click to collapse
You need to use the XInstaller module to be able to force downgrade.
So I saw installed those files for the launcher And the settings. However nothing happened. Whenever I disable Amazons launcher nothingLeanback Launcher will launch but after both files are installed my settings disappeared for the it. I was trying to do this on a fire tv 2. So maybe the files are different or something just not sure what I should do
is there any tutorial how to root the Stick 2?
Now that the fire tv 2 on the latest firmware has been rooted, https://forum.xda-developers.com/fir...2-box-t3908387, it would be great if google play store could also be installed. Could you please provide a tutorial to add only this feature? Personally not interested in changing the launcher or the other interesting features in your guide. Congratulations on what you have been able to accomplish. Hopefully Amazon doesn't hire you away from us.
Thanks for this. Is there a way to install this using Magisk GApps (MagicGApps module) and without Xposed?
..i don't know the correct configuration yet that could work? ..anyone?
I have installed it with the gapps-config mentioned but getting black screen after booting. (Guess original launcher cant start?)
Eyedoctor2 said:
Now that the fire tv 2 on the latest firmware has been rooted, https://forum.xda-developers.com/fir...2-box-t3908387, it would be great if google play store could also be installed. Could you please provide a tutorial to add only this feature? Personally not interested in changing the launcher or the other interesting features in your guide. Congratulations on what you have been able to accomplish. Hopefully Amazon doesn't hire you away from us.
Click to expand...
Click to collapse
Yeah, you can just do the Play Store part of it, in fact, the Playing with Fire guide contains a gapps-config that only includes the bare minimum.
Pix12 said:
Yeah, you can just do the Play Store part of it, in fact, the Playing with Fire guide contains a gapps-config that only includes the bare minimum.
Click to expand...
Click to collapse
I have tried to read through most of that post and also searched through it but I can't find anywhere that details a method of installing the play store only. Can you please point me in the right direction?
I know from other threads that there is a definite demand for this functionality.
Arturkeibel said:
is there any tutorial how to root the Stick 2?
Click to expand...
Click to collapse
https://forum.xda-developers.com/fire-tv/development/unlock-fire-tv-stick-2nd-gen-tank-t3907002
When trying to install your modded play store I get the following error. I do have the Xinstaller module enabled with downgrading apps selected:
$ adb install PlayTVMod4FTVS2.apk
PlayTVMod4FTVS2.apk: 1 file pushed. 5.0 MB/s (24434423 bytes in 4.689s)
pkg: /data/local/tmp/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
eelsid said:
When trying to install your modded play store I get the following error. I do have the Xinstaller module enabled with downgrading apps selected:
$ adb install PlayTVMod4FTVS2.apk
PlayTVMod4FTVS2.apk: 1 file pushed. 5.0 MB/s (24434423 bytes in 4.689s)
pkg: /data/local/tmp/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Click to expand...
Click to collapse
Oh, you need to tick the disable signature check option.
Pix12 said:
Oh, you need to tick the disable signature check option.
Click to expand...
Click to collapse
I disabled signature checking in XINstaller however I'm not able to install either through adb or pm, I get the following error when installing from the adb shell:
# pm install /sdcard/PlayTVMod4FTVS2.apk
pkg: /sdcard/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
I already have com.android.vending installed in /system/priv-app/PhoneskyKamikazeCanvas as installed by open Gapps (the version linked in the "playing with fire" thread. I would expect the apk to simply update the system app however it's seeing it as a duplicate. I am able to install it via "pm install -r" to replace it but this breaks play store altogether with a host of permissions errors in logcat.
Using only the gapps version installed in priv-app, with no apk installed under /data/app, I am able to sign into play store and install an app, however after that point I am not able to install any more apps, when I click install I get error code 406.
eelsid said:
I disabled signature checking in XINstaller however I'm not able to install either through adb or pm, I get the following error when installing from the adb shell:
# pm install /sdcard/PlayTVMod4FTVS2.apk
pkg: /sdcard/PlayTVMod4FTVS2.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
I already have com.android.vending installed in /system/priv-app/PhoneskyKamikazeCanvas as installed by open Gapps (the version linked in the "playing with fire" thread. I would expect the apk to simply update the system app however it's seeing it as a duplicate. I am able to install it via "pm install -r" to replace it but this breaks play store altogether with a host of permissions errors in logcat.
Using only the gapps version installed in priv-app, with no apk installed under /data/app, I am able to sign into play store and install an app, however after that point I am not able to install any more apps, when I click install I get error code 406.
Click to expand...
Click to collapse
XInstaller only works with installing on the system without adb or shell commands, Try pushing it to the sdcard and installing it with a file explorer.
Backup image
Hello @Pix12 thank you for your guide, i have tried everything to get this to work but cant, would it be possible for you to make a backup of your fully set up stick in twrp, put it in a zip and upload it to mega for me to install to my stick? ( I know this method works as i have tested it to clone a stick you just have to change the serial number to yours on the backup folder before restoring in twrp ) it would be a great help if you could! Thanks in advance @Pix12
Can you please upload the version of the opengapps you are using. All versions older than a couple months are not on their git anymore. Using the gapps-config.txt. I'm not able to install with the "tvlauncher" flag, It only installs the launcher when I add "leanbacklauncher" thus it creates the "leanbacklauncher" folder in /system/priv-app/. vs "TVlauncher" This is the reason why I'm wondering if the opengapps versions have changed. When I followed your instructions this the TVsettings disappeared alltogether from the home screen.
thecdman said:
Hello @Pix12 thank you for your guide, i have tried everything to get this to work but cant, would it be possible for you to make a backup of your fully set up stick in twrp, put it in a zip and upload it to mega for me to install to my stick? ( I know this method works as i have tested it to clone a stick you just have to change the serial number to yours on the backup folder before restoring in twrp ) it would be a great help if you could! Thanks in advance @Pix12
Click to expand...
Click to collapse
Same request! It would help a lot

Categories

Resources