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

Root giantpune's custom kernel

Coupled with the new ROMs, the battery lasts longer than it did before.

It can be good if you use an app or some other way to change the scaling. If you leave it set to ondemand (default), it will stay at 1.6 most of the time, which certainly lessens the battery life. I use smartassV2 scaling via the SetCPU app and the battery life is pretty good.

Thanks for the info guys.
 
rumor has it that the boot image from the VM phone will work on the Sprint one, but wifi doesn't work. I compared the source for the Sprint v9 and VM v5 kernels, and the only functional changes I saw were having to do with the diag interface. You may be able to stick the stock Sprint ramdisk into the boot image and magically fix the wifi.

Was wondering if it is possible to extract your kernel from the image file and just replace the sprint stock kernel and repack the boot image.
Would that work and ultimately fix the wifi issue as well or is the kernel wrote specifically for VM
 
The boot.img is pretty much a kenel and a ramdisk. You can do it the way I said and stick a sprint ramdisk into my boot.img or you can pull the kernel from my boot.img and stick in it a stock sprint boot.img. The result is the same - you'll have a modified VM kernel running with a sprint ramdisk.

This may fix your wifi issues. As I said, the only differences I noticed in the kernels were having to do with the USB and diag interface.
 
will do that and test tonight if it works i will post a link to the boot.img not sure how to make a bootable zip with it but maybe someone else can. i plan on remaking the stock boot.img with your kernel in it and puting it back into the cwm backup and just reflash boot.img from backup
 
well unfortunately i managed to extract your kernel and replace the stock with your and recompile the boot.img but when i tried to flash it in cwm it says md5 mismatch not sure how to fix that, i am not a newb at computers at all and have successfully flashed numerous android devices including tablets but never made my own images or anything along those lines before. i think if i can change the md5 sum it will work just not sure how.
 
well unfortunately i managed to extract your kernel and replace the stock with your and recompile the boot.img but when i tried to flash it in cwm it says md5 mismatch not sure how to fix that, i am not a newb at computers at all and have successfully flashed numerous android devices including tablets but never made my own images or anything along those lines before. i think if i can change the md5 sum it will work just not sure how.

You prob. need to flash the boot.img directly to the /boot partition using shell/terminal or a flashable ZIP, not using restore in CWM (if that is what you did).

Also, what tool did you use to unpack and repack the boot.img? At least on the Virgin Mobile Elite, we've found it necessary to use abootimg, not any of the other usual tools produce a bootable IMG.
 
You prob. need to flash the boot.img directly to the /boot partition using shell/terminal or a flashable ZIP, not using restore in CWM (if that is what you did).

Also, what tool did you use to unpack and repack the boot.img? At least on the Virgin Mobile Elite, we've found it necessary to use abootimg, not any of the other usual tools produce a bootable IMG.

used cygwin terminal to unpack and repack the boot.img and yes i did try using cwm to restore not sure of how to do any other way really just wanted to try to help out the sprint users i did try replacing the boot.img in giantpunes flashable zip and rewrote the script to reflect the new boot.img name but got lg boot loop so restoring original boot.img
 
thats fine i appreciate the help from giantpune as well as ktb i will continue to work on this for myself then as i would like to have the oc'd kernel with wifi working on it
 
thats fine i appreciate the help from giantpune as well as ktb i will continue to work on this for myself then as i would like to have the oc'd kernel with wifi working on it

Here is the README for abootimg - README - abootimg in AC100 - Gitorious

You can download from abootimg in AC100 - Gitorious and build it, it's simple, just read the README.

The flashable ZIP method will work as-is if the sprint /boot partition is the same location as the Virgin Mobile Elite (mmcblk0p9). Or you can use the terminal emulator app on the phone or adb shell from PC by using the dd or cat commands.
 
Here is the README for abootimg - README - abootimg in AC100 - Gitorious

You can download from abootimg in AC100 - Gitorious and build it, it's simple, just read the README.

The flashable ZIP method will work as-is if the sprint /boot partition is the same location as the Virgin Mobile Elite (mmcblk0p9). Or you can use the terminal emulator app on the phone or adb shell from PC by using the dd or cat commands.

checked out the download site is this for a linux system only because i can not find an installer for windows on this. it is looking like i stepped in a little out of my league here not to familiar with linux code always used windows.
 
checked out the download site is this for a linux system only because i can not find an installer for windows on this. it is looking like i stepped in a little out of my league here not to familiar with linux code always used windows.

Yes, it's a Linux tool.
 
Yes, it's a Linux tool.

