yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] af974:
Dmesg attached.
[Galaxy Tab  Android Development] af974:
I'm getting the same error with interactive, it could be that i'm doing something wrong?

I'm doing all by terminal, i'm gonna try another terminal app.
[Galaxy Tab  Android Development] -Mr. X-:
Well thats not good, Smartass depends on interactive, i had a brain fart there and forgot to mention that. this is why i posted both in one shot.

But if you cant get interactive to install then you wont be able to get smartass too.

If you want to throw me a dmsg of the interactive as well fi you cant get it to install. and i don't think you are doing anything wrong.
[Galaxy Tab  Android Development] af974:
This is dmesg for interactive:

dmesg | grep interactive
[ 2593.847022] cpufreq_interactive: Unknown symbol nr_running (err 0)
[Galaxy Tab  Android Development] -Mr. X-:
Thank you, let me investigate this, thanks for the help!
[Galaxy Tab  Android Development] af974:
Anytime buddy, thanks to you for this, i'm waiting for smartass from a long time. :)

Take your time, i will check this thread for any news and i will test asap.
[Galaxy Tab  Android Development] -Mr. X-:
Alright i recompiled unstripped versions.

These should work. Install in the order you see on first post :)

I hope lol
[Galaxy Tab  Android Development] af974:
No luck my friend :(

dmesg | grep interactive
[ 7468.721184] cpufreq_interactive: Unknown symbol __put_task_struct (
[ 7468.725687] cpufreq_interactive: Unknown symbol sched_setscheduler_
rr 0)
[ 7468.726887] cpufreq_interactive: Unknown symbol nr_running (err 0)
[ 7726.910534] cpufreq_interactive: Unknown symbol __put_task_struct (
[ 7726.912113] cpufreq_interactive: Unknown symbol sched_setscheduler_
rr 0)
[ 7726.913255] cpufreq_interactive: Unknown symbol nr_running (err 0)

Here's my terminal command

#su
#insmod /system/lib/modules/cpufreq_interactive.ko
[Galaxy Tab  Android Development] -Mr. X-:
alright i think i may have actually tracked the issue down with interactive atleast. nr_running was undefined, the modules build fine with make modules but it threw the error if i atempted a full build.

so that should take care of the dmesg issue for that, unless its undefined in this kernel was compiled wiht it undefined in sched.c in if thats the case then i will have to work around that.

We could also try using richardtrips interactive module for the desire, just change the versionmagic. If this fails.
[Galaxy Tab  Android Development] -Mr. X-:
Alright attempt 3 is up, hope they suck less.
[Galaxy Tab  Android Development] crisvillani:
Don't mean to be a noob, but it seems may tab doesn't have a system/libs/modules folder :confused:

Will it work if i just create one or am I missing something ?
[Galaxy Tab  Android Development] af974:
Same as before with 3rd attempt.....sorry bud.

dmesg | grep smartass
[12953.735293] cpufreq_smartass: Unknown symbol __create_workqueue_key (err 0)
[12953.735839] cpufreq_smartass: Unknown symbol destroy_workqueue (err 0)
[12953.736346] cpufreq_smartass: Unknown symbol sysfs_create_group (err 0)
[12953.736835] cpufreq_smartass: Unknown symbol cpufreq_unregister_governor (err
0)
[12953.737393] cpufreq_smartass: Unknown symbol nr_running (err 0)
[12953.737827] cpufreq_smartass: Unknown symbol sysfs_remove_group (err 0)
[12953.738319] cpufreq_smartass: Unknown symbol __cpufreq_driver_target (err 0)
[12953.738768] cpufreq_smartass: Unknown symbol get_cpu_idle_time_us (err 0)
[12953.739365] cpufreq_smartass: Unknown symbol queue_work (err 0)
[12953.739854] cpufreq_smartass: Unknown symbol cpufreq_register_governor (err 0

dmesg | grep interactive
[12905.617134] cpufreq_interactive: Unknown symbol nr_running (err 0)
[Galaxy Tab  Android Development] -Mr. X-:
then the kernel dev did not put in the 600MHz so the freq table is not optimal.

I will fix this now...

Try attached
[Galaxy Tab  Android Development] -Mr. X-:
Oh yah forgot to mention, oc kernel don't have recovery in it i saw.
[Galaxy Tab  Android Development] ssserpentine:
Thanks for the hard work. Its not working for me. Still fc setcpu. I will try tom. I am doing something wrong i am sure.
[Galaxy Tab  Android Development] af974:
Work like a charm here, thanks.
[Galaxy Tab  Android Development] -Mr. X-:
good to know, ask the dev to put in 600MHZ in the freq table and use my patch and u guys can have it built in :)
[Galaxy Tab  Android Development] nobleskill:
Yup I just did it up. Lol was a nice way to start my day...

Sent from my GT-P1000
[Galaxy Tab  Android Development] ssserpentine:
Thank you so much, mr x.

First thing i did this morning was erase all previous work and start again.

That god i have smartass again. Will eait for appropriate dev to fix frequencies, then i will be set.
[Galaxy Tab  Android Development] ssserpentine:
It seems like you got some skills.

Interesting in helping fix vendetta online for non tegra devices? I am galaxy tab specific. I have developers permissiin, but need lotsa help.
[Galaxy Tab  Android Development] ssserpentine:
Jus gotta remember not.to restart for now, lol
[Galaxy Tab  Android Development] -Mr. X-:
My skills are far from great, right now i cang get a damn basic kernel to boot its not mounting the file system :( recovery *****es and it hangs on SGT boot screen.
[Galaxy Tab  Android Development] ssserpentine:
R u buliding new kernel for gt?

Qick.question. When i reboot, i loose smartass and have to run again. Did i do somethin wrong, or is what it is at moment? For me anyway.
[Galaxy Tab  Android Development] -Mr. X-:
u need to install the init.d scrip in the first post

and yah im trying to build a tab kernel

i have it patched up to main line. I know it will work if i can figure this issue out. i had the same issue with overcome froyo kernel source but i have no idea how i fixed it.
[Galaxy Tab  Android Development] ssserpentine:
I know how you feel. I have no dev skills onky graphic design. I seem to fall heae first into solutions with no idea how to replicate.
[Galaxy Tab  Android Development] ssserpentine:
I have allways been confused about init script. Especially last instruction. I have t give it somesort of persimmsion?chmodd?

Also, place it where, exactly? Root of sd? Understand the take txt part off
[Galaxy Tab  Android Development] nobleskill:
Fyi the unit.d script is there forever now unless you reflash the system partition so it must be something deeper with the unit.d scripts not being run?

I'm really no expert but by working it back I'm guessing they just are not called.

Sent from my GT-P1000
[Galaxy Tab  Android Development] ssserpentine:
I have to be honest. I never ran thar scriot in the first place. Ever.

I did have it on my internal sd with no .txt taken off. I removed it tryin to get new smartass working.

I guess before oc kernel i just stumbled upon making it work.
[Galaxy Tab  Android Development] ssserpentine:
If you coukd help me chmod 775 it, like explain to a capable.retard, ill appreciate it. Starting from okay, you just downloaded 90modules.txt, now. . . . . .
[Galaxy Tab  Android Development] -Mr. X-:
download the 90modules.txt and take .txt off the end

then place it on your device in /system/etc/init.d/

then in a terminal on the device type in

su

then

chmod 755 /system/etc/init.d/90modules

and you're done.
[Galaxy Tab  Android Development] ssserpentine:
Ahhh, it in there tho i dont know how. :)

Ran terminal.

Rebooting. . . . .
[Galaxy Tab  Android Development] OsitKP:
Hi. I've used your patch. Modules are in proper folder and inserted to kernel, but I can see no difference. I use OC 2.0 RC1 and Chainfire's CF-Root-TAB7_XX_OXA_JQ1 kernel. What is going wrong?
[Galaxy Tab  Android Development] ssserpentine:
After reboot.

Gone! No setcpu smartass profile. Darn!

The new oc is so unstable, if i didnt need the 1.4 for my tegra games, would go back i. A flash.

Thanks for the work mrx.

I will keep tinkering, you keep up the awsome work.
[Galaxy Tab  Android Development] nobleskill:
Thaats what I ment tho! From the first time you flashed the oc modules and script in they will stay untilled you do a full reflash (well the system files anyway) it will stay there. Kernel /= system files/scripts unless he install zip also has files to alter in the system but this will never be done by just flashing a kernel through hidemall (prolly wrong spelling, sorry)...

The problem here is that this kernel which controls some of the bootlace doesn't tell the system it wants to run the scripts as its booting so we either ha e to tell the system what the script normally would or go without... lol know my choice! I'm finding a massive e difference with the extra speed and smartass.. gingerbread was already rocking it for me this has just made it that little bit sweeter!

Thanks Mr.X!

Sent from my GT-P1000
[Galaxy Tab  Android Development] ssserpentine:
I just set terminal to run these comands upon startup.

su

insmod /system/lib/modules/cpufreq_interactive.ko

insmod /system/lib/modules/cpufreq_smartass.ko

cat proc/kallsyms | grep nr_running

now i can restart and keep smartass running easier.

Now all we need is proper scaling
[Galaxy Tab  Android Development] OsitKP:
Script in init.d does the same. Modules are loaded (alive). But tell me, how can I change the core speed. SetCPU shows highest available value - 1 GHz.
[Galaxy Tab  Android Development] ssserpentine:
You need a kernel that supports overclocking
[Galaxy Tab  Android Development] ssserpentine:
Can someone help me write a script that runs upon starting device, that opens terminal and runs above posted comands? Then shutsdown terminalemulater
[Galaxy Tab  Android Development] OsitKP:
Sounds strange. Topicstarter, imho, has the same device (GT-P1000). What then these modules are for, when OC kernel works perfectly w/o 'em?

All you have to do is to put the text file (it should have no extension) with your commands into the folder /etc/init.d

On every boot this script will run automatically. BTW, the zip for CWM in the first post attachments does the same.
[Galaxy Tab  Android Development] ssserpentine:
smartass does not overclock. It is makes the cpu rev up and down smoother, and stay in lower frequencies more. There for vastly.impoving battery life and performance.

As to the other.

Read through the thread to understand my problem better. Your suggested way does not work.

Thanks for the input tho. :)
[Galaxy Tab  Android Development] OsitKP:
1. Thanks, now it's clearer. :D

