yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] gpvecchi:
Ehm, where's italian language?
[Nexus 5X Original Android Development] qtipbailey:
It's your PIN. Or if you've set a pattern unlock you figure out your PIN from the pattern:

123

456

789
[Nexus 5X Original Android Development] yanleites:
Tried now. Didn't work :( I use twrp 3.0.0.0
[Nexus 5X Original Android Development] qtipbailey:
3.0.0-0 doesn't work either. Use 3.0.0-1

https://dl.twrp.me/bullhead/
[Nexus 5X Original Android Development] yanleites:
But then I stuck on twrp logo....

BTW, I use android N.
[Nexus 5X Original Android Development] qtipbailey:
Oh. Can't help you there then. I'm on MHC19J.
[Nexus 5X Original Android Development] t3al:
TWRP doesn't boot on Android N for all devices. It hangs on the welcome screen.
[Nexus 5X Original Android Development] hachamacha:
[MENTION=912474]Dees_Troy[/MENTION] (or anyone that knows of an answer to this somewhat off-topic question):

First, many thanks for your work. I'm off on another device and that doesn't matter for this question. Can you ( and if yes ) "mark" a directory to be skipped during the nandroid backups?

I never want to backup my huge Titanium_backup folder and was wondering if you put a file (e.g. ".do_not_backup") in a folder, could you avoid backing that folder(s) up?

Many thanks,

and ... before I edit in another question 5 minutes from now, I'll just ask what I just was wondering about: I noticed that on my Galaxy Alpha with TWRP 3.0.x.x , that in total, I've got 14GB out of ~32GB used. When I make a nandroid backup with compression enabled, it uses 12GB. I've tried Philz and even the 2.6 and 2.7 versions of TWRP and they take about 5GB to make what appears to be the same backups. I'm wondering if I'm missing a setting? My device is "dead" to the public, out of production for a year or more, so I'm just asking here for lack of anyplace better to ask.

Sorry to interrupt: Carry on the good work.
[Nexus 5X Original Android Development] SlimSnoopOS:
1) No. Nandroid does not backup /sdcard which is where most devices default saving their data to. It is not backing up your TiBu backup folder, if so TWRP would also restore your pictures and videos when you delete them AFTER having included them in a backup days earlier. TWRP does a backup of /data which is where your downloaded apps usually are installed.

2) One TWRP backup shouldn't use 12 GB unless you have downloaded many apps with a large imprint. Do you mean 2 GB? TouchWiz is a large rom so a standard backup could be 5-6 GB. My Galaxy S3 backups were 4 or 5 GBs without compression and about 2 GB with compression.
[Nexus 5X Original Android Development] RusherDude:
So TWRP 3.0.1-0 doesn't include the fix from 3.0.0-1 for Hammerhead? [MENTION=912474]Dees_Troy[/MENTION] you missed it or declined adding it for some reason?
[Nexus 5X Original Android Development] qtipbailey:
It doesn't work for Nexus 5X (Bullhead) either. Talk on the TWRP Issues page on GitHub seem to indicate that decryption is broken for all Nexus devices. Maybe there'll be a 3.0.1-1?
[Nexus 5X Original Android Development] hachamacha:
Hi and thanks for the reply: I wasn't focused on this when I was asking, so sorry about the vague question: What I meant was in there but buried among a bunch of stuff that was incorrect.

My question was simply: Is there a way to force Nandroid "NOT TO BACKUP" a folder by putting a 'tell' file in a folder like ".do_not_backup"?

Thanks.
[Nexus 5X Original Android Development] yanleites:
You think 3.0.2.0 will work now ?!

Edit: OK, Doesn't work too...

---------- Post added at 08:05 PM ---------- Previous post was at 07:33 PM ----------

