[TUT] Easily remove Amazon's firelauncher and use any launcher (NO ROOT 5.x.x) - Fire General

Source code to an alpha tool in Python-QT, if you guys are python savvy show some love <3
https://bitbucket.org/dylanmulrooney/android-launcher/src
In this thread you will finally be able to remove Amazon's terrifying FireLauncher for good, and replace it with your choice of a launcher.
Prerequisites:
Install ADB
Install Nova Launcher / launcher of choice
BACKUP YOUR FIRELAUNCHER.APK
You do not need to corrupt the firelauncher as I have, but it eats system resources and I never want to see it pop up. I have attached a modified version of the firelauncher APK. You will need to download and install it as an update via ADB.
(this is optional, you wont have any launcher after doing this! backup your old APK!!)
Code:
adb install -r -d com.amazon.firelauncher.apk
... as you can now see this will -r reinstall and -d downgrade the launcher, causing it to crash and never open.
Now we need to run a single line of ADB code every time you reboot your device:
Code:
adb shell
Code:
nohup logcat -c; logcat | grep --line-buffered 'flg=0x10200000 cmp=com.amazon.firelauncher/.Launcher' | while read line; do am start com.teslacoilsw.launcher/.NovaLauncher; done &
Code:
exit
This is designed (in combination with destroying firelauncher) to allow you to set any launcher, by default I have it set to am start Nova Launcher.
Once you paste that line of code in adb, you can unplug your device and use it with your new custom launcher!
Please feel free to contact me for detailed instructions!

Cautiously optimistic. Waiting for field evidence before recommending. As always reputations are earned.

First I'd love to thank you for your continuing support to give more launcher choices to the Amazon Fire.
Where can I find and back up the original fire launcher? So if, in the future, we want the fire launcher back, we just install the backup? Any script to run to undo?
About this "Now we need to run a single line of ADB code every time you reboot your device:".
So it cannot be automatically executed?

while trying to adb intall the apk, it shows error: https://www.dropbox.com/s/syyggde0ie7sf4t/Screenshot 2016-09-24 21.58.03.png?dl=0
UPDATE: I got it installed now. The issue above because I ran adb shell first. Anyway, it doesn't seem to shut down the Fire Launcher as I can still see briefly when pressing Home button; and it doesn't allow to set another launcher as default beside Nova. (Fire HD 10 - 5.3.1)
Let's say we want to set a different default launcher to this one: https://play.google.com/store/apps/details?id=com.citc.asap&hl=en
What should we type? Can you try with the above launcher cz' it cannot be launched till it's set as default?
FYI, as we cannot root this 5.3.1, so using the above launcher 'ASAP Launcher' will be awesome as it has built-in widgets. One more is Arrow Launcher by Microsoft.
The other one is Buzz Launcher: https://play.google.com/store/apps/details?id=com.buzzpia.aqua.launcher&hl=en
it's pretty heavy with built-in widgets and themes.
---------- Post added at 03:58 PM ---------- Previous post was at 03:01 PM ----------
I used your previous code from another post for Windows manually: http://forum.xda-developers.com/ama...-remove-default-launcher-amazon-fire-t3288310 , and it allowed to select any installed launcher as default, the issue it doesn't stick when restarted:
Code:
while :
do
kill $!
sleep 1 & pm install -r -d "/system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk" & sleep 20; kill $!
kill $!
done &
exit
#press enter now

ttcontributor said:
First I'd love to thank you for your continuing support to give more launcher choices to the Amazon Fire.
Where can I find and back up the original fire launcher? So if, in the future, we want the fire launcher back, we just install the backup? Any script to run to undo?
About this "Now we need to run a single line of ADB code every time you reboot your device:".
So it cannot be automatically executed?
Click to expand...
Click to collapse
I do not have a working firelauncher, and honestly I do not want it. That step is optional and the only purpose of removing it is so I never accidentally see it for a second.
I am still working on improving this, please feel free to request features!
Yes, it can be automated just not easily.. You would need to install an app and then paste the command in the apps etc. I never reboot my device so it's not a priority for me. Let me know if you have any ideas. It works flawlessly right now, speeds up the tablet.

ttcontributor said:
while trying to adb intall the apk, it shows error: https://www.dropbox.com/s/syyggde0ie7sf4t/Screenshot 2016-09-24 21.58.03.png?dl=0
UPDATE: I got it installed now. The issue above because I ran adb shell first. Anyway, it doesn't seem to shut down the Fire Launcher as I can still see briefly when pressing Home button; and it doesn't allow to set another launcher as default beside Nova. (Fire HD 10 - 5.3.1)
Let's say we want to set a different default launcher to this one: https://play.google.com/store/apps/details?id=com.citc.asap&hl=en
What should we type? Can you try with the above launcher cz' it cannot be launched till it's set as default?
FYI, as we cannot root this 5.3.1, so using the above launcher 'ASAP Launcher' will be awesome as it has built-in widgets. One more is Arrow Launcher by Microsoft.
The other one is Buzz Launcher: https://play.google.com/store/apps/details?id=com.buzzpia.aqua.launcher&hl=en
it's pretty heavy with built-in widgets and themes.
---------- Post added at 03:58 PM ---------- Previous post was at 03:01 PM ----------
I used your previous code from another post for Windows manually: http://forum.xda-developers.com/ama...-remove-default-launcher-amazon-fire-t3288310 , and it allowed to select any installed launcher as default, the issue it doesn't stick when restarted:
Code:
while :
do
kill $!
sleep 1 & pm install -r -d "/system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk" & sleep 20; kill $!
kill $!
done &
exit
#press enter now
Click to expand...
Click to collapse
I love you for being so helpful in the development of this project. You simply change the code to whatever launcher you want, you just need the package name/activity. I also think it would be wise to reboot when running the command since two instances may cause glitches without killing the nohup process.
I will make a tool that simplifies your life, drag and drop launcher of choice apk and it'll set it as default & remove amazon ****ware.

