yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] sordna:
auto brightness responsiveness setting?

Ok, cool, now for a different screen topic:

I have noticed that auto-brightness isn't responsive enough in very dark or very bright situations.

You might be in a pitch black room and the screen doesn't go dark enough, or you might be out in the sun, and the screen doesn't go bright enough forcing you to set max brightness, when auto-brightness really ought to do that.

Is there any way to add an auto-brightness "gain" setting in the kernel ?
[Nexus 4 Original Android Development] franciscofranco:
Neps, thats on the userspace level, not Kernel :)
[Nexus 4 Original Android Development] sordna:
Yes, but maybe the kernel can multiply the brightness setting that the userspace is trying to set ?
[Nexus 4 Original Android Development] franciscofranco:
No. The Kernel has a brightness map, from 0 to 255. The userspace manages the current brightness level based on the sensor readings. If you think Android is not managing correctly you should use an app like Lux or something, I can't do anything on the Kernel level.
[Nexus 4 Original Android Development] sordna:
How about manipulating the sensor readings? Can the kernel enhance them (make the low readings lower, and the high readings higher)?
[Nexus 4 Original Android Development] Cuzz1369:
The custommms.zip in this thread is what your looking for. It has a pop up with an option to wake the device and is completely customizable.

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

(Update 8/9) MMS.apk 4.3 (stock look, IOS emojis, quick reply) + Fully customizable
[Nexus 4 Original Android Development] drawde40599:
Ha! Its little things like this + 4.3 sucks IMO made me go back to 4.2.2 /AOKP and 165, Till google gets there **** together. Still love 165 :P
[Nexus 4 Original Android Development] 777.300:
Same for me. 4.2.2. CM and 165 are rock solid and great for battery life.
[Nexus 4 Original Android Development] franciscofranco:
No idea, but that isn't a good idea on paper.

Too much crap in there, hate it, sorry.
[Nexus 4 Original Android Development] drawde40599:
Yep! To many strange issues with 4.3 i wasn't willing to just deal with (on 2 N4's. ) 174 was solid tho
[Nexus 4 Original Android Development] Cuzz1369:
No need to apologize bro, to each their own. Personally I can't stand the stock app. Too boring for me.

Sent from nexus 7(2013) flo or razor or whatever
[Nexus 4 Original Android Development] alanwyl:
Oh FF I wasn't fast enough, it would be ideal if the messaging app read also the proximity sensor before turning on the screen so it won't light up in my pocket. Nvm I may build that later myself when I get home.:)
[Nexus 4 Original Android Development] franciscofranco:
Dunno how to do that.
[Nexus 4 Original Android Development] alanwyl:
After I had lunch, 15min

couldn't resist

http://pastebin.com/6qSvvQBp
[Nexus 4 Original Android Development] AxelCM1:
recommended values ​​for undervolting in this kernel? Chip Fast.
[Nexus 4 Original Android Development] aventu:
[MENTION=3292224]franciscofranco[/MENTION] bump
[Nexus 4 Original Android Development] blueren:
Any way to have a stronger vibration feedback beyond the range of 0 to 100? Especially while pressing the nav bar keys?

Sent from a Nexus
[Nexus 4 Original Android Development] kara mustafa:
Now I am using completely stock 4.3, if I want to use franco kernel, I need to flash:

1) cwm

2) supersu

and nothing more?
[Nexus 4 Original Android Development] kecinzer:
This is interresting for me too :)
[Nexus 4 Original Android Development] Luigiesin:
Nothing more... Just flash and make sure you flash superSu... That's it.

Sent from my \m/ Nexus 4

ROM: PA 3.96

Kernel: Franco r174
[Nexus 4 Original Android Development] fozzie:
Or TWRP instead of CWM ;)
[Nexus 4 Original Android Development] mcochran:
I always do -100 with no problems.
[Nexus 4 Original Android Development] fozzie:
I think I only ever used the stock app for about a day. GoSMS has this option #ftw :)
[Nexus 4 Original Android Development] kleineronkl:
http://xdaforums.com/showthread.php?t=2395549

