yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Techimplant:
Hey everyone..I have a question that doesnt belong in this thread but still..Do we have any Display Calibration app for Nexus 7(2012) also..coz now in front of my Nexus 5 that display looks like complete garbage to my eyes..
[Nexus 5 Original Android Development] franciscofranco:
Nope, I've searched the N7's display drivers for weeks, have no clue how to do that.
[Nexus 5 Original Android Development] Alaris:
What do you guys use to find wake locks?
[Nexus 5 Original Android Development] franciscofranco:
We don't install apps that have the tendency for holding wakelocks when they shouldn't. At least that's I do, couldn't care less about greenify or any other app to tame my device - I tame it myself.
[Nexus 5 Original Android Development] kmakiki:
Are there any popular culprits that you guys have found to hold wakelocks? Other than dumb Facebook of course.
[Nexus 5 Original Android Development] franciscofranco:
Google Maps trying to obtain a location, Facebook Messenger, Dropbox Sync sometimes, Google Search...
[Nexus 5 Original Android Development] mythenmetz:
Stock settings, nearly 7h sot. Check your wakelocks, that's all you need for great battery life and let the kernel settle some time.
[Nexus 5 Original Android Development] Technecium:
I was using them for a few days. They are developer previews so don't be surprised if the cause fc and reboot. I was getting quite a few.

just saying...

Sent from AOSP koeMod 4.4.2 w/ Franco kernel
[Nexus 5 Original Android Development] jb0ne:
The Fastcharge is not working for me (both r32 and test 33). I plug it into my USB port, it reports as being charged by USB, and I can still access my files.

BUT my motherboard has "fast charge" ports and a special service, which seem to put out about 1A. Is this why Fastcharge isn't working?
[Nexus 5 Original Android Development] franciscofranco:
Its ok, I'm prepared for that otherwise I wouldn't have flashed them ;)
[Nexus 5 Original Android Development] Enddo:
it will continue to say usb. fast charge is working though
[Nexus 5 Original Android Development] adrman:
Paypal is a battery vampire.
[Nexus 5 Original Android Development] jb0ne:
But I thought you were supposed to lose access to your files. I can still get to them in windows explorer.
[Nexus 5 Original Android Development] LibiSC:
In Linux Sometimes it gets mtp gets derped when fast charge is on.... But doesn't happen on windows
[Nexus 5 Original Android Development] dastinger:
Hey guys,

Regarding color profiles.. I really like Piereligio 4.1 but I like it even more when I change the white point to 32. Is there any way to save the profile so I don't need to go and change the white point every time I reboot the phone? I tried saving directly in FKU but it doesn't seem to have done the trick... :/

I tried editing the profile on a text editor but I don't really know which value I need to change.

Thanks
[Nexus 5 Original Android Development] Red5:
Woooo. Update to fku app! Awesome!
[Nexus 5 Original Android Development] Seadra:
No underclocking or anything here. Using the default values. Cataclysm+Xposed+Franco+Avaiate = 7hrs SoT (just with slight gaming.)
[Nexus 5 Original Android Development] fbf2201:
In what terms? I have it installed and don't even see it in the stats.
[Nexus 5 Original Android Development] neriamarillo:
Just save it as a new profile in FKU. It works.
[Nexus 5 Original Android Development] Seadra:
bump.

Also, I am on cataclysm and there is a tile named "fastcharge". When I click on it, nothing happens. I use cable to my laptop and still nothing. How to know if my laptop supports fastcharge or not?
[Nexus 5 Original Android Development] RevelationOmega:
Fastcharge needs a compatible kernel in order to work. Most kernels include the fast charge and option through kernel setting apps so the toggle would only used for convenience. Phone would be put into fastcharge by kernel (aka Franco kernel) through app setting. The tile may be incompatible with the kernel, even though franco kernel supports fastcharge. Cataclysm may have the issue of incompatibility. I have tried to set as well on Cataclysm, yet no luck.
[Nexus 5 Original Android Development] Technecium:
I've got a few questions about working with your source code and repository. I'm not all that proficient with git yet so bear with me. This is not specifically directed at Franco so if anyone has the answers please jump in.

Your git has 3 branches; android-msm-hammerhead-3.4-kk-r1, next, and staging. What are next and staging? From the names, it sounds like staging is for things you are playing with and next is for things that have been tested and will be but not yet pushed to android-msm-hammerhead-3.4-kk-r1. Is that right?

Next question is about the config file. To get a successful build I had to pull config.gz, but do you keep a config in your repo other than the hammerhead_defconfig? I'm not seeing anything like franco_config for example.

