yashsingh1/xdaforums huggingface dataset:
[Fire Original Android Development] vkc3:
No Root / SuperSU After Flashing

Hi Everyone,

Thanks for the hard work on the great-looking ROM! I used the "AmazonFire5thGenSuperTool" to get root (using KingRoot and then replacing that with SuperSU) and then FlashFire to wipe and install both CM 12.1 and pico opengapps. Everything boots up and seems to work fine, but RootJunky's video shows that SuperSU should already be on there and I should have root. (And if I install SuperSU from Play Store then it just errors with the usual "Installation failed" when there is no root.) I should already have root after being flashed, right? Any idea what I'm doing wrong?

Thanks
[Fire Original Android Development] o1nk:
I was in the same boat on this. Not too much on the explanation front on one single page.

However, I found that once you have 12.1 on, you have to go back to supertool and root again

First in 12.1, go do Developer options again. Unknown sources, checked. Privacy and enable root

REBOOT BEFORE YOU DO KINGROOT or you'll be banging your head. Believe me

Then Supertool to do the root again. Kingroot ... SuperSU and ..... bang. Root again

Then get flashfire and gapps on your SD card and run them from File Manager. Flash the gapps result from Flashfire with Automount checked

It works like a dream

I think I will have to do a post on this for 12.1, as it has taken me all day to do 2 Fires from stock to 12.1 fully
[Fire Original Android Development] yummyyetis:
Any advice for getting Pokemon Go working? I had it running on the Nexus rom but I cannot remember what I did or downloaded, all I am getting on CM is failed to authenticate when trying to log in plus GPS signal not found.

Thanks

Holly
[Fire Original Android Development] el_charlie:
No, Kingroot is crap.

Enable root in developer options like you said, install FlashFire and flash the latest SuperSU .zip. Or you can use the default CM root app.

Cheers!
[Fire Original Android Development] vkc3:
Thanks, o1nk. Just to give you another option and to maybe help others out, I did this:

1) Enable Developer Options the usual way (Settings -> About, Tap build number a bunch of times)

2) Go into Developer Options and click "Root access" and enable for "Apps and ADB"

3) Install SuperSU from the Play Store

4) Run SuperSU and when prompted Allow it to have root access

5) Go ahead and update/setup SuperSU as usual

6) I then went back into Developer Options and disabled "Root access" and things seem to keep working with just SuperSU having been allowed.

I above this is what "el_charlie" meant when he said enable root in developer options. However, I didn't need to install or use FlashFire.
[Fire Original Android Development] bhart81:
Ok Guys, i'm banging my head against the wall trying to get Gapps installed. I'v read about 60 threads on this but cant figure it out.

- Fresh install of cm12

- rooted again using king root (success)

- install SuperSU

- try to update binaries (fail)

what the heck am I doing wrong? I've tried about ever combination of install/reboot/uninstall/reboot I can think of.

ughhhh, help?
[Fire Original Android Development] yochananmarqos:
Are you serious? This tablet doesn't have GPS capabilities.
[Fire Original Android Development] platypoid:
What version of the gapps are you using ?

I just set up a new kindle fire $33 special. I had to use Root Junky Downgrade supertool to get right version. Then after rooting it with Root Junky Supertool and putting Flashfire on it I followed the instructions exactly on the first page of this post.Used new CM12.1 11/22 and I used Gapps Arm 5.1 Micro . No problems . After booting I tapped on serial number to get developer options and enabled root and adb and reboot to enable.

The install of CM 12.1 and Gapps with Wipe first is done all in one flash using Flashfire - nothing in between.
[Fire Original Android Development] bhart81:
.....i forgot to use Gapps Arm 5.1 Micro when i flashed cm12.....****...

now what?
[Fire Original Android Development] nujak:
Just flash the appropriate gapps using flashfire.

Alternatively, you can probably just download and sideload play services and play store from apkmirror.
[Fire Original Android Development] blee_mail:
After going through the various processes I now have the latest (to date) CM12.1 and OpenGapps ARM 5.1 pico. All is good except for Google Play Games, that when attempting to install from the Play Store I get "error 505". I've sort of got around this by sideloading the APK from APKMirror, but the Play Store still thinks there's an update available and then produces the same 505 error.