Not only Screen on for Sms ;)
[Nexus 4 Original Android Development] jmartino5920:
It was a derp on my part. I was transferring files. My bad. I forgot. However, the way I described how battery level can change is accurate. I'll find a reference to it.

Either way, none of those short charges negate the fact that Franco.kernel is amazing, which was the intent of my post.

Again, my derp.

P.S. The graph doesn't average ****, it displays battery level. The way that it is calculated is based on the load placed on the battery of the life of the charge, so, over time. So when you stop doing intense things and the phone sleeps, it is possible for the battery level to "rise" because the level adjusts based on a new mean load to the battery, over what amounts to a greater amount of time. Look it up...

Yes I realize I charged the phone, though not intentionally. Just look it up if you don't believe me. Bunch of know-it-alls in here. Oh, is this this kernel compatible with JSS? No, it isn't!

P.P.S. [MENTION=4656422]rysup[/MENTION], the P.S. is not intended for you my friend.

LTE Mako
[Nexus 4 Original Android Development] Danny.ns:
You can even boot into CWM (instead of flashing it) if you follow efrants guide. But i guess having a custom recovery is nice. :good:
[Nexus 4 Original Android Development] rysup:
No big deal mate i just found it amusing at the time for some reason ;)
[Nexus 4 Original Android Development] jmartino5920:
I didn't realize it at the time. :rolleyes:

LTE Mako
[Nexus 4 Original Android Development] blsrbl:
LightFlow has this option.

Sent from my Nexus 4

---------- Post added at 01:05 PM ---------- Previous post was at 12:21 PM ----------

I'm having lags during heavy games like MC4 & RR3 :(. This is on evey ROM i've flashed.

I'm on PA 3.96, r174, 1512/348 MHz CPU & 400 MHz GPU.

Sent from my Nexus 4
[Nexus 4 Original Android Development] rascarlo:
Y U HARD-CODE STRINGS???

eheh

good idea man
[Nexus 4 Original Android Development] eng.stk:
[MENTION=3292224]franciscofranco[/MENTION] Hey mate i noticied you created a branch for JSS nightlies, will you update it same as JWR branch?

Thanks
[Nexus 4 Original Android Development] thesebastian:
If you want to manually edit those values you need to edit (decompile->edit->compile) "framework-res.apk".

I'm using Halfbreed preset and I changed my own framework-res.apk to match Paranoid Android auto brightness defined by molesarecoming. I uploaded that .apk in " let's calibrate mako topic".

It's just a bit brightly than stock.

Main focus = JWR
[Nexus 4 Original Android Development] danilomaster:
I ve some problem to calibrate my gamma with any preset on franco 174 and ParanoidAndroid 4.3 release 12-08. Any choise seems not working. Anyone could help me?
[Nexus 4 Original Android Development] nakaori:
i tried using franco r174 on paranoidandroid latest and it presents me massiv graphical errors. anyone else?

i flashed and wiped cache and dalvik cache afterwards
[Nexus 4 Original Android Development] bokagavrilov:
3.96–0812?because with that I got no problem that happens the you flash wrong kernel. With that build pa changed to jrw with jss modifications
[Nexus 4 Original Android Development] hughfollett:
It's strange, latest official pa requires jwr kernels. And official r174 is for jwr..

Inviato dal mio Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] franciscofranco:
Thats a pretty good solution, I guess I'll pick it, thanks :)

By the way I was looking at some of your other code, and I noticed this:

if (offline_core(cpu) == true)

You don't need to do == true check. You just need to do this:

if (offline_core(cpu)) //this does if == true

and for false

if (!offline_core(cpu))

;)

Screen on/off.

