yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Tzfardaya:
Meow

How else do you learn than by making mistakes, or learning from others mistakes...

(I tend to learn better from my own though)

And I don't keep the backups around... I make a backup, mess around with the files, if things keep working, delete the backup... if I bork the phone, restore from backup... try different changes...
[Nexus 5 Original Android Development] nseriessaga:
phone overheating and shutting off

Hi all. I been using Franco's kernel for awhile. I absolutely love the performance and battery has been good. However I recently started using the cast screen mirroring feature with a USB dongle similar to chromecast. When I stream sports and mirror it to my TV, my phone shuts off on its own after about 10min. The phone literally gets so hot that it shocks u a bit when u touch it. I realized after test runs that the phone although it gets warm, it doesn't get nearly as hot and doesn't ever shutoff even after watching hours of streams when using the stock kernel.

I have not touched any extra settings or anything. Just flashed the kernel. I'm using the cataclysm ROM.

Has anyone else experienced this, and is this something "fixable" while continuing to use the Franco kernel? Or do u think its just something expected and I should just use the stock kernel?

Thanks in advance.
[Nexus 5 Original Android Development] Tzfardaya:
run a per app module for your streaming app to limit the max clock speed, haven't found an app yet that NEEDS full clock....
[Nexus 5 Original Android Development] oediv:
hei guys

didnt knwo if this is kernel related but i didnt change rom since 3 week

just got something weird

i didnt do anything but sometimes su startss giving shell allow to do something but it didnt end the message didnt disappear and after some time i get a google error report

after a reboot everything works fine
[Nexus 5 Original Android Development] The Gingerbread Man:
Your right and that's the right attitude learning by your mistakes, I was just meaaimg around. I run stock rom and don't mess around with /system stuff. The only time I faced reboots was working out my voltages

---------- Post added at 09:57 PM ---------- Previous post was at 09:54 PM ----------

not only this is the best 2013 phone but will challenge 2014 models and any apps / games that co!e through this year. It won't need replacing for a long time
[Nexus 5 Original Android Development] Tzfardaya:
Well, not until the nexus 6 at least. :P
[Nexus 5 Original Android Development] iOSecure:
How were you able to score so high? Even when preventing thermal throttling I get ~27,000 on r23. Is that from the dalvik mod alone?
[Nexus 5 Original Android Development] ZacksBuilds:
I think I'm good for my 2 year plan :p

Device: Nexus 5 16GB

ROM: Cataclysm w/ Franco r28
[Nexus 5 Original Android Development] Martin-Doc:
Setting minfreq value for CPU 0 to 1GHz via Tasker app causes 3 cores to be online all the time with the minfreq of 1GHz. Is this a normal behavior or is it an unforseen consequence of Francos kernel magic?
[Nexus 5 Original Android Development] Tzfardaya:
I'd call it a bug... I just tested with tasker too, only with mine cores 0 and 1 were pinned to 1ghz, and cores 2 and 3 pinned at 1.5ghz, ending the tasker profile only reset core 0 to 300mhz min... 1, 2, 3 were still stuck high...

[MENTION=3292224]franciscofranco[/MENTION], you seen this?

although it's probably a glitch in the tasker logic..
[Nexus 5 Original Android Development] franciscofranco:
No...
[Nexus 5 Original Android Development] franciscofranco:
Hmm thanks for the report. I made the thermal throttle a bit more aggressive on the next release (r33), I think that won't happen again.

Good catch, I know why that happens and its on me because I prevent cores to be turned off if the current freq is above a certain level, in this case the threshold is 960MHz. I'll fix it, thanks.
[Nexus 5 Original Android Development] DryEagle:
Is there any kernel tweaks possible to help slimport/hdmi adapter? I got 2 from amazon and they work really badly, like, it will show on the tv for 2 seconds then static then black screen for 3 seconds then more static and 2 seconds image again, rinse repeat... it happens on both stock and FK so I know it's not FK's fault, i'm just wondering if maybe FK can improve this, or is it a problem with the TV? (on my 2nd tv with hdmi it doesn't even detect the signal at all)
[Nexus 5 Original Android Development] Tzfardaya:
sounds like bad adapters...