Has anyone else experienced this issue? If so, are there any other workarounds ?
[Fire Original Android Development] kyledowling:
I was getting error 505 for a bunch of apps when trying to install different apps. I rebooted and most of the apps downloaded but a few were giving error 505. After a few days I could download the remaining apps without a problem. Wait a few days to see if the problem fixes itself and if not, you can always try going into settings>apps>play store/play services and deleting cache and data.
[Fire Original Android Development] bhart81:
Any idea what version of play services to download? I loaded them via the supertool and it didn't work, kept force closing. I also loaded about 5 or 6 different versions from apk mirror with the same result.
[Fire Original Android Development] Munns86:
I had the same problem but it was only when updated a few apps getting the 505 error. I had to just uninstall and install them.
[Fire Original Android Development] DB126:
Totally unnecessary! Simply enable root access from the developer menu under settings (Google is your friend if developer options is not shown). The integrated root and privacy manager in CM 12.1 is perfectly adequate.

If you prefer SuperSU snag it from the Play Store (or another trusted source), update binaries, reboot and rock. No need to disable the native CM 12.1 root manager as SuperSU gracefully overrides it by default. See SuperSU settings for more info.

Note: the native CM root manager must be enabled first before attempting to install SuperSU as described above.
[Fire Original Android Development] Kylejf:
Gapps did not flash

I flashed 12.1 and gapps(arm,5.1,Stock) and the rom flashed fine but not one google app flashed. I was able to get kingroot to root the device, and I also opened the developers options and allowed rooting, but I cannot get super SU to root meaning I cant get fireflash to work letting me re-flash the gapps. Ive been trying to sideload google play and google play services and super SU me without any success although I have no idea which apks to download for this device for google. Anyone have any Ideas
[Fire Original Android Development] DB126:
Damn - apparently the XDA search function is broken again as this question has been answered many times ... (hint).

- Open GAaps arm/5.1/nano (here)

- for best results must be flash concurrent with CM xx ROMs

- if already on CM reinstall FlashFire, wipe Dalvik+System, flash CM+GAaps, profit
[Fire Original Android Development] bhart81:
Right I get that, I reinstalled Flashfire. I don't know what to use/how to wipe and re-flash. Sorry, i'm new to this.
[Fire Original Android Development] DB126:
Wrong root procedure, wrong GAaps package; predictable outcome.

- stock GAaps package is too large to flash; use arm/5.1/nano

- reload FireOS 5.3.1 using stock recovery menu (procedure)

- use the SuperTool as before to root FireOS, install FlashFire, etc

- using flash CM 12.1 + GAaps concurrently; follow instructions in OP (here)

- after CM has initialized enable developer options followed by root toggle

- SuperSU can be installed from the Play Store if desired (but unnecessary)

- tip: read OP and recent posts (past few weeks) before flashing any ROM
[Fire Original Android Development] RayFire:
ZIPs Not Showing Up

Hey guys I just bought a Fire 7 inch and it is rooted with 5.3.1 on it. I want CM 12 but when I try to find my zip files from flashfire 0.53 I can't see them. If I pick the "flash firmware package" option, the file explorer can see the ZIPs. If I use "flash zip or ota" i can't see any of the zip files I need. I tried both internal and external storage.
[Fire Original Android Development] DB126:
Browse the forum/thread and learn from others who have shared their experience and expertise. Just because you are new to the game doesn't mean the same question needs to be re-answered.

- start with forum index (here).

- review specifics before acting, especially the CM thread and OP (here)

- be sure 'wipe' action precedes flash operation(s) in FlashFire; otherwise you'll clobber the rom just installed

- if confused/unsure reload/sideload FireOS 5.3.1 to your device and start over (instructions)

- if a procedure seems overly complex it probably is and reflects someone's interpretation of how to do it wrong

Happy to answer specific questions once preliminary homework has been done. Others may be more generous.
[Fire Original Android Development] Wickii:
You saved the files on your microSD, right?

Move them to internal storage.
[Fire Original Android Development] o1nk:
Not necessarily unnecessary.

I rooted two fires last year and since then not touched them.

This year the procedure is different

I, like a lot of others, are new to this. Although we are technically ok with flashing, a lot of it is very confusing. As I stated, it took me all day to get the right info to not only root the 2 new fires, but add the cyangenmod image. And then gapps.

