yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Android Development] bruce2728:
CM11 KTU84P with non-caf kernel support.

This ROM is now built using the latest linaro 4.7.4 toolchain and comes with my modified version of Bricked kernel (thanks showp1984) My kernel source can be found here.

The ROM is compatible with other aosp based kernels, but if they dont have mpdecision or thermald built in you should rename them by removing the -bck at the end of the file name. The 2 files are located in system/bin.

I have also added QuickBoot, this enables you to power the device on/off in 1-2 seconds and puts it into hibernation.

This can be disabled in developer settings.

Use PA latest gapps (the full package) to get ART working.

Everything works as it should.

Changelog can be found Here

And recent changes I have made can be found here.

---------------------------------------------------------------------------------------------------------------------------------------------

I've made a few changes to the device trees and to allow them to build I have posted my source complete with a local manifest for thos who would like to build ROM for themselves.

You can view my work by clicking here.

If you would like to build this ROM just run the following comand to import my local manifest (after you have set up the build environment and performed a repo init ofcoarse).

You can fin a guide for your device Here

wget -O ~/android/system/.repo/local_manifests/bruce2728_manifest.xml https://raw.github.com/bruce2728/local_manifest/kitkat-mr0/bruce2728_manifest.xml

Once you have done that simply run a 'repo sync' to pull in my repos.

If you use any of this to make your own ROM please let me know and give me a mention in your thread.

Donations are always welcome but in no way required.

If you would like to donate please follow this link. Thank you.

_____________________________________________________________________________________________
[Nexus 7 (2013) Android Development] bruce2728:
Todays build is uploading.

Has AOSP kernel support not caf.
[Nexus 7 (2013) Android Development] Luigi_2:
Thank you, I had to refrain myself from flashing yesterday's build for this
[Nexus 7 (2013) Android Development] mds96:
Has anyone tried using Slimport on this since it uses the AOSP kernel? Not sure if the kernel has anything to do with it, but I can't get it to work on the other CM 11 build that is out....I want to be on CM 11 but had to go back to AOSP because of the Slimport issues
[Nexus 7 (2013) Android Development] ptlsajan:
Can anyone tell me how to flash these rom on nexus 4.....as it gives status 7 error amd says that its for flo device not mako
[Nexus 7 (2013) Android Development] bruce2728:
This is for flo, mako is in my other thread, I'll edit the titles of my threads to avoid confusion and put separate folders on my ftp server.
[Nexus 7 (2013) Android Development] bruce2728:
From tomorrows build I will be posting both odexed and deodexed.
[Nexus 7 (2013) Android Development] MidnightDevil:
Nice to see you here Bruce, awesome work you did with the HTC Sensation. :)
[Nexus 7 (2013) Android Development] Kevin Goot:
Art works with all apps?
[Nexus 7 (2013) Android Development] prstorero:
No. Some need to be updated.

prshosting.org
[Nexus 7 (2013) Android Development] bruce2728:
Works with whatsapp, titanium and all others I've tried.
[Nexus 7 (2013) Android Development] Kevin Goot:
I just don't want all my apps to force close. I find that highly annoying. So should I refrain from flashing?
[Nexus 7 (2013) Android Development] biomech91:
bruce2728, I remember you from the Sensation forum! Nice to see you here.

I've been looking for a good 4.4 build for the flo, this is working great.
[Nexus 7 (2013) Android Development] knochnkopf:
It defaults to Dalvik, so nothing should be broken unless you decide to play with ART.
[Nexus 7 (2013) Android Development] MidnightDevil:
The fact that this works with aosp kernels is great news, I! Gonna download this tomorrow, cheers bruce
[Nexus 7 (2013) Android Development] gautampw:
This Rom is incredible. I use it on Flo & Mako, it is perfect, I use custom kernels (Bulletproof on FLo & Hell on Mako) and I have zero issues so far.

Initially I had gapps FC, its easy to fix, Go to settings-apps-all apps- click three dot menu - select "reset app preferences" - no more gapps fc after that

