yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] _motley:
Yessir, there are no reported or known issues on v1.0.12 with any of the GPU variants. They should work for everyone. I have just changed the tag to stable in the OP today.

Yes, as demandarin stated, try v1.0.12 and things should be better all around.

I'll have to check v1.0.5 to see whats up with it. I thought init.d was working for others, but its hard to tell with all the combinations of roms and kernels that are flying around! My guess is that it is a permissions issue other than at the file level that you guys have already checked. FWIW, I was running a stock build for awhile with Paul Obrien's ROM and init.d was working great with this kernel and his ramdisk. An additional bonus is that his camera app is built-in and works good as well. If you like stock JB, his rom is very good.

While we are on the init.d topic, I wanted to also mention how init.d works for CM10. I am running a CM10 variant right now and it has a "userinit.d". For security purposes, user script files should go into /data/local/userinit.d/ and not /system/etc/init.d/ So, for those that have issues on CM10 with throwing stuff in the regular init.d folder even after setting permissions etc., try userinit.d and it will work much better;)

This is odd, it sounds like something is corrupted in /data. Typically this would not be a problem at all, I have done it many times. Perhaps you had some tuneables set on boot and things changed between the versions? I would try wiping data in recovery and see if you can recover if you are still in this position.

I don't experience and dead zones, but I am glad you brought this up. I will likely lower the default go_hispeed_load (interactive gov) in the next release. For now, it is the same as go_max_speed load as it was in the stock kernel source. For others that don't know what we are talking about:

go_hispeed_load = use 1.3GHz when you hit a certain load % (stock was 85, now at 80 by default)

go_max_speed = use your max freq when you hit a certain load % (stock was 85, now at 80 default)

These can be changed via sysfs in /sys/devices/system/cpu/cpufreq/interactive

Hi, if you haven't tried v1.0.12, things are quite a bit better in this area. FPS is higher for both the 484 and 520 builds. I am still looking into some other tweaks as we move forward, but I don't want to change too many things at once....if problems would arise we wouldn't be able to easily tell where the instability came from.
[Nexus 7 Original Development] mkiker2089:
Let me second that there is a fault with 12 causing it o randomly very to 1300. I previously installed the powerhaul fix but this kernel seems to have undone it.
[Nexus 7 Original Development] glenn37216:
Just noticed this. I might be just paranoid but does this look a little strange to you guys? After setting up this kernal I noticed my storage space looks off. Could this be showing the wrong actual storage thats available?
[Nexus 7 Original Development] mkiker2089:
There are some known bugs so it may be unrelated. Have you rebooted the device?
[Nexus 7 Original Development] glenn37216:
Yes I rebooted and did a factory reset...

But something is still strange with my storage. Not sure if it's the rom or the kernal.. probably neither but somthing is definately wrong here.
[Nexus 7 Original Development] phonic:
It's a known issue when flashing certain images. I don't believe it's kernel related - more a problem with ROMs. There are other threads that cover how to fix it.
[Nexus 7 Original Development] glenn37216:
Thanks guys for the feedback. After doing some research here it wasnt kernal related afterall. I rebooted into recovery and wiped cache there.. Tadaa ! Storage problem fixed .. :D Still learning this android stuff. So glad there are helpful members here. ;)

eew big picture.. sorry for that..

- Now back on topic ! :victory:
[Nexus 7 Original Development] omnikai:
Updating to the latest build appears to have done the trick! Thanks!
[Nexus 7 Original Development] BenMGP:
I have the same issue. I thought there was a bunch of porn I forgot about in my 7.
[Nexus 7 Original Development] CharliesTheMan:
Forgot about? Pfft forgetting is for work documents and stuff. Get your priorities straight.
[Nexus 7 Original Development] M3drvr:
I wanna see the limits I can push my device to. Need higher oc. Not like I'll use it full time, but I just wanna see.
[Nexus 7 Original Development] christo1771:
Got pretty nice score on antutu!
[Nexus 7 Original Development] foxorroxors:
I read zram doesn't really do much and it decreases battery life? What does it actually do?
[Nexus 7 Original Development] hecksagon:
First you need to understand what happens when a modern operating system finds itself in a low memory situation. As you run out of memory, your operating system borrows some of your hard drive (flash drive) storage and uses it as a slower form of "ram". It usually copies the data that hasn't been used in a while to the hard drive to free up some of the fast ram to be used right now. Once you switch apps and that data that was copied to the drive is needed, it swaps that data back into ram and puts something else in its place. All this copying to the slow hard drive takes time, but allows you to run more apps than your physical ram would support. Android also has a low memory killer that will close apps that you haven't used in a while but are still running.