try to get replacements for the 2?
[Nexus 5 Original Android Development] occtec:
Yeah, pretty awesome score. No other mods, running stock ROM with Franco's awesome kernel with the bionic/dalvik mod. That's it :p
[Nexus 5 Original Android Development] nexusmaniac:
Hi Franco, is there any way that you could decrease the minimum brightness any more than it currently is? Thanks :)
[Nexus 5 Original Android Development] Enddo:
since you got them from amazon then it should be really really easy to get them returned/replaced
[Nexus 5 Original Android Development] mitchdickson:
Pretty sure you didn't read all of his post.
[Nexus 5 Original Android Development] franciscofranco:
Nope, its the minimum available.
[Nexus 5 Original Android Development] pbryson:
Where can I find [MENTION=1363323]vomer[/MENTION] settings?
[Nexus 5 Original Android Development] nexusmaniac:
Ok thanks :)
[Nexus 5 Original Android Development] Savant:
Use root dim makes the screen dimmer then ever before.
[Nexus 5 Original Android Development] nexusmaniac:
Cool, might give that a try :)
[Nexus 5 Original Android Development] Savant:
No problem it works since I've used it on multiple devices since it comes in handy when you need it.
[Nexus 5 Original Android Development] DryEagle:
Yes the 2nd one was a replacement for the 1st... going to send it back too, but I don't think it's twice the exact same hardware issue, it's either the phone or the tv, and I don't have more tv to test with, but I see on google many other people same problems...
[Nexus 5 Original Android Development] justibasa:
Great battery so far today. R32 best battery day I've had on this phone. Thanks Franco.
[Nexus 5 Original Android Development] vsot13:
In his signature;)

Sent from my Nexus 5
[Nexus 5 Original Android Development] aavvaallooss:
Not visible in Tapatalk. Just FYI
[Nexus 5 Original Android Development] vsot13:
Visible in browser

Sent from my Nexus 5
[Nexus 5 Original Android Development] Tzfardaya:
I'll be nice today....

Vomer's settings
[Nexus 5 Original Android Development] krazeecracker:
So just grabbed my nexus today, upgraded from the 4! Are vomers settings netting greater battery life than Franco's stock settings for gaming and tapatalk use?
[Nexus 5 Original Android Development] CDeviant:
Have you tried other HDMI Cables?

I had issues just like yours and thought it was the adapter, I unplugged my friends Xbox and used that and it worked.

You really should try as many cables as possible, it could be the adapter, but I think it's the HDMI.
[Nexus 5 Original Android Development] franciscofranco:
Probably better battery life for sure, but you won't get the same level of performance. My stock settings are balanced though, they don't compromise in either battery/performance, but are not the best if you want straight performance or straight battery life. Your device, your choice.
[Nexus 5 Original Android Development] vomer:
Basically what franco said below is right. Mine is focused more on battery life and is still good for casual gamers. If your main focus is gaming then stick to franco's stock settings :good:
[Nexus 5 Original Android Development] krazeecracker:
For the most part I do casual gaming here and there. Once in a while I'll tax the phone with asphalt 8 or mc4. I'll give your settings a shot and see what I can achieve.
[Nexus 5 Original Android Development] PainfulLover:
Also give lux auto brightness a try, I use it on n5 and n7. They have a free version, but you'll need a pro version to set negative brightness levels, yup you can go below 0 if you want.
[Nexus 5 Original Android Development] Bhonka:
Spoke too soon. Had some audio stutter while traveling underground.
[Nexus 5 Original Android Development] Tzfardaya:
I don't know those games, but from this thread I understand that they're a little on the heavy side spec wise.. so you may actually want to set per app modes for then to underclock the processor to resign in the battery usage... franco's settings actually allow the device to run longer in the higher frequencies than the stock kernel does, due to his throttling implementation, which drains the battery on heavy games at a rate 2-3 times that of the stock kernel...

with the heavy games I play I tested the stock kernel and found that it usually throttled very quickly and locked the max cpu freq at 1.2 or lower... so I built a per app for them to do the same...

---------- Post added at 07:27 PM ---------- Previous post was at 07:21 PM ----------

streaming or playing local?
[Nexus 5 Original Android Development] OptimusVDarwin:
If my GPU is in underclocked too 200 mhz is there a certain frequency my CPU should be at?
[Nexus 5 Original Android Development] Tzfardaya:
no, not really... if you're seeing lag or image stutters, try raising one or the other (cpu/gpu) to see if they go away...
[Nexus 5 Original Android Development] Bhonka:
Local
[Nexus 5 Original Android Development] DanP47:
Is making FKU a system app a good method of stopping the process from being killed when swiping away from recents?
[Nexus 5 Original Android Development] Tzfardaya:
it's my understanding that swiping from recents kills even system apps... but as always, I could be wrong... :P
[Nexus 5 Original Android Development] wrext0r:
Franco you push new releases way too often I'm not able to test them more than once :D

