yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] meteora:
Missing TWRP folder

I just did a fresh and clean install of 5.0 using Google's factory images (wiped everything). Then I used Chainfire's autoroot and then i flashed TWRP v.2.8.1.0.

After restoring my apps etc I wanted to take backup of my system using TWRP and it went ok in recovery, but now I can not see the TWRP folder in the root of my sd card. I have seen the "0" folder problem in preview build (i.e. restorrecon -FR /data/media/0) and no this is not the same problem, cause i can see my sd card but the twrp folder is missing.

p.s.: 1) there is a 0.0 byte TWRP file in the root of my sd card when browsing with ES explorer but i can not open and/or delete it.

2) TWRP identifies the backup but I was scared to restore it, maybe it's corrupt.

3) from the free space on my device it seems that the backup is not there. :confused:
[Nexus 5 Q&A, Help & Troubleshooting] mikka06:
This is exactly what I did and I'm in an identical situation.
[Nexus 5 Q&A, Help & Troubleshooting] mymusicathome:
Running into the same issue on my n5, n10, and roomates n7 2013. No issues prior to lolipop making backups but since upgrading using Google factory images i am unable to see backups as folders. Only seeing backup name as a file. Using the restore function in recovery shows the backup so i think it still works... Just looks different as a single file with 0.0 bites instead of a folder like in KitKat. I'm using the latest twrp on all devices
[Nexus 5 Q&A, Help & Troubleshooting] Skarafaz:
Just flashed Lollipop factory image, rooted and flashed twrp.

I can see my sdcart, bu no TWRP folder in it. I can see this folder just from recovery, backup and restore work fine.

Setting SeLinux tu "permissive" seem to solve the problem. Any way to fix thjis without modifying selinux mode?
[Nexus 5 Q&A, Help & Troubleshooting] jacknicholson:
Use a working root file explorer (like the aptly titled Root Explorer) and navigate to /data/media/0/. You'll find your TWRP folder and backups there.
[Nexus 5 Q&A, Help & Troubleshooting] meteora:
ES file Explorer IS a root explorer. still no luck. Please don't shoot something in the air when you don't actually know anything!
[Nexus 5 Q&A, Help & Troubleshooting] jacknicholson:
You'll notice that I said "working root file explorer", which, unfortunately, excludes ES until it gets updated. Root Explorer will do the job.
[Nexus 5 Q&A, Help & Troubleshooting] meteora:
I just installed Root Explorer and yes i can see the TWRP folder, BUT if it's ES's problem then why I can't see the folder when I connect my phone to the PC with cable, I used to see the folder there before but now I can't. BTW, sorry for my misunderstanding of your previous comment ;)
[Nexus 5 Q&A, Help & Troubleshooting] Jax Teller:
[MENTION=2872010]rootSU[/MENTION] I think I have the same problem.

I can see my nandroid backups in /data/media/0 but not in /storage/emulated/0.

All my other files or folders are identical in /data/media/0 and /storage/emulated/0.

The only thing that is missing is TWRP folder.

Do I need to run this command?

And from what terminal? TWRP terminal or terminal emulator in Lollipop?:confused:

Is that twrp's fault or Lollipop's?

Thanks in advance man.:D

And for the record, I flashed the factory image, not a zip.
[Nexus 5 Q&A, Help & Troubleshooting] Skarafaz:
Same here! I guess it's something related to permissions.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Hmm that's an odd one.

I'd take the backup folder off using adb and put it back using android MTP and see what happens.
[Nexus 5 Q&A, Help & Troubleshooting] Jax Teller:
I think a lot of users have the same problem.

Whatever happens to /data/media/0 while booted in TWRP doesn't show in /storage/emulated/0 later.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
TWRP uses /data/media/0. I didn't know you'll could see some and not others.

Run restorecon from an android terminal emulator and see what happens.

FYI, all my backups show up
[Nexus 5 Q&A, Help & Troubleshooting] Lownita:
Same for me. Maybe this is even intended to protect the files?
[Nexus 5 Q&A, Help & Troubleshooting] Jax Teller:
I'll try it.

Thanks [MENTION=2872010]rootSU[/MENTION]

I thought about that also.:)
[Nexus 5 Q&A, Help & Troubleshooting] Jacktheskipper:
Just a quick question, anyone know how to extract the stock recovery from the OTA update.zip?
[Nexus 5 Q&A, Help & Troubleshooting] ironia.:
and why???

