yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] bikerabhinav:
Ah that bugger! I do have s2w active so I guess it happens after 30 minutes of idle. Thanks!

In your opinion: would you disable s2w to get rid of that drain associated with the small wake or is it getting too ridiculous to care that much? I do use the s2w though.
[Nexus 5X Original Android Development] till22:
That depends on how much yo hate charging :) On my N5, I used wake gestures with a 5 minute timeout, mainly for periods when I am actively using the phone or when reading and the screen gets timed oud. When I didn't touch it for >5 minutes I'm fine with pressing one of the buttons. I'll get my N5X in 3 weeks, and I guess I'll be doing the same.
[Nexus 5X Original Android Development] 2x4:
Is there any downside or danger to the Thermal fix? I'm not worried about modifying the system partition.

Edit:

Do we need to wipe anything after flashing N5X-Thermal.zip if we didn't do it when we flashed the kernel?
[Nexus 5X Original Android Development] flar2:
No danger, no need to wipe. The thermal fix is kernel independent and will even work on stock.
[Nexus 5X Original Android Development] till22:
How much does it raise the thermal throttling limit, if I may ask?
[Nexus 5X Original Android Development] flar2:
Throttling is same, it raises the hotplug limit by 3 or 5 degrees ( I can't remember)
[Nexus 5X Original Android Development] greves1:
I turned off wake gestures just to eliminate the screen wakes! I've used wake gestures on several phones and my Nexus 7 and even on EX kernel on the N7, there is no mandatory timeout. Wake gestures just always work, and ive never noticed a significant impact on battery. I would love it if EX kernel for N5X could eliminate the 30 min max timeout. Just keep it on!
[Nexus 5X Original Android Development] joetheshmo:
0 disables wake timeout

Spoiler content hidden.
[Nexus 5X Original Android Development] greves1:
beautiful! thank you!
[Nexus 5X Original Android Development] Lossyx:
How can I change vibration? (Intensity?
[Nexus 5X Original Android Development] nathanchance:
With the EX Kernel Manager (or another program like Kernel Adiutor but the EXKM is better IMO).
[Nexus 5X Original Android Development] flar2:
I started work on thermals yesterday. I don't really notice adverse effects in normal use like web browsing, g+, email, etc. For gaming, I usually test with Asphalt 8 and Riptide G2 and these quickly heat up the phone and cause the big cores to go offline. Performance is quite disappointing for gaming. Are there other common scenarios where the phone gets really hot, or where performance is affected?

Interestingly, I notice that frequencies are not throttled on this device. The main thermal action seems to be slightly dimming the screen and putting the big cluster offline. Screen dimming is no big deal, and I've already added a tunable for offlining the big cores. I'm guessing the GPU is also throttled, but I haven't looked at it yet. I will experiment with throttling the big cores (rather than taking it offline immediately). But this all requires a lot of testing.
[Nexus 5X Original Android Development] vampire36:
Simultaneous use of maps and camera is another scenario...while using gps if you try to click some pic...often have seen throttling :)
[Nexus 5X Original Android Development] flar2:
Looks like there were no kernel changes in the January security update from Google. You may continue using the latest version of ElementalX.

There will be an ElementalX update soon, but it has nothing to do with this.

As always, it is recommended to flash the stock boot.img if you do the update, in order to have the latest ramdisk.

Procedure for updating:

1. Download factory image from Google

2. Extract boot.img, vendor.img and system.img and flash these in fastboot mode:

fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img

3. Reboot to recovery (important--don't reboot to system)

4. Flash SuperSU

5. Wipe cache and Dalvik cache

6. Boot into system (may bootloop once, it's okay)

7. Install ElementalX (either with the EXKM app or in recovery)

NOTE: there was no update to the bootloader or radio, so I've omitted these from the instructions above.
[Nexus 5X Original Android Development] dfryer1193:
You should also flash vendor.img from the google update.
[Nexus 5X Original Android Development] SlimSnoopOS:
lol it figures, I was already in the flashing process when you posted this. Would we do the same process if we were decrypted?

I decrypted last night and I am on the stock rom. About ten minutes ago, I just flashed all the MMB29P .img's, booted into TWRP, flashed SuperSU then EX 1.04 and selected disable fsync. Is that the proper way to stay decrypted? I wasn't sure if "disable fsync" was for decrypting so I chose that and ran with it lol
[Nexus 5X Original Android Development] dfryer1193:
Unless you select the option to be encrypted in security settings, you should stay unencrypted. Fsync has nothing to do with encryption.
[Nexus 5X Original Android Development] SlimSnoopOS:
Ahh, that clears it up for me! See I knew this kernel has "force encrypt" disabled but my brain translated the aroma option of "disable fsync" to mean "I want to actively disable force encrypt." Thank you for clearing that up for me.
[Nexus 5X Original Android Development] flar2:
Thank you, that's very important.

The procedure above will ensure that your encryption status does not change, and also ensures that your recovery doesn't get replaced with the stock recovery.
[Nexus 5X Original Android Development] Criton30:
with this method would I lost my decrypted userdata? ok, I see now, so the answer for my question is no :)
[Nexus 5X Original Android Development] till22:
I also saw the instructions to flash vendor.img in the Cataclysm ROM. What does the vendor.img exactly do? I didn't really find anything useful and don't understand what's explained here: https://groups.google.com/forum/m/#!topic/android-porting/T1D3KGEOde8

Sent from mobile, excuse brevity.
[Nexus 5X Original Android Development] nathanchance:
It is a bunch of proprietary files that reside in the vendor partition that make your phone run. If you mismatch your vendor.img (one that doesn't match your build number), certain functions won't work (like the camera).
[Nexus 5X Original Android Development] zakoda:
I am on PureNexus 3-Jan release on N5X.

Can EX get USB Host to work? (It isn't working atm)

Also, is it necessary to have systemless root to flash EX? I mean PN ROM gives built in SU with modified system. So I can't flash EX on top? I'll have to Unsu?
[Nexus 5X Original Android Development] nathanchance:
I am not sure about USB Host but you don't need to mess with systemless on PN unless you want to. Just flash EX over PN.
[Nexus 5X Original Android Development] ashatter:
I would like to know if you are planning to use modified tooltrain (Linaro, Uber, etc.)to compile the kernel?

Also, personally, I don't play games and I have more concern about the battery life. I just wonder if it is possible to have an option to fully disable the CPU cluster 2.

Thank!
[Nexus 5X Original Android Development] blinkin:
So no need to wipe cache and dalvik after flashing a new kernel?
[Nexus 5X Original Android Development] Smultie:
5. Wipe cache and Dalvik cache

That's before, so no: not after flashing the kernel.
[Nexus 5X Original Android Development] fire7777777:
which is wake gesture? swipe and d2wt?
[Nexus 5X Original Android Development] nathanchance:
Yes, both swipe to wake and double tap to wake are wake gestures.
[Nexus 5X Original Android Development] flar2:
No, I have many users around the world and in the past I've run into issues with Asian keyboards when using other toolchains. I can't have strange problems like that, stability is most important.

You could manually disable the second cluster, however, I don't think it will make a difference. Users found that it actually makes battery life worse on the HTC m9.

Not generally. Those instructions were for updating the entire system with the new factory image.
[Nexus 5X Original Android Development] dmudd:
I followed the instructions, but TWRP says that it cannot mount my storage partition. I downloaded the update and verified the checksum. Then I did:

adb reboot bootloader

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash vendor vendor.img

Next, I pressed volume up and selected Recovery to reboot into recovery mode. TWRP asked me if I wanted to decrypt data. I pressed cancel and swiped to allow for modifications. Storage was not mounted and storage doesn't even show up under 'Mount' in TWRP.

Any ideas on what happened?

**edit with more info: When I press Install, the header on the next screen says 'Install Zip Select File from Internal Storage (0 MB).
[Nexus 5X Original Android Development] dfryer1193:
What version of TWRP are you using?
[Nexus 5X Original Android Development] dmudd:
I'm running version 2.8.7.2

**Update: Nevermind, I figured out my problem. I have a pattern set up to unlock on reboot, and when TWRP asked for it, I pressed cancel instead of putting in the pattern.
[Nexus 5X Original Android Development] flar2:
Update!!!

Unfortunately I've been extremely busy at my regular day job lately and haven't had time to do all the things I want to do with app and kernel updates. But I wanted to make a new release anyways, because I have a couple minor new features.

One is that vibration can be completely disabled if you put it at its minimum value.

The other is to move thermal hotplugging of the big cores from the thermal-engine to the kernel. This allows us to adjust the threshold temperature for taking the big cores offline without modifying the system partition. The thermal-fix.zip won't do anything now, you can adjust the threshold in EX Kernel Manager. By default, the big cores won't go offline as easily.

I wanted to do a little more work on thermal and performance tuning but I just haven't had time to mess with it.

Also a minor ramdisk fix and I added the bluesleep_timer wakelock blocker. App support will follow when I have time.

Download

ElementalX-N5X-1.05

Changes:

-add temp threshold tunable for hotplugging big cores

-fix dm-verity warning for non-root users

-disable vibration at min setting

-bluedroid_timer wakelock block
[Nexus 5X Original Android Development] matlala:
Nice, thanks for implementation.

Can you somehow bring what exactly is bluedroid timer?

Thermal fix the first post is still usable or I must restore stock backup? (modified /system/etc/thermal-engine-8992.conf)

I have this and set thermall throtting to 65°C, but cluster 2 max freq is still 633MHz (devcheck in statusbar have 45°C, CPU temp in EX is about 35-38°C).

Any tips for better setup?
[Nexus 5X Original Android Development] flar2:
The blue droid thing is a wakelock that some apps cause. Only affects some people.

For thermals, all I changed so far is hotplugging. Now the hotplug threshold is controlled by a kernel tunable instead of /etc/thermal-engine-8992.conf. You don't need to do anything.
[Nexus 5X Original Android Development] matlala:
Ok, thanks.

And you will add temperature set to aroma installer or config in the future? It would certainly help to a little speed up the boot, actually it is set to launch the app after boot.
[Nexus 5X Original Android Development] ddrum2000:
Sorry if this was already posted but the the thread search currently isn't working.

I'm trying to mount a USB-OTG stick formatted exFAT but the OS won't mount the exFAT file system. I have the latest 1.05 kernel installed and it mounts fine in TWRP so I know my dongle and stick both work ok. Do you have any thoughts on how to make this work correctly?
[Nexus 5X Original Android Development] matlala:
https://play.google.com/store/apps/details?id=eu.chainfire.stickmount
[Nexus 5X Original Android Development] i_pk_pjers_i:
Thank you for your amazing work, I will surely donate again soon!

With that said, I do have a question. Why do we flash SuperSU BEFORE flashing ElementalX, is that only for stock ROM or is that for Cataclysm too? I always though it's flash ROM, then Kernel, then other ZIPs like SuperSU?
[Nexus 5X Original Android Development] Svid:
Latest Update works well. Thanks.
[Nexus 5X Original Android Development] flar2:
I've already increased the threshold to a good point for most users. It can be adjusted in EXKM.
[Nexus 5X Original Android Development] flar2:
It's because ElementalX uses the existing ramdisk. If there are already root components in the ramdisk, SuperSU installer will replace the kernel with a backup, if it exists. The easiest thing for me is to recommend flash EX after SuperSU to avoid this confusing situation.
[Nexus 5X Original Android Development] matlala:
Ok, temperature is 46°C (default temperature in EXKM). OK? To me it seems not enough.

Franco kernel r1 has some modifications and I do not know why it boots faster. But elementalx is better in many directions, will not change the daily used piece of software because of one little things and not have options as elementalx.
[Nexus 5X Original Android Development] ddrum2000:
So I tried this and it does not seem to work. StickMount sees the USB drive and creates the mount point but the OS gives a notification that says: Unsupported SanDisk USB Drive. I know the drive and StickMount works fine since this works ok on my Nexus 10 which is completely stock but rooted. Thoughts? Thanks.
[Nexus 5X Original Android Development] matlala:
Check USB disck in PC. Maybe filesystem is broken.
[Nexus 5X Original Android Development] ddrum2000:
I wish it was that easy. Works great on both mac and PC. I also ran chkdsk thinking that it could be an issue but no errors. Like I said it works with the stock kernel and StickMount on my Nexus 10.
[Nexus 5X Original Android Development] matlala:
All my usb stick works fine. Use manualy mount from terminal or StickMount.

Manualy mount from terminal is OK?
[Nexus 5X Original Android Development] ibilln:
Y, the OTG thing totes sucks. Why is not a robust OTG built in? Grumble.

I use USB OTG File Manager for Nexus. UI is a hair hokey, costs $2.69, got to check "advanced mode" to paste files, but it seems to work ok.
[Nexus 5X Original Android Development] ddrum2000:
Manually mounting from Stickmount provides the link to the USB stick as it should. I can't the USB stick though. I if I use FX File Manager go through the filesystems tool and open the file system as root then I can see the files? I shouldn't have to use a root explorer to see the USB stick though so how would I fix it. Take a look at the attached images.
[Nexus 5X Original Android Development] ddrum2000:
This doesn't seem to have support for exfat?
[Nexus 5X Original Android Development] flar2:
I can't really offer much, as I don't have a USB C otg adapter. Will order one.
[Nexus 5X Original Android Development] ddrum2000:
So the adapter would work fine if the drive was fat32 formatted. I think there is an issue with how exfat is implemented. So should I need StickMount to the USB drive or should it mount automatically? Also do I need to download the add-ons for ntfs and exfat from the StickMount forum? (I have them downloaded) and in /sdcard. Thanks
[Nexus 5X Original Android Development] matlala:
I'll test this.

But I'm very busy. Tomorrow evening maybe...
[Nexus 5X Original Android Development] ddrum2000:
Not a problem, thanks for the help.
[Nexus 5X Original Android Development] ibilln:
Can't comment on ExFat. My USB stick is FAT. I always format FAT 'cause everyone/thing seems to understand it.
[Nexus 5X Original Android Development] ddrum2000:
In an ideal world that would be great but FAT32 won't allow files over 4GB which will increasingly become a problem. I'd also be happy to use ext4 but I have issues getting that to work cleanly with Mac.
[Nexus 5X Original Android Development] SlimSnoopOS:
Aight, search is down on XDA. I'm attempting to help someone in Heisenberg's thread who is stock, that wants to install this kernel. They attempted to install Ex kernel via "apply update from sd card" in stock recovery and it failed with unknown volume for path[SD card}. My line of thinking is anyone who is stock and wants to use EX kernel must:

-unlock bootloader

-fastboot TWRP

-boot into TWRP and install Ex

-then boot into stock rom which has no root

Am I correct in thinking this is the only way to install Ex with no root?
[Nexus 5X Original Android Development] flar2:
Yeah, you must unlock the bootloader to install a kernel
[Nexus 5X Original Android Development] lakyberry:
flar2, when can we expect more tunable ElementalX governor?
[Nexus 5X Original Android Development] bmbm:
I'm happy with the latest 1.05. Everything is fast, smooth and stable with insane battery life. Thanks!
[Nexus 5X Original Android Development] jim_bocho:
As the search function does not work at the moment: When I'm flashing EX, I'm stuck at the Google logo.

Unlocked bootloader

TWRP

Stock & encrypted.

Any suggestions?

Thanks!

Gesendet von meinem Nexus 5X mit Tapatalk
[Nexus 5X Original Android Development] gpvecchi:
I had a couple of reboots: I had the phone on my pocket and I found it at the PIN entry screen. Then WhatsApp said the date on my phone was incorrect.

I know this is not so helpful, what can I do to give more info?
[Nexus 5X Original Android Development] flar2:
Do a clean install, and i mean wipe data.

This kernel is 100% stable and has no problems.
[Nexus 5X Original Android Development] SlimSnoopOS:
Have you already updated to or fastboot flashed the MMB29P .IMG's? Are you flashing v1.05 over top of any other custom kernel?
[Nexus 5X Original Android Development] jim_bocho:
Was 100% stock MMB29P, nothing else besides unlocked & TWRP.
[Nexus 5X Original Android Development] flar2:
IT should work then.

To be sure, flash the stock boot.img and get your system up and running. Then reboot to recovery and flash ElementalX, with all default settings. Guaranteed it will work, as this is exactly what I do.
[Nexus 5X Original Android Development] gpvecchi:
I am on clean install, full factory image with wipes then root+kernel+etc...
[Nexus 5X Original Android Development] bobby janow:
Does it happen on stock everything without root?
[Nexus 5X Original Android Development] greves1:
Running 1.04 on January Cataclysm stable rom with no issues, is there any benefit for me to upgrade to 1.05? Also, can I just "dirty kernel flash" to upgrade or no?
[Nexus 5X Original Android Development] nathanchance:
Just flash the updated kernel over the current one, no wipes necessary.
[Nexus 5X Original Android Development] dfryer1193:
1.05 blocks an additional wakelock by default, you may benefit from that.

You can always dirty flash this kernel over the stock kernel or a previous version of elementalx.
[Nexus 5X Original Android Development] gpvecchi:
A Nexus stock without root?:eek:
[Nexus 5X Original Android Development] bobby janow:
lol! Ok stock with root then, stock kernel. <still smiling over that one>

edit: The reason I ask is because I had a 5x that also constantly rebooted for no reason. I was completely stock and then I even factory restored, locked the bootloader and it still rebooted. I returned it and have never had a problem since. Perhaps that could be your issue too?
[Nexus 5X Original Android Development] matlala:
So I have a little time. So what all do I test it?

-exFAT

-NTFS

- FAT32 (It's works perfectly both standard android mount or root mount with StickMount)

- Manual mount with terminal commands

- automatic android mount

- StickyMount

- R, R/W with android system file manager and any apps (i have es file exploer pro)

OK?
[Nexus 5X Original Android Development] ddrum2000:
Sounds about right to me. Thanks.
[Nexus 5X Original Android Development] matlala:
Only, exFAT on my OS is little problem :D

It's challenge :)

NTFS

- StickMount with addtional own additional drivers: r/w works perfect, mount and symlink to /sdcard/usbStorage

- StickMount without addtional own additional drivers (reinstall): and also functions r/w works perfect, mount and symlink to /sdcard/usbStorage

- in system not supported, Notification is saying must format to supported format

- manualy mount with terminal command works fine in terminal :)

root@bullhead:/ # mkdir /sdcard/test
root@bullhead:/ # mount -t ntfs /sys/block/sda/sda1/partition
root@bullhead:/ # ls /sdcard/test/
13301066479C4DAE
brtfs convert
root@bullhead:/ # chmod 777 /sdcard/N5X-Thermal.zip
root@bullhead:/ # cp -v /sdcard/N5X-Thermal.zip /sdcard/test/
cp '/sdcard/N5X-Thermal.zip'
cp: /sdcard/test//N5X-Thermal.zip: Permission denied

But, I must use some different chmod, I don't know exactly us. However, its work.

FAT32

- StickMount r/w works perfect, mount and symlink to /sdcard/usbStorage

- In system natively support works fine. Copy from internal to external storage in system file manager. ES file exploer cann't see it :(

- manualy mount I not tried, it does't make sense

exFAT - NOT WORKS

Format and tested in ubuntu with

matlala@matlala-N56VM ~ $ sudo mkfs.exfat /dev/sdd1
mkexfatfs 1.0.1
Creating... done.
Flushing... done.
File system created successfully.
...(Tested copy on N7)...
matlala@matlala-N56VM ~ $ sudo mount -t exfat /dev/sdd1 /mnt
FUSE exfat 1.0.1
matlala@matlala-N56VM ~ $ ls /mnt/
SuperSU-v2.62-3-20151211162651.zip
matlala@matlala-N56VM ~ $ cp ./winbox.exe /mnt/
matlala@matlala-N56VM ~ $ ls /mnt/
SuperSU-v2.62-3-20151211162651.zip winbox.exe
matlala@matlala-N56VM ~ $ sudo umount /mnt

Ubuntu works, only desktop environment doesn't want to automatically mount.

On Nexus 7 (flo) StickMount (with additional driver) works perfectly, I tested r/w. But system say don't supported format.

On N5X StickMount (with drivers): Sayed mount, but folder is empty (es file exploer and terminal). NOT WORKS

matlala@matlala-N56VM ~ $ adb shell
shell@bullhead:/ $ su
root@bullhead:/ # ls /sdcard/usbStorage/sdb1/

Tested again on N7 and works fine. Files is there.

System on N5X sayed not supported format, of course.

----------------

I have busybox 1.24 in overlay systemless sueprsu folder /system/xbin
[Nexus 5X Original Android Development] Lossyx:
Hello, just bought ElementalX app and was wondering if there will be an option to save current kernel settings as a profile, or is it already in the app?
[Nexus 5X Original Android Development] nathanchance:
In one of his threads, he said he would most likely not be introducing profiles.
[Nexus 5X Original Android Development] ddrum2000:
Ok this makes me feel better about my troubleshooting.
[Nexus 5X Original Android Development] nvertigo:
I am rooted with superSU 2.66 but I also used the modified boot.img to unencrypt.

Do I need to return the stock boot.img before flashing this kernel? or are they unrelated.
[Nexus 5X Original Android Development] joetheshmo:
You should be fine flashing this kernel over a modified boot.img afaik
[Nexus 5X Original Android Development] i_pk_pjers_i:
You can flash this over SuperSU 2.66 just fine.
[Nexus 5X Original Android Development] SoMeiBoL:
Which has this autonomy compared to stock kernel?
[Nexus 5X Original Android Development] SlimSnoopOS:
Could you write that again, but differently?
[Nexus 5X Original Android Development] SoMeiBoL:
Yes, sorry.

Battery life increases with this kernel?
[Nexus 5X Original Android Development] nathanchance:
Maybe. Depends on your usage. I have seen quite a few people with increased battery life, others it doesn't make a difference. It is a mostly stock kernel at this point with a few optimizations. I'd recommend it but don't be surprised if you don't get an extra hour of SOT.
[Nexus 5X Original Android Development] i_pk_pjers_i:
If you're concerned about battery life, take a look here: http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557
[Nexus 5X Original Android Development] szucsgf:
This kernel allows you to turn off touchboost, which I believe increases battery life significantly.