Hi,
I am running Carbon Mod Nightly Rom, I was looking at the Volume Blaster Mod (http://forum.xda-developers.com/showthread.php?t=2563209) to raise the volume up on the external speaker. I edited the file system/etc/snd_soc_msm/snd_soc_msm_2x. Somehow I screwed the file up after editing. After I edited it and rebooted, it gets stuck at the Carbon Logo and doesn't go any further :crying:. I have a nandroid backup, but I didnt backup until after I edited the file (before reboot). So I'm wondering can I or how do I replace the edited file (snd_soc_msm_2x) with the original file. I have the original file on the SD card in the phone. I went into the TWRP Recovery and into file manager, but I could not locate the location of the edited file from within there (system/etc/snd_soc_msm/snd_soc_msm_2x). Can someone please help me restore this one file so that my phone will boot up or tell me how would be the best way of getting my phone up and working again ASAP. Oh, I have tried exploring the backup created with Nandroid Backup Manager, well I found the file thats corrupted and opened it with File manager, select all- then delete, then pasted the contents from the working file, and then try to save, and I get an error "Operation Failed". So any help would be greatly appreciated.!!
Thanks in Advance
If you cant see files in /system, you just need to mount it first. Otherwise, just dirty flash the same rom.
DocHoliday77 said:
If you cant see files in /system, you just need to mount it first. Otherwise, just dirty flash the same rom.
Click to expand...
Click to collapse
Dirty Flash? I'm new to all this, so I need some help with the slang. I can explore the contents of the Nandroid backup, are there anyway possible to delete a file in the Nandroid backup and replace it with another file?? If I can do that, then I can replace the corrupted file and then restore from backup. I just dont want to reflash the clean ROM and then have to manually restore all my apps, sms and photos...
If I flash the backup Rom that has the corruted file, and before reboot, can I use the file manager to pull the clean file from the external card and replace the one that corrupted in the root folder. If I can do this, then it should boot normally. Otherwise if I boot with the corrupted file it gets hung after it processes all the apps. (Gets hung on Starting Apps).
I figured it out!!! What I did was I went into recovery, and selected the recovery nandroid backup file that was corrupted. Instead of restoring all the available options, I unchecked System. So it restored everything but the system data. The system data already installed was from the newly installed rom that was working, so by leaving the system unchecked it didnt install the corrupted system from backup! I hope I explained this where you can understand it.
Thanks for all the help DocHoliday77!! I'm just glad that worked and I dont have to manually install everything back over!!
:victory:
Hi!
i kinda messed up my phone a little after trying to upgrade my firmware. I must have flashed the wrong one.
Fortunately i can get into the bootloader, recovery and even start a custom rom.
Unfortunately some things are broken there:
-BT not working
-cant install any apps from store
-some other things
now i tried to reset my phone to complete stock using a nandroid backup from the forum
i dragged it on my phone, twrp sees it and when i try to install it i cant choose the partitions to restore.
When i swipe it i get the Error:
E: no partitions selected for restore
i made a nandroid backup of my broken rom and i can flash this without any problems
maybe im trying to use the wrong nandroid? i tried several but i always get that message. What came to my mind is that there are some files missing in the nandroid backups i downloaded. its about all the 0byte .tar files. Are these interchangeable so i can just try to use copy the ones i have to the nandroid backup i want to install?
Can someone please tell me which nandroid backup i should get?
CID: VODAP102
version bootloader: 3.16.0.000
version baseband: 1.16.2133156.VA15G
S-ON
i only get empty text when using: fastboot getvar version-main
Please help me!!
kiark
kiark said:
Hi!
i kinda messed up my phone a little after trying to upgrade my firmware. I must have flashed the wrong one.
Fortunately i can get into the bootloader, recovery and even start a custom rom.
Unfortunately some things are broken there:
-BT not working
-cant install any apps from store
-some other things
now i tried to reset my phone to complete stock using a nandroid backup from the forum
i dragged it on my phone, twrp sees it and when i try to install it i cant choose the partitions to restore.
When i swipe it i get the Error:
E: no partitions selected for restore
i made a nandroid backup of my broken rom and i can flash this without any problems
maybe im trying to use the wrong nandroid? i tried several but i always get that message. What came to my mind is that there are some files missing in the nandroid backups i downloaded. its about all the 0byte .tar files. Are these interchangeable so i can just try to use copy the ones i have to the nandroid backup i want to install?
Can someone please tell me which nandroid backup i should get?
CID: VODAP102
version bootloader: 3.16.0.000
version baseband: 1.16.2133156.VA15G
S-ON
i only get empty text when using: fastboot getvar version-main
Please help me!!
kiark
Click to expand...
Click to collapse
The bootloader 3.16 indicates your phone is on 1.12 or 1.54 software
any of these should work for VODAP102
http://www.androidfilehost.com/?fid=23329332407590589
MD5: 2feda594532c887c9ee7844d37cd82f3
https://mega.co.nz/#!alZBDLLa!Dr7FtoL55aWNKjT1mNt4zNYZW1OK4OdzKoZ0F6_Soks
https://mega.co.nz/#!xRQ2BA4C!CMuEs0yX-c-gyKEoWbZZ2GtQdw8mpwqgDSf9RFDWRak
I would try the first one first and be sure and check the MD5 of the files you download. It may also be worth your time to update to the latest version of TWRP
Hi!
thanks for the help.
i tried the suggested nandroid, but now im stuck on the: "E: no partitions selected for restore" error
there isnt any showing up somehow.
kiark
kiark said:
Hi!
thanks for the help.
i tried the suggested nandroid, but now im stuck on the: "E: no partitions selected for restore" error
there isnt any showing up somehow.
kiark
Click to expand...
Click to collapse
where are you putting the extradited files ?
they go in TWRP/BACKUPS/YourSerialnumber/nandroidyoudownloaded
in TWRP you can chang where it looks for the backup by simply click the word internel storage xxxxxmb or external sd xxxxxmb or usb_otg xxxxxmb
just choose where you put the nandroid you downloaded
Hi,
thanks for all the help, i feel stupid now - i had a folder too much in the recovery folder :/
now everything seems to work properly and im also on the right firmware
thanks again!
kiark
Hi Guys,
I found this thread and post my problem here cause I have the exact same problem.
I made an backup with the "online nandroid backup" app ant want to restore it with TWRP.
I put the folder in TWRP\backups\myserial\ and it is available in the restore menu in TWRP. But when I try to use it the message is shown!
What can I do? Do I have to flash CWM to use my backup?
goldani said:
Hi Guys,
I found this thread and post my problem here cause I have the exact same problem.
I made an backup with the "online nandroid backup" app ant want to restore it with TWRP.
I put the folder in TWRP\backups\myserial\ and it is available in the restore menu in TWRP. But when I try to use it the message is shown!
What can I do? Do I have to flash CWM to use my backup?
Click to expand...
Click to collapse
same problem here
hi @all i solved this problem ...I hope it will be helpful......
the backup must be in only one folder!!!! ex: twrp:\backups\myserial\here put the folder with the file in it...not a folder and subfolder
sarumans said:
hi @all i solved this problem ...I hope it will be helpful......
the backup must be in only one folder!!!! ex: twrp:\backups\myserial\here put the folder with the file in it...not a folder and subfolder
Click to expand...
Click to collapse
Hey, I have the same issue, a folder with a subfolder, but I'm not sure how to fix the problem...any help?
---------- Post added at 07:22 PM ---------- Previous post was at 07:04 PM ----------
Never mind, got it sorted. It always feels better when you work at it and figure it out yourself. Thanx sarumans for the point in the right direction.
nysfinest318 said:
Hey, I have the same issue, a folder with a subfolder, but I'm not sure how to fix the problem...any help?
---------- Post added at 07:22 PM ---------- Previous post was at 07:04 PM ----------
Never mind, got it sorted. It always feels better when you work at it and figure it out yourself. Thanx sarumans for the point in the right direction.
Click to expand...
Click to collapse
you have to copy only the subfolder in the twrp - backup folder.....
I am happy to have been helpful
htc sensation xe one
Hello, ive the same problem. I did factory data reset and while reseting, phone lagged i waited 20 minutes but nothing changed so i unplugged battery and now phone boots only in bootloader and fastboot TWRP, when i want to restore files from my back up it sais no partition selected for restore please help!
sandrex50 said:
Hello, ive the same problem. I did factory data reset and while reseting, phone lagged i waited 20 minutes but nothing changed so i unplugged battery and now phone boots only in bootloader and fastboot TWRP, when i want to restore files from my back up it sais no partition selected for restore please help!
Click to expand...
Click to collapse
After selected the desired backup folder to restore, did you actually "check" the boxes for the partitions (Boot, System, Data) you want to restore (before you do Swipe to Restore)?
there is actually no box like this or i just look in the wrong place. To do restore i go to bootloader then recovery, restore and i just select the backup folder i dont know where schould i check that boxes.
sandrex50 said:
there is actually no box like this or i just look in the wrong place. To do restore i go to bootloader then recovery, restore and i just select the backup folder i dont know where schould i check that boxes.
Click to expand...
Click to collapse
That TWRP version?
Probably can't help any further, since I am know seeing you have a phone that is pretty old. This forum section is specific to the M8.
clsA said:
where are you putting the extradited files ?
they go in TWRP/BACKUPS/YourSerialnumber/nandroidyoudownloaded
in TWRP you can chang where it looks for the backup by simply click the word internel storage xxxxxmb or external sd xxxxxmb or usb_otg xxxxxmb
just choose where you put the nandroid you downloaded
Click to expand...
Click to collapse
YOU my friend are an absolulte BEEEEEEEEAUTY!!!!
Everywhere that I checked other than here, simply stated that the backup file had to be in the BACKUP folder.
After two days of failure with multiple attempts to install different roms for my S4 (I know, wrong thread) I resorted to the 'Restore' option. I was losing my mind until I found this post of yours. That 'YourSerialNumber' step is crucial.
MUCH respect.
Pottertons said:
YOU my friend are an absolulte BEEEEEEEEAUTY!!!!
Everywhere that I checked other than here, simply stated that the backup file had to be in the BACKUP folder.
After two days of failure with multiple attempts to install different roms for my S4 (I know, wrong thread) I resorted to the 'Restore' option. I was losing my mind until I found this post of yours. That 'YourSerialNumber' step is crucial.
MUCH respect.
Click to expand...
Click to collapse
Easy and useful trick, is to use TWRP to make a backup. For instance, go into TWRP, select Backup, check Boot partition only (assuming your device has that - I don't know much about the S4), which is probably just 10-20 Mb.
TWRP will construct the proper folder structure to save the Boot backup. You can then copy the downloaded nandroid to the same location.
You can put several backup folders in twrp:\backups\myserial\backup1, backup2
But remember (no sub-folders)
**backup1 and backup2 are two different backups. You can also rename folders for your ease but you can't rename (myserial folder) otherwise it will disappear.
w69 said:
You can put several backup folders in twrp:\backups\myserial\backup1, backup2
But remember (no sub-folders)
**backup1 and backup2 are two different backups. You can also rename folders for your ease but you can't rename (myserial folder) otherwise it will disappear.
Click to expand...
Click to collapse
Useful info. I personally like to rename the backup folders (after TWRP generates the backup) with details about the ROM, date, etc. such as: "Stock Rooted Magisk (2-2-18)".
I know TWRP auto creates a file name, with the date and time of when the backup is made. But I still like to change the date format to something that is easier for me to understand. Plus some details on what exactly the backup contains (rooted or not, stock or custom ROM, etc.).
Can anyone help pls ..i have the same problem .Kindly show the right way pls
jc1266 said:
Can anyone help pls ..i have the same problem .Kindly show the right way pls
Click to expand...
Click to collapse
Sure.
TWRP -> BACKUP -> choose BOOT only -> execute
now check where the image was saved eg: ext: /TWRP/BACUPS/XXXXXXXXXX/DATA.../files
now delete what is in the XXXXXXXXXX folder and move your folders there from the path / TWRP / BACKUPS / YYYYYYYYYYY /
this is because it was re-uploaded TWRP and now have a different backup path (folder XXXXXXXXXX)
Can anyone help step by step ? Installed cm11 and twrp 2.8.1.0.
grazhve said:
Can anyone help step by step ? Installed cm11 and twrp 2.8.1.0.
Click to expand...
Click to collapse
easiest solution is to restore from some one else his backup. It won't be fully stock since you still have TWRP recovery.
You can download a backup from here and here. I recommend b635 but it is your choice.
First make a full backup of your phone. Boot in twrp go to backup and swipe to backup.
Then in twrp mount your phone as usb.
Exract the downloaded .zip file. Then put that downloaded folder on sd card. Not the entire folder, but just the last folder.
Should look like this on your sd card: twrp>BACKUPS>022JBW7N3A017892(can be different folder name)>name of downloaded folder>11 different .win and .md5 files
then in twrp choose restore and select the one you want to restore to. One is your cm11 backup (you made yourself) and the other is the downloaded backup
Sorry if it is not clear enough. If you still have problems please tell me. :good:
Thanks its clear, my biggest problem was. which restore version download
Hi, I just flashed AICP and found that the VoLTE is missing. I've an EFS partition backup taken with TWRP earlier. But that file is an IMG file. When I try to restore that IMG file using TWRP it asks for the correct partition to restore. All I can see are:
Boot
Recovery
System image
Vendor image
Firmware (image)
Splash
Could someone please say to which partition should I restore it?
niyonsv said:
Hi, I just flashed AICP and found that the VoLTE is missing. I've an EFS partition backup taken with TWRP earlier. But that file is an IMG file. When I try to restore that IMG file using TWRP it asks for the correct partition to restore. All I can see are:
Boot
Recovery
System image
Vendor image
Firmware (image)
Splash
Could someone please say to which partition should I restore it?
Click to expand...
Click to collapse
Your efs backup should be named something like efs.emmc.win
Samirmathakiya said:
Your efs backup should be named something like efs.emmc.win
Click to expand...
Click to collapse
Nope, the file name is efs_backup.img . How to restore it?
Could someone please help? I found tutorials only to backup EFS partition using TWRP. Didn't find any for restoration. At least someone please post the link to it? Googling didn't give any results.
I've already asked this on XDA before, but no one replied me. Here's the link: https://forum.xda-developers.com/le...te-problems-custom-roms-t3744291/post77703907
If the EFS in IMG file format can't be restored then what's the point of backing up the EFS using TWRP? I always QPST the ZUI ROM whenever I switch to a different ROM. This time I don't have my PC with me, that's why I'm asking this. If we can't restore this using TWRP then at least please confirm it. Then I will wait until I get my PC.
niyonsv said:
I've already asked this on XDA before, but no one replied me. Here's the link: https://forum.xda-developers.com/le...te-problems-custom-roms-t3744291/post77703907
If the EFS in IMG file format can't be restored then what's the point of backing up the EFS using TWRP? I always QPST the ZUI ROM whenever I switch to a different ROM. This time I don't have my PC with me, that's why I'm asking this. If we can't restore this using TWRP then at least please confirm it. Then I will wait until I get my PC.
Click to expand...
Click to collapse
Efs Backup created through twrp contains .win format and you can recover only if it's in that format. Or if you are damn sure that you have created backup through twrp then find that version of twrp and then try to restore.
You dont have to flash the file, you have to restore it using twrp
Make a backup of your current efs through twrp
You will find it in the internal memory in twrp folder
Go into the folder, keep going in till you find the img file of your current backup, replace it with the previous backup.
Then boot into twrp md go into restore, you will find the option to restore the efs partition
Hello guys,
I have a question, yesterday I made a copy of all the partitions of the phone, one by one ... in qfil, using the partition manager.
The thing is, I wanted to test things and save my setup before formatting.
When I finished testing things, I started flashing the partitions one by one again. When I finished, I turned on the phone and I got a screen that said:
"Could not decrypt (or something like that), memory will be erased." Then it started to format data alone. And the Rom appeared at boot with nothing of mine configured, nothing of the backup, just like a factory reset.
Can someone help me to know what has happened? Do I need to flash the dm-verity-forceencrytp when restoring with qfil?
All I want is to restore my backup of .bin files
Before restoring, I flashed the base kdz of my backup. I do not understand that it could have gone wrong, or it could have gone wrong, and the backup is done by another method, other than backing up each of the partitions.
have you found any solution for this ?. I have the same problem.