Zram takes a chunk of your physical ram and compresses the data in it, freeing up some more of the fast ram without having to use borrowed space on the hard drive. This can mean that you have less slow down, less wear on your flash drive, (flash drives have a limited number of writes before they become unusable), or prevents Android from automatically closing apps.

Its a tossup with Android whether zram makes a difference. Usually Android does a good job of killing background apps you aren't using anymore and rarely you hit an out of memory situation with 1gb of ram. But if you do get to a low memory situation it will make some difference.
[Nexus 7 Original Development] _motley:
For those that want to live a little more dangerously, I have added the ability to turn fsync off in the upcoming version. It will still be enabled by default because I don't recommend running without it due to the possibility of data corruption. I know some will want to turn it off for running benchmarks, or like I said, some just like to live fast and dangerous and don't care about restoring /data if something gets corrupted.

I did a quick test and the RL SQLite Benchmark completed in 17.001s using SIO on the first try...nearly twice as fast as SQLite is a sync happy application (with good reason of course).

LOL, you probably will want to leave fsync enabled to preserve these precious files, of both known and unknown origin:laugh:

Not sure if you have seen it or not, but I updated post 2 with a description and usage scenario where zRAM can be desirable. It's not for everyone, but in some scenarios, you can benefit. It shouldn't have any noticeable effect on battery life.
[Nexus 7 Original Development] arcanexvi:
Nice. So new kernel soon? ;)
[Nexus 7 Original Development] Spartoi:
So does this kernel not support (custom) boot animations? I just want the stock glowing X animation but I instead have a crappy Android logo.
[Nexus 7 Original Development] evonc:
Replace the bootanimation.zip in /system/media/ with the zip of the bootanimation you like if you want to change the bootanimation.
[Nexus 7 Original Development] Spartoi:
I've done that, but still getting the Android Logo. Maybe the boot animation I'm using won't work. I'll try a different one.
[Nexus 7 Original Development] thracemerin:
I believe you need to be using a ROM that supports it, the kernel has nothing to do with that, it may be in the ramdisk (which comes with some kernels) but motley uses the anykernel method which doesn't replace the ramdisk.
[Nexus 7 Original Development] Spartoi:
No I think its the kernel that affect Boot Animations. Anyways, I figured out the problem. X-Plore wasn't transferring the file properly so I used Root Explorer and it worked fine.
[Nexus 7 Original Development] thracemerin:
It's in the ramdisk, I double checked. Glad you sorted it out though.
[Nexus 7 Original Development] Bhonka:
Just a quick question. Will the GPU clock itself down when not running intensive apps or will it be on 520mhz or whatever version you flashed all the time?
[Nexus 7 Original Development] Rafase282:
I think it stays at 520.
[Nexus 7 Original Development] _motley:
No, it scales up and down like the CPU. Look at tegra3-dvfs.c it you want to see the table.

Gotta new alpha that will be releasing shortly...
[Nexus 7 Original Development] sswagonman:
Anyone have those initd speed tweaks from the other day? Wanna try on Jb on the galaxy note
[Nexus 7 Original Development] Rafase282:
Well I'm about to try a new rom so feel free to upload while im still passing files.
[Nexus 7 Original Development] t_007_v2:
Xmas comes early (: but IMO v12 is going to be hard to beat. Smoooooth like butter and games like a dream.
[Nexus 7 Original Development] _motley:
v1.1.0 alpha released

Ok, we're good to go! v1.1.0 alpha has been released:cowboy:

See OP and report back to let me know what you think!
[Nexus 7 Original Development] Rafase282:
I have resetted the UV values and the whole app and currently flashing it on my alredy stable rom.

Edit: Ondeman and deadline combo. Seems very resposnive, I'm running gpc OC to 520 and just for the purpose of testing at cpu max frequency.

Any tools you want me to run for testing? I personally go more towards the daily use side for determining whether I like it or not.
[Nexus 7 Original Development] Rafase282:
One

Edit: I just found the new instructions on the second post but I never had audio streaming issues when the screen is off.

Edit2: I'm going to use fsyncoff scrip along with zram, and the io script.
[Nexus 7 Original Development] simms22:
motley_anykernel_nexus7_1.1.0_GPU520_build_215.zip nice kernel. also ondemand/deadline. but i suggest that you set the sampling rate to 10000 and the up threshold to 98, instead of the default 40000/90. youll see a little boost in responsiveness :)
[Nexus 7 Original Development] _motley:
Thanks, this must be with fsync enabled, but that is fine. I am all about daily driving more than benchmarks.

