yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] Oblox:
General running on DP4 seems ok, proximity sensor seems good, new quick settings bar behavior is dire, I hope its a bug.

Wifi calling fix didn't seem to get into this build sadly.
[Nexus 5X General] sireangelus:
I still have to try it but I think that the you should use the small toggles as on off button
[Nexus 5X General] bostonirishguy13:
Thanks. Good to know, as I had that issue on DP3.
[Nexus 5X General] Oblox:
Thats what they were in DP3 in DP4 they all open the larger menu for BT and WiFi.
[Nexus 5X General] bobby janow:
Android Pay is now fixed and working.
[Nexus 5X General] loof13:
Viper

Have any of you successfully installed Viper on DP4?
[Nexus 5X General] PiousInquisitor:
Go to the link below and let Ian Lake know you like it better the old way.

https://plus.google.com/113100964747345710969/posts/5RndfKutz6Y

Then comment on the bug report linked below. We may be able to get this nonsense fixed for the final release

https://code.google.com/p/android/i... Priority Owner Summary Stars Reporter Opened
[Nexus 5X General] bobby janow:
Not I. Until twrp is working on an encrypted system I think you best forget it. Once N is released I think we'll get it back.
[Nexus 5X General] loof13:
I keep getting I/O error when I try installing the drivers
[Nexus 5X General] bluelinebrotha:
I got the OTA last night even though I manually flashed DP3 last time. Phone rebooted into TWRP and I missed out on the update. Now it won't come back :(
[Nexus 5X General] dmudd:
Are you saying the OTA won't come back or that your phone won't come back on? If you can boot into TWRP or the bootloader, you can just manually flash DP4 like you did DP3.
[Nexus 5X General] bobby janow:
You can't update with custom recovery.
[Nexus 5X General] atefi:
Still no root for DP4?
[Nexus 5X General] mitchdickson:
Um. You should probably stick to stock.
[Nexus 5X General] roofrider:
Which Google wakelock specifically? Google Services? Install a couple of battery/wakelock monitoring apps like BBS and GSam to check. I assume GPS was turned off and you still had wakelocks? A screenshot of the battery stats might help.
[Nexus 5X General] dml1851:
So anyone tried if supersu 2.74-2 works well with this version too? I'm unencrypted and twrp working fine
[Nexus 5X General] Ja_som:
On my encrypted it works well...
[Nexus 5X General] Ghost9867:
it work i already tried it ;D
[Nexus 5X General] dml1851:
Ok now that I'm rooted, anybody managed to get working some rro layers?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X General] rgerrans:
On DP4, Good news: Now Project Fi visual voicemail shows the transcription in the voicemail history.

Anyone else also running Android Wear? My Google Play Music disappeared off my Moto 360 Sport this morning. Curious if anyone else has seen this or if I need to see if I can find another culprit other than the upgrade?
[Nexus 5X General] bobby janow:
I'm not seeing Play music either. I don't use it but have been trying to sync it to my 360 Sport and no go.
[Nexus 5X General] k.s.deviate:
Layers working fine here
[Nexus 5X General] rgerrans:
Thanks for confirming it's not just me. I'll try to reset and re-associate tonight. Otherwise, I'll file a bug report.
[Nexus 5X General] loof13:
So I got Viper working on DP4. Here are the steps I followed to get it.

First flash the files from these links http://www.mediafire.com/download/9uo1j6h88x8o8z0/logd_replacement_permissive.zip and http://www.mediafire.com/download/6klkabmpa5h5xbf/add_permissive_boot.zip.

The first one replaces the "logd" file with a modified one. The logd file apparently makes the system boot into safe mode when the SELinux mode is changed. And the 2nd zip makes the Permissive mode persistent after every boot. All credits go to [MENTION=790321]bouchigo[/MENTION]. Go thank his post.

Then flash the zip from this link on twrp http://xdaforums.com/attachment.php?attachmentid=3667423&d=1456929834

You should have working Viper now
[Nexus 5X General] Joms_US:
Am I missing something here? I can see/play Play Music on my Nexus 5X with N DP4.
[Nexus 5X General] bobby janow:
Android wear is what you're missing.

---------- Post added at 01:26 PM ---------- Previous post was at 01:23 PM ----------

You lose systemless root and modify the system. That's not something I'm inclined to want. At some point we'll get systemless viper but not until twrp is fixed.
[Nexus 5X General] bouchigo:
You don't loose system-less root. The permissive script is actually injected into /su/su.d, and logd has nothing to do with root.

