TWRP folder missing - Nexus 5 Q&A, Help & Troubleshooting

Ive held off, but before I update to 5.1, I figured I'd ask before running into problems
Im able to navigate to the TWRP folder when in recovery and restore backups, though the folder is nowhere to be found when looking with a file manager.
I've used Astro, Amaze and Cabinet file managers and the TWRP folder is missing. I did notice a file named TWRP, but it does not open and is not a folder.
How can I get the folder back to manage my backups?

randysoto5 said:
Ive held off, but before I update to 5.1, I figured I'd ask before running into problems
Im able to navigate to the TWRP folder when in recovery and restore backups, though the folder is nowhere to be found when looking with a file manager.
I've used Astro, Amaze and Cabinet file managers and the TWRP folder is missing. I did notice a file named TWRP, but it does not open and is not a folder.
How can I get the folder back to manage my backups?
Click to expand...
Click to collapse
TWRP folder is in /data/media/0. It has been answered for thousand times.

zagorteney said:
TWRP folder is in /data/media/0. It has been answered for thousand times.
Click to expand...
Click to collapse
No it is not. I just recently had this problem, say a month. Ive dealt with what youre talking about when switching from kitkat to lp, but that was loong ago and has been fixed. This is a random thing. All my folders and data are available except TWRP, so try again

randysoto5 said:
No it is not. I just recently had this problem, say a month. Ive dealt with what youre talking about when switching from kitkat to lp, but that was loong ago and has been fixed. This is a random thing. All my folders and data are available except TWRP, so try again
Click to expand...
Click to collapse
Install Terminal, type in:
su
restorecon -FR /data/media/0
Then reboot your device. You should have your TWRP folder back normally. This happens when you perform a backup via TWRP which disalign the partitions. Try updating your TWRP recovery to 2.8.5+, they seem to resolve the issue on later versions.
(you must be rooted, and grant access to terminal).

zagorteney said:
TWRP folder is in /data/media/0. It has been answered for thousand times.
Click to expand...
Click to collapse
happiness4u said:
Install Terminal, type in:
su
restorecon -FR /data/media/0
Then reboot your device. You should have your TWRP folder back normally. This happens when you perform a backup via TWRP which disalign the partitions. Try updating your TWRP recovery to 2.8.5+, they seem to resolve the issue on later versions.
(you must be rooted, and grant access to terminal).
Click to expand...
Click to collapse
Duuuude, it worked. Thanks a million

randysoto5 said:
Duuuude, it worked. Thanks a million
Click to expand...
Click to collapse
You're welcome!

happiness4u said:
You're welcome!
Click to expand...
Click to collapse
Will this also work on 5.1 with 2.8.5.2 version? I can see TWRP folder in /data/media/0, but not on my PC.

zagorteney said:
Will this also work on 5.1 with 2.8.5.2 version? I can see TWRP folder in /data/media/0, but not on my PC.
Click to expand...
Click to collapse
My TWRP folder is visible on my computer, even its contents inside. You could try, I'm still on TWRP 2.8.5.0. it should work with 2.8.5.2 as well.
Edit: Youl probably know when something's wrong with your internal storage partitions if you are having a folder named "0", it shouldn't be there in the 1st place.

happiness4u said:
My TWRP folder is visible on my computer, even its contents inside. You could try, I'm still on TWRP 2.8.5.0. it should work with 2.8.5.2 as well.
Edit: Youl probably know when something's wrong with your internal storage partitions if you are having a folder named "0", it shouldn't be there in the 1st place.
Click to expand...
Click to collapse
Is it possible, that TiB has created it and that is somehow connected with folder storage, visible on PC, but not on phone? And if you delete this folder on PC all content of storage will gone.

zagorteney said:
Is it possible, that TiB has created it and that is somehow connected with folder storage, visible on PC, but not on phone? And if you delete this folder on PC all content of storage will gone.
Click to expand...
Click to collapse
Yep, if you delete that "0" folder, it will wipe out the entire internal storage. I always experience this issue on old TWRP recoveries, when transitioning to lollipop or by making a backup. As for my observation with Titanium Backup, it creates a folder named "storage", I delete that folder before and it wiped my internal storage as well. That thing, I could not sorted out atm.

happiness4u said:
Yep, if you delete that "0" folder, it will wipe out the entire internal storage. I always experience this issue on old TWRP recoveries, when transitioning to lollipop or by making a backup. As for my observation with Titanium Backup, it creates a folder named "storage", I delete that folder before and it wiped my internal storage as well. That thing, I could not sorted out atm.
Click to expand...
Click to collapse
Me neither.
Offtopic: Don't you use CM12 anymore?

