Go Back   Android Forums > Android Phones > LG Spectrum > Spectrum - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree34Likes

test: Reply
 
LinkBack Thread Tools
Old May 30th, 2013, 07:07 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default Cyanogenmod-Tweaked Kernel

This is a kernel tweaked off of the CM Iproj Kernel. A lot of the code will be directly borrowed from the repos of Windkernel, Showp1984, and Faux123

This is a custom kernel, so don't report issues it may cause as issues with roms. Always run the kernel included with those roms when reporting issues.

This kernel will replace/remove/rename a few things on /system so make sure you have a backup.
  • /system/etc/init.qcom.post_boot.sh - stop mpdecision and thermald, just in case they're running somehow
  • vold.fstab - only mount the external sdcard to clean up some logcat spam
  • /system/lib/modules - deletes all modules and replaces them with the ones for this kernel


Features:
  • Overclocked to max out at 1.83ghz
  • GPU overclocked to max at 300mhz
  • Added the governors: smartassv2 and lagfree
  • Added the I/O schedulers: row, sio, and vr
  • Added kernel based MSM Mpdecision from Showp1984
  • Added 3 stage kernel based MSM thermald from Showp1984
  • Added Dynamic fsync from one of faux123's repos
  • Sysfs Tunable CPU voltage table
  • Lowered the LCD screen max current (may make the screen a bit dimmer)
  • Enabled more tcp congestion methods.(may or may not do much)
  • Enable zram and swap
  • Lots of miscellaneous fixes, check the commit history for details.


I recommend using either Trickstermod or Kernel Tuner to tweak kernel settings. They both have their fine points. I personally prefer Kernel Tuner.


Latest Version: V44

I highly recommend using this with my enhanced init.d script. Get it from here


Previous Versions

Source: github


Showp1984 Explains some of the tunables for msm_mpdecision and msm_thermald on his rom page here. AS well as a bit about the badass governor.
IMUcarmen and PrinceCorwin like this.

__________________
Occasionally, I can be found on #androidforums on freenode feel free to stop by and class the place up!

*Disclaimer: Don't take anything I say as the gospel truth. I try to provide the best answers I can, as I understand it.
Yoinx is offline  
Last edited by Yoinx; June 30th, 2013 at 02:58 PM.
Reply With Quote
The Following 7 Users Say Thank You to Yoinx For This Useful Post:
Brandonson112 (June 10th, 2013), etrosen (May 30th, 2013), hayneskr (May 31st, 2013), IMUcarmen (May 30th, 2013), legmando33 (June 6th, 2013), PrinceCorwin (May 31st, 2013), reeseboy (May 31st, 2013)
sponsored links
Old May 30th, 2013, 07:12 PM   #2 (permalink)
Member
 
Join Date: Aug 2010
Posts: 197
 
Device(s):
Carrier: Not Provided

Thanks: 265
Thanked 46 Times in 34 Posts
Default

I wish I knew stuff about kernel making, because I really want a new kernel for CM10.1
__________________
(╯□)╯︵ ┻━┻
Brandonson112 is offline  
Reply With Quote
Old May 30th, 2013, 09:58 PM   #3 (permalink)
Senior Member
 
IMUcarmen's Avatar
 
Join Date: Mar 2012
Location: Williamsburg, VA
Posts: 1,720
 
Device(s): Droid Charge / LG Spectrum
Carrier: Not Provided

Thanks: 1,048
Thanked 351 Times in 276 Posts
Default

Quote:
Originally Posted by Yoinx View Post
I remember TDM posting something about wind kernel awhile back. I figured I might give it a go trying to modify it for our phone.

So, i cloned the repo at https://github.com/lyfkevin/Wind_iproj_CM_kernel and modified a few files to get it to build. Seems like it should have some nice features as far as overclocking, io schedulers, and governors.

However, as soon as I enabled bluetooth it rebooted and bootlooped lol

Then I noticed the https://github.com/lyfkevin/Wind_iproj_ICS_kernel repo has a higher version number. I'm going to clone this one and try to get a build, hopefully this one has newer modules or something and doesnt reboot.

Has anyone else attempted this yet?
I posted on the xda wind kernel thread when tdm brought it up but I never heard anything back. It would be awesome if you could get it working though
IMUcarmen is offline  
Reply With Quote
Old May 30th, 2013, 10:39 PM   #4 (permalink)
tdm
Senior Member
 
