yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Kajover:
Nexus 4: I am not sure if this is a kernel fault. The alarm time on the clock widget (digital) when an alarm time is set or deleted is not displayed automatically. I always have to resize the widget so that it is refreshing. Is it kernel related?

Nexus 7: No such problems. On Franco.kernel as well.
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

For all u Franco haters saying that this kernel gets bad battery. Currently running xylon HD and have 8 hours up time, 2 hours screen on and 56% battery left all on HSDPA T-Mobile network.

My galaxy nexus would have been flashing 15% or less remaining at this usage!
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Not kernel related
[Nexus 4 Original Android Development] merbiyatch:
would anbody happen to know the color and gamma values of paranoid android rom?
[Nexus 4 Original Android Development] scandalousk:
Same for me. It seems to be draining my battery more than usual overnight as well. Without it I'm getting much better battery life. I actually hope it gets fixed. The function it provides is to awesome to not use it. At the moment I'm still getting pretty decent battery life to survive the day, but the thought that something is unnecessarily draining my battery sucks of course.
[Nexus 4 Original Android Development] yokuyuki:
Are you on stock ROM too? I heard of people having issues with it on CM.
[Nexus 4 Original Android Development] hospital349:
My Colours:

Just for sh*ts 'n giggles, here are my colour settings:

R: 250

G: 250

B: 255

Grays: 0

Mids: 119

Blacks: 119

Contrast: 22

Brightness: 2

Saturation: 119

Whites: 7

Brightness: 25%-50% (night/indoors) & 50%+ (daylight/outside)

I haven't collaborated sh*t, but my screen looks great and that's all that matters.

Feel free to try them. Maybe, just maybe, they'll strike a chord. :cowboy:
[Nexus 4 Original Android Development] Zoccat:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Concerning battery, I got allmost 2 days on battery and 6 hours screen on time with 4.22 stock ROM and r80. this was entirely on WiFi and no heavy duty usage, mostly Chrome and WhatsApp. default settings hotplug, interactive, cfq and UV -125. had one unexpected reboot but won't complain because of the UV and not latest version. will be flashing r83 now.

appreciate the new option to hot switch kernel mode! thanks Franco :thumbup:
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
No offense, wifi vs 3g is like 3x more battery life. Just not sure what we're achieving when people talk about THEIR battery experiences. It all depends on your syncing, and what apps you have running in the background, etc.
[Nexus 4 Original Android Development] AngerManagement:
looks good to me, thank you!
[Nexus 4 Original Android Development] franciscofranco:
1 - RGB is universal, all kernels have that so if you have a script or a app setting that up for you it will persist no matter that kernel you flash.

2 - Yes, that fraction of a second is when the device is refreshing the display values from the previous saved ints

3 - I never seen that happen, but that might just be a race condition in the kernel or a overflow and then it simply stops refreshing, but thats a very unlikely situation to happen

4 - Yes, read 1 :)
[Nexus 4 Original Android Development] simms22:
great news.. i just had a few franco kernels to test out, to see if we can get other kernels to boot if flashed over franco kernel. the last test, trinity booted when flashed over franco kernel. so peoples, prepare for even more flashing without having to reflash the rom, the roms kernel, or a refresher kernel. thank you Francisco :highfive:
[Nexus 4 Original Android Development] hospital349:
Hey Franco.

Here's a little something that might help with the HDMI fiasco:

CM 10.1 Kernel (HDMI confirmed working!!)

Many thanks!
[Nexus 4 Original Android Development] deltatux:
Link is broken eh?

deltatux
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
are there disadvantages to using fast charge? I thought usb ports on computers were designed to draw 500mA only, so would this cause any harm on the computer or phone side?
[Nexus 4 Original Android Development] franciscofranco:
If they give out more the phone will charge more if the fastCharge is enabled. If they only give 500mA your phone will only get 500mV no matter what.
[Nexus 4 Original Android Development] franciscofranco:
I don't see any commits for that in the source. Can you get me the dmesg log of the error?
[Nexus 4 Original Android Development] hospital349:
I've already tried on numerous occasions, however my devices crashes and seizes to function once it's plugged into the TV. I have to hard reset for it to function again. I tried ADB (via my laptop), WIFI ADB, logcat, nothing works. It literally just won't let me fetch a log when the error occurs. I'm not overly knowledgeable of each and every method of logging, but if you do have any other methods in mind, i'll do all that I can to assist.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I definitely have 212K and rev 10, I just checked the box to make sure, in case I had misremembered the 212K bit.

