yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 General] retyre:
This was never designed to be a flashable .zip. You should extract boot.img and system.img from the archive and flash each as a firmware package in FF.
[Fire HD 8 and HD 10 General] bibikalka:
OK, I kept trying to flash this via the Restore option, not as a firmware package! It looks like Restore is more restrictive, in terms of how it requires the image files to be named. However, Restore actually accepts gz compressed files, so less space would be required on Fire.

If you want to see what the format is for Restore, do a quick Backup of boot with gz compression, and see which files it created.
[Fire HD 8 and HD 10 General] DragonFire1024:
I don't know if anyone looked into it, but flash fire does creat twrp related files when backing up as well. Those may be useful.

---------- Post added at 07:28 PM ---------- Previous post was at 06:34 PM ----------

Also, decided to pick up another HD 10 for 100 bucks. So now I can use my old one for more intense testing :D
[Fire HD 8 and HD 10 General] bibikalka:
He-he. Gotta love Amazon, they kept this tablet rootable for ~ 1 year. Btw, there is nothing to test, just use it - it's very snappy! My 4 year old Fire HD7 4th gen is a lot slower.

Those twrp files in Flashfire are pretty useless, one cannot use them without twrp. I was able to apply SuperSu 2.82 SR5 on top of retyre 's images in FF, all worked great. For my money, I am happy to stick with Lollipop, as long as things work fast, and I can go about my business.
[Fire HD 8 and HD 10 General] retyre:
I got tired of searching for the update. I enabled updates on my device, captured the update .bin (it's downloaded to /sdcard/Android/data/com.amazon.device.software.ota/files/), and cleaned up before it restarted to update. I will post the prerooted image shortly.

I have since gone back to my trusty 5.6.0.1. Hopefully, there will be no need to troubleshoot.
[Fire HD 8 and HD 10 General] Thibor69:
Hello --- I am ready to root my HD 10 5.3.6.4 (5.6.3.0) same thing...

I am wondering which route to take. I have read both of Retyre TUT's and now I see you might post a NEW pre rooted image soon ...

1. HD 10 (2017): Offline Rooting

2. HD 10 (2017): PreRooted Xposed 5.6.3.0

3. (Newer HD 10 Image You will be posting soon)

Which should I try ? :)

Thank You !!
[Fire HD 8 and HD 10 General] sga999:
I'm curious about why you like to stay on the trusty 5.6.0.1. Did you have issues with the subsequent releases?
[Fire HD 8 and HD 10 General] KSP1234:
Can i use this image for non rooted Fire HD 10 (2017) with more new 5.6.3.=4= ? Just reflash image 5.6.3.=0= ?

Or wait when will be rooted 5.6.3.4 will be released ?
[Fire HD 8 and HD 10 General] redhonker:
Does the 5.6.3 image already have OTA disabled?

Thanks
[Fire HD 8 and HD 10 General] bibikalka:
Yes, it does.

[MENTION=3497316]retyre[/MENTION] - I just loaded your new 5.6.3 - all worked fine! Thanks again for packaging the partition images such that the FF Restore option can be used!

Btw, which version of SuperSu do you usually load? Just to be sure, I follow up the Restore with a SuperSu 2.82 SR5 flash :D

Edit: I apparently forgot to upload SU 2.82 SR5 that's ready to be flashed - so I added it to this post
[Fire HD 8 and HD 10 General] jhford:
Total optimization - for now

Retyre:

