yashsingh1/xdaforums huggingface dataset:
[Fire HD 6 and 7 Original Android Development] Rortiz2:
I managed to boot LineageOS 12.1. I will probably release it soon :)

EDIT: It's out: https://xdaforums.com/t/rom-unofficial-5-lineageos-12-1-for-amazon-fire-hd6-7-ariel.4675738/
[Fire HD 6 and 7 Original Android Development] amarithetopg:
i went to fire os 5 but no recovery is back can you help
[Fire HD 6 and 7 Original Android Development] Rortiz2:
What FireOS 5 version are you on? Are you rooted?
[Fire HD 6 and 7 Original Android Development] amarithetopg:
im on FireOS 5.3.6.2 And no im not rooted but i can go to fastboot im on windows an a noob on android
[Fire HD 6 and 7 Original Android Development] Rortiz2:
I’m afraid you can’t do anything then :(. There’s no way to root FireOS 5 and since you’ve lost your recovery you can’t downgrade to FireOS 4.

EDIT: If whatever I'm working on works, you should be able to downgrade just fine and flash LineageOS 12.1, so please, wait until I make sure this works.
[Fire HD 6 and 7 Original Android Development] amarithetopg:
Ok I will wait like next month bc I have firetoolbox to get old fire os launcher back
[Fire HD 6 and 7 Original Android Development] amarithetopg:
i have a bricked one thats now fixed and rooted so now i can try out lineage 12.1
[Fire HD 6 and 7 Original Android Development] ggow:
- Looks like it will be after Xmas that I'll have time to work on a new build

- Will keep you posted what's happening
[Fire HD 6 and 7 Original Android Development] JUSTINMARMER:
Has anyone tried this on 4th Gen 7inch Fire HD?
[Fire HD 6 and 7 Original Android Development] ggow:
- I was also wondering about this

- it looked to me like both the 6inch and 7inch shared the same hardware

- if that's the case them I could build a new version also for the 7inch

- Don't try and flash this version on your 7inch device, I'm sure it won't work in its current state.

- What is the codename for the 7inch device
[Fire HD 6 and 7 Original Android Development] JUSTINMARMER:
KFASWI
[Fire HD 6 and 7 Original Android Development] ggow:
- The 6inch goes by the name 'ariel'

- Does the 7inch go by a different name?
[Fire HD 6 and 7 Original Android Development] JUSTINMARMER:
The 7 inch is also ariel
[Fire HD 6 and 7 Original Android Development] ggow:
- the rom as it is may work then

- It's safe to try flashing it

- Take a backup in Twrp of your current setup so you can go back if you have problems
[Fire HD 6 and 7 Original Android Development] davigar:
[MENTION=6440263]JUSTINMARMER[/MENTION]

Works perfectly! Only i change dpi to 213 (screen density of Fire HD7) in build.prop and i change systemui.apk for another because a minor bug in multitask that appears with two black bars at the side. I guess for the different screen density.
[Fire HD 6 and 7 Original Android Development] morbos:
The two I have are the HD7 Ariel that my stepkids were given last year. So, I'll be trying it as soon as they wake up and get distracted by other things. That post made the decision for me. Looking forward to YouTube (most of what they use), but, more importantly, the space savings without FireOS behind a real launcher, and useful parental control software (can't enable usage tracking, among other things, in FireOS).
[Fire HD 6 and 7 Original Android Development] davigar:
This is the SystemUI.apk that I use. Put it in system/priv-app and set permission and don't forget change dpi to 213 in system/build.prop in line ro.sf.lcd_density
[Fire HD 6 and 7 Original Android Development] davigar:
[MENTION=5749760]ggow[/MENTION] I think that it's possible test a CM12.1 build. It is a bit tricky but It can flash with TWRP a CM12.1 build and next flash 5.2.2u2 bootloader and 5.2.0 stock recovery. If the fire doesn't boot. It can enter on stock recovery and flash 4.5.3 by sideload and it would work. I offer to test.
[Fire HD 6 and 7 Original Android Development] ggow:
- Yes its very possible but very tricky as you mention

- the number of build cycles can be large and this would be long winded

- I'm looking into other ways we could keep recovery permanently loaded but for now I would like to see how far I get with cm11

- there is a lot of mtk stuff required for this device missing from cm11 so my mileage may not be as i hope, which might force me to cm12.1 anyway

