Hi,
I want to learn kernel modification as my exams are over and i have enough time with more than enough resources.
At first i would like to know how to add OC to stock GB & ICS kernel.
i know its about modifying the ramdisk but how?
Please redirect me to proper link, there are may moded kernel available here but i want to try it my self.
i just installing linux in my VMware right now.
www.xda-developers.com/android/xda-university-adding-features-to-your-freshly-compiled-kernel/
Cheers,
AJ
Related
Hello! I just recently got a brand new MyTouch4GSlide ($5 from t-mobile xD) Anyhow since the lack of development going on for this phone I decided to join in and do my part... My original plan was to create a simple CM7 Kernel with support for UV and OC + Smartass... I have successfully in the past week set up my ubuntu virtual machine, kernel source, kitchen (boot.img extract/compile), voltage table & have successfully compiled a custom working kernel for my device, but i just need a bit of help.... I have 3 specific questions wich hopefully someone will be able to answer so I may get better with developing and continue developing in the future...
1) Adding new frequencies to the kernel
-I have created my voltage table and have added it to the file acpuclock-8x60.c (Which is corresponding to my device) located in /arch/arm/mach-msm O have also disabled the performance lock in the .config file using the make menuconfig command but when I compile the kernel and flash it setcpu does not recognize the frequencies... Did I not edit the correct file? Am I missing a lock placed by HTC somewhere else?
2) Adding Smartass
-I have found 1 source for the smartass module but whenever I try to compile the module I get #define OFS_KALLSYMS_LOOKUP_NAME 0xc009684c // kallsyms_lookup_name any reason why this is? am I using the wrong source? is there an easier way?
3) WiFi Module
-Whenever I compile my kernel the WiFi does not turn on... Probably because I have not compiled a Wifi module -_- but how can I compile a WiFi module? do I use the same source as the kernel? how would I go about doing this? how do I pack it with the boot.img?
Thats all for now... I shall edit this if I have more questions... I shall constantly be checking this thread hoping for some responses... I am eager to get this working!
Thanks in advanced! ~GiGoO
P.S. If you want you may add me on Skype if you would like to help me with this xD (robster105)
gigoo25 said:
Hello! I just recently got a brand new MyTouch4GSlide ($5 from t-mobile xD) Anyhow since the lack of development going on for this phone I decided to join in and do my part... My original plan was to create a simple CM7 Kernel with support for UV and OC + Smartass... I have successfully in the past week set up my ubuntu virtual machine, kernel source, kitchen (boot.img extract/compile), voltage table & have successfully compiled a custom working kernel for my device, but i just need a bit of help.... I have 3 specific questions wich hopefully someone will be able to answer so I may get better with developing and continue developing in the future...
1) Adding new frequencies to the kernel
-I have created my voltage table and have added it to the file acpuclock-8x60.c (Which is corresponding to my device) located in /arch/arm/mach-msm O have also disabled the performance lock in the .config file using the make menuconfig command but when I compile the kernel and flash it setcpu does not recognize the frequencies... Did I not edit the correct file? Am I missing a lock placed by HTC somewhere else?
2) Adding Smartass
-I have found 1 source for the smartass module but whenever I try to compile the module I get #define OFS_KALLSYMS_LOOKUP_NAME 0xc009684c // kallsyms_lookup_name any reason why this is? am I using the wrong source? is there an easier way?
3) WiFi Module
-Whenever I compile my kernel the WiFi does not turn on... Probably because I have not compiled a Wifi module -_- but how can I compile a WiFi module? do I use the same source as the kernel? how would I go about doing this? how do I pack it with the boot.img?
Thats all for now... I shall edit this if I have more questions... I shall constantly be checking this thread hoping for some responses... I am eager to get this working!
Thanks in advanced! ~GiGoO
P.S. If you want you may add me on Skype if you would like to help me with this xD (robster105)
Click to expand...
Click to collapse
Hey Rob, I wish you the best of luck and don't give up!
The one thing I can say is when I was compiling my own kernels a while back and when I was trying to do the exact same thing and add different frequencies, if I remember correctly, there is a couple files that need to be changed, not just one, but don't quote me on that
I would also try getting help from other phone developers too. Post in the Q&A section of the phones, you might get more help that way.
Other then that good luck!
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Hello,
I've installed Rage Kernel v3.0 just to have cifs support. It works like a harm except of special characters in folder/file names are not displayed and thus I have no access to those resources. I know I need nls_utf8.ko module but don't know where to find it for my kernel. Maybe I can use module form other kernels but I'm not sure of that so I'm asking here. Or maybe it's compiled into my kernel but I don't know how to enable it. I hope someone will give me good directions to solve this problem.
Hi people, well, the question is very simple. I have no idea at all 'bout android developing. As far as i know, the ramdisk in the E10i it's in the <kernel>.ftf, now, how can i increase the size of the ramdisk through kernel editing to improve performance. I want to edit the nAa 14 [GB] 2.6.29 kernel, for personal se, of course, if it works out, i'll probably post it here, after asking for permission to do so.
But first i wanna know how could i do it, what tools do i need and if anybody knows of some tutorial that'd be helpful.
That's it
Thanks!
Here it is..
kernel kitchen, Port tools and info..
http://forum.xda-developers.com/showthread.php?t=1659584
Alexei.Robles said:
Hi people, well, the question is very simple. I have no idea at all 'bout android developing. As far as i know, the ramdisk in the E10i it's in the <kernel>.ftf, now, how can i increase the size of the ramdisk through kernel editing to improve performance. I want to edit the nAa 14 [GB] 2.6.29 kernel, for personal se, of course, if it works out, i'll probably post it here, after asking for permission to do so.
But first i wanna know how could i do it, what tools do i need and if anybody knows of some tutorial that'd be helpful.
That's it
Thanks!
Click to expand...
Click to collapse
What sort of improvement do you expect from enlarging the ramdisk?
The Ramdisk is purely to load and run the kernel, so enlarging it's size will only take away RAM from apps you would want to run, with no benefits to kernel performance whatsoever. As far as I can see, only decreasing the size of the kernel could give you more performance, and if that was possible, nAa would have done it. (after all, he knows *an awful lot* about android development)
If I were you I would either
A: Start learning Android on the ROM side of things,
or
B: Learn how Linux works on the PC before you start trying to improve it on a phone.
SmG67 said:
What sort of improvement do you expect from enlarging the ramdisk?
The Ramdisk is purely to load and run the kernel, so enlarging it's size will only take away RAM from apps you would want to run, with no benefits to kernel performance whatsoever. As far as I can see, only decreasing the size of the kernel could give you more performance, and if that was possible, nAa would have done it. (after all, he knows *an awful lot* about android development)
If I were you I would either
A: Start learning Android on the ROM side of things,
or
B: Learn how Linux works on the PC before you start trying to improve it on a phone.
Click to expand...
Click to collapse
See? that's why i said i know nothing about it, finally sombody answered. Thank you! ^^
I'm trying to update my kernel from Linux 3.4.0 to 3.10, is there a guide or site where I can commit them?
Go ahead but it is so hard you will learn too many
:good: i just want to make that 3.4 kernel run no one want to give that hand of help !
Hi everyone.
I know little-nothing about Linux and compiling kernels. I almost never used Linux, I don't know any programming language, but I'm a PC master(hardware/windows etc). First of all, from what I read, I need to learn Linux and only after I should learn how to build a kernel. Can someone help me, or give me a link for better understanding/learning linux, and after how to compile own kernel from source(or modify it, for ex: updating libs(if it's possible, adding overclock to cpu/gpu, update gpu driver, upstream kernel at the latest one etc). I'm saying again, I'm newbie, but I can learn very fast + i can have virtual machine with latest Ubuntu).
Thanks everyone who try to help me! Have a good life.