yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] pershoot:
ive made a flashable package, that will run this at boot, and it will be persistent.

at intervals of 5 minutes,

if android.process.media is greater then 25% util, force kill.

if the above is true, and if system_server is greater then 15%, gracefully kill.

log is in /data/local/tmp/log/watch_media.log

http://droidbasement.com/galaxy/kernels/2636/test/watch_media.zip

enjoy!
[Galaxy Tab 10.1 Android Development] pershoot:
works good.

to reproduce, i did a full wipe (while restoring it usually starts creeping up and stays that way).

tail -f /data/local/tmp/log/watch_media.log

[Sun Sep 11 19:54:07 GMT 2011] - starting...

[Sun Sep 11 16:09:20 EDT 2011] - Force killing android.process.media[358]...
[Galaxy Tab 10.1 Android Development] pershoot:
http://xdaforums.com/showthread.php?t=1258302
[Galaxy Tab 10.1 Android Development] notfaded1:
You didn't look very hard...

For dude looking for how to create ODIN archives...

Using google on the first try and found this (and I usually don't know what I'm doin' :p

http://xdaforums.com/archive/index.php/t-926546.html

I've never tried it before but there's only one way to find out... g/l :}
[Galaxy Tab 10.1 Android Development] notfaded1:
090411 Running great on 7510 stock TW!

:D:D:D

Everything is running saweet with 090411 on my stock UX 7510.

Linpack before kernel stock TW

~24 MFLOPS single thread

~50 MFLOPS multi thread

090411 Kernel @ 1000/1000 Mhz (Nice improvement without any overclock)

~35 MFLOPS single thread

~58 MFLOPS multi thread

090411 Kernel @ 1400/1400 Mhz (Getting single thread almost the same as multi before)

~49 MFLOPS single thread

~82 MFLOPS multi thread

Pershoot I think this ones a keeper ;}
[Galaxy Tab 10.1 Android Development] pershoot:
the latest is 0910 not 0904.
[Galaxy Tab 10.1 Android Development] mroneeyedboh:
There shouldn't be any issues running this with the new Overcome Rom right?
[Galaxy Tab 10.1 Android Development] SeanHacker:
you can run it with overcome.
[Galaxy Tab 10.1 Android Development] mroneeyedboh:
I wasnt sure. Thanks Task.
[Galaxy Tab 10.1 Android Development] polppol:
Do i need to hard reset my tab after install Kernel?
[Galaxy Tab 10.1 Android Development] Galaxy_Fan:
NO! It's not necessary.

BTW, if you want to hard reset you always have to do it before, incl. wipe, cache, dalvik.
[Galaxy Tab 10.1 Android Development] funnelweaver:
Pershoot - sent you a PM, would be grateful if you could take a look and get back with me.

Thanks.
[Galaxy Tab 10.1 Android Development] Entropy512:
Try cleaning your screen. I had this happen once a few releases ago, but it never happened again after I cleaned my screen.

Happened a lot in the earlier days of the kernel, but I haven't had it since July except for once after a late-August release which I couldn't reproduce.
[Galaxy Tab 10.1 Android Development] pershoot:
for automodule loading at boot, create a script and stick it init.

use 'oneshot' in the service definition.

you can use 'Watch Media' as a guide.
[Galaxy Tab 10.1 Android Development] Disrespective:
Disregard this, I need to learn to read better. Sorry for the clutter.
[Galaxy Tab 10.1 Android Development] pershoot:
Reread the posting, and you will see the error you made.
[Galaxy Tab 10.1 Android Development] sudhirkhanger:
I installed SETCPU to check clock speed. The maximum is still set at 1 GHz. Do I have to change something after I flash kernel? I am using Starburst Rom.

GT-P7510
[Galaxy Tab 10.1 Android Development] mugen71:
I face the issue with my GT 10.1 3G using "10.1 3G, Touchwiz UX (HC 3.1 (stock); GT-P7500)" kernel.

