• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root giantpune's custom kernel

You can try to manually load the wifi module. I'm not expecting it to work, but when you try to load it, it should provide some hopefully useful information. In adb, do this -
Code:
su
insmod /system/lib/modules/wlan.ko

If it fails, check dmesg quickly and see if it spit out anything near the end of it about why it didn't want to load.
 
You can try to manually load the wifi module. I'm not expecting it to work, but when you try to load it, it should provide some hopefully useful information. In adb, do this -
Code:
su
insmod /system/lib/modules/wlan.ko

If it fails, check dmesg quickly and see if it spit out anything near the end of it about why it didn't want to load.

ran code got this error
insmod: init_module '/system/lib/modules/wlan.ko' failed (Exec format error)
ran dmesg and i find nothing towards end about wlan or wlan.ko but i did find a line that may be a potential issue here
<3>[ 756.356109] wlan: version magic '2.6.35.11-perf preempt mod_unload ARMv7 ' should be '2.6.35.11-perf+ preempt mod_unload ARMv7 '
going to do some more digging online to see if maybe someone has been able to replicate the wlan driver or if there is a workaround of some kind


Edit did a quick search and found that apparently that message means that the ko module is compiled for a different architecture
is there any way to change your build to 2.6.35.11-perf instead of perf+ as that was what the original with working wifi was?
 
The "+" sign is being added by the build scripts "if the repository is not in a clean tagged", whatever that means. So this is just a stupid plus sign issue and a matter massaging the build scripts not to append that thing. Try this one and see if i did it right -
Download lgoe_pernel_[sprint]_10_12_22_09.zip from Sendspace.com - send big files the easy way
8e4384168de3576ac61948ec581844fa lgoe_pernel_[sprint]_10_12_22_09.zip
bab96e3b935af2fdc0ce9287323299fd boot_[sprint]_10_12_22_09.img
 
mmmmkay. Here's the moment of truth. This is a Sprint pernel with all the other changes tossed into it. Just so you know, It hasn't been installed or run on anyone's phone. Enter at your own risk. Assuming it does actually boot up and wifi still works, you'll want to head off to the app store and grab a cpu freq controller. I modified your ramdisk to set the kernel to not go past the stock speed unless you actually tell it to.

Download lgoe_pernel_[sprint]_10_12_23_43.zip from Sendspace.com - send big files the easy way
bd0cac014be5e0fe3508963dafe866c2 lgoe_pernel_[sprint]_10_12_23_43.zip
22aba94164e31495162e3304458009ec boot_[sprint]_10_12_23_43.img


https://code.google.com/p/ls696/source/list
 
mmmmkay. Here's the moment of truth. This is a Sprint pernel with all the other changes tossed into it. Just so you know, It hasn't been installed or run on anyone's phone. Enter at your own risk. Assuming it does actually boot up and wifi still works, you'll want to head off to the app store and grab a cpu freq controller. I modified your ramdisk to set the kernel to not go past the stock speed unless you actually tell it to.

Download lgoe_pernel_[sprint]_10_12_23_43.zip from Sendspace.com - send big files the easy way
bd0cac014be5e0fe3508963dafe866c2 lgoe_pernel_[sprint]_10_12_23_43.zip
22aba94164e31495162e3304458009ec boot_[sprint]_10_12_23_43.img


https://code.google.com/p/ls696/source/list


I figured untested or not i have been able to recover from any kernel problem by just restoring boot.img from cwm recovery, but there was definitely no need to. Your kernel worked this time wifi works and i now have 1.6 with the smartassv2 governor. I greatly appreciate all your help and also for working with me through this entire situation.
 
just a quick question would it be possible to use this new sprint kernel with leslie's rom or would that require a lot or rewriting code?
 
It *should* work perfectly in anything that is based on your stock rom.

unfortunatelly no luck.
replaced the zimage in her zip with the one from yours wiped everything flashed and then flashed your kernel as well just to be safe. it boots up but back to the wifi error again have to see if i can find a way to get a hold of her has to be error in the drivers because the rom was originally written for vm unfortunately, i cant seem to find anything related to a custom rom for sprint probably because they were having the wifi issue which you were able to get past
 
