yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] :
Hi guys ;)

Thanks to kszaq to share his _motley based build with some new features, I'll test soon... :)

I have not followed any more about the C-states, retention patches, etc... but I've read a bit here and there :D

I think that for some more infos the Google+ from Faux123 explain a lot, right?

For reminder: https://plus.google.com/u/0/109078966818501160423/posts/9R8fjQdHDXD.

Otherwise if you have seen my signature... I've ordered an HTC One (:p), it comes on April 3th :D. In any case I allways keep my Nexus 4 (loving the "pure" Android experience and the Nexus line environment about updates, development, etc...). So when I have more time I would always here first ;). But the One have a hardware that I like and the new Sense interface is pretty nice...

End of Off-Topic :silly:

See you soon all ;)

And a hello to _motley, chrone, hoangtungst, trillo69, copi, IAmAN00bie, ctfrommn, thracemerin (I hope I did not forget anyone) ;)

:)
[Nexus 4 Original Android Development] TheDarkDefender:
I tried both motleys release b49 and the one with patches...found out that the drain on idle was more with the prima,retention patches enabled. Just what I experienced.

Sent from my Nexus⁴
[Nexus 4 Original Android Development] veyka:
http://xdaforums.com/showpost.php?p=40253624&postcount=267

Just something RE c states

Cores 1,2 and 3 can't even use them due to hardware bugs, so only core 0 can.

Sent via Nexus 4
[Nexus 4 Original Android Development] :
Hi,

With all the respect due for you, this one is pure bullsheet... Check the G+ from Faux.... But here and in XDA in general when Faux comes with some new stuff or features it's bullsheet for a lot of people..... Sound control, "turbo boost", etc... The guy knows what he is talking about....

I'm never like this but here... It makes non sense, Trickster Mod is a great app, but the dev know nothing about this stuff... He only makes an interface easier for the lambda user to control some kernel features.... But he is always flamming and bashing from other "devs"..... It's pathetic... But the general "conscience" trends to push all the world against Faux's stuff... :(

Take a look at all the G+ from him about gamma control between Faux / Francisco and other stuffs.... OMG!!! He is just providing an interface... Nothing more......... And, I agree, nothing less...
[Nexus 4 Original Android Development] trillo69:
Enjoy that beast men! Thanks for all your help here, maybe we'll see you again on Nexus 5 forum. :p
[Nexus 4 Original Android Development] copi:
@viking37 bro..

u cheating,, haha went to htc one yummy.

lets off topics :) how was it? are u happy with h1? are there lots of good rom n kernel too?
[Nexus 4 Original Android Development] veyka:
Of cause I read the G+ post, and I am not sure where the BS is, faux received a lot of ire for his poor practices in the past re the gpl, he does good work but he's not above criticism.

Anyway, all bigeyes was saying, is that c states on krait are not a magic bullet, and may cause more issues due to hardware defects we are not aware of (on top of the limitations already stated by faux himself).

Also re gamma interfaces, franco's early ones where poor in comparison with faux123's, why do you think Franco changed it? It was limited and causing issues due to that, and it still doesn't provide all the fine tweaking bits (how useful those bits are is beside the point).

I wasn't passing judgment, i was just posting some info.

Sent via Nexus 4
[Nexus 4 Original Android Development] meangreenie:
I can't tell you all enough how good it is to finally recieve notifications promptly while on wifi... at last!!

thx kszaq,
[Nexus 4 Original Android Development] :
I love you guys, you'll want some Off-Topic from me or...??? :p:D:good::good::good:

Thanks mate ;), for sure I'll be there for the Nexus 5!!! :cool:;)

I can not stop my visit here (I mean THIS kernel) I keep my nexus 4, but you know life, work.... Pfff (in French Pfff means "****" ?) ... Yes I'm less present here but I still continue to follow the thread and the Nexus 4 forum in general ;)

LOL :D:laugh:, no I'm not cheating... It's a "gift" for me and from me :D

Short story...: In France the carrier plan and purchase phone is not like in all arround the world I think... "Réengagement, point fidelités ou maintenant "paliers", it's a pain in the ass :(, I work for a carrier in a "phone shop"... It's hard.

I always buy my phones at "full price" in France, I have a good carrier contract and i don't want to change this contract (Unlimited voice calls / SMS and MMS / 4G data) and since my personnal job changed (you know working more will give you more money :D, but will probably crash your personnal life... Another story...), so... I want to test... :cool:

I don't really know how to explain my choice (maybe I need some changes like a new phone), coming from a SIII before the Nexus 4 and before the SIII coming from a Samsung Galaxy Nexus.... For me no more Samsung Galaxy S's series so the S4 is a no way. And I know HTC because I had a Desire HD and a Sensation...

