[GT-P6210][KERNEL][UV/OC]garyd9's GT-P6210 kernel (updated 2012-01-23)

Search This thread

garyd9

Inactive Recognized Developer
Sep 13, 2006
2,643
2,732
53
Pittsburgh, PA
thanks a lot
can you explain me how can i do this?
or if you have a guide...
Sorry for my english :eek:
I'm not being sarcastic or mean.. No, I can't. It's not that I don't want to, it's that I'm not capable. I tried with someone in this (or perhaps another) thread. I'm not a good teacher, as I don't have patience.
 

mike216

Senior Member
Nov 12, 2010
5,127
1,062
cleveland
I'm curious where you learned Gary or is computers job related for you?

Sent from my Galaxy Nexus using xda premium
 

garyd9

Inactive Recognized Developer
Sep 13, 2006
2,643
2,732
53
Pittsburgh, PA
I'm curious where you learned Gary or is computers job related for you?
That's a hard question to answer. I learned back in the days when you had to know hardware to write software. My first programming lang was assembly. I learned "C" as a way to shortcut writing code - I'd write the stuff in C, and then hand-optimize the generated assembly.

For the majority of my life (I'm 41), I've been developing software, and I tend to enjoy life more when I'm closer to the hardware (which is why I enjoy kernels, but hate java.)

Where did I learn? Well.. I remember when I was about 12 years old, I was carrying a stack of punch cards at my school and dropped them. They got all out of order and someone ripped me a new one. They made me put them back in order, but I was happy just sequencing them - I had to understand what they were, what they meant, etc. I learned the basics of software development that day.

From that point forward, I learned by diving into the deep end and figuring it out as I went along. My brain seems to work well like that (at least for software/hardware - not so much in other areas.)

Oh, and it's also my profession.

Gary
 
  • Like
Reactions: mike216

mike216

Senior Member
Nov 12, 2010
5,127
1,062
cleveland
Thanks, I'm not sure my brain is big enough to learn Java :rolleyes: but I'm going to try anyways. I'm a miserable machine mechanic at domino sugar and need a hobby and hopefully one day a way out! Just bough Java for dummys and this is where I'm going to start. I wish I grew up with a smart friend or new someone else that had the same interest. All my friends are dummys and can't move music from there computer to there phone :D
Look I remember periods and new sentences for ya ;)

Sent from my Galaxy Nexus using xda premium
 

kzoodroid

Senior Member
Jun 27, 2010
1,355
264
Kalamazoo
Thanks, I'm not sure my brain is big enough to learn Java :rolleyes: but I'm going to try anyways. I'm a miserable machine mechanic at domino sugar and need a hobby and hopefully one day a way out! Just bough Java for dummys and this is where I'm going to start. I wish I grew up with a smart friend or new someone else that had the same interest. All my friends are dummys and can't move music from there computer to there phone :D
Look I remember periods and new sentences for ya ;)

Sent from my Galaxy Nexus using xda premium

Here are some of the tutorials I've found on building kernels, its a lot harder than people think, well at least for me as I'm linux illiterate. Took me a weekend to get a linux box up and running to the point of connecting to github but then ran out of free time. The android central link is a little dated, the dev was building for the HTC Hero that came out 3 years ago but its still has some useful information.

http://forums.androidcentral.com/ht...how-build-your-own-kernel-package-source.html

http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source

http://source.android.com/source/building-kernels.html
 
Last edited:
  • Like
Reactions: mike216

mike216

Senior Member
Nov 12, 2010
5,127
1,062
cleveland
Thanks a lot kzoodroid! I really like the first tutorial but there all good. We seem to be in the same shoes. I will start on this Wednesdays night and I'll let you know how far I can get. Going to go for galaxy nexus since there's source for it.
Sorry for getting off topic Gary! Will pm you kzoodroid if I make any progress and think I can help and likewise :)

Sent from my Galaxy Nexus using xda premium
 

kzoodroid

