yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] Grommish:
Most people don't read or understand when an op says to use one gov over another. I can see not wanting 300 posts on why it doesn't work as well.

As for hummingbird cpus and ondemand.. I have a epic 4g with the hummingbird and the kernel I'm running specifically says to use ondemand over conservative (seen it the other way) oc'ed to 1400.. its the way its implemented, not the hardware. Only thing hw wise is the hummingbird in the epics do not like 100mhz typically and will cause sleep of death..
[Galaxy Tab 10.1 Android Development] Entropy512:
Um, that's why there is a default governor. I'm not asking for conservative to be the default, just for it to be available for selection. It's not like selecting it is THAT detrimental to responsiveness. 95% of users wouldn't even notice even if they accidentally selected it, other than maybe noticing longer battery life.

As to ondemand vs conservative for Hummingbird - is that a Gingerbread kernel on your Epic? It might have to do with those kernels having this patch - http://www.spinics.net/lists/arm-kernel/msg99037.html. Right now my Infuse is a Froyo device, that DVS-GPIO stuff isn't in there. (Disclaimer: I still can't figure out exactly how GPIOs are supposed to speed up voltage scaling but apparently they do, and this might be why ondemand makes some Hummingbirds unhappy.) - I wish I could find a copy of the MAX8998 datasheet. Oh well, drifting off topic for the thread with this paragraph.
[Galaxy Tab 10.1 Android Development] pershoot:
following up.

how's 0710 working out?
[Galaxy Tab 10.1 Android Development] used2hvatreo:
No problems to report, lag is gone and no freezes or sleep problems.
[Galaxy Tab 10.1 Android Development] SellswordShev:
just did a full wipe and installed this. I had forgotten to flash the tools zip, and when I flashed that it seems to have wiped out overclocking (no speeds above 1000 mhz available, checked in both setcpu and through /sys/devices/...). I'm using the 0616 zip from here: http://droidbasement.com/db-blog/?p=2054

Not sure if that was intentional, I reflashed the new kernel to get OC back, testing now, seems good so far :D
[Galaxy Tab 10.1 Android Development] pershoot:
tools-0616, flashes boot (stock hc 3.1 kernel + insecure boot).
[Galaxy Tab 10.1 Android Development] SellswordShev:
ah, ok I still have the 5-15 one that seems to not have boot.img, is that still good to use or were there important changes in the updates ?
[Galaxy Tab 10.1 Android Development] pershoot:
u should flash the 0616 (i removed some bin utils as they were present with hc3.1), and then flash the custom afterwards.
[Galaxy Tab 10.1 Android Development] SellswordShev:
gotcha, thanks!
[Galaxy Tab 10.1 Android Development] tonm156:
pershoot,

Just got back to my desk and my tab was off (or unresponsive) I held the power button down for a bit nothing happened. Hitting it a second time the tab rebooted.

using 7/10 kernel set to 1.4 with on-demand.

Here is the "last_kmsg"

I will change to 1.2 for now and see how it goes.

Thanks for your hard work.
[Galaxy Tab 10.1 Android Development] pershoot:
ok ill look in to it.
[Galaxy Tab 10.1 Android Development] pershoot:
ive sent you a test in pm.

please test things out (see if you can reproduce the hang) and report back in a few hours (in pm).

thx.
[Galaxy Tab 10.1 Android Development] njfoses:
Could somebody please elaborate on how to overclock without setcpu? I would rather not use setcpu since its not necessary. Ive seen some posts mentioning echoing frequencies with gscript but i dont know how to do this. Any help is appreciated!
[Galaxy Tab 10.1 Android Development] Grommish:
Pershoot:

I had a shutdown tonight, went to pull /proc/last_kmsg and it didn't exist. What am I doing wrong?

Was pulling down a torrent on decent wifi (not tether)
[Galaxy Tab 10.1 Android Development] pershoot:
Try test1 in the test folder, or wait for the next rls.
[Galaxy Tab 10.1 Android Development] Grommish:
Tried, happened again. Still no /proc/last_kmsg
[Galaxy Tab 10.1 Android Development] pershoot:
U have something else goin on.