I have released the source code to my alpha project, should work cross platform (need testers who know Python!)
https://bitbucket.org/dylanmulrooney/android-launcher/src

nyln said:
I love you for being so helpful in the development of this project. You simply change the code to whatever launcher you want, you just need the package name/activity. I also think it would be wise to reboot when running the command since two instances may cause glitches without killing the nohup process.
I will make a tool that simplifies your life, drag and drop launcher of choice apk and it'll set it as default & remove amazon ****ware.
Click to expand...
Click to collapse
Great, after reboot and re-run the command I didn't notice the Fire Launcher no more when pressing home, but sometime just a blank screen breifly before going to the set launcher. And it's a wonderful news for "drag and drop launcher of choice apk and it'll set it as default & remove amazon****ware"
FYI, currently I'm combining your method by 1# install your attached .apk to corrupt the Fire Launcher, and #2 use the previous code above to be able to select any launcher installed. It's better because it can detect a new launcher installed from PlayStore and provide the option to select it as default: https://goo.gl/photos/qQzohRJNMEifCkyw6

ttcontributor said:
Great, after reboot and re-run the command I didn't notice the Fire Launcher no more when pressing home, but sometime just a blank screen breifly before going to the set launcher. And it's a wonderful news for "drag and drop launcher of choice apk and it'll set it as default & remove amazon****ware"
FYI, currently I'm combining your method by 1# install your attached .apk to corrupt the Fire Launcher, and #2 use the previous code above to be able to select any launcher installed. It's better because it can detect a new launcher installed from PlayStore and provide the option to select it as default: https://goo.gl/photos/qQzohRJNMEifCkyw6
Click to expand...
Click to collapse
Very interesting. I finished a rough alpha version of drag and drop, I posted the source code but no compiled binaries yet. I will make an option to select the launcher of your choice.
Give me the app name and I'll write a special code for you since nova sucks

nyln said:
Very interesting. I finished a rough alpha version of drag and drop, I posted the source code but no compiled binaries yet. I will make an option to select the launcher of your choice.
Give me the app name and I'll write a special code for you since nova sucks
Click to expand...
Click to collapse
Nova is good if rooted. In this case, ASAP Launcher is unbeatable: https://play.google.com/store/apps/details?id=com.citc.asap&hl=en
OR EVEN BETTER > TOTAL LAUNCHER: https://play.google.com/store/apps/details?id=com.ss.launcher2

nohup logcat -c; logcat | grep --line-buffered 'flg=0x10200000 cmp=com.amazon.firelauncher/.Launcher' | while read line; do am start com.citc.asap; done &

nyln said:
nohup logcat -c; logcat | grep --line-buffered 'flg=0x10200000 cmp=com.amazon.firelauncher/.Launcher' | while read line; do am start com.citc.asap; done &
Click to expand...
Click to collapse
Awesome.
I have been testing a lot of launchers to find one that is customizable with widgets without root, and found Total Launcher: https://play.google.com/store/apps/details?id=com.ss.launcher2
Now settling for this as it has internal / built-in widgets which can be added to Fire OS WITHOUT root and converting the launcher to system app. What is the package code for this one then?
UPDATE:
Code:
nohup logcat -c; logcat | grep --line-buffered 'flg=0x10200000 cmp=com.amazon.firelauncher/.Launcher' | while read line; do am start com.ss.launcher2; done &
It'd be completed if it can be autorun after system restart of packed to an app to tricker this in Amazon Fire itself.

ttcontributor said:
Awesome.
I have been testing a lot of launchers to find one that is customizable with widgets without root, and found Total Launcher: https://play.google.com/store/apps/details?id=com.ss.launcher2
Now settling for this as it has internal / built-in widgets which can be added to Fire OS WITHOUT root and converting the launcher to system app. What is the package code for this one then?
UPDATE:
Code:
nohup logcat -c; logcat | grep --line-buffered 'flg=0x10200000 cmp=com.amazon.firelauncher/.Launcher' | while read line; do am start com.ss.launcher2; done &
It'd be completed if it can be autorun after system restart of packed to an app to tricker this in Amazon Fire itself.
Click to expand...
Click to collapse
I may have a temporary workaround for auto restart. I just don't see how this makes or brakes it. You can paste that command in Terminal Emulator if you don't want to use a computer on reboot.

nyln said:
I may have a temporary workaround for auto restart. I just don't see how this makes or brakes it. You can paste that command in Terminal Emulator if you don't want to use a computer on reboot.
Click to expand...
Click to collapse
Think it depends on the user. For many launching Terminal Emulator and pasting in a command is a PiTA that offsets the benefit of a custom launcher. Technical enthusiasts don't mind so much but they are the minority of the Fire user community ime - even on XDA.

nyln said:
I may have a temporary workaround for auto restart. I just don't see how this makes or brakes it. You can paste that command in Terminal Emulator if you don't want to use a computer on reboot.
Click to expand...
Click to collapse
Well, at least we don't need to rely on the computer no more! And it will be a set-it-and-forget-it if we input the command to the Terminal Emulator to auto execute?
And about the ppl using Fire OS, there are still many out there. Once they know it can be customized to their liking, they will pop up!

