yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ctfrommn:
Kernel is running great.....is UV supposed to be functioning? If I set any new value via Trickster it just reverts back to stock values.
[Nexus 4 Original Android Development] Martin_Ro:
Yes should normally work also I haven't tested it that extensive. Will have a closer look :)

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] ctfrommn:
It definitely isnt for me. This was a dirty flash of the Rom and then the kernel so it should be clean from that perspective. I'll try a different app to control voltage. You said the voltage part is from Morfic right?
[Nexus 4 Original Android Development] Stark X:
But morfic's latest doesn't have voltage control :o
[Nexus 4 Original Android Development] Martin_Ro:
Yes, it's from morfic, but maybe I missed something. Will have to check that

Might be, but the commit was from him.

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] ctfrommn:
Cool....kernel ran like a speeding bullet while I was using it though. Well done!
[Nexus 4 Original Android Development] Martin_Ro:
OK checked that voltage stuff. seems as if the writing of the UV table fails or if it is directly overwritten by defaults... Seems as if there is something missing... Big derb :( have to check it tomorrow further.

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] ctfrommn:
Cool....I look forward to using it some more. :)
[Nexus 4 Original Android Development] Vangelis13:
Brilliant kernel Martin!! :thumbup::)
[Nexus 4 Original Android Development] apatal:
Please make one for JSS! Pretty please! :)
[Nexus 4 Original Android Development] nedooo:
If he don't he will help that those buggy JSS - JLS builds fall to oblivion :P
[Nexus 4 Original Android Development] blankit:
That is not a graphical glitch. That is a clear bar indicating you that you are about to switch to another screen.
[Nexus 4 Original Android Development] hsrn:
strange thing is that the black line, which i adressed as the bug, doesn't appear if you drag an icon to the right.

try it and you will see.
[Nexus 4 Original Android Development] Martin_Ro:
Sorry, but no, kernel is only one part of my rom, I only "exported" it to a CWM-Package to giv user the chance to use it with another Rom, but I will not put any additional power into something others like [MENTION=3292224]franciscofranco[/MENTION], [MENTION=4098123]faux1234[/MENTION], [MENTION=1122306]morfic[/MENTION] etc. could do way better.

And I don't think that something I do (or not do) will have any impact on the N4 scene in any way ;)
[Nexus 4 Original Android Development] strra:
Anyone having data issues after updating to the latest build? My data was very intermittent until I restored a backup of the previous build and now it's fine again.. It was the same data issues I was having on Mokee ROM
[Nexus 4 Original Android Development] Martin_Ro:
No, sorry, no Data issues here and also no issues reported :)

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] clockworkstop:
Patiently waiting for the undervolt fix here :)

Sent speedily from my scurrying Nexus 4
[Nexus 4 Original Android Development] Bosio91:
Hi to all :)

Will the kernel from this ROM work on maguro?

Thanks!
[Nexus 4 Original Android Development] Martin_Ro:
No, sorry, Maguro is a complete other system. That would most likely brick your maguro.

Btw. Changed from morfics UV to faux123's version and that is working, confirmed it by setting 1500MHz to 750mV... that crashes immediately ^^

Currently try to build with O3 Optimization, if this also works I will post a new version real soon...
[Nexus 4 Original Android Development] Martin_Ro:
New Kernel is Online.

Changes:

Fixed the Voltage Control

Kernel is now O3 Optimized
[Nexus 4 Original Android Development] Martin_Ro:
New Rom Version is now also online, it's only a dirty build.

2013-09-19:

Kernel: Fixed Voltage Control

Kernel: Build with O3 Optimization

ROM: superuser updated : Emulated Devices are now accessible with superuser rights
[Nexus 4 Original Android Development] Vangelis13:
Is the navbar customizable?

Kernel is magic, I'll have to try the whole package.. :):thumbup:

P.S. Rom downloaded in about 25 seconds.. ;)
[Nexus 4 Original Android Development] Bosio91:
Ah well, too bad. I'm hearing such good things about your kernel, I would really like to try it out.
[Nexus 4 Original Android Development] clockworkstop:
Hey martin

may I ask what makes you leave out the center clock? Sounds like such a simple thing to add, but hey, I'm no dev.

Sent speedily from my scurrying Nexus 4
[Nexus 4 Original Android Development] Martin_Ro:
No, sorry, no Navbar customization :rolleyes:
[Nexus 4 Original Android Development] Martin_Ro:
Just uploaded a fixed build for the 918Mhz bug. This build has also Franco's interactive GPU governor as default to bring the GPU freq down. Trickster didn't show it right but it's interactive from Franco. Will check how to fix that later.

Build is named "2nd Build 2013-09-19"

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] samuelrf:
can't find it :(
[Nexus 4 Original Android Development] Martin_Ro:
Go to "Database" the SiMa-Kernel

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] Vangelis13:
Hm. Screen tearing on the last (2nd) one. Very strange..

Anyone else..?
[Nexus 4 Original Android Development] ctfrommn:
Nope....what'd you break :p
[Nexus 4 Original Android Development] Vangelis13:
Good question.. :p Seems to have settled now. Odd.
[Nexus 4 Original Android Development] Galaxo60:
[MENTION=4429892]Martin_Ro[/MENTION]

Do you plan to make a new ROM release with the 2nd build or just the kernel?.

:confused:
[Nexus 4 Original Android Development] ctfrommn:
New kernel is really nice Martin....great job! Having UV really helps my hot chip. Any consideration of using GCC 4.8.2 to compile it? Seems to help kernels much more than Roms.
[Nexus 4 Original Android Development] Stark X:
Awesome kernel man ! :D
[Nexus 4 Original Android Development] Martin_Ro:
Not today, but you only need to flash the 2nd version above the last rom

Yes, haven't found the time to do it, but it will come :)

Thx

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] Martin_Ro:
Yes, very odd, haven't have that

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] Stark X:
Bug report : my phone reboots when I switch to interactive governor ! :p

Sent flying with Pure Speed !
[Nexus 4 Original Android Development] ashishv:
Same.:laugh:
[Nexus 4 Original Android Development] Martin_Ro:
Yepp, have seen the same lately, have to check what's derped

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] Stark X:
Have you removed the performance governor ? It was missing in trickster mod

Sent flying with Pure Speed !
[Nexus 4 Original Android Development] Galaxo60:
[MENTION=4429892]Martin_Ro[/MENTION]

Just a couple of suggestions:

You should remove VoiceDialer.apk from ROM because it is not longer functional or needed in my opinion since Google Now makes the same functionand better. Besides this, PhotoTable.apk should be removed also to not have repeated options on Daydream settings. Also PicoTts.apk should be removed since Google's one is better.

I'm trying the ROM and will give feedback later, but just my 2 cents on these things.

:good:
[Nexus 4 Original Android Development] Martin_Ro:
There seems to be some big mess regarding governors will check that as soon as possible.

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] Galaxo60:
[MENTION=4429892]Martin_Ro[/MENTION]

I think I found a bug:

When going landscape in any app, the arrow in NavBar is bigger than the other buttons. I changed NavBar to 32dp, but it looks like default size.

:highfive:
[Nexus 4 Original Android Development] Martin_Ro:
Can confirm that. Habe fixed that allready in normal mode, but missed landscape. Will fix that soon :)

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] mackster248:
Hey Martin, just wanna say I've really enjoyed running your ROM's since you started in the RBJ thread. So thanks for your work!

Quick question, what app do you use to change the CPU frequency? All I wanna do is change the min to 300ish mhz. I tried using trixter mod app but while the color options work, the frequency change doesn't stick.

Thanks again and keep it up!
[Nexus 4 Original Android Development] myfluxi:
Stumbled upon this. By any chance, do you see something like this in dmesg when switching governors?