If you're worried about Android Pay, then there's no need to worry. I've got SELinux set to permissive with the modified logd, and viper.........with Android Pay working just fine.
[Nexus 5X General] bobby janow:
That's good to know. However, if I don't want selinux permissive I'm out of luck right? One other thing is if I'm systemless root with stock recovery I can't use twrp as of now. Have you tried this with Flashfire? If twrp is mandatory then those with encrypted systems are also out of luck. Nice job, however. Thanks for the efforts.
[Nexus 5X General] bouchigo:
You're not necessarily out of luck. If you don't always want to be running in Permissive mode, then just flash the logd replacement file (don't flash the zip that adds the permissive script to /su/su.d), and you can activate, or deactivate Permissive mode with a terminal emulator app, or with adb commands. I'm assuming you can flash the zip with flashfire, if not then maybe sideloading through twrp may work. I forgot to mention that if you use the twrp sideload method you will have to use an older twrp v3.0.0 should work. No need to flash the recovery, you can simply use fastboot boot twrp-v3.0.0.img(type the exact name of the .img file) in fastboot to temporarily mount the recovery to perform the sideload. Someone mentioned it the next page and it reminded me that I left it off of the post since most likely not everyone is aware you can do that.

For example, say you want to use Titanium Backup to restore your apps, then just flash the logd replacement file and reboot, then open the terminal app on your phone and type: su to get root privileges, then type setenforce 0 to set as Permissive; to check just type getenforce in the terminal emulator app and it will show you what you are running as.

If you want to go back to Enforcing after restoring your apps with Titanium backup then simply type su to get root privileges, then type setenforce 1 in the terminal emulator app, or simply reboot the phone.

Unfortunately Viper, and Titanium backup won't work without setting SELinux to Permissive on the Previews.

About Flashfire, I've never used it, and never looked into it, but I've heard of it. I can't really be much help to you on that front.
[Nexus 5X General] sireangelus:
Guys can someone point me to a zip to flash twrp or gain root access without having a pc? I do have unlocked phone. Let's just say that something went wrong with flashfire
[Nexus 5X General] noolis:
Flashfire is your magician.....
[Nexus 5X General] sireangelus:
It's works without root?
[Nexus 5X General] Ja_som:
No, only with root...

If you have TWRP, flash SuperSU, boot to system and flash factory image via FlashFire...

But, if I'm not wrong, TWRP can also flash system.img, so you can extract it from factory image on your device and then flash...
[Nexus 5X General] sireangelus:
How so you get twrp without root or a computer? Chicken and egg problem here?
[Nexus 5X General] Ja_som:
Oh, I misread it, sorry, I was thinking that you have TWRP :)

Then no, you can't flash nothing w/o TWRP or root or PC
[Nexus 5X General] atefi:
Can anyone tell me how to root DP4 and access twro please?
[Nexus 5X General] ttakacs:
Three steps:

1. Disable forced-encryption & decrypt (fastboot)

Flash the modified boot.img

Format the data partition

See: http://www.droidorigin.com/decrypt-nexus-5x/

2. Reboot and copy SuperSU 2.74 to internal storage

3. Root

Install TWRP using fastboot

Boot into TWRP and flash SuperSU 2.74

See: http://www.droidorigin.com/root-android-n-developer-preview/
[Nexus 5X General] pomhg:
fastboot boot twrp.img (version 2.8.7 or 3.0.0-0 won't hang but can't decrypt)

Click cancel then choose adb sideload then

adb sideload supersu.zip

This is how I got root, but the recovery remained stock.
[Nexus 5X General] Joms_US:
I just snapped 5-6 shots with HDR+, no slowdown and right on with AF and exposure so no problemo.
[Nexus 5X General] rgerrans:
Just did a reset on my Moto 360 and it didn't install Play Music so guessing a bug. I'll submit it.
[Nexus 5X General] bobby janow:
Root with cf-auto-root. Forget twrp until N release. Stock recovery is the way to go now. Don't decrypt and fall into the trap.

---------- Post added at 09:18 PM ---------- Previous post was at 08:57 PM ----------

Cf-auto-root is the only way to go. Don't play games.
[Nexus 5X General] roofrider:
What he's suggesting is interesting, does that method not work too on a encrypted device? fastboot boot twrp?
[Nexus 5X General] pomhg:
I searched last night but didn't find the cf-auto-root way, I got to say the way I mentioned is how I got root and it did work, no twrp flashed. Maybe cf way is more convenient and safer, I'll look into that later, thanks for the warning.
[Nexus 5X General] bhs73:
From PureNexus