This HTC One is awesome about multiple factors, it's right............................. But It's not a NEXUS............................................... I agree with that, I just want to try something else.

What do you mean....?

Not much but this phone is very "new" (recent). About kernel's nothing like for the N4, rom... same thing... After that let's going the HTC sourcesL... OMG maybe I'll not root / flash / mods anything on this phone :confused::eek:. HTC's phones are always a bit hard at the biginning to understand...:rolleyes: I'am remembered my olds Desire HD and Sensation... :angel:

If you want a little feedback when I have it... just about 3 weeks waiting :crying: :D

But, guys, in any case I keep my Nexus 4 :good:

:)
[Nexus 4 Original Android Development] chrone:
yeah that what i was thinking too! :) back in intel cpu, i thought c states are hard coded in the chip and no driver nor software be able to tweak the values except disable/enable them within bios. perhaps arm cpus are different than intel/amd ones. :)
[Nexus 4 Original Android Development] copi:
h1 = htc one I mean :D btw what do u mean if u want a little feedback when u have it? does it already on ur hand on april 3rd? sure its really stressful for me to speak in english haha. but I'm trying to catch up.

yeah its really tempting that phone is,, build quality, 1080, zoe,

but its not a nexus.. its still jb 4.1, difficult to root I guess, huge size of rom it must be not like nexus line..

its kind a 'out of the box' phone really,, not a 'man' toys.. hahaha :laugh::p:angel:

I sold my galaxy note 1 for galaxy nexus, and then nexus 4 now. before gnote i'm coming from htc n1 and samsung nexus s. ( nexus woohoo )

but this htc one is really tempting for sure ( vs gs4 or xperia Z imo )

I'll look at htc 1 xda forum then.. to spy some thing :D but feels kinda like I'll prefer n4 still :victory: ( hopefully not going to drop and brake :fingers-crossed: n4 build quality is ... pffft )

on topic which one do u guys think more battery friendly and balance :

1. hotplug 1 core min, with min max default freq,, or

2. 4 core always on with max freq underclock ?
[Nexus 4 Original Android Development] Kocai:
I personally won't go for another Android phones than Nexus. Exception maybe Samsung because I like the wolfsonmicro codec.

Regarding your question:
[Nexus 4 Original Android Development] ashishv:
Exactly what i wanted to ask.
[Nexus 4 Original Android Development] :
Ok ;) I understand HTC1 = HTC One, for this I'm stupid, I agree :crying: :D

Feedback when I have it, no worries ;)

Like I said It's not a Nexus but the hardware seems pretty cool..., right? Maybe I made a mistake buying the HTC One, in any case I always have my Nexus 4 and for sure (100%) I'll buy the next Nexus.....

Too much things wich cames with the One... a small voice said me "buy it, buy it"... :p

You're right and I agree but sometimes we need changes... :)

:eek: thanks Samsung, cames from a SIII and compared to the Nexus 4... Nexus for life like my Galaxy Nexus (ok made by Samsung)...
[Nexus 4 Original Android Development] veyka:
It's a mixture of hardware (hardware can have bugs as well) firmware (aka microcode) and kernel stuff, and without data sheets and other info a lot of this stuff is basically a black box.

You can work around hardware bugs at the kernel or firmware level, etc.

Also C states are a tradeoff between power consumption and wakeup latency (and time to get into the state) and we don't have data to tell us the comparative power usage vs latency so it's a bit of a shot in the dark.

Sent via Nexus 4
[Nexus 4 Original Android Development] copi:
@kocai

so if I understand morfic statement is right, the answer is.. min max freq is better than underclock because it can achieve race of idle right regardless how many core are used? preferable not hotpluging bcoz it need more to move around before it yank the cpu,, so mpdecision it is? hmm.. the best setting or gov must be ondemand or wheatley then that always jump to the max cpu.. and with mpdecision active?
[Nexus 4 Original Android Development] veyka:
Mpdesison is a binary that does hotplugging vs the in kernel hotplugging solution used by some kernels including this one.

4 cores always active will be smoother in general use as you don't have the cost or latency associated with hotplugging but I'm theory it increase both active and idle power usage and heat generation, but i don't think anyone has done enough scientific tests to confirm this.

It will race to idle fine as long as you don't put your max to low, also I would recommend against capping freq on screen off.

