yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S III] klin1344:
FAQ

Frequently Asked Questions​

How do I disable GPU overclock?

By default, the GPU is allowed an extra 480 Mhz freq step, whereas stock only allowed up to 400 Mhz. If you feel that you do not need the extra GPU 3D power, then you can disable it by adding the line:

echo 1 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_pwrlevel

to the file /system/etc/init.d/98kernelplus. Then reboot.

How do I adjust the voltages?

You can control the CPU freq voltages by using an app such as Trickster, System Tuner, SetCPU, etc.

What is frandom? How do I enable it?

Frandom is basically a more efficient random generator. It can be used in place of /dev/urandom and is 10 - 50 times faster. Using frandom will use very little of the kernel's Entropy pool, which in turn will provide better performance and smoothness. Frandom is already built-in to the kernel and enabled via an init.d script. No need to manually enable it.
[Verizon Samsung Galaxy S III] klin1344:
one more...
[Verizon Samsung Galaxy S III] joaquinla1:
First!
[Verizon Samsung Galaxy S III] sivarticus85:
I've never done this...

But SECOND!

Looks awesome!

Edit: I'm getting some screen flicker with this kernel.
[Verizon Samsung Galaxy S III] klin1344:
I have noticed this too...but I think I had it in the CM kernel too if I remember correctly. Anyways, I am currently testing different MDP bandwidth parameters to get it fixed.

But for now, the flicker seems to go away if you check disable hw overlays in developer options.
[Verizon Samsung Galaxy S III] sivarticus85:
Right. It's actually gone in the CM 10.1 kernels... a bug that was squashed some time ago. Other than that though, this kernel is really good! I've noticed better battery after using it last night into this morning.
[Verizon Samsung Galaxy S III] masri1987:
What governors and schedulers is included?
[Verizon Samsung Galaxy S III] klin1344:
I haven't added any yet other than the ones included in CM.
[Verizon Samsung Galaxy S III] Aashiqmunda:
any way you can add a fast charge capability? thank you for the kernel :)
[Verizon Samsung Galaxy S III] klin1344:
No, because drawing anything more than 500mA through USB is dangerous and not recommended.
[Verizon Samsung Galaxy S III] TheBurgh:
About to flash. Does it support fauxsound?
[Verizon Samsung Galaxy S III] klin1344:
Not yet, but I will be adding support for that soon. Note that there is an occasional flicker with this kernel on a handful of apps...it shouldn't be too bad, and I'm currently trying to fix it. But if it gets annoying you can disable hw overlays to fix it.
[Verizon Samsung Galaxy S III] klin1344:
I just finished tweaking the MDP bandwidth parameters, and I think I have found the sweet spot. There is no more flickering at all. Just a few more things I need to add and it will be ready for a new release, probably tomorrow.
[Verizon Samsung Galaxy S III] juancaperez2000:
Which gov/sch do u recommend?
[Verizon Samsung Galaxy S III] klin1344:
I recommended interactive with row if you want performance and alright battery life. But if you are willing to sacrifice a bit of performance for battery life, I recommend conservative with row.
[Verizon Samsung Galaxy S III] juancaperez2000:
Thanks!!
[Verizon Samsung Galaxy S III] klin1344:
Sorry guys, I got really busy today, so I wasn't able to release the update... :(

I'll try my best to find some time tomorrow to build and upload them.
[Verizon Samsung Galaxy S III] klin1344:
6/12/13 Update

The new update is out! :) Below are the changes from 6/8/13.

Changes:
[Verizon Samsung Galaxy S III] sivarticus85:
Running solid so far. Apparently there's an update for the fauxsound drivers to 2.1, while this one has 2.0. Just thought I'd throw that out there.
[MDA III, XDA III, PDA2k, 9090 General] mahatma:
How restore data from backup file after uphrade to newer wersion if restore program saing thath this backup was maden not for hese device? How restore contact list from full backup file.
[MDA III, XDA III, PDA2k, 9090 General] :
This is because u have different regional settings on your device after the upgrade.
[MDA III, XDA III, PDA2k, 9090 General] :
..so you get in setting>regional and change..and after it will be recognised!
[MDA III, XDA III, PDA2k, 9090 General] Mastiff:
Don't do a full restore, though. Only data. I found out that a full restore actually reverted the latest ROM upgrade, so I had to do a hard reset. WLAN range was affected.
[MDA III, XDA III, PDA2k, 9090 General] Joao_Caldeira:
connect the cradle

insert the Blue Angel in the cradle

Use GUEST profile

Full restore

Active sync will then restore it

BUT:

If you just upgraded ROM then it will restore old windows files and you will have to do a hard reset and you have to restore again just DATA :)