- Either way a solution for a stable rom, I'm sure will be found
[Fire HD 6 and 7 Original Android Development] morbos:
The bootloader for the Ariel accepted the same "unlock" methods that my Apollo did, and a quick check of the value suggested it had taken the unlock (cuber). I just didn't know if that meant I could try to keep TWRP, in the same way we do on the HDX.

There was a thread about it on this device's forums, but it was removed because the poster hadn't given credit to the guy that gave us the script over there.
[Fire HD 6 and 7 Original Android Development] ggow:
- Even though the ariel devices accept the unlock code, the Apollo unlock method is not applicable to ariel

- it turns out that the 4.5.3 bootloader will allow an unsigned recovery image to boot

- however we can only boot a signed boot image
[Fire HD 6 and 7 Original Android Development] morbos:
Nice to know. I had hopes for it, but I figured it was a surefire way to brick the devices if I messed with it. Was desperate enough to get rid of FireOS that I actually put together a VM for building CM11 and only stopped a few steps short of creating a ROM (calmed down and hoped a [real] dev would run into this device). Thankfully, you have! Thanks for clarification! One of the stranger things I've had a device do, that it took the code and shows as unlocked, but doesn't go all the way. :-p
[Fire HD 6 and 7 Original Android Development] JUSTINMARMER:
I installed this on my 2014 4th Gen Fire HD 7 about an hour ago. Everything is pretty smooth and extremely responsive. It has really breathed new life into my tablet. I'm really thankful for your work on this rom and am very excited about its progress. Looking forward to working bluetooth so I can connect my game controllers. Awesome work ggow. Bravo.

Edit:

I wasn't able to get youtube to work in any browser I tried. Kept getting an error about mime type. I disabled my adaway then rebooted. Youtube now works in all browsers. Still no love with the app.

Does anyone have the netflix apk from Amazon instead of google play? Was thinking it might work.

I did change the dpi to 213 as suggested in a previous post, it looks okay but it jacks up the drop down menus. I changed it back to 240. No problems on 240 at all.

I also changed the systemui as suggested. This caused a loss of soft buttons on nova launcher when in app drawer. I just reflashed cm11 to fix.

I noticed that google play labeled my device as Amzn Fire HD6. I fixed that by editing build prop to say HD7.

Man I'm loving this rom :)
[Fire HD 6 and 7 Original Android Development] Remolten:
Status update on the new build? Thanks for your time!
[Fire HD 6 and 7 Original Android Development] ggow:
- I'll be starting to look at this today
[Fire HD 6 and 7 Original Android Development] ggow:
- Have amazon released the lollipop sources?

- I can only see up to 4.5.5 @ http://www.amazon.com/gp/help/customer/display.html?nodeId=200203720

EDIT: I sent amazon an email about posting the lastest sources
[Fire HD 6 and 7 Original Android Development] Remolten:
So are you focusing on CM12+ now? I thought you were just going to do some fixes for the CM11 (eg working video). Sorry to be a bother.
[Fire HD 6 and 7 Original Android Development] ggow:
- I'll be trying to fix CM11 primarily

- I might take a look at CM12 as a background thing
[Fire HD 6 and 7 Original Android Development] Diesen_Dev:
Hope you'll fix that annoying headphone audio bug asap, can't watch movies with headphones(
[Fire HD 6 and 7 Original Android Development] ggow:
- which app are you using to play videos?

- I just tested headphones and the volume output seems very low - is that the bug?
[Fire HD 6 and 7 Original Android Development] Diesen_Dev:
Yes, I mean very low volume. In MX Player and any another.
[Fire HD 6 and 7 Original Android Development] rlattin24:
It felt weird going back to kit kat after being on lollipop and marshmallow for so long. Stilll it feels much better than Fire OS. And with that I just wanted to say thank you for your work on the Fire HD 6/7 ☺
[Fire HD 6 and 7 Original Android Development] rlattin24:
If you're having trouble with video playback through browsers try using Uc Browser it's the only one that hasn't give me any issues and it's the only one I could get Facebook videos to playback with. It may not be ideal but it's the best I can suggest until a real fix comes along.

Use

UC Browser - Fast Download

Not

UC Browser Mini - Save Data

UC Browser HD
[Fire HD 6 and 7 Original Android Development] JUSTINMARMER:
I keep getting a wifi error of sorts. It doesn't stop me from being able to connect to any of my routers, but I thought you should know about it.

The error shows up as "NVRAM WARNING: ERR = 0x01" in my list of wifi hotspots.

I've been told this is due to misconfigured files located at Device/data/nvram/APCFG/APRDEB/

I tried to locate these files but APRDEB is non existent. I created the missing folder and added the missing files which I found in this thread

http://xdaforums.com/showthread.php?t=2730486

That seems to have solved the issue. Just thought I'd share if anyone else was seeing this bug.
[Fire HD 6 and 7 Original Android Development] ggow:
- Looking into the AV stuff at the moment and it's complicated

- When I enable the correct build flags for mediatek stuff there are a lot of errors appearing

- Things like missing header files and mediatek source components

- Searching on the web for the missing source files yields no results

- Doesn't seem to be any references to anything mt8135 related either

- [MENTION=6440263]JUSTINMARMER[/MENTION], will include the WiFi fix in next build
[Fire HD 6 and 7 Original Android Development] morbos:
I can't thank you enough for the work on this, and the HDX (was on CM11 until SlimLP). These, especially. They showed a lot of promise for my stepkids, but even with the device using cloud backups (nice try, Amazon), constantly managing free space and [signing the devices back into Plex] was a nightmare. Root simply put emphasis on some additional issues [can't enable app or traffic monitoring]. Lollipop was kind enough to disable FreeTime (the kid subscription nonsense) entirely, and force root.