<4>[ 1338.237854] ------------[ cut here ]------------
<4>[ 1338.238067] WARNING: at fs/sysfs/dir.c:508 sysfs_add_one+0x7c/0x9c()
<4>[ 1338.238189] sysfs: cannot create duplicate filename '/devices/system/cpu/c
pufreq/conservative'
<4>[ 1338.238403] [<c010c204>] (unwind_backtrace+0x0/0xe0) from [<c0167a18>] (wa
rn_slowpath_common+0x48/0x60)
<4>[ 1338.238616] [<c0167a18>] (warn_slowpath_common+0x48/0x60) from [<c0167a88>
] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 1338.238830] [<c0167a88>] (warn_slowpath_fmt+0x2c/0x3c) from [<c026dc38>] (
sysfs_add_one+0x7c/0x9c)
<4>[ 1338.238952] [<c026dc38>] (sysfs_add_one+0x7c/0x9c) from [<c026de34>] (crea
te_dir+0x58/0xb0)
<4>[ 1338.239166] [<c026de34>] (create_dir+0x58/0xb0) from [<c026e0e0>] (sysfs_c
reate_subdir+0x18/0x1c)
<4>[ 1338.241058] [<c026e0e0>] (sysfs_create_subdir+0x18/0x1c) from [<c026f530>]
(internal_create_group+0x84/0x1e0)
<4>[ 1338.241180] [<c026f530>] (internal_create_group+0x84/0x1e0) from [<c059ee5
4>] (cpufreq_governor_dbs+0x22c/0x3f8)
<4>[ 1338.241302] [<c059ee54>] (cpufreq_governor_dbs+0x22c/0x3f8) from [<c059a06
c>] (__cpufreq_governor+0x50/0x5c)
<4>[ 1338.241394] [<c059a06c>] (__cpufreq_governor+0x50/0x5c) from [<c059a198>]
(__cpufreq_set_policy+0x120/0x168)
<4>[ 1338.241516] [<c059a198>] (__cpufreq_set_policy+0x120/0x168) from [<c059a85
0>] (cpufreq_add_dev_interface+0x274/0x2c4)
<4>[ 1338.241577] [<c059a850>] (cpufreq_add_dev_interface+0x274/0x2c4) from [<c0
59ac84>] (cpufreq_add_dev+0x3e4/0x43c)
<4>[ 1338.241699] [<c059ac84>] (cpufreq_add_dev+0x3e4/0x43c) from [<c0907e70>] (
cpufreq_cpu_callback+0x88/0x9c)
<4>[ 1338.241821] [<c0907e70>] (cpufreq_cpu_callback+0x88/0x9c) from [<c0189b34>
] (notifier_call_chain+0x38/0x68)
<4>[ 1338.241943] [<c0189b34>] (notifier_call_chain+0x38/0x68) from [<c0169958>]
(__cpu_notify+0x28/0x40)
<4>[ 1338.242065] [<c0169958>] (__cpu_notify+0x28/0x40) from [<c0905c30>] (_cpu_
up+0xc8/0x1a8)
<4>[ 1338.242156] [<c0905c30>] (_cpu_up+0xc8/0x1a8) from [<c0905d74>] (cpu_up+0x
64/0x84)
<4>[ 1338.242248] [<c0905d74>] (cpu_up+0x64/0x84) from [<c0903fac>] (decide_hotp
lug_func+0x1e8/0x2ec)
<4>[ 1338.242370] [<c0903fac>] (decide_hotplug_func+0x1e8/0x2ec) from [<c017f108
>] (process_one_work+0x204/0x410)
<4>[ 1338.242462] [<c017f108>] (process_one_work+0x204/0x410) from [<c017f4c8>]
(worker_thread+0x188/0x2a8)
<4>[ 1338.242584] [<c017f4c8>] (worker_thread+0x188/0x2a8) from [<c0184390>] (kt
hread+0x84/0x94)
<4>[ 1338.242675] [<c0184390>] (kthread+0x84/0x94) from [<c0106d8c>] (kernel_thr
ead_exit+0x0/0x8)
<4>[ 1338.242767] ---[ end trace e6d9e62662a91860 ]---