zagorteney said:
Me neither.
Offtopic: Don't you use CM12 anymore?
Click to expand...
Click to collapse
As of this moment, I'm kind of enjoying the stock 5.1. Google has made a pretty decent job with this update. I will surely be back to CM12 once they release the 5.1 builds. Plus OmniRom 5.1 is out too, I might also try that before really going back to CM. I really like CM because of their CAF roms.

happiness4u said:
As of this moment, I'm kind of enjoying the stock 5.1. Google has made a pretty decent job with this update. I will surely be back to CM12 once they release the 5.1 builds. Plus OmniRom 5.1 is out too, I might also try that before really going back to CM. I really like CM because of their CAF roms.
Click to expand...
Click to collapse
Yeah. Rom is fast as hell. Its just funny with that scrolling bug and pissed me of - I still can't figured it out how to integrate updated system apps into rom.

zagorteney said:
Yeah. Rom is fast as hell. Its just funny with that scrolling bug and pissed me of - I still can't figured it out how to integrate updated system apps into rom.
Click to expand...
Click to collapse
On what rom are you trying to integrate the apps? Let's go back to your thread regarding this matter. We might get infractions if we flood this one with off topics.

happiness4u said:
On what rom are you trying to integrate the apps? Let's go back to your thread regarding this matter. We might get infractions if we flood this one with off topics.
Click to expand...
Click to collapse
Hey! The problem of OP is solved with your help. You can talk here as you wan't.
Its different story with me - I just like to chat with nice people. Stay cool.
Forget to answer you: on stock 5.1.

zagorteney said:
Hey! The problem of OP is solved with your help. You can talk here as you wan't.
Its different story with me - I just like to chat with nice people. Stay cool.
Forget to answer you: on stock 5.1.
Click to expand...
Click to collapse
Have you tried it on stock 5.0.1/2 before? I haven't tried integrating updated apps with libs to 5.1 yet. I've tried with Play music and Messenger, just replaced the Music2 in priv-app by overwriting. But I think you should put the lib files (.so) on the /system/libs for it to work. Like on GooglePlayServices.
Edit: I backread some on your thread, as my statement above was already addressed. That's strange, I might try integrating some apps and report back later.

deleted @happiness4u was faster

happiness4u said:
Install Terminal, type in:
su
restorecon -FR /data/media/0
Then reboot your device. You should have your TWRP folder back normally. This happens when you perform a backup via TWRP which disalign the partitions. Try updating your TWRP recovery to 2.8.5+, they seem to resolve the issue on later versions.
(you must be rooted, and grant access to terminal).
Click to expand...
Click to collapse
Thanx. This is working also on CM12. About TiB storage folder we were talking abour - funny - on CM12 I simply deleted and it's gone. Just folder - anything else stayed.

zagorteney said:
Thanx. This is working also on CM12. About TiB storage folder we were talking abour - funny - on CM12 I simply deleted and it's gone.
Click to expand...
Click to collapse
That command will work on any android device. I was on CM12 when I deleted that "storage" folder, and I got wiped. That's kind of unfair to me. LOL

happiness4u said:
That command will work on any android device. I was on CM12 when I deleted that "storage" folder, and I got wiped. That's kind of unfair to me. LOL
Click to expand...
Click to collapse
As you are now on 5.1, may I ask if it happened to you also that somethimes the name of Provider is missing in Quick Settings - status bar?

Related

TWRP Question