Right after release of r31 till today:

I'm just speechless...

Notice my crappy signal. Now imagine what could be possible under good conditions.

Going now to flash r32. I'll be back in a few days ;)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] ChazzMatt:
Yes, you are wrong. Swiping away recents is not a blunt process killer. Depends on how the app is coded. This is why you can swipe away gmail but still get new mail notifications.
[Nexus 5 Original Android Development] Tzfardaya:
oh? so fk.u would continue to run if installed as a system app? :P
[Nexus 5 Original Android Development] ChazzMatt:
Why do you want fku app to remain open all the time? Swiping away recent apps is for apps. It will kill some processes, but depends on how the app is coded. For the calculator, it will totally kill the calculator. For email, it will close the app, but you will still receive notifications. There's NOTHING in the fku app that depends on the app being open/running all the time.

Once the "set on boot" options are completed, you don't need any part of fku to run after that, do you?
[Nexus 5 Original Android Development] Tzfardaya:
because if you have per app modules set up, swiping away fk.u would prevent them from working... fk.u is an app.... fk.u = Franco Kernel Updater, an app used to tune the kernel...
[Nexus 5 Original Android Development] ChazzMatt:
NOT true. Once the "set on boot" options are completed, that's it. You swipe away the app, so what?

The app does not need to be open and running continuously. Many days, I never open the fku app. Why should I? I've already set everything up. Yet when I swipe away recents (if I never opened the app that day), and the fku app is never there. It doesn't just magically appear. But I still see that fku superuser "set on boot" process notification flashes on screen at the beginning of my session. So, the set on boot options have worked, even if I don't open the app.

Swiping away recent apps can save battery life, depending on the apps killed. No need to leave apps running in the background. It's not just about RAM.

___

Here, do an experiment. Reboot your phone. Do NOT open FKU. Just wait for the superuser on screen notificaton that fku has been granted privileges. (30 sceconds? 1 minute?) Then, go to recent apps. Do you see FKU? NO, you don't. All you'll see is "no recent apps".
[Nexus 5 Original Android Development] Tzfardaya:
per app mod's... not initial tunes...

fk.u is set up to make the initial tunes as soon as it receives the bootup complete signal from android... however, per app mods are tunes for specific applications... and need fk.u to be running in the background to trigger and clear....

if you have per app mods, launch fk.u and swipe it away, users have reported that their per apps no longer work.
[Nexus 5 Original Android Development] DanP47:
Yeah, I'm asking because I don't want the per-app modes service to be killed when I swipe away FKU. So back to my original question, would doing that work? What other effects are there of making an app a system app?
[Nexus 5 Original Android Development] Tzfardaya:
only advice I can give is "try it and see"

personally, I doubt it would work. I think fk.u would still be killed anyways, because it's not coded to stay resident like gmail is..

but try it and let us know.
[Nexus 5 Original Android Development] franciscofranco:
No. They are not correlated.

Dunno. Why is so important to kill FKU from recents? It doesn't do anything bad by leaving it there.

The Boot service is different, it doesn't stay open. It starts on boot, then when it finished its job it kills itself. PerAppModes is different. If there's no FKU process running the PerAppModes service won't work.
[Nexus 5 Original Android Development] ChazzMatt:
OK, I don't use that. I'm talking about the set on boot options for kernel.

Well, if gmail and other email apps like Yahoo can be coded to still do stuff when swiped away, so can FKU. Yahoo app isn't a "system app". Tapatalk isn't a system app. Again, depends on how it's coded.
[Nexus 5 Original Android Development] Tzfardaya:
we weren't... and take a look at boss mans post above yours... :P
[Nexus 5 Original Android Development] BrandoHD:
There's a bug in 4.4, swiping away apps will kill all its processes

Devs have been using work arounds to avoid their services being killed, some devs don't like that solution, so they don't use it

Other people use the per app modes and that needs the background service running at all times, hence why they shouldn't swipe it away on Recents

And Gmail doesn't have its own background mail checking service, it's part of Google services, so I don't know where you got that info from