If yes, see https://github.com/myfluxi/android_kernel_google_msm/commit/3947f62988e4ce285de32c789264cb67bac6d63b, if not ignore me.
[Nexus 4 Original Android Development] Martin_Ro:
as we don't have conservative (ony OnDemand, Interactive and Intellidemand), this isn't the issue.

I think I derped something by merging latest changes from PA Kernel.

Anyway, I did a complete restart from AOSP source and this time also merges Version 3.4.62 of the Kernel (like Semaphore) and then added back Gamma-Control, UV and Intellidemand and also some Compiler Optimizations like O3.

Works well so far, currently I try to compile also with gcc 4.8.1, fighting with some warning but hope to bring it on :fingers-crossed:

Edit:

F.... kernel compiles with gcc4.8.1 but didn't boot :(

Have to search for that later, will release a "normal" build soon as it seems to be rock stable again, governor bugs seems also fixed and it even seems to be a little more fluid...
[Nexus 4 Original Android Development] myfluxi:
It happend with Interactive as well.

Upstream patches are 99% useless and may even lead to problems. Since the Exynos desaster I never understood why people messed with full mainline patches instead of cherry-picking. Good luck.
[Nexus 4 Original Android Development] Martin_Ro:
New Kernel Version Online

It's a complett fresh restart, this time from aosp source and with latest 3.4.62 merges.

For details see changelog in #2

Rom with new kernelversion will come later
[Nexus 4 Original Android Development] Martin_Ro:
So, new Rom Build is now also online.

Beside the new kernel version it has also the fix for the resized back button layoutbug in landscape mode.
[Nexus 4 Original Android Development] Galaxo60:
Downloading right now!.

:laugh:
[Nexus 4 Original Android Development] szucsgf:
Seriously nice kernel.

PSX ROM. Quad core, min cpu 384 max CPU 1512, ondemand. Reno 1024 deadline. Vibrator 100, UV 100mV. Lux auto brightness (brighter than stock auto brightness). 100% wifi. Wifi, LTE, GPS always on, always connected, always synced.

~5h screen on time, ~22000 AnTuTu, ~0.1%/hour overnight drain. :thumbup:
[Nexus 4 Original Android Development] Martin_Ro:
Nice to hear :)

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] ctfrommn:
Indeed.... It's running great. Gonna try integration later and I'll let you know how it went.

How goes the GCC 4.8? Any thought given to using Franco's gamma instead of faux's?

Replied with Pure Speed
[Nexus 4 Original Android Development] imperator01:
I just don't get the philosophy of some rom makers?

We should customize our phones with custom roms, but we shall not customize the looks of the rom!

What's the truh behind the reason to not include theme manager in a rom?
[Nexus 4 Original Android Development] Sblast:
Are there lockscreen shortcuts/targets in this ROM?
[Nexus 4 Original Android Development] Aashrey99:
Some people just want their phone to look stock and have all the speed and performance benefits of custom roms. And it turns out that there are a lot of here at xda. And some of us are awesome devs (martin and ctfrommn) who make these awesome stock looking roms. And because they don't have unnecessary features and bloat, these roms fly! So yes, maybe this is not for you and you don't really have to understand the philosophy behind it. :)
[Nexus 4 Original Android Development] Martin_Ro:
100% correct. Custom Rom don't only means customized look. And thats the pretty thing with the nexi in special: you can choose from a wide range of customized Roms or even usw their Rom source as a base for your own Rom. If you want to habe simarom or psx with theme manager, grab the git and just do it :)

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] Martin_Ro:
Nope, nothing of that currently and I'm quite sure that there will be never something like that, sorry.

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] imperator01:
Well I'm not a dev, don't know how to implement theme framewok into a rom.

