yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] dwaynet89:
If I'm not mistaken it's based off 4.2.2. Don't know what device it's native to. That's probably a question for arrrghhh. I believe you can hide the virtual buttons on cm10.1 and Im positive you can on carbon b/c I do. You just have to try them they're wonderful
[Motorola Photon Q 4G LTE] arrrghhh:
Yo, I was hoping the OP/changelog would be clear... hahaha!

Basically I will be rolling 2 separate kernels - one for CM/Carbon, one for stock. So far, there's only one kernel for CM released on this thread, but I am going to do my best to keep both kernels in sync - although in some instances this may not be possible.

So anything that is labeled 'stock' or has a firmware version next to it is for stock. Anything labeled CM, is for CM/Carbon :).

Please let me know if I can streamline the changelog or the OP more... I know it's confusing, but I'd rather avoid separate threads (unless of course it does get ridiculous :p)

Thanks!

Oh, and FYI - Stock is up to 0.17. I rebuilt with GCC 4.6 for that (I was already using 4.6 on the CM kernels).

That probably made things more confusing, lol. Again, feel free to ask questions, and if there is some way I can improve the flow of the first few posts. Thanks again.

Galactic, this is kinda OT to my kernel thread... but I guess it's my fault for mixing CM and Carbon kernels with Stock :p.

I'm not sure how to respond to your question really, other than how dwaynet89. I used the device/kernel/common/vendor trees from cm10.1 (with some changes) to get Carbon working. cm10.1 came from epinter's port to the RAZR HD, so if you want to trace it back to that device I spose? Kind of roundabout, but honestly you should try them all. Try CM, try Carbon. Hopefully there will be more choice (and more confusion) soon as well :D.
[Motorola Photon Q 4G LTE] galacticservant:
Hey, isn't that the XDA way??? The more analytical it gets, the better! Haha, frickin' love it!

From The Q, Of Course

live the life you love, love the life you live
[Motorola Photon Q 4G LTE] arrrghhh:
OK, it looks like if I add SIO, ROW and BFQ schedulers to the stock kernel, it should then be on par with the CM kernel... Then I can look at adding more!!

I managed to get SIO added no problem. Went to add ROW, ran into some issues. Finally got it added, and now it seems I broke wifi... So I won't be releasing it yet. Hopefully tomorrow!
[Motorola Photon Q 4G LTE] kabaldan:
Carbon is CyanogenMod derivate. See http://goo.im/devs/carbon
[Motorola Photon Q 4G LTE] ericcire:
I installed the newest one for stock JB, installed and dont see a difference. Which icon or app should I be looking for on the phone?
[Motorola Photon Q 4G LTE] BAMF:
There is no app icon. Once you flash the kernel, you have to use a 3rd party app to set clock speeds, governor, voltages, etc. No Frills CPU Control seems to be the only one that can make the clock speeds stick, but doesn't offer voltage controls as far as I can tell. SetCPU and others can do clock speeds and voltage, as well as set parameters on certain governors.
[Motorola Photon Q 4G LTE] Aaargh!:
There is no app or icon that will appear. You need go install set-cpu, no frills CPU, etc, and then you will be able to adjust the CPU speed. Perhaps check out Arrrghs "kernel tuner" thread and learn more about over/under clocking. Biggest benefit for me is better/longer battery life
[Motorola Photon Q 4G LTE] arrrghhh:
Haha, this is not an app mate. The other answers are dead on.

Perhaps you need to know what to do with this kernel thing now that you've flashed it, huh?

As was mentioned, I have created this kernel tuning thread. Gives you some tips and definitions of what the various options are and how they impact your device :)
[Motorola Photon Q 4G LTE] arrrghhh:
Alright folks! Finally sorted my issues, and now the stock kernel is on-par with the CM kernel - as far as my customizations go at least. The stock kernel was a bit behind, but no more!

Please see the changelog.

Edit - FYI, there seems to be an issue with the wlan driver... wireless seems to work, but the .ko file is HUGE - which is resulting in a large update.zip for v0.18.