Flash the latest PA.
[Nexus 4 Original Android Development] gdeath07:
deleted
[Nexus 4 Original Android Development] benrees21:
It's in my signature, Paranoid Android. Actually you just reminded me about my signature, it needs changing.

Because I'm a Nexus b!tch and I like to run the latest source and binaries!! AOSPA and Trinity!!!
[Nexus 4 Original Android Development] Ibsonic:
Nope..everything is on, even g+ with wake locks as hell.. But it doesn't matter it gives me 4.5 hours screentime..

Verstuurd van mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] alienmind:
All location services disabled, and no Google Now **** of course

Sent with my N4 from the future
[Nexus 4 Original Android Development] Vangelis13:
r24 on par with r23; battery, responsiveness & stability. No data or connectivity issues. Phone sleeps like a baby after food. :thumbup:
[Nexus 4 Original Android Development] benrees21:
Location Reporting off and Google Now on.

I'm going to charge my phone now so here are my last batt stats.

Because I'm a Nexus b!tch and I like to run the latest source and binaries!! AOSPA and Trinity!!!
[Nexus 4 Original Android Development] dmorand:
Thanks everyone. Going to turn off location reporting to see if I can get some better battery life.
[Nexus 4 Original Android Development] mosd:
I also have data problems, Its really annoying its a pain to use phone without wifi
[Nexus 4 Original Android Development] Stefa.:
I am using Franco Kernel r23 and AOKP rom (1st Jan 2013 version).

Battery shows an important improvement but i have a Kernel wakelock named "pm8921_eoc" who is killing my battery; anyone know what it is? It depends from the kernel or from the Rom?
[Nexus 4 Original Android Development] franciscofranco:
Then don't use r24, its labeled as test release for some reason...

http://lmgtfy.com/?q=pm8921_eoc

7th result.
[Nexus 4 Original Android Development] benblb:
I have disabled automatic location updating but still use Google Now. Location Updating drains the battery extremely quickly, and I highly recommend you disable it.

That being said, r23 gives me fantastic battery life, but it is making the device lag more than I would like.
[Nexus 4 Original Android Development] St4hli:
Because I didn't find it in a quick look: Is it possible to adjust touch responsiveness of the nexus 4 touchscreen with this kernel?
[Nexus 4 Original Android Development] ManOnTheMoon:
dude i was having the same exact situation. like i would have 3hrs in deepsleep and 2.5 hours in 384mhz...which had me puzzled. i thought it was some new feature. but what i did to fix it was flash r24 and dirty flashed the new PA rom that was just released a few hours ago over the build from yesterday and finally that wakelock is gonne.....i think it might have been rom related.
[Nexus 4 Original Android Development] Bluewall:
Guys... This wake lock appears when you charge your device. This is perfectly normal.

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] Stefa.:
My 7th result is this: http://pastebin.com/RanMgZZF

Sincerly i don't know what it is :(

Sorry, I have just started to mod and Android device so I am not very practical at the moment but i will try to fix it by making some "attemps"; i really don't to cause you a waste of time ;)

EDIT: Just read the post above, got it :D
[Nexus 4 Original Android Development] shamu11:
Do you disable location access in settings or are you doing it somewhere else because if I turn it off I can access all of googlenow and I can't use maps
[Nexus 4 Original Android Development] ntt1409:
I got 2 reboots within 5 minutes while listening to music. The file is attached. Thank you for create a great kernel franco!!!

http://db.tt/bhLCizCA

Stock rom rooted.
[Nexus 4 Original Android Development] Mnemoch:
Me too!
[Nexus 4 Original Android Development] drawde40599:
U cant , my screen works great , most responsive phone I've ever had ( this is my 14th android ;P) if u have screen protector could be ur issue , its posted a lot they can cause issues with this phone
[Nexus 4 Original Android Development] shamu11:
Anybody have any recommendations for custom franco kernel settings to maximize battery life but still have smoothness? Im running the latest aokp nightly
[Nexus 4 Original Android Development] squadz:
Curious of this as well
[Nexus 4 Original Android Development] jorrddan:
Hi, I have a strange issue with r174 and earliest version too.