Ensure you don't have a bad app or some change up in your system causing this.

Get me a log when it is avail and I can help track it down.
[Galaxy Tab 10.1 Android Development] Grommish:
Doing a factory reset and will letcha know.
[Galaxy Tab 10.1 Android Development] kragebein:
I installed the kernel after the instructions.

When I boot up my tablet now, all i get is glitches on the screen. Like a really broken graphics card type of glitch.

Like the above.

When its finished booting up, the screen goes black.

It seems that I can unlock the device, i can feel it from the haptic feedback. But other then that. nothing works :P

Stock ROM - flashed to Touchwiz UX via ODIN - Flashed with kernel via CWM
[Galaxy Tab 10.1 Android Development] pershoot:
This kernel is not for touchwiz.

Flash back to the stock touchwiz kernel.
[Galaxy Tab 10.1 Android Development] mrmad23:
any active development going on about touchwiz support?
[Galaxy Tab 10.1 Android Development] pershoot:
Not until its properly released for 10.1.
[Galaxy Tab 10.1 Android Development] njfoses:
Anybody? Thanks.
[Galaxy Tab 10.1 Android Development] SellswordShev:
use this script:

FREQGOV='ondemand'
MAXFREQ='1000000'
MINFREQ='216000'

for sys in `ls -d /sys/devices/system/cpu/cpu[0-9]`
do
echo ${FREQGOV} > ${sys}/cpufreq/scaling_governor
echo ${MAXFREQ} > ${sys}/cpufreq/scaling_max_freq
echo ${MINFREQ} > ${sys}/cpufreq/scaling_min_freq
#echo "50" > ${sys}/cpufreq/conservative/down_threshold
#echo "10" > ${sys}/cpufreq/conservative/freq_step
done

Taken from bonsai's init.d script for updating frequency on boot.

Make sure what frequencies/governers are available first using

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
[Galaxy Tab 10.1 Android Development] njfoses:
I appreciate that but i am a noob when it comes to scripting. I can understand parts of the script but i could really use a step by step on this process. If not no big deal i will just use setcpu just trying to learn some new things. Thanks again.
[Galaxy Tab 10.1 Android Development] SellswordShev:
Its a loop that iterates over the cpu's 2 device directories (cpu0, cpu1). It then echos to the cpufreq scaling interface file of both CPUs the: min, max and governor values you have set in the three variablee MAXFREQ, MINFREQ, FREQGOV.

inside the loop are the commands that set those parameters. So if you want to set your max freq to the highest value (on this OC kernel) you will use:

echo 1400000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 1400000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

Hope that explains it, feel free to ask more
[Galaxy Tab 10.1 Android Development] Grommish:
I'm not sure what the aversion to SetCPU is, if the kernel suppports it.

Its free for XDA members, you don't have to buy it from the market, though it'll support the developer

http://xdaforums.com/showthread.php?t=505419

Pershoot, is there any chance the kernel will support Voltage Control? VC is currently set to work on Sammy phones and supports UV as well as OC
[Galaxy Tab 10.1 Android Development] used2hvatreo:
my guess is that he will not support it, at least not at this point. Pershoot is doing all of the voltage stuff internally, and is making it stable and battery efficient for most tabs out there. Mine, and a few others, have a little bit of trouble hitting 1400 on the voltage settings he's providing, but he's been very accommodating in trying to make it work for everyone. I could be wrong, but that is my guess as far as what he's gonna say
[Galaxy Tab 10.1 Android Development] SellswordShev:
Yeah, stuff like that will probably show up in ROMs, definitely not the place for a good stable base kernel.
[Galaxy Tab 10.1 Android Development] Entropy512:
Neither is overclocking. You should not assume stability when overclocking, EVER.