ttcontributor said:
And about the ppl using Fire OS, there are still many out there. Once they know it can be customized to their liking, they will pop up!
Click to expand...
Click to collapse
FireOS is a solid alternative to more 'traditional' Android presentations once ads, bloat and other Amazon cruft is tamed. The ability to toggle launchers on non-rooted devices will be welcome by many if it can be made largely transparent once implemented.

Thanks for your feedback guys. I am working on an update that will simplify your lives.

nyln said:
Thanks for your feedback guys. I am working on an update that will simplify your lives.
Click to expand...
Click to collapse
Which code can I paste to the Terminal Emulator to not use the pc then? Then we can have the Emulator auto run the script when reboot?

Back to Firelauncher
nyln said:
Source code to an alpha tool in Python-QT, if you guys are python savvy show some love <3
https://bitbucket.org/dylanmulrooney/android-launcher/src
In this thread you will finally be able to remove Amazon's terrifying FireLauncher for good, and replace it with your choice of a launcher.
Prerequisites:
Install ADB
Install Nova Launcher / launcher of choice
BACKUP YOUR FIRELAUNCHER.APK
You do not need to corrupt the firelauncher as I have, but it eats system resources and I never want to see it pop up. I have attached a modified version of the firelauncher APK. You will need to download and install it as an update via ADB.
(this is optional, you wont have any launcher after doing this! backup your old APK!!)
Code:
adb install -r -d com.amazon.firelauncher.apk
... as you can now see this will -r reinstall and -d downgrade the launcher, causing it to crash and never open.
Now we need to run a single line of ADB code every time you reboot your device:
Code:
adb shell
Code:
nohup logcat -c; logcat | grep --line-buffered 'flg=0x10200000 cmp=com.amazon.firelauncher/.Launcher' | while read line; do am start com.teslacoilsw.launcher/.NovaLauncher; done &
Code:
exit
This is designed (in combination with destroying firelauncher) to allow you to set any launcher, by default I have it set to am start Nova Launcher.
Once you paste that line of code in adb, you can unplug your device and use it with your new custom launcher!
Please feel free to contact me for detailed instructions!
Click to expand...
Click to collapse
How do I revert back to Firelauncher?

imblogr said:
How do I revert back to Firelauncher?
Click to expand...
Click to collapse
Recommend you reload FireOS via stock recovery as it is not clear how to fully revert the changes. Sure, you could read through the instructions and figure it out...starting from scratch will probably be quicker with better outcomes. The OP has not posted for awhile; not sure he/she is still around.

Related