you can find it into the factory image
[Nexus 5 Q&A, Help & Troubleshooting] Jacktheskipper:
Sorry, was just curious ... whatever, thanks nonetheless!
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Ota do not contain full images. Just patches to existing ones.
[Nexus 5 Q&A, Help & Troubleshooting] Jacktheskipper:
thanks a lot, that's what I was curious about!
[Nexus 5 Q&A, Help & Troubleshooting] Cryptecks:
FWIW, I was having this same issue (TWRP folder only showing up in /data/media/0 but not on my "emulated" storage [and therefore not showing when connected over MTP]) on my Nexus 7 2013, and running the command above in a terminal emulator and then rebooting my tablet worked perfectly to get the folder showing up again. It's now visible in the emulated storage directory and when connecting to my PC, just like it was on KitKat.

Thanks rootSU from tablet land!
[Nexus 5 Q&A, Help & Troubleshooting] Skarafaz:
Works on Nexus 5! Thanks
[Nexus 5 Q&A, Help & Troubleshooting] adrman:
Thanks. That fixed the problem up for me. Now on to searching about the next issue, the time and date is borked for the moment in TWRP.
[Nexus 5 Q&A, Help & Troubleshooting] adrman:
OK, search isn't revealing anything. Is anyone else having the old 1970 time and date bug with twrp & lollipop? I'm on the latest bootloader, have tried reflashing the twrp img and also deleting the twrps file.
[Nexus 5 Q&A, Help & Troubleshooting] dzyubuk:
TWRP backup

Who can make a backup of 5.0 Lollypop for TWRP? I need it very much!
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
Yea u can

Sent from my Android 5.0 Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] SpaceGooner:
Sorry I now realise I should have posted this question here instead of the TWRP dev thread...

I had the issue many have reported where I couldn't see my TWRP nandroid backup in a file explorer or via MTP after I booted the system. I tried the restorecon... terminal emulator solution that has been recommended in a few threads and lo and behold my backup was visible again. Since performing another TWRP backup however, that one was also invisible in my file explorer and via MTP connection. Here's the thing - the first backup was still completely visible though. Once again the restorecon solution worked and my second backup became visible just like the first.

So here's my question... is this an issue with TWRP in that it's not writing files to the sdcard correctly so the restorecon solution will be required following every TWRP backup I make? OR is the issue related to some sort of problem that occurred when I upgraded to Lollypop. Will a factory reset prevent future TWRP backups from being invisible? My dilemma is I don't want to wipe my phone and set it up again only to find I have the same issue.

Hope that makes sense.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
The answer is we don't know.

All my backups show up, so maybe its 2?

Perhaps you could be kind and test for us if you have the time?
[Nexus 5 Q&A, Help & Troubleshooting] SpaceGooner:
Thanks for your reply. Hmm definitely something weird going on here. I'll try the factory reset option tomorrow evening and report back if it makes a difference or not.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Thanks. It would be most helpful.
[Nexus 5 Q&A, Help & Troubleshooting] GldRush98:
Don't waste your time.

The same thing happens. I just went through this yesterday. It happened to me immediately after a complete factory reset. It's some incompatibility with how twrp is writing files and Lollipop. Whether it's an ownership thing, permission thing, or selinux thing is yet to be determined.

---------- Post added at 09:23 PM ---------- Previous post was at 09:20 PM ----------

1) Have you made any backups from recovery since updating to lollipop?

2) Have you switched your selinux mode from enforcing to permissive?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Yes to both. Not sure how it can be selinux though as the ramdisk from the android kernel isn't running in recovery.

If it happens to you, perhaps flash permissive and see if the issue goes away.
[Nexus 5 Q&A, Help & Troubleshooting] adrman:
I'm also seeing the same problem.

---------- Post added at 11:06 PM ---------- Previous post was at 10:43 PM ----------

I just flashed Hybrid Kernel and now I'm seeing all nandroids. I was using the stock kernel from Rastapop.
[Nexus 5 Q&A, Help & Troubleshooting] Jax Teller:
I had the same problem. I did nothing to fix it and suddenly yesterday TWRP folder appeared in /storage/emulated/0. lol
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
What are the 2 data ext4 files relevant to? As i seem to now have backups that are way larger than before?

Sent from my Android 5.0 Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] Lownita:
This is true. Restorecon makes the backups show up, but as soon as TWRP writes anything new, it is invsible again. I flashed stock L coming from stock 4.4.4 via flash-all.bat, rooted with cf autoroot and then flashed elementalx kernel. Nothing fancy. One could execute restorecon from an init.d script on boot, but I think that is not the greatest solution.
[Nexus 5 Q&A, Help & Troubleshooting] GldRush98:
Man, I wish I knew about the restorecon command on Friday. Would have saved a ton of time.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
It breaks it into chunks.
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
Sorted it, compression wasn't ticked! Doh