For charge my Nexus 4, I am using Metrans mini wireless charging pad.

When I am using stock kernel my phone charging properly to 100%.

When I use this kernel my phone charging up to 80% and going to be very hot.

Please, tell me a fix for this, I realy like this kernel!
[Nexus 4 Original Android Development] franciscofranco:
Dunno about that, charger code is stock.
[Nexus 4 Original Android Development] nachordez:
That thread is not by him. That's why it's unofficial

Nexus4 / Cataclysm / Franco
[Nexus 4 Original Android Development] danilomaster:
Thank you a lot, in this way it s working, do you know why the option increase headset gain in your kernel app doesnt working? I like this feature, its a must for me and my nexus 4, since my N4 was born I ve flashed always your kernel!
[Nexus 4 Original Android Development] eng.stk:
Mate, with 406 thanks you should already know the diference between a thread and a git branch :eek:

https://github.com/franciscofranco/mako/tree/nightlies-4.3-JSS
[Nexus 4 Original Android Development] nachordez:
Sorry! You're right.

I've read too fast :thumbup:

Nexus4 / Cataclysm / Franco
[Nexus 4 Original Android Development] franciscofranco:
Because none of the sound options are working since 4.3, I already posted about this dozens of times - and no I don't know how to fix it, I haven't had the chance to look through it.
[Nexus 4 Original Android Development] Raijin:
[MENTION=3292224]franciscofranco[/MENTION] You can use Lightflow to switch screen on for 5 seconds with any app.
[Nexus 4 Original Android Development] franciscofranco:
Ok. I don't need to use 3rd party apps if I can code what I want on Android source ;)
[Nexus 4 Original Android Development] Raijin:
Ok. I thought it would be useful to you.
[Nexus 4 Original Android Development] Waldos:
Francisco, [MENTION=4118822]Misledz[/MENTION] creates a MOD in the sound libs and i can tell you it is amazing your Kernel (+3 gain Headphones Volume Boost and +3 Headset Gain) with the BEATS+XLOUDER combo. You can take a look here: http://xdaforums.com/showthread.php?t=2025486
[Nexus 4 Original Android Development] svnhvn:
Yup, +1. I try that mod too..

And why on earth suddenly my nexus can't send sms? No problem when receiving text tough. I never modified my messaging centre whatsoever thus this kind of problem never occurred on 4.2.2. I tried everything i found on google and xda.

Any of you guys experiencing this too?
[Nexus 4 Original Android Development] drawde40599:
Never an issue here ever, dont see how its kernel related since no one else having this, but make sure its not your rom check there thread it was a known issue on cm, u could try clearing sms app data , or pulling sim for a few, delete apn reboot put it back, make sure u have correct radio for your rom version, few things to try.
[Nexus 4 Original Android Development] nuwan32:
Can't you go to display > brightness > adjust and set the brightness levels? I dunno if that's for paranoid only but it's pretty useful

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

Does this have the inverted or dark version?

---------- Post added at 04:51 PM ---------- Previous post was at 04:50 PM ----------

Thermal throttle?
[Nexus 4 Original Android Development] zorginho:
[MENTION=3292224]franciscofranco[/MENTION] i had a random reboot while playing with tunein radio.

http://pastebin.com/J8dPXReT

franco 163

slim b7

i know it's 4.2.2 but dunno if it's rom or kernel related and maybe it's interesting also for you and new kernel develop.

