[Q] CAn't find the backup in recovery mode - Nexus 5 Q&A, Help & Troubleshooting

Hey!
I have a backup on my pc, and when i transfer it to my phone in the TWRP folder -> BACKUPS and when i enter recovery mode -> restore, the backup ain't there.

Chekhn said:
Hey!
I have a backup on my pc, and when i transfer it to my phone in the TWRP folder -> BACKUPS and when i eter recovery moe -> restroe, the backup ain't there.
Click to expand...
Click to collapse
Rebooting the phone and reconnecting the phone to usb may help usualy.

gee2012 said:
Rebooting the phone and reconnecting the phone to usb may help usualy.
Click to expand...
Click to collapse
Who will that help? I don't see why connecting the usb will solve anything since the folder is on my phone now.
Can it be that the folder doesn't have "root-permission" ?

Chekhn said:
Who will that help? I don't see why connecting the usb will solve anything since the folder is on my phone now.
Can it be that the folder doesn't have "root-permission" ?
Click to expand...
Click to collapse
What i said in my post above is to reboot the phone and reconnect usb when it rebooted, solved it for me

Chekhn said:
Who will that help? I don't see why connecting the usb will solve anything since the folder is on my phone now.
Can it be that the folder doesn't have "root-permission" ?
Click to expand...
Click to collapse
It's a known issue. Go to the twrp thread and search "restorecon". I'm on my phone and it's a little difficult for me to do it ATM.

gee2012 said:
What i said in my post above is to reboot the phone and reconnect usb when it rebooted, solved it for me
Click to expand...
Click to collapse
Still nothing :/

Wakamatsu said:
It's a known issue. Go to the twrp thread and search "restorecon". I'm on my phone and it's a little difficult for me to do it ATM.
Click to expand...
Click to collapse
This command?:
su
restorecon -r /data/media/0

Chekhn said:
This command?:
su
restorecon -r /data/media/0
Click to expand...
Click to collapse
Give that a shot.

Wakamatsu said:
Give that a shot.
Click to expand...
Click to collapse
Didn't work, it says. "invalid option"

Is the backup in a folder with your serial number?
Can you find the backup using TWRP file manager? Look in both /sdcard and /data/media/0 and feedback results
Also take a new backup. Does it go back to the same place?

rootSU said:
Is the backup in a folder with your serial number?
Can you find the backup using TWRP file manager? Look in both /sdcard and /data/media/0 and feedback results
Click to expand...
Click to collapse
What do you mean "is the backup in folder with your serial number"?
The backup is from my other Nexus 5

Chekhn said:
What do you mean "is the backup in folder with your serial number"?
The backup is from my other Nexus 5
Click to expand...
Click to collapse
Well that's the problem then!
Firstly do NOT restore an EFS backup. If you have EFS in your nandroid , don't restore it.
When you first take a backup, TWRP creates /sdcard/TWRP/backup/75465474566 where the numbered folder is the serial number of your device.
If you copied a numbered folder from another device, it wont find it. Similarly if you have no numbered folder, it won't find it.
Create a new backup on the new phone to create the new numbered folder then put your old backup there.
Remember, do not resorts EFS if you took a backup on the old device on yo your new one as you'll brick it..

Chekhn said:
Didn't work, it says. "invalid option"
Click to expand...
Click to collapse
Odd. You may not have the applet installed.

Wakamatsu said:
Odd. You may not have the applet installed.
Click to expand...
Click to collapse
Invalid option is the -r he did. Sometimes people have to change it up a bit. There's 2/3 different versions of that command people have to try. Its irrelevant now though, given the more accurate info we have.

rootSU said:
Well that's the problem then!
Firstly do NOT restore an EFS backup. If you have EFS in your nandroid , don't restore it.
When you first take a backup, TWRP creates /sdcard/TWRP/backup/75465474566 where the numbered folder is the serial number of your device.
If you copied a numbered folder from another device, it wont find it. Similarly if you have no numbered folder, it won't find it.
Create a new backup on the new phone to create the new numbered folder then put your old backup there.
Remember, do not resorts EFS if you took a backup on the old device on yo your new one as you'll brick it..
Click to expand...
Click to collapse
Thank you this worked!

