yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] sd_shadow:
I like http://xdaforums.com/showthread.php?t=2691957

[GAPPS][4.4.x][15mb] Mentor's Gapps: no set_metadata core Gapps working with ART

because it is very small, but it is getting old.

I recommend using the smallest gapps available

for a newer version you can use pico from http://opengapps.org
[Kindle Fire Android Development] BobJayJr:
All good suggestions. I think [MENTION=5279145]lllukas[/MENTION] had a preliminary list of apps to eliminate in either the SlimKat or SlimPop thread.
[Kindle Fire Android Development] t3chwizard:
I used the OpenGapps mini package and there were a bunch of force closes at first but it has seemed to settle out. This CM11 OtterX build has breathed new life into the Kindle Fire I cannot believe how fast it is!!!!
[Kindle Fire Android Development] dokie80:
I'm using Pico without problem
[Kindle Fire Android Development] Guitarman:
Please remove stuff like bluetooth, camera, sound recorder etc. but even if you don't, I do religiously after flashing a rom. :)
[Kindle Fire Android Development] Italico:
I'd say... add nothing, remove the bloat.

In my thoughts we are searching a way to use our good old device at best, so we may need to remove the really useless stuff and optimize responsiveness and battery life together.

Thank you so much for your work! Awesome!
[Kindle Fire Android Development] t3chwizard:
I was literally able to watch YouTube for hours yesterday on the CM11 optimised build. This is so freaking awesome. On normal CM11 builds and other builds for OtterX this was not even possible. I can now finally use the device with minimal lag. It is so exciting!!!!
[Kindle Fire Android Development] t3chwizard:
How fast is it?
[Kindle Fire Android Development] lovejoy777:
seems pretty good, I have the screen orientation and touch orientation mixed up so it's off 90 degrees atm which makes it pretty hard to use ? but from what I've been able to test it seems a lot more responsive than Lp builds
[Kindle Fire Android Development] lovejoy777:
although I have no gaps installed yet
[Kindle Fire Android Development] t3chwizard:
That's great. If you can make it super responsive that's awesome.

---------- Post added at 02:10 PM ---------- Previous post was at 02:07 PM ----------

Quick question to anyone? Would this ROM from the following link be decently fast if someone were to compile it for OtterX? http://xdaforums.com/showthread.php?t=2470253
[Kindle Fire Android Development] Guitarman:
The LP builds were fast also w/o Gapps installed, flashing Gapps crippled the performance it seemed. Aside from that, it's exciting to see your screenshot for CM13!
[Kindle Fire Android Development] dokie80:
Cool. Even slim haven't manage to build slim6 on nexus 5. Well not without bug anyway

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------

Agree.....
[Kindle Fire Android Development] pfederighi:
CM-10.2 OtterX

It's great to see that [MENTION=4410674]lovejoy777[/MENTION] is making major progress on Slim-MM.

Now for a major leap backwards...

Here's CM-10.2 OtterX. It's been compiled with SaberMod and uses JustArchi's optimization flags. It's on my Google Drive shared folder (see past post). Here's the direct link: https://drive.google.com/file/d/0B7BjC3Ky49TVVU1PVHBuMmRsbms/view?usp=sharing

I've removed as much as I could that I thought was irrelevant to the KF or that is just battery sucking eye candy (which I love, but I'd rather have longer battery life).

I apologize for the delay in getting this posted. I'm been trying to add some minor extra features that should be stock. It's been more difficult than I imagined. And here I rant: Why?! Google had the opportunity, when creating a new OS, to design it from the ground up to be elegant, easy to understand, and easy to modify at the source level. Also, why does the code contain almost no comments/documentation? Why did they make an obtuse, bloated mess? Okay, I'm done.

Known issues at this time:

* When it boots, press the power button to put it to sleep (or let it fall asleep by time out), then press the power button again. At this point you can play with it as normal. If you don't do this step, pressing the recents button on the navbar will not work. I have no explanation why this happens, but the workaround is so simple, maybe we don't care.

* Gesture typing doesn't work with the AOSP keyboard.