Sent from my Android 5.0 Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Makes sense. Mine still breaks into chunks but admittedly smaller.
[Nexus 5 Q&A, Help & Troubleshooting] AtEExll:
Someone have a bug with clock in to TWRP 2.8.1.0??

I put the time zone in TWRP settings, but is incorrectly.

How can I do a clear install?

I must delete some files for doing clear TWRP install?

Thanks in advance.

Best regards.

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Q&A, Help & Troubleshooting] adrman:
Does your rom have TimeService.apk in /system/app/?
[Nexus 5 Q&A, Help & Troubleshooting] AtEExll:
I'm on Latest version from Android 5 Lollipop and not found this TimeService.apk... I asking to the developer.

Thanks for give me one way.
[Nexus 5 Q&A, Help & Troubleshooting] adrman:
That's most likely the issue then.
[Nexus 5 Q&A, Help & Troubleshooting] Lownita:
Does the problem with invisible folders still exist in 2.8.2.0?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
I'd you have the issue, it would be easy enough for you to test.
[Nexus 5 Q&A, Help & Troubleshooting] SpaceGooner:
The problem is fixed for me in 2.8.2.0. Just ran a quick EFS backup and it's visible as it should be in my file manager now I've booted system.

Er, scratch that. I'm now getting the problem others are reporting where 2.8.2.0 only starts properly the first time after flashing it with Flashify. The second time I tried, it booted system following the splash screen.

Oh well back to the drawing board...
[Nexus 5 Q&A, Help & Troubleshooting] rouneh:
also had the problem of fastboot flashing 2.8.2.0, fastboot flashing 2.8.1.0 works fine..
[Nexus 5 Q&A, Help & Troubleshooting] Nairu86:
Can't flash 2.8.2.0 version with Flashify. 'unable to write on SDCARD. reboot your device to fix it'. I'm on Android lollipop and ofc i've rooted device. Any ideas?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Can YOU create any files on sdcard yourself? Through a file manager o whatever?
[Nexus 5 Q&A, Help & Troubleshooting] Nairu86:
Yes, I can, through file manager and various downloads i've done. (i've just flashed a ROM without any problems).
[Nexus 5 Q&A, Help & Troubleshooting] cristian.pana:
Hello friends,

Yesterday by mistake a clear android OS (4.4.4) from my Nexus 5 with teamwin recovery. I have no backup, nothing. How to install kitkat back or lollipop because it not working with Terminal Comand, say: flash-all.bat not exist and with Install say: blabla.zip don't exist or something like that. Teamwin not supporting .tgz files? Because .zip cant be copied on my device.
[Nexus 5 Q&A, Help & Troubleshooting] guitarec:
Got my wife a refurb replacement for her N5. Coming from stock rooted ROM (4.4.4), TWRP 2.8.0.1, hardware D820(E). I make a full backup (minus EFS) to otg-usb (Micro USB micro SD card reader).

Refurb unit (hardware D820(H)) shipped with 4.4.2, flashed 4.4.4 factory image, flashed TWRP 2.8.0.1. When I boot into recovery and try to restore, it does not see the backup files. Tried using the file manager to copy the otg-usb /TWRP directory to the /sdcard directory on device, and not seeing it there either.

I've tried to restore with and without moving the SIM card to the new device, but it seems to have no effect. FYI, in TWRP's file manager, I can see the various backups.

---------- Post added at 10:54 PM ---------- Previous post was at 10:22 PM ----------

Derp - nevermind, found a post somewhere detailing SN matching for restores to show up.
[Nexus 5 Q&A, Help & Troubleshooting] Sly_67:
I'm back to 2.8.1.0!

Can't boot to recovery, only TWRP splash screen and booting in the system. I'm on 4.4.4 Am I doing something wrong or 2.8.2.0 doesn't work properly?

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] GldRush98:
There are a ton of other people with the same issue on 2.8.2.0. I am staying on 2.8.1.0 for now as I'd rather have a mostly-working recovery than a non-working one ;)
[Nexus 5 Q&A, Help & Troubleshooting] SyCoQC:
1) stock lollipop rom, rooted CF-Auto and had twrp 2.8.1.0 - everything was fine

2) used app to install 2.8.2.0; reboot to splash screen, then proceeded to normal boot (twrp not working)

3) used fastboot flash 2.8.2.0; reboot to splash screen, then proceeded to normal boot (twrp not working)

4) fastboot flash 2.8.1.0 - everything is fine again !

:confused:

We'll have to wait for an update I guess
[Nexus 5 Q&A, Help & Troubleshooting] mister_no:
I had TWRP 2.8.1.0 and SuperSU 2.23. First I flashed SuperSU 2.30 and after reboot also TWRP 2.8.2.0. It seems everything works fine.

Thanks vercety974!
[Nexus 5 Q&A, Help & Troubleshooting] Sly_67:
I disabled mount/MTP in 2.8.1.0, flash 2.8.2.0 with flashify and everything works. Now I can boot in 2.8.2.0 recovery.

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] id09542:
I can confirm success doing this
[Nexus 5 Q&A, Help & Troubleshooting] barclac:
How do you disable tmp,you've lost me.
[Nexus 5 Q&A, Help & Troubleshooting] Sly_67:
Go to mount and disable MTP

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] barclac:
OK got 2.8.2 working at last,flash SuperSU,disable mtp,reboot, now I used flashify to download recovery IMG,and let flashify do the rest,it works, woopy.
[Nexus 5 Q&A, Help & Troubleshooting] hai_kt:
[MENTION=4649127]barclac[/MENTION]

1st, dowload and copy 2 file in attacment to sdcard:

2nd, flash twrp 2.8.1.0 (with fastboot, flashify or twrp manager), reboot to twrp recovery, flash UPDATE-SuperSU-v2.36.zip file only.

3rd, boot to system, flash twrp 2.8.2.0 with fastboot, Flashify, or twrp manager

(Or after flash 2.8.1.0, reboot to system (important) and reboot to twrp recovery again, flash twrp 2.8.2.0)

You can replace UPDATE-SuperSU-v2.36.zip with latest supersu v2.3.7

Tested. Done.
[Nexus 5 Q&A, Help & Troubleshooting] barclac:
Thanks mate but already got it working, as I explained above, but thanks anyway.
[Nexus 5 Q&A, Help & Troubleshooting] jacknicholson:
Anyone's screen not timing out with 2.8.2.0? From the recovery.log:

I:Skipping screen timeout threads: TW_NO_SCREEN_TIMEOUT is set

I couldn't find any related errors. This is, of course, with the appropriate settings checked in TWRP. I tried toggling the timeout for kicks, but no dice.

I've seen this bug a few times before, with various versions across various devices (running a search in the main N5 thread will confirm just as much), so I'm not particularly concerned. That said, it's always nice to know if others can report similarly. ;)
[Nexus 5 Q&A, Help & Troubleshooting] KemikalElite:
I flashed 2.8.2.0. When I reboot into recovery it loads the teamwin splash then the phone reboots into system right away without loading the recovery menu or being able to flash anything.

I am running bootloader version HHZ11k. Do I need to update the bootloader or is something else causing the issue?
[Nexus 5 Q&A, Help & Troubleshooting] Sly_67:
Flash 2.8.1.0 disable mount/MTP, flash 2.8.2.0 and you'll be fine.

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] Seppel007:
I have two N5s here. My old one and my new (refurbished) one. Both just got the updated 2.8.2.0 TWRP. My old N5 offers no screen timeout, the new one does. I never had problems with the TWRP but this seems to be some bug....
[Nexus 5 Q&A, Help & Troubleshooting] jacknicholson:
Thanks. Just to be clear, are you saying that the new one's screen successfully times out, or that you simply have the option available in the settings?

(I ask only because restoring default settings currently seems to remove the screen timeout setting for whatever reason.)
[Nexus 5 Q&A, Help & Troubleshooting] Seppel007:
Okay I checked it again. I made a mistake. The one with working "screen off" was 2.8.1.0. The other one 2.8.2.0 not working (Old device).

Now I just flashed 2.8.2.0 on both after downgrading the one to 2.8.1.0. And now I get the screen off menu on the working device but its not working anymore.....weird. The old device is still not working AND shows no screen timeout menu.

Well not that important if you have a full battery but definitly some strange behaviour...
[Nexus 5 Q&A, Help & Troubleshooting] Suhaas:
Media not getting detected after I flashed TWRP. Please help.. Twrp 2.8.2.0 didn't work well. So flashed 2.8.1.0.. Tried those terminal commands. But couldn't solve the problem. Please can someone tell me how to solve this problem
[Nexus 5 Q&A, Help & Troubleshooting] evertking:
help with twrp