It does work... but perhaps I need to strip the wireless module of some debugging symbols. I will look at it tomorrow - it doesn't seem to hurt anything in the meantime!

In fact, it is too large to attach on XDA... so it will have to be downloaded from the changelog until I sort out the mystery. Thanks!

Edit 2 - 0.18 is fixed, indeed I needed to strip the modules... Should work exactly the same, but not be nearly as big! Attached to the OP and changelog as usual.

Edit 3 - 0.18 is "further" fixed! Using a for loop from CM kernel builds, I am now stripping all modules properly. It is now smaller than ever before, and now about the same size as CM kernels.

I have also added MD5 sum's to the changelog.

Let me know if you have any questions.
[Motorola Photon Q 4G LTE] palmwangja:
I've been using 0.18 with smartass and sio. so far so good, thank you!
[Motorola Photon Q 4G LTE] palmwangja:
I just migrated from No Frills CPU to Voltage Control

https://play.google.com/store/apps/details?id=com.darekxan.voltagecontrol

http://xdaforums.com/showthread.php?t=829731

it does what others do just like that and plus, obviously 'voltage control'

Most of all, it just sticks after reboot at least with service mode: I haven't tried out init.d method though.
[Motorola Photon Q 4G LTE] pir8man:
Voltage control does not block other apps from changing back to 1.5ghz. I've seen it in my testing here. My best testing is to use NoFrills for kernel config and lock it in, then use either SetCPU or VoltageControl for ONLY voltage adustment and leave the kernel pages disabled in either app you prefer.

I'm running the v18 latest max setting on smartassv2 governor with SIO scheduler. Still dialing in undervolt, but not even a single FC yet. Performance and battery is amazing for me so far. Heavy use for me still lasts 1.75 days for me. Hoping to tweak that to 2 days with voltages.

Kudos again arrrghhh, perfectly stable and nice option set. I appreciate your work!

Too bad I can't see how msm-dcvs performs at 1.89ghz. That would be interesting. Still, I can't complain with the results I have. I'm pleased as punch.

Sent from my XT897
[Motorola Photon Q 4G LTE] arrrghhh:
Wow, that's awesome!!

Post up your results in my kernel tuning thread when you have it all dialed in. :good:
[Motorola Photon Q 4G LTE] Aaargh!:
If you can get more than one day with heavy use, that is very impressive. please share your settings. I have not delved into "undervolting" but would enjoy that kind of battery life. Thanks in advance
[Motorola Photon Q 4G LTE] palmwangja:
Can I use your new kernel on CM10? I want both battery life and video camera... :D
[Motorola Photon Q 4G LTE] arrrghhh:
I have not tried. Worst case, you lose WiFi.
[Motorola Photon Q 4G LTE] pir8man:
Keep in mind heavy use for me is not the same as anyone else. Nonetheless, I'll post my results when I get everything dialed in.

I just swichted to ROW scheduler with the latest kernel. Today is my first day with it, so we'll see if it changes much.
[Motorola Photon Q 4G LTE] palmwangja:
Oh, well, the boot process got stuck at motorola logo, not going into CM logo.

CM10 doesn't seem to be supported .... I tried with CM10.1 v16
[Motorola Photon Q 4G LTE] pir8man:
Got about another third of testing done tonight. Narrowed in on a bunch of undervolt settings. I will post my findings when I finish the remaining ones. Hopefully we can then get a proper voltage table in the kernel.

I believe no frills for kernel options and myrt undervolt to complement would be the best setup for anyone testing undervolt in JellyBean. Therefore ...

Request: add cpu tables that work with myrt undervolt. (Nevermind MYRT project is abandoned)

UPDATE: as I hit a lower voltage limit of 700mv early, i will finish some stability testing and post my findings later today.
[Motorola Photon Q 4G LTE] pir8man:
I finished my first round of undervolt testing....

link

I have only tested about an hour at these settings. It will take a couple days to know if these are completely stable for me and what the battery time improvements are.. But I wanted to get the info out there.
[Motorola Photon Q 4G LTE] arrrghhh:
Wow, so kabaldan said the kernel is an integral part of the nightly builds - which I wholeheartedly agree, and this means I was behind a few commits.

Turned out to be more than a few! Whew, 3,400+ by my count. The new CM10.1 kernel will be up to date with May 27th's nightly of CM10.1 ;).

This also makes me think the method I am currently using to track kernels - IE versioning them to match stock kernels is kind of counter-productive... So I will start labeling the CM kernels to match the nightly they should match - assuming there was changes to the kernel that night. Depending on how frequent changes are, I might fall a bit behind - apologies, but I will try to catch up :good:
[Motorola Photon Q 4G LTE] pir8man:
Can we get lower voltages on the low-mhz speed options? my kernel testing plateaued at 700mv at 702Mhz. Is that the lowest the CPU can run at or can we squeeze some more battery savings out by lowering voltages further for the low speeds?
[Motorola Photon Q 4G LTE] arrrghhh:
Well, you can go lower but as you know that may cause stability issues. I honestly have not mucked with the tables a ton, I've tried to use other MSM8960 tables as reference points ;).
[Motorola Photon Q 4G LTE] pir8man:
i cannot set lower than 700. anything I set to lower, automatically resets back to 700. it must me limited to 700 somewhere.
[Motorola Photon Q 4G LTE] arrrghhh:
Oh, I see. Well I'll try and see what I can do then...
[Motorola Photon Q 4G LTE] arrrghhh:
Well, using ROM Toolbox Lite on CM10.1, I'm able to get down to 600... I'll check on stock in a bit.

I wonder if this is an app-bound thing, not a kernel-bound thing. What app are you using to adjust voltages?

At any rate, I've updated my CM10.1 kernel. I encourage everyone to read post #5 if you are interested in using my kernel on CM. The way to determine if you are up-to-date is a little confusing, but I hope it makes sense. Please feel free to ask questions, and perhaps inform me of how better I can phrase it ;).
[Motorola Photon Q 4G LTE] palmwangja:
I tried this with a stock JB, but even if I set down to 600mV all of them revert back to 700mV after applying the value. :)
[Motorola Photon Q 4G LTE] arrrghhh:
Not on CM, as you can see they are applied in the screenshot.

I guess I'll try on stock again, but if there's something software limiting in the stock ROM, not sure what I can do about that.

Edit - just applied the voltages on stock JB, 600mV. Not sure what's the difference, but 600mV seems the lowest that can be achieved.

Edit 2 - lol, if I close and reopen the app, they reset to 700mV... ok, so perhaps 700mV is the lowest we can go... That is strange behavior for sure. The value definitely appeared to apply (I press "apply" and it says the voltages are applied...) but if they "reset" after I close & reopen the app, something is certainly going on here.
[Motorola Photon Q 4G LTE] palmwangja:
In SetCPU/stock, any value below 700 is automatically grayed out even if you can set the value.... Hmm,
[Motorola Photon Q 4G LTE] pir8man:
Im using SetCPU 3.0.9 and I can set them below 700 and they just revert back as you have found.

Running stock ROM with your kernel v0.18.

If you found them sticking in CM then it must be a kernel issue and not an app issue. (right?)
[Motorola Photon Q 4G LTE] arrrghhh:
Nah, they reverted back to 700mV on CM as well.

Not sure what is preventing us from going lower, perhaps it's not possible on this SoC.
[Motorola Photon Q 4G LTE] pir8man:
ive been reading up on the the 700mV low limit. I am thinking it is a hardware limit. as the low end speed of 384MHz is defaulted to run at 850mV with a 25mV variance. Factory settings dont call for anything even near 700mV. So they probably never put it in.

Still my device is running great. gonna reset battery stats in the morning so I can get a clear idea of battery time.
[Motorola Photon Q 4G LTE] cmattern:
I may just need to grab another cup of coffee here but, when I check on post #5 the most recent kernel I see is 5/27, is the kernel you updated on 5/29 available to test drive?
[Motorola Photon Q 4G LTE] pir8man:
yep, you mis-read it. get some coffee bud. there was no updated kernel on 5/29 because...

there were no kernel changes from 5/27 to 5/29. so you can safely run the 5/27 kernel with the 5/29 nightly.
[Motorola Photon Q 4G LTE] cmattern:
Thanks, been running it happily for a few days now and drinking my second cup before typing too. ;)
[Motorola Photon Q 4G LTE] pir8man:
just posted an undervolt guide:

link
[Motorola Photon Q 4G LTE] arrrghhh:
CM Kernel updated to June 5.
[Motorola Photon Q 4G LTE] pir8man:
Does this kernel support zram swap file support? If so, how do we enable it?

Sent from my XT897
[Motorola Photon Q 4G LTE] arrrghhh:
lol, looks like I have something new to research :)

Edit - found some patches... Will dig into this more tomorrow.
[Motorola Photon Q 4G LTE] Youngunn2008:
i think i am going to have to try out the cm kernel on my ahd... :)
[Motorola Photon Q 4G LTE] darknessrise1234:
I'm using the stock kernel on the bell rom for ahd and loving it. Quadrant up to nearly 6000 and battery is even better.
[Motorola Photon Q 4G LTE] Comet1966:
Do you have the photon q, or the ahd?
[Motorola Photon Q 4G LTE] Youngunn2008:
AHD. It works on our device too.
[Motorola Photon Q 4G LTE] Comet1966:
On the sprint one?
[Motorola Photon Q 4G LTE] xLoveHateLegend:
**** just got weird... xD
[Motorola Photon Q 4G LTE] dumon:
[MENTION=420530]arrrghhh[/MENTION]

What is the standby current draw on the Photon Q with CM10.1 kernel?

I've installed your CM 10.1 kernel with corresponding Carbon ROM for on my Atrix HD and getting around 19 mA current drain in standby.

I've set min freq to 96MHz and undervolted it to 1V but it did not help much (using interactive gov). I've noticed similar current drain with all 4.2.2 based ROMs. Just wondering if it is the case for all msm8960 devices for now.
[Motorola Photon Q 4G LTE] arrrghhh:
Could be, I haven't really measured it to be honest.

I like the smartassV2 gov, and there's some other ones I've heard about that are even better... but still there might be issues with the common kernel.

Have you compared your values to stock kernel drain? Or even my kernel on stock ROM? Not sure how that would work tho since you're not on the PQ.
[Motorola Photon Q 4G LTE] dumon:
Your 0.18 kernel on 4.1.1 ROM is good. Getting around 2-5mA and it is comparable to stock kernel.
[Motorola Photon Q 4G LTE] pir8man:
Does the kernel have init.d script support enabled?

I was testing a beta app today that said it was not supported. But it may be the app and not the kernel.

Sent from my XT897
[Motorola Photon Q 4G LTE] darknessrise1234:
Here's my first run on this kernel.
[Motorola Photon Q 4G LTE] Comet1966:
What frequencies are you using? Any special apps?
[Motorola Photon Q 4G LTE] darknessrise1234:
Just using smart actions with 96 min, 1.89 max and on demand governor.
[Motorola Photon Q 4G LTE] dumon:
I would assume you are on 4.1.1 ROM?
[Motorola Photon Q 4G LTE] darknessrise1234:
4.1.2
[Motorola Photon Q 4G LTE] dumon:
Not much of a difference. And that explains it. Hope there will be a fix for Cm10.1 kernels to bring it to that same level as stock at least.
[Motorola Photon Q 4G LTE] arrrghhh:
CM kernel updated to latest nightly.
[Motorola Photon Q 4G LTE] antonyfirst:
Hello Aaargh, does this mean we can flash it over yesterday's Kabaldan release?
[Motorola Photon Q 4G LTE] arrrghhh:
My kernel is updated to June 12. So long as there's no new commits, you can continue to use the kernel with CM/Carbon/etc.

This is explained in the CM changelog post.
[Motorola Photon Q 4G LTE] palmwangja:
Always appreciated. Is there any way CM/PhotonQ main branch can merge your commit as a default ?
[Motorola Photon Q 4G LTE] antonyfirst:
Hey Argh, I am using the latest version of Carbon rom (by the way, fantastic!). It's been released on 13/06/2013 and CM10, on the same day, has the video camera.

So, I guess I shouldn't install the latest Kernel, or I'd lose those fixes happened on 13/06?
[Motorola Photon Q 4G LTE] arrrghhh:
Can you please just check the kernel repo as instructed in the post... it's in the cm changelog post.

If there's no changes to the razrqcom tree, then you're fine.
[Motorola Photon Q 4G LTE] pir8man:
now that the camcorder is working in JB 4.2.2, I was thinking I'd tryout CM 10.1... Trying to follow your input I went to the kernel repo as you linked and see many many commits in the past 5 days. How am I supposed to know if these relate to your kernel being up to date or not? If you are going to point us non-programmers to a page for information, some basic description of what we are looking at/for is necessary.

ALSO:

I posted this the other day without a response:

Does the kernel have init.d script support enabled?

this is typically one of the first things enabled in a custom kernel, but my testing shows it disabled in this kernel.
[Motorola Photon Q 4G LTE] arrrghhh:
Hm, I really don't know how to explain this better.

Look at the LAST commit on the kernel commits from razrqcom. Does the date match my kernel? If yes, I'm up-to-date. If no, I'm not.

I wasn't sure, so I didn't answer. I'm going to go with "no" based on your experience...

Again, this is my first Android device. I'm looking at enabling this, but not sure how without modification to the ramdisk...
[Motorola Photon Q 4G LTE] arrrghhh:
Updated to latest from razrqcom.
[Motorola Photon Q 4G LTE] dumon:
Just tried it on Carbon ROM and it does not boot - blank screen. Reverted back to Jun 12 build.
[Motorola Photon Q 4G LTE] arrrghhh:
MB886... hum. I just booted the kernel on the 6/18 Carbon, however, looking at the last builds it seems I have some work to do on the MB886 - last build you folks have is 6/14? That's not right, sorry about that! I didn't notice MB886 had fallen behind. All the XT devices are bunched together, they're easily identified :p.

Edit - Derp, running my latest kernel I notice there is some new ifdefs... so I need to roll another to properly enable the over/underclock!

Edit 2 - new kernel up, OC/UC works again, no problem...

As for the MB886 not building, nothing is glaring... It should build again tonight, so hopefully in the morning you will have a new ROM to pair with this new kernel :)
[Motorola Photon Q 4G LTE] dumon:
Have the latest Carbon ROM running on my Atrix HD with the latest UV kernel.

Boots fine and what's most important - battery drain seems to be fixed in latest CM 10.1 kernel.
[Motorola Photon Q 4G LTE] arrrghhh:
Updated CM kernel to June 22.

Going to be adding the Wheatley governor.

Edit - both stock & CM kernels are now up-to-date and have Wheatley.

Someone requested I make a current stock version for ICS - just curious how many people would be interested in that? I know of one already, and you know who you are so no need to chime in :p
[Motorola Photon Q 4G LTE] palmwangja:
Great, always thankful jobs!

Sorry to bother you, but could you kindly update to the kernel level of 23/6 nightly?

6/22 Carbon + 6/23 arrrghhh kernel still seems to have a mute camcoder problem of 6/19~6/22 nightlies...

Thanks,
[Motorola Photon Q 4G LTE] arrrghhh:
Interesting, the 6/23 kernel should be fully up-to-date with razrqcom..

I'll double check to make sure I didn't miss something...

Edit - I am on a Carbon build from 6/22 (built on my server around 10pm last night) and my last CM kernel - the wheatley kernel if you will from 6/23 (built last night as well) and recording video + sound works great.

Soooo it works for me! I hate to be "that guy", but it does....
[Motorola Photon Q 4G LTE] palmwangja:
I'm the last 6/22 carbon GSM build... is that different from 6/22 CDMA one you are using ?

Edit - seems like GSM build is 4 hours earlier than CDMA 6/22 :)

no 6/23 for GSM ...
[Motorola Photon Q 4G LTE] arrrghhh:
Ah yes... Not all devices build on a truly "nightly" basis. Hoping to get all my devices to build nightly, but that's just because I'm greedy.

I'll roll another build thru jenkins right now. Keep an eye out for it ;).
[Motorola Photon Q 4G LTE] Plancy:
Eh, well I thought flashing this might solve my high "Android OS" battery listing, but of course it didn't. Didn't have this issue with a typical FXZ flash of Sprint JB . Have any ideas how I can track what's going on? I did removed and freeze quite a bit of system apps. I don't know what "Android OS" typically encapsulates.... and the log just has a lot going on.
[Motorola Photon Q 4G LTE] palmwangja:
Which network are you on? if you are on 3G/UMTS, current stocks has a problem with its fast dormancy option, and you better disable them by modding build.prop and freezing all the related apk. if not, it drain quite a lot with a certain carrier.
[Motorola Photon Q 4G LTE] pir8man:
I am interested.
[Motorola Photon Q 4G LTE] arrrghhh:
Huh, I didn't think anyone would still be on ICS!

Well that's 2. I'll look at resurrecting my ASA-14 tree.

Edit - whew, that was a PAIN! I now am very close to having everything up-to-date... only thing I'm missing is gcc4.6. Working on that now, then the asa-14 branch will be on the same level as the ffw-8 branch.

Edit 2 - well I haven't run ICS in AGES. I can't seem to get wifi to work... I'll post it up, but wifi might not work. Interested to see how many people actually want the ICS kernel too. So far a total of 2!
[Motorola Photon Q 4G LTE] sixxt9:
I can confirm wifi not working on the new ICS kernel. Everything else seemed to be working fine though. Can also confirm flashing back to 0.10 ICS kernel followed by wiping cache/dalvik cache fixes wifi (obviously you'll lose undervolting and the added governers & schedulers). Did not test BT/GPS on the new kernel and I do not get LTE here, although 3G connected right away upon booting.
[Motorola Photon Q 4G LTE] Plancy:
Actually I forced 1xRTT on Verizon's network by changing the radio band to Cellular, and CDMA Only, and enabling roaming data/call. This probably is the issue? Never had Android OS on that battery drain stats that high,though... and I've been on the Cellular radio band for a while.

Set ro.ril.dormancy.rule=0 in build.prop, no dialer codes. Let's see if this helps. Thanks for letting me know about it.
[Motorola Photon Q 4G LTE] xLoveHateLegend:
Honestly, I would like to see an updated ics kernel aswell.
[Motorola Photon Q 4G LTE] palmwangja:
Yes, we all sometimes want to forget everything and go back to where we began.

missing ICS....
[Motorola Photon Q 4G LTE] arrrghhh:
Lol, are you guys really missing ICS or is this just some strange nostalgia moment? :P
[Motorola Photon Q 4G LTE] xLoveHateLegend:
Don't get me wrong, JB is awesome and all, but I mean there was nothing wrong with stock ICS and I still keep my backup of it incase I feel like switching back for a while. A new ICS kernel would more than likely be my motivation to do so :p
[Motorola Photon Q 4G LTE] Comet1966:
Was it faster?
[Motorola Photon Q 4G LTE] xLoveHateLegend:
Well, I don't think it was any slower. I had it set up pretty comfortably in the pre JB months. Maybe it would be a bit nastolgic like arrrghhh said :p
[Motorola Photon Q 4G LTE] FinntheViking:
Any chance we could get support for fast charge?
[Motorola Photon Q 4G LTE] arrrghhh:
Is this available on other msm8960 devices? Hmmmm I'll have to look.

Edit - just did a bit of reading on it... Seems it's not recommended:

http://review.cyanogenmod.org/#/c/17802/

I can still try to enable it, sounds doable... but would be one of those things which have GIANT WARNINGS with them.

Edit 2 - the more I read, the more this really sounds like a bad idea. Electrical engineers and core CM team members seem to all agree, fast charging is not good.

Also, Steve makes a very good point - not a single OEM enables it... hmmm
[Motorola Photon Q 4G LTE] FinntheViking:
I read that as well when doing research after my initial request. It does seem like kind of a bad idea... Plus it looks like the chipset was actually designed by Qualcomm to result in faster charging regardless.