Chekhn said:
Thank you this worked!
Click to expand...
Click to collapse
No probs

Related

[Guide]IMEI Backup/Restore - The Right way!

Downlaod the required files here
Connect phone to PC with Debugging Mode selected
BACKUP
on adb.exe
adb shell su dd if=/dev/block/stl3 of=/sdcard/efs.rfs
adb pull /sdcard/efs.rfs
on tar.exe
tar -c efs.rfs > efs.tar
RESTORE
Reboot to download mode
ODIN.exe
Select efs.tar as PDA (created from the above steps)
Click Flash
Done!!!
I have no IMEI, this work with this problem?
dev0xteam said:
Downlaod the required files here
Connect phone to PC with Debugging Mode selected
BACKUP
on adb.exe
adb shell su dd if=/dev/block/stl3 of=/sdcard/efs.rfs
adb pull /sdcard/efs.rfs
on tar.exe
tar -c efs.rfs > efs.tar
RESTORE
Reboot to download mode
ODIN.exe
Select efs.tar as PDA (created from the above steps)
Click Flash
Done!!!
Click to expand...
Click to collapse
Isn't flashing a file in ODIN harder than just copying your efs backup folder and pasting it over the newer efs?
I've been doing that since the beggining of times and it's infinitely easier and inside the own phone.
Good idea though, i'd like if you could do the same with a flasheable zip in the phone.
1up_ said:
I have no IMEI, this work with this problem?
Click to expand...
Click to collapse
No.
giovox said:
Isn't flashing a file in ODIN harder than just copying your efs backup folder and pasting it over the newer efs?
I've been doing that since the beggining of times and it's infinitely easier and inside the own phone.
Good idea though, i'd like if you could do the same with a flasheable zip in the phone.
Click to expand...
Click to collapse
The way OP stated is a better way to backup. its complete backup the whole STL3 partition.
this can even safe your phone from efs partition corruption.
eg, in term of windows, if your PC system partition is corrupted, do you think copy a system32 folder back into the windows directry will recover you PC fully? or you recovery using the backup image will be better.
OP, the zip file you attached is the copy of your efs folder? if yes, than it is content your imei file inside, i donot think it is approprite to public it.
chongns said:
The way OP stated is a better way to backup. its complete backup the whole STL3 partition.
this can even safe your phone from efs partition corruption.
eg, in term of windows, if your PC system partition is corrupted, do you think copy a system32 folder back into the windows directry will recover you PC fully? or you recovery using the backup image will be better.
OP, the zip file you attached is the copy of your efs folder? if yes, than it is content your imei file inside, i donot think it is approprite to public it.
Click to expand...
Click to collapse
Oh, I understand now, I thought he made It for the typical lack of/or generic IMEI issue.
Thanks for clearing it out, I'll do a backup as soon as I get my pc back
Sent from my GT-I9003 using xda app-developers app
1up_ said:
I have no IMEI, this work with this problem?
Click to expand...
Click to collapse
this will work partially, this will give you generic imei.
Is this a cwm flashable zip that the op has provided? So il just flash d efs-backup...and then edit to restore my own imei..?
Sent from my GT-S7562 using xda premium
dev0xteam said:
Downlaod the required files here
Connect phone to PC with Debugging Mode selected
BACKUP
on adb.exe
adb shell su dd if=/dev/block/stl3 of=/sdcard/efs.rfs
adb pull /sdcard/efs.rfs
on tar.exe
tar -c efs.rfs > efs.tar
RESTORE
Reboot to download mode
ODIN.exe
Select efs.tar as PDA (created from the above steps)
Click Flash
Done!!!
Click to expand...
Click to collapse
can you make a small exe application it will be easy to use to back up and restore this one is not working on my computer
OP, the zip file you attached is the copy of your efs folder? if yes, than it is content your imei file inside, i donot think it is approprite to public it.
Click to expand...
Click to collapse
The zip isn't a backup. It contains the tools required for the backup.
chongns said:
The way OP stated is a better way to backup. its complete backup the whole STL3 partition.
this can even safe your phone from efs partition corruption.
eg, in term of windows, if your PC system partition is corrupted, do you think copy a system32 folder back into the windows directry will recover you PC fully? or you recovery using the backup image will be better.
OP, the zip file you attached is the copy of your efs folder? if yes, than it is content your imei file inside, i donot think it is approprite to public it.
Click to expand...
Click to collapse
I think it doesnt contain his IMEI info... instead we have to extract a backup for our device first and then restore if needed... it is clear that THIS METHOD WILL NOT WORK WHO HAVE NO IMEI AVAILABLE..
dev0xteam said:
The zip isn't a backup. It contains the tools required for the backup.
Click to expand...
Click to collapse
All right. My bad. Cause I never download it.
Sent from my GT-I9003 using Tapatalk 2
---------- Post added at 09:05 PM ---------- Previous post was at 09:01 PM ----------
mustafahussain said:
I think it doesnt contain his IMEI info... instead we have to extract a backup for our device first and then restore if needed... it is clear that THIS METHOD WILL NOT WORK WHO HAVE NO IMEI AVAILABLE..
Click to expand...
Click to collapse
You are right. However. This will help to who still have good efs partition for preventing lost of imei. Especially now we have Lola great ROM for flashing.
Sent from my GT-I9003 using Tapatalk 2
imei problem
hi guys
recently i flashed a custom rom and then i found out that i had to backup my efs folder.i was nt getting network in that custom rom and with *#06# i was nt getting anything .so i decided to use my nandroid backup.after restoring i have my iemi number shown typing the *#06# keyword.sim cards fully functional .my phone is s duos (dual sim). but if i check my efs folder its empty.so my question is do i have efs data lost.??if lost then how am i able to make calls?if nt y is my efs folder empty?

