yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] HikingMoose:
Ok. I appended another statement to that post right after I hit send. Haha. I was just asking if there was any thoughts of offering more than performance, balanced (stock) and power save. It's hard to imagine 3 profiles will cover ask users. That's all I was getting at. Intermediates might be welcomed.

I'm going to stick with my own personal settings I've been honing for a while. I'm just brainstorming. Don't take it the wrong way.
[Nexus 6P Android Development] crixley:
SOT drain is way less with this than EX, but I get quite a bit less deep sleep time. I can't win apparently :/ Great kernel though, super smooth.
[Nexus 6P Android Development] kantjer:
You can make use of the CPU profiles in the recent kernel builds without the not yet released Spectrum app.

It's easy to set the profile using the command line and use for example Tasker to set the desired CPU profile.

For example I use performance when my phone is connected to external power, balance on battery >20% and battery mode on battery <20%

Execute the below commands with root access:

# Balance
setprop persist.spectrum.profile 0

# Performance
setprop persist.spectrum.profile 1

# Battery
setprop persist.spectrum.profile 2

# Gaming
setprop persist.spectrum.profile 3
[Nexus 6P Android Development] sengab1991:
How to make event in tasker to check if battery percentage less than 20%
[Nexus 6P Android Development] adame09:
Nice find!
[Nexus 6P Android Development] sengab1991:
Thanks, last question how to be sure that the profile is applied ?
[Nexus 6P Android Development] kantjer:
Without the Spectrum app you can for example check the CPU gov used, balance uses Flash and performance interactive.

When you have the Spectrum app it will nicely show the profile set by Tasker
[Nexus 6P Android Development] sengab1991:
I have forced tasker to run the task and the performance profile didn't have flash as CPU GOV, I downloaded terminal and tried to apply the command in the terminal and also nothing changed.
[Nexus 6P Android Development] kantjer:
Read my post again
[Nexus 6P Android Development] Bobbaloo:
Get Naptime. It will force doze when screen off
[Nexus 6P Android Development] crixley:
I've been trying to stop using those apps, I got rid of greenify too. I'll try it though thank you!

---------- Post added at 03:09 AM ---------- Previous post was at 02:15 AM ----------

I can already see a huge difference, been tracking with wakelock detector. Thanks man
[Nexus 6P Android Development] Bobbaloo:
It seems like I always come back to the flash. Super smooth, yes. Reliable, consistent, versatile.......!
[Nexus 6P Android Development] HikingMoose:
Brown noser ?. ?
[Nexus 6P Android Development] Bobbaloo:
HardeeHarHar! YOU know I speak nothing but the truth AND I've tried the lot of them
[Nexus 6P Android Development] crixley:
I removed naptime, and removed all mods, leaving your kernel with your original settings. My wakelocks are now at 4% :eek: That is the lowest they've ever been!
[Nexus 6P Android Development] chopt51:
Got a question. Just flashed this on Nitrogen. 1 out of 10 times when I turn the phone back on it is very dim. Till I turn off and back on. Did a search and could not find the same issue. No other mods. Any one else see that
[Nexus 6P Android Development] Quie2TP:
For some reason I can't download. Sends me to a link that says it isn't reachable.
[Nexus 6P Android Development] Shockz:
Backlight dimmer is enabled by default I believe, maybe try turning it off in EX manager?
[Nexus 6P Android Development] Phazmos:
Have had this on nitrogen for a while, never saw this happen.
[Nexus 6P Android Development] nathanchance:
It's a 7.1.2 issue, it didn't start until then.

Site is still working for me.
[Nexus 6P Android Development] Quie2TP:
Hmm, I'll try another way, I'm on cortex and can't get to it on phone.
[Nexus 6P Android Development] HikingMoose:
How do you looked cortex? Does it have hold back to kill and volume controls fir media? I've asked a couple times, but everyone in that thread is a tool and they ignore it.
[Nexus 6P Android Development] Relentless D:
At the risk of derailing this thread a bit, why don't you just make a nandroid, flash it and find out? In the time it took you to post your posts and wait you could have either completely set up cortex and loved it or saw that it was missing the features you want and restore your nandroid.
[Nexus 6P Android Development] Prey521:
After experiencing GPS/Compass issues with Flash last year, I switched to EX.....am back now to see if the issues have been resolved. I'll give it a go this afternoon on my commute home.
[Nexus 6P Android Development] xSilas43:
i havent experienced any.
[Nexus 6P Android Development] Prey521:
I did, I posted about it here and could replicate the issues time and time again. Hopefully I don't see those same problems this afternoon.