The rom is perfect, Cyanogenmod Goodness+ART+Custom Kernels, what else you want?
[Nexus 7 (2013) Android Development] at10ti0n:
thanks for your rom.

Seems like there is an issue with bookmarks sync adapter, causing the gapps process to FC. This is related to ART on all CM11/AOSP roms i've tried so far.
[Nexus 7 (2013) Android Development] MidnightDevil:
I know that whatsapp was patched to work with ART, does titanium backup works?

Update: nevermind just read Bruce's post, looks like I can now try ART :D
[Nexus 7 (2013) Android Development] Pfeffernuss:
"Don't reply or post just to increase your posts number, make sure you know what you're talking about before posting to reduce the amount of false information around.

MD"

LOL :p
[Nexus 7 (2013) Android Development] abalosmusic:
Lost access to root as well as wen i install it, superuser is there but it claims i have no root access
[Nexus 7 (2013) Android Development] bruce2728:
Try the 2nd link

Edit - I mean 1st, I'll upload to 2nd now, takes 15mins
[Nexus 7 (2013) Android Development] xda23:
Whats The Differences Between A flo, Deb and mako in the Index files. Thank you In advance!!!
[Nexus 7 (2013) Android Development] bruce2728:
Flo = nexus 7 WiFi

Deb = nexus 7 LTE

Mako = nexus 4
[Nexus 7 (2013) Android Development] xda23:
Does the kernel in this ROM support loop devices? Thanks...
[Nexus 7 (2013) Android Development] rsbuffalo:
Is anyone else having instability issues with the new build? Random reboots, CPU clock jumping timing, OS locking. All other builds have been very solid.
[Nexus 7 (2013) Android Development] djdarkknight96:
Heck no, dirty flashed from the previous one and it's snappy as it should be. Using it all day still working great!
[Nexus 7 (2013) Android Development] rsbuffalo:
Good to know. Must have a bad download.
[Nexus 7 (2013) Android Development] bruce2728:
I'll look into that later and get back to you, if it hasn't I'll try to add it.
[Nexus 7 (2013) Android Development] Steyux:
Does this rom support OTA updates? :)
[Nexus 7 (2013) Android Development] GialanG:
No, at least I can't see anywhere :D
[Nexus 7 (2013) Android Development] bruce2728:
Not yet but I might add it soon, if I can get my goo.im folders fixed
[Nexus 7 (2013) Android Development] MidnightDevil:
Flashed latest build and it's working fine. Fast as hell! Cheers bruce!
[Nexus 7 (2013) Android Development] leeisme:
I have had a few random reboots myself. My minimum clock speed keeps jumping to 900 megahertz. I did a dirty flash and will try a clean install and let you know how it goes.
[Nexus 7 (2013) Android Development] xda23:
[MENTION=229444]Bruce[/MENTION] hey bud you made my nexus 7 awesome!!! Thanks...
[Nexus 7 (2013) Android Development] lndeed:
Clean-flashed the 12/18 build and can't get it to boot. No one else?
[Nexus 7 (2013) Android Development] wizzlewizzle:
Does anyone have any advice on how to get otg working on this rom?

I think it might have something to do with the kernel? Not sure. I have stickmount, installed but it doesn't find the usb stick, when I had cleanrom installed stickmount worked for me.

-Wizzle

---------- Post added at 05:07 AM ---------- Previous post was at 04:58 AM ----------

What recovery are you using? I can't be 100% sure, but I had issues flashing with twrp (even if it's the latest). What I did was flash cwm, but right now I'm using Phil's touch recovery based on cwm and it works great. I hope this helps.

-Wizzle

Update:

OK I see that people have been able to do it with nexus media importer, is it possible to get otg working with stickmount?
[Nexus 7 (2013) Android Development] szale9001:
I noticed a bug/derp (at least I don't think it was intentional :p) on the latest build, 12/18. /system/bin/ contains both mpdecision and mpdecision-bck binaries. Same goes for thermald. On a fresh boot this results in both mpdecision and msm-mpdecision being enabled. Easy enough to fix with a File manager, but I just wanted to pass the info along for the next builds as I'd imagine this could cause problems.
[Nexus 7 (2013) Android Development] Bladeinger:
No problems here with stickmount and my micro-sd-card adapter. Using it since the first version of this rom as storage for titanium backup. Has always been working fine for me. Also in the latest version of this rom.
[Nexus 7 (2013) Android Development] wizzlewizzle:
Hmm. I wonder why I can't get it to work.

-Wizzle
[Nexus 7 (2013) Android Development] Tim4:
Same for me, but thats not rom (Or maybe still rom lol) but chrome and facebook apps. The ART for some reasons failing to compile the code, after few fail boots ending with dalvik automatically kicked in
[Nexus 7 (2013) Android Development] bruce2728:
Cm have merged a commit for art that might help that, I'll start building now I've updated my source code.

I didn't release a build yesterday as there were no changes, so it would have been a waste of time building 3 ROMs that are the same as the last.
[Nexus 7 (2013) Android Development] konchog uma:
Mpdecision amd thermald

Using elementalX kernal, renamed -bck file (just thermald in this case) in /system/bin, super easy, really appreciating this ROM. I tried omni 4.4 for a day but it was a little bit buggy and i got benchmarks of 22000 range w antutu... Back to Bruce's CM w elementalX kernel and I'm getting almost 28000. Not as big a fan of benchmarks as i am of feel of use though, and this really runs like butter. Bricked kernel ran great too but doesn't have tni.andro's battery voltage mod, and i just really like elementalX for scores and feel.

Bruce maybe for ppl that don't know, you should add in the OP that the bck files are in /system/bin. Grateful for your work!

k.uma
[Nexus 7 (2013) Android Development] xda23:
Would I use a aosp or a bricked kernel with this ROM. Thanks in advance!!!
[Nexus 7 (2013) Android Development] bruce2728:
I would use bricked kernel, it's included in the ROM and has a lot of customisable features. For best results I recommended kcontrol also by showp1984, it's not free but worth the money. I'll add a screenshot with a list of supported features.
[Nexus 7 (2013) Android Development] bruce2728:
If you can point me to the commit I'll try to add the mod to this kernel.
[Nexus 7 (2013) Android Development] konchog uma:
http://xdaforums.com/showthread.php?t=2469261

thats the thread about the mod, which I am pretty sure has everything you need. If it doesn't and I can be of any help doing anything you don't have time to do, let me know.

In the ROMs that have incorporated it, its an option in the aroma installer, which has no toggle in Trickster or anywhere in the ROMs.. it stops the charging process at 93% (4.2V instead of 4.3V) so battery can handle ~1000 cycles instead of ~500. So maybe some people won't want to use it at all, since they'll only get 9hrs life instead of 10, and they are probably going to buy the next Nexus 7 the day its released so don't care about having theirs for 4 years lol. Anyway my point in saying all this is that it would probably be best (since you're building the ROM and kernel from source) if there was an option to enable/disable it.

Anyway, thanks for offering! all the best

k.uma
[Nexus 7 (2013) Android Development] bruce2728:
I may be able to add a sysfs interface to toggle on or off, I'll have a look at it when I've got rid of this toothache.
[Nexus 7 (2013) Android Development] bruce2728:
[MENTION=1960270]konchoguma[/MENTION] it already has the required code and I can add a switch in the init.d script to enable or disable it.

I might try to do it tonight if I get time.
[Nexus 7 (2013) Android Development] konchog uma:
its already incorporated into the bricked kernel? haha i didn't know
[Nexus 7 (2013) Android Development] bruce2728:
No I mean it already has a sysfs interface, adding it to the kernel will be pretty straightforward though.
[Nexus 7 (2013) Android Development] wizzlewizzle:
For others who may be having issues with otg, so far I can only say that it's an issue with either stick mount or the rom or kernel.