Sent via Nexus 4
[Nexus 4 Original Android Development] jassycliq:
I've sort of done that test. I ran fauxs kernel with that setup (4 cores online) and battery drain was significantly worse. Mind you its the same exact kernel, only difference was that I turned off mpdecision and intelli-plug. I'm sure someone could tune a kernel for using the 4 cores but in the end I don't know if it'll necessarily make a huge difference.
[Nexus 4 Original Android Development] veyka:
Sounds about right, considering the mentioned C states are limited on cores 1-3 then you are really going to hurt without some kind of hotplugging.

Sent via Nexus 4
[Nexus 4 Original Android Development] jassycliq:
iirc krait retention can be enabled on all 4 cores. Don't know about the rest though.
[Nexus 4 Original Android Development] kszaq:
Retention can be enabled only for cpu0 for APQ8064 and older Kraits. For newer CPUs, it can be enabled on all of them.

Source: https://www.codeaurora.org/gitweb/q...it;h=1a1711a57aeebec2031d05847bec546276b869ea
[Nexus 4 Original Android Development] Serious_Beans:
Even though supposedly only core 0 is the only one that will use other c states the battery life on my phone is insane. At 2hrs and 15min with 52% battery life...never seen that before. Had 1 day and 3hrs total yesterday.
[Nexus 4 Original Android Development] Kocai:
morfic's doing it (4 cores online) with his latest kernel TF117. Don't know how much impact on battery drain but some people on the Trinity thread say that it (running 4 cores all the time) doesn't really affect the battery.
[Nexus 4 Original Android Development] trillo69:
I've tried it, didn't notice bigger battery drain with 4 cores always online. It's supposed that the battery you drain by having cores online is almost the same amount you save by not having hotplugin (turn on and turn off cores).
[Nexus 4 Original Android Development] rlaw:
Any difference in temperature?
[Nexus 4 Original Android Development] trillo69:
Not at all.
[Nexus 4 Original Android Development] thetinguy:
What are you guys using now that Motley is no longer updating this?
[Nexus 4 Original Android Development] efan3719:
I'm still using this
[Nexus 4 Original Android Development] IAmAN00bie:
Same. Just haven't found anything worth switching over for in other kernels. My setup on this kernel is perfect for me.
[Nexus 4 Original Android Development] Kocai:
I'm using Trinity right now. Not because Motley hasn't updated this kernel but because of the random soft reboot.
[Nexus 4 Original Android Development] a63548:
Hoping everything is going alright for _motley :( Anyone hear anything recent on how he is doing?
[Nexus 4 Original Android Development] karanrajpal14:
Sent him a PM a few days ago but I still haven't received a reply. :(
[Nexus 4 Original Android Development] iamhacked:
Tried trinity but the crappy volume normalizer made me switch back. I don't wanna be scared for every notification when I'm wearing headphones.
[Nexus 4 Original Android Development] Version_3:
This kernel was always golden on my N4. Never a problem, and I liked everything he had in it. I sincerely hope he's doing well.

I've since started using intersectRaven's latest stable. Seems to do pretty well on my phone so far.
[Nexus 4 Original Android Development] iamhacked:
Hmm, just tried that kernel on the latest stable 95 color and WiFi wasn't turning on. I wiped dalvik cache of course. Why does it seem that the PA contrasty calibration is darker on motley than on other kernels?
[Nexus 4 Original Android Development] PoisonWolf:
Is motley ok? I've been out of the loop for a while and I was partly surprised to see Mar10 as being the last update on this kernel.
[Nexus 4 Original Android Development] :
Hi guys :D,

I totally agree :). I wanted to try out new kernels but finally not necessary, _motley kernel is running great with all the features with it..., right setup ant all is perfect. It's been awhile since I had not stayed so long with the same kernel...

;)
[Nexus 4 Original Android Development] azrash:
+1

I have tried others when I first got my N4, settled down with motley's. It has been months now.

Flowed from my Nexus⁴
[Nexus 4 Original Android Development] AppReviewBros:
To be honest, I don't really have any problems with the current build, but as it's been so long without flashing anything, I feel the need to try something new.

I really hope Motley is alright and would like to hear from him.
[Nexus 4 Original Android Development] JamesInsights:
A bit of a noob but how do I run init.d scripts and all this for the new retention state. Also does any other kernel have this prima driver thing? Trying motley kernel for the first time.