kind of figured, i have tried using android kernel kitchen found here
http://forum.xda-developers.com/showthread.php?t=1659584
through cygwin terminal and unable to get it to work properly. unfortunately i dont have a linux install nor am i familiar with the os so i appreciate all the help but i guess i will just stick with the stock kernel for now at least until someone comes up with a working one for sprint.
 
If somebody wants to, you can grab the source for the sprint kernel and toss it up on a git/svn somewhere and give me commit access. This one is pretty easy to setup - http://code.google.com/hosting/createProject . I'm asking you to do that simply because my internet sucks balls and its too much of a headache to upload all those files. After somebody gets that done, I don't mind doing it nice and proper and putting the modifications from the VM kernel into the sprint one. But I wont be testing it here, so it will take a couple sprint-owning lemmings to test it out for everybody.
 
If somebody wants to, you can grab the source for the sprint kernel and toss it up on a git/svn somewhere and give me commit access. This one is pretty easy to setup - http://code.google.com/hosting/createProject . I'm asking you to do that simply because my internet sucks balls and its too much of a headache to upload all those files. After somebody gets that done, I don't mind doing it nice and proper and putting the modifications from the VM kernel into the sprint one. But I wont be testing it here, so it will take a couple sprint-owning lemmings to test it out for everybody.

where would i find the kernel source i have a nandroid backup of system running stock with root and cwm i have tried spliting the boot.img file but i guess i have to be using linux system to do it properly.
 

That's the VM696 kernel.

You'll need to download the Sprint source - Open Source Main

Select "Mobile Phones" in the category <select> menu and enter "LS696" in the "Model Name"-field.

Click on the one result that returns (LGLS696) and you'll see listings for the LG source for your phone. I'm not sure which one is the most recent, probably LS696(Elite)_Android_Gingerbread_LS696ZVF. The kernel source is inside the ZIP.
 
That's the VM696 kernel.

You'll need to download the Sprint source - Open Source Main

Select "Mobile Phones" in the category <select> menu and enter "LS696" in the "Model Name"-field.

Click on the one result that returns (LGLS696) and you'll see listings for the LG source for your phone. I'm not sure which one is the most recent, probably LS696(Elite)_Android_Gingerbread_LS696ZVF. The kernel source is inside the ZIP.

thanks i have downloaded that file and am currently uploading it to the site requested by giantpune just waiting on a message back from him not sure what is needed to give him commit access.
also i downloaded the LS696(Elite)_Android_Gingerbread_LS696ZV9 as it is the one on my phone and i believe the most current for sprint at this time
 
ok so i have run git clone to pull my default repository from google code and added my files into it through git add and git commit but when trying to git push back to server i get no refs in common and none specified doing nothing
so i try git push master and then the google code site i get fatal remote part of refspecs is not a valid name in and then it shows site trying to upload to any help here would be appreciated i believe this is the last step i need before giantpune can take over and tweak the sprint kernel.
btw i have tried using both cygwin and git bash for this both with same results
 
That's the VM696 kernel.

You'll need to download the Sprint source - Open Source Main

Select "Mobile Phones" in the category <select> menu and enter "LS696" in the "Model Name"-field.

Click on the one result that returns (LGLS696) and you'll see listings for the LG source for your phone. I'm not sure which one is the most recent, probably LS696(Elite)_Android_Gingerbread_LS696ZVF. The kernel source is inside the ZIP.

Sorry thought he was wanting vm source
 
Okeydokey, then. So we have the sprint source up on a git now, and ready to fool around with. Before we try modifying any source code, I'd like to make sure that just building the unaltered source results in a working kernel. So heres one built right from the source without making any changes at all to it. I also unpacked and repacked the ramdisk. If this works, then we can go forth with operation balls-to-the-wall.

Download lgoe_pernel_[sprint]_10_12_01_43.zip from Sendspace.com - send big files the easy way
41230a09f1350114d8ef053d0688fe92 lgoe_pernel_[sprint]_10_12_01_43.zip
acfade187b002a6ef9b9eb254ab191a3 boot_[sprint]_10_12_01_43.img

EDIT:
I just thought about it and realized that this zip probably wont install. I made it check that your device is "m3s_sprint_us", but you guys are using the cwm built for virgin mobile phones. You'll need to delete that "assert" line in the update script before you can install this from cwm.
 
Okeydokey, then. So we have the sprint source up on a git now, and ready to fool around with. Before we try modifying any source code, I'd like to make sure that just building the unaltered source results in a working kernel. So heres one built right from the source without making any changes at all to it. I also unpacked and repacked the ramdisk. If this works, then we can go forth with operation balls-to-the-wall.