I just installed the newest version of TWRP and seem to be having some issues with creating backups. My last backup was on the internal memory so I wanted to put something on my SD Card before I tried flashing a new ROM. The first thing that I tried was to just copy it over to the SD Card but it says that I can't copy it. So then I tried to just do another backup in TWRP and have it save right to the SD Card. It completes successfully, but it saves it as some weird folder name (it adds cm_d2vzw-userdebug 4.2.2 and some other stuff to the end of the folder name). I can only see it in ES Explorer on my phone for some reason, if I hook it up to the computer it won't even show the TWRP folder that gets created.
What is wrong? Is it an issue with the latest TWRP?
EDIT: I just tried backing up to internal storage too and it is still doing that funny thing with the folder name. I am thinking it is a recovery issue. Does anyone have the latest version working right?
Im on the latest version 2.6.0.31 some weird number like that. U might have a bad install of twrp try reinstalling it. The only prom i had was wen i moved a backup file using astro manager to my extsdcard i couldn't flash it. So what i did wen u go into twrp backup click on top change it to extcard storage... Hope u get it fix
twistedillutions said:
Im on the latest version 2.6.0.31 some weird number like that. U might have a bad install of twrp try reinstalling it. The only prom i had was wen i moved a backup file using astro manager to my extsdcard i couldn't flash it. So what i did wen u go into twrp backup click on top change it to extcard storage... Hope u get it fix
Click to expand...
Click to collapse
I used GooManager to update to the latest, should I do it another way?
xceebeex said:
I used GooManager to update to the latest, should I do it another way?
Click to expand...
Click to collapse
Try ezunlock i think thats wat is called from Google play. If not go to cyanmode recovery
I tried installing again through goomanager and it still doesn't work. I wonder if I should just go back to 2.6.0.1 or whatever I was on.
Sent from my SCH-I535 using Tapatalk
xceebeex said:
I tried installing again through goomanager and it still doesn't work. I wonder if I should just go back to 2.6.0.1 or whatever I was on.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
Verify that root is still working (download root checker), then uninstall goomanager, reboot, reinstall goomgr then give it another try.
buhohitr said:
Verify that root is still working (download root checker), then uninstall goomanager, reboot, reinstall goomgr then give it another try.
Click to expand...
Click to collapse
Why wouldn't root still be working? Doesn't goomanager have to check root first before installing a recovery? Plus, ES Explorer still had root access and titanium backup still works.
Sent from my SCH-I535 using Tapatalk
xceebeex said:
Why wouldn't root still be working? Doesn't goomanager have to check root first before installing a recovery? Plus, ES Explorer still had root access and titanium backup still works.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
Try this :
http://forum.xda-developers.com/showthread.php?t=2492496
If none of that works, then try to use a flashable zip from here and flash it in recovery:
http://forum.xda-developers.com/showthread.php?t=2153408
Sent from my SCH-I535 using Tapatalk 2
BadUsername said:
Try this :
http://forum.xda-developers.com/showthread.php?t=2492496
If none of that works, then try to use a flashable zip from here and flash it in recovery:
http://forum.xda-developers.com/showthread.php?t=2153408
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
I tried flashing the .img file and tried the zip and I am still having the same issue. Is it possible permissions got screwed up somewhere? I just installed the 2.6.3.0 (instead of the 2.6.3.1) and am trying a backup to see if that works.
I might just go back to by backup from a day or two ago when everything was working before I tried going to the latest version of TWRP.
EDIT: Well 2.6.3.0 didn't work either. It is weird that I can't see the folder that it creates on my laptop. I can only see it on my phone with ES Explorer and it is still naming the folder really weird things.
EDIT2: I reinstalled 2.6.0.1 and now it names the folder right (just using the date/time), but I still can't see it when I plug in to my computer. I am afraid to try and restore to it to see if it works. I don't understand why I can't see it when I plug in to my laptop.
xceebeex said:
EDIT: Well 2.6.3.0 didn't work either. It is weird that I can't see the folder that it creates on my laptop. I can only see it on my phone with ES Explorer and it is still naming the folder really weird things.
EDIT2: I reinstalled 2.6.0.1 and now it names the folder right (just using the date/time), but I still can't see it when I plug in to my computer. I am afraid to try and restore to it to see if it works. I don't understand why I can't see it when I plug in to my laptop.
Click to expand...
Click to collapse
I haven't really followed this thread's progression so forgive me, but you can just tap the bar where it reads "Backup Name: (Auto Generate)" to manually change your TWRP backup names. It's not immediately obvious but its there.
SlimSnoopOS said:
I haven't really followed this thread's progression so forgive me, but you can just tap the bar where it reads "Backup Name: (Auto Generate)" to manually change your TWRP backup names. It's not immediately obvious but its there.
Click to expand...
Click to collapse
Yea, I understand that, but I don't understand why it is adding stuff like userdebug and a bunch of other stuff automatically when the older version didn't. Then on top of that, while it appears like it worked and I could see the files using ES Explorer, when I hooked it up to my laptop, it wasn't even seeing the TWRP top level folder on the SD Card.
xceebeex said:
Yea, I understand that, but I don't understand why it is adding stuff like userdebug and a bunch of other stuff automatically when the older version didn't.
Click to expand...
Click to collapse
I guess this is a difference of opinion then cuz I don't see it as an issue.
Then on top of that, while it appears like it worked and I could see the files using ES Explorer, when I hooked it up to my laptop, it wasn't even seeing the TWRP top level folder on the SD Card.
Click to expand...
Click to collapse
Can you view the rest of your internal storage on your laptop? I mean the exact same directory as to where your TWRP storage is located? You are running a KitKat rom which changes the internal storage directories from /sdcard to /0/sdcard (JB 4.3 does as well) so I'd guess that might have something to do with it. I always use Airdroid to transfer files to/from my laptop and I see my newly constructed internal storage fine. I have a MBP so I don't really have a native way to connect my S3 to my laptop to test it out which is why I use AirDroid.