you have to keep the wifi drivers with the kernel. if you use the VM kernel, use the VM wifi drivers. I believe the are functionally the same as the sprint ones, just that stupid "+" sign issue keeps them from loading.

Look for /system/lib/modules/volans/WCN1314_rf.ko, /system/lib/modules/volans/WCN1314_rf_ftm.ko, and /system/lib/modules/librasdioif.ko in your stock rom. The wifi.ko is a symlink to one of these, but all 3 of them have something to do with wifi.
 
you have to keep the wifi drivers with the kernel. if you use the VM kernel, use the VM wifi drivers. I believe the are functionally the same as the sprint ones, just that stupid "+" sign issue keeps them from loading.

Look for /system/lib/modules/volans/WCN1314_rf.ko, /system/lib/modules/volans/WCN1314_rf_ftm.ko, and /system/lib/modules/librasdioif.ko in your stock rom. The wifi.ko is a symlink to one of these, but all 3 of them have something to do with wifi.


so then should be able to make a copy of these files off stock and then just paste them in custom rom with root access and reboot theoretically?
will flash back to stock with your kernel and give it a try i do know that i am currently running your kernel on the vm rom because when i check cpu spy it shows the info from your last working sprint kernel without that + sign.
trying this method now will let you know if it works
 
no luck reverting to stock with your custom kernel for now maybe someone will develop a new rom at some point thanks for your help though



EDIT: decided to try one more time only this time i replaced the files plus the wlan.ko in the actual zip file and now i have leslie ann's build running and the wifi does in fact work, also using the overclocked kernel you created for sprint and all is well so far.
 
little help if possible.
i was sucessful in modifying leslie ann's rom so that it would work on sprint properly wifi works etc. have only one problem that i noticed so far and that is that when i enter the ##DIAG# mode after entering MSL and trying to change to enable it will crash and say that proces com.lge.sprinthiddenmenu has stopped unexpectedly any help would be appreciated, i would like control of my diag mode again, had it on stock.
 
No hidden menu works on harmonia. Leslie had this issue on one of the initial roms for vm elite. She may be able to help you out
 
SprintHiddenMenu.apk is what ##DIAG# launches. The one I have on my VM phone is 300.28 KB, md5: 5ceabb78ec5f258e0c0bd9bcef287780

It may be different for the Sprint Optimus Elite, I dunno.
 
You can toggle diag mode from adb or the terminal emulator, or write a simple app and rut it with system/root access. All you have to do is write the pid you want and it will set on of the supported usb modes. Some of those have the diag enabled. http://androidforums.com/elite-all-...od-optimus-elite-faq-guide-2.html#post4992974

definatelly very useful information my problem though is that when i type it in to enable or disable it returns product_id access denied and i did type su in first to obtain super user permissions.
Not sure thinking either i need to remount system as rw or maybe the product_id is different in her rom unfortunatelly im not sure how to change this tried looking for sys folder in rom but only get system, might try to flash back to stock and compare the product_id from that to the one from this build

Also Thanks to ktb for the info about the SprintHiddenMenu.apk. i did however replace the one from her rom with the one from my stock rom and when i do i get another force close error com.lge.acore i beleive is what crashes when i search for that it shows an error with accounts and sync so i replaced that apk in system as well but the system does not like that very much it reboots into bootloop usually or i did have it give a failure error so tried to reboot but then was not able to connect to my network end result restore from nandroid and try again.
 
The product ID and the interfaces it puts up for each one are decided by the kernel and nothing else. Right now, every kernel we have is stock or based off stock, so the pid are the same. And theres no reason to ever try and remount the /sys directory. Those are virtual files and the whole system is never created read-only. That would defeat the whole purpose of it.

Your issue is probably something along the lines of you not having busybox installed which provides the "echo" command.
 
The product ID and the interfaces it puts up for each one are decided by the kernel and nothing else. Right now, every kernel we have is stock or based off stock, so the pid are the same. And theres no reason to ever try and remount the /sys directory. Those are virtual files and the whole system is never created read-only. That would defeat the whole purpose of it.