Ideally a kernel supports all capabilities - Running stock, running overclocked, running undervolted, or a combo of OC/UV.

Overclock settings are also never a "one size fits all" solution. Ideally a longterm goal would be one kernel capable of meeting all needs. Right now, unfortunately, if a user prefers battery life to performance, they need to run a different kernel. (Speaking of that, later this week I'll be posting a kernel that is battery-optimized - overclock disabled and conservative governor selectable.)
[Galaxy Tab 10.1 Android Development] Grommish:
The installation instructions call for you to download SetCPU and install it, grant it root and move on.. Changing the init scripts is just the hard way to go..

From the droidbasement.com/db-blog page:
[Galaxy Tab 10.1 Android Development] pershoot:
All, how's 712 working out?

been working it out all day. Working well. More to do though...
[Galaxy Tab 10.1 Android Development] Grommish:
Haven't been able to test it yet.. its on the tab, but not flashed. Work sux.. I'll run whatever the latest version is thru its paces when i get home though.
[Galaxy Tab 10.1 Android Development] njfoses:
Thanks but i need a step back. Scripting is a new world to me. Im comfortable with adb and such but have no idea how to implement these scripts or what to do with them? Sorry to sound like such a noob just trying to learn something new!
[Galaxy Tab 10.1 Android Development] njfoses:
Nothing wrong with setcpu, im just trying to learn something new thats all.
[Galaxy Tab 10.1 Android Development] aliirq:
it is been working great with me no problem no FC at 1.2
[Galaxy Tab 10.1 Android Development] pershoot:
Can anyone who still can't do 1.4 and wants to get there, pls let me know.

Ill try another slight increase, to possibly get you there.

Thx.
[Galaxy Tab 10.1 Android Development] tonm156:
0712 has been working well for about 12 hours with moderate use. Going to try 1.4 just to see what happens.
[Galaxy Tab 10.1 Android Development] SellswordShev:
ah ok, thought you just wanted to know more about the scaling commands at first.

the code snipped I showed is just a shell script. Create a new text file paste the snippet in it and save it as something like setclocks.sh

Now push it to /sdcard directory using ADB. Then pop up a shell using 'adb shell'. Navigate to the sdcard using 'cd /sdcard'. Then execute the script using './setclocks.sh' (dont include the quotes in any of these commands) If you need more help PM me.
[Galaxy Tab 10.1 Android Development] JeffR714:
Not a noob but never really focused on the modules. Can someone possibly explain which ones I would need to just run a smooth fast tab? There all so confusing and I don't know which ones to install. Any help would be appreciated

Sent from Samsung Galaxy Tab 10.1
[Galaxy Tab 10.1 Android Development] njfoses:
Changes? Im running 7/12 at 1.4 with no issues so not sure if its worth changing.
[Galaxy Tab 10.1 Android Development] ad78:
does this new update working now on touchwiz? i already tried twice and im getting garbled screen..
[Galaxy Tab 10.1 Android Development] SellswordShev:
plz read the author's full post before you ask stuff like this :P ...
[Galaxy Tab 10.1 Android Development] Entropy512:
You mean the ones in the "lib" archive?

None - they enable special extra features, like wired USB Sony PS3 controllers and the ability to mount external NTFS drives.
[Galaxy Tab 10.1 Android Development] pershoot:
you know where to find the changelog.

you should always be on the current version, unless otherwise specified.
[Galaxy Tab 10.1 Android Development] Johnex:
Pershoot, could you make a version of your kernel for the 10.1 3G tablet version? I tried running your kernel and it all works fine, just the 3g radio not available.
[Galaxy Tab 10.1 Android Development] pershoot:
send me your device's stock config. i will add the radio drivers in (if the drivers are available), in to the next rls.

also send me a dmesg from your stock running kernel.

thx.
[Galaxy Tab 10.1 Android Development] dsh897:
pershoot looks like we got a wifi version on the TW rom.. could you now set it up for OC? lets leave 3.1 stock in the dust..
[Galaxy Tab 10.1 Android Development] pershoot:
does this kernel not work for that build?
[Galaxy Tab 10.1 Android Development] dsh897:
//WORKED thx.

i thought i had heard it wasnt working on TW roms..

do you mind if i try to package up a custom rom and throw this in there?
[Galaxy Tab 10.1 Android Development] pershoot:
i wouldn't. it would make things unsync (when i do updates).

people can flash this over if they so choose.
[Galaxy Tab 10.1 Android Development] a-money:
alright, imma try flashing this in tw
[Galaxy Tab 10.1 Android Development] njfoses:
Im sure i speak for more than a few of us and im not afraid to say it that the changelog is jibberish. While it may make sense to dev's, us normal folk need it dummied down explaining the changes and why they benefit us. I appreciate all the work you do and please dont take this negatively as that is not at all how i mean to come across, but a clearer explanation would be appreciated by many. Great work btw as i run 1.4 stable all day long so far!
[Galaxy Tab 10.1 Android Development] henryr934:
so can we use this with touch wizz ????did it work ??
[Galaxy Tab 10.1 Android Development] pershoot:
Hold on, I'm making the flashing independant of the current system's ramdisk.

Then u can flash that.

The other poster above you already confirmed working status of the kernel on touchwiz.
[Galaxy Tab 10.1 Android Development] Johnex:
Here is the dmesg right after boot, and the config file i posted in the CIFS thread.

Thanks!
[Galaxy Tab 10.1 Android Development] 5thElement:
How do I get the stock kernel back??? I have gotten nothing but constant freezing and reboots from this kernel.
[Galaxy Tab 10.1 Android Development] pershoot:
i am suspecting something specific on your device/environment, at this point. no one else is reporting this.

1. you are either trying to overclock and your device just cannot do it. clock down.

2. #1 is false and you are getting this erratic behavior at max 1ghz (and you cannot reproduce these crashes at 1GHZ on the stock kernel).

if #2 is true then, this is what i want you to do:

backup your media.

boot the stock recovery

factory reset

boot CWM

flash stock rom

reboot.

boot in.

power down gracefully.

boot CWM.

flash kernel.

reboot.

do not install setcpu, leave things as is.

now observe.

if #2 is false, contact samsung, you may have a HW defect.

for the future,

do not report any issues unless you have a log in hand, otherwise i cannot help you.
[Galaxy Tab 10.1 Android Development] pershoot:
k ill look this over and send you a test to get your radio goin, and then merge to main.
[Galaxy Tab 10.1 Android Development] Johnex:
Could you make me a reverter too, so i can quickly go back to the stock kernel if something goes wrong?

Thanks bro!
[Galaxy Tab 10.1 Android Development] pershoot:
Just flash your stock rom which will flash your stock boot to revert at any time.
[Galaxy Tab 10.1 Android Development] newbapotamous:
so i've noticed something. Before i downloaded Rom Manager to get CWM on my Tab, I used to be able to download using aDownloader for torrents without any problem. After getting CWM and the kernel on my tab, I keep getting a forced shut down and when i turn it back on, it says "Kernel Panic". Just curious, but has anyone else experienced this? Maybe I did something wrong along the way...IDK.
[Galaxy Tab 10.1 Android Development] pershoot:
no idea on what your doing there. cwm has nothing to do with the system's operability.

i would start fresh (use what i posted above (few posts up) to set it back proper), then install kernel, no oc/setcpu, and then try to reproduce, if you are certain you did not receive this on the stock kernel.

after you have deemed yourself issue free with no oc, then you can attempt an oc on your device.
[Galaxy Tab 10.1 Android Development] pershoot:
i cant support touchwiz with this new method, which i will be using moving forward. i need to add some missing piece in my kernel to attenuate for the new ramdisk changes for touchwiz.

sorry guys.

its on the backburner.
[Galaxy Tab 10.1 Android Development] Johnex:
Ok bro! Looking forward to testing! :)
[Galaxy Tab 10.1 Android Development] tonm156:
Pershoot,