@Dees_Troy, What about Android N support ?
[Nexus 5X Original Android Development] churchey360:
I tried 3.0.2.0 (flashed .img in recovery) on my 5x with custom crDroid MM ROM and it wouldn't let me boot in recovery after i flashed it.. Had to use twrp app to install 3.0.1.0 again
[Nexus 5X Original Android Development] alfick3:
I flashed 3.0.2 from my recovery (think it was the 3.0.1) and once it was finished flashing. I rebooted the recovery. It worked for me.
[Nexus 5X Original Android Development] Shyciii:
Decryption function works with TWRP 3.0.2? Because 3.0.1 version was bad.
[Nexus 5X Original Android Development] TheBurgh:
Same result for me
[Nexus 5X Original Android Development] Zackptg5:
Has anyone else have the time 1 hour behind what it should be? I have the proper time zone and DST set. This issue is only present on 3.0.2 and not on the previous one
[Nexus 5X Original Android Development] alfick3:
Yep, mine too. Aside from my ocd kicking in, it's not that big of a deal.

Edit: so I noticed that my TWRP 3.0.2 for my Nexus 7 (2013) reflects the correct time.
[Nexus 5X Original Android Development] t3al:
Hello, I'm on mhc19q. I flashed twrp 3.0.2-0 the first time and chose to keep read only. But on the next reboot to recovery I see twrp again. I simply want to install supersu, but not a custom recovery so I can get the OTAs (while using FlashFire to flash zips/otas). I tried to "fastboot boot recovery twrp-3.0.2-0-bullhead.img" but I get an error. Any workarounds for this?
[Nexus 5X Original Android Development] piccit:
Since you've already flashed it, you'll have to flash stock recovery to go back
[Nexus 5X Original Android Development] t3al:
Thanks. I did that and worked fine. At the end though I clean installed again and rooted with CF-auto-root.

(No disrespect towards the devs of TWRP, just wanted to try it without a custom recovery installed)
[Nexus 5X Original Android Development] schaggo:
Well then, flashing is not what you should have done, but booting twrp insted.

No disrespect towards you, but this is a case of user error due to nescience.

For next time:

fastboot boot {twrprecovery.img}
[Nexus 5X Original Android Development] t3al:
I've mentioned that I got an error when "fastboot boot". Thanks anws
[Nexus 5X Original Android Development] schaggo:
Must have overread. Sorry for that.