2. What do mean writing "it doesn't..."

It SHOULD work. If you already have interactive_smartass_flashable_2.6.35.7_SIGNED.zip extract "90modules" file from the script folder and put it in the /etc/init.d ("/" means root of your device, not sd-card). For example, in my folder init.d there are 3 script files, and all of 'em run every boot. How can't it work for you?
[Galaxy Tab  Android Development] ssserpentine:
I appriciate you willingness to help, and your kindness.

Go back and read all the interactions between myself and mrx in the last couple of pages.

Maybe you will have a clearer understanding of the issue. I need to manualy run these scripts upon startup because of my kernel.2.3.3 oc/uv 1.4ghz

More info in last few pages.

What i want is a script that opens terminal emulater, runs said comands, and shutsdown terminal emulater. Upon device startup.

Its not a big deal. Was just curious as i have terminal emulater set to run set comands upon startup of terminal emulater.

I have no cwr.

Adressess have been changed in my kernel, so mrx startup comand script does not work.

I say this next part with no ill will or sarcasm. Look to my info on the left. I am not a noob, newish, but have some knowledge.

I need exactly what i asked for. If someone can help, much appriciated. As I do not know how to do it myself.

Again its not a big deal, was just curious.
[Galaxy Tab  Android Development] nobleskill:
There is a program call scriptit or something to that effect on the market I believe

