yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] linuxsociety:
Hey arrrghhh, I am currently testing Carbon Rom latest nightly. I have noticed a battery drain issue, and I'd like to try different kernels. (I am a past kernel dev myself)

Currently I have the 10.9B bootloader on my Atrix HD. I just bought this device on fleabay and received it yesterday. I'm not 100% sure if the bootloader is the JB bootloader people mention, but I'm almost certain it is since the stock rom was JB. I tried to install the regular arrrghhh kernel 0.19 ontop of this Carbon Rom install and couldn't get it to boot past the bootloader, although I did have access to logcat and seeing many errors. My main question is, what kernel can I use with Carbon Rom KitKat nightly from 6-30-14 or is there a better KK rom I should be using. Quite honestly I prefer to use either pure AOSP or AOKP instead of CM or MIUI released roms. I really want all the hardware to work, but most importantly is the wifi and both cameras.

I appreciate your help and look forward to your response.
[Motorola Photon Q 4G LTE] Sinterion:
Use Anykernel, preferably the one from may 25th, on the 5th post.

Sent from my Atrix HD
[Motorola Photon Q 4G LTE] linuxsociety:
Tried it, flashing failed for some reason in Philz CWM recovery. The other kernels flashed fine, but broke WiFi with Carbon Rom. BT and other things worked though. Switched over to the GZR Rom that includes arrrghhh's kernel and things seem to be working fine, all except Core0 stays overclocked at 1.8ghz regardless of what you try to do to set it back to 1.5ghz.

I'm Going to try the Pac Rom soon too. I'd ultimately like to find a fully working pure AOSP 4.4.x Rom that isn't buggy, then I'd apply the arrrghhh aosp kernel to it. Just remember I have the Atrix HD and no KK BL, which brings me to another idea. Can I get the KK BL by flashing a stock KK rom for another msm_8960 device? Even if the rom isn't functional I'd still have fastboot to reflash recovery if needed and then flash these new 3.4 kernels with some more updated Roms? Nobody done this yet?

Thanks for the reply Sinterion
[Motorola Photon Q 4G LTE] palmbeach05:
All AHD devices have the JB bootloader until we officially are updated by Moto to KK. This has been stated multiple times on multiple threads since the release on RHD. No one has tried to flash the RHD bootloader as of yet. I did talk about using a spare motherboard to test this theory out, however due to a TDY i was on til the 25th, a sh*t storm at my civilian job, and an injury that i sustained mid week last week, i have not had time to reassemble the test unit to test this bootloader theory out. I do not advise you do this test on your own, not unless you want to spend 50-130 for a new device (50 would be more ideal since that would give you a junk outside and working motherboard if you want to do a board swap). I'll attempt to do some work on this today if i have some time.
[Motorola Photon Q 4G LTE] arrrghhh:
Alright, kernel update for anykernel.

Still the 3.0 kernel for the JB bootloader folks - but with the new releases of CM / Carbon, I figured an update was needed.

Enjoy!
[Motorola Photon Q 4G LTE] Sinterion:
After testing for a few moments, my phones seems a little bit snappier than the May 25th build, will report back either tomorrow or the next day with my better review after letting the kernel sit.

Sent from my ATRIX HD
[Motorola Photon Q 4G LTE] AltamashAN:
Hi [MENTION=420530]arrrghhh[/MENTION] . I'm new to this. So are you still using 4.6 toolchain? If so can't we use 4.8 or any latest toolchain?

Another thing are these only job kernels?

Sorry for noon questions.

Regards.
[Motorola Photon Q 4G LTE] linuxsociety:
I'll try to answer the part about the toolchain - unless there are device specific code that will break in the kernel with a different toolchain other than what was originally used to develop the kernel for these devices, then the new tool chain will work. If it builds successfully it will work on the android device; the toolchain won't matter for that. As for what toolchain he used I can't speak for him. If you are going to do your own work with a newer toolchain than the code was originally developed for, then please document the changes you make to get it to compile successfully. Once you have the zImage and all needed modules compiled, it should work ok but I don't see you gaining anything by using a 4.8 toolchain over 4.6 from the user side.
[Motorola Photon Q 4G LTE] AltamashAN:
@up ,First of all im not dev bro,Well to say I'm former galaxy s advance user. It was quite hard for devs to get the newer toolchains to get work. But when it got worked ,I can say there was noticeable improvement in both performance and smoothness .that's why I was asking if we would be getting the newer versions.

