yashsingh1/xdaforums huggingface dataset:
[Fire HD 8 and HD 10 General] DragonFire1024:
Ok so I downloaded the 5.6.1.0 rom from the hd 10 rom's link we have. Question...are those linked to an amazon server for downloading? Does anyone have a .bin of 5.6.1.0 they've had for a while? The results with live wallpapers is the same. They force close when the screen turns off. Even with repacking the kernel from a 5.3.6.0 ramdisak, 5.6.1.0 kernel and a 5.6.1.0 system. So if those links are linked to an amazon download server, every one of those update.bins are now contaminated...and with who knows what.

---------- Post added at 04:11 PM ---------- Previous post was at 04:07 PM ----------

Forgot to mention [MENTION=5417447]Legitsu[/MENTION]
[Fire HD 8 and HD 10 General] MisterMalakai:
I misquoted. My apologies. I'll experiment further when I get off work in a few hours and update my previous question with the results.

In the meantime, I discovered a way to get rid of the price tag icon on the lock screen, but it requires a factory reset and to pm disable the kindle.kso special offers app before setting up Wi-Fi for the first time so that the ads never wake up. Needless to say, I've caught the bug.
[Fire HD 8 and HD 10 General] DragonFire1024:
Okay so I downloaded my optimized firmware for 5.6.1.0 and flashed it on one of my test tablets installed Nova launcher and live wallpapers. What do you know live wallpapers work. So somehow at least from 5.6.1.0 onward those ROM files in the thread we get them from, have become contaminated with whatever Amazon did to the most recent version of fire OS to patch my various hacks and wallpapers and so on. I have not been able to fix this issue using any of the ROMs on that page from those versions forward. Regardless of what boot image or kernel is flashed on the tablet.
[Fire HD 8 and HD 10 General] Legitsu:
O will you just effing stop

amazon is not patching `your hacks` they are devloping fireos the side effect is a handful of features nobody effing uses got deprecated

Just stop ittttttttttt

I have tried to point you in the correct direction you need to up your skill level if you want what you want because its not something you are

gonna fix by txt editing a few files and hoping it works you need to have some actual programing ability,

and for ****s sake learn to use logcat correctly grep so its readable fking A
[Fire HD 8 and HD 10 General] chivoyage:
Stop being rude here. It's a brainstorming. If you don't like reading it, you can ignore it. I for one, like the updates. I see you are a senior member but that doesn't warrant being uncouth.
[Fire HD 8 and HD 10 General] DragonFire1024:
And I told you I didn't see anything there. Still, how would that effect anything downwards from the version they did it to? I'm asking legitimate questions here. I only asked you because you seem knowledgeable enough. But since that clearly is too much for you to handle, I won't bother you with anything anymore or take up any of your percious time. I've tried to explain to you that not everyone knows everything and some will need help at times. But it's ok. I've figured out all this already so if it takes me 6 months to figure it out on my own again, so be it.

You think not eh? What do you think Amazon has been doing this whole time? Editing a few lines here and there and moving some things around. It's clearly that easy, or has been, because the hacks "no one uses" came about by doing just that. If no one used any of them, amazon, with all their resources, would've found better ways to stop it before. And I wasn't insinuating they were specifically patching my hacks only.

