yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 General] k4y0z:
So did you end up successfully unbricking your device?

I did share working amazon kernel sources in the HD-10 Unlock thread.

They worked well in my tree to compile TWRP.
[Fire HD 8 and HD 10 General] bibikalka:
Sorry for being out of the loop - were those kernel sources for Lollipop? Or does it even matter at all - meaning they would be good to go with newer Android versions as well.

Could you link to those posts in here?
[Fire HD 8 and HD 10 General] k4y0z:
They will likely need some patches to work with newer versions, but it's a good start I'd say.

It's the most recent version amazon has published.
[Fire HD 8 and HD 10 General] DragonFire1024:
I am working on it as we speak. I downloaded the zip from the second post in this thread, 1.1. extracted and ran sudo ./bootrom-step.sh. said it can't find build/payload directory it doesn't exist. So I assume I use that folder from the other unbricking thread copy it to yours? Assuming its a yes to that question, I keep getting the serial port errors. I also had to delete a setting in udev (this was my own addition to it) and rebooted PC. Now I am having a cigarette. When I do it again, if I still get serial port errors, time to try each of the 8 or 10 other ports on the PC.

---------- Post added at 06:23 PM ---------- Previous post was at 06:21 PM ----------

The one I have and provided is a source to 7.0. looks nicely stocked.
[Fire HD 8 and HD 10 General] Rortiz2:
Hi bibikalka,

Very good idea this thread.

What you can do, is to port a port a ROM of another MT8173 tablet to the FIRE HD10 2017.

This works and I have tested it on my BQ Aquaris M8 (MT8163) it has a similar MTK so I guess it will work. I have ported for example a ROM of an asus zenpad that uses MT8163 and at least the rom boots.

BTW: Oreo on MT8176: https://www.xda-developers.com/alldocube-x-10-5-inch-android-8-1-oreo/
[Fire HD 8 and HD 10 General] k4y0z:
Apparently I forgot to add the right files.

give me a moment.

---------- Post added at 06:47 PM ---------- Previous post was at 06:36 PM ----------

I have fixed the upload, please use amonet-suez-v1.1.1.zip

But these aren't amazon sources are they?

They probably are missing some drivers then.

But if they are for mt8173 they could be used as a source to patch the amazon-sources.
[Fire HD 8 and HD 10 General] DragonFire1024:
I'll provide a link in a few. Trying your fix now.
[Fire HD 8 and HD 10 General] bibikalka:
Excellent find! Here is a review link:

https://xdaforums.com/general/devic...ldocube-x-review-media-playback-king-t3902539

Alldocube X kind of has 2x of everything compared to HD10 2017, but at 2x price ;) I wonder how fast Oreo would be on HD10 and if 2Gb of RAM would cut it. But this is definitely the device to copy if one wants latest and greatest!

And here is a thread with misc download links for ROMs:

https://xdaforums.com/general/devic...n/10-5-inch-super-amoled-2560-x-1600-t3821327
[Fire HD 8 and HD 10 General] Rortiz2:
I will try to port lineage 15.1 but the safest thing is that it will not work.

I have also ported an AOSP Rom for anyone who wants to try it. Tomorrow I will give more info.
[Fire HD 8 and HD 10 General] ffstudios:
This is great news! I am eagerly awaiting more info about this AOSP ROM
[Fire HD 8 and HD 10 General] bibikalka:
Alright, we have both an eager developer, and a tester!!! Just remember, avoid bricking ! :D

Very recently (March 2019) [MENTION=5780820]wangyiling[/MENTION] seems to have put together a LineageOS 15.1 ROM for MT8173/8176 - link, so hopefully we can re-purpose that for HD10. It's great to have an active developer elsewhere looking at the same thing!

It feels that if there is at least something that boots the kernel, it'd be a huge step forward.
[Fire HD 8 and HD 10 General] DragonFire1024:
If my testing on ROMs caused my brick, we have to be careful. I've been testing and flashing test ROMs for months now and never bricked like this. I think I may know what happened and if I'm right, I'm not sure what effect if any this will have on flashing a rom. According to the fstab.mt8173 file in the root directory, the partitions we flash for a rom, aren't part of the EMMC: data, system, cache are all ext4. All other partitions are however EMMC. So if I recall correctly, I did list the system as EMMC in the build script, but did intend to remove it. I made a last minute adjustment to the script and didn't change that part though.

https://xdaforums.com/showpost.php?p=78542898&postcount=618
[Fire HD 8 and HD 10 General] tylerhole:
I too am willing to test. Just let me know and I'll be sure to wear my best testing pants. [emoji41]

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 General] Rortiz2:
AOSP ROM TEST 1 (suez)