Regards.
[Motorola Photon Q 4G LTE] Sinterion:
This kernel uses the Sabermod GCC 4.10 toolchain, it feels like a snappier toolchain than that of the old one, if you would like to try that one, use Anykernel from May 23, but the newer builds use this toolchain, I never saw any issues with the toolchain switch.

Sent from my ATRIX HD
[Motorola Photon Q 4G LTE] linuxsociety:
I believe what you say, but just in my past experience the toolchain being used hasn't effected the performance factor to a point one would notice any difference. I have ran several benchmarks on the exact same kernel sources and same config after the android OS has settled the boot process. Same governors, same IOshcedulers, etc. Results don't vary that much or if any at all (each benchmark will usually render different results even when using the same configuration/kernel) The placebo effect plays a big part in what people generally consider to be improvements such as 'snappier' If any source code has changed or any configuration has changed in your past experience, it could also be the result of what you thought was due to a different toolchain. This all being said about a regular GCC/glibc toolchain for the kernel not speaking about building the android OS/rom, in which case it would be more noticeable when using a custom toolchain such as SaberMod.

The higher version number doesn't always mean more functionality or more performance either. A lot of people stress the fact some devices have a 3.4 kernel while some still use a 3.0 kernel; What actually matters is what patches are in the kernel and what has been backported to be compatible with your current android version and hardware combination.
[Motorola Photon Q 4G LTE] GRIDSpawn:
smartassv2 problem

i installed this kernel on my xt925 im running paranoid 4.4.4

and when i use smartass the frecuency goes to the max is like performance doesent scale down

i tried to tweaked with int.d scripts but only works for minutes and again gets stuck in max frecuency

anybody have the same problem?

sorry if i have bad english
[Motorola Photon Q 4G LTE] Xplorer4x4:
I am now using a moto g but just wanted to say thanks for all your hard work! I loved this kernel!
[Motorola Photon Q 4G LTE] AltamashAN:
Hey [MENTION=420530]arrrghhh[/MENTION] will anykernel work on RAZR m stock 4.4.2?
[Motorola Photon Q 4G LTE] JoseBerga:
No, look at this:

Enviado desde mi RAZR HD mediante Tapatalk
[Motorola Photon Q 4G LTE] Abstractionist:
Same here on my XT905
[Motorola Photon Q 4G LTE] oscar the grouch:
Been trying to flash argh kernel and I keep getting error in the zip and a status 7 fail. Using philz touch recovery on my atrix HD jbbl.

Any thoughts?

---------- Post added 30th August 2014 at 12:03 AM ---------- Previous post was 29th August 2014 at 11:34 PM ----------

Tried with a couple different any kernels in post 5. No dice

My philz recovery. Do I need the one for the mb886 the mbm886 or the moto msm8690.

Att atrix HD jelly bean boot loader.
[Motorola Photon Q 4G LTE] IronTechmonkey:
Was wondering just that as well. Same phone/BL (MB886/JB) using Philz Touch 6.19.3 (from Mythtools 1.3) which seems to be the newest MB886 specific version available. It has been working great for flashing, backups and recovery but I have not messed with kernel flashing... yet. If I was sure I could still use old backups I might update to the newer unified and try flashing kernels.
[Motorola Photon Q 4G LTE] [] AL []:
I did some testing a while back and reported my findings and someone also wrote which one/how to get the proper one. So go read here maybe:

http://xdaforums.com/showthread.php?t=2820713
[Motorola Photon Q 4G LTE] oscar the grouch:
Tried the may 23 rd as well. No dice. Must be a phone thing
[Motorola Photon Q 4G LTE] DiamondJohn:
Different phone,I know, but it runs the same universal ROM, so maybe. I am running the recovery "philz_touch_6.41.6-moto_msm8960.img" (sorry, did not save where I got it, and if its RAZR M specific, but I could pm you with it i guess if you search with no luck, I found it somewhere here) on an Australia XT905 running the JB bootloader. I remember when I ran a previous version it would constantly fail in flashing (nearly every) zips. I do not know if its the latest or best for my phone/config, but it has worked very reliably :highfive: (apart from the navigation buttons at the bottom of the screen which appear to be for a higher resolution screen and are misplaced and do not work). I chose "Philz" as it appeared to be the only one that allowed me to backup and restore from a USB stick using USB OTG. I love this feature, and would marry it if wasn't so frowned upon by others.
[Motorola Photon Q 4G LTE] [] AL []:
You are welcome....

[2 people replied and took the time trying to help you...you didn't forget anything?] :confused:

I have the same phone...so it's not 'a phone thing'.... but most likely a setup thing ;)

Cheers,

/AL
[Motorola Photon Q 4G LTE] AndyYan:
Is this only for JB bootloaders? I had my RAZR M with KK bootloader and CM refuse to boot.
[Motorola Photon Q 4G LTE] oscar the grouch:
That's what I meant. Must be an issue with my setup of the phone.

I downloaded the newest version of philz for the msm8960 instead of the mb886 specific one. Its an img instead of a zip so I think I need to flash it over adb and that's setup on my work machine so I'll tackle it again Tuesday

---------- Post added at 07:28 AM ---------- Previous post was at 06:56 AM ----------

Figured it out. I did need to be using the unified recovery for the motomsm8960 I forgot my home tower had the adb and moto drivers installed.

Slight problem with the new philz now. Says E: unable to create brightness file.

But that's not a question for here.
[Motorola Photon Q 4G LTE] JoseBerga:
Yes. Just for JBBL..

Enviado desde mi RAZR HD mediante Tapatalk
[Motorola Photon Q 4G LTE] arrrghhh:
This ^^. I haven't made a 3.4 kernel yet, these are all still 3.0. My device will probably never get the proper KK update from Moto either, so even if I make a 3.4 kernel it will likely only be for the jbbl devices.
[Motorola Photon Q 4G LTE] TecknoFreak:
Hello arrrghhh, I was wondering if you can add the Fastcharge function to this kernel?

or do you give me permission to folk your project and add the functionality on my copy?
[Motorola Photon Q 4G LTE] arrrghhh:
I've already discussed fastcharge at length.

In fact, you were one of the individuals I discussed this with.

See here.
[Motorola Photon Q 4G LTE] TecknoFreak:
hahahaha OMG I have totally forgot about that one. lol

I asked again because I saw this was added to a kindle fire kernel and is working like a charm in fact got to xda news.

but again thanks for the explanation though, I take your advice and forget about this. lol
[Motorola Photon Q 4G LTE] arrrghhh:
Ya, I spose I could try to implement it - but those with much more experience with kernels than myself say it's a bad idea... So I am going to lean away from it personally.
[Motorola Photon Q 4G LTE] Fr4gg0r:
What are the reasons for not enabling it?

The gerrit link is dead..

And please don't come me with the 500mA standard bull**** -_-

Personally I would not use it because it degrades battery life.
[Motorola Photon Q 4G LTE] arrrghhh:
Yes I realize the link is dead. Essentially a lot of EE's as well as top CM folk weighed in and said it was a bad idea, you could damage the USB port on the charging device (IE laptop, not the phone itself).

I don't know why you're cursing, I'm just providing detail as to why I don't want to include it. All my source code is available, and anyone can feel free to add it.
[Motorola Photon Q 4G LTE] Fr4gg0r:
Yes, if you have a very cheap device with crap usb ports then it get damaged..

Top CM folks also rejects stuff like adjustable navigation bar height (which lots of people want), because it does not comply with google recommendations lol

Or have a look at the call recording debate :rolleyes:

It is very surprising this features actually made it into CM (after 3 years? :D).
[Motorola Photon Q 4G LTE] oscar the grouch:
i searched the thread. is USB OTG working on this kernel?
[Motorola Photon Q 4G LTE] arrrghhh:
Never had a need to try it, but it should... I don't even have an OTG cable hah.
[Motorola Photon Q 4G LTE] oscar the grouch:
i was about to buy this for my nexus and wanted to see if i could use it to transfer files is why im asking

https://shopmeenova.appspot.com/st/p/mrg2.html
[Motorola Photon Q 4G LTE] Zeljko1234:
Why not just insert new micro sd card into your phone? I have 128 GB card in my Razr.
[Motorola Photon Q 4G LTE] arrrghhh:
Why would you need that for a moto_msm8960_jbbl device? Don't they all have SD card slots?
[Motorola Photon Q 4G LTE] oscar the grouch:
My nexus tablet doesnt have an external sd slot. I was wondering if i could use it on both is why i asked.

and i think my atrix hd is capped at a 32gig sd right?

I use my tablet for gps topo mapping and tile maps take up a lot of space
[Motorola Photon Q 4G LTE] arrrghhh:
I think it depends on how the card is formatted... I know a FAT32 formatted 64gb card works in my Q.

As for your OTG question, I unfortunately do not have the hardware to answer it. It should? :good:
[Motorola Photon Q 4G LTE] Zeljko1234:
Just format card in the phone and will work ;)
[Motorola Photon Q 4G LTE] oscar the grouch:
http://androidforums.com/android-ac...phones-work-128gb-microsdxc-card-sandisk.html