So if you want to help fine. If not that's fine too. But I won't sit here and be insulted. Have a good day.
[Fire HD 8 and HD 10 General] DragonFire1024:
Well I figured out how to stop the wallpapers crashing. Set a lock screen. I had the 'slide' option active. I changed to pattern, live wallpaper stays on home screen. This may be a result of having removed the device owner config and parental controls. Also it seems once you do that once, the wallpaper sticks thereafter, even if you change the lock option again. How very bizarre. If it's not because of the above, then I'm stumped.
[Fire HD 8 and HD 10 General] DB126:
Truth.
[Fire HD 8 and HD 10 General] DragonFire1024:
Forums always have to have their little pyros.
[Fire HD 8 and HD 10 General] DB126:
Yep - I suppose useless spew should be tolerated in this thread as it's titled "chat" where unsubstantiated supposition trumps all. Shall hold my nose and move on.
[Fire HD 8 and HD 10 General] Shadow Death:
If he believes that a company like Amazon isn't above patching someone's hacks then he hasn't seen the hell that HTC put the old Thunderbolt devs through. They would release broken kernel source code or make a small change just so that they could delay the release. Amazon is interested in you keeping your tablet as stock as possible. A also they wouldn't change something that works. That is a waste of development time and money.
[Fire HD 8 and HD 10 General] DB126:
Many wonderful things can be accomplished by knowledgeable individuals in "a few hours". Whether the deliverable warrants the effort is a different matter (not taking a position either way) along with allocation of scarce resources...namely time. [MENTION=8165603]DragonFire1024[/MENTION] apparently has the time and motivation to continue tinkering with these toys. That's fine. It is highly unlikely Amazon gives a rat's backside given the fringe nature of the kiddie class deliverables. Millions of devices sold...XDA isn't even on the radar.
[Fire HD 8 and HD 10 General] MisterMalakai:
Not that I have any room to talk because I am guilty as charged, but from personal experience, I think that most of the frustration that we're seeing in the Fire 8/10 forums stem more from fragmentation of information than anything else. There are conversations which hop around multiple threads (that I humbly take responsibility for), and there are many older threads and resources which have been deprecated by newer and more efficient methods.

I believe it would help immensely for us to consolidate conversation topics and to isolate specific information into respective threads (which I myself have failed to do up to this point), as well as closing or deleting old threads with outdated or inaccurate information. This should also apply to consolidating each subforum, since they seem to have lost their intended purpose over time. We either need a mod to move threads around to the appropriate subforums, or we need to consolidate the subforums into a simplified and more appropriate structure.

What IS the difference between General, Android Development, Original Android Development, and Q&A/Help/Troubleshooting? As it applies to the Fire tablets, there no longer is one, and we're all at fault for it.

Before we continue the developer deathmatches, we should ascertain and resolve the root of the issue (information fragmentation) before duking it out over miscellaneous information and advice that is nearly impossible to keep up with to begin with.
[Fire HD 8 and HD 10 General] sakibstark:
installing a FULL LINUX OS on amazon fire hd 10 android tablet

i have been following this thread ever since i got this device and have always throught if it was possible to get a full linux os on the device as most linux flavour now have an arm edition. i have done some searching and tried busybox but i wanted a full os. i got the device rooted and removed all the bloatware i could find and this is much more usable now. since this thread is trying to install a ROM, i was wondering if anyone could

direct​

me to a place where they have been trying to install LINUX on android or perhaps start trying if possible? i am a new programmer and if there's anything i can contribute i would be happy to do so. good luck. waiting for AOSP
[Fire HD 8 and HD 10 General] MisterMalakai:
Android IS Linux. We're not at a point where we can completely replace FireOS just yet (though we're very close), but if you need something to satiate your curiosity in the meantime, you do have a few options readily available...

https://ubports.com/

https://www.slashgear.com/suddenly-linux-runs-in-android-18550564/

https://termux.com/

https://play.google.com/store/apps/details?id=tech.ula&hl=en_US
[Fire HD 8 and HD 10 General] SacredDeviL666:
Thread Cleaned.

Stay on topic and discuss stuff relevant to this thread.

You don't like something stay out of it or contribute to make it better than posting random stuff.

Kindly go through the forum rules.https://xdaforums.com/announcement.php?a=81

Thanks

SacredDeviL666.
[Fire HD 8 and HD 10 General] JoMa0815:
[MENTION=1205214]SacredDeviL666[/MENTION]: Thank you, kind sir.

Here I'm sitting with my lazy ass and rooted Fire HD 10 (which is awesome btw) hoping that you guys figure out the way to a custom rom. :D

But pls stop the negative vibe, it's not helpfull and unhealthy :cowboy: (sorry, for my useless contribution anyway :S)
[Fire HD 8 and HD 10 General] DragonFire1024:
Look up and read about Linux deploy https://github.com/meefik/linuxdeploy I use it across many of my devices including this tablet

---------- Post added at 02:56 AM ---------- Previous post was at 02:55 AM ----------

Replace it no. Dual boot a full Linux operation yes. https://github.com/meefik/linuxdeploy
[Fire HD 8 and HD 10 General] sakibstark:
Thanks

Apologies for the late reply. I was busy trying out all the solutions you've provided. UserLand Gets really close to the requirements. But the Idea of being able to install any Os is lucrative.