Any suggestion?
[Galaxy Tab 10.1 Android Development] sixstringsg:
Setcpu has a slider. Slide it higher, hit apply.
[Galaxy Tab 10.1 Android Development] mugen71:
It does have slider, but the max is still 1000MHz in my case.
[Galaxy Tab 10.1 Android Development] sudhirkhanger:
Thanks, I can see the difference. As I understand, this does not have any major hit on the battery?
[Galaxy Tab 10.1 Android Development] IronChef:
Installed Broodcomb ROM followed by latest Pershoot (boot-cm_2636.4_p4_ux-oc-xtra-vfpv3-d16_fp-091011.zip) kernel. Maximum speed I can select in SetCPU is 1000MHz.
[Galaxy Tab 10.1 Android Development] StuMcBill:
I am not sure if this is kernel or rom related, but if it is kernel related would there be any way to increase the power going to the USB dock connector so that USB powered hard drives could be used?

Cheers

Stewart

Sent from my Amiga 500 using Workbench!
[Galaxy Tab 10.1 Android Development] Grommish:
USB is what, 5v @ .5amp typically. External power would be needed. You can get a 120vac adapter or a case enclosure. I dont know if the HW will support it.
[Galaxy Tab 10.1 Android Development] MaximKat:
Sorry for repeating myself, but it seems the previous post went unnoticed. Is it possible to increase the range of the volume slider? Not the global volume, but the configurable range. Currently, with headphones in, there is almost no difference between 20% volume and 100% volume. As a result, it's almost always either too loud, or too quiet.
[Galaxy Tab 10.1 Android Development] pershoot:
im unsure. i'd have to look through the codec and related.

can you try to see if you can tame it with voodoo CP?
[Galaxy Tab 10.1 Android Development] alextso321:
I also have this issue. Using Voodoo CP solved the problem but too inconvenient.
[Galaxy Tab 10.1 Android Development] MaximKat:
Somewhat, but not completely. I can use voodoo to change the overall volume, but the range still sucks.

There is an option in voodoo to use hardware buttons to change volume through voodoo. It does help with the underlying problem, but has buggy UI: voodoo has its own volume slider; the native android slider still appears, but doesn't move, and if you try to move it with the touchscreen it freaks out and goes seriously buggy. In short, it works as a temporary solution, but not something I'd like to use full-time.
[Galaxy Tab 10.1 Android Development] pershoot:
This volume stuff was introduced with touchwiz. Not sure I want to modify it which has global impact (non touchwiz, etc.), but ill look in to it, kernel side.
[Galaxy Tab 10.1 Android Development] Giblet-dono:
Is it possible to ad init.d support in this kernel?
[Galaxy Tab 10.1 Android Development] pershoot:
nothing to do with the kernel.
[Galaxy Tab 10.1 Android Development] StuMcBill:
Ah, so its a hardware limitation rather than a software limitation?

Thanks!

Sent from my Amiga 500 using Workbench
[Galaxy Tab 10.1 Android Development] Giblet-dono:
Ok sorry,

I really tough I read it somewhere,

thanks for the quick reply!

Do you have any idea how to add init.d?

If you ever need me to test a kernel for the P7500XWKH7

Just pm me ;)
[Galaxy Tab 10.1 Android Development] pershoot:
you can use 'watch media' as a guide.

use oneshot in the service definition, if you do not want the service to relaunch.
[Galaxy Tab 10.1 Android Development] Grommish:
Yes, the drive will need more juice than USB can give. This is why externals come with outside power, even on a desktop rig. You CAN get very small power adapters, easy to carry, but you still need a wall plug. My microsoft sidewinder controller actually causes a "high power" warning when I plug it up to my usb adapter. I wonder if solid state drive would work since you'd think they'd draw less power.
[Galaxy Tab 10.1 Android Development] Disrespective:
It seems the latest kernel has no Root...

I rooted fine originally, got a few apps set up and then flashed the latest kernel (091011) and lost it. SuperUser still existed as an app but no apps were allowed privileges.

I am not using a custom rom of any kind.

I reflashed and downloaded the latest Kernel a couple of times to no effect. Also reflashed the original Root file to no effect.