I have no idea why, but I can use nexus photo viewer to access the USB stick with my otg cable. But I can't access the USB stick with es file Explorer or any other app outside of the nexus photo viewer.

So far all I know is that I'm not having a hardware issue..

If someone had any advice to get stick mount working that would be greatly appreciated.

I have cm11 running on my note 2 and I don't even use stickmount and the USB stick mounts with no issues.. So I'm not exactly sure what's going on..
[Nexus 7 (2013) Android Development] bruce2728:
[MENTION=5514562]konchog uma[/MENTION] I have added the battery voltage mod, it is configurable in etc/init.d/99kernel

I'm fully charged at the moment so couldn't test but I have uploaded the build anyway, it is on the second link.
[Nexus 7 (2013) Android Development] lndeed:
Clean-flashed 12/20 build 2. I was able to get it to boot this time but Wi-Fi seems to be broken. Also, Camera and Gallery both crash at boot.
[Nexus 7 (2013) Android Development] bruce2728:
Yep sorry, usually test before uploading, doing a clean build now.

The battery mod seems to work though. But I think 4200mv = 95% not 93% that I put down in 99kernel init.d file. At least that is what it is showing on my flo
[Nexus 7 (2013) Android Development] bruce2728:
New build is up with the battery mod, if you try it please let me know which value you set it to and the % that it stopped charging at. Thanks
[Nexus 7 (2013) Android Development] stab244:
New build works fine.

Also if you want a script to rename mpdecision and thermald, I just made one (pretty sure others have too) to put into addon.d so it renames when you update. If anyone can make a flashable zip for it that would be nice.

Linky link

Also here's just the script content if anyone wants:

#!/sbin/sh
#Enable Silent Camera
#by rmkilc

case "$1" in
backup)
# Stub
;;
restore)
#Rename some files
mv /system/bin/mpdecision-bck /system/bin/mpdecision
mv /system/bin/thermald-bck /system/bin/thermald
;;
pre-backup)
# Stub
;;
post-backup)
# Stub
;;
pre-restore)
# Stub
;;
post-restore)
# Stub
;;
esac
[Nexus 7 (2013) Android Development] konchog uma:
I get an error when i attempt to save 99kernel. I don't know enough about permissions and editing system files to be able to do it w/out help. Using total commander text editor and CM editor. Sorry, don't want to experiment too much w system so will wait for advice.
[Nexus 7 (2013) Android Development] wizzlewizzle:
I used root Explorer to edit open the file and edit it. That worked for me. It automatically created a backup of the old file.

-Wizzle
[Nexus 7 (2013) Android Development] konchog uma:
Thanks, I was going to ask if Root Explorer would do it, since I see that's what everyone else uses for these sorts of things. I just hadn't purchased it because I never needed it. Anyway, it worked for me too, thanks!

---------- Post added at 11:53 AM ---------- Previous post was at 11:18 AM ----------

Some big differences in my Antutu scores with the two kernels, CPU OC to 1728, GPU to 487, qualcomm dalvik patch...26723 elementalX, 19114 bricked. Tumblr seems a lot more laggy, as does Google Earth. I usually don't care about benchmarks but that's a pretty steep difference, and my tab doesn't feel as buttery at all. I appreciate all the work you've put into the kernel Bruce, and I'm going to use it for a while to really check it out. I can always switch back to elementalX if i want.

k.uma
[Nexus 7 (2013) Android Development] wizzlewizzle:
I'm glad root Explorer worked out for you.

I could be wrong but the current bricked kernel doesn't have a deep sleep cpu mode, I like the deep sleep that elementalx has. Definitely gives me a much longer standby time.

-Wizzle
[Nexus 7 (2013) Android Development] konchog uma:
stops at 93%
[Nexus 7 (2013) Android Development] Tim4:
Whats a purpose to limit the battery on 93%?