I have been reading your XDA posts and you seem to be the man (or woman, #metoo).

Here's where I stand with my new Fire HD 10 2017.

1. I completed the offline root method, upgraded to 5.6.2.0, disabled certain Fire so-called bloatware (https://tinyurl.com/yaqakwh8), installed Nova Launcher and Swype, my preferred keyboard. I used it for a bit, rebooted, but was stuck on the dreaded Fire Logo. I used ADB to push 5.6.2.0 to the tablet once again, and the tablet came back to life. I don't understand what caused it to boot loop or boot stall, and why reflashing 5.6.2.0 fixed it.

2. It seems that an aggravating Fire vestige was left behind on either the lockscreen or a secondary screen, and I'd like to get rid of it.

3. Then I found this topic.

Questions:

1. Should have done anything, above, differently or in a different order, etc?

2. Should I install the Prerooted Xposed 5.6.3.0 image?

3. If I do, will my previously installed apks get borked?

4. Do you have any other suggestions to fully optimize the system, probably to emulate yours, more or less?

5. Last, what to you think the odds are to get the bootloader unlocked?

Thanks
[Fire HD 8 and HD 10 General] jhford:
Thanks for all of that; very generous.

However, I have news. When I finished the list discussed above, I changed the Build Number in build.prop to 987654321, which I though would preclude Amazon from updating the OS. However, I left the tablet on after posting the above, and I noticed, while eating breakfast, that the device was updating. It is now running 5.3.6.4 with "1 system component ready to install."

So, now what should I do.

Also:

C:\adb>adb shell

shell@suez:/ $ pm disable com.amazon.firelauncher

Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=14308, uid=2000, package uid=32072

Sorry
[Fire HD 8 and HD 10 General] retyre:
To prevent system component updates, rename DeviceSoftwareOTA.apk in /system/priv-app/DeviceSoftwareOTA/ ("system component" not = "system update")

The fix to the second issue is in the error message: run the command as root.
[Fire HD 8 and HD 10 General] jhford:
Sorry. I don't quite understand the first sentence. See attached.

Also, I guess I can't downgrade from 5.3.6.4, right? Should I do the "1 system component ..." installation?
[Fire HD 8 and HD 10 General] bibikalka:
System component updates are harmless. These will be apk updates to the ROM apk files (installed in /data/app), but they don't replace the ROM (in /system). You basically disabled the ROM update while letting Amazon update various apps. It's a good way to stay current while not touching ROM (and keeping root!).
[Fire HD 8 and HD 10 General] jhford:
But I have lost root. What should I do?

And how do I install Flashfire and what see its uses?
[Fire HD 8 and HD 10 General] jhford:
Retyre --

I just received a Fire HD 8 (Cyber Monday). My previous questions pertained to a HD 10, which tried to optImize by jumping between XDA topics as a newbie having had no previous Fire experience.

Is there an XDA post that sets forth a simple step-by-step guide so I can achieve the maximum optimization with all the bells and whistles so it's as close to a custom ROM as possible (I'm using Lineage OS on my phone and Nexus 7 (2013) devices), or probably what you have installed on your Fire device(s). Given my criteria, above, is the prerooted image the way to go?

After that, can I setup up my HD 10 all over again, which yesterday automatically updated the OS 5.3.6.4 and caused me to lose root, to match the HD 8 as if they were clones? If so, how?

Thanks again
[Fire HD 8 and HD 10 General] wilmafingerdo:
This is what you are looking for...

https://xdaforums.com/hd8-hd10/orig-development/test-1-ultimate-hacks-tricks-mods-zip-t3868112
[Fire HD 8 and HD 10 General] jhford:
The HD 8 is virgin. But my HD 10 has lost root and somehow got updated to 5.3.6.4. In order to set it up again - correctly this time - should I do a factory reset first and then follow dragonfire1024's suggestions?

Thanks

NEVERMIND wilmafingerdo, I'm doing the factory reset now. Then on to DragonFire1024.
[Fire HD 8 and HD 10 General] jhford:
Oh, oh. My HD 10 2017 is stuck on 5.3.6.4 after doing the factory reset. Does this mean I cannot reconfigure it based on the DragonFire1024 link you provided?

Thanks
[Fire HD 8 and HD 10 General] DragonFire1024:
Unknown. The settings apk may work. I doubt the framework will. I have no way to test beyond 5.2.X.X
[Fire HD 8 and HD 10 General] jhford:
Well, my HD 10 is bricked, and Amazon is sending me a replacement.

I want to do this right, and not update beyond what is safe so I won't brick an HD again. So, I also have a fairly virgin HD 8, which is running 6.3.0.1. Could you please instruct me how to optimize it SAFELY. This is more difficult than rooting an Android device and installing a custom ROM.

Thanks
[Fire HD 8 and HD 10 General] DragonFire1024:
Well you can't install any of my framework or settings apks without root. What optimizations are you looking for?
[Fire HD 8 and HD 10 General] Ludespeed:
Did it work with 5.6.3.4? I currently have 5.6.3.4; just wondering if this image will work or brick.
[Fire HD 8 and HD 10 General] KSP1234:
:) I asking too :)
[Fire HD 8 and HD 10 General] DragonFire1024:
I'm pretty sure the only way to flash images is with flash fire as the commands are locked in fastboot.
[Fire HD 8 and HD 10 General] Ludespeed:
I believe the question is will flashing this 5.6.3.0 image on a tablet that's currently on 5.6.3.4 brick the device due to anti-rollback.
[Fire HD 8 and HD 10 General] DragonFire1024:
Chances are most likely.
[Fire HD 8 and HD 10 General] retyre:
Wrong. Chances are zero. You are not touching the bootloader with FlashFire; it's just system and boot.