Also, would I get all of the features of this kernel without having EX Kernel Manager installed? I do have it, but wanted to try this ROM without it to see how it would behave.

Thanks
[Nexus 6P Android Development] komidzo:
Short answer, yes. The setup is great right out of the box.
[Nexus 6P Android Development] Prey521:
OK, thanks!
[Nexus 6P Android Development] HikingMoose:
Thanks for the helpful post. I don't like nandroids, because after restoring one, the phone never feels quite the same. Either stability-wise, or smoothness, or something else, it always feels off. So I always clean flash. So taking an hour of my time away from my family to do that seems like a waste, when someone could just tell me if it has those two features. I've asked in the thread and as well as other people, and it just gets ignored, and the OP doesn't list what he has in it.

I miss the good old days when developers used to have a features list that they maintained, but only a couple still do that now.
[Nexus 6P Android Development] DorianX:
Thais is last battery cycle.

I'm pretty happy with this Kernel, thanks [MENTION=6842057]The Flash[/MENTION]

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Android Development] captainphoenixx:
Any chance this will work with​ O preview?
[Nexus 6P Android Development] urphonesux:
I love this kernel but I definitely miss temperature throttling the CPU. Just got into toram online and my phone gets HOT. The game is known to cause that but I would like to try to fight it
[Nexus 6P Android Development] nathanchance:
Turn on core control and lower the temperature threshold. Performance will probably suffer but the phone should stay cool.
[Nexus 6P Android Development] nathanchance:
Most likely not and I am not interested in supporting the developer preview at the moment
[Nexus 6P Android Development] shadowstep:
Apologies for the slight OT, [MENTION=6842057]The Flash[/MENTION], but I just want to know is there a way I could customize the Dynamic GApps flashable zip? I like to run extremely lean and there are some apps I don't want installed. Therefore, I've always used Open-GApps because I could customize them to my liking, but since the setup wizard has to be updated in Open-GApps as currently, the one that is present is crashing if flashed on 7.1.2, I am willing to use the Dynamic GApps (which [MENTION=4395895]BeansTown106[/MENTION] is handling) provided I can customize what I want installed. Thanks in advance!
[Nexus 6P Android Development] nathanchance:
We don't really have anything like Open GApps' .gapps-config file. You could open the zip, remove the apps you don't want from the folders and the updater-script/update-binary, then rezip but that's about it.