For some reason, I was trying to find source information for the device a few days ago. I eventually figured the iFixIt Teardown, would be useful, for the list of ICs. Unfortunately, the MT8135 is listed from the "Teclast P98." Go figure, it's a device/manufacturer from nowhere. However, they do seem to respond to emails. Not sure how much they care about the source, and it seems my Baidu account is dead, because I can't download most of the links I found (probably just the KK-based ROM) to rummage through them. In any case, their support email is listed in this thread. They might be more responsive than Amazon? There is also a chance that the gentleman that generated a buggy KK ROM for the device might have some source/information.

If everything past the "thank you" is useless, please forgive me. This is the first device where I have been very, very interested in the development process. Aside from the HDX, every other device was guaranteed a developer.
[Fire HD 6 and 7 Original Android Development] ggow:
- There was previously full kit source code listings for the mt6xxx series available but the thread was served a DCMA takedown notice :(

- That might have given some insight into what is needed

- There maybe some options available still

- Will keep looking into it :)
[Fire HD 6 and 7 Original Android Development] morbos:
Is the file you're referencing possibly titled "Mediatek source code Kitktak 4.4.4 - Lollipop 5.1 - MTK 6XXX.zip" ? Amusing typo. Bit counter-intuitive if you're searching for it!

I was able to track it down and can throw it into Drive/Dropbox for you, if so.
[Fire HD 6 and 7 Original Android Development] ggow:
Thanks

- Yes, I think it was that

- I'd definitely be interested in taking a look at that :)

- Thanks very much for that

- PM me the details please
[Fire HD 6 and 7 Original Android Development] morbos:
I sent the information twice via PM. For some reason, it's not listed in my outbox, so, let me know if it didn't make it to your side!
[Fire HD 6 and 7 Original Android Development] ggow:
- Downloading it now and will take a look tomorrow

- Thanks again :)
[Fire HD 6 and 7 Original Android Development] ggow:
New Build is Up

- Dated 11 Jan 2016

- Change log on Post #2
[Fire HD 6 and 7 Original Android Development] ggow:
- I had a look at the archive

- It only contains the Mediatek kernel

- But thanks anyway
[Fire HD 6 and 7 Original Android Development] Remolten:
Tested the new build and it works like a charm! Any ETA for getting working video? Thanks again!
[Fire HD 6 and 7 Original Android Development] rlattin24:
Thanks for the new build. ☺
[Fire HD 6 and 7 Original Android Development] :
Will try this rom and post feedback
[Fire HD 6 and 7 Original Android Development] :
Amazing rom..thanks again ggow.My battery lasts longer and device is much faster.For those having issues with xposed..i attached the file for this rom and it works perfectly.Install the apk and update the framework through the app..
[Fire HD 6 and 7 Original Android Development] :
I tested USB OTG as well and it works.
[Fire HD 6 and 7 Original Android Development] Pix12:
Should I install this or keep modified FireOS5?
[Fire HD 6 and 7 Original Android Development] rlattin24:
It depends, this ROM definitely a lot more smoother and snappier than Fire OS but there are a few things that don't work.