tdm's Avatar
 
Join Date: Jun 2012
Location: Seattle, WA
Posts: 1,953
 
Device(s): Oppo Find7
Carrier: T-Mobile US

Thanks: 905
Thanked 3,241 Times in 927 Posts
Default

The 3.4 kernel is where it's at now. An xda dev had it running on the su640 and/or the p930 I'm still a bit confused on that. I'll be trying to get it running on my nitro tomorrow and then it's spectrum time.
tdm is online now  
Reply With Quote
The Following 12 Users Say Thank You to tdm For This Useful Post:
admn81 (May 31st, 2013), azoller1 (May 31st, 2013), Brandonson112 (June 7th, 2013), etrosen (May 30th, 2013), hayneskr (May 31st, 2013), IMUcarmen (May 30th, 2013), Neph81 (May 30th, 2013), Nokoko (May 30th, 2013), PrinceCorwin (May 31st, 2013), reeseboy (May 31st, 2013), SilentSmoke11 (May 31st, 2013), Yoinx (May 31st, 2013)
Old May 31st, 2013, 04:53 AM   #5 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by tdm View Post
The 3.4 kernel is where it's at now. An xda dev had it running on the su640 and/or the p930 I'm still a bit confused on that. I'll be trying to get it running on my nitro tomorrow and then it's spectrum time.
Yeah? That second git I posted with ics in the name claims to be 3.80 Linux kernel but 3.4 wind version.

I managed to get iv3.4 to boot once so far but I had no video by basically adding config items from a diff between the cm defconfigs and the 640. Then every attempt after that I wasn't getting past the LG screen. But that was using stuff from the p930 config. Thinking about trying with just get cm920 config asks answering the questions for the missing fields.

Just tried a few things briefly last night. Bring my first time playing with it I didn't expect much to happen ;p

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Last edited by Yoinx; May 31st, 2013 at 05:00 AM.
Reply With Quote
The Following User Says Thank You to Yoinx For This Useful Post:
IMUcarmen (May 31st, 2013)
Old May 31st, 2013, 05:49 PM   #6 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Deleted
Yoinx is offline  
Last edited by Yoinx; May 31st, 2013 at 09:41 PM.
Reply With Quote
Old May 31st, 2013, 09:10 PM   #7 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Alright, I decided that since I can't get windkernel to work quickly (if at all) I compiled the overclocking, governors and I/O schedulers from wind kernel into the CM kernel. I'm guessing that if TDM is also working on this, he'll likely finish it before I do.

ANY KERNEL LINKED HERE SHOULD BE CONSIDERED EXPERIMENTAL AND POTENTIALLY RISKY.


Source https://github.com/CyanogenMod/lge-kernel-iproj

Patch - This should be able to be applied ontop of most any changes to the repo.
Modified defconifg - You'll get errors about not having min/max cpu freq set if you don't use this.

Flashable Kernel and Modules


I haven't done a whole lot of testing with this, but it boots fine and all the options are select-able without an immediate reboot.

Note: The default max freq is set to the max of 1836MHZ. So you'll need to use setcpu or the performance control in the rom (if it's still there) to set this to a lower value on boot if you like your battery. Here's a second flashable kernel that's got it's default set to 1512mhz, for those of you that like your phone to feel cool


I didn't carry across the undervolting. I'll have to put a bit more time into that as it looks like a bit of tweaking to the lge sources for each device. I'll have to compare/carry over each bit, compile/test/commit and continue on.


*edit*

And here's one that *should* let you tweak cpu voltages in incredicontrol. Of course, you may fry your phone playing in there... But, you might also get better battery.

http://d-h.st/EqT

Unfortunately, most of the other voltage control apps require the device/kernel to be added to the app to allow tuning... So it may or may not actually be doing anything.
Yoinx is offline  
Last edited by Yoinx; June 1st, 2013 at 01:48 PM.
Reply With Quote
The Following User Says Thank You to Yoinx For This Useful Post:
legmando33 (June 1st, 2013)
Old June 3rd, 2013, 05:38 AM   #8 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

I've got the governors io schedulers and sysfs voltages added in. However I'm having a hard time getting showps msm mpdecision baked in. It compiles but there's nothing in the log from it... so I'm not sure if it's working. Sorry for the sloppy commits. I moved from a local repo to a fork and my patches wouldn't take...