"An error" is generic, could be anything and to help is impossible. You must give the exact error, which component it throws, where exactly it occured and describe as precise as possible what you do/did to get there and what resulted from that. And if it is reproducible (on your end).
[Nexus 5X Original Android Development] AJ:
3.0.2 doesn't work with n preview 2 ?
[Nexus 5X Original Android Development] Venthe:
Same problem here, Nexus 5x, just flashed preview 2 (But the same problem was present on preview 1) - flashed TWRP 3.0.2 . TWRP CANNOT decrypt pattern-locked partition (Haven't tried with other configurations)

Kernel: 3.10.73-gd1605d7

Build 30.03.2016

Comp: NPC91K
[Nexus 5X Original Android Development] yanleites:
Twrp doesn't support android N yet. Only after final release.
[Nexus 5X Original Android Development] Zackptg5:
Whenever I have a layers theme applied and then back it up with the TWRP 3.0.2, the password/pattern doesn't work on restore again. It seems to work fine when no themes are applied though
[Nexus 5X Original Android Development] Pollie81:
I had the same thing, i didn't know it's only when you have layers applied though. I restored a backup which went just fine but i couldn't unlock the device anymore..
[Nexus 5X Original Android Development] KnalRob:
Had the same issue with 3.0.1 had to delete locksettings.db in data/system via file manager in twrp to bypass it. Before you backup remove security.
[Nexus 5X Original Android Development] xneuromancer:
Is the issue with nandroid overheating the phone fixed yet?
[Nexus 5X Original Android Development] davidthefrogman:
How is that something you can fix? It's a huge file transfer.
[Nexus 5X Original Android Development] xneuromancer:
Considering this never happened in 2.8.x.x, I would consider this a regression.
[Nexus 5X Original Android Development] shindiggity:
Never got hot in any prior build and it takes a lot longer to restore in the latest build!
[Nexus 5X Original Android Development] TheBurgh:
Mine doesn't heat up but restore feature does take longer.
[Nexus 5X Original Android Development] AquilaDroid:
I have the same issue with slow restores - nearly three times longer than before and the backup times. (Nexus 5x)
[Nexus 5X Original Android Development] freakzapster:
Any solution on restoring nandroid phone doesn't unlocks whatever pin or password we try ???

Whats causing this???

And how should i avoid this.

We take nandroid for our safety.

But this is reverse.

It's creating problems.
[Nexus 5X Original Android Development] AquilaDroid:
Look here: http://xdaforums.com/nexus-5x/help/wrong-pin-try-to-restore-nandroid-backup-t3245267
[Nexus 5X Original Android Development] AnrgKrshn:
Hey I just had a question. I fastbooted the recovery, but when I go into bootloader and go into recovery mode, it still takes me to the android recovery instead of twrp. Is there a key combination other than pwr+vol down to boot into twrp? I'm coming from an Xperia Z1 where all I had to do was mash vol up during boot. Any help is greatly appreciated.

I'm on stock MHC19Q with an unlocked bootloader. I know the fastboot environment and everything is functional, and it showed that the partition was flashed.

Once again, thanks for your help.
[Nexus 5X Original Android Development] Argeddion:
When you are in the bootloader, which should be the case, if you flashed the recovery, you only have to use the volume keys to select "recovery" and hit power.

If this does not work plaese describe step by step what you are doing. Maybe you dont use the right commands (fastboot flash recovery Twrp.img) or something like that.

Have you allowed the recovery to write to the system partition? Otherwise a boot into the system will replace twrp with stock recovery. Hope I could help (as I am only a noob)

Edit: No there is no other key combo to reach recovery. But you can use fastboot boot recovery
[Nexus 5X Original Android Development] AnrgKrshn:
AH, I think I've identified what I did wrong. After I flashed the recovery, I directly gave the fastboot reboot command, which rebooted me into the system. That might have over written the recovery again.

I should also mention I'm not rooted. Do I need to be rooted to get TWRP to stick?

Am I to understand once I flash the recovery, before I reboot, I should access the recovery partition? What then?

Thanks for all the help :)
[Nexus 5X Original Android Development] schaggo:
No. Unlocked Bootloader is only criteria.

Using the slider (with the warning message etc.) on first boot of the recovery patches the system to stop it overwriting TWRP with stock recovery. Has to be done after each complete reflash of the system partition, as the patch gets lost when reflashing system.

Also note that both - having TWRP and a patched system partition - breaks OTA. You need to download and flash (and subsequently patch) the full stock images manually once they make it to the google download page each month.
[Nexus 5X Original Android Development] razrlover:
Mine restore of back ups takes way longer too. Glad to hear it's not just me
[Nexus 5X Original Android Development] AnrgKrshn:
Thanks man, so I'll fastboot flash the recovery img and then I'll send it the fastboot boot recovery command and use the slider to patch the system, right? Thanks for all the help :)

Consequently, if it's okay to ask here, does using a custom kernel (say Elemental X) Make it so that the system doesn't over write the recovery?

That's enough OT discussion from me, thanks a ton for all the help :)
[Nexus 5X Original Android Development] Zackptg5:
[MENTION=912474]Dees_Troy[/MENTION]

