Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Cpasjuste
Old
(Last edited by Cpasjuste; 28th April 2011 at 11:14 AM.)
#1  
Senior Member - OP
Thanks Meter 541
Posts: 438
Join Date: Jun 2007
Default [KERNEL] OC/UV Kernel (test)

Hi,

avetny asked me to take a look at the g2x kernel to add OC/UV, so i did build a kernel with oc/uv added. You can read more about the kernel on the o2x thread. With this kernel you should be able to use Pimp My Cpu to manage cpuspeed/voltages on the fly.

I do not own a g2x device so i could not test this kernel, try at your own risk.


g2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.5.zip : db7a11365e8520424f1ed579b666623f



EDIT :
Since i do not have the device, if someone wants to continue the work (fix wifi/bt) you'll find the sources and changes here : https://github.com/Cpasjuste/android...mits/fakeShmoo

Note that you NEED to add "init.d" support to the kernel initramfs :

Add at the end of the init.rc script :

Code:
# Execute files in /etc/init.d before booting
service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
    disabled
    oneshot
And maybe the "99complete" script to "/system/etc/init.d" :

Code:
#!/system/bin/sh

sync;
setprop mcr.filesystem.ready 1;
The Following 3 Users Say Thank You to Cpasjuste For This Useful Post: [ Click to Expand ]
 
jlevy73
Old
#2  
jlevy73's Avatar
Senior Member
Thanks Meter 664
Posts: 7,764
Join Date: Nov 2009
Location: Los Angeles
Thanks a lot for this. Look forward to giving it a go
The Following User Says Thank You to jlevy73 For This Useful Post: [ Click to Expand ]
 
jlevy73
Old
#3  
jlevy73's Avatar
Senior Member
Thanks Meter 664
Posts: 7,764
Join Date: Nov 2009
Location: Los Angeles
Kernel boots fine, however,it breaks wifi. Will continue testing and see how everything else it
 
Cpasjuste
Old
#4  
Senior Member - OP
Thanks Meter 541
Posts: 438
Join Date: Jun 2007
Quote:
Originally Posted by jlevy73 View Post
Kernel boots fine, however,it breaks wifi. Will continue testing and see how everything else it
Arg that's strange, i don't see why wifi would be broken :/
 
jlevy73
Old
#5  
jlevy73's Avatar
Senior Member
Thanks Meter 664
Posts: 7,764
Join Date: Nov 2009
Location: Los Angeles
Quote:
Originally Posted by Cpasjuste View Post
Arg that's strange, i don't see why wifi would be broken :/
It is...when I flashed I say the wifi modules loading.

But wow, this kernel is fast. Smartbench just shot through the roof.
 
Cpasjuste
Old
#6  
Senior Member - OP
Thanks Meter 541
Posts: 438
Join Date: Jun 2007
Quote:
Originally Posted by jlevy73 View Post
It is...when I flashed I say the wifi modules loading.

But wow, this kernel is fast. Smartbench just shot through the roof.
Note that it's not OC by default. Could you try Pimp My Cpu on it to see if it work ? Thanks
For the wifi module, i'll wait for "avetny" if he knows anything.
 
jlevy73
Old
#7  
jlevy73's Avatar
Senior Member
Thanks Meter 664
Posts: 7,764
Join Date: Nov 2009
Location: Los Angeles
Quote:
Originally Posted by Cpasjuste View Post
Note that it's not OC by default. Could you try Pimp My Cpu on it to see if it work ? Thanks
For the wifi module, i'll wait for "avetny" if he knows anything.
That's what I mean by wow it's fast. I installed pimp my cpu and have it running @ 1200/300 while I do some benchmarking. Pimp my cpu is working very well.
 
Cpasjuste
Old
#8  
Senior Member - OP
Thanks Meter 541
Posts: 438
Join Date: Jun 2007
Quote:
Originally Posted by jlevy73 View Post
That's what I mean by wow it's fast. I installed pimp my cpu and have it running @ 1200/300 while I do some benchmarking. Pimp my cpu is working very well.
Ha that's very cool. Many thanks for the "bravery"

Just need to fix wifi now :x
I won't be able to do so myself without a device to test so some help will be required. The recovery install script just copy the "drivers/net/wireless/bcm4329/wireless.ko" module to "/system/lib/modules/wireless.ko" on the device. Maybe on the g2x the modules are located somewhere else.
 
jlevy73
Old
#9  
jlevy73's Avatar
Senior Member
Thanks Meter 664
Posts: 7,764
Join Date: Nov 2009
Location: Los Angeles
Quote:
Originally Posted by Cpasjuste View Post
Ha that's very cool. Many thanks for the "bravery"

Just need to fix wifi now :x
I won't be able to do so myself without a device to test so some help will be required. The recovery install script just copy the "drivers/net/wireless/bcm4329/wireless.ko" module to "/system/lib/modules/wireless.ko" on the device. Maybe on the g2x the modules are located somewhere else.
Let me check to see where the drivers are located.
 
jlevy73
Old
#10  
jlevy73's Avatar
Senior Member
Thanks Meter 664
Posts: 7,764
Join Date: Nov 2009
Location: Los Angeles
Quote:
Originally Posted by jlevy73 View Post
Let me check to see where the drivers are located.
Update: Yep it's located in /system/lib/modules

Upon quick look it appears as though the permissions for the .ko file might be incorrect. Let me try something to see if it helps.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...