Cloning a Nexus 5?

Hi,
my N5 has some presumably hardware related bug: It sometimes crashes and after reboot the battery is almost empty. So Google will now send me a replacement unit.
I wonder: is it possible to backup my old device with TWRP (nandroid backup) and restore this backup on my new device?
This way I would not have to reinstall everything from scratch and just make a perfect clone.
Has this been done before?
Travelawyer said:
Hi,
my N5 has some presumably hardware related bug: It sometimes crashes and after reboot the battery is almost empty. So Google will now send me a replacement unit.
I wonder: is it possible to backup my old device with TWRP (nandroid backup) and restore this backup on my new device?
This way I would not have to reinstall everything from scratch and just make a perfect clone.
Has this been done before?
Click to expand...
Click to collapse
Possibly but make sure you back the new phone up, ESPECIALLY THE EFS!!! In fact, back up the EFS, put it in three other spots. lol
Travelawyer said:
Hi,
my N5 has some presumably hardware related bug: It sometimes crashes and after reboot the battery is almost empty. So Google will now send me a replacement unit.
I wonder: is it possible to backup my old device with TWRP (nandroid backup) and restore this backup on my new device?
This way I would not have to reinstall everything from scratch and just make a perfect clone.
Has this been done before?
Click to expand...
Click to collapse
Yes you can do this. That being said, DO NOT BACK UP THE OLD N5'S EFS PARTITION. If you do back it up, DO NOT RESTORE IT ON THE NEW N5. It will render it useless if you plan on using it to connect to anything but WiFi. Also make sure to copy everything from /sdcard as Nandroid backups will not save your personal data. So manually backup all your pictures, songs, downloads, etc and move to a PC first.
tl;dr - yes just don't restore old EFS partition backup on new N5 and save your stuff
RoyJ said:
Yes you can do this. That being said, DO NOT BACK UP THE OLD N5'S EFS PARTITION. If you do back it up, DO NOT RESTORE IT ON THE NEW N5. It will render it useless if you plan on using it to connect to anything but WiFi. Also make sure to copy everything from /sdcard as Nandroid backups will not save your personal data. So manually backup all your pictures, songs, downloads, etc and move to a PC first.
tl;dr - yes just don't restore old EFS partition backup on new N5 and save your stuff
Click to expand...
Click to collapse
Thanks!
So I just backup
. system
. data
. cache
. boot
with TWRP and restore this on my new device.
Pictures are saved to the cloud anyways and all my music and audio books reside on my PC hard drive.
Travelawyer said:
Thanks!
So I just backup
. system
. data
. cache
. boot
with TWRP and restore this on my new device.
Pictures are saved to the cloud anyways and all my music and audio books reside on my PC hard drive.
Click to expand...
Click to collapse
Correct, long as your personal data is backed up you are good to go. Just when you get your new N5 and put TWRP on it, do a quick backup of your boot partition. Shouldn't take too long and it'll auto generate the backup folder for you to drag & drop you old backup into. You can just delete it afterwards.
RoyJ said:
Correct, long as your personal data is backed up you are good to go. Just when you get your new N5 and put TWRP on it, do a quick backup of your boot partition. Shouldn't take too long and it'll auto generate the backup folder for you to drag & drop you old backup into. You can just delete it afterwards.
Click to expand...
Click to collapse
Problem:
I have created a backup on my nexus 5 but I cannot find it when connected to my PC. The "twrp"-folder is not there. Where is it?!
I can access "data/media/twrp" with a root browser on my nexus, but I cannot access this folder with my PC.
How can I transfer this backup now to my PC?
Travelawyer said:
Problem:
I have created a backup on my nexus 5 but I cannot find it when connected to my PC. The "twrp"-folder is not there. Where is it?!
Click to expand...
Click to collapse
Should be in /sdcard/TWRP/BACKUPS
If not, you have a file permission issue or something.
Travelawyer said:
Problem:
I have created a backup on my nexus 5 but I cannot find it when connected to my PC. The "twrp"-folder is not there. Where is it?!
I can access "data/media/twrp" with a root browser on my nexus, but I cannot access this folder with my PC.
How can I transfer this backup now to my PC?
Click to expand...
Click to collapse
Go to About Phone from Settings and click the build version until you enable developer settings and go in there and enable ADB. Plug it into PC and see if the drivers install properly. If they do you'll see the phone connected as "Internal Storage" from your "My Computer". As posted above it should be in the root of your SDcard in TWRP/backups
RoyJ said:
Go to About Phone from Settings and click the build version until you enable developer settings and go in there and enable ADB. Plug it into PC and see if the drivers install properly. If they do you'll see the phone connected as "Internal Storage" from your "My Computer". As posted above it should be in the root of your SDcard in TWRP/backups
Click to expand...
Click to collapse
There is no TWRP folder in my /scard, see here:
https://www.dropbox.com/s/psv3fpcrgbls5j7/2014-12-05 23.20.01.png?dl=0
I found TWRP in the root file system under data/media/0/TWRP
But these folders don't appear under Windows.
Travelawyer said:
There is no TWRP folder in my /scard, see here:
https://www.dropbox.com/s/psv3fpcrgbls5j7/2014-12-05 23.20.01.png?dl=0
I found TWRP in the root file system under data/media/0/TWRP
But these folders don't appear under Windows.
Click to expand...
Click to collapse
See: http://forum.xda-developers.com/showthread.php?p=57287175
Travelawyer said:
. cache
Click to expand...
Click to collapse
Why backup and restore cache?
ANDROIDRAZRM said:
See: http://forum.xda-developers.com/showthread.php?p=57287175
Click to expand...
Click to collapse
So I installed a terminal emulator and typed in:
su
restorecon -FR /data/media/0
And now TWRP miraculously appeared in my Windows explorer. Thanks a lot!
IMHO, you're just asking for any number of issues. New phone =fresh start. You should just set it up.... How long does it really take. ?
But, it's your device. ?
---------- Post added at 09:21 PM ---------- Previous post was at 09:19 PM ----------
Oh.... And likely your issues were not hardware, but better chance it was software. Why risk turning your new phone into the mess your old one was. ?