So update on the passcode not working after restore with 3.0.2 issue: It only occurs when a layers theme is applied. When there's no layers theme applied, passcode works fine. Finally got around to testing a CMTE rom and found that CMTE themes work fine too. So I guess this is only a layers issue (at least for me)
[Nexus 5X Original Android Development] makbomb:
Hi guys! Nexus 5x here, unlocked BL, flashed TWRP 3.0.2-0, and when I try to wipe all but internal, I get "Failed to decrypt data", and "Unable to wipe". I hit "cancel" upon the first TWRP boot when it asked for a password. Is this why? Do I need to enter a PW in order to use TWRP? And is yes, what password am I entering? Thank you SO much! I'm excited to get to flashing on my new 5X :)
[Nexus 5X Original Android Development] Zackptg5:
Sounds like your data partition was encrypted (which I think is default for stock). My guess is that the password should be the same as your last screen lock used. I'd just format it via adb to decrypt it. Step 3 here: http://xdaforums.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930

Make sure you have everything on your internal storage backed up because I'm pretty sure it'll get wiped (it's been a while since I've done this)
[Nexus 5X Original Android Development] defffizz:
Can radio be flashed through Twrp?
[Nexus 5X Original Android Development] alfick3:
Nope. I tried the other day. There isn't an option, when you select image instead of zip, to flash radio. Ya gotta do it the fastboot way.
[Nexus 5X Original Android Development] Shyciii:
The TWRP 3.0.2-0 version is terrible: Extremely slow in backup and restore operation.
[Nexus 5X Original Android Development] shindiggity:
Yeah it is terrible but I don't see a fix anytime soon.
[Nexus 5X Original Android Development] Commander Cody:
You can try to disable the backup compression. That made it much faster for me. But of course backups get bigger.
[Nexus 5X Original Android Development] el_charlie:
It boots fine for me on DP3 but I can't unlock my data partition (It doesn't accept my password).

I just want to root but I'm afraid to use CF autoroot because it's based on DP2. I don't know if it breaks something.
[Nexus 5X Original Android Development] el_charlie:
I didn't flash it, I just boot it from fastboot. I haven't tried CF Autoroot yet.
[Nexus 5X Original Android Development] psycho_asylum:
I couldn't get TWRP to boot with fastboot or flashing. I'll just sit here patiently since I have no idea how to help.
[Nexus 5X Original Android Development] SlimSnoopOS:
I am not running N but over in the 6P forums, I picked up a few tips. TWRP only works with N on decrypted devices. Fastboot flash TWRP and DP3 modified boot from this thread. Next, fastboot format userdata (this step erases

EVERYTHING

from the phone) then boot into TWRP and flash root if you want.
[Nexus 5X Original Android Development] psycho_asylum:
Unfortunately, I flashed the boot.img and twrp and it doesn't boot. It just sits at the TWRP splash screen.

edit: Did fastboot format cache and now TWRP boots.
[Nexus 5X Original Android Development] mitchdickson:
The problem is that you booted into Android before flashing the kernel. Booting will encrypt the device with the stock kernel. You need to stop the first boot and go back into fastboot.
[Nexus 5X Original Android Development] psycho_asylum:
I didn't try to boot into Android at all after flashing the boot.img. I already had userdata erased, but TWRP wouldn't go past the splash screen. I formatted cache and it went into TWRP just fine. Copied SuperSU over and flashed it. I'm booted and restored using TitaniumBackup.
[Nexus 5X Original Android Development] @ChefHooah:
I'm running stock android (6.0.1), encrypted (without a pin), with root, TWRP 3.0.2-0 and Xposed. I recently did a Nandroid backup (Boot/System/Data/EFS) successfully. Until I tried to restore the the Nandroid Backup. After I successfully restored the Backup the phone rebooted and started. But is started like a Factory Image. It was a fresh install. All my apps and settings where gone. What is the problem here?
[Nexus 5X Original Android Development] Darke5tShad0w:
Disregard.
[Nexus 5X Original Android Development] SlimSnoopOS:
No, it is not. This is the TWRP thread. Maybe you have an extra tab open?
[Nexus 5X Original Android Development] Darke5tShad0w:
Damn it, yes I did, Sorry.
[Nexus 5X Original Android Development] shindiggity:
Is it a BusyBox problem.
[Nexus 5X Original Android Development] schaggo:
http://xdaforums.com/showthread.php?t=1929852
[Nexus 5X Original Android Development] schaggo:
You have Busybox 1.24-2. As the other thread says. Instead of Google's toybox.