Joao Caldeira
[MDA III, XDA III, PDA2k, 9090 General] Raptor:
If you perform a full resotre you WILL be restoring your oder SW version (ie: OS, radio stack, etc..)

You best bet is to install an app such as Pocketdb to export your databases and then import them afterwords.

If all you are concerned with is files, contacts, calendar, tasks, notes, etc... then just perform a full sych with the device with your PC (files, contacts, calendar, tasks, notes, etc...) and the resynch it after the upgrade.

Since it will be necessary to delete your existing partnership, do not delet the files, etc...

Raptor
[MDA III, XDA III, PDA2k, 9090 General] jacoch:
If you use Sprite Backup, there is a procedure on their forum to restore after an upgrade.
[Android Q&A, Help & Troubleshooting] ElunChen:
Now Galaxy Mega Arrival at Cambodia! I Want Root This Model Try With Many Tool But Fail

All Developer Can Give Me Root For This Model?
[Android Q&A, Help & Troubleshooting] sab65:
You're going to have to wait until it is out in more countries. Hopefully a nice developer will then give us root. Until then we must have patience.
[Android Q&A, Help & Troubleshooting] clubtech:
Have you tried mottochopper root exploit? It works on the S600 CPU so it might work on the S400 found in the mega.

It can root the Galaxy S4 snapdragon version,

http://xdaforums.com/showthread.php?t=2252248
[Android Q&A, Help & Troubleshooting] ElunChen:
I Testing With Motochopper / Unlock Root Pro / ERoot / Not Work! :(
[Android Q&A, Help & Troubleshooting] sab65:
Its there now,

xdaforums.com/showthread.php?p=42740545#post42740545
[Android Q&A, Help & Troubleshooting] Geminik:
Followed the steps, but can't get cwm to run
[Android Q&A, Help & Troubleshooting] zsolti256:
Root solved:

http://xdaforums.com/showpost.php?p=42719489&postcount=1

http://www.andromods.com/root-unlock/how-to-root-samsung-galaxy-mega-63-gt-i9205-odin-kernel.html

You're welcome!

How's the phone? Sould we wait for the Note3?

Im on note1 but didnt like the note2
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Kernel+ for AOSP 4.2.2 ROMs​
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
FAQ

Frequently Asked Questions​

How do I disable GPU overclock?

By default, the GPU is allowed an extra 480 Mhz freq step, whereas stock only allowed up to 400 Mhz. If you feel that you do not need the extra GPU 3D power, then you can disable it by adding the line:

echo 1 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_pwrlevel

to the file /system/etc/init.d/98kernelplus. Then reboot.

How do I adjust the voltages?

You can control the CPU freq voltages by using an app such as Trickster, System Tuner, SetCPU, etc.

What is frandom? How do I enable it?

Frandom is basically a more efficient random generator. It can be used in place of /dev/urandom and is 10 - 50 times faster. Using frandom will use very little of the kernel's Entropy pool, which in turn will provide better performance and smoothness. Frandom is already built-in to the kernel and enabled via an init.d script. No need to manually enable it.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
one more...
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] FIESTY2:
Thanks for the work, looks good!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] gvsukids:
Gotta love having another kernel choice. Thanks!

Also no voltage modification.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] rani9990:
I like what I see here, new kernel to flash right after getting back from Great America!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] phoenix2217:
Any one try this in the latest carbon halo exp from today? Won't boot past carbon bout animation for me. Wiped caches and fixed permissions
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] PwnCakes193:
I'm compiling my own build of CM right now and I'll install this right after! Is there any way you could help a newbie learn how to start building a kernel or at least build with linaro? It's very hard to find instructions online that are up to date.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Really all you need to do to compile with Linaro is to set your CROSS_COMPILE to a directory where you have downloaded and extracted the linaro toolchain.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Try flashing the latest carbon (which includes the stock kernel), letting it boot, then reboot to recovery and install the kernel package. Works like a charm for me on CM10.1 and AOKP.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] oriveradel:
Nice kernel the only thing missing is the sound updated drivers for fauxsound to work
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
I will be adding those in the next build, plus a few other things :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] trh1341:
Is this confirmed to work well with carbon ROM halo latest
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Yes, this should work with all aosp ROMs.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] blackwing182:
Color temperature :) would be awesome!!!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
This does have the option to set color temperature. I forked the source after the feature was added to the CM kernel. It is in settings--> advanced.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
I just finished tweaking the MDP bandwidth parameters, and I think I have found the sweet spot. There is no more flickering at all. Just a few more things I need to add and there will be an update. :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] trh1341:
I can't remember if this is a service.jar tweak or a kernel tweak..but there is some tweak to disable throttling.. I would love that;) but I Dont see anywhere in the gs3 forums about it..so maybe you can't:/
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
I remember that thread. It was a framework tweak, nothing to do with kernel.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] trh1341:
Okay that skills anyway!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] matrixzone:
Thanks for this new kernel. Can you suggest some specific settings for getting the maximum juice from the battery?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
The most simple way would be to use the conservative governor.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Sorry guys, I got really busy today, so I wasn't able to release the update... :(