[Q] CWM Backup Folder not showing - CWM sees backups

Okay, so I am rooted on stock with ElementalX and philz touch recovery. I typically alternate between elementalX and stock kernel. About 2 weeks ago whenever I make a backup it backups fine, however when I go to my clockworkmod folder via root explorer it is not there. However Philz touch/CWM sees the backup folder and can restore and backup to it. I have wiped everything, I have flashed back to stock with the firmware and fastboot, where it completely wipes everything with a fresh install. Same results. I am out of ideas. If I try to copy over a clockworkmod folder with backups I have on my PC or even try to create a clockworkmod folder it gives me an error that its unable to create this folder and or copy it from my PC to my Nexus 5.
Anyone have any ideas as to what is happening? I even tried philz touch to make backups as if they were made in TWRP, so it creates a TWRP folder, but that does not do anything either. Any help would be appreciated as I am out of ideas.
ozzmanj1 said:
Okay, so I am rooted on stock with ElementalX and philz touch recovery. I typically alternate between elementalX and stock kernel. About 2 weeks ago whenever I make a backup it backups fine, however when I go to my clockworkmod folder via root explorer it is not there. However Philz touch/CWM sees the backup folder and can restore and backup to it. I have wiped everything, I have flashed back to stock with the firmware and fastboot, where it completely wipes everything with a fresh install. Same results. I am out of ideas. If I try to copy over a clockworkmod folder with backups I have on my PC or even try to create a clockworkmod folder it gives me an error that its unable to create this folder and or copy it from my PC to my Nexus 5.
Anyone have any ideas as to what is happening? I even tried philz touch to make backups as if they were made in TWRP, so it creates a TWRP folder, but that does not do anything either. Any help would be appreciated as I am out of ideas.
Click to expand...
Click to collapse
CWM is outdated.
"Internal Storage" on the Nexus 5 is /data/media/0 (which is what /sdcard is also symlinked to)
CWM uses the outdated legacy location of /data/media/clockworkmod (note the lack of /0)
Therefore you cannot see CWM backups if you look in the internal storage while booted into Android.
Development on Philz Touch has also come to an end - you should use TWRP.
Lethargy said:
CWM is outdated.
"Internal Storage" on the Nexus 5 is /data/media/0 (which is what /sdcard is also symlinked to)
CWM uses the outdated legacy location of /data/media/clockworkmod (note the lack of /0)
Therefore you cannot see CWM backups if you look in the internal storage while booted into Android.
Development on Philz Touch has also come to an end - you should use TWRP.
Click to expand...
Click to collapse
Flashed TWRP and redid a new backup, went to the root explorer and no folder fo TWRP is present, if I go back into TWRP it sees the backup I made but that is it. For some reason I am unable to see the folder.... any ideas?
ozzmanj1 said:
Flashed TWRP and redid a new backup, went to the root explorer and no folder fo TWRP is present, if I go back into TWRP it sees the backup I made but that is it. For some reason I am unable to see the folder.... any ideas?
Click to expand...
Click to collapse
Try deleting the TWRP folder using TWRP itself, reboot the recovery, change a setting or two then make a backup again.
Also make sure you're using a newer version of TWRP if you aren't already.
Sounds like a job for restorecon
rootSU said:
Sounds like a job for restorecon
Click to expand...
Click to collapse
OP says he completely wiped everything while flashing factory images though, so I dunno
Lethargy said:
OP says he completely wiped everything while flashing factory images though, so I dunno
Click to expand...
Click to collapse
If recovery can see it in /data/media/0.but android cant, it must mean storage isn't aligned correctly. Root cause? Unknown. Workaround has to be restorecon though
Easy test. Browse to /data/media/0/TWRP with a root explorer
rootSU said:
If recovery can see it in /data/media/0.but android cant, it must mean storage isn't aligned correctly. Root cause? Unknown. Workaround has to be restorecon though
Easy test. Browse to /data/media/0/TWRP with a root explorer
Click to expand...
Click to collapse
Guess its still possible but wouldn't really expect it to happen after a full wipe. Worth a shot anyways now that you've mentioned it.
rootSU said:
If recovery can see it in /data/media/0.but android cant, it must mean storage isn't aligned correctly. Root cause? Unknown. Workaround has to be restorecon though
Easy test. Browse to /data/media/0/TWRP with a root explorer
Click to expand...
Click to collapse
What is restorecon?
Edit - Flashed toe factory image again and each time I run the flash factory image I get this at the end of each flash, see attached
Found this, its the same issue I am having:
http://androidforums.com/threads/twrp-lollipop-and-the-nexus-5.883331/
Now after flashing a factory image phone just hangs, bootanimation goes on forever and ever, so for now I have no working Nexus 5. Any ideas?
Edit - Flashed TWRP and used MTP mode, internal data is completely blank, no android folder, etc... just empty...
Update, flashed factory image for 4.4.4 and that flashed without errors, going to let it boot up and do its thing. Once done I will try to flash 5.0.1 again.. will report back.
Update - Guess I am stuck for now on 4.4.4. Flashing 5.0 or 5.0.1 fails on userdata as previous screenshot.
ozzmanj1 said:
Update, flashed factory image for 4.4.4 and that flashed without errors, going to let it boot up and do its thing. Once done I will try to flash 5.0.1 again.. will report back.
Update - Guess I am stuck for now on 4.4.4. Flashing 5.0 or 5.0.1 fails on userdata as previous screenshot.
Click to expand...
Click to collapse
Out of curiosity, how much ram do you have on your pc?
Sent from my Nexus 9 using XDA Free mobile app
I am running on 8gb ram
I think I may have resolved the issue, I factory flashed 4.4.4, rebooted, then flashed a recovery, rebooted, then copied over a nandroid backup from end of last month, and restored from that back to 5.0.1. All seems well now, I did not wipe anything when doing the restore. Everything seems to be working now.. will report back if I see any other issues. Thank you to all for your assistance.
rootSU said:
Sounds like a job for restorecon
Click to expand...
Click to collapse
I am back with the same issue. Flashing 4.4.4 image flashes okay, however any attempt at flashing 5.0 or 5.0.1 causes an error just as its wiping userdata. Only way around is to flash 4.4.4 and then restore with a nandroid, which I keep plenty of those laying around.
Mind if I ask what the tutorial is for restorecon? Thank you.