Sent from my GT-P1000
[Galaxy Tab  Android Development] -Mr. X-:
I flashed that CO kernel. I dont liek it its very sketchy and unstable, however i can see that the shell is not rooted so the initd script will fail to install the modules on boot.

add su above the insmod commands in the script see if that helps but its probably too ****y in general.
[Galaxy Tab  Android Development] nobleskill:
Yeah I'm finding its working better now for some reason .. benchmarked @ 1950 or so but I have noticed a much better browser experience and even my keyboard seems to keep up better if that's makes sense?

Anyways, did the su addin but didn't help. I'm actually gonna keep using it and just monitor battery use and temp but I still think its merits outway its shortcomings. Thank you again for your work here mate.. lol I have enjoyed learning/refreshing my mad skillz ... lol.

Sent from my GT-P1000
[Galaxy Tab  Android Development] ssserpentine:
It is very unstable. And sketchy.

But i need 1.4ghz for vendetta online.

1.6 or 1.8 would be better.

Why has no one oc'd higher than 1.4?

Is it possible?
[Galaxy Tab  Android Development] ssserpentine:
Do you have a problem with quadrant not shading correctly?
[Galaxy Tab  Android Development] DarkPal:
1.6ghz was achieved but it broke most functions on the tab. Ask thegrammarfreak he will have more insight about this
[Galaxy Tab  Android Development] -Mr. X-:
Any of you guys compile the source yet? i cant even get the stock source with stock initramfs to boot
[Galaxy Tab  Android Development] nobleskill:
Nah man haven't finished setting g myself up yet.. tbh I have t done any coding since the days of Pascal and cobolt... lol so I'm rusty to say the least... gonna have a bash today but I'm thinking that there must be a learning g curve with it as its been a good few days without any real news on and new rom/kernel except here and the oc patch. Maybe he would be able to give some Insight into what's going wrong for ya? Prolly something silly but your just @ that frustration level your missing it?