Sent from my Nexus 4
[Nexus 4 Original Android Development] ian577416:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Try this. Open terminal emulator, type in logcat >/sdcard/hdmicrashlog.txt and let that run while you do your test. Make sure logging is enabled in franko kernel updater.
[Nexus 4 Original Android Development] hospital349:
I did as instructed and the result was a .txt file named 'hdmicrashlog'. However, upon opening this file, I found it was completely blank. Again, this might be because when my device crashes and I have to hard reset to obtain the file.
[Nexus 4 Original Android Development] ian577416:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Hit me up on Google talk. I'll try to help. ian577416
[Nexus 4 Original Android Development] scream4cheese:
Is everyone watching the PlayStation Meeting right now? :D

Seems awfully quiet here. LOL
[Nexus 4 Original Android Development] special.k:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Of course we are
[Nexus 4 Original Android Development] cobyman7035:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

N4 has HDMI out via USB?

Google Voice via my r72 NeXus⁴ using XDA Premium
[Nexus 4 Original Android Development] klvnhng:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Yes, through Miracast. But you'll need an adapter.

Sent by carrier pigeon
[Nexus 4 Original Android Development] hospital349:
Here you go, Franco.

It took a while, but with some high quality assistance from ian577416, I was able to get the goods. Hopefully this is what you're looking for. :good:
[Nexus 4 Original Android Development] Silencer96:
Why, yes, I do. I did, however, update it to the 19feb build.
[Nexus 4 Original Android Development] Haomuch:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Very good battery performance for r83. From 90% to 4%, got more than 4 hrs 30 min screen on. 30 mins music play. Mustly on Wi-Fi.
[Nexus 4 Original Android Development] franciscofranco:
Do the same thing but for the kernel log: cat /proc/kmsg > log.txt the one you sent its the Android part, has no value for me :)
[Nexus 4 Original Android Development] hospital349:
I'm doing this over ADB WiFi via my laptop w/Command Prompt. What ADB command/script could I use to stream kernel logs?

I've been using:

'adb connect [ip address]'

'adb shell'

'logcat'

This is literally the only way that'll work without losing all of the logs upon hard resetting due to my device crashing. So any help would be great! :)
[Nexus 4 Original Android Development] TrenchKato:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Your sarcasm radar is broken.
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Replace logcat with 'cat /proc/kmsg'?
[Nexus 4 Original Android Development] ansysic:
cat /proc/kmsg > log.txt

instead of logcat

And then pull log.txt
[Nexus 4 Original Android Development] hospital349:
I tried it just before checking your response. I should just go with my gut feeling next time.

Here's the kmsg, Franco. :o
[Nexus 4 Original Android Development] franciscofranco:
People usually mistake my attitude with how I express myself in words. This is the internet, I can tell someone to go **** themselves, but I can be laughing my ass off as it was a joke, but the other guy doesn't know if I'm joking or not because he only reads what I write. Same thing goes here. I do a lot of sarcasm and I use a lot of irony, I like to play a little bit with the users here because sometimes it breaks the tension when something is wrong, and because its funny, I like playing specially with strange posts. For example last night someone was asking if the kernel had some wtfpwn protection against hackers, I didn't understand the post so I joked with a "No idea, therefore Aliens." meme and that wasn't meant to be offensive at all, but the other guy couldn't know my intentions as he didn't see my face literally crying of laugh.