Unable to create folder /data/media/0/TWRP/BACKUPS

I've read a few posts that seem similar but nothing too recent. I'm trying to backup what I have now so I can flash another ROM but it keeps failing. I even used es file manager with root and created the folder needed and gave it root permissions but it still fails in TWRP to backup.
Switch on „mount namespace separation“ in super su
jeffrimerman said:
I've read a few posts that seem similar but nothing too recent. I'm trying to backup what I have now so I can flash another ROM but it keeps failing. I even used es file manager with root and created the folder needed and gave it root permissions but it still fails in TWRP to backup.
Click to expand...
Click to collapse
Are you decrypted? Else you won't be able to back up.
alexS123 said:
Switch on „mount namespace separation“ in super su
Click to expand...
Click to collapse
Thanks guys, I was wondering about if I'm decrypted or not. How do I check? It's probably a dumb question =/. I ended up installing another ROM and it uses Magisk baked into it so I don't see an option for mount namespace separation. Maybe I can attempt to backup now just to see if it works with this ROM or maybe it's not decrypted still. For some odd reason it refused to let me install Facebook, or Facebook Messenger from the play store and one of my apps won't start. It just tries to start then crashes. I downloaded a couple "updates" from a site that says they are stock ROMs. "update_full_hw_usa.zip" is 544 mb and "update" is 1.72gb. I'm thinking of going back to stock but that would probably lock the bootloader and erase twrp right?
Edit: I tried to back up again but it does the same thing. I did notice it also says "failed to unmount /DATA". It might have said that before.
Edit: I see under security the encrypt phone section. At the bottom the "Encrypt Phone" button is faded out and above it I see "Charge your battery and try again" and "Plug in your charger and try again" so I'm not too sure but guessing that means I'm not encrypted but it is faded out so maybe it is?
jeffrimerman said:
Thanks guys, I was wondering about if I'm decrypted or not. How do I check? It's probably a dumb question =/. I ended up installing another ROM and it uses Magisk baked into it so I don't see an option for mount namespace separation. Maybe I can attempt to backup now just to see if it works with this ROM or maybe it's not decrypted still. For some odd reason it refused to let me install Facebook, or Facebook Messenger from the play store and one of my apps won't start. It just tries to start then crashes. I downloaded a couple "updates" from a site that says they are stock ROMs. "update_full_hw_usa.zip" is 544 mb and "update" is 1.72gb. I'm thinking of going back to stock but that would probably lock the bootloader and erase twrp right?
Edit: I tried to back up again but it does the same thing. I did notice it also says "failed to unmount /DATA". It might have said that before.
Edit: I see under security the encrypt phone section. At the bottom the "Encrypt Phone" button is faded out and above it I see "Charge your battery and try again" and "Plug in your charger and try again" so I'm not too sure but guessing that means I'm not encrypted but it is faded out so maybe it is?
Click to expand...
Click to collapse
Go to twrp, advanced, file manager. Browse to /data/app and see if you see normal folders or randomly named folders. If the latter you are encrypted.
Same if you tap install then try to install from internal sd.
ante0 said:
Go to twrp, advanced, file manager. Browse to /data/app and see if you see normal folders or randomly named folders. If the latter you are encrypted.
Same if you tap install then try to install from internal sd.
Click to expand...
Click to collapse
Thank you. I should have checked that before I put another ROM. I did see randomly named folders when I connect it to my laptop but I can't remember when but I bet it was in that folder. I ended up within TWRP formatting data I think but it did have my type "yes" and said it would eliminate encryption, then I installed the new ROM. I should check and see if the new ROM has encryption. So far data on the root drive isn't encrypted and data in the android folder isnt' encrypted when I check with my laptop.
Edit: It's backing up so must not be encrypted. I check using the file manager in twrp and can see all the files in data. Thanks for you help. I guess if I had sensitive info on my phone then it would be something to do but I don't have a need to encrypt.
jeffrimerman said:
Thank you. I should have checked that before I put another ROM. I did see randomly named folders when I connect it to my laptop but I can't remember when but I bet it was in that folder. I ended up within TWRP formatting data I think but it did have my type "yes" and said it would eliminate encryption, then I installed the new ROM. I should check and see if the new ROM has encryption. So far data on the root drive isn't encrypted and data in the android folder isnt' encrypted when I check with my laptop.
Edit: It's backing up so must not be encrypted. I check using the file manager in twrp and can see all the files in data. Thanks for you help. I guess if I had sensitive info on my phone then it would be something to do but I don't have a need to encrypt.
Click to expand...
Click to collapse
If you did format data again now, flash the data files supplied by your rom. (Public and Hw data) else you will have problems with themes and stuff.
If you didn't format data now, disregard this message
ante0 said:
Are you decrypted? Else you won't be able to back up.
Click to expand...
Click to collapse
You can take a backup using this thread
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
mansi0312 said:
You can take a backup using this thread
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
Click to expand...
Click to collapse
That's for OPO6.