To everyone posting version numbers: I see a post referring to 5.6.3.4; another refers to 5.2.x.x. The chances of a brick increase significantly if you do not read or manage version numbers properly.

-- There's no 5.6.3.4. It's 5.3.6.4, which is an incorrectly-named 5.6.3.0.

-- Here are all the versions for the 2017 HD 10: 5.4.1.0 (release version), 5.5.0.0, 5.6.0.0, 5.6.0.1, 5.6.1.0, 5.6.2.0, 5.6.3.0 (incorrectly named 5.3.6.4).
[Fire HD 8 and HD 10 General] JJ2017:
I can confirm that extreme caution is necessary here -I sideloaded a 5.6.2.0 bin over a 5.6.3.0 (5.3.6.4) - it was a Fire 8 HD to be accurate - and got a very hard brick as a result :( (in my defence I couldn't see the 5.6.3.0 bin posted anywhere so I took a risk with older version: you have been warned!!)
[Fire HD 8 and HD 10 General] redhonker:
My lesson:

I directly rename the gz file to img file instead of extract the file. FF accepted them. The flash failed with error and ends up in Amazon bootloop (not even the Fire logo).

I had to sideload 5.6.1.0 to recover.

Second time I used the restore method. I think it's better as FF will verify MD5 before actually restoring.

All good now. Thanks
[Fire HD 8 and HD 10 General] redhonker:
[MENTION=3497316]retyre[/MENTION]

SuperSU prompt mode does not appear to work. If an app requests root access, it will just hang there and fail eventually. There is no prompt from SuperSU and no log entry either.

Is this expected? Or am I missing some settings?

Thanks
[Fire HD 8 and HD 10 General] DragonFire1024:
Set option to grant. There is a post that explains how to edit a XML file to manually add apps to SuperSU then you can change the setting back to prompt. I don't have a link at the moment.
[Fire HD 8 and HD 10 General] DragonFire1024:
That's what I meant. And you're not really doing anything to boot except flashing the stock image.
[Fire HD 8 and HD 10 General] redhonker:
Do you have the link? I tried to search and the best I can find is [TUT] Restore SuperSU permissions and settings after re-installation?. It did not cover the file format.
[Fire HD 8 and HD 10 General] sga999:
https://xdaforums.com/hd8-hd10/general/supersu-access-workaround-fire-devices-t3738269
[Fire HD 8 and HD 10 General] Bad Bimr:
sorry posted in wrong thread
[Fire HD 8 and HD 10 General] dasbooter:
Ive read through the entire thread and I have a few questions. I have a new HD 10 tablet firmware 5.6.1.0, which I have rooted and installed properly SuperSu and Flashfire.

1) I want to make sure I am properly backed up:

I have done

adb shell
su
dd if=/dev/block/mmcblk0p13 of=/sdcard/system.img

I have used FF to make Raw backups of system only. I noticed that FF defaulted to a raw back up of both Boot and System with both of these checked off. Should I have left the boot checked off and also backed that up?

I have done a normal back up of data

2)Just to confirm that I can properly follow directions in the OPS opening post and use FF to flash 5.6.3.0.