Nook HD+ Google Play Store. GAPPS, modified 12/04.

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.
Proof:
https://www.youtube.com/watch?v=MssQ25bnZnk
Okay this one is more interesting than the root I created. I don't think there will be a simple batch file for this one. I barely get this working and I'm going to try to write instruction for the people. I guess let me start off with the same disclaimer.
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:
I basically taking the installation process from the Kindle Fire HD and apply it it here. The original instruction which I "borrow" from is here. For the most part, the process is the same, but we have to be extra careful for writing into /system partition or we are toast.
What I found:
Well, since we didn't have "UNKNOWN SOURCE" option, we have to adapt and fix that first. You can thanks skyhawk21 for coming up with that idea. Since then, there have been other way to enable Unknown Source. LeapinLar have wrote an excellent here. And I have make it even simpler here. Also, I have found that trying to install Google Play store after some other stuff already installed is kinda pain and brought some error. So I would strongly start this fresh. I mean factory reset and apply root. If you don't know how to gain root on the Nook HD+, I wrote an excellent piece for it here.
Hugh big caution
I did all my stuff based off my root method. I also noticed that verygreen updated his root. While there are some similarlity in our methods, THERE ARE SOME DIFFERENCE ALSO. For example his root doesn't have a working superuser or he have busybox installed and symbolicly linked for all sub command. This mean the instruction I have may not work if you used his method to root.
Addendum 1: 11/19/[email protected]:50PM Pacific
I have been told that the first set of instruction is no longer necessary by leapinlar. This mean that if you only want the ability to install app via Google Play, you can do the first set of instruction and be done with it. But this means you won't be able to utilize the rest of Google's services. On the other hand, you can skip the first instruction and purely do 2nd instruction and get most of the stuff working. Well I say most because it doesn't include Google Maps and Chrome.
Addendum 2: 11/19/[email protected] Pacific
I have added Google Map below so you can download separately But Chrome Browser is like 20MB and over the filesize limit of the xda forum. Since most people don't use it, and there are many good alternative browser already, I won't bother. You can also look up both apk online if you want. they both should work on Nook. You don't have to make symbolic link on these two, but you can't have it on /system either. Either try install it via "adb install" command or open it using your favorite file browser. I forgot which method I use, probably the first.
Addendum 3: 11/30/[email protected]:25AM Pacific
I rewrite and hide unnecessary stuff and streamline the guide.
Addendum 4: 12/01/[email protected]:25PM Pacific
Adding gapps-ics-inst.sh.img which should be compatible for both my and verygreen root method.
Addendum 5: 12/02/[email protected] Pacific
Adding troubleshooting tips
Addendum 6: 12/04/[email protected]:45PM Pacific
Update with brand new easy to follow instruction.
Addendum 7: 12/07/[email protected] Pacific
The Google Map will no longer install as part of the script. I think Maps may not function properly if google framework weren't installed correctly first.
So, you will just have to install it manually after the Google Play updated.
EXTREMELY OUTDATED NOT FULLY WORKING Instruction is hidden since it's no longer necessary.
Instruction:
Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
Gain root access. Follow this guide.
Follow my instruction here to enable "UNKNOWN SOURCE".
Upload 3 files to /data/su/ using "adb push" command
GoogleServicesFramework.apk - mediafire.com/?zaumfwhraxcifqf
Vending.apk - mediafire.com/?31bn3e258jjpj8d
Play.apk - mediafire.com/?wwcqrlfwt8o1gnv
If you have problem downloading this Play.apk I suggest try using this Vending_v3.9.17.apk instead. Be sure not to confuse with the earlier Vending.apk file, or better yet, rename it to something like Play3917.apk
adb install $your_choice_of_file_manager(must support root), I prefer ES File manager
using your file manager and browse to /data/su and install GoogleServicesFramework.apk (I'm not sure if you can just do adb install GoogleServicesFramework.apk from your PC, but since I didn't do it that way and this is a known result, so I recommend doing it this way)
adb shell
su
mount -o remount,rw /system
mv /data/su/Vending.apk /system/app/Vending.apk
chmod 644 /system/app/Vending.apk
chown 0.0 /system/app/Vending.apk
mount -o remount,ro /system (not sure if this is necessary, but I better safe than sorry)
using your file manager and navigate to /system/app and install Vending.apk
mount -o remount,rw /system (only if you did step 11)
rm /system/app/Vending.apk
mount -o remount,ro /system
using your file manager and go to /data/su and install Play.apk or Play3917.apk depending on what you download
now you can delete both GoogleServiceFramework.apk and Play.apk in the /data/su folder.
That's all, your Google Play Store should now be working.
Login and have fun. I manage to install some stuff through that.
Click the "THANKS" button below.
OK, now to get a more complete gapps. The below steps are to be only after you have Google Play Store, meaning all the above steps are done. The instruction below will let your other app sync and use google account. Meaning stuff like RSS reader sync with google reader or Youtube app access your personal account. Well, atleast those are the two I have tried and seem to be working.
OUTDATED Instruction:
Instructions:
Download these two files. gapps-ics-inst.sh.img and gapps-ics-system.zip (if you use verygreen root method use this gapps-ics-inst.sh.img , the one embedded on this post instead. This one should work universally but untested. I re-wrote it to adapt for verygreen root method also. If it works I'll rewrite this part of instruction again to use the new version of the shell script.)
adb push gapps-ics-inst.sh.img /data/su/gapps-ics-inst.sh
adb push gapps-ics-system.zip /data/su/
This step might take some time
adb shell
su
cd /data/su
chmod 755 gapps-ics-inst.sh
./gapps-ics-inst.sh
This step could take some time too, once it return to shell, then go to next step
(optional delete installation file to save space) rm gapps-ics-system.zip
(optional delete installation file to save space) rm gapps-ics-inst.sh
exit
exit
(you should be back to your OS by now, if not keep exiting until you are out of adb)
adb reboot
once your nook is rebooted, the screen may say updating some files, this is normal.
enjoy, everything should work now.
If you didn't hit that "THANKS" button, you better do now. If you did, do it again?
Thanks leapinlar for catching the typo, I have reupload the shell script file now. And thanks to him for hosting the gapps-system.zip
There have been some errors on my initial instruction. Certain things have been point out. I have updated the instruction accordingly. leapinlar have also fixed gapps files and the shell script for that in post #34. So big kudo to him. I haven't have much time to toy with this lately, but since people report that his script work. So here are the new instruction.
If you were using verygreen version of root, try running this first.
Code:
adb shell su -c "/data/su/busybox chown shell.shell /data/su"
FAQ:
Q: I don't see the Google Play Market on the list of apps.
A: If you use the "Skip OOBE" aka Test mode, then (reboot first or go into shell and kill the app launcher and then) you have to hold down the Vol-Up key and tap the word Apps on the top to see them. After that I recommend installing other launcher, then they can see all the apps.
Q: Some people are saying after they install an adblock app, after reboot it get into bootloop and wipe everything.
A: The way most adblock apps work is that they modify the hosts file which usually located at /system/etc/hosts Well, as we have discussed before this is not a good idea to make change directly to /system folder(directory). The only adblock I know of that work is AdAway with a specific setting.
When installed, first you have to go to menu > preferences > target hosts file > /data/data/hosts, it will then ask to create symbolic link, say yes and then you can reboot.
Troubleshooting Tips:
I had a little problem today, unrelated to the GAPPS install mod here. But the problem involved Google Play not working correctly. I kept getting Google Play error pop up. So, I use Titanium Backup ROOT to wipe the data and then uninstall all the apps which names start with Google. I'm not sure if this is enough, it might but I didn't want to take any chance. This maybe unnecessary but I did it anyway; I delete all the files that I created in the /data/su/system that have anything to do with google. Basically anything that was unzip there. Rebooted, then re-apply the same google mod here. And problem solved. I did have to re-login again, but yes I clear up that Google Play error.
Pre-Requisite:
ADB + ROOT + Enable Unknown Source.
1. ADB: leapinlar wrote a post to help you getting ADB to work here.
2. ROOT: I wrote a guide on how to get root the easy way here.
3. Enable Unknown Source: Again, I make an easy little tool for you here.
Brand New and Improve Instructions:
Download these three files. New.zip GoogleMaps.apk and gapps-ics-system.zip
Unzip New.zip (don't unzip gapps-ics-system.zip)
run install.bat
PS: Now I know how hard it's to write a guide in xda. Prop to all those dev that have been there b4 and after, especially the one I have use their works.
That's it, I'm going out to buy one ASAP. Thanks for your hard work!
thanks for you Howto
after that is it possible to use Youtube and Google Maps apps?
Youtube can be install from Play Store but you have to sideload the Google Maps since it's not available for download in Play Store. GMail works, but the authentication through google account on other apps still aren't working. I guess this problem may be beyond my current level of tinkering knowledge.
great job on getting google market somewhat working!!!! We need the manual nooter developer or author to make what we need for the Nook HD AND HD+. Anyhow I belwive you need more framework files to get google authentication working and unfortunately they need to be installed within root folders like the /system folders and sub folders... Also Barness and noble included frameworks for google authentication, probably just not working with google apps installed manually.... gotta figure it out...
---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------
By the way youtube app works installed older version from my Motorola Droid 3 manually through es file explorer and it works and does HD fine
I have been thinking about that and wonder if we can put those lib files on diff folder and sym link them? I still afraid it might reset the thing.
someone0 said:
Instruction:
[*]Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
Click to expand...
Click to collapse
I was able to do this with root explorer after rooting with no problem.
Thanks for this (and your rooting zip - both are super!)
issue was fixed, removed obnoxiously long quote
smatticus said:
still have the issue where i can't get the nookcolortools to run properly from /system/app. it just crashes. i googled this and it says that i need to reboot the nook to apply the system/app move BUT that supposedly creates the bootloop. i REALLY don't want to do that so can someone help me out here?
Click to expand...
Click to collapse
You probably shouldn't quote anything that big unless you very need to. As far as getting nook color tool to run, did you set the file to have proper permission, eg: chmod and chown the file? Your other option is factory reset and start from scratch. Sometime getting a clean slate to start with make things easiler to follow.
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
someone0 said:
As far as getting nook color tool to run, did you set the file to have proper permission, eg: chmod and chown the file? Your other option is factory reset and start from scratch. Sometime getting a clean slate to start with make things easiler to follow.
Click to expand...
Click to collapse
turns out i wasn't supposed to install the app via adb. my fault for not following instructions. thanks for your hard work
Nice, I think I am getting the Nook HD+.. Hope there is custom ROM soon.. thanks man
leapinlar said:
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
I'm thinking about that right now but as I suggested, putting the google lib in other place and make symbolic link in the appropriate /system sub. I won't be able to test that theory of mine until I get home later tonight. I will have to research where all the files suppose to go and their permission. Unless you want to do it, you are welcome to.
I agree, getting authentication would be tha last missing link to make this device fully enjoyable as day-to-day usage. And the we can wait for custom ROM from real developers. That is definitely out of my knowledge.
works without full reset
figured i'd put it out there that i DID NOT do a full factory reset (partly to be a guinea pig, partly because i'm lazy) and this method DOES WORK without it. It took 2 tries (it loaded up the first time, then crashed a few minutes later.) the second time it worked like a charm. One note: the chown command gave me an "operation not permitted" notice, but the market IS working, i grabbed a TON of apps and thankfully got updates to the ones i purchased through the nook shop that hadn't seen an update since they first launched (i'm looking at you, machinarium).
Thanks!
Thanks so much for your work on this! I can access the Google Play Store along with the Amazon App Store now and have loaded up my new Nook with my favorite apps. My only disappointment is that I still can't get Amazon Instant Video or Google Play Movies to work...once these work I'll be in heaven!
leapinlar said:
Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.
Sent from my Nook HD+ using Tapatalk
Click to expand...
Click to collapse
BTW, I got that working now, my theory works. Now only if I have a place to store 60+MB file. Then I can update this guide to include that. I was able to use Youtube app to access my account and so is my RSS reader to sync with google reader.
Access Denied
I'm getting an error when I try to execute ./gapps-inst.sh. It's saying cannot execute - Permission denied. I've rooted and followed the instructions to install Google Play and all worked fine...I'm on this last step and it won't work! Advice is much appreciated!! I also keep having permission denied issues with the adb push command...I can paste the files manually via ES File Explorer and rename to remove the .bin but I still can't install from adb shell.
I've also tried chmod 777 on the gapps-inst.sh prior to doing ./gapps-inst.sh but that produces a giant string of errors.
I'm at a loss!
someone0:
I just rehosted your files on my MediaFire account.
Removed links. New links on OP.
Alright, so I have no idea what Nook HD/HD+ thread to put this is in... so here i go.
1. Will these steps get the play store on the Nook HD as well?
2. Will the apps show up in the Nook app section, or do we still need a launcher. I have sideloaded all my apps, but have to use a launcher to get at them.
Thanks!
someone0:
There is are a couple of typos in your gapps-inst.sh file -
Code:
ln -s /data/su/system/usr/srec/en-US/google_hotword_clg /system/usr/en-US/google_hotword_clg
ln -s /data/su/system/usr/srec/en-US/google_hotword_logistic /system/usr/en-US/google_hotword_logistic
are missing the /srec in the second /system link.
Also it seems the real /system has these files so the symlinks fail.
Code:
ln -s /data/su/system/etc/permissions/com.google.widevine.software.drm.xml /system/etc/permissions/com.google.widevine.software.drm.xml
ln -s /data/su/system/framework/com.google.widevine.software.drm.jar /system/framework/com.google.widevine.software.drm.jar
ln -s /data/su/system/usr/srec/en-US/acoustic_model /system/usr/srec/en-US/acoustic_model