I'll try my best to find some time tomorrow to build and upload them.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] CrackerTeg:
Damn klin! Is this the project you wanted to tackle when you stepped away from that other project you were maintaining?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Not really...this is just the kernel that I have been maintaining for myself that I decided to share. I still only have limited time, and maintaining this really won't take much time after I do the initial stuff. It's just pulling in merging upstream.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] CrackerTeg:
Ah ok. That works.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jayRokk:
Thanks for sharing your work!!

More goodies to play with :)

Thnx
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
6/12/13 Update

The new update is out! :) Below are the changes from 6/8/13.

Changes:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] soblecram:
What's the best app to use to set over clock frequencies?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] gvsukids:
Trickster mod
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Overclocking isn't a feature in kernel+, but you can set the CPU frequencies in the performance control of whatever ROM you are using.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] PwnCakes193:
Awesome kernel so far, only noticing a lot of wakelocks from Google Services NetworkLocationLocator. I'm using my own version of the 6/11 CM. I've tried everything there is and the thing won't go away. I'll try building from scratch tonight and then seeing if the issue persists.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
You can use greenify and hibernate Google maps, which will get rid of those wakelocks.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
New update is uploaded! :)

Changes:

6/16/13

Linux 3.4.49

lowered MDP bandwidth values - flickering is gone now with the original values after the CAF merge

reverted Bluetooth "revert" code from CM - BT seems to be fixed from the latest CAF merge now

updated display code

Updated FauxSound to v2.1 with PowerAmp Amplifier Controls

sync'ed with CyanogenMod source

pulled in latest CodeAuroraForum and Kernel.org patches

Bleeding Edge!!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
New update will be coming later today...stay tuned :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] phoenix2217:
Good stuff. I was still seeing some flickering here and there, not sure if you saw it in your tests. A good way to see it is open CM file manager, click back once and when the toast comes up and says press back again to exit my phone has a seizure.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
I am working on it, and it will be fixed in the update.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
6/19/13 Update

Here is the update for 6/19/13. Enjoy! :)

Changes:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] phoenix2217:
Just flashed on carbon. Works great. Now, does frandom increase entropy or does it make better use of the entropy available? Decided to check my entropy and it's normal for android around 2-300. Thanks for the release

Edit:

To add to this, how does hot plugging work on this kernel? Trickster mod does not show any cores going offline. Are we supposed to keep mpdecision enabled?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
You can read more about frandom here: http://www.billauer.co.il/frandom.html

Also with the interactive governor hotplugging does work because if you use CPU-Z you can see that cpu1 and cpu0 go offline when the load is low.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] PwnCakes193:
I would suggest yet another update, CM just added a lot of new commits regarding BT and CAF updates. I'm loving this kernel though, it's exactly as described.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Yes, I saw that. I will try patch up and release a new update as soon as I can.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
I am currently working on another update - quite a few patches were merged into CM last night to bring the kernel up to date with the lastest frameworks_av merge from CAF. I have added those in and I'm currently testing it.

Also, it turns out the frandom wasn't running in the last update, due to some derpege on my part. :p I didn't even enable in the config yet, and it needs to be launched with an init.d script at startup. I am also testing that, but for some reason my phone fails to boot up with frandom enabled, and adb can't see the device yet in that boot stage. I'll have to investigate further...
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Update: I finally got frandom working, and I've also made sure that the init.d script to launch it works. The whole UI feels WORLDS smoother now :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] PwnCakes193:
Can't wait for the update! Nobody has updated their kernels to include CM's latest so far
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] oriveradel:
Eagerly awaiting for next implementation, great work Sir..
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] blackwing182:
I agree, Using It On MIUIv5 4.2.2 port, super fast like butter!!!!

Can I use this kernel for the MIUIrom? i like this kernel very much!!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Go ahead...I just ask that you provide a link to this thread in your OP. :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] blackwing182:
Sure I will :) thank you!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] gvsukids:
I was using that kernel, but after installing this one I have his kernel boot logo. How can I use yours?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
This kernel uses whatever ramdisk your previous kernel had, so that's why the boot logo stayed the same. I have not made a fancy boot logo for this kernel. If you want the stock boot logo flash an AOSP ROM like CM10.1 and then flash this kernel.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] phoenix2217:
Very excited to see frandom in action. :good:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
I will be releasing the next update once CyanogenMod switches to use media-caf: http://review.cyanogenmod.org/#/c/44442/.