I've let Open know but who knows when they will do anything about it. I use them to inline GApps into my ROM and I had to override their Setup Wizard with one from the factory images in my vendor so I want it updated as well lol.
[Nexus 6P Android Development] shadowstep:
Yeah, that's what I was eventually planning on doing, but I still asked first, just in case. Thanks though! And yes, I saw your post in Open's thread as well. That was after I got FC'ed after clean flashing the new DU update, unfortunately. :p Nonetheless, I'll try editing the zip and see how it works out. Hoping Open updates the their zips soon.. not even sure if their webview patch is working too. :silly:
[Nexus 6P Android Development] HikingMoose:
I use Zarchiver from the play store to open zips and delete stuff right from my phone (eliminates any chance of file corruption when transferring back to and from PCs. It is easy to use and it auto zips them back up, just just select everything you want removed, and let it do it's work. Then flash away.
[Nexus 6P Android Development] Bobbaloo:
Thanks mooooooose!
[Nexus 6P Android Development] TheGeekyNimrod:
New to the Nexus 6P after using a Nexus 6 for the last few years. Picked up this kernel to try out because it has one of my favorite governors in it. My question is this: Do governors for the 6P turn off cores that don't need to be used? Or does this device keep the cores on and just at the minimum frequency?
[Nexus 6P Android Development] nathanchance:
The latter.
[Nexus 6P Android Development] TheGeekyNimrod:
Thanks. Definitely not a deal breaker for me, I just didn't know. Literally had this phone for all of 24 hours now. Kernel seems to be working great though and I'm pleased to see that battery life seems to be great compared to the N6. Think I'll just stick with yours and not even worry about testing another kernel at this point.
[Nexus 6P Android Development] Quie2TP:
What kernel manager is the best to use for this kernel? Thanks in advance. I need to get high brightness going.
[Nexus 6P Android Development] xSilas43:
Elemental X Kernel Manager aka EXKM, is by far the best.
[Nexus 6P Android Development] :
yes! excelent app updated regularly, worth the price
[Nexus 6P Android Development] king_david43:
It didn't have any of those features it's a stock based rom so it's similar to stock. However it did have support for f2fs and the pixel goodies.
[Nexus 6P Android Development] :
[MENTION=6842057]The Flash[/MENTION] since a few versions (a month or so, maybe since your clean)

the setting "swipe to wake" doesn't survive a reboot (yes i checked the blue button)

I flash all versions of your kernel since the beginning and never encountered this problem before

It's annoying because after each reboot i need to set the S2W setting again in EXKM
[Nexus 6P Android Development] Shockz:
You can apply the gestures directly to the kernel. I followed these steps. (Only copy the gestures from the file into the current init.flash.rc) https://xdaforums.com/nexus-6p/development/kernel-ninja-kernel-v1-0-t3437247/post69556516
[Nexus 6P Android Development] kantjer:
That is not something I would advise, doing that you will also load a very old profile.

Just extract ramdisk/init.flash.rc from the current kernel.zip, and add the low code after "import /init.profiles.rc"

on boot
# Enable sweep to wake in up and down
chown root root /sys/android_touch/sweep2wake
chmod 666 /sys/android_touch/sweep2wake
write /sys/android_touch/sweep2wake 12
chmod 644 /sys/android_touch/sweep2wake

zip, and flash
[Nexus 6P Android Development] Shockz:
Oh yeah for sure, I only copied the relevant settings for the gestures.
[Nexus 6P Android Development] shadowstep:
Agree with [MENTION=3306843]kantjer[/MENTION], please see his post below. The steps were okay at the time when I made the post because I was using the init.flash.rc file from the latest release of the kernel. However, if someone uses the attached init.flash.rc file now, with the latest release of the kernel, it might lead to certain incompatibilities/features not working. :)

Just follow the steps below and you should be golden:
[Nexus 6P Android Development] aostrom:
Why not install then kill the unwanted apps?

Although I can understand why this would be spiffy, I can't see why it's difficult to install Dynamic GApps and then just blow away what you don't want using TiBu or some other mechanism. I know it's a little bit of extra work, but not really hard to end up with the solution you desire. Am I missing something - I wouldn't be surprised if i was, this is a serious question, not a rhetorical one.

Andy
[Nexus 6P Android Development] shadowstep:
Hey Andy! Of course that can be done easily, it hardly qualifies as extra work to be honest. It's just that if I'm not looking to install, for example, Google Dialer, so then I don't want the dialer framework/libraries required to be installed or copied to the system for the app to run fine as well.

The problem with the approach you mentioned would just be this - I'll manually delete the relevant apks from /system/app and /system/priv-app but their additional frameworks/libraries will still be present, which I don't want. So that's why I use Open-GApps which allows me to customize my installation as per my needs.

I hope this answers your question.
[Nexus 6P Android Development] aostrom:
Thanks for the explanation...

It does answer the question, thank you very much. I am far from a Unix/Linux/Android expert (my background is PDP-11, VAX/VMS, Windows, and TCP/IP), so I was GUESSING it was something like this. It seems to me that the o/s should only load the needed libraries into memory as they're referenced, so although you would consume some extra storage space it really shouldn't impact RAM usage or CPU cycles. Does Linux/Android load all the modules even if they're not called?
[Nexus 6P Android Development] HikingMoose:
I'm with ya man. I prefer open gapps aroma so I can install exactly what I want, and remove what I don't want. My phone always runs so clean with them. And everything I want is installed as a system app, instead of data, which (I think) is better for stability and speed.
[Nexus 6P Android Development] JRJ442:
It's installed as a system app until there's an update on the Play Store. Once that happens, the new version is in data/apps and that version is used. So then you just have one in system/apps chillin, not being used. Unless you uninstall updates and then flash a new GApps package every time one updates.
[Nexus 6P Android Development] shadowstep:
Well, then we're both in the same boat, lol. I'm not a technically qualified expert, just more of a self-learned android enthusiast. :p Regarding your question, I don't think the libraries/frameworks are used unless and until the relevant module that is dependant on them runs and since that module is what I don't have installed, they're just sitting there, utilizing space. Although I have ample of space in my phone, but I'd still like to run as lean as possible. Again, I might be wrong and those libraries/frameworks might be running somewhere in the background, but I highly doubt that. :)