Senior Member
Jun 27, 2010
1,355
264
Kalamazoo
Thanks a lot kzoodroid! I really like the first tutorial but there all good. We seem to be in the same shoes. I will start on this Wednesdays night and I'll let you know how far I can get. Going to go for galaxy nexus since there's source for it.
Sorry for getting off topic Gary! Will pm you kzoodroid if I make any progress and think I can help and likewise :)

Sent from my Galaxy Nexus using xda premium

The link to Google's site would be the one to follow for building for the Nexus as that is what the site is meant for.

http://source.android.com/source/building-kernels.html

I was trying to follow the one from Android Central for the GTAb as source code is available from Samsung. The first step for me would be to learn how to build a Honeycomb kernel from source then move on to an AOSP kernel for CyanogenMod or MIUI. Only problem is a lack of time and/or commitment as this is just another hobby and not a priority right now.
 

mike216

Senior Member
Nov 12, 2010
5,127
1,062
cleveland
Hi Gary, I know your busy learning your new device. Was wondering if your still developing for us? Please don't shoot. :)
Take care.

Sent from my Galaxy Nexus using xda premium
 

garyd9

Inactive Recognized Developer
Sep 13, 2006
2,643
2,732
53
Pittsburgh, PA
Hi Gary, I know your busy learning your new device. Was wondering if your still developing for us? Please don't shoot. :)
There isn't much to do. My kernel for HC on this device is extremely stable for me (been about 2 months since I've rebooted it) with most of the samsung bloatware frozen. Unless samsung actually releases the wifi source, I don't see anymore need for developing this kernel.

Like everyone else, I'm waiting for ICS. Then I'll be waiting for the source release.

Gary
 

mike216

Senior Member
Nov 12, 2010
5,127
1,062
cleveland
Thanks Gary! I do agree its smooth as can be. That's kind of where I was getting at. Good to know you'll continue when ICS source call comes. Supercurio put together a display hack for colors and gamma settings.

Sent from my Galaxy Nexus using xda premium
 

skurys

Senior Member
Feb 15, 2013
65
5
Just wondering, I prefer stock JB (XXDM3) but am looking to undervolt. Would this work with JB? If not are there any other kernel options for this tab running stock JB? Thx.
 
Last edited:

loolser

Senior Member
Mar 27, 2013
284
56
Warsaw
Just wondering, I prefer stock JB (XXDM3) but am looking to undervolt. Would this work with JB? If not are there any other kernel options for this tab running stock JB? Thx.

this cant work on jb, if u want to uv your tab u have to buy tegrak>> play store. No one built custom kernel for us :/
 

skurys

Senior Member
Feb 15, 2013
65
5

I tried the free version and it seems to be compatible as the options are there since the latest versions, just require to buy the full app.

But what I mean is, how is it that tegrak can accomplish this on a stock kernel, when other apps such as setcpu etc require a kernel that supports UV/OC?
 

loolser

Senior Member
Mar 27, 2013
284
56
Warsaw
I tried the free version and it seems to be compatible as the options are there since the latest versions, just require to buy the full app.

But what I mean is, how is it that tegrak can accomplish this on a stock kernel, when other apps such as setcpu etc require a kernel that supports UV/OC?

This program support stock kernels, i bought this app n i can confirm u that u can uv cpu n gpu also oc cpu n gpu, but this app isnt support anymore by developers n app offer u poor tweaks.
 

stevenb691

Senior Member
Jul 10, 2012
198
74
Om

Sent from my SM-N900P using XDA Premium 4 mobile app

---------- Post added at 02:30 PM ---------- Previous post was at 02:30 PM ----------

:eek::p;):confused::eek::what::cool::banghead:

Sent from my SM-N900P using XDA Premium 4 mobile app
 

Terrandroid