It was easier to root again through supertool because it was just that, easier. Just because Kingroot is an extra step, it still takes it back off and installs SuperSU. It's already familiar and we know it works.
[Fire Original Android Development] RayFire:
Yah I tried that already, still don't show up.
[Fire Original Android Development] platypoid:
After you open Flashfire and push the red + in lower right corner then choose Flash Zip or OTA - at top it says where it is looking - to the right of that is small down arrow - press that and you will see selections of File System, Cache Partition, Internal Storage, External SD card. Choose one of those - if your CM zip is in there it should show up on the list of files .
[Fire Original Android Development] RayFire:
I'm sure that the files are in there. The problem is that when I select OTA â€“ zip flash fire file browser is not displaying any ZIP's at all. It's not specific to CM. I can't see any files except folders actually
[Fire Original Android Development] yochananmarqos:
Perhaps read the instructions at the top of the page?
[Fire Original Android Development] DB126:
Procedure to root and flash a custom rom on the 2015 5th gen Fire has not changed. You may have followed a different path last time around as apparently is the case more recently with the round-about effort to enable root on a rom which is already rooted. Aside from bad practice there is the distinct possibility of conflicts between the built in CM privacy/root manager and KingUser which may not manifest in immediate or obvious ways. SuperSU is 'CM aware' by design thus avoiding such conflicts.

KingRoot, KingOroot and similar tools of questionable origin are nasty (but often necessary) evils that are difficult/impossible to fully remove - even with the SuperTool. They are free for a reason and it's not based in altruism. Also note a comprehensive wipe is recommended when coming from FireOS - partially to purge KingRoot remnants.

It's your device - do as you wish. Arguing familiarity and perceived simplicity justifies the means for others does not cut it in my book, especially when the widely recognized procedure for installing SuperSU on CM (optional) is fast, easy and reliable.
[Fire Original Android Development] NightCrayon:
Sounds like your forgot to drag the wipe process (in FlashFire) to the top of the list of of actions to complete. If you don't move the wipe process to the top of list (by dragging it up to the top with your finger) it will just wipe itself to factory settings after you flash.
[Fire Original Android Development] RayFire:
Is there any possible way to install CM 12 and the GApps without FlashFire? I'm on 5.3.1 on a Fire Tablet 7, 5th Gen. I have Super SU and I am rooted.
[Fire Original Android Development] DB126:
Nope. Only early production devices that arrived with FireOS 5.0.0 or 5.0.1 can boot TWRP. FlashFire for everyone else. No custom recoveries (installed or booted).
[Fire Original Android Development] NightCrayon:
Are you having trouble installing it? If you are using rootjunkys tool the apk is having problems. Try installing the apk through adb instead.

You can find the apk here: http://www.apkmirror.com/apk/chainf...-release/flashfire-0-53-android-apk-download/
[Fire Original Android Development] RayFire:
I have FlashFire but the ZIP problem isn't letting me use it. I have my CM 12 zip in a folder but I can't see any zips with the file explorer when I use OTA/ZIP.
[Fire Original Android Development] CorePrideX8:
Reinstall cm12 fresh.

Flash nano or pico open gapps (open_gapps-arm-5.1-pico-20161125)

Boot up ROM.

Go to settings \about tablet \ press on build number until developer options is enabled.

Go back to system settings and click developer options

Scroll down until you see "root access" change it to apps and adb

Restart tablet

You should have root. And gapps working fine
[Fire Original Android Development] GhostRider86:
Try internal storage, not SD card
[Fire Original Android Development] nujak:
For me, flashfire doesn't show me zip files it cannot use. I have many zip files in my downloads folder, but only see gapps and cm (both downloaded directly to internal storage from links in OP). I recommend just downloading the files again to see if the error might just be a corrupt download or something.
[Fire Original Android Development] Kylejf:
Reply appreciated, you are correct sir on all counts. I am now fully modified
[Fire Original Android Development] RayFire:
THIS WAS THE PROBLEM. I was transferring the zips from my mac onto the tablet. Now it finally sees them! I downloaded them from the browser on my tablet! Thank you so much, I've been looking for solutions for hours and hours.
[Fire Original Android Development] c627627:
I understand that it was not possible to install TWRP on Fire OS 5.1.2 which were switched to CyanogenMod 12.1

