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

Root [KERNEL] Quattrimus Kernel

I'm not sure this is the right place to post this but since I read here that this is a matter of the kernel & since this particular kernel works for both CM10.1 & aokp, I'm taking a stab.

As noted in that link, I was wondering if it would be possible to enable diagnostic mode in the Spec in CM10/aokp. I really want to run JB but as I'm still in the process of trying to iron out things for running the phone on prepaid, I simply can't do that w/o diagnostic.

I understand it's not a priority (things like stability & normal operations are) but I thought I'd at least put it on the radar.

Can't say it enough: TDM & all our devs, you guys rock! Much thanks.

I am not sure where diagnostic mode is failing but I thought all vs920 kernels supported it.
 
Version 1.1 is up. Should fix instability issues.

after flashing on my first boot it hung on optimising apps for about ten minutes, after it finished that I started up wifi tether and it rebooted right away. After it booted back up I checked to see if maps and navigation worked and they both did fine. So I checked wifi tether again and it rebooted. So it's still got an issue somewhere.
 
  • Like
Reactions: tdm
after flashing on my first boot it hung on optimising apps for about ten minutes, after it finished that I started up wifi tether and it rebooted right away. After it booted back up I checked to see if maps and navigation worked and they both did fine. So I checked wifi tether again and it rebooted. So it's still got an issue somewhere.

Can you pull /proc/last_kmsg after the reboot?
 
Another update. My phone while running the kernel became unusable. It rebooted about 4 times. I just got done dirty flashing aokp42 and now I'm having the force closes I was getting last night.
 
here ya go

Oh man, that's ugly. There doesn't seem to be anything usable in the log.

I just tried turning on tethering (both usb and wifi) on my nitro. It's running the same code compiled with the same compiler. No crash. :confused:
 
Oh man, that's ugly. There doesn't seem to be anything usable in the log.

I just tried turning on tethering (both usb and wifi) on my nitro. It's running the same code compiled with the same compiler. No crash. :confused:

Don't know man. It certainly jack's my phone up big time. I'm about to have to do a clean wipe and flash...again :-\
 
I am not sure where diagnostic mode is failing but I thought all vs920 kernels supported it.

Maybe it's a matter of me accessing it then. On stock ICS-based ROMs, it was just a matter of using the USB>Internet Connection>Modem" option. Then 2 COM ports would show up in my device manager through which I could edit the phone.

On CM10/aokp, no COM ports show up for me to access. Am I missing something?
 
Maybe it's a matter of me accessing it then. On stock ICS-based ROMs, it was just a matter of using the USB>Internet Connection>Modem" option. Then 2 COM ports would show up in my device manager through which I could edit the phone.

On CM10/aokp, no COM ports show up for me to access. Am I missing something?

I don't know if the code to turn the modem connection on is even in AOSP (or CM or AOKP). It may be a proprietary vendor thing.

It's possible that this is tied to ECM mode in the USB driver (we switched to RNDIS). That can easily be changed, but it would break tethering. So either I'd need to spin a custom kernel for you or add code to switch on the fly at runtime.

Either way, it's probably a big time sink and I just don't have the motivation. It's easy enough to flash a stock ROM to access NVRAM then flash back when done.
 
Kernel is causing reboots, had 3 this afternoon, didn't have time to pull the file for ya, ended up flashing back to CM10 nightly (in the middle of a run :p). I'll reinstall the kennel tomorrow and get you the kmsg.

So it's not just you IMU!
 
Kernel is causing reboots, had 3 this afternoon, didn't have time to pull the file for ya, ended up flashing back to CM10 nightly (in the middle of a run :p). I'll reinstall the kennel tomorrow and get you the kmsg.

So it's not just you IMU!

Thanks! I was beginning to wonder if me phone was going south. I actually ended up flashing trigger's kernel and it's working great. VERY smooth
 
I don't know if the code to turn the modem connection on is even in AOSP (or CM or AOKP). It may be a proprietary vendor thing.

It's possible that this is tied to ECM mode in the USB driver (we switched to RNDIS). That can easily be changed, but it would break tethering. So either I'd need to spin a custom kernel for you or add code to switch on the fly at runtime.

Either way, it's probably a big time sink and I just don't have the motivation. It's easy enough to flash a stock ROM to access NVRAM then flash back when done.

No worries, T, thanks for your time! :)
 
Kernel is causing reboots, had 3 this afternoon, didn't have time to pull the file for ya, ended up flashing back to CM10 nightly (in the middle of a run :p). I'll reinstall the kennel tomorrow and get you the kmsg.

So it's not just you IMU!

Trying to recreate the reboots, nothing's phasing it! Is there something that could accumulate/cause problems over time?
 
Trying to recreate the reboots, nothing's phasing it! Is there something that could accumulate/cause problems over time?

That is a possibility. If it's something that accumulates over time, it is likely a memory leak.

As always, a copy of /proc/last_kmsg immediately after reboot is the best way to diagnose.
 
That is a possibility. If it's something that accumulates over time, it is likely a memory leak.

As always, a copy of /proc/last_kmsg immediately after reboot is the best way to diagnose.

Hehe, finally broke it :D

https://www.dropbox.com/s/ce41q9k4yjvhmtb/last_kmsg

Have been running it for several hours non-stop, playing music, browsing, Google play, GPS, maps, tapatalk, texting, etc. finally just rebooted while trying to reply to your last post.

Was also plugged in for awhile and did not get hot like it usually does, so that's a plus!
 
And another reboot, again while trying to post in tapatalk (weird coincidence?). Had noticed my screen was not turning off, either from inactivity or the power button and rebooted, which fixed it. Was working on posting that here when it rebooted again.

https://www.dropbox.com/s/al3q0dlbzk30v0o/last_kmsg.zip

Let me know if you need more, going back to nightly kernel for now :p
 
I've been experiencing some instability on my nitro the past couple days after disabling DS Battery Saver. Some of the symptoms are:

* BSOD caused by kgsl running out of file descriptors.
* Reboot caused by failure to set cpu1 frequency from cpu0.
* Excessive battery drain.

I'm instrumenting the kernel to look for the causes of the BSOD and battery drain.

The reboot caused by failure to set cpu1 frequency was fixed once. I took the code out because the latest CAF code removed the offending check. But apparently it's still needed.
 
So what's the verdict on this kernel? Flash over aokp mr1? I had sms issues with the trigger kernel.
 
I think I've got a solution for wifi causing wakeups. I'll be testing tonight, hopefully put out a kernel update in the morning.

Well, I think it needs more work. Here's what I see testing on my P930:

The fix does seem to increase time in deep sleep (according to CPU spy). But the battery still seems to drain just as fast -- roughly 10%/hour. So perhaps the wifi chip isn't actually going into low power mode.

Additionally, with this code in place, wifi frequently doesn't restart after sleep. I need to go into settings/wireless and the act of scanning for networks seems to restart it.

Is anyone still interested in testing this? Maybe your results will be different, or maybe the VS920 wifi behaves better.
 
Back
Top Bottom