yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 7.7 Android Development] UpInTheAir:
A nice kernel update for everyone tomorrow. Finished testing thoroughly (hopefully). Changes made at both source (gitHub) and at intramfs level.

To tired to compile and release for P6800 now, have done P6810, tested on both SkyHigh ROM & bodivas stock ROM. It's uploaded but not yet made public. Will release tomorrow first ;)
[Galaxy Tab 7.7 Android Development] lomniom:
You have been a great developer throughout 2013. May 2014 brings good luck and more free time for all of us.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Fstrim lagfix

ADDED TO CHANGE-LOG

* fstrim lagfix - fixed having to reboot twice after enable ".lagfix_on". Just create the file in internal sdcard and reboot ONCE
[Galaxy Tab 7.7 Android Development] p9844131:
Hi UITA,

Really thankful for all your time and efforts that you had spent in updating our Galaxy Tab 7.7 with the latest tweaks and improvements!

I managed to successfully flash the latest kernel 4.1.0.

A noob question. I tried to enable lagfix by using Root Explorer to go to the root of the tablet, create New file, name it as ".lagfix_on" and tried to save it. However, I was prompted that the file failed to save. Tried to create it inside the "sdcard" folder and also encounter the "fail" prompt.

Would appreciate if you could guide me how to create the ".lagfix_on" file....

Apologies for the noob question.

Thanks!
[Galaxy Tab 7.7 Android Development] Rhodesfreak:
Hi UITA,

I've tried the kernel but the tablet hangs sometimes and seems to perform less snappier than with your rom 3.5 with the stock kernel, am I doing something wrong?

Thank you for your amazing work!
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Ensure you've granted root access to root explorer app with SuperSU.

Also check your internal sdcard is mounted r/w

As per instructions, save to /sdcard ( internal)

You can also save to /data/media or /storage/sdcard0 , which are essentially the same. Should work there also.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
My device is fine. In fact quite smooth....

Do you have any other tweaks installed or "performance" type app etc?

Did you delete the init.d scripts as per instructions in change-log?

Did you follow the ISSUES instructions in Post #3?

The device will be laggy while lagfix trims partitions,.... but that's only for about 30 secs or so. Invoked 60 secs after boot finished.
[Galaxy Tab 7.7 Android Development] Rhodesfreak:
Hi UITA,

After rebooting the tablet, it works great! :)

Thank you!!

Best regards
[Galaxy Tab 7.7 Android Development] deani77:
Latest kernel work great. Thanks...
[Galaxy Tab 7.7 Android Development] Silver-7:
I agree all other tweaks must be deleted with this kernel to get it working fine. As I used to have "pure performance" tweaks on my devices ,I deleted them before flashing this kernel, then installed them again, but my device was really laggy, so I deleted the tweaks again. And now testing the kernel..working great so far.

Thanks
[Galaxy Tab 7.7 Android Development] ninekaw9:
How can I disable GPU overclocking. I think it makes my device unstable and crash in certain apps like Epic Citadel, Android 4.3 camera, Asphalt 8.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
There is no option.

Read my "to do" list. I've been trying as I reply.... and about a thousand times before that -(
[Galaxy Tab 7.7 Android Development] lomniom:
There's an application called KControl by [MENTION=4195844]show-p1984[/MENTION] that can control the GPU. But the kernel should have allowed the value triggering.
[Galaxy Tab 7.7 Android Development] rezadentevil:
UpInTheAir hi

what did u do with my tab?

I cant belive it that I bought it 1 year ago,

it has exynose 4210 but now with your kernel and rom I doesnt have that, now it has exynos 4412 with bravia engin 2,

the 7.7 has 1.4Ghz dual core cpu, but today I have 1.8 Ghz dual core cpu ,who can belive that?

I used set cpu, and antutu benchmark, and after I set governer and... in set cpu, and benchmarking... but now I unistalled the set cpu and then benchmark, its soooo much better than befor,, its better that before and after set cpu,

I flashed the new 4.1.0 kernel that u created,

its perfect,

the GPU is now 4412 and 1.8Ghz ,

thanx alot,
[Galaxy Tab 7.7 Android Development] UpInTheAir:
It requires a interface to be able to configure the values, Same as any script. Just haven't been capable to do it.

In any case, from a quick look in the OP, not compatible.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
GPU CONTROL INTERFACE (sysfs) - YES YES YES ! :thumbup:

FINALLY got it going, and (as I thought) the changes from ICS wasn't so difficult. :what: Something so small took me maybe a hundred hours too see....