Answers to those questions will keep me busy for a while so I'll leave it at that.

Sent from AOSP koeMod 4.4.2 w/ Franco kernel
[Nexus 5 Original Android Development] bknightt:
i'm pretty sure their brightness is at least close to 10%, that's the only way besides underclocking which I can see to improve the battery life that much.. I can manage 4h with 0h gaming, but on the first 24h to 36h mark, 4h+ with 2-3d standby is from another league lol.
[Nexus 5 Original Android Development] Cheater912:
Is anybody else getting black screens? My device just freezes after being locked for over 10 seconds. If the notification light is going off, it just stays on indefinitely. No undervolting, no out of the ordinary apps. Using LightFlow.
[Nexus 5 Original Android Development] tusshar.gaba:
Can we install this on beanstalk rom ??????
[Nexus 5 Original Android Development] Omya:
no... you can flash it using franco kernel updater free... easiest way
[Nexus 5 Original Android Development] Cheater912:
Here's the last_kmsg file after a black screen: https://docs.google.com/a/daringdev.com/file/d/0B5OGyqiK7kmEcVhiQXpuMldyMGc/edit?usp=docslist_api
[Nexus 5 Original Android Development] kepapas:
I can't wait for r33 stable! How can the battery get more better? I already get 5 hours of sot.
[Nexus 5 Original Android Development] Seadra:
I use the free fku app, so i have no option to set up fast charge. Is it on by default on free app or i have to get the paid version to use fastcharge?
[Nexus 5 Original Android Development] MöCkY_1:
Paid or trickster mod.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] big_adventure:
I run stock, except I do put in a PerAppMode to cut games down to 1.2Ghz and 320Mhz GPU. I don't run any really insane games, though. I get a full day (never even try for 2), with between 2.5 and 6 hours SoT. I've had over 8 a couple of times, but the only thing I was doing was reading, and I was in good signal areas. I find that signal is the biggest differentiator to battery life.
[Nexus 5 Original Android Development] sordna:
This app will show you if it works or not. I get much higher current with fast charge on. And I can see my files and work adb too. Make sure to unplug and replug the cable when you change the kernel setting, so that a fresh USB negotiation occurs.

https://play.google.com/store/apps/details?id=com.manor.currentwidget
[Nexus 5 Original Android Development] adrman:
Every time I have the app running, I experience much higher battery drain than normal. When I check the stats, PayPal is at the top.
[Nexus 5 Original Android Development] OGroteKoning:
Awesome work with the colour control and profiles!

[MENTION=3292224]franciscofranco[/MENTION] for FKU

[MENTION=4437173]Piereligio[/MENTION] for Piereligio_TrueRGB_v4.1

[MENTION=5263625]neriamarillo[/MENTION] for Neriamarillo_V3

For my phone Neriamarillo_V3 was the most consistent over the range of colours. So I used this as the base. I then adjusted red with Piereligio_TrueRGB_v4.1 and managed the following settings/results after adjusting white point brightness:

Settings:

Red CP=0

Red CN=0

Red BP=105

Red BN=105

Green CP=83

Green CN=83

Green BP=127

Green BN=127

Blue CP=90

Blue CN=90

Blue BP=128

Blue BN=128

White Point Brightness=33

Results:

Gray - 2.1

Red - 2.2

Green - 2.2

Blue - 2.2

Yellow - 2.2

Cyan - 2.1

Magenta - 2.2

Thanks guys!!

EDIT: Just realised that Neriamarillo_V3 and Piereligio_TrueRGB_v4.1 's reds are the same. So my next test was using Piereligio_TrueRGB_v4.1 only and push the White Point Brightness to 34 and now everything is 2.2
[Nexus 5 Original Android Development] linqdesires:
yeah, I was not.

my point was exactly the opposite: guessing if it's possible to mantain a FK (AOSP) compatible *CM repo*.

I didn't read the commited code which introduces incompatibility and I don't know the software architecture in detail, that's why I was asking.