But i know how to change some pics in framework to have a holo light experience.

I just can't understand that a theme manager slows down a rom, all it dose is replaces some small image files.

Nicht boesse sein, ist ja nur eine frage. ;)
[Nexus 4 Original Android Development] Martin_Ro:
Nobody is bad on someone here. Everything is relaxed (so no usual "german" thread ;) )

Only rule is "nobody harms somebody".

But back to the theme manager. The thememanager hooks up on the drawengine. For every line and every image he draws he has to look wether there is some information about theming for that part. so even if only the theme manager is implemented without using an extra theme would cost some performance because for everything drawn it would first ask "theme manager, is there a theming for this color of the line or this image etc" and the theme manager would say "Ahhh... no, not this time"... so it has an impact on the performance. Also it need more memory (not that problem on our beloved N4) etc.

So anybody that say's "theme manager has no impact on performance" (or even a little bit on battery) is simply wrong...
[Nexus 4 Original Android Development] samuelrf:
using this configuration my phone is smooth as hell, but my battery drains to fast also, its only me or you also?

Speedy answer by Pure Speed
[Nexus 4 Original Android Development] szucsgf:
My battery results were with those settings, so no mine isn't draining fast.

More important than kernel settings are signal and wakelocks. Are you in an area with strong data and wifi signal? Have you minimized all wakelocks as far as possible?
[Nexus 4 Original Android Development] samuelrf:
I'm in the same area as always, and I have the same apps installed as before, take a look into this (I don't understand to much :( )

In a normal day I should have 85% +-...but I have 63% :/

Speedy answer by Pure Speed
[Nexus 4 Original Android Development] imperator01:
[MENTION=4429892]Martin_Ro[/MENTION]

Thanks for explanation,now I totally understand.

It works like in video games,where the cpu always checks if anything has changed and than it sends info with draw request for the next frame to gpu.

The so called drawengine,renders our UI on phones,it must check for data on our wallpaper,icons,ect. This check is performed only once for one single animation to be rendered.

Only once before first frame is rendered and stored in buffer,and the next 120 frames are free (if animation is 2sec)

I mean,rendering phone UI i simpler then a game,where every milisecond something is changing, from camera angle to player imput ect.

I don't think that the impact on the performance would be so big,I mean how many extra cpu calls are we talking about here?
[Nexus 4 Original Android Development] Martin_Ro:
Hm, currently my battery usage is quite normal, but I will have a closer look on it. What I can see is that the most usage seems to be location service... do you maybe have something new running ? maybe a new maps update or something like that ?

My wife have had some problems with maps lately on her Note 2, it also have eaten up her battery like crazy...
[Nexus 4 Original Android Development] Martin_Ro:
I don't know how many calls happens but anyway, as there are some calls, I don't want to implement it, because I don't use it, don't like it and therefore don't want my phone to waste cpu cycles on something that I don't want to have in it, sorry :rolleyes:
[Nexus 4 Original Android Development] miguepereira77:
[MENTION=4786778]imperator01[/MENTION] why don't u use xposed and its modules for your purposes??

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] samuelrf:
yes I have the Google maps(I also have them before)...but they are greenifyed, so they aren't running, I'm going to greenify all Google services, maybe this works...I don't want to change the kernel, this is the best I have tried! but I need good battery :/

Speedy answer by Pure Speed
[Nexus 4 Original Android Development] szucsgf:
In my experience Maps doesn't Greenify well.

Go to Google Settings - Location. Turn off "Location Reporting". That should help.
[Nexus 4 Original Android Development] kalinusa:
When you say UV 100mV what does this mean? 100mV across the board or just specific frequencies?
[Nexus 4 Original Android Development] szucsgf:
Across the board.
[Nexus 4 Original Android Development] kalinusa:
Do those -100mV UV only works with this kernel. I was on Neo11 and I was just curious to see what would happen. And phone crashed.