Senior Member
Nov 29, 2008
247
17
Enschede
Hello, when i try to flash this on stock rom (xxdm3) it hangs while booting. It gets past bootlogo but then its stuck. Tried reflashing but no luck.
Any luck getting this to work? Really want to speed up the tab a little.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    USE THIS AT YOUR OWN RISK.

    I am not installing this kernel on your device. I've even gone out of my way to not give clear directions on how to install it yourself. If you decide to install this kernel, you are assuming all risks involved with it.


    WARNING: THIS KERNEL IS NOT FULLY COMPATIBLE WITH THE LA3 FIRMWARE UPDATE. USING THIS KERNEL WITH THE UPDATED VERSION WILL RESULT IN WIRELESS ETHERNET BEING DISABLED.

    Welcome to my custom compiled kernel for the Samsung Galaxy Tab 7.0 (wifi only.) This kernel will ONLY work for the GT-P6210 model.

    The kernel should be compatible with any stock firmware or anything custom that's derived from the stock firmware. (I refuse to call it a ROM. It's not Read Only.)

    First, proper credit should go to Entropy512 and his SGH-i777 kernels. It's from that work I was inspired to do this, and from that work where I'm pulling ideas and changes (when compatible.) I'd give some credit to Samsung, but they only bothered to post partial source code, and didn't even bother to post it with the proper config flags.

    The idea behind this kernel is and will be to make the device more efficient. Longer battery life while running more smoothly is a Good Thing. I don't care about benchmark scores. In case someone missed that, I DO NOT CARE ABOUT BENCHMARK SCORES. Anyone can tweak a system to get a better benchmark, but that doesn't mean it'll actually work better. Concern #1 is and should always be stability. While some tweaks will be added that allow a user to make the system unstable, they won't be the default.


    Differences from stock currently include:
    • Very slight speed increase in bootup, possibly in other areas
    • Support for init.d script parsing on bootup
    • A real busybox (with proper links) installed to /sbin (and therefore available to the system)
    • Undervolting and minor overclocking support (via SetCPU)
    • android ram_console support (useful for post-mortem of crashes.)
    • standard boot animation support
    • quicker charging with iphone chargers
    Voltage and Clock Adjustments:
    If you choose to tinker with the processor voltages and/or clock speeds, there will be no support in this thread. None. Yes, I'm using it myself, but I won't even support myself if I screw things up. If you find an issue with this kernel, BEFORE you post about it here, re-test after reverting all the voltage and clock speeds back to default. If it works with the default clocks/voltages, then don't waste your time or mine by posting about it to this thread. It's not supported. You can destroy your tablet by messing with the voltages and clocks.

    You'll need a separate tool for voltage and clock adjustments. The one I see most frequently used is "SetCPU" (http://xdaforums.com/showthread.php?t=505419.) I'm in no way affiliated with the author of that tool. You should be warned that SetCPU does not seem to be fully compatible with our tablets: There seems to be no way to bring up the menu in the program. If the program is "honeycomb compatible", this is likely due to the author making assumptions about screen dimensions on tablet devices (fairly common error.) Don't tell me about it. It's not my program.


    ToDo:
    • Find source for the ethernet module and replace it (which will also allow adding more generic optimizations to the kernel.)
    • ethernet adhoc support (not really kernel specific, but not possible without the ethernet module...)
    • Figure out what samsung changed in the LA3 kernel (and didn't publish) so I can get the kernel working with the firmware update.
    Known Issues:
    • Probably not compatible with stock firmware updates. (won't fix.)
    • NOT COMPATIBLE WITH LA3 FIRMWARE UPDATE!!
    Flashing Instructions:
    This is being released as an installable "update.zip" style installer. Stick the .zip file on your device, reboot into recovery, and install it from there. If this isn't enough information, please search and read the forums before changing your device kernel. (Flashing a .zip in recovery is a very basic skill that should be mastered early.)

    Firmware Developers:
    If you want to use it, please link to this thread and give clear indication of which version of the kernel you are including.

    Legal:
    This is based on the linux kernel, and therefore I'm including links to the modified source for the kernel (https://github.com/garyd9/linux_kernel_GT-P6210) and contents of initramfs (https://github.com/garyd9/initramfs_normal_GT-P6210)

    PLEASE DO NOT MIRROR THE DOWNLOADS. IF YOU WANT TO REFERENCE THE KERNELS, PLEASE ONLY LINK TO THIS THREAD.
    4
    Change Log

    20120128:

    • Support for iphone charger detection - pull up to 750mA from detected iphone chargers (1500mA from the samsung charger, and 500mA from everything else including a computer USB port.)
    • Testing USB "high current" charging. This is currently not enabled by default (and until I'm happy that it's stable and safe, I won't be documenting it.)
    20120123: (actually posted on the 24th)

    • Minor adjustments related to the MMC and SD card interfaces (which includes the wifi interface)
    • Starting to pull in mainline kernel fixes (including fixes for some kernel panics/reboots.)
    20120107:

    • disable mali state tracking. Doesn't seem to have any actual impact, but should reduce a small amount of overhead
    • add support for "reboot bootloader." Actually, the support was already there if the command sent to reboot was "download", but several android tools (such as "Quick Boot") want to send the command as "bootloader." This is only useful if you have a desire to reboot your device into "Download Mode" (aka "ODIN mode")
    • Replaced samsung j4fs.ko binary module with one built from sources. No impact other than easier to maintain.
    20120105:
    • added standard bootanimation support (if bootanimation.zip is found in /system/media, it's used. Otherwise, the default samsung animation is used. Standard samsung music is played either way.)
    • It's now possible to tweak the conservative governor sampling rate down to 50,000 (default is still 100,000.) If done, this may make the tablet more responsive in some situations (however, there may also be a negative impact to battery life - everything is a trade-off.)
    20120102:
    • added android ram_console support. After installing this kernel, if you reboot/crash, it should leave a file in /proc called "last_kmsg" that will show the last several kernel messages from before the reboot/crash.
    20120101:
    • undervolting and overclocking support (only up to 1.4GHz)
    If you decide that you want to overclock or undervolt your tablet, you are 100% on your own. You can easily fry your tablet's processor by messing with voltages and clock speeds. If you have issues with this kernel, remove all overclocking and voltage adjustments before you even bother posting on this thread.
    • Use "SetCPU" to change voltages, clocks, and governors. SetCPU can be found on the market and on XDA at the following link: http://xdaforums.com/showthread.php?t=505419 (I am in no way affiliated with the author of that program.)
    20111231 (initial release):
    • build compatible with stock ar6000.ko module
    • init.d script support
    • busybox in /sbin
    • cleanup of kernel config to remove excess debugging (when possible)
    4
    Weekend update. There might not be any more kernel updates for a week (unless there's something critical to do) as I want to spend time time trying to completely replace samsung's ethernet module...

    20120107:

    • disable mali state tracking. Doesn't seem to have any actual impact, but should reduce a small amount of overhead
    • add support for "reboot bootloader." Actually, the support was already there if the command sent to reboot was "download", but several android tools (such as "Quick Boot") want to send the command as "bootloader." This is only useful if you have a desire to reboot your device into "Download Mode" (aka "ODIN mode")
    • Replaced samsung j4fs.ko binary module with one built from sources. No impact other than easier to maintain.
    3
    updated...

    20120105:
    • added standard bootanimation support (if bootanimation.zip is found in /system/media, it's used. Otherwise, the default samsung animation is used. Standard samsung music is played either way.)
    • It's now possible to tweak the conservative governor sampling rate down to 50,000 (default is still 100,000.) If done, this may make the tablet more responsive in some situations (however, there may also be a negative impact to battery life - everything is a trade-off.)
    (I'll be posting a sample boot animation in another post.)
    2
    new version:

    20120101:

    • undervolting and overclocking support (only up to 1.4GHz)
    If you decide that you want to overclock or undervolt your tablet, you are 100% on your own. You can easily fry your tablet's processor by messing with voltages and clock speeds. If you have issues with this kernel, remove all overclocking and voltage adjustments before you even bother posting on this thread.
    • Use "SetCPU" to change voltages, clocks, and governors. SetCPU can be found on the market and on XDA at the following link: http://xdaforums.com/showthread.php?t=505419 (I am in no way affiliated with the author of that program.)