this says it will take a 128.... hmmm very tempting
[Motorola Photon Q 4G LTE] Zeljko1234:
Am I on your ignore list? I just wrote few post above that I'm using 128 GB micro sd card. To be precise SanDisk Ultra 128GB MicroSDXC.
[Motorola Photon Q 4G LTE] oscar the grouch:
despite similar internals they are not the same phone. so i took your answer as a probably but not a yes.

and this is a kernel thread back to topic.

how would i find out if OTG is working other than buying an adapter cable?
[Motorola Photon Q 4G LTE] kabaldan:
I've tested USB mouse, keyboard, flash drives and also made some work to get USB DAC with S/PDIF output working in CM / on CM kernel.

So yes, OTG definitely works, at least if you mean the arrrghhh's kernel variant that is forked from CM motorola/msm8960-common kernel source.

If you mean the stock based variant, it should work as well, though the stock ROM requires the external USB storage to be connected via an external USB hub. It's not getting mounted if connected directly to the phone's USB connector on stock ROM (unlike CM and CM based ROMs).
[Motorola Photon Q 4G LTE] oscar the grouch:
Excellent thank you
[Motorola Photon Q 4G LTE] Fr4gg0r:
https://github.com/pelya/android-keyboard-gadget ? :cowboy:
[Motorola Photon Q 4G LTE] arrrghhh:
No 3.0? I see 3.1 and 3.4 patches...
[Motorola Photon Q 4G LTE] Fr4gg0r:
Whoops, I thought we were 3.1 :rolleyes:
[Motorola Photon Q 4G LTE] arrrghhh:
Well at some point in the future we will be 3.4... but currently we are 3.0.x
[Motorola Photon Q 4G LTE] derpyherp:
ill help

im completely willing to help test any 3.4 kernel tests

i have a razr hd

i know nothing about compiling,making,etc. about kernels

ive noticed with the kernel every once and a while it will lag really bad. some times it will restart. i was running ART i will try running dalvik.
[Motorola Photon Q 4G LTE] Loader009:
Me too, I've got 2 spare Photon Qs and I can use at least one of them to test a new kernel. (No mobile network, they are unmodded.)

I know about dmesg and some simple linux stuff. So I should be able to help reporting/report bugs.
[Motorola Photon Q 4G LTE] chrisb906:
Still work?
[Motorola Photon Q 4G LTE] arrrghhh:
Yes...?
[Motorola Photon Q 4G LTE] chrisb906:
Do you have any idea what format persist means in clockworkmod 6.0.4?