Is it any way I can flash direcly from Pure Nexus or do I have to revert back to stock first?

Thanks
[Nexus 5X General] Giorgos Chatziioannou:
Here is a screen fresh out the morning 25% down. No i dont disable wifi/data/gps and i dont see why i should, all my previous phones and 5x never had problems with that. It started randomly while in dp3 and persists to restarts and formats... The only times i notice it smooths is when i dont have wifi, but i have not confirmed it
[Nexus 5X General] Androloid:
I have wakelock from Android system too, it's more than half of the time of whole battery life. I had it on MM also, but it disappeared after I installed latest Google Play services 9.2.56. In BBS there is partial wakelock called *backup* with long wake time, and it is still present after installing latest Play services.
[Nexus 5X General] Giorgos Chatziioannou:
You need to disable the phone backup. Its at the backup and restore in oprions

My services is at 9.0.84 ... Should it not find the update on its own?
[Nexus 5X General] blinkin:
What trap are you referring to? Except of not being decrypted (which doesn't help you much if your bootloader is unlocked) I don't see any other drawbacks?
[Nexus 5X General] Androloid:
I know that wakelock disappears after disabling Google backup, but I would rather not do that, it's important and useful feature of Android.

Yes, it should update on itself, but I did it manually, because it was a way to fix this wakelock in MM.
[Nexus 5X General] Giorgos Chatziioannou:
And yet it does not, the 2.56 version is 3 days out now and my phone is doing nothing about it. I hate doing manually stuff my phone should do auto, same deal with android updates.

Can i return my phone with the reason is a lazy f***er? :mad:

And i find backup pretty useless. Most important stuff are in cloud (photo, files) and the rest need to be downloaded again anyway
[Nexus 5X General] v1c70r:
For those who have the MRA (mobile radio active) bug, I'm on DP4 and I have a very decent battery. Anyone can confirm that bug is solved?
[Nexus 5X General] Giorgos Chatziioannou:
dunno how much it would help you, but check this thread

http://xdaforums.com/desire-eye/help/guide-fix-mra-bug-android-5-causes-huge-t3361893

-edit- i did not read correctly, seems like your problem is solved and just want confirmation :P
[Nexus 5X General] v1c70r:
Thanks for your tip but I've already tried it and it didn't work.
[Nexus 5X General] Joms_US:
I can get up to 8 hours SOT since DP2 so I guess it was resolved already back then? :D
[Nexus 5X General] v1c70r:
I have the bug on DP3 and it was very frustrating.

EDIT: It seems to be fixed by Google

"Fixes for issues reported by developers

A number of issues reported by developers have been fixed, including:

The active network state (NetworkInfo.getState() and NetworkInfo.getDetailedState()) might return incorrect values during some restricted background scenarios"

Source: https://developer.android.com/preview/support.html
[Nexus 5X General] bobby janow:
I know it is. I have a few things to do this morning but I'm going to delve into this later. Chainfire is leaning heavily towards stock recovery from now on and thus Flashfire has been developed. I'm not sure why this can't be done in that.

I do know that there is a vendor partition file that needs to be deleted in order for Viper drivers to install correctly or enable processing forgot which though. Not thrilled with changing to permissive but if it's only temporary it might be doable.

---------- Post added at 05:50 AM ---------- Previous post was at 05:49 AM ----------

Did you not find cf-auto-root?
[Nexus 5X General] sireangelus:
First, battery life is horrible. Qs too. But I must admit that app speed and reactivity is amazing, way better than any marshmallow. Was I the only one to notice that preinstalled chrome is 32bit?
[Nexus 5X General] bobby janow:
The trap I was referring to is decryption in order to have a custom recovery. Encryption does help even if your bootloader is unlocked as the data filesystem is unreadable without the proper pin. Generally speaking, there's not much anyone could do to your system with an unlocked bootloader if you have your data encrypted with a relatively strong password. Sure they can wipe it but then you just buy another phone and start over. PITA but you're data is safe.

---------- Post added at 07:31 AM ---------- Previous post was at 07:12 AM ----------

That is not entirely correct. Titanium backup works just fine enforcing. Now if Viper needs permissive that's another story, you might be right there. However, prior to DP3 which was my first preview build, I had viper working with enforcing on Pure Nexus no problem. I did have to modify the vendor partition but still had systemless root and AP working. I think it was called systemless viper if I recall correctly. And I do also believe it was you that created it. ;) So what has changed now requiring Viper to run in permissive mode?

http://xdaforums.com/showpost.php?p=65464645&postcount=325
[Nexus 5X General] sasank360:
This thread helps you. http://xdaforums.com/nexus-5x/development/rom-debloated-busybox-fast-stable-t3398617

You need to flash N preview bootloader, radio and Vendor image. Then immediately boot into recovery. Flash the N preview zip.

Simple as that. All files you need are in that thread. :good:
[Nexus 5X General] bobby janow:
https://autoroot.chainfire.eu/ Here you go. Just get the right version and make sure you have an unlocked bootloader and stock recovery. Run the batch file from your computer while the phone is connected and in bootloader. Reboot is automatic and then you have systemless root on the device. Just be careful as always. Read the page and the xda thread. I've done it a few times already and it works flawlessly.

---------- Post added at 07:44 AM ---------- Previous post was at 07:40 AM ----------

I'm not sure what that is but it's not a stock build for sure. I'd be careful with that one.
[Nexus 5X General] Oblox:
A shame you have to be unencrypted for autoroot.
[Nexus 5X General] Ja_som:
?

You can use CF Auto Root also on encrypted device...
[Nexus 5X General] Shyciii:
Which adblocker program works with N DP4? Anyone use it?
[Nexus 5X General] Ja_som:
AdAway
[Nexus 5X General] Oblox:
Chainfire needs to update his page then

it says on the first page from the link above

ENCRYPTION

Warning: If your device storage is encrypted, using CF-Auto-Root will wipe your data !
[Nexus 5X General] Shyciii:
Adaway doesnt work. Error message: Copying of hosts file failed.

Lot of people report this error message, so Adaway not good.
[Nexus 5X General] mitchdickson:
Lol it works. You don't know what you're doing.
[Nexus 5X General] Ja_som:
I rooted my encrypted N5X with DP3 (then I updated it with FF) with CF auto root and data was not wiped.

AdAway is the best and it works, I use it...

You need to flash AdAway systemless zip file...
[Nexus 5X General] Shyciii:
Nothing special. Downloading newest Adaway (2016 april 14). Install, andinstall host tapping button. It works with Marshmallow, or CM13, but N with DP4 dont works. I say again: many people have indicated that they do not work (see Adaway XDA).
[Nexus 5X General] Oblox:
Awesome, seems he does need to update his site then!

Do you have a link to systemless adaway at all?
[Nexus 5X General] Ja_som:
You can find it here on XDA

---------- Post added at 03:31 PM ---------- Previous post was at 03:31 PM ----------

You miss one step...
[Nexus 5X General] mitchdickson:
It works. You just don't know what you're doing. By the way, it is hilarious to me that you cite the thread that instructs how to use AdAway on N.
[Nexus 5X General] bouchigo:
Titanium backup does not work as Enforcing for me on the N Previews (neither does Viper). I have the 6P though, but it shouldn't make a difference for the 5X since it's the same OS version.

Pure Nexus is based on Marshmallow, not N. On Marshmallow Viper and Titanium backup work just fine with SELinux set to Enforcing, but that is not the case for the N Previews.

I'm not exactly sure what changed that caused Viper to stop working, but more than likely there was some kind of sepolicy change that requires not only Titanium backup to be updated, but also Viper needs to be updated. Viper definitely hasn't been updated in while; it's been 3-4 months now.
[Nexus 5X General] Shyciii:
Do not set an idiot when you do not even know me. The fact that you think it works, it is not sure that's true. Look:
[Nexus 5X General] mitchdickson:
Third time now: You are doing it wrong.
[Nexus 5X General] bobby janow:
Not true. (ninja'd like 4 times?)
[Nexus 5X General] bouchigo:
It does work, look at the OP in in this thread: http://xdaforums.com/showthread.php?t=2190753

Install AdAway v3.1.1 and flash the systemless zip.

Flash for systemless hosts file

This flashable zip preps your device so that AdAway can remain pointed to /system/etc/hosts yet never actually touch your /system partition.

A prerequisite for using this is having one of the SuperSu systemless root installed.

Download: AdAway_systemless_hosts_v2.zip :: shasum = 1bbd9ce73adb0a433995e14c4642e75ae03a9bef
[Nexus 5X General] bobby janow:
Titanium backup works enforcing. Been using it since DP3 with no issues whatsoever. You might want to try it again. So something with Viper will not allow it to run enforcing? Someone will figure out why I think. Your flash worked flawlessly on M.
[Nexus 5X General] Ja_som:
Did you read my previous reply???

It is incredible how some peaple are ingnorants...
[Nexus 5X General] bouchigo:
It doesn't work for me. I just tried restoring an app and it wouldn't do it until I went back to Permissive.

Screen captured it if you can endure the 2 1/2 minutes: https://www.dropbox.com/s/ql4ex3r5zvjne9u/2016_06_17_08_11_22.mp4?dl=0
[Nexus 5X General] bobby janow:
I endured it. I can't imagine what would cause that but I've never heard of that problem before. Have you? I mean I haven't been permissive in probably about a year and TiB has been working fine including on N. You are stock N right, unlocked, stock recovery?

---------- Post added at 10:53 AM ---------- Previous post was at 10:48 AM ----------

From my understanding you need to alter the system partition for it to work and therefore you break AP and SafetyNet. Is that correct? If it is then perhaps he's not doing it wrong but just doesn't want to alter his system. I actually ran into the same problem he did and bailed on Adaway for now. Bottom line is it doesn't work the way it used to with a simple apk install.
[Nexus 5X General] bouchigo:
Yeah, it's all over the place in the 6P threads; it may just be 6P specific.

I'm running stock N, unlocked, decrypted, and twrp.
[Nexus 5X General] bobby janow:
Oh, that must be it! We can't even get twrp to run unless you are decrypted whereas I believe on the 6P you can run twrp encrypted. I wonder if Titanium knows it? Well I'm sure they do and it will probably get fixed.
[Nexus 5X General] bouchigo:
Actually twrp doesn't work on the 6P unless /data is decrypted. The latest twrp 3.0.2-0 won't even load, it just stays stuck at the twrp splash screen. Certain older ones will load, but you can't access data unless decrypted...on N previews of course, not sure about M as I never bothered trying since I always decrypt anyway.
[Nexus 5X General] mitchdickson:
No, the bottom line is that it works and Android Pay does also.
[Nexus 5X General] mitchdickson:
See attached.
[Nexus 5X General] bobby janow:
Sounds great. How did you flash the zip files? There are 2 right? You used Flashfire?

---------- Post added at 12:04 PM ---------- Previous post was at 12:01 PM ----------

It worked fine on M. So you're in the same boat with respect to encryption. I believe that twrp will update once N is released. Until then if we want to remain encrypted twrp is off limits. Although it was said here that you could just boot twrp. Not sure I want to try that and chance a full wipe due to a hanging system.
[Nexus 5X General] mitchdickson:
All I did was follow directions from OPs and force systemless root. There seems to be a serious inability of many users to either read or comprehend what they read.

Force systemless, flash supersu, flash kernel, flash adaway systemless. I didn't use Flashfire as I used the terminal emulator in TWRP for the first step.
[Nexus 5X General] bouchigo:
You'll be alright just booting twrp, I do it on my Huawei watch all the time with no ill effects.

If you really want to stay encrypted then you can back up all the files from your phone that you want to keep, then:

1. In fastboot flash the boot.img that doesn't force encryption.

2. In fastboot format userdata.

3. Reboot the phone (your phone should no longer be encrypted).

4. In fastboot flash twrp.

5. Boot into twrp and flash system-less SuperSu.

6. Set your phone up the way you want.

7. Go to Settings>Security>Encryption and encrypt your phone once again.

7. In fastboot flash the stock recovery since twrp will do you no good now.

8. Done

It's a lot of work, but what good things aren't :good:
[Nexus 5X General] bobby janow:
lol. Well sorry, but that's just too much work for me. However, what I was talking about was the suggestion recently here that you could just fastboot boot twrp.img from bootloader. I wonder if that would work then flash and reboot back with stock recovery.

But even better is that supposedly you can flash a zip with stock recovery with Flashfire. Flar2 said that he did it on his 6P with N installed for his kernel and it worked. Someone else said it didn't. And it's getting close to beer:30 so it ain't gonna be me that tests it. :cyclops:
[Nexus 5X General] bouchigo:
Yeah, you can use twrp without actually flashing it; that method mentioned will just temporarily mount twrp. Like I mentioned in my previous post, I do it on my Huawei watch all the time, and it's the exact same thing on a phone. I thought you didn't want to do that, that's why I suggested that "extra work" post :good:

I installed flashfire just to see what options it has, and it seems like it would work since it has the option to flash zip files, and obviously root is needed, but I'm sure you already knew that.
[Nexus 5X General] Ja_som:
I have two issues...

1. when I enable battery percentage and then I go out and back to System UI tuner, battery percentage is set to default...

2. I can't connect to my WiFi with hidden SSID even if is saved from previous version, also when I try to add it manually, nothing happens...

Play Store was laggy, but after I deleted app data, it looks OK.