basically and absolutely theoretically my idea was: let's take the 25th january repo then merge all the commits avoiding those CAF related. :confused:
[Nexus 5 Original Android Development] :
[MENTION=3292224]franciscofranco[/MENTION] , I just purchased fku and I just have one question . Does the perappmodules override the CPU frequencies? Like I have uc to 1.7 and in a perapp module I have oced to 2.4 GHz , so will it override the under clock settings ?
[Nexus 5 Original Android Development] nec_d:
nice kernel, but scrooling is a liitle big laggy on various apps and especially chrome...
[Nexus 5 Original Android Development] :
Change touch_boost duration to 1000000 from 350000
[Nexus 5 Original Android Development] Delacor:
Yes!

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] nec_d:
Thanks, ill try this.
[Nexus 5 Original Android Development] italia0101:
Quick question .. is it still the case that you can't flash another kernel directly over Franco kernel ?
[Nexus 5 Original Android Development] franciscofranco:
My working branch is kk-mr1 which is exactly the state of r32. Then I started merging crazy commits so I branched to next. Then I rebased to a working tree to staging and thats what Ive been working on with the r33 test boot.imgs

Because Im lazy I dont push configs to git because I make them accessible from /proc/config.gz . you can also extract the config from a compiled boot.img by using script/extract-ikconfig or something like that.
[Nexus 5 Original Android Development] franciscofranco:
Of course you can, but I suggest dirty flashing your rom in-between, no need to wipe anything.
[Nexus 5 Original Android Development] italia0101:
Good to know, I keep hearing Franco changes ram disk / other stuff

Thanks for the clarification
[Nexus 5 Original Android Development] G8D:
I'm being dense.

Where is 'touch_boost duration' in FKU?
[Nexus 5 Original Android Development] Technecium:
cpu manager - governor control

Sent from AOSP koeMod 4.4.2 w/ Franco kernel
[Nexus 5 Original Android Development] G8D:
I thought it would be there but I don't see it. Unless it's bootpulse_duration, that's the only thing with a value of 350000.
[Nexus 5 Original Android Development] fbf2201:
I guess he means 'boostpulse_duration'
[Nexus 5 Original Android Development] big_adventure:
That's it - boostpulse is what happens when you touch the screen. Boost freq is the frequency it ramps to, and duration is how long it forces the phone to use that as a minimum.

---------- Post added at 01:01 PM ---------- Previous post was at 12:49 PM ----------

No way - I do use Lux to allow a lower minimum brightness, but I always have Lux on and controlling brightness for me automatically.

Turning stuff off that you don't use (freezing/deleting them) is the best way to stop runaway things from eating battery.

Once you control for things you never wanted running in the first place, honestly, signal strength is the biggest consistent factor I see, because it affects so many other things. Obviously, the phone will try to maintain a link, so if you are right on the verge of maintainable connection, or right between two towers, you will waste a ton of power cycling between 4G/3G/2G against multiple sites. Then, so many apps will try to both contact servers (so you need good mobile data or clean wifi) and use location (so you need some form of efficient location available), and they will keep trying if they don't get a reply. Bad coding can cause things like that to spiral out of control. For example, I use Uber for transportation from time to time. And for whatever reason, once I open that app, I need to manually go into Settings > Apps > Running and kill Uber, or it locks on and eats my battery. Just switching away or even swiping it out of recents does nothing - I need to manually kill the thing in Settings > Apps. I have forgotten and dropped from 70% to 25% in 5-6 hours without any other use of my phone.
[Nexus 5 Original Android Development] sirbanger:
Change the very last digit for white point.
[Nexus 5 Original Android Development] whitedragonz83:
I've been playing with stock kernel some after seeing the high RAM usage on test33r5. I feel like there could have been a memory leak before this version, even in r32 out earlier, and it wasn't until now it was exasperated enough to notice. My reason is on stock kernel my RAM used sits really low, very close to how it looks on first boot. I don't remember seeing this with recent Franco kernels. Anyone else see this too?
[Nexus 5 Original Android Development] franciscofranco:
Yes, its a bug with one of the latest CAF commits I merged... Its a test boot.img, bugs happen. Same thing is happening with the latest version of CM nightly with their Kernel. I couldnt find the culprit yet, been skimming through commits for a couple days already.
[Nexus 5 Original Android Development] tylerdurden83:
I think that what he meant to say is that it's not a r33 test problem only, but he has the mem leak even with previous versions like r32, altho not that severe as with r33 test. Maybe most of the people here havent noticed cause we reboot our phones often. I guess that he meant that the leak inducing merge isn't necessarely one that you did for r33 test, but an older one, which could also explain why you haven't found it yet.
[Nexus 5 Original Android Development] Moh_Jay:
From my experience I can say that's not the case. I hover around 1.1-.9 GB on r32 without rebooting for several days.
[Nexus 5 Original Android Development] Technecium:
SOLVED: The problem was I was using the wrong script to split.

Anyone know why I would get this error when splitting the the boot image?

kernel size: 6304328

Base (hex): 0x0