Edit: or is your problem TWRP-only and not system?
[Nexus 5X Original Android Development] schaggo:
Yes, these things will be fixed after flashing busybox. Adaway (and some other apps) will work after that, verified by myself back on preview 1.
[Nexus 5X Original Android Development] Jubbard:
LG G3

Could someone compile a version for the LG G3 vs985 for the newest twrp for me? There is already one out there but it is an unoffical version and it it already themed a different color. If someone could that would be amazing!
[Nexus 5X Original Android Development] Midomad:
I think you're asking in the wrong section!
[Nexus 5X Original Android Development] Xdevillived666:
Have to sideload N again using images at google:-/
[Nexus 5X Original Android Development] pkelly517:
fastboot
[Nexus 5X Original Android Development] scooby25:
Im stuck on twrp logo , im using android N , can someone help me out , thx

Trimis de pe al meu Nexus 5X folosind Tapatalk
[Nexus 5X Original Android Development] SlimSnoopOS:
You must decrypt by wiping internal storage and installing a modified boot or custom kernel. Go into the bootloader then from a computer, use fastboot and type "fastboot format userdata" to get it working again. This will completely erase EVERYTHING off of your phone. This also removes encryption. Next "fastboot flash boot" the modified boot.img from below

http://xdaforums.com/showthread.php?t=3360574

This step keeps encryption disabled and will allow you to access TWRP. The stock boot.img forces encryption on boot so failing to do this will put you back at square one.
[Nexus 5X Original Android Development] sasank360:
Hello everyone. I am using this recovery on my Nexus 5X. It works great, no issues. However as you guys know, 5X does not have sd card slot,

using an usb disk is sometimes the way to go. I have a type-C otg cable that works when 5X is booted into android system. I get a pop-up saying,

Explore this ext storage device. No problems when android is up and running. However the same usb disk does not work while i am in TWRP recovery.

While in recovery, the led on the usb disk lights up, so the device is certainly powered. Is there anything we need to do ?

I want to flash roms, kernels and supersu zips from the usb disk. Does 5X twrp support otg ?? Thanks in advance.
[Nexus 5X Original Android Development] netinetinet:
for me work, with this USB OTG

http://www.ebay.co.uk/itm/191781308730?_trksid=p2057872.m2749.l2649&ssPageName=STRK:MEBIDX:IT
[Nexus 5X Original Android Development] sasank360:
Can you tell me the path where the usb disk is mounted ? like /storage/usbdisk or something...
[Nexus 5X Original Android Development] dariett:
I've just bought the 5X.

I started the twrp to backup (after unlocked it) and I found a lot of partition (with my N4 it was more simple).

Which partition a need to select to make a backup?

Someone know a guide where is explained the meaning of all the partitions?

Tnx
[Nexus 5X Original Android Development] netinetinet:
boot, data, system, vendor
[Nexus 5X Original Android Development] herBosaurus:
Even with the latest version, when restoring a backup that had my passcode and fingerprint lock set, it wouldn't let me unlock the phone. Had to remove some values in recovery following a guide...so safe bet to just remove it next time
[Nexus 5X Original Android Development] tjpthomas:
So lost here... I have just installed latest twrp (twrp-3.0.2-0-bullhead) on my N-version nexus 5x (release NPD90G). I have set a screen lock pin and it is also required upon bootup... When I go to recovery, I am unable to get throigh the Trying decryption screen even though I am using the screen pin (4 digits)... it just sits there and nothing happens... any help... I really would like to be able to flash zip files....
[Nexus 5X Original Android Development] Stevica Smederevac:
I believe twrp can't decrypt on N.
[Nexus 5X Original Android Development] tjpthomas:
Any hints on how to flash zips on N??
[Nexus 5X Original Android Development] Stevica Smederevac:
No, i can't give you the right answer since i didn't try N.
[Nexus 5X Original Android Development] Darke5tShad0w:
Use chainfires app flashfire
[Nexus 5X Original Android Development] dml1851:
Get rid of encryption.