---------- Post added at 04:02 PM ---------- Previous post was at 04:02 PM ----------

I just don't want to flash this kernel and brick my device

---------- Post added at 04:04 PM ---------- Previous post was at 04:02 PM ----------

I have jbbl 4.1.1 Running validus nightly atrix hd
[Motorola Photon Q 4G LTE] arrrghhh:
4.1.1, is that ROM based on stock ?

Use the stock kernel in that case, post #2.

I do not have that device, so I can't really test whether or not it will work in your particular case. Worst case you reboot to recovery and restore that backup you took before flashing my kernel (note - you should take a backup before flashing my kernel.)
[Motorola Photon Q 4G LTE] chrisb906:
I used myth tools...rooted...unlocked BL cwm recovery then flashed validus..so it's safe to assume I'm 4.1.1

---------- Post added at 05:46 PM ---------- Previous post was at 05:44 PM ----------

So...do u know what format persist is in cwm?
[Motorola Photon Q 4G LTE] arrrghhh:
I use TWRP, not sure what that would mean.

Isn't Validus CM-based? I really have no idea, never heard of the ROM myself.

Good luck.
[Motorola Photon Q 4G LTE] TecknoFreak:
[MENTION=420530]arrrghhh[/MENTION] Validus is the new hype of all roms at this moment. Lol Yes is a Hybrid rom.

And to [MENTION=5045834]chrisb906[/MENTION] if you flash Validus you are on 4.4.4 my friend.

You are more then free to flash latest arrrghhh kernel on validus and you will be just fine. But always practice to back up the current rom before attempting to mess with your phone.
[Motorola Photon Q 4G LTE] chrisb906:
Thanks teckno. I know my android version is 4.4.4. Lol. But isn't my boot loader still a jbbl 4.1.1. That's what I was getting at. And no one still answered what format persist is on cwm..hehe
[Motorola Photon Q 4G LTE] palmbeach05:
Yes, until Moto leaks or soak tests our device, we will forever be on jbbl.

Idk if its just me not understanding what you mean, but can you or someone clarify on what this format persist is, that way we can answer your question (from your post, it sounds like it hasn't been answered yet)?

Sent from my MB886 CM10.2/4.3.1
[Motorola Photon Q 4G LTE] chrisb906:
Yea. In mounts it says format persist under format firmware
[Motorola Photon Q 4G LTE] arrrghhh:
Why are you going to 'format firmware' in the first place...?

Again, I use TWRP and this seems entirely off-topic to my kernel if it pertains to CWM.
[Motorola Photon Q 4G LTE] chrisb906:
I wasn't going to. I was just curious. Sorry for posting in your section. I will stop
[Motorola Photon Q 4G LTE] palmbeach05:
[MENTION=420530]arrrghhh[/MENTION] just looking for clarification, on pac rom, cm11 kernels are compatible? Or am i looking at this wrong and the anykernel works fine with it?

Sent from my MB886 CM11
[Motorola Photon Q 4G LTE] arrrghhh:
Use the anykernel.

It's actually the CM11 kernel with whatever ramdisk you currently have. The beauty of anykernel, works with any ROM that the CM kernel works on ;)
[Motorola Photon Q 4G LTE] palmwangja:
Always love your kernel, [MENTION=420530]arrrghhh[/MENTION]

Don't you have any new kernel since your last update on early August? Is it good enough to fill 2 months gap between yours and the current CM nightly?

:)
[Motorola Photon Q 4G LTE] arrrghhh:
Seems I am 3 commits behind...

Thanks.

Edit - sorry it took me so long, kernel is posted.
[Motorola Photon Q 4G LTE] chrisb906:
Maybe flashing that kernel can help on the battery drain and crappy wakelocks. Thanks again.
[Motorola Photon Q 4G LTE] DiamondJohn:
Waaaay off topic, but you may wish to try the following. I didn't believe it would work when I first read it, and it was for another phone (which it worked on, for me Sony), and it makes no sense to me, however, a guy at work had battery and wakelocks issues on his unlocked Nexus 4, so I told him about what I had tried on my Sony and he was getting desperate, but doing the following also worked for him, and fixed his wakelocks and battery issue:confused: So it may be random, or it may just work (for some unknown reason) on all phones, including Moto.