Alternative Launcher + Backup Launcher

Thanks to @jkchr1s for the steps
I have also attached a backup com.amazonfire launcher just incase soeone messes up.
Working Launcher replacement thanks to @diegocr and @Awesomeslayerg ! Here's the steps:
See @diegocr post at http://forum.xda-developers.com/show...8&postcount=23 and download "boot-firelauncher.img"
Enable USB debugging
Install your launcher of choice!
On your computer, run
Code:
adb reboot bootloader
Once your tablet reboots in to fastboot, run on your computer (if you are not in the same directory as boot-firelauncher.img, put the full path):
Code:
fastboot boot boot-firelauncher.img
Tablet will reboot
Once booted open an adb shell:
Code:
adb shell
To back up the existing app, run:
Code:
cp /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk /sdcard/Download/com.amazon.firelauncher.apk
Then nuke it!
Code:
rm /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk
Now, run to restart your device:
Code:
reboot
Confirmed working on my tablet with FireOS 5.0.1.
Enjoy!
If you mess up and your fire dosent have a launcher then download the apk file and adb sideload it once your at the lock screen.
Just wanted to mention can keep the Fire launcher installed without having it forced as default. Follow the above then using a file manager go to where you made a copy of the apk file and install it. It will install and can be used and selected as home or not via the usual home method.
You sir deserve a medal sir! You just saved me 15 € for Netflix and chilling.
or just use Titanium Backup with Pro Key, to Freeze the app
Someone care to explain a bit more? Does this allow us to select a new launcher within system settings making the home button select this launcher?
ruokblah said:
Someone care to explain a bit more? Does this allow us to select a new launcher within system settings making the home button select this launcher?
Click to expand...
Click to collapse
yes
Sent from my KFFOWI using XDA One
After removing the default launcher, I moved to Nova launcher and lost access to all the apps I had saved to my SD card via the system settings. Does this have something to do with the firelauncher? Is there a way to re-enable sd card read/write access?
shiz0id said:
After removing the default launcher, I moved to Nova launcher and lost access to all the apps I had saved to my SD card via the system settings. Does this have something to do with the firelauncher?
Click to expand...
Click to collapse
shouldn't, did you remove other amazon apps?
sd_shadow said:
shouldn't, did you remove other amazon apps?
Click to expand...
Click to collapse
nope, just the FireLauncher, the apps are grayed out in nova, if that means anything.
shiz0id said:
nope, just the FireLauncher, the apps are grayed out in nova, if that means anything.
Click to expand...
Click to collapse
Apps on sd card working fine with Google now launcher
Sent from my KFFOWI using Tapatalk
sd_shadow said:
Apps on sd card working fine with Google now launcher
Sent from my KFFOWI using Tapatalk
Click to expand...
Click to collapse
fixed after forcing a restart of nova, appears to be some kind of issue with the app itself
On another note, do you know any way to re-enable sd card write access?
shiz0id said:
fixed after forcing a restart of nova, appears to be some kind of issue with the app itself
On another note, do you know any way to re-enable sd card write access?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=nextapp.sdfix
Sent from my KFFOWI using Tapatalk
Awesomeslayerg said:
Thanks to @jkchr1s for the steps
I have also attached a backup com.amazonfire launcher just incase soeone messes up.
Working Launcher replacement thanks to @diegocr and @Awesomeslayerg ! Here's the steps:
See @diegocr post at http://forum.xda-developers.com/show...8&postcount=23 and download "boot-firelauncher.img"
Enable USB debugging
Install your launcher of choice!
On your computer, run
Code:
adb reboot bootloader
Once your tablet reboots in to fastboot, run on your computer (if you are not in the same directory as boot-firelauncher.img, put the full path):
Code:
fastboot boot boot-firelauncher.img
Tablet will reboot
Once booted open an adb shell:
Code:
adb shell
To back up the existing app, run:
Code:
cp /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk /sdcard/Download/com.amazon.firelauncher.apk
Then nuke it!
Code:
rm /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk
Now, run to restart your device:
Code:
reboot
Confirmed working on my tablet with FireOS 5.0.1.
Enjoy!
If you mess up and your fire dosent have a launcher then download the apk file and adb sideload it once your at the lock screen.
Click to expand...
Click to collapse
I found it was easier to download a 2nd launcher (google now/apex/nova) after I gained root access, then backup the com.amazon.firelauncher in the system/priv-app folder to my SD card or outside the priv-app folder using es file browser. Delete the com.amazon.firelauncher folder inside priv-app, restart the tablet then I was asked on reboot to confirm the default launcher.
Thought it may help someone out who doesn't fancy running the commands.
Cheers as this forum has helped me a lot, much appreciated for all the hard working devs!
Awesomeslayerg said:
Thanks to @jkchr1s for the steps
I have also attached a backup com.amazonfire launcher just incase soeone messes up.
Working Launcher replacement thanks to @diegocr and @Awesomeslayerg ! Here's the steps:
See @diegocr post at http://forum.xda-developers.com/show...8&postcount=23 and download "boot-firelauncher.img"
Enable USB debugging
Install your launcher of choice!
On your computer, run
Code:
adb reboot bootloader
Once your tablet reboots in to fastboot, run on your computer (if you are not in the same directory as boot-firelauncher.img, put the full path):
Code:
fastboot boot boot-firelauncher.img
Tablet will reboot
Once booted open an adb shell:
Code:
adb shell
To back up the existing app, run:
Code:
cp /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk /sdcard/Download/com.amazon.firelauncher.apk
Then nuke it!
Code:
rm /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk
Now, run to restart your device:
Code:
reboot
Confirmed working on my tablet with FireOS 5.0.1.
Enjoy!
If you mess up and your fire dosent have a launcher then download the apk file and adb sideload it once your at the lock screen.
Click to expand...
Click to collapse
Could the "boot-firelauncher.img" also be used for the Fire HD 10?
Black Hawk90 said:
Could the "boot-firelauncher.img" also be used for the Fire HD 10?
Click to expand...
Click to collapse
Yes, see [Root] Amazon Fire HD 8 & 10 (5th Gen 2015) for details
Anyone noticed that you cant pin widgets to the startscreen?
Everytime i try, it redirects me to the Amazon-Settings app und the widget isnt pinned.
This happens when the widgets are larger than 1x1
*Igel* said:
Anyone noticed that you cant pin widgets to the startscreen?
Everytime i try, it redirects me to the Amazon-Settings app und the widget isnt pinned.
This happens when the widgets are larger than 1x1
Click to expand...
Click to collapse
Widgets are working for me with Now launcher
*Igel* said:
Anyone noticed that you cant pin widgets to the startscreen?
Everytime i try, it redirects me to the Amazon-Settings app und the widget isnt pinned.
This happens when the widgets are larger than 1x1
Click to expand...
Click to collapse
Convert the launcher to a system app.
csolanol said:
Convert the launcher to a system app.
Click to expand...
Click to collapse
How would I convert it to a system app?
I've found https://play.google.com/store/apps/details?id=de.j4velin.systemappmover&hl=en which works good.
Moved my new apex launcher to system map, reboot was required, then widgets worked with apex launcher which hadn't worked before.