Good luck
[Fire HD 8 and HD 10 General] DragonFire1024:
See my above post. Linux deploy has several distros available. You can install it pretty much anywhere. These aren't knock offs or fakes. These are full distros. You can't actually replace android with it but you can boot it immediately after android boots. Best of all, you can move files between the two operating systems at the same time, at least in Kali Linux. You can't replace android on any device anymore. I'm afraid we are late to that party as it's been done already but there is no more support for them and they don't work on newer devices (I've tried several across several devices). Gentoo and Ubuntu both had android distros, both long ceased. Kali has one that works with and on top of android. I've had the luxury of being able to test that one on my Galaxy S4 and it is really really cool. The only requirements are is one you have to be unlocked which we do not have a problem with anymore and secondly you need to have a kernel that is made by then and it's few and far between that devices support that. However if we do get a lineage rom, we will be able to at least try flashing a generic Kali kernel. And if it doesn't work it just simply wouldn't work and it wouldn't mess up the device. Unfortunately it does not yet work on the HD 10 even with my customized kernel that I built. It is just too old. If I can be successful at updating the version which so far I have not been, we might have success.

---------- Post added at 10:31 AM ---------- Previous post was at 10:11 AM ----------

Let me also add that I'm following instructions very closely when trying to update the kernel. And most of what I read says if any of the updates fail during the patching that something went wrong. With that being said I have been able to get up several versions with only one or two errors occurring in each one. I've never looked to see what those errors were but if I had to guess I would say it probably had to do with one of the Amazon drivers in the kernel. I was able to get up a couple of versions maybe six or eight of them ( but mind you we can only update this incrementally so these are fractions of a version) but once I got that high up and I did the next one the whole thing errored out. I'm going to try it again and this time I'm actually going to see if it will build and then I will try flashing it. If it works at least we can get a couple more versions ahead. By the way on my last build I finally got several of the modules to load and boot. One of them included NFC so at least I know that is present on the device. I still get the GPS driver to load but I still can't get any apps to read that there's actually GPS on a device but I'm almost pretty sure that is because of several configuration files that are missing. You can see them in the source code unortunately they only work when they're built with it.

Edit: and that's even presuming we have a whole source which I don't think we do because I'm almost pretty sure they're also several binaries missing unless those are built with the source too but I haven't really looked into it.
[Fire HD 8 and HD 10 General] DragonFire1024:
So I managed to find a ROM from a Chinese tablet the Hi9 has from what I can tell almost if not the exact specifications as ours at least in terms of the CPU and the processor and whatnot. The only thing that seems to be more of are partitions. It is also a bigger system at 2 GB. I believe the system image pulled from our tablets is measured at about 1.8 gigabytes. I am not sure at how much can be expanded beyond that if at all. So I guess now what are the odds that it will work on these tablets? is there any good guide or any kind of reference I can look at that I can see what would need to be ported over exactly to at least try and get it to work? It is Android 7 and does appear to have English as well. I know the odds are against me but I figured I'd ask anyways.
[Fire HD 8 and HD 10 General] Rortiz2:
It's very difficult because you need to extract system.img, replace the files to port (some .so files and folders like firmware) and then you need to repack it to system.new.dat because amazon patched set_metadata. Then you need to unpack the boot.img, replace the kernel, edit .rc files, repack the boot.img, zip the ROM and flash it..

I recomend you to build from source. Look at us with the Fire HD 2018:

https://xdaforums.com/hd8-hd10/general/lineageos-14-1-fire-hd8-2018-t3936242

Use k4y0z or Kaijones device tree as base.
[Fire HD 8 and HD 10 General] chivoyage:
Any updates on this? Can this be tested by others?
[Fire HD 8 and HD 10 General] DragonFire1024:
Everything is there so far as I can tell. I cannot get a bootable build through aosp for this tablet to save my life. I can get as far as a boot animation starting and it freezes and it's done. I'm not giving up, but it's very tiresome to go through especially when a build can take a few hours or more. Go figure I can build a kernel with my eyes closed (hadn't have ever done so before either). You'd think that would be harder to do than a ROM.