Your issue is probably something along the lines of you not having busybox installed which provides the "echo" command.


No Definatelly have busybox install to sytem/xbin and it is current maybe a problem with how i repacked not too worried about it though as it is still enabled from stock root
 
Firstly, thank you many thankings, GP, for the kernel, and the work on CWM that made all this goodness possible. You rock!

I also wanted to ask a silly question - am I right in thinking that the 10/26 .zip in the first post is an updated complete kernel, with the OC and the added governors and all?

FWIW field report, I've been running Harmonia 2.03 with GP's 9/26 kernel, smooth as silk on my wife's OE zv5. The only odd issue I've seen is that SD Maid doesn't want to freeze apps. when I try it, SDMaid locks up on "working". It doesn't lock the phone, I can go out and clear SDMaid's data and it goes back to business as usual. I have no idea if that's a Harmonia issue or a kernel issue or an SDMaid issue, or (D) None of the Above. Whatever, the phone runs great, and I certainly have no complaints!

Thanks again!
 
This is a thread for discussion about the custom kernel I made. I'll update this post later with details, releases, bugfixes, and stuff like that. Source is here vm696-pernel - Custom kernel for vm696 android phone - Google Project Hosting and https://code.google.com/p/ls696/source/list

9-23 15:09 Virgin Mobile
Download boo_lgoe_gpk_9_23_15_09.bin from Sendspace.com - send big files the easy way
md5 ae8dd4591e66fc3d5129ce09e00db469

* Added back in the "#define DEBUG 1" for the battery driver to hopefully fix the "battery always says 100%" issue.

9-26 22:37 Virgin Mobile
Download boot_lgoe_gpkoc_9_26_22_37.bin from Sendspace.com - send big files the easy way
md5 edb616d6bf4afd810dd628ee4f2c9951

* Added overclocking. Default will set max scaling to 1.6GHz

9-28 23:32 Virgin Mobile
Download lgoe_pernel_09_28_23_32.zip from Sendspace.com - send big files the easy way
md5 for the zip is 042f381c3df9ec78ec55f471a1a804e8
md5 for the partition image itself is 4bd53e1be10b3eee493900375ed2c234

* buildscript now creates cwm-friendly zip
* add smartass, smartass2, interactive, interactiveX, minmax, savagedzen, and scarey scaling governors


10-12 23:43 Sprint
lgoe_pernel_[sprint]_10_12_23_43.zip
bd0cac014be5e0fe3508963dafe866c2 lgoe_pernel_[sprint]_10_12_23_43.zip
22aba94164e31495162e3304458009ec boot_[sprint]_10_12_23_43.img

* Initial version for Sprint users
* Contains the same modifications as the virgin Mobile version, but uses the Sprint source as a starting point.

10-26 11:17 Virgin Mobile
Download lgoe_pernel_[VM]_10_26_11_17.zip from Sendspace.com - send big files the easy way
579285cf7d917decebb5a1fea599ae01 lgoe_pernel_[VM]_10_26_11_17.zip
c3eda9d179fe577ce51187e99eef803c boot_10_26_11_17.img

* Block exploit via lcd-backlight driver


10-26 11:26 Sprint
Download lgoe_pernel_[sprint]_10_26_11_26.zip from Sendspace.com - send big files the easy way
a7eb44f1b5c984093d22e8ddfecd1ce3 lgoe_pernel_[sprint]_10_26_11_26.zip
45cf43caf59be349eddf6359c88f7863 boot_[sprint]_10_26_11_26.img

* Block exploit via lcd-backlight driver

Hi, this is probably a dumb question but, on your "9-28 23:32 virgin mobile kernal build" do i just download, flash and go or is it more complicated than that?
 
Hi, this is probably a dumb question but, on your "9-28 23:32 virgin mobile kernal build" do i just download, flash and go or is it more complicated than that?

Download, flash, and go. But use the 10-26 for Virgin Mobile one instead. That one is more recent than the September one.
 
Does the 10-26 one really matter much? What's the risk if we don't do that one? I've had the 9-28 one for a while so.
 
Back
Top Bottom