Its very easy to judge someone without knowing the person and specially over the internet where you can only see black pixels that draw the words we type. At the end of the day I am what I am, and I don't give a rats ass if X or Y doesn't like my attitude over the internet - I respect the opinion, but I don't give a rats ass :)
[Nexus 4 Original Android Development] franciscofranco:
Now that is useful :) One more thing, same thing happens on stock kernel right? If it happens on stock I can forward this to Google.
[Nexus 4 Original Android Development] Roxxas049:
Sir, we hold you in a certain reverence, you don't need to explain yourself, hell if I had to put up with all the "durrr does this colonel thingy work with my nokia?" questions I would have gone A**hole on a bunch of people already. That said, thanks for the laughs.
[Nexus 4 Original Android Development] Serious_Beans:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I think the only people that take it the wrong way are those who are new to your kernel. Been using your kernel since the NS and by now I think I can tell when you're messing or actually ticked off. For the most part though you've got a really great attitude on here.

And on topic for the first time with this phone...on r83 I'm going to get 3hrs of screen time with my normal usage and about 11 hrs total. Thank you very much sir.
[Nexus 4 Original Android Development] barondebxl:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I agree. People cant tell who ppl are by just reading posts, there's a lot of miscommunication and misunderstanding at times, but its the internet and it is what it is. Ppl need to have thick skin and not take things personally. Who cares what he/she thinks about you/them as long as you stay true to yourself and have good intentions?

I also like r83, pretty good standby and overall a better kernel than the stock one.
[Nexus 4 Original Android Development] CrimsonSmear:
franco - would you consider a /sys/module/auto_hotplug/parameters/sampling_timer variable to lessen the sampling_rate? (40 does seem a bit much)

It seemed that Miasmic was really seeking a sweet spot but lacked the additional variable to work with. Perhaps 1/10 of the original poll time was a bit too aggressive for a balanced kernel.