p.s. What about that pretty scientific post somewhere here in XDA where this develop quite deeply explained why UV does not work to save battery. Have you seen any good comparisons here on XDA. I dont mean the word-of-mouth "I think it works" but a well made test.
[Nexus 4 Original Android Development] szucsgf:
I'm glad you specify that you're not interested in the typical "I think it works" kind of answer you often see on forums. I'll try.

1. I'm not undervolting to save battery. The battery gains are probably small. I'm undervolting primarily to help with temperature. I can't even confirm if it really helps me with either of these, but my phone runs stable at -100mV and theoretically there should be some heat benefit (and even a bit of battery benefit, but like I said probably not much). I only mentioned it because I listed all my non-default settings. For more info on the relationship between voltage and heat: http://en.m.wikipedia.org/wiki/Joule_heating

2. If we're thinking of the same thing, the pretty scientific post you refer to argued that undervolting won't improve your battery more than 2%. That was actually based on research that was done on the Nexus S. See here for the details: http://xdaforums.com/showthread.php?t=1478406

3. Neo is undervolted 100mV by default, so when you undervolted Neo you were likely unintentionally undervolting too much for your phone.
[Nexus 4 Original Android Development] Martin_Ro:
Yepp, most kernel have some build in UV by 100mV, mine not because there is a small chance that some phones would get problems with that. I also don't UV but it's an asked feature and don't do any harm to performance and battery so I implemented it.

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] Martin_Ro:
New Build is online:

Build 2013-09-24:

Kernel: Exchanged faux gammacontrol with francos

Kernel: removed intellidemand, interactive is now default

Kernel: Updated to newest prima-drivers (picked from franco's kernel repo)

Kernel: some internal fixes regarding USB / HSIC (picked from francos' kernel repo)

ROM: Updates some build settings to hopefully make it even more smooth

Removed intellidemand because it turnes out it (at least on this rom) got's a little bit laggy under some special conditions.

Also changed to franco's gamma control because I personally like it more and also there was a demand for that.
[Nexus 4 Original Android Development] ctfrommn:
Awesome.....thanks!
[Nexus 4 Original Android Development] samuelrf:
thanks man...just awesome, even better than previous build, thanks again! psx + this my n4 fly :D

Speedy answer by Pure Speed
[Nexus 4 Original Android Development] Martin_Ro:
New Build is online that fixes problems with the gamma control.
[Nexus 4 Original Android Development] B4tnam:
I have never used this ROM but I would like to know if it isn't already implemented, can you add the ability to long press navigation keys? For example, I have 3 icons, Back, Home and Menu with a long press for recents.
[Nexus 4 Original Android Development] Martin_Ro:
Sorry, I will not add functions anymore. I will fix a problem in gamma control and after that this project will be closed because I no longer own a mako... sorry for that

Gesendet von meinem GT-N7100 mit Tapatalk 4
[Nexus 4 Original Android Development] spider623:
It breaks other staff, the rc for pa have one
[Nexus 4 Original Android Development] yonpa:
What happened with your n4 Martin? :(
[Nexus 4 Original Android Development] fabian.m:
Sorry to hear that. what happened?
[Nexus 4 Original Android Development] TheDarkDefender:
Oh that's a shame man :( i liked your work.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Martin_Ro:
I got a new phone, that's what happend. It's a long story (to long to tell here), but at the end we (my wife and me) had two Galaxy Note 2. And as the performance of the Note 2 is nearly on par with the N4, but the Display and the battery are bigger, so I will use also the Note 2 and give the N4 to my sister.

Don't know if I will also develope for the Note 2....

Originally I planed to get a Nexus 5 but that's the way life goes sometimes :rolleyes:
[Nexus 4 Original Android Development] Martin_Ro:
Final versions for rom and kernel are online untested

Build 2013-09-26 final version:

Reverted back to faux gammacontrol