Any ideas?

https://github.com/yoinx/lge-kernel-iproj

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Reply With Quote
Old June 3rd, 2013, 09:58 PM   #9 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Scratch that... I've got msm_mpdecision baked into the kernel with sysfs tuneables now (though I don't actually know 100% if it's working right. Looks like I finally got it going, but it outputs it's start/stop to dmesg, not logcat.

Next is getting thermal control working built into the kernel. I'll put up a new build once I have that going. (just in case anyone's actually interested in using this). It's pretty neat being able to tweak things in trickster mod.
Yoinx is offline  
Last edited by Yoinx; June 3rd, 2013 at 10:09 PM.
Reply With Quote
The Following 3 Users Say Thank You to Yoinx For This Useful Post:
Brandonson112 (June 3rd, 2013), IMUcarmen (June 4th, 2013), Neph81 (June 3rd, 2013)
Old June 3rd, 2013, 10:26 PM   #10 (permalink)
Member
 
Join Date: Aug 2010
Posts: 197
 
Device(s):
Carrier: Not Provided

Thanks: 265
Thanked 46 Times in 34 Posts
Default

Quote:
Originally Posted by Yoinx View Post
Scratch that... I've got msm_mpdecision baked into the kernel with sysfs tuneables now (though I don't actually know 100% if it's working right. Looks like I finally got it going, but it outputs it's start/stop to dmesg, not logcat.

Next is getting thermal control working built into the kernel. I'll put up a new build once I have that going. (just in case anyone's actually interested in using this). It's pretty neat being able to tweak things in trickster mod.
After reading all the changes you put in. Once its fully functioning I'll switch to it. I'm really wanting some better battery life on cm10.1.
Brandonson112 is offline  
Reply With Quote
sponsored links
Old June 3rd, 2013, 11:57 PM   #11 (permalink)
Senior Member
 
Join Date: Mar 2012
Location: Wisconsin
Gender: Male
Posts: 1,348
 