As a last resort I tried to flash an earlier kernel (090411) and have Root appearing now.

I haven't tried to install the 091011 version again yet and i'm not sure if it's a bug or my failings.
[Galaxy Tab 10.1 Android Development] pershoot:
root has nothing to do with kernel.

the only thing i do, is give you insecure boot (adb root shell).

i dont even touch /system during the flash process.
[Galaxy Tab 10.1 Android Development] Disrespective:
I thought that was the case but i'm not clued up enough to guess.

Not really sure what's going on but i'm stoked with all the work you've done. Much appreciated.
[Galaxy Tab 10.1 Android Development] nakedninja42:
often times ive noticed that i need to launch superuser before launching an app that needs privileges.only need to do it once a reboot. nothing to do with the kernel.
[Galaxy Tab 10.1 Android Development] Disrespective:
Thanks for the tip. Will keep that in mind.
[Galaxy Tab 10.1 Android Development] pershoot:
galaxy tab 10.1 - 2.6.36.4 - http://droidbasement.com/db-blog
[Galaxy Tab 10.1 Android Development] polppol:
My device not wake up some time if i turn on Wifi

so i have to press power for 10sec to reboot my device?

(stock P7500 rom)
[Galaxy Tab 10.1 Android Development] pershoot:
set wifi to never sleep.

ensure you are on the latest kernel.

ensure you are using the correct kernel for your device.

post logs.
[Galaxy Tab 10.1 Android Development] pershoot:
cleanse yourself properly with the stock recovery, if after doing the above does not help. then come back and post a /proc/last_kmsg for investigation in your specific situation.
[Galaxy Tab 10.1 Android Development] polppol:
I'm using "boot-cm_2636.4_p4_ux-oc-xtra-vfpv3-d16_fp-082611.zip" P7500 TW UX

I'll try to update Kernel to last version first and see if it fix

ps. I also attached last_kmsg within this post
[Galaxy Tab 10.1 Android Development] pershoot:
thats too old.

update to the latest. the sleep issues with the odd ended 7500 have been drastically reduced, if not completly eliminated at this point, starting with 0904 and greater.
[Galaxy Tab 10.1 Android Development] alextso321:
Thanks for your hard work.

I'd like to ask the issue of volume cannot be changed after plugging in the headphones get resolved or not.

Would like to know it before flashing it. Thank you
[Galaxy Tab 10.1 Android Development] pershoot:
If I revert voodoo, it would put it back to the way it is in stock. Would that help matters? It may. Would that kill some features people use? Probably. Would there be a lynch mob after me? Probably, hehe.

If this issue is too important to you, then I would stay on the stock kernel, unless majority rules for me to take it out.
[Galaxy Tab 10.1 Android Development] wlighter:
don't revert. i wan voodoo:D
[Galaxy Tab 10.1 Android Development] polppol:
'

But i Just get this file yesterday may be i click on the wrong link :P

so, flashing 091311
[Galaxy Tab 10.1 Android Development] pellegj:
Screen dim?

Hi pershoot.

First of all let me say i love your work.

So, did you introduce some kind of screen dimming in the last 2 versions?

The reason i ask i that with both these 2 i get autodimming that i did not get before, reverting back to 090411 and the dimming goes away.

I have 3G 7500.
[Galaxy Tab 10.1 Android Development] jaybizza:
Just Asking Pershoot?

Thanks Pershoot for ALLL YOUR HARD WORK!!! It is GREATLY APPRECIATED!!Is it possible to hook up USB speakers to SGT and have them actually put out some sound?? When I plug them in they power up and the hard keys on the speakers operate the tabs volume and play options but no sound..Am I missing something with the Kernel or is it that I'm just not Qualified to understand this??? Any help on this would be well APPRECIATED..Thank You AGAIN!!:o
[Galaxy Tab 10.1 Android Development] pershoot:
It is not a new feature. The screen always dims before screen off. The light sensor (if u have it enabled with powersave) will also adjust and dim. All normal.
[Galaxy Tab 10.1 Android Development] pershoot:
I'm unsure if your specific usb speakers are supported.

Run a dmesg when you plug it in, and also list the model of speakers,x and I can look if there is support and/or support to route audio, kernel side.
[Galaxy Tab 10.1 Android Development] pellegj:
Yes it does, however i set the screen timeout to 10 minutes and it dims after about 15 seconds of not touching the screen with the 2 latests kernels :(

With 090411 it wait's to right before screen is turning off.
[Galaxy Tab 10.1 Android Development] jaybizza:
When I plug speakers in it is saying "High Powered Device connected" (Unknown USB device connected)..Sorry I'm a Semi Noob so when u say Dmessage I'm assuming the error message I posted above.. They are Logitech V20 notebook speakers...Any help would be Unbelievably APPRECIATED!!! By the way..I just installed the Voodoo app that I've been missing since I used your kernel on my p1000 SGT 7".. Your work is FREAKIN AMAZING!!Thanx for getting back so quick and for ALL U DO FOR ALL OF US HERE!!

With the Voodoo App My Sennheisers sound so UNBELIEVABLE..And I'm using a headphone amp to boot!!Thanx Again Pershoot!!
[Galaxy Tab 10.1 Android Development] fczeuner:
Please keep the Voodoo. Its the only reason I root. Thanks great Kernel.
[Galaxy Tab 10.1 Android Development] keithce:
Voodoo Sound

delete plz.
[Galaxy Tab 10.1 Android Development] Giblet-dono:
I found watch media, but I don't have any clue how to edit it so that it adds init.d

Can you give me more pointers?

Scratch that, v6_fix.zip from the broodcomb rom thread should add init.d

!!!

And on your website you say that with a simple command:

adb shell echo 1 > /sys/class/power_supply/battery/force_usb_charging

we can enable usb charging.

But after every reboot I must re-run the script!

is it possible to make the setting stick?

Or make a script run on boot to do it for me?

Thanks in advance =D!
[Galaxy Tab 10.1 Android Development] pershoot:
Pellej, sounds like a fluke and/or rom issue.

Works fine over here.

Post logs of the incident if you feel it is kernel related, on 0913.
[Galaxy Tab 10.1 Android Development] pellegj:
I'll try that when i get home again.
[Galaxy Tab 10.1 Android Development] pershoot:
flash watch_media.zip

in /data/local/scripts/watch_media.sh (after #!/data/local/system/bin/busybox), add this:

if [ `cat /sys/class/power_supply/battery/force_usb_charging` -ne 1 ]; then
echo 1 > /sys/class/power_supply/battery/force_usb_charging
fi
[Galaxy Tab 10.1 Android Development] pershoot:
if its high powered it may not work.

yea the support may not be there for it.

adb shell dmesg > dmesg
[Galaxy Tab 10.1 Android Development] Giblet-dono:
thanks! this works!

now I thought init.d would be added through the fix script.. but it didnt..

whats the code for it?
[Galaxy Tab 10.1 Android Development] pershoot:
as stated, check watch_media.zip inside kernel folder. unpack_add_init.sh. towards the end (the service definition). oneshot for scripts you want to run once and not have it keep launching.
[Galaxy Tab 10.1 Android Development] StuMcBill:
I noticed last night when using my tab in the dock, when you connect the headphones to the 3.5mm connector on the dock, voodoo doesn't recognise that the headphones are connected.

They only show as connected when they are connected to the 3.5mm port on the actual tab.

I realise that this may be a hardware limitation but I just thought I would ask!

Sent from my Amiga 500 using Workbench
[Galaxy Tab 10.1 Android Development] pershoot:
check with supercurio.
[Galaxy Tab 10.1 Android Development] Giblet-dono:
sorry I really try to understand but Im not good in scripting etcetera

maybe if I explain what I want..

a few days ago there was a post on the frontpage which there were lots of tweaks.. some of them were in build.prop.. i did those and my tab is MUCH FASTER

there were also tweaks for init.d

so what I need is a file (flashable or non flashable) in which I can add several lines of script which will make my tab even faster..

sorry for being so needy... I hope you can help me

one extra "bug" I found in your kernel is that overclocking only overclocks one core!

checked using system tuner pro!

maybe the devs in the sensation thread can help with that the sensation had the same problem

you are btw VERY fast in answering
[Galaxy Tab 10.1 Android Development] pershoot:
both cores are active when cpu1 becomes active. when cpu1 is not in use, it shuts off, leaving cpu0 alive.

this is while quadrant is running:

root@android:/sys/devices/system/cpu/cpu1/cpufreq # cat scaling_cur_fre

cat scaling_cur_freq

1400000

root@android:/sys/devices/system/cpu/cpu1/cpufreq # cd ../../cpu0/cpufr

cd ../../cpu0/cpufreq/

root@android:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_fre

cat scaling_cur_freq

1400000

works fine. both cores are not active all the time. this is for power saving.
[Galaxy Tab 10.1 Android Development] pershoot:
for the init stuff:

you should go through what i have implemented and apply it to your liking. you will learn as you look through it.
[Galaxy Tab 10.1 Android Development] polppol:
How to config 3g watchdog in order to work with this kernel?

Do I need to check "Use pre froyo counting interface" in advance option?
[Galaxy Tab 10.1 Android Development] pershoot:
i dont believe you need to.

the watchdog stuff should work as is. but you should wait for others with a 7100/7500 to chime in with their configuration.
[Galaxy Tab 10.1 Android Development] polppol:
Ok I uncheck this option and it start counting my 3g traffic thanks!!
[Galaxy Tab 10.1 Android Development] FillTheVoid:
Going to try this tonight, got a feeling I'm gonna mess something up lol. All these steps are necessary to allow for usb charging and have it stick after reboot correct?
[Galaxy Tab 10.1 Android Development] deltatyger:
I use My Data Manager and it works fine.
[Galaxy Tab 10.1 Android Development] sudhirkhanger:
What does kernel module do? Do I have to do anything on Task650 Rom (I read something about wifi) or it works by default?
[Galaxy Tab 10.1 Android Development] rlarsen462:
Question re: USB charging...I've been using various iterations of this kernel for a month and I've ALWAYS retained USB charging...what is with all the discussion of "enabling" USB charging? Isn't it already enabled?
[Galaxy Tab 10.1 Android Development] pershoot:
it always trickle charged.

now you will get actual charging from usb, and the gui will notify you, if enabled during runtime.
[Galaxy Tab 10.1 Android Development] MaximKat:
I'm not sure how it works, but is it possible to make this optional? Maybe some script that a user can edit to revert sound processing to stock?

Also, when I update the kernel, do I need to update extra modules (cifs, specifically) as well?
[Galaxy Tab 10.1 Android Development] pershoot:
No, cannot be optional. Processing isn't on by default, just default boost.

Only if you need the functionality of them.
[Galaxy Tab 10.1 Android Development] rlarsen462:
So does this functionality persist after a reboot? It doesn't negate the ability to transfer files, right, it just boosts the amount of charge delivered over USB?

And all I need to do is enter USB debugging mode and then from PC command line enter:

adb shell echo 1 > /sys/class/power_supply/battery/force_usb_charging

Correct?

Thanks, as always pershoot. Another question, how the hell does one donate to you? I couldn't find a link on XDA or droidbasement.
[Galaxy Tab 10.1 Android Development] pershoot:
it does not persist. only during runtime.
[Galaxy Tab 10.1 Android Development] MaximKat:
Yeah, sure, I mean do I need to update the modules I use every time I update the kernel?
[Galaxy Tab 10.1 Android Development] pershoot:
you should, but not required unless a dependancy change was made or for actual module changes.
[Galaxy Tab 10.1 Android Development] pershoot:
confirmed working just fine on the P7500.
[Galaxy Tab 10.1 Android Development] wojmzy:
14 hours and no problems

no black screen issues

no wifi problems

no 3g troubles

thank You pershoot
[Galaxy Tab 10.1 Android Development] notfaded1:
This is great! Why on earth would Samsung not have it charge like this to begin with? Is there a reason or just an oversight?
[Galaxy Tab 10.1 Android Development] pershoot:
The charge off usb due to draw and other variables won't be consistent across.
[Galaxy Tab 10.1 Android Development] FillTheVoid:
I am having trouble with command

adb shell

echo 1 > /sys/class/power_supply/battery/force_usb_charging

Works fine from my Laptop, but when in a terminal on the tab I get

adb shell

error: device not found

I did give the terminal su permission. Anything special I have to do when running this script from the tab itself. I would like to be able to do this "on the go" since it is not persistent after reboot. Thanks.
[Galaxy Tab 10.1 Android Development] pellegj:
In terminal you dont need to issue the "adb shell" command, just straight to echo command.
[Galaxy Tab 10.1 Android Development] FillTheVoid:
*smacks self in face* Thanks!
[Galaxy Tab 10.1 Android Development] MaximKat:
So is this problem with volume control a bug of voodoo, a bug of voodoo port to the tab, or is it supposed to be like that? Should I report the problem to the developers of voodoo?
[Galaxy Tab 10.1 Android Development] pershoot:
Did you follow the instructions in the first post about which environment to be in if you encounter issue?

Did you try all the other noted thing (wifi to never sleep, etc.).

You dhd bus timed out, but there is no indication as to why, but it did resume and this looks to have caused mxt calibration to kick off. That or there is 2 sep. Events going on at the same time.
[Galaxy Tab 10.1 Android Development] pershoot:
I also see you tilted the tablet and then turned it on (accelerometer resumed).

Is this the case?

There could be a bug with that particular scenario.
[Galaxy Tab 10.1 Android Development] RustyNailz:
Tablet was on the charging dock overnight. I don't recall if I removed the device from the dock before pressing the power button. Touch screen was unresponsive, but I was able to eventually unlock it by continuously swiping on the screen. Once unlocked, things seem to be back to normal other than wifi.

Yes, wifi sleep policy is set to Never. However, when this issue occurs, wifi seems to be affected and gets stuck in a state where it can't be successfully turned off.

I have not reverted to stock to attempt to reproduce b/c the issue only appears sporadically.
[Galaxy Tab 10.1 Android Development] pershoot:
Were you using interactive?
[Galaxy Tab 10.1 Android Development] RustyNailz:
Yes. However, I believe I initially reported the issue before this was even an available option on your kernel.
[Galaxy Tab 10.1 Android Development] pershoot:
Go back to ondemand.

Try to show me a more clearer picture (in log format), from coming out from the dock and this issue ocurring.
[Galaxy Tab 10.1 Android Development] sts_fin:
I have the same issue. I can confirm that this happens. And im using "ondemand". When it happens I have to sometimes restart the tab that I can get the touchscreen working again.
[Galaxy Tab 10.1 Android Development] RustyNailz:
Ok. Switched back to ondemand, and I'll post another log the next time this occurs.
[Galaxy Tab 10.1 Android Development] pershoot:
the dock is apparently problematic.

ive seen this similar issue in passing in stock (in these forums).
[Galaxy Tab 10.1 Android Development] pershoot:
logs, or there is nothing i can do for you.
[Galaxy Tab 10.1 Android Development] pershoot:
i want you both to go back to stock properly (with a nice cleanse) + latest kernel + ondemand, reproduce this, and then send me full logs so i see the full context.

there is no way for me to know what other changes have been introduced and it is difficult to troubleshoot in that regard.
[Galaxy Tab 10.1 Android Development] yalkowni:
Can you please put voodoo sound in this kernel
[Galaxy Tab 10.1 Android Development] pershoot:
install voodoo cp from market. watch in amazement, hehe.
[Galaxy Tab 10.1 Android Development] RustyNailz:
Is this the best way to get back to stock?
[Galaxy Tab 10.1 Android Development] jfl0wers:
I put init.d support together as a CWM update that you can download in this thread:

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