yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] wklie:
When I upgraded to 18 & 19.1 from 17, I noticed decreased app drawer UI smoothness that I could not fix by reflashing ROM or changing the sampling rate.

Upgrading to 22 the smoothness is back to normal :good:
[Nexus 5 Original Android Development] xmlnoob:
Thank you for the quick update, but i got boot loop after installing .22

using default kernel setting except, UV700, dt2w, fast charge, no max off screen freq.
[Nexus 5 Original Android Development] Karmavore:
I did not get a boot loop on .22. But it may be your undervolting.
[Nexus 5 Original Android Development] xmlnoob:
Was using UV700 since 0.18.
[Nexus 5 Original Android Development] drawde40599:
I'm using the same 700 , no bootloop installed just fine .
[Nexus 5 Original Android Development] occtec:
Like this I gather?
[Nexus 5 Original Android Development] magnamentis:
:good:
[Nexus 5 Original Android Development] galakanokis:
I have my headphone gain set to 4 at the moment and that is to match volumes when my phone volume is full and plugged into my car to the CD/radio. I do not get any distortion until 7 or 8 on the gain. Haven't tested headphones in awhile though.
[Nexus 5 Original Android Development] xmaciek82x:
Hi flar2. I was out of the country and couldn't give you an update. I purchased EXKM, didn't realize it was an ElementalX product, but no matter what I do with the gain, I get static all the time. It happens only when using other audio mods. I'm starting to assume it has something to do with Faux Sound mod? The only other Kernel I don't get this issue with is Blu_Spark (aside from stock obviously) because I don't think Blu_spark uses Faux Audio mods. I don't own cheap headphones either, and my current headphones worked flawlessly on Nexus 4 with the same V4A and Atmos mods.

Is there an "easy" way I can remove Faux Audio mods from your kernel. I'm no developer but can make basic file changes, etc.
[Nexus 5 Original Android Development] yanleites:
[MENTION=4684315]flar2[/MENTION],

After flashing SuperSU 2.67 the kernel goes back to 6.07.

I flashed few times, and it always rolls back from 6.10 to 6.07. I flash the 6.10 after SU it's not a problem.

Just wanted to let you know.
[Nexus 5 Original Android Development] RusherDude:
Anyone else is having a problem where the camera gesture is always resetted to "disabled" after every boot, even if the set on boot option is enabled or not? Using SuperSu 2.62
[Nexus 5 Original Android Development] flar2:
SuperSU restores a backup if it detects an already rooted Kernel. I'm not sure why chainfire did it like that, but that's the way it is.

You can just flash ElementalX again after SuperSU.
[Nexus 5 Original Android Development] yanleites:
Yes, I flashed again, but I just wanted other users to pay attention...
[Nexus 5 Original Android Development] grep_i:
When I updated Supersu the stock kernel was installed.
[Nexus 5 Original Android Development] nathanchance:
Right. When SuperSU first patches your kernel, it backs up the unpatched version of the current and stores it. If it ever detects that the kernel is already patched, it restores that unpatched kernel then patches it, which will overwrite anything you have flashed before it. This will happen every SuperSU update, which is why flar2 always says flash SuperSU first then flash EX.
[Nexus 5 Original Android Development] lost020282:
1.i get force closes when i play asphalt 8 airborne mpe...can this be because i had on the cpu tuner optimization?enlarger or light seeder will help me better.because i have lags with both.

2.sorry if i make this irrelevant question here but i have a nexus 5 with M89774A-.2.0.50.2.27 and MMB29S version. i think this bootloader is from an older version.so i found this...https://www.androidfilehost.com/?w=...3dc6130a8e7d1a49cb98d82d8fd461f02148894b73b4f

this is i think a bootloader for my current version...or?am i mistaken?

if i flash this will i have a problem .how one should flash a new bootloader and radio?i am total noob!
[Nexus 5 Original Android Development] magnamentis:
this is not a bootloader number, it't the radio and the latest ist: radio-hammerhead-m8974a-2.0.50.2.28 while it does not matter really, radios are compatible and updating is not mandatory while the bootloader has to be updated sometimes.

latest bootloader is: bootloader-hammerhead-hhz12k and if you have an incompatible one most probably the device wouldn't even boot.
[Nexus 5 Original Android Development] grep_i:
Does this mean that now I flashed the kernel again this will not happen the next time I update Supersu, this didn't happen before this version.
[Nexus 5 Original Android Development] nathanchance:
It will happen every time you update SuperSU. It has happened since SuperSU 2.61. Just flash EX after you update SuperSU.
[Nexus 5 Original Android Development] grep_i:
OK will keep this in mind
[Nexus 5 Original Android Development] PhilipTD:
I hear that SuperSU 2.67 is out. I flash it. Why? Because it's there. And, as soon as it's done, EX Kernel Manager pops up and reminds me to update the kernel. How convenient is that? Thanks [MENTION=4684315]flar2[/MENTION]!
[Nexus 5 Original Android Development] lost020282:
so can i flash this zip from the link instantly on the phone and nothing will be damaged?is the bootloader of this link the latest?if not can u send me a link?
[Nexus 5 Original Android Development] magnamentis:
that link doesn't open any page for me, sorry, you should follow this path which makes you independent of other peoples work in the future:

a) download latest google factory image from here: https://developers.google.com/android/nexus/images

b) extract the "bootloader-hammerhead-hhz12k.img", the "system.img", the "boot.img" and the "radio-hammerhead-m8974a-2.0.50.2.28.img" into a folder on your computer wich you can name as you like, mine's name is "hammerhead" "shamu" etc. depending on the device it's content is meant for and connect your computer to your phone via USB cable.

c) open a terminal window and choose the path to the folder on your computer

d) type in the following command into the terminal window: "fastboot flash bootloader bootloader-hammerhead-hhz12k.img" ( without " " )

your terminal window will tell you when the process has finished and you can repeat that any time in the future with any future xxxxx.img

there are other methods but they differ while this one always works, no matter whether you have a mac or a pc or whichever nexus phone.
[Nexus 5 Original Android Development] lost020282:
i told u i am noob i cant even think of trying what you told me..too complicated...i am on an xtrafactory rom which i wont even try to alter for the time being...it cost me a lot to get it to work...since u cannot open my link just answer me to this.:if one has a working rom bootloader kernel etc and flashes a new version of combo bootloader and radio zip through twrp over them, will anything be damaged?eg apps or anything?
[Nexus 5 Original Android Development] galakanokis:
In theory no but you need to be sure the zip is good and has the proper components. There is always potential to cause harm.

It takes 20/30 minutes to install the sdk and learn how to fastboot flash. I say it is almost essential if you want to mess around with the the N5. Can't get much easier than typing out 4 or 5 words.
[Nexus 5 Original Android Development] magnamentis:
thanks, that was the whole point and since his link did not open any page for me ( could be a short down but dunno ) i could not give any judgement as to the safety of that zip and thought it would be a good opportunity for him to learn the "proper" way.

to be honest, people who don't know the basics and "are not willing to learn" should remain stock, because we the users and the developers will pay the price in time and nerves when something goes wrong. everyone who has a rooted devices must somehow know about adb and fastboot, how else would it be possible to flash anything after unlocking the bootloader.

cheers and thanks again to mention that clearly

---------- Post added at 03:37 AM ---------- Previous post was at 03:34 AM ----------

a noop is someone who did not yet have the chance to become an experienced user. someone who refuses to learn is not a noob anymore but either afraid or lazy, both not good conditions to tinker with our precious devices LOL. jump over you shadow and learn the basics. it makes you

independent and gives you the knowhow to troubleshoot "ANY" future issue.
[Nexus 5 Original Android Development] galakanokis:
Toolkits make it very easy to root and flash. Fastboot has saved my bacon a few times like the time I flashed a radio inside of a autoflash kernel program. That was fun.

There should be Fastboot test before being able to enter development threads.
[Nexus 5 Original Android Development] magnamentis:
hey, that's one of the better ideas LOL my bacon found it's way to my dad recently and as from yesterday my OP2 finally became a device thanks to the first marshmallow rom that really works good enough by team bliss. cm13 based but works better than cm13 unofficial, funny ;)

enjoy
[Nexus 5 Original Android Development] BlazeForth:
I always set speaker gain value to 11 for my speaker + camcorder fix mod by chdloc with stereo playback and stereo recording & speaker gain to 94... Been using like this for months and have no issues with my speaker...
[Nexus 5 Original Android Development] OptimusVDarwin:
Is elementalx6.10 compatible with Android 6.0. Im to lazy to flash 6.0.1 right now.
[Nexus 5 Original Android Development] nathanchance:
No it isn't.
[Nexus 5 Original Android Development] IKnowIRock!:
I disabled hotplugging last night because you've mentioned it gives better battery life. And yes you're right! It gives me atleast 30% better battery now! Thanks alot for that.

I just want to know what does it really do??

I see all 4 cores are running now.
[Nexus 5 Original Android Development] xmaciek82x:
Anyone would know if its possible to remove the faux sound mod in a kernel?
[Nexus 5 Original Android Development] Joy Bangla:
it keeps all 4 cores running so power is not wasted on plugging and unplugging cores. Also tasks are finished quicker as all 4 cores are available and cores return to idle state quicker.
[Nexus 5 Original Android Development] Andrea993:
With the latest CM13 nightly the doubletap2unlock and the sweep2lock don't work. Why? With CM12 instead no problem.
[Nexus 5 Original Android Development] galakanokis:
Well, it's CM, which I think now stands for let's just break things.

With CM you are best to just run default as they change a lot of things in their repos on a constant bases so unless a kernel developer is syncing repos and building nightlies lots of things won't work. And really it doesn't make any sense to do that.
[Nexus 5 Original Android Development] jineshpatel30:
is it really the case ? [MENTION=4684315]flar2[/MENTION] what's your opinion ? ( i don't believe you have implemented it in 1st place if this is certainly the truth )
[Nexus 5 Original Android Development] flar2:
I haven't tried this, but the new devices don't use hotplugging, so maybe it works.
[Nexus 5 Original Android Development] jineshpatel30:
Okay i'll try this and will report if i find interesting result.

And i'm sure you will also try it ;) :D
[Nexus 5 Original Android Development] gregfrankenstein:
You could say that about a lot of XDA-related things though. Why use Xposed with [insert ROM here] when most modules will create a boot loop?

Personally I've found CM and EX to be a match made in heaven in terms of the blend of performance and features and I don't know why I didn't pair the two sooner, but I've accepted that I probably can't come crying to flar2 if they don't play nice, so if you're like me maybe keep a CM zip or two lying around in case things go kaplooie.
[Nexus 5 Original Android Development] treehugger38294:
I have an issue with this kernel. Regardless of whether I have hotplugging on are not, my phone only keeps two cores active when I'm in the EX kernel manager app. Very rarely, a third core will come on if I swipe down the notification shade but the fourth core never seems to come on.
[Nexus 5 Original Android Development] phantom146:
Tis not a bug. The 3rd and 4th core only comes alive if your cpu has an intensive gpu load which needs the last two core (e.g. when gpu reaches 389 load which is rare)

If you want to you can disable the hotplugging so all 4 cores will be online but that wont save you the juice. I recommend you to let the devs do their work and leave everything as default :3
[Nexus 5 Original Android Development] treehugger38294:
Oh OK. The only reason I was wondering is that I had some freezing/lag with mpdecision and thought it was due to only two cores being online. The lag is gone with the "default" custom hotplugging though...
[Nexus 5 Original Android Development] phantom146:
Mp_decision for me was utterly crap since it doesnt really make any decisions lol. It just puts up your core high if your using your phone without compensating on the workload so yep custom hotplug would be the best ;)
[Nexus 5 Original Android Development] _Vegas:
Disabling mpdecision or using custom mpdecision cos some lag here.
[Nexus 5 Original Android Development] grep_i:
It really depends on what phone (chipset, kernel) you have which power management functions you should use or not.

With my Nexus 5 I don't use any of it other than the default settings.

Which in my case was disable mpdecision.

I don't experience lag but than again I don't play heavy games.

Just browsing, news reading, texting, apping, phone modding/tweaking, music, videos and photo's guess that's not very heavy stuff to handle for the phone.
[Nexus 5 Original Android Development] magnamentis:
that means that you have to customize your custom setting to better performance which is why they're custom. if anything custom does not work as expected it's poorly custiomized :)
[Nexus 5 Original Android Development] lost020282:
u are right i am afraid.i keep your fastboot instructions for future use thank u.but i dont agree that people that wont put the time to know some basic features like fastboot for various reasons must be expelled from xda.if i get to a bootloop or something i may put my ass down and learn all this.if not i may very well use more automated procedures like toolkits and this zip which in fact worked just fine.that is why people are distinguished to developers and users.i am user and want everything the easiest way.developers like u should help me if needed like u did.u are great in helping so dont spoil the atmosphere by critisising people.developers work, users just want everything ready.thats why developers ask and get donations.because they do the work leaving the users to their happy noobiness...
[Nexus 5 Original Android Development] magnamentis:
of course not, the way you formulate it it's like rigging the horse from the wrong end we were kidding and venting a bit of frustration but certainly not because of nice people like you with a nice attitude, sorry if that came over like this.

i for my part don't think that's practicable and honestly stating to be afraid to mess up is totally ok and has nothing to do with the at times demanding lazyness that was the root of that little joke. don't hesitate to PM if you have any questions that you don't want to discuss in public, i do almost as much via PM like in the threads, you're always welcome.
[Nexus 5 Original Android Development] jineshpatel30:
how to completely disable mpdecisions without EX app ? (disable mpdecisions in aroma sets some value instead of completely disabling it ) & what does "Stock" in stock mpdecisions mean ? afaik Stock kernel doesn't do hot plugging so why to use stock ? (just for knowledge )

and as some user already reported i also faced random lag in UI with custom mpdecison/deisabled mpdicisons (apps are working better but UI elements have lags like pattern lock, setting apps etc ) any thing we can do for it ?
[Nexus 5 Original Android Development] flar2:
The solution is to play with governor settings, especially ones that boost the CPU

The device and system were designed with mpdecision in mind, it boosts the CPU whenever you touch the screen.
[Nexus 5 Original Android Development] jineshpatel30:
so it's basically like touch boost in Samsung device right ? ( man i hated it while using sammy..it made things worst )

can you give us some idea what things we need to play with ?

i think you didn't noticed this Q in previous post, what does "Stock" in stock mpdecisions mean ? afaik Stock kernel doesn't do hot plugging right ? ( from your previous ans i guess they just boost instead of boost&hot plug like EX )
[Nexus 5 Original Android Development] tingljjdehua:
[MENTION=4684315]flar2[/MENTION] can you explain how the new entropy thing works? I saw two new parameters read wakeup threshold and write wakeup threshold in the latest EXKM and had no clue how to adjust them. Could you explain?
[Nexus 5 Original Android Development] scutworker:
I'm using a stock version of the ROM with this kernel with an enforcing kernel and running the lastest systemless SU beta.

I want to have write access to the /system partition, how do I do it?

Is it simply a matter of flashing the kernel again but with the unenforcing option?

Thanks.
[Nexus 5 Original Android Development] nathanchance:
Enforcing/permissive doesn't affect your ability to write to /system (at least it shouldn't), root affects that. Are you getting errors when trying to write to system?
[Nexus 5 Original Android Development] grep_i:
Enforcing has nothing to do with being able to write to system partition.

Basically you have to mount system partition read, write.

This can be achieved by using apps like root browser or on terminal/shell with ADB shell command or even within a terminal app installed from playstore.

So there a lot of ways of achieving it but be careful with tampering with too much files as it can seriously break your system if your not sure what your doing.
[Nexus 5 Original Android Development] magnamentis:
it's a bit "app" specific, some apps won't write to system in enforcing mode and among them are quite reputed apps, for example some root file browsers. i did not narrow this down to detail since i decided to stay permissive at all times and since then never had any issues, independent of the root method. it could be that it's some kind of a combo between the two, systemless and enforcing result in more such issues than only one of those. any additional observations are welcom to get a better picture but i can tell for sure that with conventional root and permissive the number of issues is absolutely "zero"
[Nexus 5 Original Android Development] grep_i:
Most of the time you give very good advice but not this time.

Guess I'm a very lucky guy then.

I'm using SELinux enforcing since day one and never had problems like this.

All root file browser's I ever tested or played with were able to write to system if not than the app is in my eyes not good developed.

Still don't understand why you advice other people to disable security because you choose to disable it by default because of possible problems you don't want to run in at forehand.

SELinux nowadays is much better and should work correctly with most apps.

It is already here from Android 4.3 were the default was permissive in 4.4 we got partial enforcement and since lollipop the enforcement is for complete system.

We are already on 6.0.1 and its enabled by default since 5.0 just give it a chance and you'll see that it works good and also you will have another security layer on your phone.

As to your other claim can you name one such quite reputed apps than I can test your claim on my SELinux enforced phone and see if it is not working correct.

Still what kind of issues are we talking about, you are absolutely vague about this are you guessing or knowing for sure about this issues.
[Nexus 5 Original Android Development] scutworker:
The problem I have is that some apps, for example Ad Away, seem to be able to do it, but others, like Afwall+ can't.

I stuck in a position where I can't install init.d scripts using Afwall+ as there is no write access.

Moreover using Sold Explorer, with root, I can't even move a test file to the system partition without an error.
[Nexus 5 Original Android Development] grep_i:
Solid explorer and afwall+ will now be tested and I tell you my findings here.

But as you tell it right now you basically tell me that those apps are not developed with Android marshmallow in mind or they should have worked with enforcing on, as it is default for Android so when building a good app you should keep that in mind.

OK tried both and they both are working correct I could move test file to system partition with solid xplorer but only to specific places.

The afwall+ there you are right it won't install to init.d as my phone did not support this but if so you could possibly do it.
[Nexus 5 Original Android Development] _Vegas:
Did some researching, the entropy things is just placebo, can only drain your battery.

Sorry for bad English.
[Nexus 5 Original Android Development] grep_i:
Found an app called init.d scripts that way you can install init.d on your sdcard but I'm not sure if this will get you any further with your problem.

But it gives you support for init.d

http://apk-dl.com/files/5691e09e4f768562d04575e3
[Nexus 5 Original Android Development] reS28raM:
Basically you only need to find on ex kernel the equivalent of this commit, revert it and recompile, you can do it by hand of course, search for elementalx_*defconfig:

https://github.com/CyanogenMod/andr...mmit/5674b606161bca6354cd65f54227b8c5c7fd7c16

As you can see on my github I did some experiments with ex sources and cm 12.1 N5 kernel, I had some issues with a spurious noise which was (apparently) randomly appearing on cm+viper, it had something to do with some missing/added commit into cm kernel, almost impossible to detect which one. Ex has nothing like that so most probably you'll end up with a general volume's lowering and nothing more. But smartphones are complex little beasts lol, giving it a try doesn't hurt I guess. ;)
[Nexus 5 Original Android Development] scutworker:
Thanks for the help.

Solid explorer will move files to some places, but not all as before

As for Afwall+, I'll post a message in that thread.

Thanks again!
[Nexus 5 Original Android Development] flar2:
Just leave them alone

fauxsound will be removed next release
[Nexus 5 Original Android Development] shuli81:
NOOO! WHY?
[Nexus 5 Original Android Development] flar2:
It will be replaced with franco's implementation. Fauxsound is convoluted and buggy, I should have changed it a long time ago. The only reason I ever used it is because I started all this before I had my own app and many users had the Fauxsound app. The fauxsound app is way outdated and I am updating my app to work with the new paths. I never really cared about the sound drivers before, but I looked at them recently for the 5X and 6P. It turns out these sound drivers are dead simple. On this device, franco's implementation works good, so why reinvent the wheel?

There will be a new release of both the app and kernel tonight.
[Nexus 5 Original Android Development] shuli81:
Glad to hear you're replacing it with Franco and not simply removing it entirely. Faux is buggy and behaves strangly at times. Hope Franco sound will be a better solution.
[Nexus 5 Original Android Development] xmaciek82x:
Are you able to make it an optional install via Aroma installer or will it always be there? When I tried Franco's kernel with ATOMS and V4A, I has same results. And thanks for all the work!
[Nexus 5 Original Android Development] flar2:
You can't really make this optional. But if you just leave all the sound settings at their defaults, it should be the same as stock.
[Nexus 5 Original Android Development] xmaciek82x:
Understood. Thanks. I'll give the new kernel a try and report back.
[Nexus 5 Original Android Development] flar2:
I'm adding a small change to ensure that if all boost values are set to 0 it is exactly like stock.