* While the setting exists for navbar cursor arrows is in settings, it doesn't do anything yet. See mini rant from earlier.
[Kindle Fire Android Development] Guitarman:
So far so good with this 10.2 build! I see a noticeable positive difference in speediness compared to CM11. I hardly had to delete any useless "bloat" from the system apps so thank you for taking out some of the pain of flashing a fresh ROM. I will keep messing with this ROM and try some things that might prevent the Browser from automatically closing out, I guess it's a memory issue.
[Kindle Fire Android Development] dokie80:
Definitely will downgrade. Thanks so much
[Kindle Fire Android Development] t3chwizard:
omg omg omg omg thank you so much i love you i could kiss you
[Kindle Fire Android Development] dokie80:
Go away.. He's mine. [emoji8]
[Kindle Fire Android Development] t3chwizard:
What GAPPS would you guys recommend using?
[Kindle Fire Android Development] Guitarman:
In regards to the new CM10.2, I thought that enabling KSM was causing a boot loop but after multiple fresh clean flashes it would boot loop anyways when not even altering anything. The thing is it would always boot fine immediately after the flash but restarting or powering down and powering back on is when it would do it. Has anyone else had this issue or do I possibly have a corrupted .zip file? It happened even when NOT flashing any Gapps package.
[Kindle Fire Android Development] dokie80:
I'm using cm's gapps
[Kindle Fire Android Development] t3chwizard:
I'm getting some really weird error where it shows the screen contents in 2 little rectangles on the right side of the screen and it is pink and blue when I clean flash. Any ideas? I'm on the CM 10.2 build for OtterX.

Here's a link to a photo of the screen contents. Any help would be appreciated. http://imgur.com/bVugyNC
[Kindle Fire Android Development] dokie80:
On 10.2 otterx.

At first, WiFi AP doesn't show up when trying to add Google account. So I skip it.

And then when I try to connect to WiFi again, AP show up, but Android keyboard keep crashing. Can't enter password. I ll try sideloading keyboard app later. [MENTION=4683648]Guitarman[/MENTION], I try reboot, and no bootloop.

The only problem so far is keyboard. I did try delete cache and data, and reboot, still crashing.
[Kindle Fire Android Development] pfederighi:
Hmm...

I had one instance of a weird video error during development where the screen was split into two duplicates. It was several iterations back. To solve I just wiped data, cache, dalvik, and system and then reinstalled. It worked fine after that. Come to think of it, I've almost always wiped system before installing. It shouldn't be needed since the install script calls format, but the one time I had trouble may have been one of the very few times I didn't wipe beforehand. It may have just been a bad install, too. I've had that happen before, and reinstalling cured the issues.

I've not had any issues with rebooting, keyboard, or KSM. I've noticed that KSM doesn't seem to do as much with 10.2 as it does with 11.0 and 12.1, but it does help some. (I've also noticed that KSM and ZRAM seem to take less CPU than they do in newer versions.)

I just downloaded the file myself and it's identical to the one on my hard drive. Here's the output of md5sum: 4800ef2977381ab9c216a9c44527e3fb . I hope this helps.

Also, I've been using TWRP 2.8.7.0, in case that matters
[Kindle Fire Android Development] dokie80:
I ALWAYS clean install on KF, wipe all partition except internal storage. That include system. I do this 2 times for cm10, keyboard still crashing.

Anyway. I've side loaded multilingual keyboard, installing app from play store now. :D

---------- Post added at 05:31 AM ---------- Previous post was at 05:28 AM ----------

I still don't get it. Why don't we use minfree to free up more ram, instead of using zram? It's not like we using KF for multitasking many apps at once right?

With KSM and zram disabled, it should run faster? Especially zram
[Kindle Fire Android Development] pfederighi:
It's possible the keyboard issue is related to non English languages. I did try French as a test and it worked well, complete with suggestions and autocorrect in French.

As for free RAM: Would you be willing to test different settings for the low memory killer and report back?

My experience with ksm and zram has been quite goods. I have not noticed much, if any, difference. The first time I enabled zram, I thought it wasn't working because I didn't notice a difference in performance, but 'free' and other CLI tools confirmed it was.
[Kindle Fire Android Development] dokie80:
I selected english. the keyboard never show up, wifi issue on first setup probably related to keyboard issue. once I enter setting, wifi ap show up, no problem, although keyboard still crashing..