Thanks
[Nexus 4 Original Android Development] k1lonbo:
Hello, iam using this kernel plus the wifi prima drivers... the question is if i can use this same kernel + wifi prima drivers in the [AOSPA 4.2.2 JDQ39] ParanoidAndroid ??
[Nexus 4 Original Android Development] Remoteconcern:
Yes, that's fine. PA has a small WiFi configuration change that means your notifications come through faster on WiFi but also may drain more battery. I believe this will be reverted in their next build. The kernel will work perfectly though.
[Nexus 4 Original Android Development] IAmAN00bie:
I believe the Prima version of Motley's b49 includes the exact same changes that the PA update made, so it's not like it will be any different.
[Nexus 4 Original Android Development] Remoteconcern:
The WiFi fix is two sides. A ROM configuration file and a kernel driver. He would have both if he went to PA.
[Nexus 4 Original Android Development] IAmAN00bie:
But the Prima kernel that is posted here also includes the supplicant file updated in /system/etc/wifi. So PA doesn't really change anything there.
[Nexus 4 Original Android Development] Remoteconcern:
Sorry, had no idea that was included in kernel. Thanks for the info.
[Nexus 4 Original Android Development] IAmAN00bie:
Franco updated the Touchscreen Accuracy Filter values again, and I thought I would flash his kernel to test it out.

It really does feel much better.

Here are the new values:

delta_max = 0
direction_count = 20
ignore_pressure_gap = 0
max_pressure = 0
time_to_max_pressure = 200
touch_max_count = 40
[Nexus 4 Original Android Development] thetinguy:
motley come back pls
[Nexus 4 Original Android Development] apex88:
just to be sure, if im coming from CM+franco i need to flash build 37 and then 49 (motley_anykernel_422_nexus_4_build_49_new_prima_update_2.zip)?

can anyone confirm that the modified kernel fix the notification delay issue?
[Nexus 4 Original Android Development] Kocai:
Flash your ROM and GAPPS first.
[Nexus 4 Original Android Development] apex88:
I did that, and flashed the kernel, but still notification delay...
[Nexus 4 Original Android Development] TheDarkDefender:
What is this issue actually?

Sent from my Nexus 7
[Nexus 4 Original Android Development] apex88:
notification delay, whatsapp, facebook messenger... the known notification delay.... i get the messages like 10 min or more after its sent.

tried few kernels to solve it, the one that works has poor preformance problem, so i tried the modified one from this post, but its not helping.
[Nexus 4 Original Android Development] TheDarkDefender:
Oh weird. I don't have any such issues.

Sent from my Nexus 7
[Nexus 4 Original Android Development] meangreenie:
http://www.secureupload.eu/rt0blbmfkztj/WTBoU1dB.zip

Weird, the modified one from this thread works perfectly for me, I get notifications instantly now on WiFi when in sleep mode. For around 2 weeks now.

Did you 'reset/turn off for a minute' your router to allow a new connection to be setup before testing?
[Nexus 4 Original Android Development] greg17477:
_motley hopefully you are doing fine there :/

Your kernel is still unmatched.

It's moded a bit btw.

GPU @487 and cpu [MENTION=3127708]178[/MENTION]2
[Nexus 4 Original Android Development] meangreenie:
Great score, can you tell us what rom you use for that?
[Nexus 4 Original Android Development] hoangtungst:
how can you overclock GPU to 487 mhz ??
[Nexus 4 Original Android Development] TheDarkDefender:
Trickstermod

Sent from my Nexus 7
[Nexus 4 Original Android Development] meangreenie:
I think he means that motley kernel doesn't overclock the gpu at all afaik. Also motley's doesn't run at 1784 cpu.

i guess the user must have modified the code and compiled it himself.
[Nexus 4 Original Android Development] TheDarkDefender:
Oops . Gotcha

Sent from my Nexus 7
[Nexus 4 Original Android Development] Kaffeekranz:
How are the voltages treating you?

Having compiled his kernel with GPU OC myself, I noticed that it needs a bit more voltage per CPU clock, can you confirm that?
[Nexus 4 Original Android Development] rlaw:
That's what the HTC One scored on AnTuTu. Nice.
[Nexus 4 Original Android Development] greg17477:
That's right.

In my case I can not confirm that. Here is my voltage table from 1512Mhz (faster binned CPU). By default _motleys voltage table is beeing used, but these are my current values, which I use on daily basis. (set by initd script)

"1512000 975000"

"1566000 1000000"

"1620000 1030000"

"1674000 1062500"

"1728000 1137500"

"1782000 1200000"

Someone asked which ROM, well it's AOKP, also moded :D

_motley a "hello" would be more then enough :/
[Nexus 4 Original Android Development] Kaffeekranz:
I mostly noticed it on the lower frequencies, where I'd normally put the lowest clock's voltage to 637500 and so on.

I have a fast chip though. Do you only lower the higher clocks voltages from the standard table?

In my compiled kernel I changed nothing but the highest GPU clocks speed. Strange. I immediately noticed instability when adjusting to my regular values, so I thought the GPU maybe somehow shares the voltage tables.