The OPs file contains both a system and boot partition but the boot partition DOES_NOT contain the 5.6.3.0

Boot Loader

. One of the advantages of this is that if I should decide to go back to 5.6.1.0 I can.

Sorry to be asking but reading through this thread I see a few things being done which seem ill advised and don't want to hard brick and I want to be backed up properly
[Fire HD 8 and HD 10 General] retyre:
1. Do a raw backup of boot, recovery, and system (and a normal backup of data). No reason to do a dd backup if you already have a FF backup.

2. boot.img is not the bootloader. I saw someone incorrectly posting that it is. The whole point of this thread is to be able to update the system without updating the bootloader.
[Fire HD 8 and HD 10 General] dasbooter:
Thank you so, so much for confirming this. I know it is difficult to convey every little point and procedure and you hope that people have a good understanding of what there doing. That being said I would caution some people to follow carefully what the op has laid out... not doing so without a really good understanding might be at very least a pain at the most a perma-bricked device.

Edit: just flashed successfully version 5.6.3.0 downloaded from OP's first post using method 2.

ro.build.version.number shows "9" as the first number under /system/build.prop

however under system/priv-app/DevicesoftwareOTA I have a file called DeviceSoftwareOTA.apk.bak am I ok to remove the .bak
[Fire HD 8 and HD 10 General] Jcursiolf:
I'm sorry to ask, 'cause I don't seem to find it anywhere: but what exactly would I gain from flashing this image over my 5.6.0.0?
[Fire HD 8 and HD 10 General] rkbest:
Fire HD 10 5.6.1.0 gets stuck during backup for custom rom install

I rooted my Fire HD 10 7th gen, and installed Flashfire with all permissions. Once I select backup>flash, the screen goes blank for 1 sec and then Fire logo comes up and stays forever, I waited for 15-20 minutes and leaving it overnight today to see if it ever completes.

Last few time it did not completed even after 20 minutes so force booted it. This step is for getting the pre rooted rom installed. But I cant clear step one. Any suggestions.
[Fire HD 8 and HD 10 General] rkbest:
What you should do before flashing! Need help with prep!

What do you mean by move app - converted to /system apps? Please direct me to why and how?
[Fire HD 8 and HD 10 General] bibikalka:
[MENTION=3497316]retyre[/MENTION]

How did you inject SuperSu and other stuff into the system image under Linux?

Was it all manual, or was there some script?
[General Questions and Answers] yyiimm:
Just found it at chinese social network site, note sure real or fake.
[General Questions and Answers] Hafyzy:
Wrong Section to ask mate . go Q&A or General Section if want to ask something and make sure your purpose is relevant with the section . Android Development is the place where dev share their rom .
[Android Q&A, Help & Troubleshooting] nemr52:
i flash it with rong rom . now the phone lose the recovery mode and download mode

[IMG="erorr pic"]https://scontent-cai1-1.xx.fbcdn.net/v/t34.0-12/29920271_2044162785863793_1312010998_n.jpg?_nc_cat=0&oh=d3765a9de0486ce88df82e7dcd71aae1&oe=5AC3EBC0[/IMG]

pleas help me
[Android Q&A, Help & Troubleshooting] Ibuprophen:
I don't have this device but, your best bet is to post this question within the following Q&A thread that's specific to your device.

https://xdaforums.com/showthread.php?t=2137606

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Moto G5 Plus Questions & Answers] yadielglz:
Hey guys,

I am having a bit of issues right now with my XT1687

Current Rom: AOKP 7.1.2

OpenGApps: Dec 30 2017 Stock [Updated to Apr 01 2018 Stock by Google Play]

Roms where this issue has happened: LineageOS Nougat, AOKP, Slim, Tesla

I've been having issues for about 3 days now where the dialer crashes when routing call to and from bluetooth. Like hanging the call freezes up the phone and reboots or making a call while bluetooth headset is paired crashes phone app, call goes thru, but no UI is present and other side cannot hear me nor I can hear them. Without bluetooth headset there's no issue.

I tried rolling back to earlier versions of the before mentioned Roms, and GApps but it still happens. Now I havent updated to Oreo 8.x because of the same issue, BT Audio Routing in call is not available on Oreo for Potter.

Google Phone : 18.0.187698947

I'm trying to upload LogCat but even logcat crashes when trying to export. Does anyone has the same issue? Is there any light someone can shed to me? Thanks in advance.
[Moto E4 Questions & Answers] unrooty:
Unfortunately all the TWRP flashable roms from GetOffMyLawn&!+¢#{$ are dead and I need the stock rom for the MetroPCS variant. Anyone know where I can find it?
[Moto E4 Questions & Answers] unrooty:
I think I mostly got to where I needed to go with the stock factory roms without using TWRP. After attempting and failing to make a flashable rip with Android Kitchen, I read about and saw a video on RSD Lite here youtube.com/watch?v=njXQYn53SPc (sorry can't hyperlink since my post count) It basically just quickly shows what it should look like and how it should work IF it works once setup. But it was good enough. The images I had were giving me failing to flash gpt and bootloader errors. So I manually took those complete lines out of both the flashfile.xml and the Servicefile.xml. After that it flashed everything and rebooted. To my surprise I'm not bricked and back on stock. I had to go back to enable Device Carrier Unlocking through the metropcs app (oops). Now I have to probly unlock the bootloader and root again but this time I'll make that backup :eek:

But if anyone has the flashable zips, a new upload would be nice for others.
[Moto E4 Questions & Answers] MotoJunkie01:
Send me an untouched stock system.img, boot.img, and oem.img and I'll compile you a TWRP flashable ROM. If you're not sure how to dump partition images, the best way is to download an app called Partition Backup & Restore. It's a free app and was created by an XDA dev [MENTION=3562083]wanam[/MENTION].
[Moto E4 Questions & Answers] unrooty:
Hey, thanks for the offer. I'll do it. I have the img files that you need ripped and rared. Just been having some connection issues today while attempting to upload the file. I don't know how I should upload it so I'm going to use my google drive and share the link with you either here or by PM if I can't link it here due to the spam protection. Hopefully I'll have it to you within the next day if my connection becomes stable enough to upload.
[Moto E4 Questions & Answers] unrooty:
https://drive.google.com/open?id=1x65mPUAWWm1heQsDRpgm6QYnyyOIp8P5

Here you are MotoJunkie01, I decided to keep the extended name on the file to show exactly what Partition Backup and Restore spit out should there be something different that's needed.
[Moto E4 Questions & Answers] unrooty:
Quite the write up there, thank you for it it's very informative. But to be fair flashing through RSDLite it working for me so I suppose I'll stick with it. It seems more straightforward afaik.
[Moto E4 Questions & Answers] madbat99:
Good choice. I, personally, don't see how that's a better option than just rsdlite. But to each his, or her, own. If you need no verity, magisk, and all the basics anyway, why not just flash the stock firmware. No risk involved.
[Moto E4 Questions & Answers] DB126:
Yep - seems a better choice. RSD Lite isn't the friendliness beast but it's not a bad ride once you understand the idiosyncrasies.
[Huawei Mate 9 Questions & Answers] materoni:
Hi guys, I deleted some videos and photos from my Huawei 9 Mate the normal way before I let go, but I want to be sure that no one can restore it. I also downloaded Shreddit app and I will use it on empty storage space. Are any data still recorevable after this ? I did a little research and found out that Huawei can't be encrypted, so can anyone give me a tip, what to do, so no one could recover any data ? Thanks :)
[Huawei Mate 9 Questions & Answers] XERO_Racer:
You will be fine, are you that concerned? Chances of someone actually digging old information out is NOT LIKELY going to happen unless for some reason the phone lands in the wrong hands and involves authorities
[Huawei Mate 9 Questions & Answers] Icetea:
to get clean, you can use this app -> https://play.google.com/store/apps/details?id=com.apparillos.android.androshredder

to get a safer access to your personal files, you can use this app -> https://play.google.com/store/apps/details?id=com.egosecure.uem.encryption

but 100% safeness, seems to be impossible until now. (depending on whoever gets the device in their hands) ;)
[Huawei Mate 9 Questions & Answers] materoni:
Hi, thank you for your tips. I downloaded both apps. I already deleted the files a week ago, so now I just have to wipe the internal storage, but it doesn't give you the option to wipe just empty space. I will have to wipe everything. Is the Andro Shredder better than Shreddit ? With Shreddit you can wipe just internal empty space. The EgoSecure Encryption seems just to encrypt single files, can I encrypt the whole storage before factory reset ? In Huawei there is also function called "safe" when I go to security (I don't have the english version), where you can choose password for the whole internal storage, wouldn't this be enough for encryption ? Thanks :)
[Huawei Mate 9 Questions & Answers] Icetea:
i have no own experience with the Huawei build in encryption.