I actually use the pico variant (which is also stripped down to the absolute minimum using a .gapps-config file), as I like to run as lean as possible. All the other google apps that I require, I install them via the playstore, because of the reason below:
[Nexus 6P Android Development] Mendrake:
Thanks for this, I was encountering the same issue last time I used Flash kernel and didn't know about this workaround.

One other issue I have is that whenever I enable touchboost through EXKM it doesn't actually work. Inputboost works fine but I prefer the smoothness of touchboost. Anyone else have this problem? Would enabling it inside init.flash.rc solve this issue aswell?
[Nexus 6P Android Development] shadowstep:
I just tried it and it's working fine for me. I can see the frequency getting boosted as soon as I touch the screen, and if I set it on boot, it survives a reboot too.

If you're having trouble, you can definitely try enabling it inside the init.flash.rc file by setting the value of /sys/module/msm_performance/parameters/touchboost to 1. :)
[Nexus 6P Android Development] Mendrake:
Ok thanks. I'll try it one more time through EXKM and if that fails I'll do it through init.flash.rc :)
[Nexus 6P Android Development] HikingMoose:
Are you serious? I've wasted so much time and space in my device is that's true! Lol. It does appear to be true, I just checked my data/apps and found Google apps in there. Sunnova.

I guess I'm going back to pico like I used to use up until this January. I'm thinking long and hard about trying microG instead of Google apps. You guys know much about those, you can pm me if you do (so we don't clutter up the thread).
[Nexus 6P Android Development] Prey521:
I've been using the GPS for a few days now on Flash and I'm happy to report that it's been working great!!! Only issue I see so far is that Swipe2Wake doesn't work consistently, but I think that I saw someone post a fix for that earlier, so I'll give that a shot.
[Nexus 6P Android Development] luigidk:
What I s GPS
[Nexus 6P Android Development] komidzo:
#1. If you're asking what GPS is, then http://bfy.tw/BAeQ.

#2. Because I don't want to come across as too ornery, GPS is global positioning satellite. Also known as 'location' in Android settings.

#3. Please click on the link in #1.
[Nexus 6P Android Development] drewski_1:
There's so much extra space in /system. I flash Open Gapps Super, with some pruning and still have 1.3GB left in /system

By using Pico you're wasting space in /data
[Nexus 6P Android Development] aostrom:
Assuming this is true, I think you're paying no penalty if you use Dynamic GApps and remove the unwanted ones. My understanding (correct me if I'm wrong) is that the /system partition is a fixed size determined when it is formatted. I unzipped the Dynamic Gapps Full package (latest); the unzipped package was 877MB. But after I deleted all the .APKs (all this on a PC) there were 53.9MB of files left, most of the space consumed by libraries. The frameworks and .sh files for individual apps are really, really small. It strikes me that this passion for "running lean" really is just that, a passion, and that it has zero impact on the actual functioning of the phone, since even if you reclaim that space you can't use it for anything. Looking at my useage of /system and /data it looks like I'd be a lot better off if I could move MORE apps into /system, I've got 1.7GB free there.
[Nexus 6P Android Development] shadowstep:
I truly appreciate you taking out time to do all the analysis that you did. I've done this before as well, and I know that the space consumed by the frameworks/libraries/support files is meagre. You're correct in calling it just a passion, I, on the other hand, call is OCD. ;) I've never asked anyone else to replicate my setup, or run as lean as me; it's a personal choice. :)