Camera (I don't use it anyways)

Video (I get around this by using UC Browser)

Bluetooth

If you can't live without those then stick with Fire OS, I'm happy with this ROM and feel the Pros outweigh the Cons.
[Fire HD 6 and 7 Original Android Development] Remolten:
Got a bug to report. Seems like the rom suffers from a sleep of death bug. Every time the device goes to sleep, it typically will not turn on again without holding down the power button for a full restart, at least for me. Anyone else experiencing this issue?
[Fire HD 6 and 7 Original Android Development] cmm324:
Nice work ggow! Is the code in a repository? I haven't tried running it yet, but fire lollipop is so sluggish.
[Fire HD 6 and 7 Original Android Development] ggow:
- No I haven't put the device tree up yet online - needs work
[Fire HD 6 and 7 Original Android Development] cmm324:
Well, if you throw it up in GitHub or something, then maybe I can help you fix some of the issues. I have not really done any ROM dev, but I am an software engineer with experience working with many different languages. Let me know if I can help out somehow.
[Fire HD 6 and 7 Original Android Development] ggow:
- I'll post the device tree sometime this week after I've cleaned it up.
[Fire HD 6 and 7 Original Android Development] Pix12:
Well, i kind of like the lolipop UI more than 4.4 and lower. and that VIDEO one really hurt it. youtube wont work?
[Fire HD 6 and 7 Original Android Development] rlattin24:
YouTube App - Doesn't play videos.

Facebook App - Doesn't play videos.

Chrome Browser - Plays YouTube videos but doesn't play Facebook videos.

UC Browser - Fast Download - Plays YouTube videos and Facebook videos.
[Fire HD 6 and 7 Original Android Development] bibikalka:
How did you manage to boot an unsigned kernel even with 4.5.3 bootloaders ? Early attempts never worked.

For 5.1.1, if you keep the same set of bootloaders, and the stock 5.2.0 recovery, in case of a brick you should be able to boot stock recovery, sideload 4.5.3 FireOS, Kingroot it, and get TWRP back. This is not really fun, but workable. Especially if there is a bit of similarity with Fire 7 2015 Lollipop such that you don't have to do this more than 2-3 times.
[Fire HD 6 and 7 Original Android Development] ggow:
- I have modified CM-11 so it can boot on the stock 4.5.3 boot.img

- I have compared FireOS 5.x binaries and they are structured differently in the Amazon Fire 7 2015 and the 4th Gen devices which makes it slightly more complicated

- So previously I managed to flash the dev preview 5.2.0 and retained root, then managed to go back to 4.5.3 throught the stock recovery

- Just so I have this clear if I boot 5.1.1 on my device can I return to 4.5.3 in the same manner or will I be stuck on 5.1.1 because I booted the 5.1.1 bootloaders?
[Fire HD 6 and 7 Original Android Development] bibikalka:
There are 2 rules about bootloaders from FireOS 5.

If you have booted early developer preview bootloaders (version 5.2.0, ~summer 2015), you can downgrade to any other bootloaders from 4.x and they will work. So these are the best 5.x bootloaders to stick with.

If you have booted what we call here 5.2.2u2 bootloaders, then you can only downgrade to 4.5.3 bootloaders, since the later ones (4.5.4, 4.5.5) brick when coming back from 5.2.2u2. Also note that the early 5.2.0 bootloaders also brick after 5.2.2u2. So one has to be careful to stick with 5.2.2u2 bootloaders if one ever ran those. This post tried to cover most of the info regarding all of this :

http://xdaforums.com/fire-hd/general/how-to-upgrade-to-lollipop-root-gapps-t3163950

But in any event, you can go from any currently known 5.x bootloaders back to 4.5.3, and things work (no reports of such bricks anywhere here, and people downgrade to 4.5.3 a lot).

Another point is that 4.5.3 bootloaders can boot any current boot.img (4.5.4, 4.5.5), so it makes sense the grab the latest one. Same applies to to the early 5.2.0 bootloaders, they can boot the latest 5.2.2u2 boot.img just fine.
[Fire HD 6 and 7 Original Android Development] :
Much better and smoother than fire OS and of course more customization and additional free storage..i get about 1gb additional storage compared to fire os. However i encountered some few bugs..video does not work, not only in youtube but instagram and snapchat as well. Sound quality is very low,screen recorder doesnt work and rebooting to recovery through the advanced menu freezes.(i get around this using adb from pc).

Overall, this is a great rom,Thanks ggow.
[Fire HD 6 and 7 Original Android Development] me_is_rushin:
So glad to see some development for this device. Thanks!
[Fire HD 6 and 7 Original Android Development] oneballnoa:
help please

I got this installed, but after I installed it and restarted I realized that I didn't have TWRP and I also keep getting an error when trying to update the SuperSU binaries. Keeps saying "Installation failed, please reboot and try again."

I also realized that without TWRP I can't install a GAPPS package, so I sideloaded the market but I keep getting errors. So my questions are...

1) what can i do to get TWRP installed