Have not yet committed to gitHub, still need to sort a couple things out first.

Maybe a update in the next day, busy with other things this afternoon ;)

Persistence pays off ! :D
[Galaxy Tab 7.7 Android Development] frogeed79:
hi

Just asking...we can use c pen on this tab?
[Galaxy Tab 7.7 Android Development] UpInTheAir:
This is KERNEL thread......

If you're referring to SkyHigh ROM, due to hardware limitations I very much doubt it. The menus in settings are from another device and need careful removing so not the break anything. In future, I will try again.

If not, please post in Q&A ;)
[Galaxy Tab 7.7 Android Development] ninekaw9:
Wow, thanks!
[Galaxy Tab 7.7 Android Development] frogeed79:
sorry

But with v3.91, I can use c pen.but not sensitive
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Sorry, thought you had a typo meaning S pen.

No idea, don't have a pen to test. Other uses may have experience here.

I haven't made any adjustments to touch sensitivity in last change-log.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
v4.2.0 update

>> v4.2.0 UPDATE <<

NOT PESONALLY TESTED

CHANGES

ON P6800 PARTITION !!

** FOR P6800 partitioned device running JB 4.1.2 DXMD3 ROM !! **

1. Read warnings in Post #3 before flashing. I am not responsible, you are

2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data

3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)

4. Recommend 200-1400 -or- 200-1600 MHz

5. Recommended governors etc = Read Post #3

** REMOVE

ALL

PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **

CHANGE-LOG v4.1.0 -> v4.2.0

** Source changes as per gitHub

* 4-step GPU Control interface (sysfs) via init.d script (EXAMPLES IN POST #3)

clock : 50 > 400 MHz

voltage : 900 > 1200 mV (in steps of +/- 50 mV)

step thresholds

stay counts (interface isn't working yet)​

* Change to lzo compression (slightly faster boot at expense of zImage size)

* xz compressor tweaked (not currently in use)

* SLUB - small performance tweak

* Stop compiling unuded 4x12 objects on 4210

** Corrected OP

INSTALLATION

** REMOVE

ALL

PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **

1. NANDROID (just in case)

2. Flash SkyHigh P6810 JB 4.1.2 ROM or bodivas P6810 JB 4.1.2 ROM

3. Remove any previous CPU control settings from starting at boot

4. Flash in :

a) CWM.zip in custom recovery (CWM or TWRP)

-or-

b) ODIN.tar in Odin [PDA] / Mobile Odin
​

4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)

SUGGESTED CPU CONTROL APP : Trickster Mod app

Don't forget to use only one Control app at a time. They will conflict !

CURRENT BUGS :