Dont get it. You can just stop using the battery and it will still lose its capacity just because of the way li-ion batteries works.
[Nexus 7 (2013) Android Development] bruce2728:
The battery will last for ~500 charge cycles if charging to 100% but if you limit it to only charge to 93% you will get closer to 1000 charge cycles before the battery needs replacing.
[Nexus 7 (2013) Android Development] wizzlewizzle:
Maybe it's just me but it seems like the charge quality isn't as good, meaning the battery seems to drain faster when I had the battery/charge mod.

-Wizzle
[Nexus 7 (2013) Android Development] bruce2728:
I'll keep an eye on it, leaving the setting at default should fully charge it anyway, so if anybody doesn't want the mod just leave it at 4300.
[Nexus 7 (2013) Android Development] wizzlewizzle:
Coo thanks. Yeah I got it at default.

-Wizzle
[Nexus 7 (2013) Android Development] xda23:
I can't get my CPU settings to stay at what I put them at.I set them in the performance in the settings.Is this a known problem? Thanks!!!
[Nexus 7 (2013) Android Development] wizzlewizzle:
What app are you using to set your cpu governor? I recommend using trickster mod. You can download it from the play store. Also be sure choose the check box to set on boot..

-Wizzle
[Nexus 7 (2013) Android Development] xda23:
O.k. now the max setting stays but the minimum CPU o.c. number don't stay.lol lm just using the performance setting that's built into the ROM. Thanks!!!
[Nexus 7 (2013) Android Development] konchog uma:
Wifi in sleep mode

Under Settings > Wifi > three dots in upper right > Advanced, i have the following enabled: Network notification - checked, Keep wifi on during sleep - never, Scanning always available - unchecked, wifi optimization - checked. Should I be getting notifications for received emails when magnetic case is closed and my tablet is asleep? Maybe I don't understand sleep mode lol, can someone help? I would like to disable wifi scanning when my tab is asleep but still on, but when asleep i still get notification sounds. using elementalX kernel.

k.uma

---------- Post added at 03:30 PM ---------- Previous post was at 03:23 PM ----------

does it show 918mhz (or something like that) as the minimum speed? Its a bug with hotplugging and some kernels, like Bricked and Glitch i think. If you open Settings > Performance > Processor, it might say "Minimum CPU Frequency - 918" but at the top where it shows the Current CPU Frequency, it will show speeds as low as 384, or whatever you set your min at. In other words its just a false reading, your CPU will run at low speeds.

Even so, if you look at the voltage breakdown of most kernels, 918mhz doesn't use much more voltage than 384.

---------- Post added at 03:40 PM ---------- Previous post was at 03:30 PM ----------

according to GSam Battery Monitor, I'm still getting about 10% drain in an hour of regular use..

which reminds me, i want to set a reference point in GSam at 93% because it's measuring from last full charge right now... just a reminder to anyone else who cares
[Nexus 7 (2013) Android Development] manfio:
i tell you guys

i never before have extreme battery life with stock kernel

this rom ROCKs

downloading the 22-12 build

+bruce2728 its possible you had active display to your rom?
[Nexus 7 (2013) Android Development] xda23:
O.k. cool thanks bud.
[Nexus 7 (2013) Android Development] wizzlewizzle:
I use elementalx because it has deepsleep cpu state. It doesn't seem like bricked has it.. It gives me excellent standby Time.

I also have the multicore power save set to 2, which is aggressive..

-Wizzle

---------- Post added at 11:26 PM ---------- Previous post was at 11:24 PM ----------

I Fixed the otg issue and I thought I would share my findings.

From what it seems...

You can NOT have fast USB charge enabled for otg to work. I flashed elementalx and made sure this setting was unchecked. Installed stickmount and voila!

I hope this helps others!