TWRP Restore ??? Folder

has anyone else seen a system folder with 2 or 3 question marks after doing a nandroid restore with TWRP.
dandydon414 said:
has anyone else seen a system folder with 2 or 3 question marks after doing a nandroid restore with TWRP.
Click to expand...
Click to collapse
Nope, have not seen that. What is the complete path of it? Are there any files?
CrustyMcLovin said:
Nope, have not seen that. What is the complete path of it? Are there any files?
Click to expand...
Click to collapse
it's the first folder in system of root
Based on mine, I am guessing that ought to be the "addon.d" folder.
OR not... Hard to say really since I am running an AOSP rom and I am guessing you are running a TW rom.
yeah, running a tw rom. when I try to get into that folder I get an error

[SOLVED] TWRP backups: Delete failed

Hi
Despite several attempts with different file managers and TWRP versions I can't delete my TWRP backups. The only solutions I have is through the recovery mode or a terminal command (rm -rf /sdcard/...).
No issue to delete folders from other directories though.
Is this the same with new backups?
rootSU said:
Is this the same with new backups?
Click to expand...
Click to collapse
Yep
Primokorn said:
Yep
Click to expand...
Click to collapse
odd. i use root explorer, open twrps file, select backups, long press on the backup i want to delete, then press delete(and its gets deleted). what file explorer do you use?
Permissions look right.
Maybe TWRP is doing something funky. For example, if you bacakup your entire /sdcard via adb in recovery then push it back, you won't be able to make changes on /sdcard to any directory. Maybe TWRP is doing something when it backs up. Maybe try a few different versions of it?
rootSU said:
Permissions look right.
Maybe TWRP is doing something funky. For example, if you bacakup your entire /sdcard via adb in recovery then push it back, you won't be able to make changes on /sdcard to any directory. Maybe TWRP is doing something when it backs up. Maybe try a few different versions of it?
Click to expand...
Click to collapse
last night, i deleted my old backup and made a new one. yes, physically deleted using root explorer before i made a new backup.
simms22 said:
last night, i deleted my old backup and made a new one. yes, physically deleted using root explorer before i made a new backup.
Click to expand...
Click to collapse
I mean for @Primokorn not in general
Sent from my Nexus 5 using Tapatalk
@Primokorn try root explorer
I tried with root explorer, solid explorer and ES file. Nothing works with these apps.
Actually I already had this issue with old TWRP versions.
I manage my backups from the recovery mode now but that's really odd...
Maybe doing a new fastboot flash could fix it. Last time I had to use Flashify to upgrade because I didn't have a PC.
Then I'll try with adb if needed.
If all else fails, you could get what you want off the device and format the internal SD. Could be messed up.
KJ said:
If all else fails, you could get what you want off the device and format the internal SD. Could be messed up.
Click to expand...
Click to collapse
Yep. Better yet, flash a userdata.img I reckon
Problem solved after flashing userdata.img. Thanks guys.
I had tbis problem too after flashing NetHunter. I fixed it by deleting the directory using the file manager in TWRP
iliass01 said:
I had tbis problem too after flashing NetHunter. I fixed it by deleting the directory using the file manager in TWRP
Click to expand...
Click to collapse
It's too late for me to try but I keep this in mind. I took the opportunity to clean up my internal memory lol
BTW due to this issue ADB didn't work while being into recovery mode. Everything is fixed now.