Do you mind sharing your kernel? :)
[Nexus 4 Original Android Development] thracemerin:
If there is interest I'd be willing to do some updates on this kernel (or at least publish the ones I already did) in _motley's absence, until he comes back at least.
[Nexus 4 Original Android Development] johnxarma:
+1. Give us some update:D
[Nexus 4 Original Android Development] IAmAN00bie:
Support! :good: :good:
[Nexus 4 Original Android Development] Simer03:
Do it....motley wasn't at the Boston marathon, was he? Serious question

Sent from my Google Nexus 4
[Nexus 4 Original Android Development] efan3719:
he's been away for a while before that. last i heard was he was sick and then he kind of dropped off the face of the earth. maybe his job/family needs his attention more than this right now.
[Nexus 4 Original Android Development] thracemerin:
OK, I'll get something worked out and post a new thread, probably not until tomorrow night (US Eastern) at the earliest but I'll post a link when I have it all set.
[Nexus 4 Original Android Development] ch96li:
Sweet! If I may make a suggestion...could you add lower frequencies to increase battery life? It would seem to be helpful as my phone seems to spend quite a lot of time at the lowest frequencies.
[Nexus 4 Original Android Development] greg17477:
Won't help the battery, unless you lower the voltage. We are already using 600mV for the lower frequencies (at least on faster binned cpus). IMO this kernel provides the best battery life already.
[Nexus 4 Original Android Development] thracemerin:
Thread is up, builds are in progress http://xdaforums.com/showthread.php?t=2256887
[Nexus 4 Original Android Development] IAmAN00bie:
Lower frequencies help because even if two steps are at the same voltage the lower step uses less power. Basic physics.
[Nexus 4 Original Android Development] greg17477:
I am sure you can provide a formula for that "basic physics", untill then regardless of the frequency 600mV=600mV to me.

edit: googled it. It seems your are right. My question is, how much wattage uses the krait cpu by default? I couldn't find any specs regarding this matter.
[Nexus 4 Original Android Development] thracemerin:
P = f * c * V ^ 2

P = power consumption

f = frequency

c = capacitance

V = voltage

So:

at 304mhz

P = 304 * c * 600^2

at 192mhz

P = 192 * c * 600^2

since c is constant, 304mhz consumes roughly 1.58 times the power of 192mhz during the same time at the same voltage.
[Nexus 4 Original Android Development] thetinguy:
omg yes please!!!!!!
[Nexus 4 Original Android Development] republicano:
just tried this kernel and its great, unvolted -100 by default which is what I do,dual core is fine for daily life, its so snappy, I will see how the first cycle goes,
[Nexus 4 Original Android Development] james300:
so this work on PARANOID ANDROID ? and i find another version which is motley_anykernel_422_nexus_4_build_49_with_prima_r etention.zip some one told me that this will fix delayed notifications When Screen Is Off ??plz help
[Nexus 4 Original Android Development] republicano:
I'm not sure, I'm using it build49 with pa, no issues with it so far.I don't use whatsup

your thread

xdaforums.com/showthread.php?p=41051223
[Nexus 4 Original Android Development] meangreenie:
Here you go.. http://xdaforums.com/showpost.php?p=40215323&postcount=3046
[Nexus 4 Original Android Development] republicano:
thanks

I didn't realize that it had files for the system partiton, so backup before flashing if your going to switch back to another kernel
[Nexus 4 Original Android Development] meangreenie:
Oh yeah good point, should of mentioned the wlan_revert.zip which can be found in thracemerins thread, which resets WiFi files back to stock.
[Nexus 4 Original Android Development] republicano:
thanks

Links

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

http://d-h.st/QJ2
[Nexus 4 Original Android Development] PoisonWolf:
I'm concerned. Anyone know if motley is okay?
[Nexus 4 Original Android Development] jazzboyrules:
Same here. I have emailed his donation gmail ID but no reply.
[Nexus 4 Original Android Development] kickthefreak:
any news from motley ?
[Nexus 4 Original Android Development] PoisonWolf:
Yeah. I honestly don't even care if he doesn't want to work on the kernel at all. But I just want him to be okay, hopefully!
[Nexus 4 Original Android Development] AlwaysDroid:
Could somneone please tell me what touch filter control means? I cant seem to find it by searching.
[Nexus 4 Original Android Development] toge64:
Wherever you are motley, we wish you the best. Hopefully you're just taking a break from android development.
[Nexus 4 Original Android Development] Hero_Guy:
Has anyone noticed a decrease in camera quality? I can't tell if its from the kernel or Paranoid Android