[SCRIPT] Debloat HTC 10

Although HTC 10 comes with less bloat than most other phones, it still has apps preinstalled that some of us probably will never use.
Some of those apps may even run at boot and consume RAM and CPU. For this purpose I made a small script that will remove those apps instead of doing it manually via ADB Shell.
This script is for Mac/OS X/macOS. I think it can also run on Linux but I'm not sure because I don't use Linux much.
For Windows, it can easily be ported to command line. If someone is willing to do it, PM me the script and I will add it to the repo.
Apps that the script removes:
Boost+
Google+ Sense Add-on
Instagram (placeholder app)
LinkedIn Sense Add-on
HTC Mail
Facebook (placeholder app)
Messenger (placeholder app)
News Republic
TouchPal Keyboard (SEE NOTE!)
Twitter Sense Add-on
Voice Recorder
Zoe
HTC Help
IceView Case support
HTC Speak
Transfer my stuff
Google Hangouts
Google Play Music
Basically what the script does:
Mount /system as RW
Delete above apps .apk and containing folder
Reboot after done.
DISCLAIMER: Although I don't see what could possibly go wrong by flashing this script, be sure to back up your ROM before flashing as I don't take any responsibility caused by this script. I have tested it on my HTC 10 and I didn't have any issues.
IMPORTANT NOTE: If you plan to remove TouchPal keyboard, make sure that you have an alternative already installed before or you won't be able to type any text. In case you're reading this after you already screwed up, download your prefered keyboards .apk file and install it via ADB. The script will stop before removing the keyboard and ask if you are sure you want to remove it.
How to:
Enable USB debugging
Connect your phone
Execute "adb shell" and then "su" and grant superuser access to adb shell
(OS X) make script executable (chmod a+x)
Run script
I am open for suggestions and merge requests, happy debloating
The script can be found HERE.
Hoping someone works on the windows version cause i suppose totally run this.
Thanks for sharing
Sent from my HTC 10 using XDA-Developers mobile app
All this can be manually removed simply by hitting uninstall with root access right? Not knocking the script, just asking honestly.
Sent from my SM-G900V using Tapatalk
Just double checking, but I take it that root is required?
Milano_II said:
All this can be manually removed simply by hitting uninstall with root access right? Not knocking the script, just asking honestly.
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
Ive tried some apps for removal of system apps but it didn't work. And since I play around with ROMs reinstalling and uninstalling app by app takes just to much time.
Milamber said:
Just double checking, but I take it that root is required?
Click to expand...
Click to collapse
Yes, you need root because you need to remove apps from the read-only /system partition.
Got it. Thanks for the reply. I haven't had an htc phone since gingerbread and I mostly had Samsungs on Verizon so I never bothered rooting. I didn't get my 10 yet but I hope to root right away and get rid of things I think are bloat. Probably gonna need this script I guess we'll see. Thanks again!
Sent from my SM-G900V using Tapatalk
very nice, quick and easy one step to uninstall the stuff that is safe to, thank you!
razrlover said:
Hoping someone works on the windows version cause i suppose totally run this.
Thanks for sharing
Click to expand...
Click to collapse
if you like i can take a crack at it, simple batch script should work almost out of the box as long as you have adb set up
ibrokemypie said:
if you like i can take a crack at it, simple batch script should work almost out of the box as long as you have adb set up
Click to expand...
Click to collapse
will you make it for windows please?
@gillim74 @razrlover @dj_chapz
I have made a working copy for windows and added it to a fork of the gitlab repo here: https://github.com/ibrokemypie/htc_10_pme_debloat/blob/master/htc10_bloat_remover.cmd
I will maintain this as long as @dj_chapz does and will pull in any changes he makes.
I usually make changes after a firmware update if I notice any new bloat, but there shouldnt be much changes.
Also, this list is by personal preference, because some apps that I choose to leave others may want to remove or vice versa, so everyone should take the script as a base and edit to their likeing.
ibrokemypie said:
@gillim74 @razrlover @dj_chapz
I have made a working copy for windows and added it to a fork of the gitlab repo here: https://github.com/ibrokemypie/htc_10_pme_debloat/blob/master/htc10_bloat_remover.cmd
I will maintain this as long as @dj_chapz does and will pull in any changes he makes.
Click to expand...
Click to collapse
After running this (windows), and going into Settings > Apps, I get a Loading screen that never ends. Same thing in Titanium backup when it tries to build a db of the installed apps.
typhoonikan said:
After running this (windows), and going into Settings > Apps, I get a Loading screen that never ends. Same thing in Titanium backup when it tries to build a db of the installed apps.
Click to expand...
Click to collapse
which update are you running? still marshmallow or have you gone to nougat? custom rom? and have you tried restarting and perhaps clearing cache/dalvik?
Device or resource busy
Read-only file system
Read-only file system
tried it but all the apps had the above thing ^
nougat,
oh it did work o.o saw the apps for a second, thank you! could i just add the sense apks into the script and remove it the same way?
Dare I ask... why not make a shell script you run from the phone? I'll give it a shot. I wrote one that creates directories so I can use FolderSync to restore settings from the cloud.
Sent from my HTC6545LVW using XDA Labs
SovPanda said:
Device or resource busy
Read-only file system
Read-only file system
tried it but all the apps had the above thing ^
nougat,
oh it did work o.o saw the apps for a second, thank you! could i just add the sense apks into the script and remove it the same way?
Click to expand...
Click to collapse
Hi, did you use the Windows version? Thanks
spacecowboy618 said:
Hi, did you use the Windows version? Thanks
Click to expand...
Click to collapse
windows 10 <--
used the one he has listed to download in the original OP and works