I was updating swiftkey for tablets and my tablet just rebooted. I don't know if the reboot was caused but market updating SK but I figured I would pull last_kmsg.

0713 has been working great at stock clock up until this incident.

Thanks
[Galaxy Tab 10.1 Android Development] pershoot:
/data went in to buffer I/O error on your device and pm failed to suspend some devices.

ill look in to it.
[Galaxy Tab 10.1 Android Development] JeffR714:
I'm only asking this cause I'm on my way out to dinner can someone give me some help on getting the 7510 back to stock so I can re-root and start over. I know this might not be the right forum but this is the one I've been following and utilizing Thanks
[Galaxy Tab 10.1 Android Development] pershoot:
read over the forums.

there are numerous guides to do doing this.
[Galaxy Tab 10.1 Android Development] antonyfl:
Go here http://xdaforums.com/showthread.php?t=1119492&highlight=return+to+stock and download Odin and flash the image.

@pershoot: we will patiently await your kernel for TW =) no hurry, better wait until US variant and source becomes available anyways
[Galaxy Tab 10.1 Android Development] JeffR714:
Thanks guys I appreciate the help
[Galaxy Tab 10.1 Android Development] RustyNailz:
Experienced the sleep of death earlier today. Last_kmsg attached in case you need it to troubleshoot.
[Galaxy Tab 10.1 Android Development] matthenry87:
I flashed this kernel and used it for about 24 hours. Got some nice benchmark scores but I didn't like how warm the upper left of my tablet was getting. After 24 hours I nandroid'ed back to stock. I'm sorry I don't have a log for you but I plan on trying your kernel out again soon.