Inviato dal mio Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] svnhvn:
Did all of that mate but still no result. I'm on stock JWR. My SIM work perfectly on my kid brother's apple 4s.
[Nexus 4 Original Android Development] drawde40599:
Strange, if I was you I would make a backup of the entire system and do a factory reset see if that fixes it now since nothing else works, i don't think its this kernel, but flashing stock can't hurt,
[Nexus 4 Original Android Development] svnhvn:
Yes i also pretty sure this not kernel related. Gonna try on JDQ first and see if this happen again. Thanks btw.
[Nexus 4 Original Android Development] oska3:
it's so hard to find a download link for the kernel :eek:

i need for 4.3
[Nexus 4 Original Android Development] stark_br:
Realy?

Nightlies:

Server 1:

http://minooch.com/franciscofranco/Nexus4/4.3/

Server 2:

http://franciscofranco.minooch.com/Nexus4/4.3/
[Nexus 4 Original Android Development] oska3:
i'm so stupid,hiting under the SOURCE,and searching a zip file :D
[Nexus 4 Original Android Development] franciscofranco:
Sorry, couldn't resist :)
[Nexus 4 Original Android Development] svnhvn:
Stiffler guy is at it again :D
[Nexus 4 Original Android Development] ticiano_arraes:
Best SOT I had so far on N4. I have two portuguese heroes now, José Saramago and Francisco Franco.

Obrigado!
[Nexus 4 Original Android Development] Cuzz1369:
Yup. But the custom one is COMPLETELY customizable. Dark by default. The thread I linked would have been a better place to ask. And it says that right in the op.
[Nexus 4 Original Android Development] sordna:
add size/time in directory listing, and md5sum ?

Hi, do you have any control on these pages?

http://minooch.com/franciscofranco/Nexus4/4.3/

If so, can you please add file size, timestamp to the file listings? And perhaps also an md5sum file ? zip files have integrity checks, but img do not, so it would be very useful.
[Nexus 4 Original Android Development] franciscofranco:
Dunno. I'll check.
[Nexus 4 Original Android Development] upcboy:
JSS

Still Hoping and Waiting on your JSS build lol
[Nexus 4 Original Android Development] JNewms:
Franco, I think Stiffler would be appropriate here too.
[Nexus 4 Original Android Development] jmartino5920:
On behalf of Franco...no need to thank me...

LTE Mako
[Nexus 4 Original Android Development] franciscofranco:
Still hoping and waiting for users to use stock JWR66V because JSS is borked.
[Nexus 4 Original Android Development] upcboy:
But but but I like my Slimrom.....
[Nexus 4 Original Android Development] eezak:
Hello I been having some troubles lately, using R174 on stock rom (stock everything) I have to enter my pin code several times a day, it does not happen with stock kernel, anyone has any clue about what could be going on?

I had the same problem on a few version back on 4.2.2 but it fixed itself with a later kernel version.

Thank you for your time
[Nexus 4 Original Android Development] hughfollett:
What do you think of official PA? Just curious to know your opinion :D

Inviato dal mio Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] Tarun95:
Headset gain starts working and I don't need anything more in my life lol.
[Nexus 4 Original Android Development] ΦDroid:
It's very nice how PA has decided to use JWR now. That way I can update using FKU (as soon as it stops breaking root...)
[Nexus 4 Original Android Development] mitchdickson:
Everything here is open source. You're free to build it however you like.
[Nexus 4 Original Android Development] kara mustafa:
is 174 stable?
[Nexus 4 Original Android Development] mitchdickson:
No. I flashed r174 and my house fell into a sinkhole. Franco's fault.
[Nexus 4 Original Android Development] eezak:
Shameless bump since I will soon be drowned in useless posts.
[Nexus 4 Original Android Development] mitchdickson:
You bumped a post after 30 minutes? Really?
[Nexus 4 Original Android Development] Mercado_Negro:
What's wrong with you? I've been reading the last pages and you're just replying with attacks, sarcasm and unfriendly comments. It's a pain to read a thread with people like you posting. Please, stop that attitude.
[Nexus 4 Original Android Development] kara mustafa:
thanks I will flash it in a second ! :)