for LMK: sure. usually I change LKM profile with kernel adiutor, probably light or moderate profile, I just set it so empty app at 60+mb, but I rarely use the tablet recently, and when I do, I only use it for reading, so twillight app, fbreader, fora dict are mostly used.. sometimes goodreads app.. but honestly, I dont think I can see big diff with different LMK value. well, I'm not sure I'm that sensitive to feel the difference if not significant
[Kindle Fire Android Development] t3chwizard:
I reinstalled and it fixed itself. Thanks a bunch.
[Kindle Fire Android Development] Guitarman:
I ended up re-downloading the 10.2 .zip file and verified to make sure the md5 checked out, re-flashed after a full wipe and now everything is working good! One very minor quirk I've noticed is the left and right arrows while typing are not present even though the option to display them is enabled. No worries, I installed the Hacker's keyboard which has the four directional buttons built-in like present on a PC keyboard.
[Kindle Fire Android Development] dokie80:
No deep sleep on 10.2? Anyone notice?

I use kernel Adiutor, it show only 9s.
[Kindle Fire Android Development] Guitarman:
Hmm, this Kindle running the same 10.2 is deep sleeping fine :|
[Kindle Fire Android Development] thedarksavant:
What gapps are you guys running on 10.2? The oldest I can find is for 4.4.4 not 4.3.1.
[Kindle Fire Android Development] Guitarman:
Scroll down to see the older releases :)

https://wiki.cyanogenmod.org/w/Google_Apps

I use this extremely slimmed down version of Gapps for 10.2:

xdaforums.com/showthread.php?t=2435683
[Kindle Fire Android Development] dokie80:
Thanks for the ultraslimgapps

I wiped sytem and re flash, deep sleep just fine now.
[Kindle Fire Android Development] t3chwizard:
With the ultraslim gapps I had an issue with google play services not being installed and so I couldn't use google keep and other apps that "require" it. I tried to sideload it and I still had no luck. Any ideas?
[Kindle Fire Android Development] Guitarman:
Why not try the Gapps package from the Cyanogenmod link? You can easily remove any unwanted .apk's after the fact.
[Kindle Fire Android Development] t3chwizard:
I went back to that one. What I found is that if you remove certain system apps in the ROM, it will cause the Kindle to reboot after you start it up, so I would advise against removing any more apps than have been removed already from the 10.2 OtterX build. That's just what I have gotten from my personal experience though. Other people may not have the same issue.
[Kindle Fire Android Development] t3chwizard:
With a few Xposed mods and a bit of optimization, this ROM is flying!!!!
[Kindle Fire Android Development] pfederighi:
Yeah. I forgot to mention the arrows. I added it to the known issues list several posts back.

The reason it doesn't work is because the code is not there. That is, I was in the process of adding the feature to the ROM, but ran into the obtuseness of Android code and how one feature is split up into something like four or more files in completely separate parts of the source tree. It was confusing and taking me too long. The parts that did work, like the option in Settings, I left in.

I have found a couple guides on how to cherry pick commits, so when I get the chance, I'll see if I can grab the feature from something else and have it auto applied.

Gotta love Hacker's Keyboard. I've found the experimental compact 5-row portrait mode works well, too.
[Kindle Fire Android Development] lllukas:
This cm10.2 its really good:) running fastest and snapiest than cm11.

Spotify working on it good, on cm11 i had fc most time.

Thanks for Your effort my friend. Regards from Poland.

:)
[Kindle Fire Android Development] t3chwizard:
Agreed

---------- Post added at 09:55 AM ---------- Previous post was at 09:55 AM ----------

To clear RAM and make it faster I use the Xposed tweak Smart Booster. It helps a lot.
[Kindle Fire Android Development] dokie80:
What apps are you using on KF so that u need to clear up ram for it to run smooth?
[Kindle Fire Android Development] t3chwizard:
Mostly the browsers and such take up a lot of RAM. But what seems to gobble it up at night is the Twilight red filter thing.

---------- Post added at 12:39 PM ---------- Previous post was at 12:39 PM ----------

I use it only occasionally though. The ROM is still smoother than any other recent builds I have used on the Kindle.
[Kindle Fire Android Development] dokie80:
Yeah. That is why I keep going back to jelly bean, specifically jandy cane ROM. Too bad it's otter partition, so process of going back and forth (trying out new rom) is rather hard.

Even better on this build, we don't need to downgrade twrp version to flash it. Otter's jb ROM need to use twrp 2.2.1 and fff1.4, not to mention have to re partition from otterx :D

Btw, fyi. There is caf chromium browser on xda lab apps section, I haven't try it out on KF, but using it on my N5. Some say that it was faster (edit: faster than chrome), dunno it it lighter though, if you want to try.