I have flashed both 2.8.1.0 & 2.8.20 thought fastboot and flashify both go to twrp splash than boot into system! Any thoughts?
[Nexus 5 Q&A, Help & Troubleshooting] barclac:
Hi mate ,I had the same problem for age's, you have to download USB composite driver's, it now works.
[Nexus 5 Q&A, Help & Troubleshooting] Suhaas:
Are those drivers for nexus 5? Are for PC.. Can you please give the link to those drivers? Tell me the clear procedure for installing them too. Cos many times i uninstalled and then installed drivers again and again whenever i faced the problems. I am using wugs nexus root toolkit to root and install custom recovery. I installed all the drivers mentioned in that root toolkit
[Nexus 5 Q&A, Help & Troubleshooting] shafiisigera:
qn

why is always link for downloaded TWRP is somehow broken, always download reaches 99% then it collapses, come guys somethin is wrong
[Nexus 5 Q&A, Help & Troubleshooting] altecck:
Ok Looking for a little help here guys. I am new to this. (Android only for a few months now)

Nexus 5, unlocked, rooted. I have been searching high and low because of problems with SuperSU binaries and not able to update to 5.0.1 through TWRP and I think I found the culprit: I encrypted my phone about 2 weeks ago.

I am stuck with TWRP v2.6.3.2. So when I boot into recovery mode it asks for a password. As far as I know, people were having the same issues with TWRP not being able to decrypt the Nexus encryption but the new version 2.8.3 takes care of that. How can I update my TWRP from 2.6 to 2.8? Anything I do with SuperSU, trying to update the binaries, etc just gets stick on "Installing.." or won't work since if I have to flash something in TWRP because of the password thing. I hit cancel and I see no files. Can't do anything or access anything. Best and quickest way to fix this? I don't want to factory reset my phone just to upgrade TWRP and re-root everything. As of now, SuperSU is screwed up. The binaries aren't updated. Root Checker isn't saying I am rooted at all. I can't update to Lollipop 5.0.1. All because I encrypted my Nexus 5? Help!
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
You're probably going to have to bite the bullet and flash the 5.0.1 factory image with fastboot. Then don't encrypt the device
[Nexus 5 Q&A, Help & Troubleshooting] altecck:
Not sure what that means? You mean factory reset to 5.0.1 then don't encrypt? Because that is what I was considering if I couldn't find a fix. Then I would be able to root and use TWRP no problems then...
[Nexus 5 Q&A, Help & Troubleshooting] morfei1:
I've just update my Nexus 5 TWRP 2.8.1.0 to 2.8.3.0 with Flshify without any problems.

Thank you!
[Nexus 5 Q&A, Help & Troubleshooting] ekowwillis:
twrp 2.8.3.0

Great job.

Works perfect on my Google Nexus 5.
[Nexus 5 Q&A, Help & Troubleshooting] Lownita:
Even with 2.8.3.0 the TWRP folder only shows as a empty file in my file explorer. Wasn't that fixed? I am on rooted stock rom.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Did you delete the empty file and run restorecon commands before testing? Delete from /sdcard and /data/media/0
[Nexus 5 Q&A, Help & Troubleshooting] Lownita:
I ran restorecon, rebooted, deleted the folder from /sdcard. It couldn't delete all files so I went to /data/media/0 where all files could be deleted. I then flashed the latest TWRP and bootet into recovery. There, I set up some settings, rebooted to android and still I only see an empty file instead of the TWRP folder :confused:
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Maybe you also have sdcard permissions issue.

By the way, no point running restorecon whilst the empty file exists..

You may need to delete the file by:

- Restoring sdcard permissions with flashable zip (search general for "sdcard problems")

- using TWRP file manager

- wiping storage
[Nexus 5 Q&A, Help & Troubleshooting] astrovale:
I had a strange thing happening: For a while I had, surprisingly, the correct time and date in TWRP 2.8.3.0. Today, all of sudden, I went to make a backup and, when later I went to check it, I found that TWRP had gone back to the usual incorrect date and time and now there is no way to get back to the previous situation. The only thing I did that is worth mentioning is that I upgraded the theme material (ui.zip into the theme folder within TWRP folder). Theme is working like a charm, but I noticed this difference. Now I can hardly believe that could be the cause, so anyone has any idea of what could have happened?

Not that the present situation bothers me more than necessary (it's just a glitch in an otherwise great piece of software!), but curiosity is my curse! Furthermore, researching the subject, it seems like no one has ever had this thing, i.e. correct time and date within a recovery.

Thanks for any reply
[Nexus 5 Q&A, Help & Troubleshooting] cecogor:
TWRP take a lot part of memory

I'm have a questions - is it normal twrp to take so big part of internal memory?
[Nexus 5 Q&A, Help & Troubleshooting] astrovale:
It depends on how many backups you have, I believe. By the size of your folder, I would say you have at least one backup there!
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
That's just 1 backup surely