Flash non force encrypt boot.img from fastboot

Fastboot format userdata

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] bobby janow:
Awful suggestion.
[Nexus 5X Original Android Development] schaggo:
Well, TWRP can't handle N encryption.

What else is left to do, just short of not doing anything at all? Exactly, decrypt the device and lose everything not backed up, which is exactly what's suggested further up.
[Nexus 5X Original Android Development] dml1851:
I'd say effective suggestion, bit I understand u (I guess)

Unencrypted device its well... Not encrypted anymore so more vulnerable

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] ulxerker:
[MENTION=912474]Dees_Troy[/MENTION] any idea when we can expect a new TWRP version that handles N encryption? as soon as N has been released officialy I assume?
[Nexus 5X Original Android Development] pbanj:
my device is unencrypted as no matter what i tried twrp couldnt decrypt it. im not on n either.
[Nexus 5X Original Android Development] atefi:
If you have rooted you can use flashfire.
[Nexus 5X Original Android Development] myawan:
You mean flashfire can be used with stock recovery? Nandroid backup supported?
[Nexus 5X Original Android Development] atefi:
Yes.Yes
[Nexus 5X Original Android Development] Manumission:
I'd like to re-up this question, because it never got answered and because I was also able to make a "backup" with a similar setup (except I don't have Xposed), and now I am wondering if I try to restore whether I will find myself with a wiped phone. I had tried to make a backup several times - it never worked (the error message said "unable to mount storage"; strangely, I *was* able to backup the EFS folder) until I removed all lockscreen security from the phone. After that, I was able to make the backup.

Do I have a proper backup here? Or should I proceed to go ahead and decrypt the phone and make another backup, just to be sure? Apologies in advance if the question has in fact been dealt with elsewhere - I've just come from the Nexus 4, which was the easiest phone ever to deal with.
[Nexus 5X Original Android Development] ed2975:
Android N

FYI guys,

I read through about the issues obvs until they update to decrypt N data you cant access data inside twrp, but what about the workaround of NOT DECRYPTING DATA and sideloading? I have installed TWRP and rooted with SUperSU 2.76 via sideload and that got me rooted on N which is what i wanted. Unsure about feasibility for flashing custom kernels or rom but at least you can get root access and start pulling apart the insides of N.
[Nexus 5X Original Android Development] dog121:
Use flash fire to install zip mods etc that's what I use in dp5 I only rooted via cfauto root ...
[Nexus 5X Original Android Development] petrus764:
Now that N is out in its final form I'm tempted to flash it.

Even if twrp cant decrypt N, can I still use adb via twrp to pull and push a new hosts file to system/etc?

I don't really need nor want root on N, but I'm reluctant to install N without being able to use adblock.
[Nexus 5X Original Android Development] The1nonly1:
What does the new 3.0.2-1 twrp for Nexus 5x (bullhead) fix? Can this now decrypt the data partition?
[Nexus 5X Original Android Development] SlimSnoopOS:
Just support for Android 7.0. No big deal :eek::victory::victory::victory:
[Nexus 5X Original Android Development] DrStrangelove41:
Yeah, it fixed the freeze on the splash screen for me. I flashed it with Flashfire.
[Nexus 5X Original Android Development] pkadavid:
It fixed the freeze, but when I tried to flash SU, it didn't stick.

UPDATE: TWRP isn't sticking, either. When I try to get back into recovery using power + down, it goes to a screen with a "no commands" error.