* Random screen tint (Read Post #3)

* GPU staycount interface isn't working

ISSUES?

* READ POST #1, #2 & #3 FIRST

CHEERS :D

UITA

.
[Galaxy Tab 7.7 Android Development] schen:
Your example init.d script for GPU

# GPU frequency

# use only valid frequencies

# min = 50 MHz

# max = 400 MHz

echo "50 160 200 267" > /sys/class/misc/gpu_clock_control/gpu_control

# GPU voltage

# steps of (+/-) 50mV ie at 50000

# min = 900 mV

# max = 1200 mV

echo "900000 900000 950000 950000" > /sys/class/misc/gpu_voltage_control/gpu_control

# GPU Up and Down thresholds

echo "85% 55% 85% 50% 85% 50%" > /sys/class/misc/gpu_clock_control/gpu_control

# GPU staycount

echo "1 1 1 1" > /sys/class/misc/gpu_clock_control/gpu_staycount

Is the valid frequency supposed to be 100 160 267 400?

Can you explsin up and down threshold value?

Your default gpu staycount is "0 1 1 1"

Already flash 4.2 but have not tweak the gpu yet.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
There is a link to a very very good informative thread by droidphile in Post #3. I would only regurgitate what he says, because he writes nice and simple on various kernel tweaking topics.

I have answered about "valid frequencies" and how to check in Post #3...... You can set any frequency you want, but if it's not valid (recognised by the kernel), it won't use it. You need to trial and error. Those frequencies mentioned are obviously valid, so is 50 & 200 MHz)

From what I've found so far :

50, 100, 160, 200, 267, 400 (there is another between 267 & 400, but can't remember). There may be others too.

I've explained my stay count tweak in a previous change-log. I set the first step to zero because I under-clock min freq 160 > 100, so GPU doesn't wait 1 sec at threshold before stepping up. That should help stop lag at that point and more responsive off "idle".
[Galaxy Tab 7.7 Android Development] schen:
Done some reading!

Do you know why this script is giving me an error?

# GPU Up Down Threshold

echo "85% 55% 85% 50% 85% 50%" > /sys/class/misc/gpu_clock_control/gpu_control

# GPU staycount

echo "1 1 1 1" > /sys/class/misc/gpu_clock_control/gpu_staycount

I check with script manager.

No problem changing gpu voltage and gpu frequency.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
What error?

Please attach your exact script (not code) so I can try it later. I'll double check code etc as well then.
[Galaxy Tab 7.7 Android Development] schen:
My GPU Script

unless i disable staycount and up down threshold the script is giving me error. check with Rom Toolbox Scripter

Sorry! Dont know what is going on but I cannot find a way to attach a file?

Edit: OKe DONE
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Looks like staycount interface isn't working.......

Evertyhing else is OK. Thought it tested fine, but could have been seeing things after spendiing so much time researching, at code and A LOT of compiling and testing. I'll add it to the "BUGS" section for now and note on the change-log
[Galaxy Tab 7.7 Android Development] UpInTheAir:
GPU staycount interface

GPU staycount interface fixed!

Will include in in next release, whenever that is.....
[Galaxy Tab 7.7 Android Development] UpInTheAir:
I found where to add and make GPU frequencies "valid" (useable by kernel), so a little tweak of GPU to 440 MHz on test build. First run on quadrant [MENTION=569922]Cpu[/MENTION] 1600 (thermal limited a couple of times), but needs tweaking for faster GPU scalng if desiring more performance. I will not make it default, but an optional frequency (plus others - higher/lower) in next build. :)
[Galaxy Tab 7.7 Android Development] ngoonee:
Not sure how much effort it would take, but would implementing not-killable processes be possible?

http://xdaforums.com/showthread.php?p=45206674&highlight=not+killable+process#post45206674

Obviously would not be on your list of priorities at all, but just thought I'd put this here since you're already working on kernel currently.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Believe it, I've got a similar page (edit: from gitHub) already open and on my list to try :)

I will try once I sort out the GPU properly. Just need to leave my tab alone to test for SOD, and then after testing some voltage & freq combinations for stability, and re-tune thresholds etc.
[Galaxy Tab 7.7 Android Development] rezadentevil:
can i use the 4.2.0 kernel on official DXMD3 ?
[Galaxy Tab 7.7 Android Development] UpInTheAir:
If course you can, it's stated in Post #1 & 2 and also in change-log. ;)

Any SGT-7.7 JB 4.1.2 DXMD3 ROM :)

BTW kernel testing coming along nicely. More performance options committed to gitHub :)
[Galaxy Tab 7.7 Android Development] UpInTheAir:
v4.3.0 update

>> v4.3.0 UPDATE <<

NOT PESONALLY TESTED

CHANGES

ON P6800 PARTITION !!

** FOR P6800 partitioned device running JB 4.1.2 DXMD3 ROM !! **

1. Read warnings in Post #3 before flashing. I am not responsible, you are

2. Clear your CPU Control app defaults first. device settings/applications/all/"your control app"/clear data

3. You will need a CPU control app to adjust the CPU freq from the safe startup values (OC / UV / UC)

4. Recommend 200-1400 -or- 200-1600 MHz

5. Recommended governors etc = Read Post #3

** REMOVE

ALL

PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **

CHANGE-LOG v4.2.0 > v4.3.0

** Source changes as per gitHub

* Increased from 4 to 5-step GPU : Default = 108-160-267-330-400 MHz

Min freq = 54 MHz (lower than 108 MHz may cause lag, freeze or SOD)

Max freq = 520 MHz

Valid freq (useable) = 54-66-108-160-160-200-267-300-330-400-440-520 MHz

Voltage = 800 > 1200 mV (+/- 50 mV increments)

Stock = 2-step GPU (160-267 MHz)​

* GPU UV / UC / OC

108 MHz = 900mV

160 MHz = 900mV (-100 mV > stock 1000 mV)

267 MHz = 950 mv (-150 mV > stock 1100 mV)

330 MHz = 1000 mV

400 MHz = 1050 mV​