Deteled some system apps, now stuck in a bootloop

It is just as the title states. I would like to somehow fix my phone instead of just recovering.
I can still access twrp, and the app(https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp) is used to create it with has created some backup files that i can still access. Is there still hope?
Mi 8 Pro with lineage os 18 unofficial
PalanixYT said:
It is just as the title states. I would like to somehow fix my phone instead of just recovering.
I can still access twrp, and the app(https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp) is used to create it with has created some backup files that i can still access. Is there still hope?
Mi 8 Pro with lineage os 18 unofficial
Click to expand...
Click to collapse
If you have some idea which apps you uninstalled then you can put them back in the right directory/folder, the app you used probably created a folder to backup them anyway for the next this app is not recommended to use it blindly; it doesn´t have a good criteria to determine what´s important and what´s not.
Or you can flash only the system image and after that wipe caches, reboot.
SubwayChamp said:
If you have some idea which apps you uninstalled then you can put them back in the right directory/folder, the app you used probably created a folder to backup them anyway for the next this app is not recommended to use it blindly; it doesn´t have a good criteria to determine what´s important and what´s not.
Or you can flash only the system image and after that wipe caches, reboot.
Click to expand...
Click to collapse
do you know of a way to find out exactly whats missing? like some log or something like that?
PalanixYT said:
do you know of a way to find out exactly whats missing? like some log or something like that?
Click to expand...
Click to collapse
Yes, there are some apps on PlayStore that can do that but you can´t boot right now to use it, probably you can take some logs through adb while in TWRP, check this https://github.com/IzzySoft/Adebar
The app you used creates a folder in the SDCard, probably it keeps the apps there, if you have TWRP you can navigate to it and you´ll find them.
the app has created an xyz.apk.backup can i just use adb install, or should i do something different?
hmm, i think just reflashing the system image would be easier. So should i just reflash the lineageos.zip?
PalanixYT said:
the app has created an xyz.apk.backup can i just use adb install, or should i do something different?
Click to expand...
Click to collapse
Yes, the first is identify the apps and then you can install them using adb through TWRP or copying the app to the folder where it was previosuly.
PalanixYT said:
hmm, i think just reflashing the system image would be easier. So should i just reflash the lineageos.zip?
Click to expand...
Click to collapse
You can flash it just wiping caches.
ok thank you very much, you are a life saver
i'm sorry i messaged you
it didn't work. Maybe also flash gapps?
PalanixYT said:
it didn't work. Maybe also flash gapps?
Click to expand...
Click to collapse
What´s inside the LOS zip? And what exactly didn´t work?
it's just the zip i used when installing the custom rom. i can send the file if you wnat.
META-INF/com/android/metadata
system.new.dat.br
system.patch.dat
vendor.new.dat.br
vendor.patch.dat
META-INF/com/google/android/update-binary
META-INF/com/google/android/updater-script
boot.img
install/bin/backuptool.functions
install/bin/backuptool.sh
system.transfer.list
vendor.transfer.list
META-INF/com/android/otacert
i was still inside a boot loop
PalanixYT said:
it's just the zip i used when installing the custom rom. i can send the file if you wnat.
META-INF/com/android/metadata
system.new.dat.br
system.patch.dat
vendor.new.dat.br
vendor.patch.dat
META-INF/com/google/android/update-binary
META-INF/com/google/android/updater-script
boot.img
install/bin/backuptool.functions
install/bin/backuptool.sh
system.transfer.list
vendor.transfer.list
META-INF/com/android/otacert
i was still inside a boot loop
Click to expand...
Click to collapse
It could work if you do it correctly:
- Wipe system, caches and data (not format)
- Flash the LOS zip.
- Flash the GApps (if you had previously Google apps on it)
- Reboot.
it worked, thank you very much. Is there a way to restore my phone to its previous state? i made a twrp backup just in case
PalanixYT said:
it worked, thank you very much. Is there a way to restore my phone to its previous state? i made a twrp backup just in case
Click to expand...
Click to collapse
Great, you can restore it just at the same time you did take the backup, if at the moment that this happened you didn´t take a backup of course you can´t anyway if you had some apps synchronizing with the cloud then this will be the only way. It works similarly as Windows (or Linux distros) also work if you have some idea from.

Categories

Resources