yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] :
Yeah, I don't use them either.

Its possible that something in the init scripts within the ramdisk modifies something that makes it behave.

Flar2 will have to weigh in on it, because it didn't make any sense for why it would fix it for you.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6  Original Android Development] harkirat01:
I need some guidance here. I have ElementalX kernel installed on my Nexus 6. I took the stock kernel backup when I installed ElementalX kernel. Now I want to return to stock kernel after which I plan to do a factory reset. I am giving away my device so need to do a full clean up and move to stock.

Last question, after returning to stock kernel, my phone will stay rooted and bootloader unlocked, right?

Edit: I forgot to ask what I really wanted to, how do I go back to stock kernel? Do I need to copy the backup folder on my phone and then go to TWRP recovery mode? A quick guide would be really appreciated.
[Nexus 6  Original Android Development] Khizar:
Yes, you'll stay rooted/unlocked.
[Nexus 6  Original Android Development] parcou:
Wow dont know what I did my changing those but was a nice boost and help in addition to what I had...big thx Sir
[Nexus 6  Original Android Development] v12xke:
If you did back up your stock boot partition with TWRP, you should be able to just do a restore, ticking only the boot partition for the restore. You could also just flash the stock boot.img with fastboot. Beware though that if you need to stay rooted (sounded that way) you should also flash the latest SU again before rebooting system. If you simply want to restore your phone to "like new" condition and get rid of the custom recovery, you should just flash the latest Google image. It will wipe each partition before flashing. That is it's intended purpose. The bootloader will remain unlocked until you lock it again. Maybe you should restate exactly how you want to hand over the phone.
[Nexus 6  Original Android Development] rignfool:
OK... Tried your kernel... And well... It comes back... It just takes time...

Effin Google...

Let's try a clean flash...

**grumble**
[Nexus 6  Original Android Development] harkirat01:
so I did a restore from TWRP backup option. Restore was successful. It prompted saying "Do you want to root?" I declined and rebooted the phone. Now its stuck with Google logo and lock buttom on the bottom. It's been like this for almost 5 mins now. Did I run into a problem? :eek:

Edit: It's still there. Now I am really worried!

Final update: So I managed to get into recovery mode and then I tried cleaning up cache + data + system and then rebooting. But even that didn't work. So finally I copied the elementalX kernel zip back on my phone and did a fresh install. Rebooted and now its all good. Pheww. But I tried to install SuperSU but it failed because of "No MD5". Why did that happen and where did I go wrong with the restoration of my backup?
[Nexus 6  Original Android Development] v12xke:
Flash SU v2.67 from TWRP. Wait for it to finish and scroll through the recovery log looking for any errors. If prompted by TWRP to root, decline again and just boot to /system. Update your TWRP to 3.0.
[Nexus 6  Original Android Development] adm1jtg:
I remember reading a post a ways back saying that the v4a issues had been identified and a new build would fix them. But I dont see any new builds. Was that put on hold?
[Nexus 6  Original Android Development] flar2:
I couldn't reproduce any problems with V4A so I couldn't fix anything
[Nexus 6  Original Android Development] seabro01:
Are you using v4a with Dolby atmos? Haven't had any issues after disabling Dolby atmos and changing v4a to compatible.
[Nexus 6  Original Android Development] harkirat01:
I will give this a shot. Thank you.
[Nexus 6  Original Android Development] nathanchance:
[MENTION=4684315]flar2[/MENTION] I have had this question for a while but never got around to posting it. Is there a reason that the HBM widget is not centered? In the screen shot I have 5x5 rows in Nova Launcher and the icon as a 1x1 widget is slightly above all of the other ones. Expanding it to 4x4 moves the icon all the way into the left hand corner. Is there a way to modify that gravity to get it in line with everything else?
[Nexus 6  Original Android Development] Ksunnyv1011:
Just bought the app flar!

I just had one question regarding if others use greenify or naptime for aggressive doze and if it actually improves battery life at all? Thanks.
[Nexus 6  Original Android Development] nathanchance:
I've used both, they didn't make a difference for me. Best to let Marshmallow do its thing.
[Nexus 6  Original Android Development] darklordofthesith:
Can I use this on my encrypted nexus 6?
[Nexus 6  Original Android Development] Khizar:
Yes
[Nexus 6  Original Android Development] flar2:
I'll take a look, I can probably get it centered
[Nexus 6  Original Android Development] joeyfong:
I would like to ask how to use the new memory setting in EXM, thanks
[Nexus 6  Original Android Development] RandomPooka:
Swipe open the menu, it's a sub menu in the Miscellaneous section. If you're looking for specific details on each option in there, I'd honestly suggest googling them to see what each does and getting an idea of what optimal settings are. That's too big a topic to tackle in a short post format like this.
[Nexus 6  Original Android Development] joeyfong:
So it should be vfs_cache_pressure?
[Nexus 6  Original Android Development] RandomPooka:
That may indeed be a typo.

[MENTION=4684315]flar2[/MENTION] - Can you confirm that this is just a slipped finger that hit the C instead of V?
[Nexus 6  Original Android Development] flar2:
If you don't know what they do, leave them alone. They don't need to be adjusted but are there for advanced users.
[Nexus 6  Original Android Development] joeyfong:
I have been using AutoKiller Memory Optimizer for several years, just want to know whether I can uninstall it and only use EXM.
[Nexus 6  Original Android Development] flar2:
I would suggest not doing any of that. Task killers are really bad and should not be used. The most I would recommend is hitting "drop caches" once each night or every other night.
[Nexus 6  Original Android Development] joeyfong:
But I found that my phone perform smoother while there is more free memory available.
[Nexus 6  Original Android Development] flar2:
Your phone will perform better and smoother if your apps are already cached in memory. When you kill things, they have to load from disk and start from scratch, which is much slower than loading them from memory. Having lots of free memory on Android/Linux has no benefit.
[Nexus 6  Original Android Development] rignfool:
Unless you have a rogue app eating up resources...
[Nexus 6  Original Android Development] RandomPooka:
Sure, but that's not the norm.

You should always drive near to the speed limit on the interstate .. Unless there's a burning bus full of nuns and orphans across all the lanes of traffic. Then, you should stop and address the problem. For normal use, drive on the e-way as intended and let the operating system manage your memory as designed.
[Nexus 6  Original Android Development] DroidIt!:
Why drive near the speed limit? I usually go at least 10 over. More fun that way...and push the nuns and orphans out of the way! Shouldn't be on the expressway anyways!!! :p
[Nexus 6  Original Android Development] RandomPooka:
Oh, hush you. That was just for comparison purposes :) Trying to show that you can always come up with some nontypical exception to any rule, and that bringing up some "except when .. but if .." answer in response to the kernel dev's explanation of why you shouldn't use task killers is silly and undermines the effectiveness of explaining that you shouldn't be using them in the first place.
[Nexus 6  Original Android Development] rignfool:
[MENTION=4684315]flar2[/MENTION]

In EXKM... I am getting weird temperature reading... Both the battery and CPU are reading the same temperature more often than not...

If I open kernel adiutor... I get vastly different readings...
[Nexus 6  Original Android Development] RandomPooka:
Was the speaker gain disabled in the EX app? I found that to be a very useful volume boat for the alarm clock in the morning. I see mic gain and headphone output, but I no longer see a volume overdrive for the actual speakers of the phone itself. Or, has this been like this for a while and I just missed it?
[Nexus 6  Original Android Development] DroidIt!:
Lol, no I completely agree. ;) There's some things that can be tinkered with and some things left well enough alone. Android and the hardware's advanced far enough that some tweaks I did for years started causing problems/reboots etc. because things have moved on since then. Leave it alone = works good. :)
[Nexus 6  Original Android Development] flar2:
There are many to pick from, can't remember why I chose that one.

never had this option for this device.
[Nexus 6  Original Android Development] RandomPooka:
Weird. May have been misreading something on my end, then.
[Nexus 6  Original Android Development] christianpeso:
Too new to this kernel and phone to know if it was there before, but it would definitely be a great addition. I thought I would of saw that option under "Sound" as well, but surprisingly not. Coming from my old Galaxy Nexus, those custom kernels were able to have their volume boosted via Trickstermod or another kernel app. Would rather do that then have to install Viper4Android.

Maybe a possibility for a future release for external speaker gain?
[Nexus 6  Original Android Development] RandomPooka:
Agreed. I don't really want to mess with viper. Just a little volume bump would be awesome
[Nexus 6  Original Android Development] MrMiami81:
Anybody know if mp decision is enabled or disabled on this kernel? If it is enabled what is the easiest and best way to disable it if I chose to?
[Nexus 6  Original Android Development] nathanchance:
It is disabled. flar2 uses a custom hotplug.
[Nexus 6  Original Android Development] RandomPooka:
You're everywhere, like Hydra
[Nexus 6  Original Android Development] Woody:
As one Space Ghost fan to another, you should try it. Makes your sound so much cleaner and with the right pair of headphone/buds, it can be a quite impressive change. No hit to battery and if you listen for long periods of time it makes the experience more enjoyable (my job affords me ear buds [Bose IE2s]). There are also independent settings for headphones/buds, Speaker and Bluetooth. I'd be more than willing to help you get set up, just shoot me a PM.

I finally got the popping and cracking gone too. It was a problem with the gboost (at least on my rig). Once I fixed that, I can run ElX governor perfectly fine.
[Nexus 6  Original Android Development] RandomPooka:
I almost never listen to music with my phone, but I could use the boost in alarm and ring tone volumes.
[Nexus 6  Original Android Development] Meowdib:
http://xdaforums.com/devdb/project/?id=6893#featureRequests. requested something similar
[Nexus 6  Original Android Development] blanco2701:
I don't know if its placebo, but I flashed this and it's been working great (I think so anyways lol)

http://xdaforums.com/showpost.php?p=65026663&postcount=40
[Nexus 6  Original Android Development] RandomPooka:
I looked inside that zip and don't see anything in the script. Must be something else happening. Could you look in the sdcard and compare the audio_effects.conf files to see whether anything is changed?

Or are you using the one that's title MOD-AUDIO-EFFECTS-CDT ?
[Nexus 6  Original Android Development] 1Zero3forlife:
Finally updated to the latest. I am already seeing a big difference with a few issues I was having with Sweep 2 Wake. Thanks!
[Nexus 6  Original Android Development] SanJoseCA:
[MENTION=4684315]flar2[/MENTION]

I can't see "new memory options", "adreno idler" and "new gestures" added in 2.54 in elementalx app (ref: Play store changelog). Does N6 kernel v3.09 have support for them or Am I missing something? Is a new kernel version coming that's going to support them?
[Nexus 6  Original Android Development] nathanchance:
No, that is for the 6P as far as I am aware (and presumably the 5X?).
[Nexus 6  Original Android Development] flar2:
Those are features for other phones and kernels. The app has many settings that are never seen unless you use different phones.
[Nexus 6  Original Android Development] agreenbhm:
Just wanted to say a quick thanks. Flashed this kernel last night after discovering Hydra appears to be discontinued. My phone feels like it's had a new life breathed into it. Keep up the good work.
[Nexus 6  Original Android Development] christianpeso:
Is there an option to chose the profiles that are available in the Aroma installer when 1st installing while booted into the the phone? Or do i need to flash the kernel over in order to chose the color profiles?
[Nexus 6  Original Android Development] seabro01:
Yeah, you can pick the color profile you prefer in Aroma.
[Nexus 6  Original Android Development] AhmadOkda:
If you have the EX kernel manager, yes you can

If not then I think you can only do it by reinstalling the kernel again
[Nexus 6  Original Android Development] RandomPooka:
But, is there a breakdown available listing all the Aroma options, so that we can test and compare them each by adjusting color settings in the app instead of reflashing the kernel each time we want to try a different setup? I'd also like to try each profile out for a little while and then switch to a different one without having to boot to recovery and flash the kernel to change.

Of course, those settings can be changed from the EX app, but I'm not sure what settings each color profile uses.
[Nexus 6  Original Android Development] derdjango:
That's exactly what you can do with EXKM? You can load color profiles and see what you like. You also see what setting each color profile uses in the app.
[Nexus 6  Original Android Development] biglilsteve:
In case you weren't sure how. Its the + sign at the bottom right. Then click the picture of a folder. You will see all the preset profiles there.
[Nexus 6  Original Android Development] RandomPooka:
Thank you! I never noticed the (+) in the corner, so didn't realize all the presets were available through the app.
[Nexus 6  Original Android Development] christianpeso:
Thats what I was looking for. Thank you!
[Nexus 6  Original Android Development] Alxoom33:
Thanks, but when I press the + I get a series of images, not the color profiles that I see in the Aroma Installer.
[Nexus 6  Original Android Development] christianpeso:
Are none of those images of a folder? It should be the icon in the middle, above the "X".
[Nexus 6  Original Android Development] pankozin:
Hello. Have encountered a problem with random reboots. Approx once a week or a week and a half when idle with screen on or off (rather off) phone reboots without an obvious reason. The issue occurs month or so. Does somebody have thoughts on this problem? Cant attach logcat now, coz saved it too late. I dont use undervolt, all stock except simple_ondemand gov and entropy values.
[Nexus 6  Original Android Development] PhilipTD:
[MENTION=4965644]pankozin[/MENTION]

I was getting what I thought were random reboots also, but now think that they occurred because I was inadvertantly long-pressing the power button as I held the phone in my coat pocket while walking. I know that the chances are slim that it is what's causing your issue, but I thought I'd mention it just in case.
[Nexus 6  Original Android Development] pankozin:
It's not the case for me, coz they are happening when phone lays on bed or on the table. (
[Nexus 6  Original Android Development] MarkGbe:
so... i guess i'm missing it but..... is there anyway to change the governor without root? I'm reading "The governor can be set in /etc/elementalx.conf" .. but that file doesn't seem to exist, and i'm not rooted so i'm assuming i can't edit that file anyway.

ideas?
[Nexus 6  Original Android Development] nathanchance:
That file resides in /data/data; however it doesn't have governor options. I think the only way to change those is through a kernel control app or a init.d or su.d script with a sys path if it exists (no idea about the second one).
[Nexus 6  Original Android Development] MarkGbe:
ah ok, thanks
[Nexus 6  Original Android Development] rignfool:
Correct...

You will need root... Or someone with root to tell you the sysfs paths to the tunables... But then using the echo command you can set any tunable you want...

Then put the script in your init.d directory...

You WILL NOT have su.d if you do not install SuperSU
[Nexus 6  Original Android Development] Alxoom33:
In other words get yourself rooted[emoji2]
[Nexus 6  Original Android Development] flar2:
You need root to change anything

Rooting is not as difficult as some people say.

All you need to do is flash SuperSU. Then flash ElementalX.
[Nexus 6  Original Android Development] muhackl:
TP-Link wifi stick not working any longer [EX 3.09]

Dear XDA community,

I'm using a Nexus 6 with stock ROM (Android 6.0.1 MMB29Q) at the moment. I installed Elemental X 3.10.40 N6-3.08 via TWRP 3.0.0 and updatet via EX Kernel Manager to 3.09. Rooted via SuperSU 2.65. Busyboy Pro installed. I also installed Kali Nethunter 3.0.5.

Problem at the moment is: My wifi stick TP-Link TL-WN722N is not recognized any longer as wifi extension, when checking via iwconfig, no "wlan1" is shown.

The stick is found when checking dmesg and even via lsusb. Everything seems fine. I don't know what I have changed except updating the kernel.

When entering lsmod or lsmod | grep -i ath9k to check the modules, I get:

libkmod: ERROR ../libkmod/libkmod-module.c:1638 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory

Error: could not get list of modules: No such file or directory

I also tried a Alfa AWUS036N wifi module. Same thing. Not found via iwconfig, found via lsusb and dmesg.

For me, this looks like a kernel problem. I stepped back to 3.08 from 3.09 but nothing changed.

I tried switching USB debug mode on and off. Tried changing USB configuration in developer settings (MTP, PTP, RNDIS, ...). Tried a Y cable to add more power. Nothing helped.

Now I'm hoping you can help me with that.

I'm thankful for every idea and hint from you.

Many thanks in advance and best regards

Muhackl
[Nexus 6  Original Android Development] :
It's a little more advanced... But, you have a few options.

1. Kernel devs *could* start checking for a postboot script at like /data/postboot.sh in the init scripts. I think that would let users modify that file and since the script is run from the init context, it should run as system/root. But I'm not 100% sure on that.

2. Get aik: http://xdaforums.com/showthread.php?t=2073775 unpack the boot image and either add a script or modify the existing init scripts to do it.

3. Modify the anykernel scripts to inject a script with the settings you want while in recovery.

Good luck.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6  Original Android Development] MarkGbe:
Thanks this looks do-able.

---------- Post added at 10:29 AM ---------- Previous post was at 10:28 AM ----------

thanks, but sticking with non-rooted so i can use android pay without any extra finagling.

Keep up the good work!
[Nexus 6  Original Android Development] adm1jtg:
I have found using multirom is also a very valid solution. You load your primary main rom into the internal slot, you load a completely stock unrooted rom into the secondary slot and just boot to that second slot when you wanna use android pay. No finagling at all just boot to secondary for AP, boot back to primary for daily use.

Sorry of this was off topic but its an answer to OP scenerio
[Nexus 6  Original Android Development] flar2:
You would need to build the kernel with support for those network adapters and a couple other networking options.

Unfortunately, I cannot build ElementalX with this support. I don't want to add module support and other config options required because some of them are security risks that Google has specifically removed from the kernel. I have to keep ElementalX fairly close to stock and ultra secure because it is widely used. I think one of the other kernel devs might be willing to add kali nethunter support.
[Nexus 6  Original Android Development] flar2:
This can be done, but I'm not going to do it right at the moment. It would require restructuring the install method quite a bit and I'm not completely sure if I could still use elementalx.conf to store settings. It is something I"m looking into though.
[Nexus 6  Original Android Development] Alxoom33:
Rooting is soo much easier. For AP I prefer finagling![emoji2] Works great for me![emoji106]
[Nexus 6  Original Android Development] leondestiny:
i love the modifying (profiles) of the screen colors! but how can i choose another one if i want ? :) do i have to reflash the Kernel?

i know that there is "Adv. color control in Graphics" in the elem. kernel app! but how do i go on setting those cool profiles i have seen in the Kernel Aroma >< !?

and also i already have set one (within the Kernel Aroma installer) so is it already applied or do i have to enable the "Apply on boot in Adv. color control from the app?"
[Nexus 6  Original Android Development] derdjango:
Check back http://xdaforums.com/showpost.php?p=65453726&postcount=6085
[Nexus 6  Original Android Development] WeldFire:
Unable to delete/rename in system

Hello all, I was curious if anyone else is having issues with this kernel v 3.09 prohibiting deletion/renaming of storage contents. I am running the latest factory image and am only able to delete files in recovery mode. It isn't the most favorable user experience :(
[Nexus 6  Original Android Development] nathanchance:
Are we talking internal storage as in the /sdcard folder? Because your title mentions /system, which you can only modify if rooted. I am not having a problem modifying any file I want but I have root.
[Nexus 6  Original Android Development] Khizar:
Define "storage contents". System? Data? Data/media AKA internal storage?

You need root to modify the first 2, sdcard you can modify via a file explorer or your PC.
[Nexus 6  Original Android Development] WeldFire:
By system, I meant when I was booting to the system partition. Using the built in file manager or an app like cabinet I'm unable to delete or rename a file in internal storage ex. /sdcard/

Using Windows file explorer or ADB hangs forever unless I boot to recovery.
[Nexus 6  Original Android Development] nathanchance:
That is not kernel related. Are you on stock Android? If not, what ROM are you on?
[Nexus 6  Original Android Development] WeldFire:
Oh? That is disappointing. I can't think of anything else that it could be :/

I'm on stock Android from the developer.google.com factory image. Build number MMB29Q.
[Nexus 6  Original Android Development] nathanchance:
Flash the stock boot.img to see but I don't see how that could possibly be kernel related. Does it give you an error when that happens?
[Nexus 6  Original Android Development] WeldFire:
Ok I'll try that!

Usually it will appear to have worked, however when you go back to that folder in a different application/refreshed the current view it never changed anything. Sometimes the cabinet app will say "Failed to rename/move this file: Root Access Denied" which is strange since it is in the path '/storage/emulated/0/Videos'.

EDIT: That didn't seem to work. I'm sorry I didn't think about flashing the stock boot.img earlier. It may be to the point where I just need to wipe my phone and reflash I guess...
[Nexus 6  Original Android Development] flar2:
I think the system partition is completely full on stock. Remove some unnecessary system apps and it'll probably work.
[Nexus 6  Original Android Development] fjsferreira:
In sound control (kernel audiutor app), lowering headphone gain below 0 immediately cuts out headphone volume completely instead of gradually lowering volume. Is it just me?
[Nexus 6  Original Android Development] Mervingio:
ElementalX has BCL already disabled?