* 5-step GPU Control interface (sysfs) via init.d script Control interface (EXAMPLES IN POST #3)

clock

voltage

step thresholds

stay counts​

* Fixed GPU staycount interface not applying changes

* Lower GPU idle (screen off) freq to 108 MHz & voltage to 900 mV

* Lower min GPU configurable voltage to 800 mV

Default still = 900 mV for stabilty (lower may cause freeze or SOD - depends on device)

Stable 108 MHz @ 800 mV

on my device

, maybe not yours?​

* Tweak GPU freq thresholds

* zImage compressed with lzo (forgot on previous build to change from xz....) Image to big for partition !

INSTALLATION

** REMOVE

ALL

PREVIOUS SkyHigh ROM SCRIPTS FROM /system/etc/init.d FOLDER (EXCEPT: sqlite & ziplaign are OK) **

1. NANDROID (just in case)

2. Flash SkyHigh P6810 JB 4.1.2 ROM or bodivas P6810 JB 4.1.2 ROM

3. Remove any previous CPU control settings from starting at boot

4. Flash in :

a) CWM.zip in custom recovery (CWM or TWRP)

-or-

b) ODIN.tar in Odin [PDA] / Mobile Odin
​

4. THIS WILL PROBABLY "BREAK" currently installed V6SuperCharger scripts ! (test kernel first, and then re-install scripts)

SUGGESTED CPU CONTROL APP : Trickster Mod app

Don't forget to use only one Control app at a time. They will conflict !

CURRENT BUGS :

* Random screen tint (Read Post #3)

ISSUES?

* READ POST #1, #2 & #3 FIRST

CHEERS :D

UITA

.
[Galaxy Tab 7.7 Android Development] UgloBuglo:
Thanks UITA, I will try this once my P6800 is fully charged :)
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Just re-compiling now. Won't take too long to finish at re-upload. Compiled zImage was too large to flash on the 8 MB parttion. Just give me about 10 minutes.

Edit: v4.3.0 is up now :)
[Galaxy Tab 7.7 Android Development] UgloBuglo:
Have been running 4.3.0 for a couple of hours now, and so far there seems to be no problems.

I'm quite new to all the kernel stuff though, and this is the first time I use Tricksters Mod tool so I might have missed something :P
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Has anyone using v4.3.0 under SkyHigh default values (no user tweaking or 3rd party performance mod, app or script installed) had random reboots whilst the

screen is off

?

I've had one reported case by PM, but waiting on further answer to my questions.

I need to know if it's partly user induced or not and how common.

If not, could need to either:

1. Increase the GPU sleep off freq/voltage,

or

2. Patch so use GPU mpll mode (reverts to original freq/voltage table) when is screen off. Have seen a commit for this that might work (gokanmoral - siyah kernel)
[Galaxy Tab 7.7 Android Development] rezadentevil:
Hi

I switched to official 4.1.2 and using 4.2.0 kernel that you made, but im not using any cpu control app,

I want to know i must have any of those apps or not,i dont need to ?
[Galaxy Tab 7.7 Android Development] edan1979:
tegrak currently not supported... already mention at 1st page... its not a bug... tegrak just need to add the kernel inside his apps...
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Thanks,

It's not a "bug", it's just not supported by the kernel for now. Know idea what I need to do for tegrak support, but will find out at a later time. It is on my "to do" list on the OP. ;)

In the mean time, use a different CPU control app. You might need to have a paid version to adjust the voltage (UV). There may be a free version, but my choice has always been Voltage Control app or SetCPU (paid) app.

Edit: with Voltage Control app, you can save your (stable) settings as init.d script (script sets profile on boot) so no app service has to run, saving RAM & battery.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
There well be an update later today/tonight with frandom/entropy generator.

No need for running other scripts/apps etc that could generate overhead (CPU cycles).

If you don't know what frandom is, Google it ;)
[Galaxy Tab 7.7 Android Development] edan1979:
you can use pimp my rom apps... it got a nice cpu control
[Galaxy Tab 7.7 Android Development] sas_sas:
Flashed succesfully.

My Quadrant scores are below w/o battery saving mod and w/ default kernel options;

6406

5618

10104

500

1923

and total 4910

Thanks a lot to UpInTheAir for availing us such a great kernel..

I did not observe any settings for Kernel tweaks. Are we suppossed to use 3.party apps such as pimp my rom?

But, When tried with it does not see this kernel options?
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Thanks for the kind words, but in reality, just a fairly basic kernel. Please read my post a few posts back explaining about tegrak, voltage control and SetCPU apps.

nstools (free) is another good app where you can also have the option to set init.d scripts.