Stock lollipop+root can't copy data back from pc

When I try, it says that its been disconnected, if I use a file manager on the phone it won't let me delete anything off, any ideas on this?
Did you push any data by adb or mtp via recovery?
I copied data via recovery, I take it that's where my problem came from?
you used
adb push backup /data/media/0
Click to expand...
Click to collapse
right?
lowsnamebrand said:
I copied data via recovery, I take it that's where my problem came from?
Click to expand...
Click to collapse
TO your device?
If so, yes that is where the problem came from. If you PUSH data TO your device via recovery (not single files but folders) It screws permissions. There is a zip to fix it which I can link to, if you can confirm that is what you did.
rootSU said:
TO your device?
If so, yes that is where the problem came from. If you PUSH data TO your device via recovery (not single files but folders) It screws permissions. There is a zip to fix it which I can link to, if you can confirm that is what you did.
Click to expand...
Click to collapse
please share the link
kamilmirza said:
please share the link
Click to expand...
Click to collapse
In this thread:
http://forum.xda-developers.com/showthread.php?t=2239421
is a sdcard fix permissions script (flashable zip)
Of course if you can't write to sdcard, you'll either need to adb push / MTP via recovery or using a root explorer, set all permissions to read, write for /data/media/0/Download
That's exactly what I did sir, so I reflashed everything, now (of course) everything is running like a champion, appreciate the info,won't be making that mistake again
lowsnamebrand said:
That's exactly what I did sir, so I reflashed everything, now (of course) everything is running like a champion, appreciate the info,won't be making that mistake again
Click to expand...
Click to collapse
Yeah, MTP and ADB via recovery are fine if you need to get a backup on there to restore or some zips to flash, but as soon as you start pushing actual folders, permissions screw up.
Choice is to go through setup wizard and then use Android MTP or push that zip too and flash every time.
Thanks for the info, won't be making that mistake again Lol, side not lollipop is snappy and responsive as all hell

Restore Onplus Switch Backup

hi!
i did a full Backup with Oneplus Switch on my old official ROM. When i open the folder on my computer it is structured like this:
.Preview
App
Data
OPLauncher
.nomedia
so after i unblocked bootloader, flashed rom and have rooted the phone i downlaoded the Oneplus Switch app from Appstore. When i open it, i can pretty much only scan a QR code with i dont have other possibilities.
Can you please tell me how i can restore my "Switch" backup.
Nobody here who can help me out?
mosc2k said:
Nobody here who can help me out?
Click to expand...
Click to collapse
Hey, You have to copy the op backup to the computer. Root your phone then copy the file op file to your internal storage. Download oneplus switch then open it and click backup/restore in the bottom left. If you've done the other steps correctly then the file should be there ready to restore.
Bxperiaz3 said:
Hey, You have to copy the op backup to the computer. Root your phone then copy the file op file to your internal storage. Download oneplus switch then open it and click backup/restore in the bottom left. If you've done the other steps correctly then the file should be there ready to restore.
Click to expand...
Click to collapse
Hey , well That's the problem he can't use the app since he can only send those days not receive any.
Mist3rShey2nIl said:
Hey , well That's the problem he can't use the app since he can only send those days not receive any.
Click to expand...
Click to collapse
What?

Categories

Resources