Sent from my GT-P1000
[Galaxy Tab  Android Development] -Mr. X-:
I seem to have figured out what the problem is, ive modified the init ram fs to let me debug and im working it out.
[Galaxy Tab  Android Development] ssserpentine:
Does this mean proper frequency reving?!?!?!?!

Can we get even 1mhz faster than 1.4???

I know i might be beating a dead horse here. But im stubborn.

I will test any gsm attempt. It is vital i get as much as possible to help port vendetta online to our beloved tab!

I am so close i can taste it. More speed! :)

On the same note. Can anyone help me create a barebones rom?-not the word im looking for-

I need my tab to have the most free ram available for game testing. It needs 600 originally. I modded it to use available.

Also, dalvikvm? In build.prop. - explain please. Virtual memory, right. Mine is at 64m. Would up or down help me specifically?

I dont wanna discuss the game. Unless you have these specific dev skills. PM me (i have express company permission to do what I am doing. Nothin illegal goin on. Proof available if you end up helping) i need one dev for each version of the us tab.

Enough about that.

Any thoughts on above questions?

I knkw this isnt the correct thread. I just saw who was floatting around this thread right now and figured it was best time to ask all this.
[Galaxy Tab  Android Development] ssserpentine:
I dont use things like bluetooth. Ever.
[Galaxy Tab  Android Development] -Mr. X-:
I havnt touched the freq table yet i want to make sure i have a booter before i mess with too much lol

So far i have Chainfires recovery in it working, its booting and ive up patched to mainline 2.6.35.13
[Galaxy Tab  Android Development] af974:
Hehe ......you know, we are waiting for a .zip :D
[Galaxy Tab  Android Development] -Mr. X-:
Let me play and test for a bit, now that i have my tab i dont like to release untested work :)
[Galaxy Tab  Android Development] d34d4liv3:
Im willing to test. Currently running OCv2RC1 EURO kernel wt cmw with 2050 quadrant
[Galaxy Tab  Android Development] dxwilliams40:
Quadrant 2050

I'm running OCv2RC1 as well. No issues, and the rom is smooth, but my Quadrant scores are much lower. I have not been able to get anything over 1100. Is this normal or am I missing something?
[Galaxy Tab  Android Development] ssserpentine:
Has anyone running said rom have a problem with quadrent not shading correctly.
[Galaxy Tab  Android Development] d34d4liv3:
I used blade buddy to trigger debug.sf.hw and all media.stagefright except for meta. I used interactive from setcpu. I set min sample rate to 50000us in advance. Run quadrant and get more 2k on result.
[Galaxy Tab  Android Development] -Mr. X-:
so far 2.6.35.13 ernel running great, inorder to get the initramfs to mount the storage so it can boot, i have to use samsungs closed source modules, inorder to use the modules i have to spoof the kernel version # to 2.6.35.7 like the source the modules were compiled for.

It is up patched though. So far the only issue i'm having is if you have usb plugged into the pc while booting the device it shuts down after 10 seconds. But if you let it boot with out the usb fully and then plug it in its fine...
[Galaxy Tab  Android Development] roy8846:
sorry for sounding nooby but......

how can I remove the modules?? (I tried android commander but no go)..

I can adb if someone can let me copy/paste what to do?
[Galaxy Tab  Android Development] OsitKP:
If you used MfX zip for CWM, delete /etc/init.d/90modules.

You can delete /system/lib/modules/cpufreq_*.* files as well.
[Galaxy Tab  Android Development] roy8846:
Thanks for the reply but I dont know how to uninstall. I know what to uninstall.
[Galaxy Tab  Android Development] af974:
You cannot uninstall a cwm zip file after that you flashed it, as previous user did suggest , you can only delete those files.any root filemanager should make the trick.
[Galaxy Tab  Android Development] OsitKP:
Are you sure?

The script in init.d folder inserts modules into the kernel on every boot. Thus, deleting this script "uninstalls" CWM zip. :)
[Galaxy Tab  Android Development] roy8846:
I know all this already. I tried Astro but it wouldnt uninstall anything. I will try another
[Galaxy Tab  Android Development] af974:
Rootexplorer is perfect for this purpose but it'a paid app.

You can also use a terminal emulator.

Type su and then rm /system/lib/modules/cpufreq_smartass.ko

If doesn't work just type rm and see the command help.
[Galaxy Tab  Android Development] OsitKP:
There is free version in the market...

And don't forget to delete 90modules. 'cause it's a kind of "autostart". Essentially exactly 90modules causes inserting cpufreq_*.* into the kernel. So *.ko files can be left untouched. :)
[Galaxy Tab  Android Development] :
hi,

with smartass governor is needed/recommended/available

to use profiles (in setCPU) for highter temperatures and/or

lower battery or are these profiles not needed.

thx
[Galaxy Tab  Android Development] af974:
You don't need any profiles with smartass because it scale up and down when it is needed.

Guess that a in a couple of posts behind there is description.

Mr.x, did you try yet to compile modules for cm7 kernel?
[Galaxy Tab  Android Development] :
yes, yes, i known the basic operation mode of the governor.

i known that is not needed/recommended to use profiles for screen off,

but and for battery low of highter temp?

the governor slows the kernel automatically in this case?

THX
[Galaxy Tab  Android Development] af974:
Nope, in this case you need to set profiles because it doesn't recognize itself a low battery or high temperature, just be sure to use smartass govin profiles too.

Cheers.
[Galaxy Tab  Android Development] af974:
Yes, it will work if you will create the modules folder under system/libs.
[Galaxy Tab  Android Development] -Mr. X-:
Alright im going to have to work around that. smartass errors because interactive is not there.

Interactive is error in an undeclaired value because the SGT's kernel must have been compiled with out nr_running exported in sched.c just like the SGS source i have

ill see what i can do.

Can you do a cat /proc/kallsyms | grep nr_running
[Galaxy Tab  Android Development] -Mr. X-:
Alright, not to double post but i want to bump this.

Take 4 is in the first post. dummy.ko should now export the nr_running symbol on install. if all goes well it should load thus allowing smart ass to load. and we're in business.

Fingers crossed.
[Galaxy Tab  Android Development] crisvillani:
Hey dude tryed take5 , when loading dummy.ko get this in terminal

can't insert '/system/lib/modules/dummy.ko' : unknown symbol in module or invalid parameter
[Galaxy Tab  Android Development] -Mr. X-:
arrrrghhhh

can you run dmesg | grep dummy

Can you also do a cat /proc/kallsyms | grep nr_running

This makes me sad :(
[Galaxy Tab  Android Development] crisvillani:
for dmseg | grep dummy

[ 506.459085] dummy: Unknown symbol nr_running (err 0)

for the other one:

c03a1340 T nr_running
[Galaxy Tab  Android Development] -Mr. X-:
Awesome i coded a module to have the same effin issue as the interactive gov lol

and thanks i can use the kallsyms

I'll work on it but seeing as the nr_running symbol exists and it says it doesn't, this is what we call ****ed with out proper source lol i will see i there is anything i can do at all.
[Galaxy Tab  Android Development] -Mr. X-:
Bump as after talking to Ziggy741 I may have a proper solution in first post, New download there and instructions.
[Galaxy Tab  Android Development] frusso:
Sorry but i have errors following your procedure

I have downloaded latest files (TAKE6) but on my command (from adb shell )

insmod /system/lib/modules/cpufreq_interactive.ko nr_running_addr=0xc03a1340

I have this error:

insmod: init_module '/system/lib/modules/cpufreq_interactive.ko' failed (No such file or directory)

from dmesg i have only this message

<4>[ 855.911528] cpufreq_interactive: Unknown symbol debug_smp_processor_id (err

0)

i hope this can help you (and we) :-)

Note: The last line of your scipt is

smartass interactive userspace ondemand performance

but i don't have a 'smartass' program in my path,
[Galaxy Tab  Android Development] af974:
Same for me as the post above.
[Galaxy Tab  Android Development] -Mr. X-:
Thanks, this is left over because i dcided to no strip the debug symbols. ill remove them now.

Stand by please i recompiled with out debug symbols. So try take 7 lol sorry about this guys.
[Galaxy Tab  Android Development] af974:
I'm going to download it and test.

Dont feel sorry mate, it aint easy make a mod and don't have your loved tab to test it.

Thanks for your time to make this for us :-)
[Galaxy Tab  Android Development] -Mr. X-:
heh thanks, and if i had my tab it would speed things up 100% lol