Anyway,

1. Turn your phone off

2. Plug it into a charger

3. Wait until the "Battery animation" starts

4. Reboot the phone (with the charger left plugged in)

5. Monitor your battery usage (you can unplug the charger if you want)

Sorry for being off-topic. :o but I hope it also helps you.
[Motorola Photon Q 4G LTE] marknoll:
Looking for good kernel of arrrghs. Running cm 11.. 10-23 nightly.

Jbbl 4.1.1
[Motorola Photon Q 4G LTE] marknoll:
Kernel flashed through recovery or fastboot?
[Motorola Photon Q 4G LTE] s5610:
There are many files inside archive, and it's not an *.img, so no fastboot possible. Arrrghhh's kernel is recovery flashable only.
[Motorola Photon Q 4G LTE] marknoll:
That's what I figured. On my one x, most kernels were via fastboot
[Motorola Photon Q 4G LTE] marknoll:
Wow. Lotsa gov settings sweet! What's best for battery saving? I've always ran ondemand.. Any suggestions?
[Motorola Photon Q 4G LTE] arrrghhh:
I spose if you want to extract the .zip you can flash the boot.img manually with fastboot ;)

I liked Wheatley, but anything on the more conservative side will always yield slightly better battery life and slightly poorer performance.
[Motorola Photon Q 4G LTE] palmbeach05:
Anykernel is for cm11. latest is 3 Oct
[Motorola Photon Q 4G LTE] IronTechmonkey:
I'm tempted to try this since my older version of Philz is unable to flash anyker. I don't care if I trash the ROM and have to restore a nandroid but how likely is it that flashing the extracted boot.img via fastboot might mess up the recovery it's self? Of course if that happens I could reflash my ancient PT recovery but would like to avoid that if possible.

[EDIT] Still curious about the above but I just updated to a newer version of Philz Touch and can now play with anykernel. Wahoo :)
[Motorola Photon Q 4G LTE] marknoll:
What I/O?
[Motorola Photon Q 4G LTE] jb14813:
Are there any kernels like this one for the razor m running KK-BL with CM
[Motorola Photon Q 4G LTE] arrrghhh:
RoW yields interesting results.

Not that I know of. My kernel does not work for KK-BL devices. It's still 3.0, for JBBL devices only.
[Motorola Photon Q 4G LTE] marknoll:
What do u define as interesting?
[Motorola Photon Q 4G LTE] arrrghhh:
There are some scenarios where RoW seems to really be advantageous.

Why not try a few combinations yourself, see what you like the best?
[Motorola Photon Q 4G LTE] marknoll:
I have tried them all. Don't really notice a diff in any of them
[Motorola Photon Q 4G LTE] s5610:
arrrghhhkernel_0.19.zip - yes, but there is no boot.img in arrrghhh-Oct3_2014-anyker.zip, e.g. Maybe file named zImage is that img, but there is a bunch of other files... More safe to zip-install such via recovery, if you not an Android guru )

You aren't a kernel gourmet, ha-ha :D So do I.

IMHO, it's more important to have low wake rate for good battery times, than precise kernel tuning, basically.

But undervolt and underclock functions of arrrghhh's kernel are much more that welcome :good:
[Motorola Photon Q 4G LTE] marknoll:
Thanks for your insight...but a name of certain I/o or actual over and under clock speeds would be more informative
[Motorola Photon Q 4G LTE] DiamondJohn:
I am running Carbon ROM, and each time I flash a new version, I flash your latest Kernel, and then run AnTuTu speed test for a check that its all running smooth and fast. I have "Dirty Flashed" the last 4 or 5 updates. All the previous runs I have been getting in the 19000's. Finally, on the last flash, I have just broken through 20000 with 20044. Woo hoo!

Pretty good for a 1.5GHz dual core CPU with 1Gb of RAM. Now OC'd at 1.98GHz. :highfive: