Hi,
I am able to compile CM11 for my xperia L. I flashed it successfully and it works fine.
Now I want to learn how can I change individual module.
I have changed some code in qcom audio-caf module.
I want to know How can I compile only this module and flash it?
EDIT: I don't want to compile whole rom just to test out the changes, unless its a last option.
Thank you in advance.
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
Hi ... i own the 'memory challenged' zte kis (from virgin mobile)... due to it's limited ram (and lack of pre-made custom roms) i decided to recompile the kernel with swap option set to 'y'., so that the phone can use swap.
after reading a few guides here and elsewhere i managed to get a successfully compiled kernel that worked on my phone. everything works apart from the original roms ar6000.ko/ath6k wifi module.
i'm presuming that i need to recompile ar6000.ko against the new kernel? so how would i go about that? and where can i find the source code for ar6000.k0/ath6k?
thanks
Hi,
I tested http://forum.xda-developers.com/showthread.php?t=2531189 and it work's wery well.
Can anyone guide me to recompile kernel to add video4linux driver on @munjeni's kernel? It help me to use an external usb webcam on my phone.
I compiled from https://github.com/munjeni/android_kernel_xperiago but i think i missed something and the phone doesn't boot.
Thanks a lot
Hello folks!
So I read that Franco had released his kernel for our flounder/volantis. Problem is, I'd like to use fastcharge/2A charging and need the appropriate fixes for selinux and the theme engine of CM12 (all ROMs I like use the theme engine, using permissive mode doesn't help much, still crashes).
I am totally new to compiling from source, I have already managed to clone the repo for flounder from his GitHub though (https://github.com/franciscofranco/flounder).
Steps I have already done:
Code:
git clone https://github.com/franciscofranco/flounder --branch lollipop
I can't find any guides on how to compile for the N9 though, I have pretty much no idea what I need to do. Managed to understand how to apply patches, but I can't find the most important one, the one for the selinux and theme engine support. It was merged in a nightly of CM12 a few weeks/days ago, but I can't find it anywhere on the codereview page or anywhere else. I have already googled around how to compile for other devices and got the required utilities and applied some of the steps that seemed universal/exchangable with the device name I am building for. So could somebody be so kind and give me a little guide on what I need and maybe give me the link to at least the commit with the selinux patch? I'm looking forward to your replies, thank you!
Im new to kernel compilation. I was trying to build a kernel without any modification from Sony z2 kernel source (23.5.A.1.291) to see if it works so that i can proceed modifying it to include wireless packet injection.
Most of the functions seems working except for wifi and usb otg.
Been trying various toolchains from doomlord repo. Can i have some help here? Is there any guide which i missed searching the last 4days?
Moderators.?
Is there anyone who could post this in the right section so that some devs could see this? Or can i private message anyone? I can't believe getting no help from xda.
Got it working. I wonder why Sony guides or default configs contain nothing related to this issue.