Other lighter browser is lightning browser. It's open source, so if you don't have Google play, you can download the apk on fdroid website.

And I use twilight to, it doesn't slow the KF down. But I don't use browser much. With that usage, I don't need to use booster app. Battery last around 4 days.

When on standby, battery graph almost flat :D
[Kindle Fire Android Development] dokie80:
the little dive on graph is when i do some reading
[Kindle Fire Android Development] t3chwizard:
My battery is really old. Circa 2011. Never replaced. I should probably get it replaced soon tbh because it doesn't even hold a charge for very long anymore.
[Kindle Fire Android Development] dokie80:
Mine too. Bought around dec 2011 ;)
[Kindle Fire Android Development] pfederighi:
Hi all. I'm going to be doing some experimentation with the CM-10.2 ROM. I'll see if I can add things like left/right cursor arrows to the navbar and update some of the internals like su and the HTML engine. Are there any other features that folks would like?

You may have noticed the lowest brightness setting is 3 for CM-10.2. I found I used that most at night while reading. The default low setting in CM is 10, though with that you would have to use a utility like RootDim to get it lower. Is there any desire to increase or decrease it?

Does anyone know if all lightweight web browsers are unstable in JB, or is just the KF? Or is just me?

I'll get the device tree for CM-10.2 OtterX and the updated kernel tree posted soon in case others want to play with porting other JB ROMs. I'll also be cleaning up my Google Drive soon, so some older links may be broken.

Would anyone be interested in a CM-9 OtterX ROM? I know it's old, but in terms of speed and free RAM, I've not used anything better than the Simple CM9 ROM. In fact, if it weren't for the Otter/OtterX issue, I'd probably be using it now.
[Kindle Fire Android Development] Guitarman:
Keep the releases coming! It would be interesting to try out an ICS ROM for OtterX. I apologize if you've already stated this somewhere, but does the CM10.2 you recently made available have the same battery fixes as found on the CM11 ROM you compiled?
[Kindle Fire Android Development] dokie80:
Yes. And I don't think jb has battery issue. But deep sleep works just fine.

I ll try cm9. My first custom ROM is jandy cane, but I tried GedeROM and I do think it's faster.

I won't worry about lowest brightness value , and I use twilight for reading, anyone know other similar app that is lighter, please inform.

I have no issue with stock browser.
[Kindle Fire Android Development] dokie80:
Hi guys. Just FYI, that

- I install zeam launcher, anyone still remember that app? Although it's very basic and not that pretty, I see significant improvement on overall performance. You guys should try it out. Can't download it via playstore because it says our device is not supported, but I sideload it without any problem.

In fact I removed trebuchet [emoji14]

- another app that I recommend is multiling O keyboard instead of aosp keyboard.

Hope you like those as much as I do :D

Another thing, FYI, lovejoy has share marshmallow build for kindle fire on his thread.

Thanks
[Kindle Fire Android Development] VTCruzer:
I know this is a tall order but could you try to get tablet ui to work? Of the two xposed modules that work for JB, TabletUI Trigger doesn't work and Phab7 crashes the System UI when switching to Tablet mode
[Kindle Fire Android Development] pfederighi:
Before I started compiling the ROMs myself I used RootDim. I don't know if it's lighter, but it was simple and very small. I remember it had a small bug that if certain settings were used, it would periodically turn the backlight on when sleeping. Oddly it didn't seem to cause a significant battery drain.

I was meaning to ask about this. I noticed, while looking through the code, what looks like the code for phone/phablet/tablet interface already there. It seems the interface is chosen based on screen size. I will see if I can make a settings option for it.
[Kindle Fire Android Development] pfederighi:
Hey everyone. Development is delayed. I upgraded my system to the new OpenSUSE because it's supposed to be super duper stable. Sadly I haven't found that to be true. Also, the changes I made to add navbar arrows causes CM to boot to the encryption failed screen. Therefore it may be longer than I thought originally. Sorry. I'll get there eventually.
[Kindle Fire Android Development] dokie80:
I remember that someone had encryption problem because of different file system (ext4/f2fs), not really sure though.
[Kindle Fire Android Development] t3chwizard:
I was using Xposed on the CM 10.2 ROM for a while and I found it slowed the tablet down a great deal. Without using it the tablet is much faster.
[Kindle Fire Android Development] pfederighi:
Yeah, that was my first thought, even though it didn't make sense. As a test, I downloaded the source again, applied the otterx device tree and kernel, and compiled with no optimizations. This is the same as the uploaded ROM without sabermod, optimizations, or things trimmed - nothing else modified. I got the same results. So, something changed when I did the OS upgrade which is somehow affecting a cross-compile. I even went so far as to wipe everything and format /data. Still the same results.