2) what can I do the get the SuperSU binaries successfully updated.

Thanks for any help! It's been a while since I've really mucked up installing a rom on a device, but somehow I managed to with this one :confused:
[Fire HD 6 and 7 Original Android Development] rlattin24:
Sounds like you flashed and now you don't have Root or Twrp. I'd suggest rooting with King Root and Installing TWRP with a Terminal Emulator and start ing over.
[Fire HD 6 and 7 Original Android Development] oneballnoa:
I've been been trying KingRoot but it's getting to about 25% and then saying root failed every time I run it. Just got up to 55% and then failed so I'm going to keep trying thanks.

I'll try TWRP in terminal emulator later tonight. Thanks.
[Fire HD 6 and 7 Original Android Development] rlattin24:
I have no clue how you could of lost Tarp since you should of had it when you flashed this Rom, it's weird that you would just lose it.
[Fire HD 6 and 7 Original Android Development] oneballnoa:
What happened was I followed this guide to root and install gapps.... which I did successfully

http://xdaforums.com/fire-hd/general/root-developer-preview-lollipop-os-5-t3172408

Then, I got to the part where it said.. ➜ You're now running rooted OS 5.0.1 and TWRP is gone. If you need it again, see here.

So I thought that I would need TWRP, so I followed the link to...

http://xdaforums.com/showpost.php?p=62011272&postcount=2

But, what I didn't realize is that that guide only runs TWRP temporarily and then is meant to return to Lollipop, but before I returned it to lollipop, I decided to install this rom.

But I seem to have gotten myself in a weird situation because now when I'm trying KingRoot or any other rooting app it won't successfully root and I can't get into TWRP to install gapps or restore anything.
[Fire HD 6 and 7 Original Android Development] JUSTINMARMER:
can you not get TWRP from here?

https://www.androidfilehost.com/?fid=24052804347756852

or use flashify?

http://www.apkmirror.com/apk/christian-gollner/flashify/
[Fire HD 6 and 7 Original Android Development] rlattin24:
I think that's the problem, he doesn't have Root (which you need for flashify) and he doesn't have twrp. King Root isn't working him either.

Last thing I can suggest is powering down device then hold power vol up + down all at same time for about 20 seconds to get into recovery and hope for the Sideload Adb option to be there.
[Fire HD 6 and 7 Original Android Development] oneballnoa:
I tried holding down power and vol up and down for 20 seconds but it just brought up the amazon logo and then after about 15 seconds the screen went black again and nothing happened. I also tried using adb commands from my computer to try to reboot to recovery but it just rebooted the whole thing.

Is that the buttons to hold, vol up and vol down and power all at the same or am I doing something wrong. Is there any type of guide I can use to downgrade back to amazon software so that I can start all over again. I can't seem to figure out where to go from here. I don't mind downgrading and starting fresh.

The guide I used before... http://xdaforums.com/fire-hd/general/root-developer-preview-lollipop-os-5-t3172408 can no longer help me cause I'm on CM 11 now.

I have basic ADB command knowledge. Thanks

Also could I issue adb sideload update-kindle-20.4.5.3_user_453011120.bin, and downgrade or will that not work and brick my device if I do it that way? Nevermind I forgot, I can't seem to get into the 'apply update from ADB' area in recovery, so this won't work
[Fire HD 6 and 7 Original Android Development] rlattin24:
I just checked, with device off hold Vol up and power button at same time and don't let go until recovery screen comes up. (it may not work if your not on the right recovery version..)

http://xdaforums.com/fire-hd/general/how-to-downgrade-to-4-5-3-root-device-t3139351

This is the guide I followed when I went past 4.3 (The only version you can successfully root with king root.)

Have you tried downloading supersu? Not the one from play store. Try unzipping this one and Installing it that way. (this might not work either though. )

https://download.chainfire.eu/696/SuperSU/