yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 General] retyre:
Prevents apps from running automatically at boot. You can also prevent apps from autorunning even after boot. This is a safer alternative (relative to wholesale uninstall).

ETA: See the updated OP for FlashFire-related information.
[Fire HD 8 and HD 10 General] mistermojorizin:
this is very interesting! Nice work! Let me know if i got this right:

get flashfire working with Per App Hacking, make a backup of /data

make SuperSu, Xposed App, AdAway, and FlashFire system apps

created a custom image (using dd) with SuperSU, Xposed, FlashFire, and AdAway in /system

root with Kingo

dd this custom system.img and reboot

run SuperSu and reboot

run Xposed (app) and reboot

run FlashFire and reboot

run AdAway and reboot

install Per App Hacking module to make FF function

restore /data with flashfire

Now come the stupid questions. I've tried researching this but couldn't figure these parts out.

In step 1, how do you use PAH to get FF working? How do you backup /data from inside FF? (I see the guide for installing xposed, so that's a given, but then what?) Do you also backup system.img with FF? Do you backup /data as an .img? Also, which version xposed do you use? in the guide it says use v87 but v89 is the current version.

In step 2, how do you check if SuperSu is properly installed as a system app? (I had run "make supersu a system app" when I rooted, but I don't know if it actually worked. I was just happy to get permanent root.) If SuperSu is not a system app, what's the best way to do it? Use the option from within SuperSu or move the apk to /syste/app and set proper permissions?

In step 3, I don't know how to do that. I researched "dd" and I know it's an adb command. But how do you use it specifically make a live-restore system.img?

In step 4, do you mean run the kingo from the PC and get the "temp root" without rebooting (the state right after we root with kingo but if we reboot without doing anything else, the root is lost)?

In step 5, same question as step 3 - how do you specifically do it?

In step 11, how do you restore /data with flashfire

sorry for all these questions, just want to make sure I am doing it exactly how you did it.
[Fire HD 8 and HD 10 General] retyre:
Snipped a lot of your post, but here are the answers:

-- Do 2. and 3. first. If you make a backup of /data with the four apps and then make them system apps, you will have duplicates (one in the data backup and one in your system img).

ETA: Most of the FlashFire-related information that used to be here is now in the updated OP.
[Fire HD 8 and HD 10 General] mistermojorizin:
I tried installing xposed using the steps from your post here: https://xdaforums.com/showpost.php?p=74913548&postcount=160

now I am in a bootloop. it goes fire, optimizing apps, then loads walpaper and sometimes lockscreen, then reboots back to the fire logo. I use adb shell, su, mount system writeable, rm app_process64_xposed, says file not found (which makes sense because i made sure to delete it from system/bin before rebooting). What should I try?
[Fire HD 8 and HD 10 General] retyre:
Try this first. If that doesn't work, then this (not in TWRP obviously, but in a root shell from adb).

If SuperSU was working before you installed Xposed, you should be able to get to a root shell from adb, delete the xposed installer from /data/app and /data/data, and reboot.

Did you follow the steps to the letter?
[Fire HD 8 and HD 10 General] mistermojorizin:
yes pretty sure i followed the directions closely. here's what I did: installed xposed installer, selected install arm64-v89, deleted process_64, reboot. it optimized files for a while then went into this bootloop

i created a blank file from adb shell root system rw /data/data/de.robv.android.xposed.installer/conf/disabled and then used the ls command to make sure it is indeed in there. I changed the xposed installer in data/app and data/data to .bak rather than deleting altogether. still not working
[Fire HD 8 and HD 10 General] retyre:
See whether wiping the cache partition in recovery and rebooting helps. And /data/dalvik-cache/ from a root shell.
[Fire HD 8 and HD 10 General] mistermojorizin:
i tried that and it didn't help, so i wiped dalvik cache from adb

rm -r /data/dalvik-cache

rm -r /cache/dalvik-cache

took 10 minutes to boot, but didn't work, same behavior
[Fire HD 8 and HD 10 General] retyre:
I think we have tried the usual Xposed-bootloop troubleshooting tips. Before you do adb sideload (w/o a factory reset), can you think of anything else you may have done to /system after your last working reboot? In particular, anything SuperSU-related?
[Fire HD 8 and HD 10 General] mistermojorizin:
no i didn't touch supersu, and i don't think i did anything with system either. is there any way to boot into safemode? also will sideloading 5.6 without factory reset get rid of root?

edit: it's so frustrating, it'll sometimes load the lockscreen and systemui, and even started nova launcher and i saw my homescreen. but it soft-reboots so quickly it seems like.
[Fire HD 8 and HD 10 General] retyre:
Earlier Kindles had a safe mode (power + vol down), but I don't think ours does. Yes, sideloading update .bin will clean /system, thus removing root.

Putting the "disabled" file in /data/data/de.robv.android.xposed.installer/conf/ disables Xposed, so I doubt your current issue is Xposed-related (it may have been caused by the Xposed install, though).

Did you uninstall any system apps (or convert user apps like your launcher to system apps) after your last successful boot?
[Fire HD 8 and HD 10 General] mistermojorizin:
no not since the last successful boot. i tried disabling a few root apps through adb, and then gave up and am doing the sideload. i've done this a ton of times the other day when i was trying to root. but now...it's stuck at 64% and in the screen says "patching system unconditionally'. It's been stuck for 5 minutes. I don't think this is normal, though i've never watched the whole process before.

Edit:it got through it and the %age is increasing at a reasonable pace now.
[Fire HD 8 and HD 10 General] retyre:
After you root with SuperSU and set everything up, but before you try Xposed again (if you're not ready to give up yet!), do a dd dump of your system partition to use in the event of a boot loop.
[Fire HD 8 and HD 10 General] mistermojorizin:
So I'm back up and running. I made a dd backup :).

I got xposed going and I used time-machine for FF. Opened FF and hit the plus sign under actions, and selected only the data partition. It's been stuck on the fire splash screen for about 17 minutes now. Is that normal? I know you mentioned the raw system backup takes forever, but I thought data would go quicker, and I didn't expect it to spend all its time on the splashscreen.

edit: i force reboot after like 35mins of the boot screen. was glad to see that it reboot normally just fine. so i decided to try the raw system backup (by the way, in there it had system and boot prechecked, I unchecked boot - is that OK?). So I was expecting it to reboot to a blank screen as you mentioned, but nope, its just sitting at the "fire" boot screen again. I can get into ADB shell.

edit 2: i installed the wrong version of flashfire. gonna try again.

edit 3: 0.24 did the same thing

edit 4: changed FF to a user app, and now it seems to be working on backing up data partition (at least it's giving me a black screen instead of that boot logo). But to do system, i will need to move it to system. I've been using link2sd and it puts it in priv-app. maybe it should just be in system/app? It's working for you to backup system as a system app? Is it in priv-app?
[Fire HD 8 and HD 10 General] retyre:
Changing FF to user vs. system app should have no bearing on being able to backup /system as a raw image. I use it as a system app (in /system/priv-app) and it works fine. Did the /data backup complete? What's the size of the .gz file in /sdcard/FlashFire/Backups/**/? Which backup option are you choosing and which partitions are you checking in there?

Read my section about FF starting up (and how many minutes each step should take). Look carefully at the screen and tell me whether you see the "two stages of black." The first black should be darker than the second, and there should be a bunch of scrolling text (this will only last a second or two, so you will have to stare at your screen like your life depends on it) between the two stages. If you don't see the red FlashFire at the top in 8-10 minutes, something's gone wrong. In general, it would be a good idea to keep an eye on the Fire's screen for the entire 10 minutes after you click Flash in FF and press OK.
[Fire HD 8 and HD 10 General] mistermojorizin:
I ended up getting it to work. Had to uninstall, reinstall, change to user app again and everything worked. Don't know why it didn't work before. I appreciate all of your help. when doing the raw system backup, i only checked "system" and unchecked "boot". That sound right?

One thing I've been wondering about is why the arm64 version of xposed works on this devices. It does have a arm64 cpu, but it's instruction set is armv7 only, and from what i can tell, all of the apps it runs are not arm64 versions.
[Fire HD 8 and HD 10 General] retyre:
Yes. You can check all the partitions just for completeness (esp. boot and recovery), but there's not much we can do with them at this time (other than for debricking; better to use dd with those images).

Yes, I noticed that as well. After trying the arm version, I realized the Xposed Installer cares more about the CPU architecture than the instruction set.

So, you never got FF to work as a system app? If it does, the only app to install after a dd restore will be PAH.

Were all the partitions backed up properly?
[Fire HD 8 and HD 10 General] bibikalka:
May I inquire why you were using FF v0.24 ? What's wrong with the newer FF versions? Do they not work?

What's the reason to save an img for /system, instead of just reloading everything upon getting root?

P.S. Wanted to add on the subject of Xposed. My must have Xposed modules are App Settings v1.13 (to make Chrome tabs behave like on a cell phone, instead of taking an extra line - link), GravityBox (to make status bar display notifications in colors, and up/down network traffic), and the module with a yellow smiley face :) (kind of like Walmart's)
[Fire HD 8 and HD 10 General] redhonker:
Hi,

My goal is to be able to flash the bin posted to update the OS. I don't know much about Xposed and probably won't play with it.

I think the first step is to root it. I plan to follow [TUT] ROOT HD 10 (7th Gen 2017) - EASY SuperSu (read this before 1st power on!)

What instruction should I follow to install FlashFire in order to update OS (those bin file posted in the link above)?

Thanks
[Fire HD 8 and HD 10 General] jcrompton:
[MENTION=3497316]retyre[/MENTION]

Thanks for the work you've done here

I have tried to get up to speed but admittedly haven't read the full 100 hrs it would probably take

I have, with other devices, had luck with using Flashfire later versions without worrying about date issues because I was an owner of Mobile Odin Pro which allows for Flashfire to work ..... On other devices

I install on my brand new Amazon Fire HD 10 and for sure with Mobile Odin Pro installed Flashfire opens right up ...... But when I try to do anything it just boots back into a screen that says Fire and stays there forever , I waited 10 minutes

Are there other reasons that the app doesn't work other than the date issues, since having Mobile Odin Pro seems to take care of the date issues..

I tried both the ,51 and the 24 versions and the app wouldn't even open
[Fire HD 8 and HD 10 General] retyre:
Yes. Starting v0.26, FF became less forgiving. The developer wrote about it here.

On the HD10, v0.24 is the last version that will work without tweaks. You will need the date workaround (if you don't want to use Xposed, you can achieve this with busybox).
[Fire HD 8 and HD 10 General] Bad Bimr:
I am following the guide at

https://xdaforums.com/hd8-hd10/general/steps-2017-fire-hd-10-owner-root-t3872063

I am now at the point to install FF?

I have installed it and made it and SuperSu both system apps.

Do I need to continue and make a raw back-up and stuff or can I go back to the guide?

I tried to do the back-up and it seem nothing happened. I walked away for like 30 min and came back and swipped down and it still said FLASH.

I must be doing something wrong.

to back-up

IN FF

Press +

Select Backup

Select RAW (boot and Recovery are checked)

Press the check mark at top right of windows

Press FLASH

WAIT

All help appreciated
[Fire HD 8 and HD 10 General] DragonFire1024:
Sounds like you are using flash fire 0.51? If so, downgrade to 0.24 then try to back up.
[Fire HD 8 and HD 10 General] Bad Bimr:
It shows as v0.24 Pro. Should I try and re-install?

Would I have to make it a regular app first and uninstall?

Thanks
[Fire HD 8 and HD 10 General] DragonFire1024:
When you choose backup, do you choose normal? Raw? You should be choosing raw.
[Fire HD 8 and HD 10 General] Bad Bimr:
IN FlashFire

Press +

Select Backup

Select RAW (boot and Recovery are checked)

Press the check mark at top right of windows

Press FLASH

I get a pop-up window

click OK

Says loading for a sec

Screen go blank and stays blank.

I can swipe from the top down and nav keys and status bar appear and then hide when I release

Nothing more. I walked away for over a hour and no back-up that I can find
[Fire HD 8 and HD 10 General] sga999:
Dragon, I have a question about another thread, but I'm not sure if you are still monitoring it. I posted a question there recently. The thread is "[ROOT] [FRAMEWORK MOD] Enable 'Daydream' screensaver, change lock screen". Apologies for asking if you just haven't had time to respond there. Some people don't like getting a PM, so I decided not to ask you in that way.
[Fire HD 8 and HD 10 General] DragonFire1024:
Don't mess with the system UI if you're not comfortable with it. You can change you wallpaper here https://xdaforums.com/hd8-hd10/help/root-change-lock-screen-wallpapers-t3859459 without any adverse effects to the systemUI. I can't for the life of me remember what I was talking about regarding a systemUI crash lol.

---------- Post added at 08:36 PM ---------- Previous post was at 08:35 PM ----------

Delete all apks and folders associated with flash fire, reboot, reinstall. Make sure your SuperSU app is on 2.79 and didn't update.
[Fire HD 8 and HD 10 General] Bad Bimr:
The version of SuperSu installed was 2.82.1. Is that the issue?

How do I downgrade it as it was made into a system app through it's settings. It is located in data/data/

FlashFire was manually converted into a system apps. Will I need to convert to a non-system apps to remove? Can I use TitaniumBackup instead as it will be easier/quicker?

Thanks
[Fire HD 8 and HD 10 General] sga999:
Dragon, post 2 in that thread is about changing the 7 wallpapers that are cycled through each time you press the power button off/on. I already know how to change the lock/home screen to make each have a single wallpaper. In that second post of the thread, you describe how to create a new systemUI.apk. So that's why you put the comments about needing to fix it if something gets screwed up. Rather than continuing here, we can move this discussion there. But I didn't know if you were still looking at that thread. Thanks.

EDIT: fixed the link to the thread

Link
[Fire HD 8 and HD 10 General] DragonFire1024:
I'll have to read it and try and remember. On a side note, I got the advanced power menu to Work. Stock :D
[Fire HD 8 and HD 10 General] sga999:
That would be great if you can revisit that thread. I have wanted to change those 7 lock screen wallpapers for quite a while. I'd like to replace them with some of my own.

I'd also like to learn about your advanced power menu fix. Is that posted somewhere?
[Fire HD 8 and HD 10 General] DragonFire1024:
Just posted https://xdaforums.com/hd8-hd10/development/root-enable-advanced-power-menu-global-t3877035
[Fire HD 8 and HD 10 General] Bad Bimr:
I tried this and still no go. I must be missing something.
[Fire HD 8 and HD 10 General] xzn1:
Are the modules in the OP the only that work? Did anybody try Greenify? What could happen if I try to use a module that isn't really "supported"?
[Fire HD 8 and HD 10 General] DragonFire1024:
If you install my framework, you can activate the advanced power menu through gravity box. Aside from that, also in gravitybox, some of the status bar is customizable as well as navigation bar. Music visualization on the lock screen works. The ticker works.
[Fire HD 8 and HD 10 General] xzn1:
Do you have a link to your framework? Does that mean that Greenify doesn't work?
[Fire HD 8 and HD 10 General] nikothebarber:
Stuck in a boot loop of optimizing storage and applications. Will finish, reboot, and start the Optimizing again. Any ideas?

Btw this has happened after making my newest RAW imgage system back up in Flash Fire....

---------- Post added at 09:11 PM ---------- Previous post was at 08:41 PM ----------

I think its because I froze some more system apps before the recovery in titanium, I was checking after I froze each one i it affected anything I needed to access in settings. It didnt. What is the command to list frozen system apps in adb or all system apps?
[Fire HD 8 and HD 10 General] DragonFire1024:
It would only work to unfreeze packages if you have adb access. If not, you'll have to reinstall the fireOS you were on and nothing lower. if unsure, go here and download the latest version listed. Then make sure you save this version for future reinstalls: https://xdaforums.com/showpost.php?p=74987123&postcount=2
[Fire HD 8 and HD 10 General] nikothebarber:
i have adb access just need the commands to unfreeze all frozen
[Fire HD 8 and HD 10 General] DragonFire1024:
You can only do it one at a time. If you know the package names. So depending how you froze them

adb shell
su
pm enable com.package.name

OR

adb shell
su
pm unhide com.package.name

List of installed packages:

adb shell
pm list packages
[Fire HD 8 and HD 10 General] nikothebarber:
The ones ill need to fix were frozen in Titanium, Im assuming that is uses the disable command. Is there anyway to list only disabled packages?
[Fire HD 8 and HD 10 General] DragonFire1024:
Yes...but in your case probably not. How 'booted' are you? Can you install apps through a shell? As in can you move an app to the internal storage via PC, and go into a root shell and cp it to /system or where ever?

---------- Post added at 06:45 PM ---------- Previous post was at 06:33 PM ----------

Guess what...I'm using FlashFire 0.73 ;) You have to buy SuperSU pro though and install it. I am not sure if you can still buy FlashFire or if you get pro (without checking the box to get it free) when you buy SuperSu pro. After buying SuperSu pro, I manually downloaded the latest FlashFire app from apk mirror and renamed it to FlashFire73.apk. At this point make FlashFire a system app if it's not (/system/app. Same as SuperSu). Now we can remove the time machine hack on FlashFire. Then I tapped install in root explorer and updated FlashFire manually and rebooted. You are now on the latest version of FlashFire and working. I haven't tried to update SuperSu to the latest edition yet. I imagine it would likely be done the same way. https://www.apkmirror.com/apk/chain...flashfire-0-73-android-apk-download/download/
[Fire HD 8 and HD 10 General] DragonFire1024:
If anyone is using ES file explorer, get rid of it. Major security issue and cve declaration. PoC posted on GitHub. I'm not going to link the exploit. But if you are on a public WiFi network, and launch ES file explorer, it opens a port (it does this on any network). When open, anyone on the same network can run a script to get into the port and exploit it to get a list of nearly every piece of information, message and image on the device, and copy all if it.
[Fire HD 8 and HD 10 General] DB126:
ES File Explorer lost all credibility when sold to a sketchy owner 5+ years ago. It exploits your trust while performing basic functionality that is duplicated in many other other reputable (and free) apps. Silent telemarketing agent, not to mention the obvious security risks.
[Fire HD 8 and HD 10 General] DragonFire1024:
Indeed. But this one is one for the books. It really is sad to see all of our once beloved and most useful apps go down like this.
[Fire HD 8 and HD 10 General] GuyInDogSuit:
How do I do the backdating thing with busybox? It's saying "'busybox' is not recognized as an internal or external command, operable program or batch file."

I tried the command in a terminal emulator app, and it said it cannot change the date, "operation not permitted."
[Fire HD 8 and HD 10 General] TheSpaceMoose:
Properly move SuperSU, FF, Xposed to /system

Edited quote below...

[MENTION=3497316]retyre[/MENTION]

In SuperSU, I selected the "Install supersu into /system" option and rebooted. When I return to SuperSU, it shows it greyed out. I had assumed that it worked. But when I checked (from adb shell on my laptop), it's not in /system/app nor /system/priv-app. It's still in /data/app.

EDIT:My mistake. It is in /system/app. I was looking for eu.chainfire.supersu, not SuperSU.apk

If it's not in /system, this is going to be an issue when I later use FF to make my backup system.gz

I'm starting from a clean factory image and don't have gapp setup or Link2SD installed yet. Just have SuperSU, Xposed (with PAH) and FF.

Can you help me out with the code to properly move my SuperSU, Xposed installer and FF to /system?

I believe I read somewhere that I need to chmod the moved directory and files (differently), but I can't find the source. Hoping someone can give me the code required to run in an adb shell to do this correctly.

EDIT: I downloaded Link2SD from APKmirror and installed via adb install. I used Link2SD to confirm SuperSU was already /system and moved FF and Xposed to /system. Probably wouldn't hurt for someone to post the correct code to move apps to system and chmod the directory and files (if you know how). Never hurts to give people options and learn code at the same time!
[Fire HD 8 and HD 10 General] DragonFire1024:
So I downloaded the source and made a build right off the bat and everything built. Now I need to know what files to edit for the device specs. I can find guide that tell you how to build, but nothing that says what should happen in between downloading the source and building. As soon as I can figure that part out, it's just a matter of running the build command. Any advice or pointers would be great.
[Fire HD 8 and HD 10 General] GuyInDogSuit:
I hope you figure it out. Good luck!
[Fire HD 8 and HD 10 General] TheSpaceMoose:
Alternate to ES File Explorer?

Any suggestions for a free file manager that handles root and lets you see the /system folder?

It's hard to trust any results from google. What are you using?
[Fire HD 8 and HD 10 General] DB126:
There are many fine choices in the Play Store. I like FX File Explorer for its presentation, functionality and relative tameness in a world dominated by useless bling.
[Fire HD 8 and HD 10 General] GuyInDogSuit:
https://labs.xda-developers.com/store/app/com.mixplorer
[Fire HD 8 and HD 10 General] nikothebarber:
I installed about five modules only one mostly for apps but now start up and boot but have a black screen. I can still see the power off prompt or if I take a screenshot I see the animation. How can I fix this
[Fire HD 8 and HD 10 General] DragonFire1024:
You're probably going to have to flash back to stock and start over. Sometimes this just happens to the hd 10 after rooting and a large debloat. Probably has to do with an Amazon app trying to do something it can't.