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:
Related
So heres the situation. I made a backup of my phone using rom manager because I wanted to try out the new cyanogen. I got done playing with it and I went to revert back to my restore I had just created. During the restore I got an md5 mismatch error.
I used the instructions here to repair the restore
http://www.droidforums.net/forum/droid-hacks/40428-checking-md5-sum.html#post430944
su
cd /sdcard/clockworkmod/backup/*rom name (date and time usually)/
md5sum *img > nandroid.md5
reboot recovery
The procedure worked in the sense that I was able to restore the image. The problem is after the restore I am stuck at the white "HTC Incredible" screen. I tried wiping caches and running the restore again but I am unable to get the phone to reboot.
I was able to restore to a much older restore that I had previously created but it lacks alot of updates and changes that I have made since then. Not to mention my Angry Birds saved game.
Looking at the restore files it looks like the folder for the restore contains a hand full IMG files. What i'm wondering is since it appears that the boot process is damaged I'm wondering if I could make a backup of the phone as it is now then take lets say the data.img file (or whatever file i need to recover installed apps and saved games) and overwrite the img files for the restore i just created. I could then use the same procedure I just performed to recreate the md5 hash and run the restore. My home is that will allow me to get my data back and still allow the phone to boot.
What do you guys think? Is it doable or am I going to be in a world of hurt if I start messing with this?
Something else you might try is to restore the latest backup, then do an advanced restore of just the boot partition from your older backup. It's worth a shot I'd think.
Did you put spaces or special characters when you named your backup? This can cause MD5 mismatch errors.
s197 said:
Did you put spaces or special characters when you named your backup? This can cause MD5 mismatch errors.
Click to expand...
Click to collapse
NO, I didn't. I used the default setting. I think it was 2010-12-29.01.34.10 or something like that.
setexascustoms said:
Something else you might try is to restore the latest backup, then do an advanced restore of just the boot partition from your older backup. It's worth a shot I'd think.
Click to expand...
Click to collapse
Thanks man, This worked perfectly. Restoring the boot.img didn't fix the problem but restoring the system.img did. I have all my data back and my phone is fully functional again. Thanks again.
Hi, when i use Rom manager to make a back up, it automatically boots into recovery and and attempts to back up and fails.
It says
Waiting for sd card to mount (20s)
E:Cant mount /devblock/mmcblk0 (or/dev/block/mmcblk01)
(no such file or directory)
Waiting for sd card to mout (19s)
SD Card Mounted....(and then it creates an error log file)
I used to be able to back up like this, but for some reason it does not work.
I currently back up manually, booting into recovery and doing it that way.
Any Ideas??
Andy
Please do not use Rom Manager!!!
For Nandroid Backup / Restore use your recovery, for backups of apps and system use Titanium Backup. They are better and more matured.
Ok thanks for the advice,
Is there a way then to modify the file name so i know what ROM version etc i have backed up?
andy
andy46 said:
Ok thanks for the advice,
Is there a way then to modify the file name so i know what ROM version etc i have backed up?
andy
Click to expand...
Click to collapse
Yes. Go to Rom Manger -> manage and restore backups -> long press the backup that u want to rename -> rename
Ok thanks. Knew I could do it this way but wondered if could some how do it in a certain recovery or something.
Andy
Sent from my HTC Desire using Tapatalk
Check the 4ext recovery in my signature. It automatically names your backup using the name of the ROM and the time the backup was created.
Hello!
I S-OFFed my phone and then I rooted it in order to try an ICS ROM. Everything went smooth. I put 4ext and then made a backup. Then I put the ICS ROM and now I want to revert back to my backup.
Sadly, I can't. I don't know why. Can any1 help?! All off the backup-ed files are in the folder: 2012-09-30.21.57.56_GRI40. The folder contains the following files:
.android_secure.yaffs2.img
boot.img
cache.yaffs2.img
data.yaffs2.img
nandroid.md5
recovery.img
system.yaffs2.img
There is no zip file and I dont know how to restore? The Restore function doesn't work, install from sdcard either (it searches for zip). What to do? Please, I want my backed up files!
4ext is ver 1.0.0.5 RC3. I have done full wipe before ICS ROM and before I tried restoring. Please, help!
PS: Or atleast give me link to read how to do it myself, I can't seem to find what I am looking for :/ This backup is really important for me!
bgdaemon said:
Hello!
I S-OFFed my phone and then I rooted it in order to try an ICS ROM. Everything went smooth. I put 4ext and then made a backup. Then I put the ICS ROM and now I want to revert back to my backup.
Sadly, I can't. I don't know why. Can any1 help?! All off the backup-ed files are in the folder: 2012-09-30.21.57.56_GRI40. The folder contains the following files:
.android_secure.yaffs2.img
boot.img
cache.yaffs2.img
data.yaffs2.img
nandroid.md5
recovery.img
system.yaffs2.img
There is no zip file and I dont know how to restore? The Restore function doesn't work, install from sdcard either (it searches for zip). What to do? Please, I want my backed up files!
4ext is ver 1.0.0.5 RC3. I have done full wipe before ICS ROM and before I tried restoring. Please, help!
PS: Or atleast give me link to read how to do it myself, I can't seem to find what I am looking for :/ This backup is really important for me!
Click to expand...
Click to collapse
create a folder on ur sdcard named-
clockworkmod
and put ur
2012-09-30.21.57.56_GRI40
backup file in the clockworkmod folder and then try restore in recovery
Sent from my HTC Desire
Just tried it - not working Still can't find any backup. 2012-09-30.21.57.56_GRI40 is not a file but a folder with many files in it. It is not a zip. Could that be a problem?
PS: OK, solved it!
First, to say - the phone stopped booting into OS - it went straight to HBOOT when I press the power button. So I made a new backup. Then I copied my update files instead of the ones I created last. Then using advanced restore, I restored everything one by one (without cache).
It worked
Thanks for the advice, jmcclue, it helped a lot!
Thank's
I was experimenting with the xposed framework and got stuck in a boot loop after restarting for a second time to install some more modules. The safe mode booting didn't work and neither did the included restore zip file for getting out of it. I tried to restore from the backup on the phone, but it already had the xposed framework in it and it got into a boot loop too!
I tried to adb sideload the backups that I made, and that didn't work either.
I keep backups, made from CWM Recovery, and I pull these to my computer using a WiFi file explorer. (I don't have enough storage to keep two alternative backups so I always have the second stored on my computer)
Anyway, I cant seem to get the restore file that I uploaded to my computer (a restore image) to reload on to my phone and restore. I have attempted to transfer it back to the phone into the folder it came from, but the file wont flash as a zip and it doesn't show up to be restored if I select the restore feature. (BTW-The restores have plenty of SD room to restore on, that isn't the issue)
I realize that the WiFI File Explorer that I use may be zipping the files, so shouldn't I be able to "install zip" in CWM recovery and it restores the image? (apparently not, can you explain why, and what I can do?)
Can I get access to the mnt/shell/emulated/clockworkmod/backup/ to put the file there to be restored again?
Or,.. How do I put the restore file on my phone (in the correct place) to be restored again?
Is my problem being caused by where I am pulling/pushing the file from(mnt/shell/emulated/clockworkmod/backup/)?
What am I missing/doing wrong?
Nexus 4
CM11 installer version xnpq08q
Rooted Unlocked
CWM Recovery
Hi there,
I was running a RR rom and got a msg about an update for my ROM. So i thought i would try it out. I made a full nandroid back up and after that updated my ROM. After the update my homebutton didnt work anymore. So i thought, lets just restore my back up again. I did a fully factory wipe, i flashed TWRP again on my OP3 because for some reason after the factory wipe i got the Cynogen recovery mode. So i put back TWRP, put my back up on my phone from my laptop, but when i went to "restore" nothing was there. I tried to move my back up from the "sdcard" directory to the root directory but i got an error which didnt specify what the problem was.
Can any1 help me restore my OP3 again?
so when u went to TWRP -> Restore, there was not backup found to restore? but when u check ur phone through file manager its there?
Bradl79 said:
so when u went to TWRP -> Restore, there was not backup found to restore? but when u check ur phone through file manager its there?
Click to expand...
Click to collapse
Thats correct. When i go in the file manager, i see the backup in the sdcard directory along side the TWRP directory. I tried to move it with the file manager, but it gave me an error which was not specefied.
Cainnub said:
Thats correct. When i go in the file manager, i see the backup in the sdcard directory along side the TWRP directory. I tried to move it with the file manager, but it gave me an error which was not specefied.
Click to expand...
Click to collapse
Try to mount data/internalstorage.
Puddi_Puddin said:
Try to mount data/internalstorage.
Click to expand...
Click to collapse
thats already mounted under the tab "mount". Or did you mean in the terminal?
see if u can use this to extract whatever u need then
https://www.youtube.com/watch?v=mKqYUPx4VrY&index=8&list=FL1dLDa3yAfMcdOipOfWp49A
Bradl79 said:
see if u can use this to extract whatever u need then
https://www.youtube.com/watch?v=mKqYUPx4VrY&index=8&list=FL1dLDa3yAfMcdOipOfWp49A
Click to expand...
Click to collapse
ok now i extracted all the files from the tar files, but what is the next step? I tried putting them on my OP3, but that does nothing. My OP3 still doesnt see a back up.
Another thing is something i saw is that in TWRP, when i shut down my OP3, TWRP says that there is no OS installed. Is that normal?
No that is not normal, the extraction is there so u can reinstall things, I will have to take a look at it again, do u know what all partitions u had backed up and did u move the backup location?
Lately backup in twrp recovery sucks.
Yesterday, i want to test another rom. So i wipe cache/dalvik & backup in twrp. I select all except rom img (3gb) and cache (zero). Try the new rom. Does not work for me. So wipe all except sd card & restore my backup.
Error..
I use only twrp 3.0.4.1, so it can not be a conflict in different twrp's versions. It's not the first time....
If you wipe youre phone, including sd card, go to recovery, backup and choose the smallest size file to backup. Recovery creates youre backup folder in TWRP directory. After that you can erase the that backup.
I flashed back oxygen (OMG I forgot how ugly oxygen was) last version, so I got a working phone again but ofc without all my media. I just find it weird that I make a full backup (I had everything checked) and I can't do anything with it.
I did full factory reset, so maybe that's the reason my OS got deleted aswell. What partition has the OS installed?
When I reboot my OP3, I get a msg saying that dm-verity has not started in enforcingmode and may not work properly. What does that mean?
Cainnub said:
When I reboot my OP3, I get a msg saying that dm-verity has not started in enforcingmode and may not work properly. What does that mean?
Click to expand...
Click to collapse
Maybe here you find some help.
https://forum.xda-developers.com/oneplus-3/how-to/fix-easy-method-removing-dm-verity-t3544339