I have already merged the latest patches from CM's 'next' branch that make it compatible with the CAF variant of qcom/media, so I build CM with the media-caf to test as well. If I released the kernel, it would be useless because it would not work on any of the nightlies until they switch to media-caf. I think that it's better to hold off on a release until the ROMs catch up. :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] joeyl:
I stumbled on this kernel by accident and I am impressed by it. Using it with Task650 rom :good:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Nice! :D :good:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
So... it looks like the msm8960 Samsung's have been green lighted to build with media-caf: http://review.cyanogenmod.org/44442

This means that the source I have on my github will now he compatible with the next nightly. So an update will be coming tomorrow evening :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] PwnCakes193:
Say we use a kernel that doesn't have the CAF merge, what would potentially happen?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
I don't know, since I havent tried it before. But I guess that either it would not boot, or you would run into some issues with media playback. But the 'next' branch of the kernel had been merged: https://github.com/CyanogenMod/android_kernel_samsung_d2/commits/cm-10.1 so the next nightly should be all set.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] blackwing182:
wating for next update :).

BTW, i updated my port with your rom, also, added a link in my OP, to this Thread. thank you!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
No problem mate, happy devving! :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Update 6/24/13

The new update is available!

Changes:

6/24/13

​

Linux 3.4.50

lots of updates straight from CAF

many updates from CyanogenMod source; merged 'next' branch for support for media-caf

fixed frandom in build

added init.d script to enable frandom at boot - free the speed increase!

pulled in latest CodeAuroraForum and Kernel.org patches

Enjoy! :D
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] oriveradel:
Awesome running smooth
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] AngerMCS:
Does the new kernel work with CM 10.1 final?

EDIT:

So far so good using the 6/24 version with 10.1 final. Not sure if it has the media-caf extensions or not.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] matrixzone:
Klin,

Asked you this question in cm thread also. Can we have another kernel update for only the stable release?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] polobunny:
??

Works just fine with the stable I believe.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
The 6/24 update works just fine with the stable release. In fact I'm typing this from CM10.1 stable and kernel+ 6/24/13 update.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] PwnCakes193:
Any plan to incorporate CrossBreeder instead of Entropy?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
?? Crossbreeder is a set of scripts that tweak various values for better performance. I included frandom in this kernel, which is a faster alternative to urandom and will reduce the number of entropy requests, optimizing performance. I will not include crossbreeder in my kernel package, because users can just flash crossbreeder if they want. I won't force it on anyone.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] AngerMCS:
Found a small bug with CM 10.1 final and 6/24. When using wired headphones it outputs from only 1 side when playing music through apollo or google music. I reflashed 10.1 without your kernel and the bug is not present there.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
Good catch...this is due to CM10.1 stable not having the latest qcom hardware code. You could either flash the latest nightly, or, for those who want to use CM10.1 stable, I will work on releasing a version compatible with stable.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
I've been using my kernel with the latest CM nightly, and I'm quite surprised withy battery life today.

5 hours screen time with still 10% remaining! :)

I've merged quite a few new CAF updates this morning. They will be coming in the next release. Also, I'm looking into optional GPU overclocking for the next update since it was requested.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] matrixzone:
Can't wait for the release based on cm stable
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] JDC2389:
Love the kernel, GPU overclocking is a good idea. Please include fiops and sio io schedulers in the next version as well, maybe intellidemand too. You rock! :good:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] klin1344:
This is what I posted in the other thread:

I am open to requests, but just let me make it clear:

1. I will NOT be adding in new CPU governors, as they sometimes break more things than they fix. Also, most of the crazy governors out there are not optimized for our krait devices. Interactive and ondemand are optimized, updated, and tested regularly.

2. The same goes for IO schedulers.

3. I don't see a use for overclocking, because our processor can still pretty much handle anything on the play store. Over clocking the CPU will not make games smoother; however, over clocking the GPU could make games smoother. I might look into adding in optional GPU over clocking in the future. ;)

But please remember the goal of this kernel...I want to remain close to CM and CAF source and provide an optimized, bleeding edge experience. If you want crazy governors and io schedulers, over clocking enough to potentially harm your device, and many other features, there are other kernels for that. :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] polobunny:
A lot of kernels have 480MHz for the GPU, seems to work fine for a lot of people (if not all of them). Not too sure why our GPU was spec'ed at only 400MHz if that's the case, but who cares. :p
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mhdsanto85:
Is this kernel working well with latest stable CM10.1?

Thanks in advance.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] JDC2389:
Ok, good to know about the governers. I said g p u overclocking, here's a little insight, I have another device with this same msm8960 s4. On the stock kernel it has an option for 487 gpu, it doesnt stick 100% in trickstermod kernel settings but I have ran 487 and played ps1 games with opengl and no overheating. I think this phone could probably push 500 gpu fairly comfortably at the expense of battery. Like I said though, great kernel. ;)