Edit: already extracted the imgs. The plus about this one is it appears to contain all of if not most of the proprietary binaries in the vendor folder already. Since it's android 7, if anything is missing, hopefully the other android 7 source we have will have those files.
[Fire HD 8 and HD 10 General] DragonFire1024:
Ok i have everything unpacked. There is one question I have regarding system/lib. it's not quite clear as to what exactly needs to be ported. I have always assumed the obvious first and that would be the mtk .so files. this rom appears to be stock 7.0. This is the cleanest stock Chinese ROM I've seen for a Mediatek device. Up until now, everything I have found has been stocked with too much garbage unknowns and spam apps to even consider trying something. This looks to be a pure non altered aosp build. Not one single spam app. All prebuilt google apps includes the full stock. This could turn out to be very easy. I think the hardest part will be he init files. I don't have a huge understanding of them yet, but am familiar with the very basic ones.

---------- Post added at 02:23 PM ---------- Previous post was at 02:05 PM ----------

Addition: so I tried to mount both images from amazon and from the Hi9 source. Surprisingly it won't let me. The images are in two entirely different directories. However it says that the image I pulled from amazon is already mounted...in the path the Hi9 one is mounted. So I did something wrong or its possible there i much less work to be done on this that initially thought??? It says "the device (dev5) is already mounted."

More: I decompiled both roms in superR's tool. there was already and "installed" file containing backuptool.sh in the Hi9 rom.
[Fire HD 8 and HD 10 General] Rortiz2:
You are complicating yourself too much ....

You just have to unpack the two ROMS and replace several libs or folders like for example:

lib.hwcomposer.mt8173.so

libvcodecdrv.so

Firmware folder

Edit build.prop

etc

Where did you get the ROM for the Hi9?
[Fire HD 8 and HD 10 General] DragonFire1024:
I just happened to stumble upon it among one of my searches for anything related to 'mt8173 aosp' and the firmware popped up one day. I just had time to look it over. Again back to .so there are a few questionable .CA.so files there. Not sure if I should leave them. Clearly Chinese origin. However if the standard is followed here they do sound like educational libraries.

I don't have a link to where I got it. Not in hand. I downloaded it immediately though. What do I need to edit in the build prop? The only thing that I question is in additional properties section. Everything else from start of system prop section is identical.

I am uploading the zip to Google drive and will post the link when it's done.

Edit: even the CPU abi values are a match. I assume I would need to change device name and brand etc
[Fire HD 8 and HD 10 General] Rortiz2:
Never heard about .CA.so files:confused: Ignore them.

For build.prop change the device name, board name, brand name, manufracter mode and lcd density.

Found that:

https://www.htcmania.com/showthread.php?t=1397693

Full guide of ROOT with Stock FW. Looks very good:
[Fire HD 8 and HD 10 General] DragonFire1024:
Looks amazing!! Here is a link to the Hi9 stock ROM. The library files are libnameca.a. Whaty needs to be changed in init files if anything?
[Fire HD 8 and HD 10 General] ThehypnooToad:
So there's a possible also ROM on the way :)
[Fire HD 8 and HD 10 General] DragonFire1024:
Looks very promising. I think I've got the system end just about setup. I just need to know what needs to be done in the boot.img as far as the init files go. Also need to know if I'll need to switch the kernels or etc. If I can get that straightened tonight or tomorrow, I'll be able to flash a test build sometime the same day.
[Fire HD 8 and HD 10 General] DragonFire1024:
Provided porting this rom fails, here's an update of what I got going today.

Would like to try and carry over my work on this kernel, assuming I have to do a switcheroo. Update on the stuff waking up now that I have all the permission xmls from source, in place. In secure settings there is a value for VoIP. I managed to figure out the requirements for it, and all were meet except for 2, missing permission files for sip/VoIP. I added those in my last test stock firmware build. Found out one more was missing for audio low Latency. VoIP loads according to the logs :D next will be to integrate Google dialer for full integration.
[Fire HD 8 and HD 10 General] GuyInDogSuit:
Google Dialer? Why would that be needed on a tablet?
[Fire HD 8 and HD 10 General] DragonFire1024:
Only for VoIP and or sip settings. Those features aren't available in the voice dialer. I would much rather get this ROM ported though.
[Fire HD 8 and HD 10 General] Rortiz2:
How did you "ported" the boot.img?