ROW is now stock?
[Nexus 4 Original Android Development] mitchdickson:
Attacks? Please link.
[Nexus 4 Original Android Development] eezak:
Ok I will ask nicely, please stop spamming. You are one of the reason question goes unanswered.
[Nexus 4 Original Android Development] sam razzy:
Waiting for the latest build with headset volume control :( I don't want any third party mod such as awesome beat or DSP
[Nexus 4 Original Android Development] nachordez:
O also had that time ago, and it was the combination kernel/radio.

What radio are you in? I'm in .84, it's working great, and no problem. Try to upgrade if you haven't done, and see if that is corrected.

Nexus4 / Cataclysm / Franco
[Nexus 4 Original Android Development] eezak:
Thanks for the advice, unfortunately I'm already on .84

Envoyé depuis mon Nexus 4 en utilisant Tapatalk 4
[Nexus 4 Original Android Development] The Gingerbread Man:
Delete
[Nexus 4 Original Android Development] Shano56:
Unrelated post, but I figured I'd share here. I noticed some people asking about lower screen brightness. Lux has this ability

https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite

Also, recently I discovered a root-enabled plugin specifically for the nexus 4, which allows sub-zero brightness levels, while retaining good contrast levels and the screen dimmer to not be noticeable in screenshots. Also has "astronomer mode" which puts a red filter over the screen, I find it great not to ruin my nightvision while on my phone at night.

https://play.google.com/store/apps/details?id=com.vitocassisi.lux.plugin.nexus4

Enjoy, guys.
[Nexus 4 Original Android Development] :
I'm using Lux for around 2-3 months now and I highly recommend it.
[Nexus 4 Original Android Development] wathefak:
I had this issue a while back, .84 radio seems didn't match for me, so I reverted back to .33. Problem solved.
[Nexus 4 Original Android Development] stark_br:
Did you try the Hybrid radio?

It might solve your issue and you can have latest stuff...
[Nexus 4 Original Android Development] franciscofranco:
I would like to know why is it called Hybrid, because a radio is a closed source binary or .img or whatever. So either its radio .27, .33, .48 or the new .84, unless theres some magic trick somewhere I'm not aware off :)
[Nexus 4 Original Android Development] Shano56:
The guy who "made" the hybrid mounted the IMG partition and manually copied files one by one blindly from the old radio into the .84 until LTE worked
[Nexus 4 Original Android Development] :
That guys must be commended for spending his time doing doing that.

Sent from my Nexus 4
[Nexus 4 Original Android Development] spaceman860:
http://xdaforums.com/showthread.php?p=43936312

Sent via BLACKED OUT LTE N4
[Nexus 4 Original Android Development] franciscofranco:
Thanks for the link, that is pretty cool shenanigans.
[Nexus 4 Original Android Development] pedxing:
I don't know, I can't replicate the issues people talk about on JSS. I've never had any issues plus things like notifications seem fixed. I'm not a gamer so i don't notice the GPU commits but still....
[Nexus 4 Original Android Development] kyokeun1234:
Well a lot of people on jss is having dead locks and I heard that it is unavoidable. Pa fixed this issue by making a hybrid between jwr and jss and it seems to be working so far
[Nexus 4 Original Android Development] franciscofranco:
I posted a new beta update for FKU which adds the possibility of creating several global system modes instead of having only one Default. The feature is not 100% finished, but the core code is there and its working. Needs some polish, thus the beta update. Also cleared a lot of code and improved old ****, but that part is invisible to the users. Grab it and let me know how it works. It can have FC's, although I tested a fresh install on my devices and I had no problems.
[Nexus 4 Original Android Development] CodemasterRob:
Having trouble getting the headphone audio booster to work on r174. Neither the booster or gain are working correctly. Used to make my ears bleed.
[Nexus 4 Original Android Development] mitchdickson:
Dude this has been mentioned at least twice daily since 4.3 came out.

Sent from my iPad Mini