Having or not having just 53.9 MB of data won't certainly make a difference to the actual functioning of the phone, as you rightly pointed out, but I'd still prefer to not have this 53.9 MB of data. Also, moving an app to the /system partition (and thereby making it a system app) has a con, which is:

I, personally, don't see a sense in that, but, to each, his own. :)
[Nexus 6P Android Development] luigidk:
Was more a question of acronym usage. Thx for clarifying
[Nexus 6P Android Development] murphyjasonc:
I'm curious about this myself. I've always thought that when a system app was updated just the update portion of the app was installed in the data/apps with the main file still being used in system/apps. TIBU has an option to integrate the updates to the system as well but I haven't been able to get that to work since Nougat. I'm not an expert by any means so please correct me if i'm wrong.
[Nexus 6P Android Development] shadowstep:
I'm not sure if it's the complete app stored in /system and the new updated complete app stored in /data or if it's complete app stored in /system and just the updated bit stored in /data. Maybe [MENTION=3520986]JRJ442[/MENTION] knows, as it was his original post I quoted.
[Nexus 6P Android Development] jhs39:
I actually think it works the same way as you describe. I used to use one of those app2sd apps on an old phone without a lot of storage and when I looked at storage for an updated system app it would still show part of the app in the system partition and part of the app on the external sd card.
[Nexus 6P Android Development] JRJ442:
Judging by the file size comparison I'd say it's a full updated app. Majority of the ones I looked at were actually a little larger than the system/app or priv-app version that came packed in the ROM. Velvet (Google App) for instance is around 36MB in System/Priv-Apps. After it updated on the Play Store there's a googlequicksearchbox app in data/apps almost 50MB. Same for Hangouts and and Android Messages in data/apps when they update, they're a bit larger. I've always been under the impression it installs the complete app in data/apps once it updates. I think I've seen mention of it from themers like in the TBO thread way back when. But I haven't actually done any type of hard research on it. So I might be wrong.
[Nexus 6P Android Development] drewski_1:
I just don't install the Play Store updates and wait for an update to GApps and never have duplicates of apps in /data

---------- Post added at 10:25 AM ---------- Previous post was at 10:18 AM ----------

it's the complete new version in /data/app

the Play Store "update" process is not sophisticated enough to sort out what you already have and just apply incremental
[Nexus 6P Android Development] HikingMoose:
I think I'll start doing the same, because I suspect an app would function better as a system app, than a data app. But I could be wrong.

That might be part of why, over time, phones performance diminishes after a clean flash and all of your gapps in system. After a week or two, all of your google apps and your play services and framework, become data apps. That in combination with caches filling up, and small errors and fragments forming probably cause the performance decrease.
[Nexus 6P Android Development] jhs39:
A system app can have higher privleges than a user app within the Android programming hierarchy but a system app is still considered a system app after it gets updated from the Play Store. I've never noticed Android system apps getting slower because they got updated by the Play Store. There also isn't any perceptible difference between how quickly a system app and a user app opens or works. Android was designed so the system apps could be updated without causing any issues. I'm not a programmer but I think you are looking at the difference between system and user apps wrong.
[Nexus 6P Android Development] HikingMoose:
I might be. But please feel free to run your own phone how you feel appropriate.

Like I said, it was a thought.
[Nexus 6P Android Development] shadowstep:
Yes, even I did a little bit of research at my end and it seems that's the way it is. Thanks for your inputs nonetheless!

Actually, from what I've read over time, that doesn't seem to be true. What [MENTION=6990243]jhs39[/MENTION] said is true. Just because an app is a system app, it won't function better. The only thing that it can do is run in a privileged environment. I remember reading a discussion around this very recently in one of the G+ communities as well that I follow.

Additionally, I'm with you on not wanting to have duplicate apps on the phone, one sitting in the /system partition and the other in /data. A workaround to that can be in two ways; one, that you plan to follow, which is not to update the apps from the PlayStore and flash new GApps whenever they are released so that the update apps stay in the /system partition only, and two, that I plan to follow, which is not to install these apps by flashing the GApps package, so that they are installed by the PlayStore on in the /data partition and can be auto-updated without the requirement of me disabling their auto-update from the PlayStore and then manually rebooting to recovery to flash an updated GApps package.

Both of these would have the same end result, eliminate having duplicate apps.