Also, the two tablets have the same kernel version?
[Fire HD 8 and HD 10 General] DragonFire1024:
Haven't looked that far into the kernel yet and haven't looked it over too much yet so haven't gotten to look or do anything yet. I Went to bed after I was done with what I think I needed to do with system.
[Fire HD 8 and HD 10 General] massimo727:
This of any help?

https://xdaforums.com/android/development/mediatek-mt8173-mt8176-development-t3791009/page2
[Fire HD 8 and HD 10 General] DragonFire1024:
All right I have everything in the system area done that I can see hopefully. now I just need somebody to guide me or direct me somewhere that has a written guide on what I need to edit into boot image to get the thing going. Also how do I unpack the z image in the boot image in order to get the ROMs kernel source in order to see what version the kernel is. I can't seem to find any of the tools that make that work. I recall unpacking one some time ago but I can't for the life remember what I used to do it.
[Fire HD 8 and HD 10 General] DragonFire1024:
Went ahead and tried a guide I found. This build, fail. Starting over.
[Fire HD 8 and HD 10 General] newnewcomputer:
found a review of the chuwi hi9 tablet here: https://www.slashgear.com/chuwi-hi9-android-tablet-review-31517556/

according to the article, same CPU n GPU as the Fire HD 10. display has a higher resolution @ 2560x1600 (HD 10 is 1920x1080). its stock firmware is a very clean 7.0 Nougat; except for ES File Explore being pre-installed. IF it can be ported to the HD 10, it would be a good one!
[Fire HD 8 and HD 10 General] Rortiz2:
AndImgTool, CarlivImageKitchen, MTKBootimg, etc etc.:rolleyes:
[Fire HD 8 and HD 10 General] DragonFire1024:
Thank you. the first one was the one I was actually looking for. I seem to recall something with that title or close to it that I posted in a thread on one of our fire forums ages ago and I could never find it.

On that note, I've been trying to get logs in twrp of the rom failure. I'll post them but they really aren't helpful. I've followed a few different guides and yes it is a matter of a few files. I'm on Ubuntu 16. What's a good replacement for 7zip? I'm going to do a manual zip instead of letting superrs tool do it.

---------- Post added at 09:44 PM ---------- Previous post was at 09:38 PM ----------

I really don't see any reason why it can't be. I'm just running into trouble with it again and I'm pretty sure it's one of two things or both. Number one supers tool... It has the tendency to sometimes be a little bit aggressive and I don't think it is compiling the flashable file correctly. I also don't think it is deodexing properly. I will have to look into making sure the rest of my tools are up-to-date. Also just a side note this is the first nougat ROM I have actually got my hands on and dug into. for the last couple years with the Amazon tablets and several other devices I own I've gotten used to working with lollipop and marshmallow but mostly lollipop.

Number two, the kernel. I have been building or rebuilding and trying to get various features to work on a sources we have for Amazon's kernel. I have not yet try to work off the sources that we have for Android 7.0 kernel. that probably also poses another significant problem though if switching out the kernels is not working, that's another problem too which means we won't be able to just take our kernel and switch it with the other one either. so it looks like I'm going to have to compile or decompile one or both of the kernel sources we have for this chipset.

Was that having been said yes this is the cleanest Chinese bass mediatek ROM I have ever come across in my entire time of owning all of these devices. And to be honest it really is quite surprising. This may just be the luckiest thing we have right now or we could be beating a dead horse and poking it with sticks. Logs coming in a few minutes.
[Fire HD 8 and HD 10 General] DragonFire1024:
In the mean time...I'll leave this here and you may want to start thanking me. Not just yet though.
[Fire HD 8 and HD 10 General] DragonFire1024:
All right I'm sort of at a loss now. I followed a few guides and I replace the files they said to do so and I can't get anything to boot otherwise. so I wonder what I'm doing wrong where the stock firmware that's modified can flash. I still hope that my suspicions aren't correct about a custom ROM on this tablet. Any help or advice anyone can provide on what needs to be ported precisely that would be cool black
[Fire HD 8 and HD 10 General] Rortiz2:
PM me.
[Fire HD 8 and HD 10 General] DragonFire1024:
Done
[Fire HD 8 and HD 10 General] DragonFire1024:
The projectconfig.mk says the Hi9 ROMs kernel is 3.18 but doesn't specify 3.18.19. not sure if significant