ramdisk size: 514897

ERROR: Base from ramdisk address does not match the one from kernel address. 26214400

second size: 0

ERROR: Base from tags address does not match the one from kernel address. 40894208

page size: 2048

product name:

cmdline: console=ttyHSL0,115200,n8 androidboot.hardware=hammerhead user_debug=31 msm_watchdog_v2.enable=1

File parts2/zImage written (length=6304328).

File parts2/ramdisk.gz written (length=514897).
[Nexus 5 Original Android Development] whitedragonz83:
This is stock. I'll watch it this weekend, but this is almost exactly like initial boot after 1 day.
[Nexus 5 Original Android Development] Smallsmx3:
It is? It never shows up on any battery monitor
[Nexus 5 Original Android Development] dastinger:
OK, I will try it again. Because I did that and I was pretty sure that the loaded profile was not the same as the saved profile.. Colors didn't look the same anyway. I'll try and report back.

Thanks

---------- Post added at 01:53 PM ---------- Previous post was at 01:47 PM ----------

Only saw this after replying to the other post. That did it! Thank you so much.
[Nexus 5 Original Android Development] Techimplant:
+1 ..I have the same apps installed as before when I was on stock..n now I am on r32..n the RAM consumption is definitely higher compared to stock..when I reboot it becomes normal again but by the end of day it goes significantly high..almost crosses 1gb..but on stock it hovered around 700 mb even if I didnt reboot my phone for like 3 days..
[Nexus 5 Original Android Development] Delacor:
My RAM is always about 500mb free, on 33 it is still the same but if you Listen to Spotify and browsing the web or play CandyCrush, Spotify is always being killed after some seconds. ..

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] franciscofranco:
Ok lets not be paranoid. There isnt any leak < r33 test boot.img. one thing is having 200mb free ram after 24h of usage, another thing is having 800mb/900mb free after 24h (r32). Theres ram to use for a reason.
[Nexus 5 Original Android Development] sirovai:
And once you have more 300mb free ram?
[Nexus 5 Original Android Development] Technecium:
Have you been able to pinpoint the leak? I know you mentioned it was to do with a recent commit but have you isolated it?

I got kmemleak rolled into t33v5, one option is kmemleak-test module. The last time I played with kernels, modules were located in /system/lib/modules/ and packed into the ramdisk and could be loaded with insmod. This has obviously changed. How would I get kmemleak-test.ko loaded?

I am doing this out of pure curiosity and because I have 2 more days off.

I have dumped some output if you want to take a look at it. I have to do some more reading up to figure out what it is exactly I'm looking at but if you know it may be helpful.

Sent from AOSP koeMod 4.4.2 w/ Franco kernel
[Nexus 5 Original Android Development] Techimplant:
Yup..thats what I thought..thats why never said anything earlier..I have no issues with r32..running perfect here..
[Nexus 5 Original Android Development] riDDimann:
Something is definitely going on. I flashed r33 16 hours ago and just now it killed the launcher. I don't think that has ever happened before.
[Nexus 5 Original Android Development] vomer:
it's a well known issue, the last 10 pages have been discussions about it
[Nexus 5 Original Android Development] Red5:
Im on r32 and my phone has been on for 4 days now. My RAM sits at 1.2GB used/671MB free. My phone is not laggy at all nor does it feel sluggish. Before 4 days ago, I had not rebooted my phone from the time r32 came out (what is that, like 3/4 weeks?). Maybe it does consume more ram than stock, but I was able to run multiple weeks without one reboot and it never killed apps, slowed down or lagged.
[Nexus 5 Original Android Development] vomer:
+1 - I think people are getting too paranoid about this RAM thing now. Yes r33 has a mem leak - franco is looking into it...

No need to start worrying about stock vs. custom ram usage... your phone has ram so it can be used... not left free ;)
[Nexus 5 Original Android Development] bobby janow:
I know, I wish I never heard of free RAM. It's become an obsession now. Every 60 seconds I'm checking free ram. And I'm on r32 also! It is a fascinating study in how the system uses memory and the apps that suck it up. It's almost like SQL server using every bit of memory it can find even if it's 96 GB. It only becomes a problem if the management is not there. Well maybe it's not so great an analogy at that.

Now why Google search and Chrome use hundreds of MB is beyond me. I don't even use those things often. After a reboot last night, finally, I had 1.1 GB free all through the night. I checked a few emails, XDA, and hangouts in the morning and it dropped to around 500 or so with Chrome the biggest memory hog and search a close second. Why would that happen?