(Plus, we haven't seen his input all day and I'm sure he'd appreciate something to tinker with)

Edit: Regardless of not having a physical SD card, would we still not benefit from a higher read_ahead? (512 seems low)
[Nexus 4 Original Android Development] schizophrenia:
i understand you did nothing more. thanks

the reason I asked this is because I have been doing a lot of 3G data connection idle battery test (during my sleep) and of all these tests it's not the rogue apps that drains the battery, but the hsic wakelocks. You may claim that it's just me as no other users are having this. First off, not many people stay on data connection the whole time (except i think you did that before) so it's not fair for them to say. Secondly I think it could be region specific as I am from Hong Kong and so is

Miasmic

so we both ran the same 3G data connection idle battery test and noted the same battery drain due to hsic wakelocks (https://plus.google.com/104818049704682891678/posts/RPMj7824CJE)

So I asked another N4 users in Hong Kong to run the same test with stock rom/kernel and yielded the same drain due to the hsic wakelocks.

So yesterday after I asked you this question, I went to try Harsh Kernel which claimed to have merged the hsic wakelock fix. After a night of normal usage and then 8 hours of 3G data connection idle test, I noticed the hsic wakelocks dropped significantly (from previous 10% on franco, to now 4%) and the battery drain for the 8 hours idle time dropped from previously 20% drain to 11% drain. test results: https://plus.google.com/104818049704682891678/posts/4TxmcS5xn6D

Conclusion is the hsic wakelock does eats up the battery significantly when the phone is on idle/standby.

I know you may just say "then just go use that ****ing kernel, no one force anyone to do anything here", but as a long time franco kernel supporter and I purchased the app since Galaxy Nexus, I do enjoy the customizations of this kernel+app combo offers and I really hope you can consider perfecting the kernel by fixing this hsic wakelock so i can start having confidence on the battery life again.

For those who would say, well, just go use Wifi. First of all this is a systematic test, not a real life situation so 3G is 3G, nothing to do with Wifi. Secondly, I suffer the battery life mainly on 3G because when I am on 3G, it means I don't have chargers around and I usually can charge the phone when I have wifi so I don't really care about the wifi battery drain at all.

Thanks Franco and everyone else

By the way, I did NOT experience any data drop at all during the test with the kernel that has the hsic wakelock fix. None at all
[Nexus 4 Original Android Development] elzafir:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

R83 battery life report. Using PA 3+ Feb19.

On Wi-Fi, 59 minutes of Screen on Time used 20% battery.

On H+, the same amount of battery only results in 35 minutes of SoT. Signal strength is very good, full bars.

Usage is the same: playing around in PA Prefs and Tapatalk.

For my kind of usage pattern, using Mobile Data will eat the battery twice as fast as using Wi-Fi.

Too bad I forgot to take screenshot.

Sent from my Nexus 4 pimped with AOKP and Franco.kernel
[Nexus 4 Original Android Development] sga999:
Franco, sorry, I really intended for questions 1. and 4. to have different meanings. 4. was about why all kernels would have behaved the same, i.e. dark lock screen. Thanks for your answer. But when I said "1. When are the RGB and gamma values set/reset by the kernel?", by the word "when", I meant at what point in time does any given kernel set the RGB values, and when do they get reset to something else.

Every time I would come out of sleep by hitting power, the screen would show again....so obviously, some other RGB values are being used then (I'm referring to this as "reset"). So here are the new questions:

1. What RGB values are chosen at "reset"?

2. Does the "reset" only occur when coming out of sleep and the "set" only occur right after the lock screen is displayed? Obviously, I know your app (and others) are able to "set" new values, so I'm just asking about when the kernel will change RGB settings.

Thanks for your terrific kernel and app.

P.S. I asked a couple of days ago....are you going to upload your bootanimation.zip somewhere?
[Nexus 4 Original Android Development] Nburnes:
Test kernel need testing? I'm going through withdraws.
[Nexus 4 Original Android Development] sga999:
Thanks for this interesting response. When I had this problem yesterday, I'm sure that adb WAS accessible....IF! USB Debugging was turned on. If on, I'm pretty sure your "adb shell pm clear com.franco.kernel" command would have worked. Without USB debugging, I would not have been able to see my way to turning it on!

Anyway, I'm not going to put myself back in this state just to test this out. But I just wanted to say thanks for your nice solution. It also seems like safe mode would have worked (settings - apps - franco kernel - clear data), as a couple of others suggested.
[Nexus 4 Original Android Development] alanwyl:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

+1 in Hong Kong

Idle battery usage on 3G is 3 to 4 times that on wifi

But I would say the battery usage while idling in r83 is the best I've had so far
[Nexus 4 Original Android Development] TheLawIX:
Just installed r83 and love it! Best virus ever :D
[Nexus 4 Original Android Development] yokuyuki:
Doesn't even need to be in Hong Kong. I get 6x more hsic wakelocks on 3G than wifi.
[Nexus 4 Original Android Development] trailblazerz11:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I agree there is something especially wrong with network in Hong Kong, I use 3hk.

Battery is amazing on WiFi but whenever I'm off it battery drains like crazy, maybe 8hours with 1.5-2 hours screen on at best....

Wasn't as bad on US T-Mobile, perhaps due to crazy congestion and population density in HK.
[Nexus 4 Original Android Development] franciscofranco:
You mean a sampling_timer as how often the hotplug_decision work kicks in? Sure thing, seems like a good idea.

High readahead can cause a few troubles for music listening. According to my N7 users 512 + deadline + current deadline tweaks that they researched its the best possible combination.

I guess it doesn't hurt to try. I'm gonna check Harsh's git.

1 - Reset means red, green and blue get set to 255.

2 - It resets as soon as the power button is pressed to wake the device because hitting that button creates a chain of events to call the late_resume, call the backlight driver, call the display driver etc.

Maybe today, I kinda forgot, been swarmed with stuff to do.
[Nexus 4 Original Android Development] franciscofranco:
Wi-Fi doesn't have any msm_hsic_wakelock... the modem/radio is attached to the USB bus in the board, and thats what that wakelock does, keeps the modem alive. Wi-Fi is another history, another chip.
[Nexus 4 Original Android Development] jlear3:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Franco, what are the default cpu hot plug numbers? I really don't want to re flash the kernel and ser it back up for a few settings haha.

Nexus 4

ATT Straight Talk $45/mo

running xylon nightlies 4.2.2 franco r83

^(subject to change often)^
[Nexus 4 Original Android Development] schizophrenia:
appreciate that so much franco. thanks

hope there is really something can be done

I have been doing these tests for a month already (Faux, IR, franco, Matr1x, stock, Harsh) and so far the best hsic wakelock result is from Harsh, all with the same settings/location/apps/time frame of the day
[Nexus 4 Original Android Development] franciscofranco:
I think its 125/275/375.
[Nexus 4 Original Android Development] icepuente:
Franco I have a serious issue. I have to take into account time to check your threads everyday into my university studies. I literally get sections of a lab report done then take a break to catch up on whatever happened in this thread. You're just that awesome! I don't even have this phone yet but I will by the end of the week hopefully.

Okay my appreciation post is done. Back to my Physics lab report
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

This is how you should respond to every question and comment. No words needed, just chuck Norris.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] drawde40599:
I had nothing but data issues with kernels with these "fixes " phone was unusable at times ( a lot of the time )

since 4.2.2 came out I've had not one issue with franco kernel , phone works like its sposed to , im on data 80% of the day and getting 4-5 hours on 83 each and every day with stock settings and that NORMAL wakelock , adding back possible data issues to save 10% battery sounds crazy to me . but not my kernel just my opinion
[Nexus 4 Original Android Development] civicdrivr:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

I'll just leave this here...

I'm still running r72. I kind of don't want to update since the phone is running so well (even under clocked) and I don't want to screw that up lol

Also, Ive only had my N4 for about a month, but I'm so happy to have another phone that Franco is supporting. Hands down THE best kernel.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Birba:
Harsh kernel was also the only kernel that fixed those wakelocks for me without data issues!

But i will anyway stick on francos kernel+app combo because its the best package!

If franco gets those wakelocks fixed, great. If not its also ok.
[Nexus 4 Original Android Development] noneabove:
Hey it's that time of night again! XD
[Nexus 4 Original Android Development] schizophrenia:
as I proposed, i hope this is fixed provided that data connection is NOT affected, no data drop. so it's NOT crazy

then again I am not the only one being harassed by the wakelock

but of course it's up to franco
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
actually when I was in Asia this winter, I got far worse battery drain each day in Taiwan on Taiwan Mobile versus One2Free in Hong Kong. It's definitely mobile network dependent and when you have congestion, it's far worse. Taiwan had far more congestion issues than HK imo. However during my last 2 days in Hong Kong the wakelock fixes were implemented in CM which caused a huge drop in battery consumption, although I started hitting data drops.
[Nexus 4 Original Android Development] franciscofranco:
You missed yesterday's "Aliens" meme :( I cried of laughing just reading the guy saying Aliens with the crazy hair.

I just merged the patches for testing purposes - testing doesn't hurt!

Ding ding ding, nightly coming soon!
[Nexus 4 Original Android Development] AlexWekell:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Am I missing something? I feel like a complete idiot, but I cant find the app everyone is talking about to change screen values!
[Nexus 4 Original Android Development] alanwyl:
Google play search "franco kernel"
[Nexus 4 Original Android Development] AlexWekell:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Now I feel like an idiot, damn...
[Nexus 4 Original Android Development] schmitzekater:
AW: [KERNEL][GPL][N4] franco.Kernel - r83

I'm really looking forward to test the msm_hsic kills again you might implement. I never had data drops back with the r2x- kernels last month.

Although I'm happy with my phone right now it bugs me that it could last even longer when this stupid wakelocks are eliminated.

:thumbup:
[Nexus 4 Original Android Development] noneabove:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Bah I was too busy playing league last night! I'll be sure to check them in the morning if they were that good :P
[Nexus 4 Original Android Development] jlear3:
Re: [KERNEL][GPL][N4] franco.Kernel - r83

Xylon nightly with e83 - UV 100, underclocked to 1.3

Thus is a very normal day for me, I'll have 4hrs by the time I get home and turn on wifi. I'm just loving this combo. Whit my old epic touch I would go through 2 batteries daily using airplane mode. Thanks for this franco! Will donate once my bank account evens off from valentine's day :P

EDIT: I'm an idiot and forgot the screen shots lol..

Nexus 4

ATT Straight Talk $45/mo

running xylon nightlies 4.2.2 franco r83

^(subject to change often)^
[Nexus 4 Original Android Development] rocklee80:
i hope the new test nightly comes soon to test the new hsic wakelock changes because i have huge hsic wakelocks
[Nexus 4 Original Android Development] Archmag3:
relax he will release when its ready :) give the man a break ;)