EgoSecure is also able to encrypt the whole folders if you need.

AndroShredder can cleanup and shredder internal and external SD! Sometimes you have to go to the upper right side to the 3 dots to select "show internal drive too" to be able to have access to both sd cards.

I had tried both apps (androshredder and shreddit). androshredder has won because i can't get access with shreddit to files on external sd! they are shown with a lock symbol.
[Huawei Mate 9 Questions & Answers] James_Watson:
Go into Recovery Mode, then select 'wipe data...' and 'wipe cache...'.
[Verizon Samsung Galaxy S8+ Questions & Answers] zakkyzombie:
Hey all!

I'm new to Samsung completely, I have experience rooting, as I've had multiple Nexus devices, and other rootable phones. Just never had a Samsung. I recently took the Oreo OTA update, and was wondering about the best rooting method? Ive read that you lose secret folder. Is there a way to keep that?

Basically I just want to debloat more and theme without having to use Andromeda, as that is annoying.
[Verizon Samsung Galaxy S8+ Questions & Answers] OneoftheRabble:
At this point in time there is no root for the Verizon Samsung S8+.
[Verizon Samsung Galaxy S8+ Questions & Answers] zakkyzombie:
Lame.

Thanks I appreciate your help.
[Verizon Samsung Galaxy S8+ Questions & Answers] WAIDroid:
Rooting for Verizon is not happening as of now as they Lock the Boot-Loader and just Phones aren't as easy to Root now
[Verizon Samsung Galaxy S8+ Questions & Answers] ikoyhn:
If you have nougat or a specific type of Oreo root is still possible with PartCyborgRom (https://xdaforums.com/galaxy-s8+/development/root-partcyborgrom-aqk3-samfail-odin-t3717702)
[Verizon Samsung Galaxy S8+ Questions & Answers] OneoftheRabble:
But this will take you back to Nougat QL1. There isn't a root for our phones in Oreo yet. Darn Verizon.
[Verizon Samsung Galaxy S8+ Questions & Answers] zakkyzombie:
I have a 2!

So basically what I'm gathering is, it downgrades the bootloader or kernal to a rootable state, then with wizardry I can flash a Oreo rom?