I usually use TWRP to make an image backup of the entire CyanogenMod installation, after I customize settings and install apps. That backup can then be reimaged on multiple same firmware devices.

Is it still not possible to install TWRP on Fire 7 Tablets which originally came with Fire OS 5.1.2?

Since FlashFire cannot be used for this purpose, what is the quickest way to make an image backup just like TWRP can?
[Fire Original Android Development] el_charlie:
FlashFire CAN make backups. I haven't tested it but there's the option there.

Cheers!
[Fire Original Android Development] DB126:
Likely means the target system must be bootable, rooted, running CM or SuperSU (FlashFire prerequisite) and have FlashFire installed to restore an image. Details here. Further caveats:

- exercise caution restoring comprehensive backups created on device with different bootloader/kernel build (brick risk); select partitions wisely

- verify bare metal restorations are viable given Amazon's crippled Fastboot environment (guessing it won't work)
[Fire Original Android Development] c627627:
I take it that TWRP cannot be installed under CyanogenMod because the Tablet came form Fire OS 5.1.2, correct?
[Fire Original Android Development] platypoid:
That seems to be the consensus otherwise everyone would be doing it.
[Fire Original Android Development] c627627:
It sounds like it is significantly riskier to reimage Fire devices with FlashFire, when compared to reimaging phones with TWRP.

This then will be more about a single device then and making/restoring an image *after* installing the OS and setting it up.

So in other words, Fire 7 is rooted and CyanogenMod is installed. Now all I'd like to do is spend an hour changing settings and installing apps and then make an image of the effort, so that I can restore the settings and everything in case anyone messes things up by changing settings or installing apps I don't want on it.

To that end:

FlashFire > Click on the Red + button > Backup >

I have five options here: Normal/ID/Full/Raw/Fastboot

So... Normal?

And that opens up a dozen options. Which to select?

Boot, System, Data sound obvious.

EDIT: Actually TWRP settings are System, Data and Cache.

So leave out: Secondary Bootloader AP / emmc Boot #0 / emmc Boot #1 / Recovery / Cache / Trusted Execution Environment / Logo / Miscellaneous.

Once again, I understood your warning not to risk this between devices, so I won't.

This is just about resetting CyanogenMod and installed apps back how I set them up. That's all.

So the question is, can you confirm the listed procedure selections are correct?
[Fire Original Android Development] Simpsonia:
Has anyone else gotten screencasting to work with Chromecast on the latest rom build at all, or I guess any specific build from the past? Streaming from apps (HBO Go, Netflix, etc) works just fine, however, whenever I try to screencast, it attempts to start casting, but immediately stops.
[Fire Original Android Development] DB126:
Yep - the suggested backup type and partitions look appropriate. Before investing time installing/tweaking/optimizing suggest backing up and immediately restoring a simple CM environment with a few representative apps. Stage a wipe just prior to the restore to insure the latter worked correctly. Hopefully that will build confidence in the tool/procedure (recognizing a single data point is can breed a false illusions).
[Fire Original Android Development] c627627:
Thanks for the wipe suggestion. I never used to wipe my phone before a TWRP restore, only when installing a new OS. So that's a good idea.

Going between Fire OS and CyanogenMod is a relatively quick process, once you understand what's going on, I've written a personal set of instructions on how to do thatt, xda instrictions are often confusing and incomplete.

I make all the settings changes to CM, install all the apps I need. And then I have a txt file where I add little changes that come up and once enough changes accumulate - I reimage/make a new image every few months or so. So every image is better than the previous one.

On the topic of wipe, I don't know if it was in this thread or in another thread but someone was talking about the importance of wipe, particularly since KingRoot people don't do things "for altruistic reasons" they said and pointed out the "necessary evil" of using KingRoot. But a wipe - then CM install where there is no KingRoot supposedly fixes that.

Could you post a few speculative reasons of why having KingRoot (and similar apps) installed is not in our best interest. What (speculatively) can happen with KingRoot installed?
[Fire Original Android Development] dorpmuller:
I don't get it. The wipe button at the bottom of the list isn't draggable...can someone enlighten me? While we're at it, is there any other link for CM besides AFH? Getting all kinds of 50x errors there.

Rich
[Fire Original Android Development] kramalot:
I'm on 2016-04-11 and screen mirroring to Chromecast works fine.

