zte kis, ar6000.ko not working with kernel compile - Android Q&A, Help & Troubleshooting

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

Related

[Q] Kernel Compiling

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

[Q] nls_utf8.ko for Rage Kernel v3.0 (GB)

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.

Need help on porting a rom for samsung sch-r680 Repp

I have Just one thing I can't figure out when porting a rom. Its the config for the kernel when I unpack it I know I am suppose to get the zimage and replace with the kernel I am porting to and rename the .rc files and replace lib files.But when i recompiile it and flash it to my device.It gets stuck on the android logo after rle image boot.Can someone please help me out since I seem to be the only one porting or making a roms for the samsung Repp sch-r680 at the moment. Also I can't seem to figure out how to overclock a kernel ether or find anything on google and believe me I search over like 50 google next results and nothing.I ant a totally Noob ether I have already made a custom rom for the repp with init.d support and found another way to root it using my clockwork mod that I ported over to it.I also added busy box and su to the cwm for adb support.
samsungcrasher said:
I have Just one thing I can't figure out when porting a rom. Its the config for the kernel when I unpack it I know I am suppose to get the zimage and replace with the kernel I am porting to and rename the .rc files and replace lib files.But when i recompiile it and flash it to my device.It gets stuck on the android logo after rle image boot.Can someone please help me out since I seem to be the only one porting or making a roms for the samsung Repp sch-r680 at the moment. Also I can't seem to figure out how to overclock a kernel ether or find anything on google and believe me I search over like 50 google next results and nothing.I ant a totally Noob ether I have already made a custom rom for the repp with init.d support and found another way to root it using my clockwork mod that I ported over to it.I also added busy box and su to the cwm for adb support.
Click to expand...
Click to collapse
I have a repp that I'm interested in working on. I've never ported a rom, but I understand Linux and some Android, and I don't mind staring at a terminal all day. I'd like to get something aosp working on it.
Let me know if you're still working on this phone.

[Q] Need some help regarding module compilation

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.

Making an own android image?

Hello everybody. I love this community and I have been lurking for a long time.
I have noticed on a foreign language forum that some people were offering a custom rom for my android 9 TV box.
The chinese box is based on a s905x3 CPU and has a mediatek wifi chip for which it is hard (if not impossible to find the wifi drivers).
The site claims that the image was made by modifying the stock rom that came with the box. Is this possible or do all custom roms need to be build from the source?
The custom rom I want to make is going to replace the launcher with kodi.
I am prepared to build the whole rom from source but I do have a couple of questions.
Since the mediatek wifi drivers cannot be found how would I go about including the binary for the wifi?
I have noticed that the box that I have uses a .ko (kernel object) module to drive the wifi chip.
Can I include these kernel objects in build? It is a shame that the kernel is built as a 32bit system. Would that mean that I can only compile a 32bit kernel if I were to reuse those kernel modules and binaries?
Another idea is to perhaps use the kernel from coreelec in my build since it seems to include a lot of drivers.
Is it possible to use a kernel from something like coreelec but use the source from AOSP for the rest of my build?
Is there anything else that I should be aware of?
Thank you all!!!!
Can anyone give me any hints to any of the questions?
Essentially I want to swap out the stock launcher for Kodi. What is the easiest way to do so?

Categories

Resources