Download lgoe_pernel_[sprint]_10_12_01_43.zip from Sendspace.com - send big files the easy way
41230a09f1350114d8ef053d0688fe92 lgoe_pernel_[sprint]_10_12_01_43.zip
acfade187b002a6ef9b9eb254ab191a3 boot_[sprint]_10_12_01_43.img

EDIT:
I just thought about it and realized that this zip probably wont install. I made it check that your device is "m3s_sprint_us", but you guys are using the cwm built for virgin mobile phones. You'll need to delete that "assert" line in the update script before you can install this from cwm.

deleted line from update script and was able to successfully install the kernel but no wifi which means no wireless hotspot either dont know why worked fine before and this is the stock kernel for my exact device.


EDIT: just realized that you said the cwm was built for vm phones that would cause a problm when flashing zips would it?
 
can you make sure wifi works with this one? this is the one i used as "stock" to insert the new kernel into. Download ls696_zv9_stock_boot.img from Sendspace.com - send big files the easy way


Just downloaded boot.img and flashed through terminal after rebooting the device wifi works again not sure if this helps but when i run cpu spy to check the processor speed it also shows the kernel info which is as follows
linux version 2.6.35.11-perf
(junyoung.lee@LGEARND1B4)(gcc version 4.4.3 (gcc)) #1 PREEMPT
Wed Mar 28 20:14:12 KST 2012
 
Maybe its a kernel module issue then? Can you run "lsmod" while your stock kernel is running and while the kernel we built from source is running and see if there is any difference in the output (like one of the modules not loading up). Also, you can check dmesg for any errors about broken wifi stuff.


Heres a zip that has a kernel built from source, and all the open-source modules. Unfortunately the wlan modules are proprietary and closed-source. http://www.sendspace.com/file/0korj9
 
Maybe its a kernel module issue then? Can you run "lsmod" while your stock kernel is running and while the kernel we built from source is running and see if there is any difference in the output (like one of the modules not loading up). Also, you can check dmesg for any errors about broken wifi stuff.


Heres a zip that has a kernel built from source, and all the open-source modules. Unfortunately the wlan modules are proprietary and closed-source. Download lgoe_pernel_[sprint]_10_12_19_24.zip from Sendspace.com - send big files the easy way


ok so here is what i come up with ran lsmod through terminal on stock kernel with wifi on and it returned results tried it again with wifi turned off and nothing happens
ran on your kernel and it returns no results probably because can not turn on wifi
also ran the dmesg on terminal both on stock and your kernel to compare.
the thing i am noticing is that if i search for wifi in the stock kernel it finds nothing but if i search for wlan in stock it is able to find the process as well as the pid for it
this section of the dmesg from your build hopefully is what you are looking for though.
3>[ 1.282226] init: /init.qcom.rc: 188: invalid command '/system/bin/log'
<3>[ 1.282257] init: /init.qcom.rc: 190: invalid command '/system/bin/log'
<3>[ 1.282714] init: /init.target.rc: 242: ignored duplicate definition of service 'hciattach'
<3>[ 1.282775] init: /init.target.rc: 273: ignored duplicate definition of service 'bt-dun'
<3>[ 1.282775] init: /init.target.rc: 279: ignored duplicate definition of service 'dund'
<3>[ 1.282806] init: /init.target.rc: 287: ignored duplicate definition of service 'btwlancoex'
<3>[ 1.282836] init: /init.target.rc: 297: ignored duplicate definition of service 'ftp'
<3>[ 1.282867] init: /init.target.rc: 303: ignored duplicate definition of service 'map'
<3>[ 1.282897] init: /init.target.rc: 319: ignored duplicate definition of service 'wpa_supplicant'
<3>[ 1.282897] init: /init.target.rc: 325: ignored duplicate definition of service 'dhcpcd_wlan0'
<3>[ 1.282928] init: /init.target.rc: 335: ignored duplicate definition of service 'qcom-wifi'
<3>[ 1.282958] init: /init.target.rc: 350: ignored duplicate definition of service 'sensors'
<3>[ 1.282989] init: /init.target.rc: 368: ignored duplicate definition of service 'hostapd'
also i realized today that i used winrar to unpack the files that i uploaded to google code if you think that is a potential problem let me know i have unpacked again using 7zip and am going to start uploading to a new project shortly so as not to have any potential conflicts


EDIT: also noticed that the pid for wifi in your kernel is not the same as the pid for wlan in stock not sure if this matters or not
 
Back
Top Bottom