Edit: blah.. it's been answered already

Sent from my Nexus 5
[Nexus 5 Original Android Development] DanP47:
I know it's not a big deal but I just prefer swiping away my apps when I'm done with them. Also makes the 'clear all recents' button on many ROMs a bit redundant.
[Nexus 5 Original Android Development] ChazzMatt:
That's NOT true and you know it. We still get gmail notifications, Yahoo notifications. I still get Tapatalk notifications even when I swipe it away. IF all processes were killed, that would stop. It depends on how the app is coded.

Swiping away recent apps used can save battery life, that's why we like it.
[Nexus 5 Original Android Development] DanP47:
He didn't say that you don't get notifications, just that Gmail doesn't have its own process; it's part of Google Play Services.
[Nexus 5 Original Android Development] Tzfardaya:
most of those apps tie into the google cloud messaging system, or other system notifiers to receive notifications even before they've been launched....
[Nexus 5 Original Android Development] ChazzMatt:
and I specifically said yahoo and tapatalk. So there. Forget gmail. Swiping away apps do NOT always kill all processes. Depends on how the app is coded. I'll say it a thousand more times if I have to. Swiping away apps is not a blunt process killer.
[Nexus 5 Original Android Development] yiwsg:
Exactly, those things coded in the way they will sync with server from time to time if the "Sync" is turned on in the system. Its the system itself triger the sync process.

You think FKU running a pushed in services behind like email app?

Sent from my Nexus 5
[Nexus 5 Original Android Development] ChazzMatt:
There are many other apps I can name, where all processes are not killed. Depend on how the app is coded. Depends on how the app is coded. Depends on how the app is coded.
[Nexus 5 Original Android Development] BrandoHD:
You should do some reading, and you can start here: https://groups.google.com/forum/m/#!topic/android-developers/LtmA9xbrD5A

Other simple Google searches would also lead you to more reading

Sent from my Nexus 5
[Nexus 5 Original Android Development] ChazzMatt:
OK, just read it. Yes, there is a bug with a dev workaround.

I don't care. I still swipe away recents. None of the stuff I care about is being killed.

But swiping away recents -- WHICH GOOGLE PUT INTO ANDROID AND KEPT IN KITKAT -- is supposed to kill app but not all processes if a an app is coded a certain way. Google put it there for a reason and kept it there even in KitKat and on the Nexus 5.
[Nexus 5 Original Android Development] DanP47:
To be honest I have no idea what you wrote, you keep editing it.

This is going way OT. Can anyone give me a definitive answer on whether making an app a system app prevent the process from being killed when swiping away? Only reason I'm asking is because I saw someone say that in another thread.
[Nexus 5 Original Android Development] Tzfardaya:
given the areguments it started, all I can say is give it a try and report back to us if it works or not.

---------- Post added at 08:50 PM ---------- Previous post was at 08:47 PM ----------

Chazz, looks like fk.u isn't coded to stay resident... besides, a messaging system receiving notifications from the system is different than an app making changes to the system...
[Nexus 5 Original Android Development] DanP47:
I think I will, but I was also just checking if there were any other effects of moving an app into system.
[Nexus 5 Original Android Development] Tzfardaya:
none that I've stumbled across... but, as we've already seen today, I can be wrong.. :P so, let us know what happens....
[Nexus 5 Original Android Development] DanP47:
Don't know if I can now :(. It says in the description of one of the apps that do this that it doesn't work for paid apps because they're encrypted.
[Nexus 5 Original Android Development] BrandoHD:
If the app is using a background process, chances are it will be killed when you swipe it away, Gmail and yahoo are different, Gmail is part of Google services, you can't kill that without adverse effects on your phone, and either way, Google's C2DM is always running, and yahoo has a process and a separate push service (most messaging/mail apps work this way) , when you swipe away yahoo, the process is killed, the push service isn't, hence the reason that mail would still be received

The best thing to do is to NOT swipe it away from Recents, it isn't worth it anyway (Franco's app isn't a messaging or mail app)

Sent from my Nexus 5
[Nexus 5 Original Android Development] DanP47:
OK never mind, managed to convert it using Titanium but the process is still killed. Case closed.
[Nexus 5 Original Android Development] Tzfardaya:
I thought that would be the case, but I'm glad you checked and now we know for certain.
[Nexus 5 Original Android Development] yiwsg:
I think if Franco add a persistent notification can prevent the FKU services being killed from background even you swipe it away from recent.