Thanks for all your hard work!

Sent from my Samsung Galaxy Tab 10.1.
[Galaxy Tab 10.1 Android Development] pershoot:
it is always warm on that side (stock,non oc-d,oc-d,etc.).

and yes, its a given things will get warmer when you oc, etc., which goes without saying.
[Galaxy Tab 10.1 Android Development] joeski27:
The upper left would be location of the processor, and that's what happens when an overclocked processor is pushed - it gets warm. Doesn't mean you have to ditch the kernel, you could always try scaling back the OC in SetCPU (maybe taking it back to 1.2 and leaving it on ondemand).
[Galaxy Tab 10.1 Android Development] :
Can someone give a quick tutorial on insmod? I would like to install a module.
[Galaxy Tab 10.1 Android Development] SeanHacker:
@pershoot

hey bro. just wondering if you could get me the stock kernel. i wanted to try something out. i know its the boot image(or at least i think), im new to the tab so i dont wanna screw it up too bad....yet. or do i just flash the boot image from stock rom via odin in PDA or something???
[Galaxy Tab 10.1 Android Development] Grommish:
Pershoot..

The entry says doesn't work on tw ux.. I am running it fine... the euro tw wifi update you made. Did you forget to remove it?
[Galaxy Tab 10.1 Android Development] sic_lic1o1:
Pershoot,

I'm currently running bonsai rom with the built in kernel. Can i flash your kernel on top of that built in kernel?