Device(s): LG Spectrum, Droid 1, Nexus 7, OUYA (yeah, it's fun)
Carrier: Not Provided

Thanks: 186
Thanked 794 Times in 421 Posts
Default

Can't wait to give this a run as well. As much as I love stock CM, I miss having an overclocked kernel.
Neph81 is offline  
Reply With Quote
Old June 4th, 2013, 04:49 AM   #12 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by Brandonson112 View Post
After reading all the changes you put in. Once its fully functioning I'll switch to it. I'm really wanting some better battery life on cm10.1.
I don't really want to say that "I" put anything in. I'm just moving features over from wind kernel since when I compiled that it wouldn't even pretend like it would find out video.

I'm no dev... just borrowing code and recompiling then chasing down errors


Quote:
Originally Posted by Neph81 View Post
Can't wait to give this a run as well. As much as I love stock CM, I miss having an overclocked kernel.
Yeah me too. I mostly wanted the different governors. But the gpu is also overclocked to 266 which can be turned down in trickster.

I wanted to include the ... I can't think of the name... but it's a module from shpwp that lets you tube the gpu 2d and 3d settings on the fly.... but I'm not sure what the right info to pass for parameters is

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Last edited by Yoinx; June 4th, 2013 at 04:54 AM.
Reply With Quote
Old June 4th, 2013, 06:33 PM   #13 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

alright... so... I'd recommed making a full system/boot backup before using this (obviously).

Dev-Host - Kernel_Test.zip - The Ultimate Free File Hosting / File Sharing Service

This has everything that was included previously. I managed to get msm mpdecision and msm thermal working. These can both be configured in trickstermod.

msm mpdecision will turn off one of the cores when the turned off. It has other settings that can be configured via app or by echoing values into it's settings in /sys/kernel

msm thermal is the 3 phase version. You can configure the settings for it's low/mid/high upper and lower temp values (in celcius) and the frequency that you throttle to. It doesn't look like this thermal control though has a configurable panic though to reboot the phone. It just throttles the cpu all the way down.


Enjoy.

Remember, if you plan on undervolting... don't jump too far, and use an app like Stability test to see if you're going to get reboots from undervolting too far.


Also, I'm still trying to get https://github.com/showp1984/kcontrol_gpu_msm to work right to configure the 2d/3d clocks on the fly. Currently you can set the gpu clock through normal means. But not for each of those individually, which is the functionallity this module would provide. Specifically, I can't figure out the values to use when inserting the module in insmod kcontrol_gpu_msm.ko dev_3d0=0xXXXXXXXX gfx2d0_clk=0xYYYYYYYY gfx3d_clk=0xZZZZZZZZ


Unfortunately, I couldn't get the code from windkernel to do what I wanted for the thermal control... so this project's deviated a little. *shrug*

If anyone's got any ideas, I'm open to them.


*Now that I got all that to where it seems like it's working... I'm going to be cherry picking bug fixes in from WindKernel. Keep an eye here for updates. I'll start using some sort of versioning system as well*
IMUcarmen likes this.
Yoinx is offline  
Last edited by Yoinx; June 4th, 2013 at 07:14 PM.
Reply With Quote
The Following 2 Users Say Thank You to Yoinx For This Useful Post:
IMUcarmen (June 4th, 2013), Nokoko (June 4th, 2013)
Old June 4th, 2013, 08:07 PM   #14 (permalink)
Member
 
Join Date: Mar 2012
Posts: 436
 
Device(s):
Carrier: Not Provided

Thanks: 214
Thanked 158 Times in 120 Posts
Default

Flashed and booted fine, a little choppy at first but seems to be settling down. Adjusted the overclock and governer, will post updates after I run it for awhile. On the latest PAC nightly (6/03 I think?)
Nokoko is offline  
Reply With Quote
Old June 4th, 2013, 08:41 PM   #15 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Heh, new version. I was hoping to get it up here before anyone flashed

Dev-Host - Cyanogenmod-Tweaked.33.zip - The Ultimate Free File Hosting / File Sharing Service

The changes can be found (somewhat) in the commit messages here. Most of them just reference the commits on the winderkernel github. https://github.com/yoinx/lge-kernel-iproj/commits/cm-10.1

This should have a memory leak in fscache fixed, update the interactive governor, automatically convert oom_adj values to oom_score_adj values, send input events 1 at a time (might improve touch response), and a few misc wifi fixes (one addressed wakelocks, maybe it will help with the wlanrx issues).


I managed to get the kcontrol_gpu_msm module to work. You may have to do this manually (or via init script)


Basically, follow the directions and get the values from the cat commands. My string ended up having to be:

[high]insmod /system/lib/modules/kcontrol_gpu_msm.ko dev_3d0=0xc0c7a9f0 gfx2d0_clk=0xc0c38f80 gfx3d_clk=0xc0c339bc[/high]

I'm willing to bet yours will be as well.


OP updated with latest version.

Also, if you use this... the default governor is "badass" it's a conservative type governor. You'll notice better performance with most any of the others. I installed an frandom module (I'll likely include this next time I post up a build/installer) But for example... with badass (1.5ghz max) antutu gives me 3800ish for a score. with smartass2 (1.5ghz max) it gives me 7600ish. I didn't run multiple tests though.


So, first issue I've found... While running antutu benchmarks, it doesn't seem to like being set to 1.8ghz on performance governor. Though, I doubt this phone's ever enjoyed that too much. But I get a reboot each time. and of course there's nothing helpful in the last_kmsg :s It's VERY likely that I've undervolted the freqs over 1.5ghz too much.
IMUcarmen, dspl1236 and reeseboy like this.
Yoinx is offline  
Last edited by Yoinx; June 4th, 2013 at 09:52 PM.
Reply With Quote
The Following 2 Users Say Thank You to Yoinx For This Useful Post:
IMUcarmen (June 4th, 2013), Nokoko (June 4th, 2013)
Old June 5th, 2013, 06:12 AM   #16 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

So I charged my phone to 100% last night before I went to bed. Not sure if this is good or bad... but looked like about 2% an hour from just sitting on WiFi.

uploadfromtaptalk1370430679922.jpg

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Reply With Quote
Old June 5th, 2013, 07:51 AM   #17 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

V34 up.

I included the frandom (by ryuinferno) and kcontrol_gpu_msm modules in this one, with an init.d script to load them both (and configure some things for frandom by ryuinferno)

I also turned the max current for the lcd backlight down from 22.5mA to 12mA. I'm not sure if this will be too dark... or really even save any battery life... But I've always felt that the screen was too bright at the brightest setting which should draw juice for no reason.

Let me know how it works out.
Yoinx is offline  
Reply With Quote
The Following 2 Users Say Thank You to Yoinx For This Useful Post:
hayneskr (June 5th, 2013), Nokoko (June 5th, 2013)
Old June 5th, 2013, 10:24 AM   #18 (permalink)
AF Contributor
 
azoller1's Avatar
 
Join Date: Jul 2012
Posts: 1,068
 
Device(s):
Carrier: Not Provided

Thanks: 236
Thanked 641 Times in 361 Posts
Default

Flashed this on the latest chameleon os and got stuck a boot screen, will flash v34 on PAC and see if that works
azoller1 is offline  
Reply With Quote
Old June 5th, 2013, 10:29 AM   #19 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by azoller1 View Post
Flashed this on the latest chameleon os and got stuck a boot screen, will flash v34 on PAC and see if that works
Yeah, I probably should have mentioned that since I've only been running PAC on my phone... that's the only thing that I've been testing on.
Yoinx is offline  
Reply With Quote
Old June 5th, 2013, 11:54 AM   #20 (permalink)
Member
 
Join Date: Mar 2012
Posts: 436
 
Device(s):
Carrier: Not Provided

Thanks: 214
Thanked 158 Times in 120 Posts
Default

Quote:
Originally Posted by azoller1 View Post
Flashed this on the latest chameleon os and got stuck a boot screen, will flash v34 on PAC and see if that works
V34 Works fine on PAC.
Nokoko is offline  
Reply With Quote
sponsored links
Old June 5th, 2013, 12:53 PM   #21 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

Just tried v34 on cm10.1 5-22 nightly and it wouldn't read the SD card... said blank or unsupported file system. Its a class 10 sandisk 32gb.
reeseboy is online now  
Reply With Quote
Old June 5th, 2013, 01:19 PM   #22 (permalink)
Junior Member
 
Join Date: Jul 2012
Posts: 69
 
Device(s): LG Spectrum Former: Motorola Backflip MotoBlur is a sin
Carrier: Not Provided

Thanks: 14
Thanked 21 Times in 12 Posts
Default

I had no issue on 10.1 and I'm on the June 1st nightly
Brandonson112 likes this.
Monkeyzluck is offline  
Reply With Quote
Old June 5th, 2013, 01:44 PM   #23 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by reeseboy View Post
Just tried v34 on cm10.1 5-22 nightly and it wouldn't read the SD card... said blank or unsupported file system. Its a class 10 sandisk 32gb.
What format is the card in? FS and partitions?

I use a 32gb class4, 1 partition fat32.
Yoinx is offline  
Last edited by Yoinx; June 5th, 2013 at 01:53 PM.
Reply With Quote
Old June 5th, 2013, 02:38 PM   #24 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

Fat32, 1 partition. I dirty flashed another cm nightly and still couldn't access the sd card. I ended up having to restore a nandroid. Give me a few minutes to make an updated nandroid and then I'll reflash the kernel and see if I can get a logcat or something.
reeseboy is online now  
Reply With Quote
Old June 5th, 2013, 02:46 PM   #25 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by reeseboy View Post
Fat32, 1 partition. I dirty flashed another cm nightly and still couldn't access the sd card. I ended up having to restore a nandroid. Give me a few minutes to make an updated nandroid and then I'll reflash the kernel and see if I can get a logcat or something.
Thanks. I'm pretty curious what's going on. I think I only pulled one commit from windkernel that touched the file system sources. That *might* have done it, but I would think that would affect everyone.
Yoinx is offline  
Reply With Quote
Old June 5th, 2013, 02:52 PM   #26 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

Same here... curiosity is killing me haha. My only issue is the only way I've pulled a logcat is with catlog which puts it on the sd card... the one I can't access lol. So I'll need to do a google search to get the command - no biggie.
reeseboy is online now  
Reply With Quote
Old June 5th, 2013, 02:54 PM   #27 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by reeseboy View Post
Same here... curiosity is killing me haha. My only issue is the only way I've pulled a logcat is with catlog which puts it on the sd card... the one I can't access lol. So I'll need to do a google search to get the command - no biggie.
adb logcat > logcat.txt

This puts your logcat into logcat.txt in your current directory. Let it run for a few seconds then use control+c to kill it (logcat doesn't stop so the command will run forever).

It might not hurt to do

adb root
adb shell dmesg > dmesg.txt

as well.
Yoinx is offline  
Reply With Quote
Old June 5th, 2013, 02:56 PM   #28 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

Thx... That was faster than a google. search

WTF - now it sees the sd card fine. I'm currently on cm10.1 6-04 nightly. I don't get it. After 5 I'll restore my 5-22 nightly nandroid and try again.
reeseboy is online now  
Last edited by reeseboy; June 5th, 2013 at 02:58 PM.
Reply With Quote
Old June 5th, 2013, 02:59 PM   #29 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Hah. The fun of customizing things.
Yoinx is offline  
Reply With Quote
Old June 5th, 2013, 03:05 PM   #30 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

Exactly

Now on to the reason I loaded it in the first place... To test the 1080p video recording gallery fc issue.
reeseboy is online now  
Reply With Quote
sponsored links
Old June 5th, 2013, 03:09 PM   #31 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by reeseboy View Post
Exactly

Now on to the reason I loaded it in the first place... To test the 1080p video recording gallery fc issue.
I doubt anything in this kernel would fix that tbh.

This is the stock cm kernel with a bunch of tweaks and such added.


I suspect that the issue you're having right now with that is one of the many AV commits that they made right before RC4 got put up. Which is in the rom itself, not the kernel. Personally, I'm still on the PAC nightly from 5/28 but I don't really do much 1080p video recording... maybe I should try.
Yoinx is offline  
Reply With Quote
Old June 5th, 2013, 03:11 PM   #32 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

And it seems to be fixed using your kernel. I was easily able to cause the fc by trying to open facebook or messaging before trying to open video recorder on 1080p after a fresh reboot. I can't get it to fc now.
reeseboy is online now  
Reply With Quote
Old June 5th, 2013, 03:14 PM   #33 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

To be clear, the gallery/video recording fc seems to be caused by an OOM issue, which it looked like you addressed that with some of the tweaks.

The video playback/streaming is something else completely, which seems to be as a result of the plethora (yes, I said plethora) of av commits recently done. Those were the reason I was on 5-22 nightly originally - that was to most recent I had before the commits.
reeseboy is online now  
Reply With Quote
Old June 5th, 2013, 03:55 PM   #34 (permalink)
Junior Member
 
zacanger's Avatar
 
Join Date: Dec 2012
Location: PA, USA
Gender: Male
Posts: 55
 
Device(s): LG Spectrum CM10, Craig CMP741e
Carrier: VZW

Thanks: 55
Thanked 13 Times in 10 Posts
Default

I'm sure this is a n00b question that a three-year Android user shouldn't have to ask, but is flashing a kernel the same process as flashing a ROM? Just clear cache and davlik? Do I need to clear data as well?
zacanger is offline  
Reply With Quote
Old June 5th, 2013, 03:57 PM   #35 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

It is. Be sure to make a nandroid backup first to be safe.
zacanger likes this.
reeseboy is online now  
Reply With Quote
The Following User Says Thank You to reeseboy For This Useful Post:
zacanger (June 5th, 2013)
Old June 5th, 2013, 04:13 PM   #36 (permalink)
Dr. Feelgood
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 16,161
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 13,700
Thanked 11,816 Times in 6,809 Posts
Default

Quote:
Originally Posted by zacanger View Post
I'm sure this is a n00b question that a three-year Android user shouldn't have to ask, but is flashing a kernel the same process as flashing a ROM? Just clear cache and davlik? Do I need to clear data as well?
Dalvik and cache only, no data


Also, can we get a source link to current builds in the OP? I see a few github links thrown around in the thread but it should be clearer where the actual source is
zacanger likes this.
Rxpert83 is online now  
Last edited by Rxpert83; June 5th, 2013 at 04:16 PM.
Reply With Quote
The Following User Says Thank You to Rxpert83 For This Useful Post:
zacanger (June 5th, 2013)
Old June 5th, 2013, 04:18 PM   #37 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by Rxpert83 View Post
Dalvik and cache only, no data


Also, can we get a source link to current builds in the OP? I see a few github links thrown around in the thread but it should be clearer where the actual source is
Keep in mind though, this does change a few files on your system partition as well. So make sure to back that up before flashing.


Yeah, I thought I had put the github in the OP. I'll update it now
Yoinx is offline  
Reply With Quote
The Following 3 Users Say Thank You to Yoinx For This Useful Post:
reeseboy (June 5th, 2013), Rxpert83 (June 5th, 2013), zacanger (June 5th, 2013)
Old June 5th, 2013, 05:10 PM   #38 (permalink)
Senior Member
 
Join Date: Jul 2012
Location: Newnan, GA
Posts: 619
 
Device(s): LG Spectrum
Carrier: VZW

Thanks: 451
Thanked 192 Times in 147 Posts
Default

Quote:
Originally Posted by Yoinx View Post
Hah. The fun of customizing things.
Ok... I just finished resetting up my 5-22 nightly rom and made a nandroid of it. Then I flashed the v34 and whadya know? no issues with the sd card lol. I bet I had an issue because I didn't make a nandroid of it the first time haha.
reeseboy is online now  
Reply With Quote
Old June 5th, 2013, 05:32 PM   #39 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Now I wish I had some logcats off the Bluetooth issue people were still having. I've pulled a couple fixes in for the next build from wind kernel that are on the github commits. I saw another one about names not being released that in trying to relocate to pull in that sounded like the issue people were having where out just wouldn't reconnect sometimes.

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Reply With Quote
Old June 5th, 2013, 06:18 PM   #40 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by reeseboy View Post
To be clear, the gallery/video recording fc seems to be caused by an OOM issue, which it looked like you addressed that with some of the tweaks.

The video playback/streaming is something else completely, which seems to be as a result of the plethora (yes, I said plethora) of av commits recently done. Those were the reason I was on 5-22 nightly originally - that was to most recent I had before the commits.
It's likely a codec issue. Just tried recording a 1080p video. Worked fine. Played back fine in mx player maybe because I use a custom codec for that. But in the sick video player I'm getting a few pixels of scramble along the edge.

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Reply With Quote
sponsored links
Old June 5th, 2013, 10:22 PM   #41 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

V35 posted.

You can check the github for the commits for a changelog (of sorts)

Some highlights:
misc bluetooth fixes (hopefully)
a couple FS fixes/tweaks
Slub memory allocator optimization (make it use less ram)
Gentle Fair Sleepers are disabled by default, this should make the UI more buttery.
Got rid of an error that Powerhal was putting into logcat about ondemand
Lowmemory killer should now also compact memory when it triggers.


Sorry for all the rapid fire updates. They should calm down a good bit here in the next few days.
IMUcarmen likes this.
Yoinx is offline  
Last edited by Yoinx; June 5th, 2013 at 10:24 PM.
Reply With Quote
The Following 3 Users Say Thank You to Yoinx For This Useful Post:
IMUcarmen (June 5th, 2013), Nokoko (June 5th, 2013), zacanger (June 7th, 2013)
Old June 5th, 2013, 10:45 PM   #42 (permalink)
Senior Member
 
IMUcarmen's Avatar
 
Join Date: Mar 2012
Location: Williamsburg, VA
Posts: 1,720
 
Device(s): Droid Charge / LG Spectrum
Carrier: Not Provided

Thanks: 1,048
Thanked 351 Times in 276 Posts
Default

Quote:
Originally Posted by Yoinx View Post
Sorry for all the rapid fire updates. They should calm down a good bit here in the next few days.
Don't be sorry man. Keep them coming. I for one love the constant updates and love the fact that you are so commited to getting it right. Thanks for your hard work.
zacanger likes this.
IMUcarmen is offline  
Reply With Quote
Old June 5th, 2013, 11:29 PM   #43 (permalink)
Senior Member
 
IMUcarmen's Avatar
 
Join Date: Mar 2012
Location: Williamsburg, VA
Posts: 1,720
 
Device(s): Droid Charge / LG Spectrum
Carrier: Not Provided

Thanks: 1,048
Thanked 351 Times in 276 Posts
Default

You're kernel doesn't like beta 4. I just tried it and it wouldn't boot. Albeit I did only do a dirty flash.
IMUcarmen is offline  
Reply With Quote
Old June 6th, 2013, 01:38 AM   #44 (permalink)
Member
 
Join Date: Mar 2012
Posts: 436
 
Device(s):
Carrier: Not Provided

Thanks: 214
Thanked 158 Times in 120 Posts
Default

Quote:
Originally Posted by Yoinx View Post
V34 up.

I also turned the max current for the lcd backlight down from 22.5mA to 12mA. I'm not sure if this will be too dark... or really even save any battery life... But I've always felt that the screen was too bright at the brightest setting which should draw juice for no reason.

Let me know how it works out.
I was getting some weird light issues on v34, seemed to be related to the status bar brightness slider. Was just a bit quirky, would dim down and then get bright again occasionally, not all the time, and brightness would flicker sometimes. Was pretty random, on v35 now, I'll let you know if it keeps happening and if I can pinpoint why. Just thought I'd let you know.
Battery life seems better, although still not great, you'll be a superstar around here if you can improve that!
Nokoko is offline  
Reply With Quote
Old June 6th, 2013, 04:27 AM   #45 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by IMUcarmen View Post
You're kernel doesn't like beta 4. I just tried it and it wouldn't boot. Albeit I did only do a dirty flash.

might be because I replace system/etc/init.qcom.boot.sh I think it is. Maybe compare those... beta 4 May have had extra stuff in there.




Quote:
Originally Posted by Nokoko View Post
I was getting some weird light issues on v34, seemed to be related to the status bar brightness slider. Was just a bit quirky, would dim down and then get bright again occasionally, not all the time, and brightness would flicker sometimes. Was pretty random, on v35 now, I'll let you know if it keeps happening and if I can pinpoint why. Just thought I'd let you know.
Battery life seems better, although still not great, you'll be a superstar around here if you can improve that!
I'd imagine that might be a result of limiting the LCD backlight current by almost half. Maybe not all spectrums are enjoying that so much.

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Last edited by Yoinx; June 6th, 2013 at 04:36 AM.
Reply With Quote
Old June 7th, 2013, 10:15 AM   #46 (permalink)
Member
 
Join Date: May 2012
Location: HUNTSVILLE AL
Gender: Male
Posts: 344
 
Device(s): LG Spectrum, ACER a200
Carrier: VZW

Thanks: 33
Thanked 32 Times in 25 Posts
Default

Speaking of Bluetooth issues, I have them as well. My Pioneer deck connects then disconnects after a little bit of time then sometimes reconnects and sometimes doesnt

V35
sosaudio1 is offline  
Reply With Quote
Old June 7th, 2013, 11:09 AM   #47 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by sosaudio1 View Post
Speaking of Bluetooth issues, I have them as well. My Pioneer deck connects then disconnects after a little bit of time then sometimes reconnects and sometimes doesnt

V35
You wouldn't have a log cat would you?

Sounds like what I saw a patch for that now I can't find again.

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Reply With Quote
Old June 7th, 2013, 11:17 AM   #48 (permalink)
Member
 
Join Date: May 2012
Location: HUNTSVILLE AL
Gender: Male
Posts: 344
 
Device(s): LG Spectrum, ACER a200
Carrier: VZW

Thanks: 33
Thanked 32 Times in 25 Posts
Default

Quote:
Originally Posted by Yoinx View Post
You wouldn't have a log cat would you?

Sounds like what I saw a patch for that now I can't find again.

Sent from my VS920 4G using Tapatalk 2
Need to generate one....have terminal on the phone what are the commands...
sosaudio1 is offline  
Reply With Quote
Old June 7th, 2013, 11:57 AM   #49 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Sep 2011
Location: Virginia, USA
Gender: Male
Posts: 1,033
 
Device(s): LG Spectrum
Carrier: Verizon Wireless

Thanks: 95
Thanked 370 Times in 281 Posts
Default

Quote:
Originally Posted by sosaudio1 View Post
Need to generate one....have terminal on the phone what are the commands...
Logcat > /sdcard/logcat.txt

Sent from my VS920 4G using Tapatalk 2
Yoinx is offline  
Reply With Quote
Old June 7th, 2013, 02:31 PM   #50 (permalink)
Member
 
Join Date: Mar 2012
Posts: 436
 
Device(s):
Carrier: Not Provided

Thanks: 214
Thanked 158 Times in 120 Posts
Default

Switched back to aokp, v35 booted fine, then as I restored stuff it rebooted about 4 times in a row, then seemed to settle down but started randomly rebooting again this morning. Was definitely seeing better battery on this though so would be great if you could get it working on AOKP too.
Nokoko is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > LG Spectrum > Spectrum - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:25 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.