Just like Tasker =)

Sent from my Nexus 5
[Nexus 5 Original Android Development] franciscofranco:
Sigh... I already explained how it works:

App process A starts;

Service from process A starts and its now a child of process A;

User swipe App process A from recents;

process A is killed, service as a child of process A is also killed;

App process B starts;

Service that is part of the App starts itself in a different process C;

user swipes App process B from recents;

process B is killed, service is on process C so it stays alive but if the service needs data from process B's app it will be a problem so it all depends on this mechanism was coded from the developer.
[Nexus 5 Original Android Development] franciscofranco:
I don't like it, its hacky and I'm sure some users will hate it. I don't care if users swipe FKU from recents, I cannot prevent users from doing bad Android practices. Force closing background apps that are just sleeping is a VERY BAD PRACTICE and it does more harm than good.

And now I'm going to sleep.
[Nexus 5 Original Android Development] Enddo:
i would rather not have an icon(transparent or not) in my status bar the whole time
[Nexus 5 Original Android Development] ReD_AvEnGeR:
Wow, dont need a Charger anymore... 1 Day uptime and I have 68% battery... 1 hour Calls + gaming.. Thank you franco!
[Nexus 5 Original Android Development] Jeremy:
Enjoy your deep sleep.
[Nexus 5 Original Android Development] vomer:
There might be some wakelocks which will clearly be caused by the new kernel lol

Sent from my Nexus 7
[Nexus 5 Original Android Development] whytechapel_x:
Earlier I said how according to fku my phone was charging at 1% every ten seconds. Now it says it charges 1% very minute and 42 seconds. But I still feel it charges too fast.
[Nexus 5 Original Android Development] 1337RYoN:
Is the FKU app worth it? I won't be using Nexus 5+ Franco kernel all the way so I'm not sure if it'll work on other kernels.
[Nexus 5 Original Android Development] thucoisao:
Thanks a lot man. i'm enjoy more than 1 day and about 5hrs SOT on battery now.:good:
[Nexus 5 Original Android Development] 1stx2:
FKU is worth it and then some. One of the best purchased apps I have. Its the best kernel to put on any nexus device IMO. From my understanding FKU will work with most other kernels just not all the settings.
[Nexus 5 Original Android Development] omigosh:
Happened again on R32, it was until then i wasn't sure how to adb shell cat /proc/kmsg during the bootloop as i'm unable to access shell on the phone via adb while its on bootloop :(

Anyway heres the cat /proc/kmsg on the next normal boot, i hope theres something useful in it :crying:

omg i forgot i could have entered bootloader and do it :crying:
[Nexus 5 Original Android Development] Pumå:
Every time I reboot or turn off my device, all Kernel settings are set to default. Is that how it is supposed to be or an issue? Whatever it is, how can I permanently keep my settings?
[Nexus 5 Original Android Development] nic025:
Tick set on boot. Looks like checkbox with + sign inside.
[Nexus 5 Original Android Development] OptimusVDarwin:
How come I can't restore this backup that I did through the "Orange backup" app (this is a screenie of the files inside the backup folder) and why are they .tar files? Is there any way I can restore them?
[Nexus 5 Original Android Development] Pumå:
I don't find a setting like that on FK
[Nexus 5 Original Android Development] Jeremy:
restore them with orange backup app
[Nexus 5 Original Android Development] OptimusVDarwin:
I can't, it gives me this
[Nexus 5 Original Android Development] alcurtis93:
Anyone use and find beneficial the Qualcomm battery guru app?
[Nexus 5 Original Android Development] Shano56:
No its not. Read the rules.
[Nexus 5 Original Android Development] Zainiak:
Allow the revolution to begin!
[Nexus 5 Original Android Development] Primokorn:
[Off Topic]

5) Don't ask for an ETA (Estimated Time of Arrival):

Asking for an ETA is the XDA equivalent of telling a Developer that the free work they do just isn't enough for you. It usually comes across as rude and/or demanding, and most developers will take offense to it. Even if a particular Developer doesn't mind being asked for an ETA, there are many that do, and there's a good possibility that it will incite arguments in the forum. In the end, it's just best to avoid doing it altogether. If you have no other choice but to ask for an ETA (i.e. the work you're doing absolutely depends on it), then please, do it through a private message and keep it out of the public forums.

[/Off Topic]

via