Well anyway I have keep it cool and not look so much.. ok one more time but that's it. Back up to 703 free. I'll check in a minute again...:rolleyes:
[Nexus 5 Original Android Development] ben_pyett:
a reboot will fix it, as will flashing 32, or waiting until Franco had identified and fixed the cause the ram leak
[Nexus 5 Original Android Development] whitedragonz83:
Franco always says first thing "can you reproduce it on stock." What I am seeing (and still testing for a few more days) is that I can have more apps "cached" and available to use on Stock Kernel than Franco Kernel. This leads to more efficient use of memory.

I will point out that using r32 or lower, I was always able to run for days/weeks without things like Launcher reloading/etc, but I also always hovered between 800-1.2 GB of used RAM.

I do not have SuperSU or FKU installed at the moment. That is one difference I have going, but I don't know how this would alone make up the ~200MB RAM difference.

TL;DR

Franco r32 or under are fine with RAM

r33+ are the known buggy memory leak ones

Stock possibly (maybe doesn't) uses less RAM than Franco r32 and under
[Nexus 5 Original Android Development] MoJo:
Back to RAM consumption - I'm also on r32 since it was released and I never saw memory leak. I have not rebooted a week already, below is my screenshot.

P.S. I accidentally deleted picture, but I have around 1-1.1Gb free RAM all time.
[Nexus 5 Original Android Development] bigknowz:
Minfree

Maybe this discussion will help, you can tweak minfree values if you like. Start from the oldest post.
[Nexus 5 Original Android Development] go4saket:
Hello! I just brought a Nexus 5 and after unlocking bootloader, installing TWRP recovery and giving it root access, I tried to flash this Kernal via recovery. Since then my phone keep hanging on the Google boot screen itself. Have I done something wrong?
[Nexus 5 Original Android Development] whitedragonz83:
Not knowing if you ever were able to boot into your device, this would explain what happens possibly if you went straight down the flashing route immediately.

http://www.androidpolice.com/2013/1...locking-your-nexus-or-gpe-devices-bootloader/

If this is not the case, we probably need more information.
[Nexus 5 Original Android Development] Ajseter:
New Driver update came from Qualcomm, can you add those drivers to the kernel
[Nexus 5 Original Android Development] david279:
Oh my...?
[Nexus 5 Original Android Development] Technecium:
Those are not part of the kernel. They can't be added that way.

Sent from AOSP koeMod 4.4.2 w/ Franco kernel
[Nexus 5 Original Android Development] nobnut:
At least he spelt kernel correctly.

EDIT: I'm using the English 'spelt', rather than the predominantly American 'spelled' before someone calls me a name ;)
[Nexus 5 Original Android Development] sirovai:
Search kernel and driver with wikipedia

Hammerhead
[Nexus 5 Original Android Development] go4saket:
I did boot my device successfully after unlocking bootloader, again after flashing recovery and again after installing root. After all this I flashed this Kernal and got stuck at the google boot screen.
[Nexus 5 Original Android Development] sirovai:
Try to dirty-flash the rom and reboot. Then reflash franco.

Hammerhead
[Nexus 5 Original Android Development] david279:
Bad download...?
[Nexus 5 Original Android Development] go4saket:
How to we do a dirty flash?
[Nexus 5 Original Android Development] david279:
I just flash #32 using flashify. It let's you download the boot images right in the app. Booted up fine.
[Nexus 5 Original Android Development] sirovai:
Retry flashing it from cwm.

Inviato dal mio iPad utilizzando Tapatalk
[Nexus 5 Original Android Development] david279:
Did you mean to quote me?
[Nexus 5 Original Android Development] sirovai:
Yep. :)

Hammerhead
[Nexus 5 Original Android Development] david279:
OK I said I didn't have any issues. Flashed it in flashify. Booted up fine. ? OK.
[Nexus 5 Original Android Development] franciscofranco:
You gotta be kiddin' me... WHY do you ask for something you clearly have no frakking idea of what it is? I already wrote and I already explained, these are USERSPACE drivers, they have N O T H I N G to do with the Kernel in a sense that they ARE NOT Kernel drivers. I'm sorry and this is not to offend you, but these questions really grind my gears because not a single effort was made to search on XDA or even on Google. Have a good day.
[Nexus 5 Original Android Development] blueren:
Franco.. you should probably rename r32 as the latest r33 test and release it for now. :D The whole ram issue people are talking about should subside, while you try to work on the real issue :)
[Nexus 5 Original Android Development] jmartino5920:
^ROFL

Sent from my Nexus 5