[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

FireHD 10 rooted, issues with Nova launcher as replacement of firelauncher

I've been trying to get novalauncher to replace the firelauncher, and I can do so with launcher hijak, but to make it native, I just can't get it working. Im skilled in unix, but I'm new to android, and dealing with tablet/phone android systems.
Is there a specific set of instructions as to how to do this including moving the files to /system/app or /system/priv-app?
Some oddities I'm seeing.
First and foremost the names are a bit odd instead of com.teslacoilsw.launcher I see com.teslacoilsw.launcher-1. Maybe this is normal.
Posts reference just copying the apk from /data/app as if its a single file. For whatever reason, it appears as a folder both in ES File Browser, and the adb shell, with base.apk and a lib folder (which is empty). I have moved the entire folder from /data/app to /system/app or /system/priv-app, and changed the permissions on it to 744 with and without changing the perms on the base.apk IN the folder...but it simply doesn't work.
My goal is to replace the firelauncher with nova, as I like it much more, and I was trying to eliminate the "flicker" from the hijak solution.
I just did it yesterday by moving entire folder com.testlacoilsw.launcher-1 from /data/app to /system/priv-app, all folders 755(need execute to cd, that's what I always do with my unix folders, not sure if that's needed in this case), and the apk to 644. I am able to add widgets and swipe left to get google now in Nova, firelaucher disabled, no hijacklauncher.
freealta said:
I just did it yesterday by moving entire folder com.testlacoilsw.launcher-1 from /data/app to /system/priv-app, all folders 755(need execute to cd, that's what I always do with my unix folders, not sure if that's needed in this case), and the apk to 644. I am able to add widgets and swipe left to get google now in Nova, firelaucher disabled, no hijacklauncher.
Click to expand...
Click to collapse
How did you get it to be the launcher app that runs when the user logs in?
pm enable com.testlacoilsw.launcher and pm disable x.firelauncher?
cuilidh said:
How did you get it to be the launcher app that runs when the user logs in?
pm enable com.testlacoilsw.launcher and pm disable x.firelauncher?
Click to expand...
Click to collapse
I set Nova as the default launcher in Nova, it prompts you to do that when you get into Nova Settings, then pm disable com.amazon.firelauncher.
cuilidh said:
How did you get it to be the launcher app that runs when the user logs in?
pm enable com.testlacoilsw.launcher and pm disable x.firelauncher?
Click to expand...
Click to collapse
It must have been permissions, because now it appears to work. I haven't tried any widgets...and swipe left doesnt bring up google now, but at least the launcher is working.
Im going to try the step that gives nova privs...although I thought putting an app in /system/priv-app did that.
Download the attached file, rename it from .txt to .sh and place into the internal storage on the tablet then run:
Code:
adb shell appwidget grantbind --package com.teslacoilsw.launcher --user 0
This will get your widgets working
cuilidh said:
It must have been permissions, because now it appears to work. I haven't tried any widgets...and swipe left doesnt bring up google now, but at least the launcher is working.
Im going to try the step that gives nova privs...although I thought putting an app in /system/priv-app did that.
Click to expand...
Click to collapse
Make sure to install Google from the play store in order for swipe left to work, installing play store doesn't include Google. If you installed Nova correctly as a system app, widgets will work without doing anything else.
freealta said:
Make sure to install Google from the play store in order for swipe left to work, installing play store doesn't include Google. If you installed Nova correctly as a system app, widgets will work without doing anything else.
Click to expand...
Click to collapse
Yep, this was it.
What else should I be installing from the google store to get the best functionality? I'm entirely new to android.

Categories

Resources