Other kernel tweaking have not yet been implemented, except for the sdcard tweak. Governors and schedulers contribute a lot to how your device behaves, more so than the "fine tuning" that will come later....

I have also mentioned on the thread on how to test for stability when UV CPU.

I'll add a few more answers to post #3 when I get time.

:)

Also read the warnings about UV etc in post #3
[Galaxy Tab 7.7 Android Development] sas_sas:
@ UpInTheAir

Thanks again.

This was my misunderstanding, thought there are Governor and I/O sch tweak options...
[Galaxy Tab 7.7 Android Development] UpInTheAir:
There are a few tweaks (init.d scripts etc) found in XDA. They are more "generic" or written for certain CPU scaling and may be not suitable (tuned to our device). These things are more trial and error.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
UPDATE v1.1

SkyHigh Kernel P6800 JB v1.1 is up !!

* Reduced GUI lag

frandom support

entropy generator - no overhead (extra CPU cycles)​

:) CHEERS :)

.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Could someone please list all the governors and IO schedulers in v1.1 ?

My gitHub "crapped out" with many changes I didn't do or mean to do............. :confused:

I just ant to make sure all is OK with the release. I think I may have copied over files meant for my ICS kernel, but can't be sure ...... Edit:

think

all is OK, but something on gitHub must have happened when I reversed a commit earlier on. No worries. But please someone confirm.

Thanks
[Galaxy Tab 7.7 Android Development] freaksamael:
in v1.1 WiFi seems to be broken (could not be activated). Switching back to 1.0.3
[Galaxy Tab 7.7 Android Development] theerachai:
I have problem with wifi when using this 1.1 . Can't even enable wifi.

Now back to 1.03
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Just gone to bed....

I rebuild now.
[Galaxy Tab 7.7 Android Development] edan1979:
^_^ and i just think to download that for test... go for rest...
[Galaxy Tab 7.7 Android Development] UpInTheAir:
UPDATE v1.1.1

v1.1.1 - Fixed the broken wifi during recompile.......

frandom support & entropy generator included as per v1.1

Please let me know if all is OK.

Thanks.
[Galaxy Tab 7.7 Android Development] Redtabs:
I just flash the upadte, but wifi still broken ;)
[Galaxy Tab 7.7 Android Development] freaksamael:
1.1.1 still has WiFi issue - could not be activated. Just go to rest; it's not a must to have this working right now.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
I'll remove the download link and take a look tomorrow. No idea. Maybe something along with gitHub got screwed up, but it did recompile ok......
[Galaxy Tab 7.7 Android Development] biopsin:
frandom module

Hey, would you mind post the frandom module?, I would like to test this punchmod thingie on cm10..
[Galaxy Tab 7.7 Android Development] UpInTheAir:
The module will be inbuilt, but can extract it from the ROM once flashed. Maybe I can cp during compile, but right now have other issues. Sorry.

Frandom is on the back burner until I have sorted the current build. Lost all my files and gitHub due to corruption (most likely my fault). Have had to restart from scratch and haven't got quite back to v1.0 3 stage yet......can't remember exactly how I successfully added the Voltage Control.....

v1.0.3 doesn't have frandom, but made available again in Post #2 due to the aboves issues
[Galaxy Tab 7.7 Android Development] UpInTheAir:
v4.2.0 ???

The thread has moved on to v4.3.0 and doesn't support older (legacy) versions, unless used for troubleshooting.

You don't need any app, all is taken care of. Just use an app if you want to UV (under-volt) the CPU freq or OC (over-clock) to use a higher max freq. Every device has a slightly different limit. My GPU is quite good, but others CPU are better. For universal compatibility, I generally try to not be too aggressive.

Have a read of Post #3 for more info and links.

But really, I'd just advise to leave it alone for a while and see if the default values are stable for you.
[Galaxy Tab 7.7 Android Development] rezadentevil:
HI

when i switched to official 4.1.2 and flashed the 4.2.0 . i had a benchmark with ANTUTU and the score was 98xx but i flashed the new kernel 4.3.0 . and it is 88xx .

what is that for?

the 3D got 3215 even 2D got 2152 but i dont know why the real score is geting lower than before.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Benchmarks are unreliable. You need to take an average over many tests under exact same circumstances.

Read the change-log..... There is an extra GPU scaling step now, it's 5 instead of 4. You will not have any "real world" performance decrease. The kernel default is for real world use, not synthetic benchmarks. You can change that by running scripts to configure the GPU just for that purpose.

I use a GPU benchmark app 3DMark and run "ice storm extreme".