Thanks, getting 65 fps on Nenamark2 with 520, but I still prefer to run 484 or lower for my daily.

Cool, I'll try that out for OnDemand. Those settings seem odd, but I know you guys get great results with them. The defaults for this kernel are still Interactive/SIO, but if the other options are going to be there, they should at least work better than they did stock haha! :rolleyes: Honestly I don't see any benefits for i/o on my tablet when running optimized deadline vs SIO. In Antutu, SIO yields better results for me typically. I have no idea how some are getting those massive i/o scores on quadrant...I don't think that test is very accurate. We should try something like Bonnie++ for real some i/o testing. There is another app that write 200MB files like 5 times and then read them back. (Disk Performance maybe).

For everyone: please understand that this new version has a lot of changes, some experimental to see how they go. It's still an alpha for sure, so you can fall back to 1.0.12 if that is working good for you. 1.0.12 is sold, I haven't gotten any complaints at all on that stable build.
[Nexus 7 Original Development] simms22:
not bad at all.. :good:
[Nexus 7 Original Development] Rafase282:
Here with fsync disable, io scrip, zram, 1.62 once man/deadline

Edit: I also have wifi on, sync on, and I have a bunch of apps installed. I think that might affect the results maybe not but if it does, then it would help reflect real use =b
[Nexus 7 Original Development] simms22:
i have a 152 installed apps. it doesnt make a difference.
[Nexus 7 Original Development] _motley:
Nice, that is higher on Nenamark 2.4 than I got. You gotta freak tab there simms!

Yeah, I don't get too scientific about it myself either. I always leave WiFi on, but try to close all my apps at least.

Gotta head off to bed, I haven't been feeling well today. I am itching to flash a new ROM, but not tonight I'm afradi. What would you guys recommend for performance? Definitely need a good working init.d. Good night...I'll check in the morning to see how folks are doing.
[Nexus 7 Original Development] Rafase282:
The only rom I recommend now a days is EOS.

---------- Post added at 04:52 AM ---------- Previous post was at 04:45 AM ----------

Good news! I set interactive/deadline then run CF-Bench = random reboot. =b
[Nexus 7 Original Development] jaysmi32:
how did u guys get antutu to work when its not supported on the playstore
[Nexus 7 Original Development] simms22:
titanium backup from my galaxy nexus restored onto my nexus 7 ;)
[Nexus 7 Original Development] demandarin:
those scripts in op, can i use smanager to enable them(Su, boot, run) and not have to worry about manually entering those scripts?

im assuming those are new files and i can just enable them through scriptmanager.
[Nexus 7 Original Development] espionage724:
I simply took the scripts, threw them in /systen/etc/int.d, repaired permissions, rebooted. Not sure if this is the proper way to install scripts or not though...
[Nexus 7 Original Development] brfsa:
Thanks a lot for the PM_MAX feature! Was waiting for this for a while.

I have PM_MAX on my SGS, it was introduced just a few months ago.

Now I can keep wifi "always" on and not have my battery die.

without PM_MAX, the battery goes down real quick.