Btw If anyone wonders why I haven't updated its simply because I've no problems with this version (well apart from the fact that it tends to reboot randomly while on charge but that's happened with all versions).
[Fire Original Android Development] c627627:
You need to tap, hold then drag the wipe button above the zip files you added.
[Fire Original Android Development] NightCrayon:
Okay, so add the zips you want to flash, add the wipe process as you did before, but at the very end, before you hit the flash button put your finger on the wipe process you already added, drag it to the top of the list its very easy.

DO NOT push the (+) button and try to drag wipe from there. ADD it to the list of processes first, then drag.
[Fire Original Android Development] c627627:
Cyanogenmod question:

Settings > Privacy > Privacy Guard > there is a list of programs. If you tap a program it turns the lock green.

I did that with a Quick Boot app, but every time I use it, it STILL asks permission to get root access.

If I CHECK Remember my choice

It STILL asks next time, possibly because it quickly reboots the tablet.

So how do I permanently assign root access to an app?

EDIT: I found it in Privacy Guard > Advanced Settings > you have to look through all the lists - long process...
[Fire Original Android Development] coincoinlapin:
Hi, I had the same issue yesterday (my first kindle, brand new, I flashed it after trying fire os for... one day).

Play games gave me a 505 error.

Now Inbox is doing the same: I was able to install it yesterday, but today's update gives the 505 error.
[Fire Original Android Development] trulyparis:
The 2016-09-22 update also works with screen mirroring to Chromecast.
[Fire Original Android Development] HA4ever:
I agree with you. Chromecast mirroring used to work in the previous builds but not in the last build
[Fire Original Android Development] DB126:
Let Google (or the search tool of your choice) be your guide. Beyond that ask yourself: 1) what are the author's motivations; 2) how do they monetize their efforts; and 3) why does KingRoot, KingOroot and similar tools actively resist uninstallation utilizing increasing more aggressive techniques with each successive release? Just say'in ...
[Fire Original Android Development] GhostRider86:
Known issue, load apk from other trusted source
[Fire Original Android Development] DB126:
Suggest APKMirror: http://www.apkmirror.com/
[Fire Original Android Development] Kylejf:
Transferring apps to external memory

I've not been able to find an answer to this question, scoured the Internet's and could only find other people asking. When I transfer apps to my SD card it seems to work fine until I reboot then the app disappears shortly after. I did notice that the internal memory is labeled as SD card and the actual SD card is labeled as SD card (2), I'm thinking this is part of the issue but I can find no resolution. Any help is appreciated.
[Fire Original Android Development] ZombieParade:
Do you have any thought of the strengths of each? Combing the forums, it seems the Nexus is snappier but CM more stable.
[Fire Original Android Development] kwanbis:
I have 10 of this machines that I want to donate to low resources people. I feel that FireOS is atrocious, so I've been using SuperTool and I was able to remove adds, add nova launcher and GAPPS and remove OTAs. This makes it much more android like, but I'm wondering if installing CM would make it better.

Now I've been reading the instructions, using FlashFire, but it is not clear how to download the rom and gapps. Should I do it from the Kindle? When I "wipe"wouldn't they be deleted? Or should I save them on the microsd card with the PC?

Thanks.
[Fire Original Android Development] platypoid:
I think Cyanogenmod rom is better but I guess it depends what someone wants to use it for.

If you watch Rootjunky's Youtube tutorial and use his Supertool you can do all the procedures a lot easier - root, install Flashfire, etc. Follow the instructions exactly on the first page of this thread and you should have no problem putting CM 12.1 on.
[Fire Original Android Development] kwanbis:
Thanks, but the instructions, at least for me, are note clear.

WHERE do I download the ROM and GAPPS? To the microsd? or to \DOWNLOADS folder using the Fire?

EDIT: I'm trying right now from the downloads folder...

EDIT2: It worked! I didn't want to risk a brick, but it is working now....

I'm seeing how it optimizes 85 apps (!?!??!)
[Fire Original Android Development] Kylejf:
Never mind, I renamed SD card (2) to SD card (1) now my apps stay when I transfer and reboot or shut down
[Fire Original Android Development] DB126:
If technique works reliably with your app portfolio great! Otherwise consider tool like Link2SD that utilizes symbolic links to reference relocated apps.