yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" General] ijkn:
1. You can still access the Settings by swiping down from top. Select Settings. Select "Applications",

2. Select "Manage All Applications". change the Dropdown-Menu to show only "Running Applications".

3. Force Quit the "Setup Wizard"

4. Swipe down from top again, the Search is available again. (Bottom Right)

5. Search for your File Explorer application and start it.

6. Navigate to /system/priv-apps/ and rename SetupWizard.apk
[Kindle Fire HDX 7" & 8.9" General] w3r3w0lv33:
That's the thing though. When I select settings, nothing happens. It just flashes back to the Setup Wizard.

The only thing that'll function is Auto Rotation toggle, Quick Brightness, Quiet Time, and Mayday.
[Kindle Fire HDX 7" & 8.9" General] ijkn:
Sounds like you also renamed DeviceSoftwareOTAContracts.apk (Don't do this!) Maybe someone else has an idea regarding adb.
[Kindle Fire HDX 7" & 8.9" General] w3r3w0lv33:
This, I admit, I did.

I was in the middle of renaming DeviceSoftwareOTA.apk, however something popped up on my screen. I almost dropped my Kindle, but my finger slid accessed the screen and edited the name.

This led me to believe that autocorrect changed DeviceSoftwareOTA.apk into DeviceSoftwareOTAContracts.apk

---------- Post added at 08:02 PM ---------- Previous post was at 07:53 PM ----------

I just figured it out!

I swiped up, and sure enough: the recent apps drawer showed up. Luckily, my file explorer was one of the recent apps!

I proceeded to follow the steps that ijkn gave me and now everything works!
[Kindle Fire HDX 7" & 8.9" General] santafeed:
so does anyone have an idea how could we add gapps ? Clearly this method is not working for everyone
[Kindle Fire HDX 7" & 8.9" General] zxcv888:
Do I copy meta-inf and addon.d??
[Kindle Fire HDX 7" & 8.9" General] zxcv888:
yes or no answer would be more appropriate. I wasn't clear on the original post hence the question.. Quoting the exact same words doesn't make it any better.
[Kindle Fire HDX 7" & 8.9" General] Potato_of_Doom:
The Gapps Zip we are using was ment to be flashed by a recovery. To flash such a Zip File the recovery needs instructions which are saved in META-INF.

Addon.d is a folder that contains scripts which are run during a rom update or flash. (Used to set permissions and similar stuff...)

In conclusion: These files are only important for flashing... And we are not flashing anything
[Kindle Fire HDX 7" & 8.9" General] stubblyhead:
I'm having some problems after installing the GApps content. I got all the various files into the /system directory and updated the permissions to 644, then installed PrebuiltGmsCore.apk. I did that via adb since I had the terminal window handy from moving the other files over. While the install was happening the screen on my Fire went black, but the install completed successfully shortly thereafter. When I pushed the power button to restart my kindle though, it didn't respond. If I held it down it still made the little chime when it asks if you want to restart, and the volume buttons beeped as well. I rebooted via adb, and it's stuck on the gray kindle fire splash screen. The device reports as offline in adb, so it doesn't look like I'll be able to get into it that way. I can still do a hard reset by holding the power button down for 25 sec., but it just hangs at the same spot. Any ideas what I might have done wrong, and more importantly how I might fix it?
[Kindle Fire HDX 7" & 8.9" General] emgo:
potato of doom thanks for the work you put into this thread. I am getting a "Parse Error" "There was problem parsing the package" message when I try to install the PrebuiltGMSCore.apk. I used the Universal DPI minimal GApps package and copied the contents of the GApps folders into their respective system folders except the Priv-App where I copied the complete folders because those folders didn't exist in the original and of course the ones you said not to copy. What did I do wrong?

Thanks,

Ken
[Kindle Fire HDX 7" & 8.9" General] dprogo:
File Permissions

Thanks for this!

GSLEON3 made mention of needing 0644 permissions on all the GApps files you copy to you /system/ subfolders. At the risk of posting something overly-obvious, I thought I'd add some explicit instructions on modifying those file permissions in ES File Explorer for those who, like me, are new-ish to this sort of thing. Hope they help someone.

Symptoms: Root and OTA blocking went fine for me, but I couldn't seem to get GApps running. The Google Play store just kept loading to white the closing (within a fraction of a second).

Solution:

Once you've copied all the GApps files to the /system/ subfolders, you need to manually select *each* file one at a time in ES File Explorer to get a check mark on it

Choose "More", then "Properties"

In the Properties window, tap the "change" button for Permissions

Set the file permissions to 0644 (Owner gets Read and Write, Group gets Read, and Other gets Read. All other boxes unchecked) and tap OK.

Tap cancel to close the properties window.

You can refresh the file view and it should show each file as -RW-R--R-- (visible if you change ES File Explorer's view to Small Detail).

Reboot and start Google Play Store.

Thanks again to everyone for the great info!
[Kindle Fire HDX 7" & 8.9" General] emgo:
Thanks, I'll give that a try later this afternoon and let you know what happens.

Ken
[Kindle Fire HDX 7" & 8.9" General] fabische:
Still no GAPPS

After successfully down-& upgrading my Apollo to 5.4.2 and rooting, the described methods for installing the Google Play Store etc still don't work for me. I am stuck at copying the Google apks into the priv-app folder. However it's not a rights issue (rw enabled all over the place). I simple get a "not enough memory" error when I try to push the files into this folder.

Alternatively, I tried to use the HDXposed method. However, after installing all components looks finde, the Playstore app closes immediately after trying to open it.

Well, it cannot be that hard to install the Play Store on a rooted Android device, can it?

Anybody?
[Kindle Fire HDX 7" & 8.9" General] maccaberry:
fabische, I had the same problem. It appears that you need to remove some bloat from the /system folder to make room for the GAPPS apks that you are trying to copy. I deleted a couple of items that I dont need (you just look through the /system/apps folder and delete something you dont need - it needs to be something around 10MB or more. A subsequent reboot will uninstall the deleted apk but you should be able to copy all the GAPPS apks into /system immediately after the deletion of the old bloat apks. Warning dont delete anything remotely connected with Kindle or Amazon)

Note that you need to set the permissions manually as shown on post 97. This is essential.

Then once you reboot again you will probably find that setup wizard will get you stuck at the wifi selection screen. As soon as it does that, swipe left to bring up recent apps and then access your ES explorer to rename setup wizard (make sure it doesnt have .apk at the end of the filename). Reboot again and then manually start the google app store.

This worked for me.

Edit: I just now recall what I deleted. I deleted the HP print spooler and the Canon printer app from /system/priv-app. I don't use either. I kept the Epson one because it have an Epson printer. But in truth you can delete all of the, they don't need to be system apps. You can install all of them from the Google play store if you need them later on.
[Kindle Fire HDX 7" & 8.9" General] neils31:
Ok I just tried this and now I am stuck in a loop from selecting language to selecting wifi.

When the wifif is connected and I go back to the language select screen it turns off the wifi.

Anyone get this to work?

UPDATE: - ok I renamed setupwizard, I was then allowed to connect to wifi and access the play store
[Kindle Fire HDX 7" & 8.9" General] santafeed:
From what I found so far I have to ask if we can do it that way:

First:

Second:

Final:

In my case the main tutorial does not work (I get stuck in the settings). When I tried "FIrst" and "Second" I got a playstore that could not be opened (screen pops up and closes right after that). Is it safe to add the final step now or I am totaly wrong ?
[Kindle Fire HDX 7" & 8.9" General] maccaberry:
Locations Services?

Anyone else having problems with location services? I cant get it to turn on since I added GAPPS. I assume I am missing some services or perhaps some of the the overwritten files have caused it to fail. Without location services many apps wont work properly.
[Kindle Fire HDX 7" & 8.9" General] jeryll:
Well you are so close, if you can find symptoms section in final part, read that again please and compare with what you are experiencing...

I cant say it is safe, but AFAIK there is nothing else that you can do, than the final part...

In Linux in case of wrong permissions for apps there is no compromise, if not properly set, it is just not working, hence so many bricks after build.prop file editing and not correctly setting permissions before reboot - since it is critical file for system boot, FireOS refuse to continue...
[Kindle Fire HDX 7" & 8.9" General] emgo:
GPS Not Working With Google Play Store

I finally got the Play Store working great but now the GPS is not working. For example I start OsmAnd maps, it asks to “Approve Use of location Information” I choose enable and the GPS symbol shows up, it will start acquiring satellites, most of the time get a fix then I get the Goggle window asking to “Improve location accuracy”. As soon as the window pops up the GPS symbol goes away and doesn’t come back on, no matter if I choose Agree or Disagree. I have to reboot and open OsmAnd again to get the GPS symbol back, then the cycle repeats. My WiFi is off and I went back through all the files related to the Play Store hack and made sure all the permissions are set correctly. Got any suggestions?? If there is no solution what is the safest way to remove the Play Store??

I used the Universal DPI GApps. This is a HDX 7 LTE 4.5.2

I just realized it won't let me turn on "Location Based Services" in the settings menu. The "Improve location accuracy" window comes up and no matter if I agree or disagree the "Location Based Services" stays off.

Thanks

Ken
[Kindle Fire HDX 7" & 8.9" General] gtrombitas:
reset

Hi

I made all on my Kindle HDX 7", everything works!

Thanks

My question: what, if I restore factory defaults? Deletes it all my modifications?

Will OTA Update come back?
[Kindle Fire HDX 7" & 8.9" General] oOFrAnzOo:
Nope. The OTA apk got changed in the /system folder. With the factory reset with Amazon's recovery, you only formate your /data folder like you got it new ;)
[Kindle Fire HDX 7" & 8.9" General] fabische:
YES!

:good::good::good:

Hooray! Hooray!!! Success! I've made it!!!!

Thanks to maccaberry and all the others here in the forum I have finally an all-singing-all-dancing rooted Apollo 8.9 on 4.5.2 with working Play Store and Google Apps. THANKS TO EVERYBODY CONTRIBUTING VALUABLE INFOS TO THIS FORUM!

This has been a hell of a quest and sometimes a real pain in the ----.

I can only advise anybody who wants to successfully root 4.5.2 with working GAPPS to meticulously read the whole thread and take all the little tipps into account. If somebody finds the time a tutorial compressing the scattered information would be very useful.

My main problem was that I tried to be too fast, ignoring essential details, and subsequently running into problems more sooner than later. You should definitely have an adb connection available just in case you run into trouble. The final hurdles I took was how to make space in the priv-app folder, getting all rw-permission of the system folder right and that you have to GET RID OF THE SETUP WIZARD. What I still don't know is how to change to wallpaper from black to whatever.

Good luck and I am happy to help where I can.... :fingers-crossed:
[Kindle Fire HDX 7" & 8.9" General] TXKSSnapper:
Does anyone know how to log out of a google account after installing this way? i rooted and installed gapps on a friend's fire and older tricks such as using gmail to get to account settings don't seem to work. I could always factory reset, but I was hoping to avoid that.
[Kindle Fire HDX 7" & 8.9" General] maccaberry:
Issues with this GAPPS mehtod

I see a couple of issues with this method of adding GAPPS.

1. Location services is destroyed when applying GAPPS.

2. Ability to set default launcher or indeed any other apps is not possible. Need to select the launcher/app every time to avoid using the default Amazon version. Can deleter/ename the kindle launcher from priv-apps but then you cannot get back to kindle launcher in the furture to use kindle reader app. Kindle reader doesn't seem to work from the google play store.

3. Wallpapers aren't possible without additonal mods or perhaps using a launcher that includes wallpapers of its own. The most used launcher, Nova, doesnt include wallpapers so you are out of luck there.

Item 3 is not a big one, but items 1 and 2 need help from better minds than mine to solve.
[Kindle Fire HDX 7" & 8.9" General] emgo:
Quoted myself just to keep everyone updated. I can uninstall the Play Store like uninstalling any app from settings/app. When I uninstall the Play Store my GPS works fine. It looks like the Kindle tries to turn on location services and then Google tries to turn location services resulting some type of conflict. I can live with uninstalling, it allows me to download any apps I need from the Play Store then uninstall the Play Store and the GPS works fine. I have the same problem with launchers as maccaberry. I miss Nova launcher. I tried removing the Setup Wizard and that didn't help. After I removed the Setup Wizard the WiFi wouldn't work so I put it back.

Edit: This morning I downloaded some more map apps and the GPS Status App from the Play Store. I thought I'd try to run the GPS Status app before I uninstalled the Play Store again. It worked and all the other map apps worked correctly. They acquired a fix in short order with no conflicts from Google location services. I can't explain it. Last night I rebooted several times with no luck. I guess today is my luck day. Thanks to all that made the Play Store work on the HDX 7!!!

Thanks,

Ken
[Kindle Fire HDX 7" & 8.9" General] maccaberry:
Ken, thanks for the heads up. I have been scratching my head for a few days trying to work out which service or apk from Gapps was killing location services. I had assumed it was one o0f the ones that were over-written when I copied all the files from the Gapps zip file to the /system folders. Never considered the playstore app. Great work figuring that out. Now I can stick with 4.5.2. I had thought of going back to 3.2.8 with a rom slot using Nexus just so I could get both locations services and Nova launcher. Now that you have sorted out the location services thing we are almost there at the perfect Kindle HDX. Cheers.
[Kindle Fire HDX 7" & 8.9" General] emgo:
GPS was working fine with the Play Store installed earlier today. Late this afternoon GPS would not work with the Play Store installed. It maybe something about the Google Services portion. For me I'm going to leave the Play Store uninstalled. I'll install and uninstall as needed. My primary use for this tablet is the GPS.

Thanks,

Ken
[Kindle Fire HDX 7" & 8.9" General] santafeed:
Would you be able to write short tutorial about how you did everything from scratch as soon as you have time ? I have tried to do something like that a few posts above but I am not sure if it's working
[Kindle Fire HDX 7" & 8.9" General] Beeko:
Just an FYI, don't rename the file DeviceSoftwareOTAContracts.apk cause then you'll have no way to access settings or even the launcher. I had to adb sideload root browser for me to be able to rename and use my tab again.
[Kindle Fire HDX 7" & 8.9" General] lekofraggle:
Here is what I did...

I downloaded the universal from the link in the op (Have used the 320 as well).

I have bought root explorer, so it was easier (it allows two tabs of folders side by side. Es does as well, but root explorer makes it a tad easier).

Downloadt he zip.

Extract it.

Copy every file (besides those mentioned below)To the corresponding system folders.

Skip... PrebuiltGMSCore.apk, META-INF, add-on.d, and SeculArists.apk

When prompted, I did not allow any overwrites of files (those copies failed). I skipped anything which looked like it would change system defaults.

Make sure permissions were correct by comparing them to other files in each folder.

Install PrebuiltGMSCore.apk normally (by opening it in root explorer).

Reboot.

Open play store.

It failed.

Reboot

Open play store

Success.

Good luck.

~Leko
[Kindle Fire HDX 7" & 8.9" General] B3NJY:
Possible proper Tutorial on Installing gapps

Well that was a long read to get through all the posts and problems on installing gapps on a fresh install of 4.5.2.....so this could be the tutorial that helps .... I will try this thank you for your input mate...
[Kindle Fire HDX 7" & 8.9" General] lekofraggle:
You are welcome.
[Kindle Fire HDX 7" & 8.9" General] maccaberry:
Hi Ken. You don't need to uninstall and reinstall play store each time. Just get 'app quarantine' from the play store and us it to freeze (quarantine) google play and google services when you need to use gps. You can quickly unfreeze them when you need to use playstore. Whole freeze/unfreeze only takes a few seconds.

Only downside to this workaround is that you cant use google maps or google earth which both require google services. There are plenty of offline maps you can use, unfortunately none as good as google maps.

If only we could work out the conflict between google services use on location and kindles own use of services.... then we wouldn't need a workaround.

Cheers.
[Kindle Fire HDX 7" & 8.9" General] emgo:
maccaberry, thank you for that information. I didn't know about that app.

leko thanks for posting those steps. I goofed up, when I pasted the files into their respective folders I overwrote existing files when prompted. My HDX seems to be working fine but I would like have the stock files or a copy of the files from your HDX, If you or someone doesn't mind. My GPS reception seems erratic compared to my phone. It loses it's position much, much more than my phone does. I don't think that issue is software related. Most likely just a difference in the GPS sensors, but I might try the stock files or your files as an experiment.

Thanks,

Ken
[Kindle Fire HDX 7" & 8.9" General] santafeed:
When I try to open the play store nothing happens. It just blinks, any idea ?
[Kindle Fire HDX 7" & 8.9" General] neils31:
check post 97, changing these permissions worked for me on two HDX's
[Kindle Fire HDX 7" & 8.9" General] santafeed:
FInally got it working ! I have changed the permisions, then I was stuck in the settings. I had to kill setupwizard.apk then open root explorer and rename setupwizard.apk to something else. Everything works perfect now

Everything except the Location :(
[Kindle Fire HDX 7" & 8.9" General] zxcv888:
Gmail Sync?

Is anyone able to get Gmail to Sync? I got the email if I manually refresh in the app. But, It wont sync or give me notification..
[Kindle Fire HDX 7" & 8.9" General] neils31:
theres an option in gmail for sync

settings >>>> account (email address)>>>>>> tick the sync Gmail box
[Kindle Fire HDX 7" & 8.9" General] zxcv888:
There is no account manager for gmail since I am on fire OS. But, It seems like it's syncing now...
[Kindle Fire HDX 7" & 8.9" General] neils31:
ah thought you were using the gmail app
[Kindle Fire HDX 7" & 8.9" General] Spec-Chum:
All working great here. Down graded from 4.5.3 then upgraded to 4.5.2 to root.

Forgot to change permissions at first but managed to get gapps fully working.

Superb work everyone.
[Kindle Fire HDX 7" & 8.9" General] santafeed:
Download Google Maps and try to run Location, here you get something that's not working :/
[Kindle Fire HDX 7" & 8.9" General] zxcv888:
LOL, I thought u were talking about settings in Fire HDX. I see sync gmail option in gmail app now...

Thanks..
[Kindle Fire HDX 7" & 8.9" General] maccaberry:
Because of a conflict bewteen amazon location settings and google location settings you cant use any apps that require location when google services and google play store are installed.

Conversely, you cant use any google centric apps without these two installed.

So you have to choose. Do you want gps / location working or do you want google centric apps working. You cant have both at the same time. Personally I use App Quarantine to freeze google services and google play store whenever I want to use gps or location services. I unfreeze these 2 services when I need to use google apps.

There are two points to note. 1) you need to reboot after freezing services to get the freeze to stick. 2) google maps is one app that needs both google services and location services at the same time. So its a dead duck until the conflict is solved. You will have to use the amazon maps included with the kindle or another mapping app. I use a free offline mapping app and it works great.
[Kindle Fire HDX 7" & 8.9" General] santafeed:
Thank you very much for the info, I will download that app now + free/cracked sygic aswell instead of google maps
[Kindle Fire HDX 7" & 8.9" General] emgo:
maccaberry do you use yours as a GPS very often and if so does it keep a constant fix? Mine is not so good. I'm using the GPS Status app and OsmAnd maps.

Thanks,

Ken
[Kindle Fire HDX 7" & 8.9" General] maccaberry:
Ken, my HDX doesnt have gps so I am using a bluetooth gps receiver whenever I need to use maps. I would also recommend using an up to modify your gps.conf. This will ensure faster gps fix. I have used 'Fastergps' to change my pool location for this purpose to good effect. Cheers.
[Kindle Fire HDX 7" & 8.9" General] emgo:
Thanks maccaberry I'll give that app a try.

Ken
[Kindle Fire HDX 7" & 8.9" General] papajetta:
think i screwed up big time... im stuck at the google welcome and wifi settings screen after trying to install gapps as per instructions. didnt know what to do so i did a factory reset and now its at the same spot again after the factory reset. i realize i probably broke the root and i also disabled OTA updates before so im trying to figure out how i can wipe everything and go back to stock. could some one please lend me some assistance? im on 14.4.5.2 apollo. thanks in advanced.

actually im not 100% sure that my root was broken ? if my system partition still has the same problem it did before factory reset , then shouldnt my root be part of that partition also?
[Kindle Fire HDX 7" & 8.9" General] Poodle94:
Okay guys I used root explorer as ES explorer causes a hassle with permission. I merged (as in ovewrote the default ones) all the files that were asked to copy from the gapps-kk-20150329-minimal-signed-edition.zip

When rebooting the kindle did seem to install updates and start up. However there was no google playstore. Just google play services after installing gms. After that I installed play store apk and it just came up for a second and closed.

I got an older version of YouTube and it worked. The latest would not. After getting the latest google play services apk, the new YouTube also started working. However PlayStore still doesn't.

I tried changing app permissions and rebooting and it just didn't fix the problem

Is there anything I could do to roll back to the stock or will it be a problem since I might've overwritten some of the files with gapps files? Or would it cause my device to brick?
[Kindle Fire HDX 7" & 8.9" General] papajetta:
Figured my issue out.. Im definetly a noob when it comes to Linux commands... I was trying to obtain super user permission by typing SU in order to mount the system as rw. I wasn't aware that when shell promt begins $ it's read only, and # is rw. I was never going into rw because my kindle screen was always off and every time I would request SU It would ask for acknowledgement through the screen the normal way it's usually granted. Long story short, I modified the appropriate files and voila.... Everything works.