Thank you for your amazing work on this kernel!
[Nexus 7 Original Development] t_007_v2:
flashed the new kernel last night (: very stable with no reboots nena 2 bench of 65.2fps with wifi off.

io tweaks on post 2 are making the N7 scream THX motley!!!!! 600mhz gpu... (;

---------- Post added at 11:44 AM ---------- Previous post was at 11:17 AM ----------

looking at your quadrant bench are you sure your io scripts are running?

Stock rom on 1.5ghz interactive with cfq. i'm not sure why but my N7 doesn't like 1.6ghz it has a panic attack and freezes on benches. overall i'm stoked with the performance of this tablet.

here is my bench
[Nexus 7 Original Development] demandarin:
im on stock rom so no init'd support. even flashing back to 1.05 that has ramdisk & init'd support didnt work for me.

ill make it work once i get off work and try this latest kernel from motley. alot of good big changes in this one. now this kernel should score just as high, if not higher, than trinity one. both are great kernels btw ;)

whats battery life like on latest build so far?

---------- Post added at 11:59 AM ---------- Previous post was at 11:56 AM ----------

good score but its possible to score alot higher on this kernel. i did even at 1.5ghz. deadline and sio are best schedulers. always bench on performance or at least ondemand governor.
[Nexus 7 Original Development] t_007_v2:
tested on stock rom with motleys newest version @ 1.5ghz gpu at 520 with all io tweaks and zram running.

interesting results.

testing ondemand with deadline 6010, 5722, 5955. ondemand with sio 6007, 6024, !6330! ondemand with cfq 6021, 6015, 6151.

testing interactive with deadline !6335! 6199, 6111. interactive with sio 6020, 6248, 6171. interactive with cfq 6274, 6315, 6330.

testing performance with deadline !6332! 6191, 6204. performance with sio 6178, 6101, 6169. performance with cfq 6131, 6007, 6254.

these benches were tested with a little fan under the unit to keep the temps as even as possible.

i do find the governors and schedulers to be a little confusing on what to use. last night i sent a PM asking about this and was told that cfq does the best job. from the benches just done he looks to be confirmed about cfq. what is interesting is the little difference between performance and interactive.

i have been gaming with interactive and cfq. the games batman & spiderman with their open worlds imo really task the N7. motleys kernel has made them just scream THX MOTLEY!
[Nexus 7 Original Development] mkiker2089:
It's even easier than that

1- easiest is go to their website and download it directly

2- use the Amazon appstore.
[Nexus 7 Original Development] dude2k5:
CF Bench seems to freeze/reboot on Java MIPS. Other than that, pretty stable and getting better scores than the last update.

edit: god damnit, antutu is doing the same now. sigh.
[Nexus 7 Original Development] simms22:
its antutus issue, clear its app data. its has some issues on jelly bean where itll do an update check right about when the knights are running. about cfbench, cool your device as its running(at 1624mhz/1624mhz) or itll overheat and freeze.
[Nexus 7 Original Development] dude2k5:
Tried clearing data, went to 7% this time but force closed the app. CF Bench was the first one I ran so it should have been pretty normal temps, ill try in a bit though. Maybe it's my ROM.

edit: went down to 1.5GHz instead of 1.6 or 1.624 and it's stable. Antutu and CFbench work now.
[Nexus 7 Original Development] simms22:
if you use the trinity kernel toolbox app, it has a cpu temp widget, the no background cpu temp widget also adds a live cpu temp indicator to your notification bar. if you watch it as cfbench is running, you will see that cfbench gets your cpu really hot, really fast. ive watched it many times. its really hard to run cfbench without a fan/air conditioner at that speed and not having it overheat, even if your device started off cold.
[Nexus 7 Original Development] dude2k5:
ill keep that in mind next time, thanks. this was the only time CF bench did that though, and it's running fine at 1.5GHz. 1.6GHz+ was too many minerals I guess. ^_^
[Nexus 7 Original Development] CooLoserTech:
Bugless Beast + Motley kernel = pure butter
[Nexus 7 Original Development] demandarin:
Need some help..lol.

First, I ran the script in terminal for fsync disabled and it tells me no such file or directory. Now when using root explorer I don't see a fsync control(or whatever its called..lol) file path. I looked for directory/path listed in that code. Its not there.

Second, Can someone help me or point me to where I can learn how to create a script file to put in init'd folder? I searched xda and tried various things to turn those codes in op(for latest build) into scripts that can be ran by init'd. I failed :( first I tried using root explorer to create a new file. I copy n pasted code into new file using root explorer txt editor. Then saved. Then set permissions(which I believe is correct) to: rwxr-xr-x(owner-read write execute, group-read execute, & others-read execute). That didn't seem to work. Read another thread that said same thing but to add ".sh" extension on the end. That didn't work either. So I tried using rom toolbox scripter to make script. By copy n paste code into new script. Then exported script out into downloads. Then set r/w mount. Then moved it to system/etc/init'd folder. That didn't work. I tried running the scripts within rom toolbox & Smanager. Only the one for faster disk i/o "seemed" to work. The one to disable fsync kept telling me no such file or directory. So im lost right now. Been at this for almost 2hrs. Now trying to figure it out. Lmfao

Only reason I'm trying to make script so I don't have to manually enter tthose codes in. Still need to find out why code for disabling fsync gives memo such file or directory. Plus I think my init'd is finally working. I posted back how it wasn't working even if I flashed back to 1.05(with ramdisk & init'd) and then flashed current. Well today I saw Franco post up a 100% stock reset kernel that had init'd support added. Well I flashed that kernel then I flashed this latest build. I already had created an init'd folder from before and set permissions and put a 90zram script file in there(with permissions set). Before it didn't work. Now after flashing reset kernel and then this build, I believe its working. How I could tell was by going into thermal them typing free. Then I saw the values and swap sizes. Before, the only way I was able to get zram to work was through smanager. This time had previously cleared THST config. So smanager wouldn't run. So zram worked by itself through init'd support.

I tried to make the fsync disable and faster disk I/o scripts myself but it was a fail. I wanted to try first before asking. Since my efforts failed, I'd appreciate if someone could shed some light on how to create those script files and also why putting fsync disable code into terminal gives me no such file or directory.

I want to enable all those things so i can bench and see how this builds new tweaks compare to trinity kernel. Mainly as far as I/o performance goes.
[Nexus 7 Original Development] toe451:
How do you set up cifs on this kernel. I'm using cifs manager and set it up the same way as I did for my phone ,but I seem not to be able to get it to work. Is their anything special I need to do. Thanks....
[Nexus 7 Original Development] simms22:
its there, im on the gpu520 build right now, i see it. here is the right path.. /sys/devices/virtual/misc/fsynccontrol/fsync_enabled

terminal command..

su(press enter)

echo "0" > /sys/devices/virtual/misc/fsynccontrol/fsync_enabled(press enter)

0 turns it off, 1 turns it on

---------- Post added at 05:55 PM ---------- Previous post was at 05:50 PM ----------

oh, ok, i see. the path to fsync is wrong in that second post. should be /sys/devices/virtual/misc/fsynccontrol/fsync_enabled
[Nexus 7 Original Development] demandarin:
That's why it wasn't working..lol. hopefully motley update the change. Any advice on how to turn that command and the other one for faster disk I/o into a script to put in init'd folder? I believe the one for faster disk I/o is the same one tkt automatically runs. But I'm trying to get tit to work on this kernel without the app or having to continuously enter in command after a reboot.

Update: after looking at new file path and your screen shot, its not in mines. I see folder above and below it bit no fsynccontrol folder..lmao. let me redownload this latest build and try flashing again. I know I flashed the latest build though . Weird

Update 2: looking more closely I saw I flashed 1.0.12 instead of 1.1. I have so many builds saved in my download folder. Should've looked more closely. About to flash the correct build now, 1.1 ;)
[Nexus 7 Original Development] simms22:
i dont use init.d scripts.. but i do put all my scripts into an app called gscripts. that way i can run them with one click from within the app or just put a shortcut to the script onto my homescreen for 1 press access(via widget menu) https://play.google.com/store/apps/details?id=nl.rogro.GScriptFull&feature i believe that theres a free version too. plus when i back up with titanium(app/data), then restore my backup onto another device, my four years of script collecting gets transferred to my new device along with the app :)
[Nexus 7 Original Development] demandarin:
new kernel rocks!

I flashed correct 1.1 build with 520 gpu oc. I enabled fysync off and faster disk I/o scripts through gscript(thanks simms). I set governor to performance. scheduler to deadline. then I benched at 1.6Ghz. impressed with results. I did quadrant, rl sqlite, & nenamark2 benches. I/O performance definitely improved. I know I could score even higher but just wanted to show results so far. next bench ill try is 1.62ghz. hopefully it'll hold..lol. gpu oc @520Mhz running like a champ also. 65.5Fps.

great work motley. builds keep getting better n better.

thanks again simms for the help with gscript and correct file path for fsync disable. appreciate it ;)

I just noticed when I opened up trinity kernel app, all the same options are available now for this kernel like on trinity. like fsync faster, wifi pm, etc.. so i won't even need to use gscript, if i want, since I can control it through Trinity toolkit app also. definitely will come in handy. good to have options. trinity app shows fsync on faster, since I already enabled it through gscript.

also impressed with how low temps are staying although on 1.6ghz. even through benchmarks temps stayed low(healthy range).