Thanks
[Galaxy Tab 10.1 Android Development] Jnn1:
+ 1 here. TW with pershoot's kernel and overclocking would rule!
[Galaxy Tab 10.1 Android Development] aliirq:
same question here can I TW with pershoot kernel the release note says it isn't working.
[Galaxy Tab 10.1 Android Development] Grommish:
Its not a question.. I am running the 7/14 kernel on the TWUX rom. Euro wifi only edition.
[Galaxy Tab 10.1 Android Development] pershoot:
If u replaced your ramdisk (with the previous rls's update.zip) then moving forward u can use it.

If not, then it will not work.

So its not supported at this current time.
[Galaxy Tab 10.1 Android Development] pershoot:
Yes.

But no guarantees on how it will run on that rom, and if you experience any instability from external tweaks, etc.
[Galaxy Tab 10.1 Android Development] pershoot:
Search the forums and you'll find it.
[Galaxy Tab 10.1 Android Development] SellswordShev:
any plans on syncing with the 3.2 kernel source that was released? Or do you need the samsung version. Not sure what the kernel adds but the Xoom folk seem happy

http://www.xda-developers.com/android/source-code-for-honeycomb-3-2-available-on-aosp-and/
[Galaxy Tab 10.1 Android Development] pershoot:
id rather see what sammy provides first, and this is just the gpl bits that are required to be furnished.
[Galaxy Tab 10.1 Android Development] pershoot:
all,

how's 7/14 working out?
[Galaxy Tab 10.1 Android Development] Johnex:
Did you include the 3g radio in that release?
[Galaxy Tab 10.1 Android Development] pershoot:
no.

i pm'd u a test.

you have a different ARCH (P4), and i cannot include those bits in here, and have it work properly.
[Galaxy Tab 10.1 Android Development] Johnex:
Totally missed your pm bro, sorry. Going to test it now!
[Galaxy Tab 10.1 Android Development] dsh897:
delete. someone beat me to it.
[Galaxy Tab 10.1 Android Development] tonm156:
While charging (wall) today my GT shutdown. Took a few long presses of the power button to get it booted. I am running 0714 at stock clock.

Here is the last_kmsg

I haven't had a chance to remove some apps to see if that is the issue.

Thanks
[Galaxy Tab 10.1 Android Development] pershoot:
[32085.084965] BUG: sleeping function called from invalid context at drivers/i2c/algos/i2c-algo-bit.c:120

ill look in to it.

please stop com.evernote (evernote) BG process, and then try to reproduce while plugged in to wall.

thx.
[Galaxy Tab 10.1 Android Development] dwa012:
I am getting random reboots on the 7/13 version. Usually when web browsing the browser stalls and it reboots.

Not sure what I need to do.

EDIT:

Attached kmsg
[Galaxy Tab 10.1 Android Development] pershoot:
the current version is not 7/13. it is 7/14.

update your kernel.

ensure you are stable if overclocking, and ensure you do not have any external tweaks causing this (within a custom rom, etc.) and/or a bad app/sudden system change causing this.

post a /proc/last_kmsg when reporting issues.
[Galaxy Tab 10.1 Android Development] joeski27:
[Q] Getting a partial "white noise" screen before boot animation...

...and I'm not quite sure why, but I'm hoping someone has an idea. Here's the story - I used to be running Bonsai rom and for a while many folks in that thread described having that problem (and not a big deal, it does boot up just fine afterwards, just is annoying :o). However after nandroiding my Bonsai system, I decided to do a CWM wipe, followed by a fresh install of the new wifi Touchwiz rom. After reading that many people had success running the 7/14 pershoot on this rom (actually flashing the 7/13 kernel followed by the 7/14, as per pershoot's advice), I decided to do just that. So now I'm running Touchwiz and pershoot's 7/14 kernel, which apart from the weird pre-boot screen issue is running OC just fine. Anyways I thought I'd toss this out there in case someone might have an idea, granted that pershoot isn't officially supporting this kernel with this rom ;)
[Galaxy Tab 10.1 Android Development] 5thElement:
Please does anyone have a copy of the stock kernel? I just want to put back the stock kernel. Thx.
[Galaxy Tab 10.1 Android Development] pershoot:
dude, its all over the place.

when in doubt, reflash your stock rom (that will flash your stock boot). thats all.

or if your on HC3.1 pure, flash the latest tools pack (that will give you stock boot + insecure boot).
[Galaxy Tab 10.1 Android Development] 5thElement:
I am on 3.1 pure. Tools pack? Where is it? and whats secure and insecure boot?
[Galaxy Tab 10.1 Android Development] pershoot:
droidbasement.com/db-blog
[Galaxy Tab 10.1 Android Development] pershoot:
please read what i have written in my post to you, and then come back if you have further issues.