Ok guys so here's the first test for the AOSP ROM.

First of all, I am not responsible for bricked devices. It is you who decides to try the ROM without knowing if it will work because it is a TEST.

DOWNLOAD: Removed

INSTALL INSTRUCTIONS:

- Boot TWRP

- Make NANDROID BACKUP

- Make wipes

- Format data

- Install ROM

- Reboot

Please. If the installation fails, send the errors and if the ROM starts, comment on the bugs.

Regards!
[Fire HD 8 and HD 10 General] tylerhole:
Sounds good to me. Won't have a chance till later this afternoon/evening to give it a whirl, but when I do I'll definitely share my results and any information that may be useful. Thank you!

Sent from my SM-G9650/DS running stang5litre Pie ROM
[Fire HD 8 and HD 10 General] bibikalka:
Which AOSP version is this? Could you try that Oreo Lineage stuff from [MENTION=5780820]wangyiling[/MENTION] at some point as well?

One of these days we'll have a ROM developer and a tester within the same person :D Too bad we've lost [MENTION=8165603]DragonFire1024[/MENTION] since his tablet got bricked :(
[Fire HD 8 and HD 10 General] DragonFire1024:
I've managed to get rid of all parental restrictions and at the same time kept all lock screen options (none, pattern etc). And to top it off I've convinced FireOS that Google services is the new device owner. Half the wifi issues has to stem from those apps and the policy files locking them down because this is the best performance I've ever had since we fixed dhcp. all buttons work and no warning pops up.
[Fire HD 8 and HD 10 General] Shadow Death:
I saw where you said you were working on one with your fixes and your own kernel. The other day I also saw where you said that you were sticking to 5.6.2.0 because that's the version where most of your fixes work. I take it that means that your build will be 5.6.2.0 and nothing newer?
[Fire HD 8 and HD 10 General] DragonFire1024:
For now yes at least until I can dig into the dex files and decypher the smali. I'll have to go compare the versions and try to determine what parts of the code were changed and attempt to 'repair' it hopefully by just copy and pasting it (hoping [MENTION=5417447]Legitsu[/MENTION] is right about that). That's something that can take minutes, days or more. I will say since we've been able to deodex the code, it's much more easier to read and understand, there's just a lot more of it to go through and sometimes several files long.
[Fire HD 8 and HD 10 General] Shadow Death:
Cool, I understand. I was just curious. I haven't tried this downgrade method yet so I may give that a shot in a day or 2.

Edit: I used to have an HTC Thunderbolt. That thing was a bloated piece.. so most roms for it we're the stock rom but the phone's bloat removed. Pretty much like what we're all having to do to these tablets.
[Fire HD 8 and HD 10 General] Legitsu:
why don't you just copy pasta the entire framework and see if it breaks :3
[Fire HD 8 and HD 10 General] DragonFire1024:
Lol I'd be lying if I said I didn't already try that in the past. I've even tried removing portions to try to remove Amazon's lock screen in hopes androids would start taking over. Unfortunately that didn't happen and I don't know if it will after a certain point or not.

---------- Post added at 05:10 AM ---------- Previous post was at 04:50 AM ----------

This was a huge step and an important one. The parental control apps are too restrictive, even for Amazon and especially for the main account holder. It's a burdon when they restrict even your access to the device. The complicated part was removing the apps as administrator without fireOS noticing and starting to shut down access to the system security. I also note this wasn't easy at all and I'm still surprised it worked. I tried a similar tactic a while back and it didn't go well.

---------- Post added at 05:21 AM ---------- Previous post was at 05:10 AM ----------

Also note, once the process is done, the device owner policy no longer applies. So that's another rescriction loosened. Most devices these days don't have a device owner policy anymore.

---------- Post added at 05:56 AM ---------- Previous post was at 05:21 AM ----------

Just checked the logcat. No errors or warnings about parental controls or device policy. I consider this round to be a win.
[Fire HD 8 and HD 10 General] DragonFire1024:
https://xdaforums.com/hd8-hd10/general/root-remove-parental-control-t3932831
[Fire HD 8 and HD 10 General] Shadow Death:
Oooooo. I'll add this to my list of stuff to do tomorrow. :D
[Fire HD 8 and HD 10 General] DragonFire1024:
So updating to Linux 16 from 14 on my PC has failed. I don't know why. I had to create a bootable usb drive just to access my system. Now I have to spend time trying to transfer what I care most about to various forms of storage. Once that's done, I'm just going to wipe all and do a fresh install from a clear hard drive. Unless anyone has some advice to make this go quicker and less painful.
[Fire HD 8 and HD 10 General] DragonFire1024:
Well I'm back. I managed to retrieve the most important stuff before I started over. Finally said good by to my windows partitions. Now a full TB of Ubuntu. The hard part will be replacing all my tools.
[Fire HD 8 and HD 10 General] DragonFire1024:
Need testers. I got the wifidisplay.apk working. All I needed to do was remove a line in the manifest for shared uid (was system) and sign the apk (it wasn't). This is a 'sink' app. You can try and use it as a source but I've not been successful. You can download various source apps from the play store. You do NOT need root to install this. If you get any weird things happening, like the logo flashing in status bar, let me know. If you can get logs, please send them.
[Fire HD 8 and HD 10 General] DragonFire1024:
Forgot apk
[Fire HD 8 and HD 10 General] DragonFire1024:
If that one doesn't work...
[Fire HD 8 and HD 10 General] gerryl432:
I'll check it out tomorrow. don't have the tablet on me currently
[Fire HD 8 and HD 10 General] DragonFire1024:
So...any roms for mt8176? They are both the same. https://github.com/Goayandi/device_wisky-mt8173/tree/aosp-7.0/wisky8176_tb_n
[Fire HD 8 and HD 10 General] MisterMalakai:
I tested the first file that you had on the other thread and tried to connect with an HP Spectre 13-4103dx on Windows 10 64-bit with latest updates.

I was able to connect the Fire and Windows 10 initially through the provided apk, but was unable to get Windows to finish the handshake. Windows kept wanting to cast to the Fire, instead of allowing the Fire to cast to Windows. On first connect, WifiDisplay created a "Paired Group" for its connection to Windows 10. I deleted it during testing to see if I could get it to return, but was unsuccessful in creating another paired group. As such, I was unable to complete the handshake on either device at that point.

I have since installed your latest copy of the apk and am currently updating my 18.04 Kubuntu install on the Spectre so that I can test out Miraclecast. I have both an internal and external wireless card, which have both passed compatibility testing for Miraclecast, so once I get it installed and running, I will return with results of the latest testing.

In the meantime, can you instruct me on how to capture a log for this process?
[Fire HD 8 and HD 10 General] DragonFire1024:
I'm trying to recreate the apk and am having trouble. You can use any logcat app and look for wifidisplay in them.
[Fire HD 8 and HD 10 General] DragonFire1024:
Alright. Here is the new apk minus the slight modification I made that may have caused the problem. Give this one a shot.
[Fire HD 8 and HD 10 General] MisterMalakai:
Miraclecast went ape on my grub bootloader and completely replaced it, somehow changing the Kubuntu entries to Kali Linux. As such, I didn't get an opportunity to test it as I was forced to wipe my Linux partitions and reinstall from scratch. I'll switch back to Windows and give it another go with the updated APK as soon as Android Studio has finished installing.

Is there a particular logcat app that you would suggest?
[Fire HD 8 and HD 10 General] DragonFire1024:
Anyone will do
[Fire HD 8 and HD 10 General] Kaijones23:
For adb on Windows you can install this as an universal adb. https://androidmtk.com/download-15-seconds-adb-installer

For Ubuntu use this

https://www.linuxbabe.com/ubuntu/how-to-install-adb-fastboot-ubuntu-16-04-16-10-14-04
[Fire HD 8 and HD 10 General] MisterMalakai:
I can't get the text file to attach through the XDA app, so I apologize if the following offends anyone.

I'm getting the same results with the most recent revision of the apk as I did with the earlier copies.
[Fire HD 8 and HD 10 General] DragonFire1024:
I assume you don't have my framework installed that has configEnableWifiDisplay set to true? I get very different logs.
[Fire HD 8 and HD 10 General] MisterMalakai:
It's not likely. I've silently followed your work quite a bit over the past year, but I didn't go any further then using the kingoroot method on 5.6.1.0 due to the Wi-Fi connection issues and anti-rollback problems that other people were having.

How would you like me to proceed in order to continue testing? Should I install one of your pre-rooted optimized stock ROMs, or just install the frameworks?
[Fire HD 8 and HD 10 General] DragonFire1024:
I'd need to know what version of fireOS is on to start. But I don't know really. This is as far as I've ever gotten.
[Fire HD 8 and HD 10 General] MisterMalakai:
It should be 5.6.1.0, but I can't give you a definitive answer, as trying to select System Updates in Device Options kicks me back to the first Settings page. Is there another way I can find it, maybe through adb or something?
[Fire HD 8 and HD 10 General] GuyInDogSuit:
Rar/zip the text file.

adb shell getprop

and look for

[ro.build.version.name]

.
[Fire HD 8 and HD 10 General] MisterMalakai:
Looks like I'm further back than I thought...

When time permits, please advise.

[ro.build.version.fireos.sdk]: [4]
[ro.build.version.fireos]: [5.3.6.0]
[ro.build.version.incremental]: [40.5.9.5_user_595457320]
[ro.build.version.name]: [Fire OS 5.3.6.0 (595457320)]
[ro.build.version.number]: [595457320]
[ro.build.version.release]: [5.1.1]
[ro.build.version.sdk]: [22]
[ro.build.version.security_patch]: [2017-08-01]
[Fire HD 8 and HD 10 General] GuyInDogSuit:
That's a more recent version than 5.6.1.0, which is what [MENTION=8165603]DragonFire1024[/MENTION] is used to working with.
[Fire HD 8 and HD 10 General] DragonFire1024:
Pretty much all the good stuff doesn't work on later versions. And it will take quite a bit of time to figure it out again.
[Fire HD 8 and HD 10 General] DragonFire1024:
The board has:

Accelerometer: BMA253 (i2c 9-0018)

Magnetometer: custom kernel

Gyroscope: akmd09911, akmd8963, akmd8975

Wireless vibration sensor

GPS: chip mt3326

Combo chip: mt6630

Proximity sensor

Gravity sensor

These are a few I've seen in the logs. All them are responsive and appear to be on device. I can tell you exactly why they don't work too. These things are missing s serious amount of binaries mostly proprietary. Some of them are already in system/bin which strikes me as odd that they weren't placed in the vendor area. Most of the logs point there anyways.

These are just a few I've managed to see regularly. There are others, presumably active because I see an initialization once and that's it. Lacking the knowledge, aside from logs and dumps, I do know there are mediatek applications to look at this data. So far, there 98 active or available device features and 73 extensions according to Device Info HW.

The projectconfig contains most of the driver information, so picking those out in a build are pretty easy. It is time consuming though. Are there any stick specs on this chipset in terms of features or possible features?
[Fire HD 8 and HD 10 General] MisterMalakai:
So what's with the numbering scheme? Wouldn't 5.3 be an earlier version than 5.6, or do I happen to be on the one with the messed-up version numbering? (Edit: I found the answer, but it opens up my question below.)

Also, I don't recognize the version that I'm on at all. I rooted on day one as soon as I left the store with this thing over a year ago. I also disabled OTA right out of the gate, so an update shouldn't have been able to sneak in. Plus, if an update did get through, wouldn't it have blocked my root access?

In any case, what are my options at this point? I came out of hiding specifically to help you, and I would hate to leave you disappointed.
[Fire HD 8 and HD 10 General] DragonFire1024:
If it's still what it was before, the AlexaWindowPolicyManager force closing the windows each time the intent is launched, there isn't much that can be done without rebuilding the system without the Alexa libraries and xmls in hopes it will boot after. I've been experimenting with custom firmware and so far so good. However I've only worked on the applications and haven't spent time in the libs but I have a good idea of what needs to go.

---------- Post added at 03:11 PM ---------- Previous post was at 03:05 PM ----------

Also it's likely, after much research, that the wifi files in data/misc/wifi need a rewrite. None of them are properly formatted according to source. A lot of the configs are valued to stop p2p. Only way to change that on files with update_config=1 is again at 'build'
[Fire HD 8 and HD 10 General] MisterMalakai:
Is there a way to bypass the anti-rollback so that I can downgrade my current tablet so I can help, or should I spring for another HD 10 as soon as they go on sale again?
[Fire HD 8 and HD 10 General] gerryl432:
I was wondering the same thing. Could I flash dragons earlier rom from TWRP...
[Fire HD 8 and HD 10 General] DragonFire1024:
All you should have to do, if it's not already, is look at the update script and Remove anything that flashes something that's not the system. I don't think it matters though.
[Fire HD 8 and HD 10 General] MisterMalakai:
I unlocked the bootloader, flashed your optimized 5.6.1.0 rom, and applied the wifi fix by mounting /system per the other threads. What can I do to help now?
[Fire HD 8 and HD 10 General] gerryl432:
Thanks this worked fine. I didn't have to edit the update script from your rom
[Fire HD 8 and HD 10 General] DragonFire1024:
Install my framework: https://xdaforums.com/hd8-hd10/development/root-enable-advanced-power-menu-global-t3877035

That has all the latest completed mods for it at the moment and has wifi display set to true. Then fool around with the wifi display app. Make it a system app. You probably want to flash Xposed first. You can download the stock installer but have to flash the arm64 zip in twrp and as per usual delete the app_process64 file in system/bin and reboot. Depending on your system this could take some time to reboot.

---------- Post added at 07:19 AM ---------- Previous post was at 07:12 AM ----------

Coming soon. Complete visual overhaul
[Fire HD 8 and HD 10 General] DragonFire1024:
Oops. They won't be able to patch this. They might be able to delete the icons but you can just add your own again. Also coming soon...I have a really great Lock screen wall paper setup. I also am pretty sure I disabled amazonlockscreen. Also have a few framework enhancements I've worked on I'll be posting an update to that too. One of the additions is enhanced volume.
[Fire HD 8 and HD 10 General] DragonFire1024:
I am on 5.6.1.0 with 5.3.6.0 boot image. No live wallpapers for me. they disappear like they do on the most recent version posted in the threads. Could it be something in image causing it? An init perhaps?

---------- Post added at 07:35 AM ---------- Previous post was at 07:34 AM ----------

[MENTION=5417447]Legitsu[/MENTION]
[Fire HD 8 and HD 10 General] MisterMalakai:
Is ro.build.version.fireos the boot image? The reason I'm asking is because I was able to confirm that I was on Fire OS 5.6.0.0 through Settings/Updates after I completed the bootloader unlock and factory reset. However, my ro.build.version.fireos still showed 5.3.6.0.

Now that I've flashed your optimized 5.6.1.0 rom, my ro.build.version.fireos shows 5.3.6.2...
[Fire HD 8 and HD 10 General] Shadow Death:
Also if they are well versed enough they could also try your steps for removing parental controls.
[Fire HD 8 and HD 10 General] DragonFire1024:
That version number has always been there. The unlock is based off the latest fire OS version. I'm going to test something in a few days...
[Fire HD 8 and HD 10 General] MisterMalakai:
I get the gist of what you're saying here, but I'm not by any means a pro so I'm a tad iffy on the specifics.

For the sake of clarity and to minimize hiccups for myself and others, is there any way you can provide a step-by-step instructional write-up for this task with download links to a trusted version of Xposed? I know it's a lot to ask, but I really want to get this right.
[Fire HD 8 and HD 10 General] DragonFire1024:
Okay so I'm going to have to run a few more tests but it appears there's a good possibility that whatever is going on with live wallpapers could very well be tied to the boot image or an init script somewhere. there isn't any other explanation that I can come up with as to why they would not be working while on a system image from 5.6.1.0 with a boot image from the latest version of fire OS 5.6.3.0? Or whatever one the exploit is based off of. so if anybody would like to assist we have a little bit of work to do. Any and all files involved with initiating scripts at boot will have to be thoroughly looked through. Or any possible binary scripts that launch at boot. look for anything related to wallpapers or images I suppose maybe the home screen possibly. I'm not even sure. But if I am wrong, somebody please do correct me.
[Fire HD 8 and HD 10 General] DragonFire1024:
So how about it does it look like I'm correct? [MENTION=5417447]Legitsu[/MENTION]
[Fire HD 8 and HD 10 General] DragonFire1024:
One more.
[Fire HD 8 and HD 10 General] Legitsu:
there is nothing in the init

its probly kernel level

there really should not be anything there

try repacking with the older kernel
[Fire HD 8 and HD 10 General] DragonFire1024:
Ok. Will give it a shot tomorrow when I get home. If I get time before then, I can do it on device.
[Fire HD 8 and HD 10 General] DragonFire1024:
So re packed older kernel from same version I'm on 5.6.1.0 and that one single kernel error no longer appears. However the one from the window manager still does. Attach screenshots below.
[Fire HD 8 and HD 10 General] DragonFire1024:
So guess the last test will be to rebuild 5.6.1.0 again from the same kernel as opposed to the one from 5.3.6....however this still doesn't make sense. Even if the window manager was the cause, how would it still effect this version if the policy was in the newest source?
[Fire HD 8 and HD 10 General] MisterMalakai:
Your op in the other thread calls for using a Windows 10 pc with ADB. Can I use Linux instead? If so, where should I place the apk (assuming that ADB was installed via apt-get)?
[Fire HD 8 and HD 10 General] DragonFire1024:
I don't have windows 10? I was on windows 7 and recently made the full switch to Linux.