I reinstalled the uploaded ROM and aside from a one time boot loop (not sure why) it installed and works fine.

It makes no sense to me, I'm really not sure what to do at this point. Maybe I need to downgrade back to opensuse 13.2 Any suggestions are welcome.
[Kindle Fire Android Development] dokie80:
Again if I'm not mistaken, the error occur when someone try to flash f2fs rom to his ext4 partition, or the other way around.

Maybe you can try to change data partition to ext4 and flash it? This will wipe internal storage too, right?

Which cm are we talking about here? 10 or 9?
[Kindle Fire Android Development] pfederighi:
We're talking about 10.2. I just figured out what the issue is: There are two extra lines inserted into the fstab file. One of them is the swap line for zram (which doesn't matter as it doesn't need to be there), the other is for /data which defines the fstype as ext4. What I don't know yet out is why this is suddenly happening or where the information is coming from. Time to do a major grep of the source tree. I'll keep y'all informed
[Kindle Fire Android Development] dokie80:
/device/amazon/otterx/fstab.otterx ?
[Kindle Fire Android Development] pfederighi:
Nope, not the issue. And I just realized I'm talking out my ass. Even if /data didn't exist, we've already learned that Android will create one in memory, so it shouldn't matter. Also, I realized the fstab I was looking at was from TWRP and not from the ROM. So, we're back at square one: Why do the same tools, with the same code, produce different results since the OS upgrade?
[Kindle Fire Android Development] pfederighi:
Alright. I'm stumped :(. I reinstalled opensuse 13.2 and recompiled cm-10.2. It still has the same behaviour of getting to the "encryption unsuccessful" screen whether /data is formatted as ext4 or f2fs. If you, or your friends, have any ideas as to what is wrong, please share them. So far as I can tell, nothing has changed except the date, that is, it's a later date than when I first built the uploaded CM-10.2 ROM.

Thanks.
[Kindle Fire Android Development] t3chwizard:
Picked up the Amazon Fire (5th Gen) this weekend and it has been amazing so far so it is definitely a great device if anyone is interested.
[Kindle Fire Android Development] Guitarman:
Thanks for that info, for $50 it sounds like a great deal
[Kindle Fire Android Development] t3chwizard:
No problem!!!! I recommend it to anyone. It is amazing. Best tablet I have ever owned.
[Kindle Fire Android Development] pfederighi:
Woot! I'm back in business. In case anyone cares, it seems that that I copied a line in the CM-12+ BoardConfig.mk file that pointed to the wrong config file in the kernel tree. Who knew that the kernel config could be so different for >= lollipop. Such a minor change, too. Anyway, it's corrected now, so back to developing things that work. Yay! =)
[Kindle Fire Android Development] t3chwizard:
Those super minor but critical mistakes are the ones us programmers hate the most!!!! I know your pain.
[Kindle Fire Android Development] pfederighi:
Hey friends. I've been having increasing trouble with my computer lately. I think my motherboard is dying. My guess is that when my power supply blew up that it fried something on the board and it's ever so slowly been getting worse. It now reboots randomly, more so under certain conditions, less so under others. It doesn't like to power on sometimes, like when my DVD drive is connected to the board. I'm thinking it's not the power supply because, obviously, it's new, but who knows. The RAM, which is also new because it went bad after the power supply blew up, tests good. Your thoughts?

I'm researching new motherboards, but it might be a little while before I can really develop anything.
[Kindle Fire Android Development] pfederighi:
I've uploaded the modified kernel, device, and vendor tree (not modified, but simpler than having to extract them from an existing ROM) for CM-10.2. I've also cleaned up my GoogleDrive some. Everything is at: https://drive.google.com/folderview?id=0B7BjC3Ky49TVcjdZQlpHYV9JWXc&usp=sharing . Does anyone want me to go through old posts and update links?
[Kindle Fire Android Development] dokie80:
my guess is power supply too, especially when the cpu is not turn on entirely.. definitely power issue...

different thing, when the cpu can be turn on, but system doesnt boot up... that could be anything....

update bios? check the fan? cpu is too hot? borrow someone's psu to try?