-Wizzle
[Nexus 7 (2013) Android Development] treyweez11:
Soooo should we not use xposed? I installed and it rendered my screen untouchable. I had to reboot back into recovery and install the disable xposed zip.
[Nexus 7 (2013) Android Development] wizzlewizzle:
Xposed worked perfectly fine for me. I don't use it anymore because I have art enabled and exposed works off of dalvik.

Be sure that you have the latest version of Xposed.

-Wizzle
[Nexus 7 (2013) Android Development] xda23:
I just flashed latest build and now when close case so its covering my screen it doesn't shut off my tab!ets screen light and when I open my case the light don't automatically light up like it did on the other build.how do I fix this. Thanks

---------- Post added at 06:04 PM ---------- Previous post was at 05:23 PM ----------

Hey does anyone know what setting it would be in the settings that would fix the problem that I have. Thanks in advance...
[Nexus 7 (2013) Android Development] wizzlewizzle:
What kernel are you using?

-Wizzle
[Nexus 7 (2013) Android Development] xda23:
Elementalx
[Nexus 7 (2013) Android Development] djdarkknight96:
I just did a fresh install with the included kernel and my magnet is off too. I think there might be something we can edit to get it back. I'm about to search it out unless someone already knows what we can do?
[Nexus 7 (2013) Android Development] wizzlewizzle:
Hmm. I have a folio case with a magnet and it works great, but I'm on elementalx kernel. Give that a try just to see if it's kernel related..

-Wizzle
[Nexus 7 (2013) Android Development] xda23:
I have tried both kernels and my poetic case still don't auto sleep/wake like it should.
[Nexus 7 (2013) Android Development] bruce2728:
Have you enabled it in init.d/99kernel?
[Nexus 7 (2013) Android Development] xda23:
No I haven't enabled it.It worked before without me enabling it but how do I enable it. Thanks
[Nexus 7 (2013) Android Development] bruce2728:
Edit the file in system/etc/init.d/99kernel

I use es file explorer which is free.

Change the values to 1 that you want enabled. If you want sweep2sleep and dt2w you need to enable all 3

If you want magnetic on/off set that to 1
[Nexus 7 (2013) Android Development] djdarkknight96:
BooYaa worked perfectly! Oh and I used CM file manager to edit it and after had to reboot.

Thanks!

DJ
[Nexus 7 (2013) Android Development] mmad81:
Thanks.. That worked
[Nexus 7 (2013) Android Development] xda23:
How do I save my changes?

---------- Post added at 11:11 AM ---------- Previous post was at 11:01 AM ----------

Rebooting don't save the changes. You have to save them before exit file explorer but I can't figure out how.
[Nexus 7 (2013) Android Development] bruce2728:
If you use es file explorer it will prompt you to save on exit.
[Nexus 7 (2013) Android Development] xda23:
Yeah I'm using es file explorer when I go back out of it all it says is confirm exit there are unsaved changes.exit without saving? that's all I see.
[Nexus 7 (2013) Android Development] bruce2728:
Do you have the latest version?

Mine says 'do you want to save before you exit?'
[Nexus 7 (2013) Android Development] djdarkknight96:
That's why I used CM file manager it has a save button in the top right corner of the editor.
[Nexus 7 (2013) Android Development] xda23:
I can't even find kernel 99 in cm file manager. Lol oh! Well I guess I won't change it.thanks anyways guys. Merry x-mas!!!
[Nexus 7 (2013) Android Development] konchog uma:
its in /system/etc/init.d

i think
[Nexus 7 (2013) Android Development] xda23:
I found it on es file explorer I just can't figure out how to save the settings once I change them.
[Nexus 7 (2013) Android Development] djdarkknight96:
In cm file manager settings turn on root access first...Then navigate to it and open..edit..and save it.
[Nexus 7 (2013) Android Development] xda23:
Are you referring to the cm app instaler? Thanks
[Nexus 7 (2013) Android Development] djdarkknight96:
No CM file manager that's included in the Rom.

EDIT:

See...this one:
[Nexus 7 (2013) Android Development] xda23:
Where at is it located at in the settings.