[Q] Place Nandroid backip zip in clockworkmod/backup folder - One (M7) Q&A, Help & Troubleshooting

I've been trying to flash a nandroid backup that I downloaded as a zip file via clockworkmod.
I've placed the nandroid zip in the clockworkmod/backup folder, but when I go to restore in clockworkmod it is not seen (only a backup I made earlier).
I pushed the .zip via adb into the /mnt/shell/emulated/clockworkmod/backup/ directory.
Any ideas how to get this to work? I need to return to stock for an insurance claim.
Thanks for any help!

can you do this using ADB ?
adb shell
cd /mnt/shell/emulated/clockworkmod/backup/
ls -la
what is your output?
If there is an error above, try cd /data/media/clockworkmod/backup/
or cd /data/media/0/clockworkmod/backup/

SaHiLzZ said:
can you do this using ADB ?
adb shell
cd /mnt/shell/emulated/clockworkmod/backup/
ls -la
what is your output?
If there is an error above, try cd /data/media/clockworkmod/backup/
or cd /data/media/0/clockworkmod/backup/
Click to expand...
Click to collapse
Output was:
Code:
drwxrwx--- root sdcard_r 2014-02-10 21:27 2014-02-10.21.23.00
drwxrwx--- root sdcard_r 2014-02-12 20:10 2014-02-12.20.04.30
-rw-rw---- root sdcard_r 1034657679 2014-02-11 00:22 ruu.zip
Still can't see the ruu.zip file that I want to restore when I'm in clockworkmod. Is it because it's a .zip or a permission error? I presume the others are folders.

1. Wrong folder location. Evident by no other folders.
2. You can NOT restore ruu.zip file. It need to be unzipped and the content pushed to a new folder

SaHiLzZ said:
1. Wrong folder location. Evident by no other folders.
2. You can NOT restore ruu.zip file. It need to be unzipped and the content pushed to a new folder
Click to expand...
Click to collapse
Thanks, I got it to show up.
Next problem however, is a MD5 mismatch. No knowledge on how to fix this, if possible. Are you aware?
Thanks again

Maybe an older cwm version. Sorry can't help. But there maybe an option to skip md5 check if you are certain you have right file
sent from my mobile device

SaHiLzZ said:
Maybe an older cwm version. Sorry can't help. But there maybe an option to skip md5 check if you are certain you have right file
sent from my mobile device
Click to expand...
Click to collapse
No worries, thanks though. Ended up flashing a different stock rom instead. Removed tampered, relocked and s-on. Finally.

Related

[Q] I can't boot into recovery!

I rooted using UniversalAndRoot, which worked according to the app. Installed ROM Manager and flashed ClockworkMod Recovery.
This is where I stumble. I've tried selecting Reboot into Recovery, Install from SD, powering up with Vol Down pressed and selecting Recovery. All three boot as far as the X, flash a bit of white at the bottom of the screen then the phone turns off.
Waiting for a minute/pressing buttons or pulling the battery lets me boot back up fine, but I still can't boot into Recovery.
I've tried choosing install AltRecovery and old versions of Clockwork but they both behave the same way.
Any advice guys? Is it because I rooted with UniAndRoot?
top_bunk said:
I rooted using UniversalAndRoot, which worked according to the app. Installed ROM Manager and flashed ClockworkMod Recovery.
This is where I stumble. I've tried selecting Reboot into Recovery, Install from SD, powering up with Vol Down pressed and selecting Recovery. All three boot as far as the X, flash a bit of white at the bottom of the screen then the phone turns off.
Waiting for a minute/pressing buttons or pulling the battery lets me boot back up fine, but I still can't boot into Recovery.
I've tried choosing install AltRecovery and old versions of Clockwork but they both behave the same way.
Any advice guys? Is it because I rooted with UniAndRoot?
Click to expand...
Click to collapse
You probably have SLCD screen. Then you have to use Amon_RA 1.8.0.1 recovery which is only one (as far as i know) intended for SLCD screens.
Ah okay. Is there an easy way for me to flash that? Not really comfortable with the SDK approach...
Thanks for the fast reply btw
If you don't have unlocked bootloader you have to use flash_image binary to flash new recovery because amon_ra 1.8.0.1 recovery don't show up in rom manager.
Download it from here http://cyanogen-files.carneeki.net/flash_image.zip. Put it in root of sdcard as well as 1.8.0.1 img file and in phone terminal type
1) cd /sdcard
2) flash_image recovery 1.8.0.1.img (replace with name of img file)
houmles said:
2) flash_image recovery 1.8.0.1.img (replace with name of img file)
Click to expand...
Click to collapse
I'm getting flash_image: not found
I've double checked the file name is correct
Did you unpack the zip file? There is only one file named exactly "flash_image" so you should not getting not found error if you have that file in root of sdcard and you are at /sdcard in terminal.
Send me output of "ls -la" command from /sdcard.
----rwxr-x system sdcard_rw 17638414 2010-09-10 20:20 gapps-hdpi-20100817-signed.zip
----rwxr-x system sdcard_rw 70864056 2010-09-10 20:22 update-cm-6.0.0-N1-signed.zip
----rwxr-x system sdcard_rw 11818685 2010-09-10 21:05 FRF50-radio-4_06_00_12_7.zip
----rwxr-x system sdcard_rw 4145152 2010-09-10 23:10 recovery.img
----rwxr-x system sdcard_rw 26172 2009-10-03 18:07 flash_image
Try ./flash_image instead of just flash_image.
One more thing: type this as the first command when you enter the Terminal:
su
Then type:
cd /sdcard
./flash_image recovery <insert_recovery_img_name_here>
Jack_R1 said:
Try ./flash_image instead of just flash_image.
One more thing: type this as the first command when you enter the Terminal:
su
Then type:
cd /sdcard
./flash_image recovery <insert_recovery_img_name_here>
Click to expand...
Click to collapse
./flash_image: permission denied
top_bunk said:
./flash_image: permission denied
Click to expand...
Click to collapse
Weird. Try:
1) su
2) cd /sdcard
3) chmod +x flash_image
4) ./flash_image recovery file.img
Well, that's because SD card isn't a good place to put flash_image. Permissions inherited from FAT32 are awkward and aren't changeable. But there's a way around it.
Do the following sequence: run Terminal, enter the following commands:
su
cd /sdcard
cp flash_image /data/local/tmp
chmod 755 /data/local/tmp/flash_image
/data/local/tmp/flash_image <insert_recovery_img_name_here>
houmles said:
3) chmod +x flash_image
Click to expand...
Click to collapse
Won't work for 2 reasons:
1) In Android, chmod seems not to recognize letters for permissions.
2) On SD card formatted with FAT32, the mount assigns default permissions for all files, and they can't be changed - since the file system doesn't support it.
Jack_R1 said:
Won't work for 2 reasons:
1) In Android, chmod seems not to recognize letters for permissions.
2) On SD card formatted with FAT32, the mount assigns default permissions for all files, and they can't be changed - since the file system doesn't support it.
Click to expand...
Click to collapse
It didn't work...
Jack_R1 said:
su
cd /sdcard
cp flash_image /data/local/tmp
chmod 755 /data/local/tmp/flash_image
/data/local/tmp/flash_image <insert_recovery_img_name_here>
Click to expand...
Click to collapse
cp: not found
Have any file explorer installed? Astro / EStrongs / whatever?
Copy the file manually in file explorer, and skip the "cp ......" instruction.
Jack_R1 said:
Have any file explorer installed? Astro / EStrongs / whatever?
Copy the file manually in file explorer, and skip the "cp ......" instruction.
Click to expand...
Click to collapse
I just thought of the same thing
Installing Astro now (it's a new phone no apps!)
Jack_R1 said:
Won't work for 2 reasons:
1) In Android, chmod seems not to recognize letters for permissions.
2) On SD card formatted with FAT32, the mount assigns default permissions for all files, and they can't be changed - since the file system doesn't support it.
Click to expand...
Click to collapse
ah, didn't know that
Jack_R1 said:
Have any file explorer installed? Astro / EStrongs / whatever?
Copy the file manually in file explorer, and skip the "cp ......" instruction.
Click to expand...
Click to collapse
As Jack wrote, you can only copy the file manually with some file explorer.
houmles said:
As Jack wrote, you can only copy the file manually with some file explorer.
Click to expand...
Click to collapse
It won't let me copy it... I've tried Astro and ES.
Lots of complications...
Install Busybox from the Market. Then you'll have "cp" working.
If it still won't work, try "busybox cp" instead.
If you have adb connection you can try this:
unpack zip I sent you and recovery.img to root of c:\ for example .. then:
1) adb push c:\flash_image /data/flash_image
2) adb push c:\recovery.img /data/recovery.img
3) adb shell
4) chmod 755 /data/flash_image
5) /data/flash_image recovery /data/recovery.img
Jack_R1 said:
Lots of complications...
Install Busybox from the Market. Then you'll have "cp" working.
If it still won't work, try "busybox cp" instead.
Click to expand...
Click to collapse
Lots
...but it's done! Thanks a lot for the help guys
I've gotta be up in a few hours so I don't have time to install a ROM and faff about, but hopefully it will be all good from here on in.
Cheers again!!

[HOWTO][CWM][4.2] Synchronizing clockworkmod Directory

Update 11-26-2012
The issue that this procedure was designed to overcome has been resolved in the latest version of CWM (6.0.1.9 or newer). Please view http://forum.xda-developers.com/showthread.php?t=1781899 for details and download links. If you do not want to upgrade to the latest CWM the directions below will still work but you should really just update.
Background
Due to the multi-user support capabilities of Android 4.2(+) the clockworkmod directory created by ClockworkMod and used to store downloads and backups is being created in /data/media. Unfortunately this directory is not accessible to individual users and therefore backups created in recovery can not be viewed or modified by ROM Manager and vice versa. ROM Manager will look for the directory /data/media/<user number> (e.g. /data/media/0) to which /sdcard is mounted when you are logged in as the user whose number is <user number> (e.g. 0).
Requirements
ClockworkMod Recovery installed and functioning
ROM Manager
ADB installed on your computer and functioning
Willingness to accept that you are on your own and I am not responsible if you mess something up!
Solution
1. Boot into CWM recovery
2. Attach your Nexus 7 to your computers USB port
3. Open an ADB shell using a console from your computer
Code:
adb shell
4. Confirm that you have a clockworkmod directory at /sdcard/clockworkmod (I am using user number 0 for the rest of this procedure, if you wish to use a different user substitute 0 with your user number)
Code:
cd /data/media/0
ls
4a. If you do not see a clockworkmod directory create one with the command below, otherwise proceed to step 5
Code:
mkdir /data/media/0/clockworkmod
5. See if you have a clockworkmod directory at /data/media
Code:
cd /data/media
ls
5a. If you see a clockworkmod directory type the command below, otherwise proceed to step 6
Code:
mv clockworkmod clockworkmod_bak
6. Create the symbolic link
Code:
ln -s /data/media/0/clockworkmod/ clockworkmod
7. If you already had backups in clockworkmod (now clockworkmod_bak) you can move them to the new folder by executing the following command
Code:
mv clockworkmod_bak/backup/ clockworkmod/
mv clockworkmod_bak/blobs/ clockworkmod/
mv clockworkmod_bak/download/ clockworkmod/
WARNING: I tested a backup from recovery and verified the backup was in ROM Manager, renamed the backup in ROM Manager, and confirmed the backup was renamed in recovery. Due to time constraints I did not restore the backup though I can't imagine why it would fail. As mentioned above do this at your own risk. If you do not have a unix/linux experience I would suggest that you wait for someone with experience to follow these steps (I wrote them after I did the procedure so they haven't been vetted) before you attempt it yourself.
Very helpful, i was wondering what they did to mess up clockwork mod
been trying to undo 4.2 for hours as i dont quite like it
truehybridx said:
Very helpful, i was wondering what they did to mess up clockwork mod
been trying to undo 4.2 for hours as i dont quite like it
Click to expand...
Click to collapse
I am on the fence about 4.2 myself and when I couldn't see my 4.1.2 backup I had a panic moment. I have to admit that either 4.2 is growing on me or I am already forgetting how good 4.1.2 was .
sandnap said:
I am on the fence about 4.2 myself and when I couldn't see my 4.1.2 backup I had a panic moment..
Click to expand...
Click to collapse
+1! Panic indeed! LOL
Great tutorial. Thanks and have a happy thanksgiving
Is there a way to do this without using adb? I don't know how to get it working.
It looks like you are just moving all the files from one location to another, right? If thats the case can I just move them with a file explorer? Also where are the back-ups from pre 4.2 stored, I thought it was sdcard/clockworkmod/ Can I move the back-ups from there to a data/media/clockworkmod folder?
StarOrc said:
Is there a way to do this without using adb? I don't know how to get it working.
It looks like you are just moving all the files from one location to another, right? If thats the case can I just move them with a file explorer? Also where are the back-ups from pre 4.2 stored, I thought it was sdcard/clockworkmod/ Can I move the back-ups from there to a data/media/clockworkmod folder?
Click to expand...
Click to collapse
Please see my update to the original post. Once you update to the latest CWM you can copy any existing backups to the new backup and blobs folders under /data/media/clocworkmod. This is discussed in more detail in the thread I linked to.
Code:
mv clockworkmod_bak/backup/ clockworkmod/
mv clockworkmod_bak/blobs/ clockworkmod/
mv clockworkmod_bak/download/ clockworkmod/
This is me just being nit picky, but this looks better:
Code:
mv clockworkmod_bak/* clockworkmod/
I guess for people not confident in their linux abilities that '*' misplaced could be deadly though...anyway thanks for the simple and great workaround/explanation.
Wiping/ Factory resets (in CWM or TWRP) don't erase this data folder? Are we confident in this?
255|[email protected]:/data/media/clockworkmod # mv backup/ /sdcard/clockworkmod/
failed on 'backup/' - Cross-device link
How are you able to move the directories?
This seriously annoys me. Despite the recent surge of newer android devices not containing any sd card slots for secure file storage away from ROM flashing, everything is now embedded. I have had several accidental internal storage deletions containing backups and roms and no the clockworkmod is even harder to locate and backup conveniently through usb/ftp. Thanks for the tut.
TheAtheistReverend said:
Wiping/ Factory resets (in CWM or TWRP) don't erase this data folder? Are we confident in this?
Click to expand...
Click to collapse
Yeah i am wondering that too.it doesnt feel safe for me that the backups are in the system but not in sdcard.
nexus file locations
On the nexus devices (certainly the 7, which has no external sdcard), the only real mounted portions are cache, system and data. Locations like /sdcard/ /storage/emulated/0 etc. are all fuse mounted from /data/media
Supposedly most of the data portion will survive flashing new ROMs and recoveries, everything except unlocking the boot loader, which wipes data f to meet the android security model.
Doesn't feel very safe, though.
amp said:
This seriously annoys me. Despite the recent surge of newer android devices not containing any sd card slots for secure file storage away from ROM flashing, everything is now embedded. I have had several accidental internal storage deletions containing backups and roms and no the clockworkmod is even harder to locate and backup conveniently through usb/ftp. Thanks for the tut.
Click to expand...
Click to collapse
I would use TWRP. I have switched and never looked back. It has quite a few more advanced options that I didn't see with clockworkmod, and overall has be MUCH more reliable.
The clockworkmod recovery issue stated in this thread does not affect TWRP at all.
Thanx for this, it seems to work even for the latest CWM.
Sent with desire from My One
angusc said:
Thanx for this, it seems to work even for the latest CWM.
Sent with desire from My One
Click to expand...
Click to collapse
Iget an error: Read-only File system :crying:
fokus said:
Iget an error: Read-only File system :crying:
Click to expand...
Click to collapse
If doing commands with adb did you remember to use
adb shell
And check that your command line starts with #......
Sent with desire from My One
angusc said:
If doing commands with adb did you remember to use
adb shell
And check that your command line starts with #......
Sent with desire from My One
Click to expand...
Click to collapse
Yes, that is exactly what i did.
I am on ARHD 11.0
S-off
ElementalX 2.2
I'm on ARHD 11.0 as well.
Strange, I followed the OP from step 1 to 6. I couldn't get step 7 to work so I just used my root explorer to copy the directory contents across in to the newly created clockworkmod folder, then deleted the clockworkmod.bak directory and all was good.
Tip: copy and paste each cmd from the OP in to your adb commands window......
Sent with desire from My One
angusc said:
I'm on ARHD 11.0 as well.
Strange, I followed the OP from step 1 to 6. I couldn't get step 7 to work so I just used my root explorer to copy the directory contents across in to the newly created clockworkmod folder, then deleted the clockworkmod.bak directory and all was good.
Tip: copy and paste each cmd from the OP in to your adb commands window......
Sent with desire from My One
Click to expand...
Click to collapse
THX. That is what i did. I also tried it via Terminal on the device - same error: System read only... hmmm
EDIT: Works fine now after e vew reboots. THX

i require help going back to stock

When trying to use RUU's i get a error that it cant update my htc one.
i tried both europian RUU's and its a europian phone(dutch no simlock)
i also have a nandroid but i cant restore it....it says no files found.
Where do i place the nandroid backup(made by clockworkmod) and how do i restore it?
thanks.
borgqueenx said:
When trying to use RUU's i get a error that it cant update my htc one.
i tried both europian RUU's and its a europian phone(dutch no simlock)
i also have a nandroid but i cant restore it....it says no files found.
Where do i place the nandroid backup(made by clockworkmod) and how do i restore it?
thanks.
Click to expand...
Click to collapse
I read your post in my guide thread. What recovery do you have CWM or TWRP?
borgqueenx said:
When trying to use RUU's i get a error that it cant update my htc one.
i tried both europian RUU's and its a europian phone(dutch no simlock)
i also have a nandroid but i cant restore it....it says no files found.
Where do i place the nandroid backup(made by clockworkmod) and how do i restore it?
thanks.
Click to expand...
Click to collapse
I know my device(From the Netherlands Sim Unlock) is on WWE firmware. Is yours carrier branded?
My advice would be to try Reinstalling CWM through HTC One AIO toolkit and then place the backup back in the CWM folder.
Maybe that will work.
clockworkmod is the installed recovery.
it just doesnt want to start the restore function. i can however select install from sd card fine, proofing that it has no problems seeing the data....
mine is not carrier branded.
So when you attempt to do the restore from CWM it lists the date/name of your backup but fails? Or can you not even get CWM to start the restore because it doesn't see the backups?
crushalot said:
So when you attempt to do the restore from CWM it lists the date/name of your backup but fails? Or can you not even get CWM to start the restore because it doesn't see the backups?
Click to expand...
Click to collapse
no it does not list anything.
tried moving the backup folder but i have no idea where to place it. already tried putting it in root, triying to put it in /backup and in /clockwordmod or something.
the error i get is: couldnt open directory, no files found.
borgqueenx said:
no it does not list anything.
tried moving the backup folder but i have no idea where to place it. already tried putting it in root, triying to put it in /backup and in /clockwordmod or something.
the error i get is: couldnt open directory, no files found.
Click to expand...
Click to collapse
Sorry this part can be tricky because folder path is slightly different on 4.1.2 than 4.2.2. Also I haven't used CWM in a long time since I switched to TWRP.
Did you try putting the entire clockwordmod folder in:
/data/media
Then try the restore.
crushalot said:
Sorry this part can be tricky because folder path is slightly different on 4.1.2 than 4.2.2. Also I haven't used CWM in a long time since I switched to TWRP.
Did you try putting the entire clockwordmod folder in:
/data/media
Then try the restore.
Click to expand...
Click to collapse
had to make both folders, they didnt exist. there is a .data folder though.
edit: didnt work putting the backup folder in there.
borgqueenx said:
had to make both folders, they didnt exist. there is a .data folder though.
edit: didnt work putting the backup folder in there.
Click to expand...
Click to collapse
You didn't use the correct folders. I am not talking about folders on the root of your sdcard, I am talking about root of file system.
You should have a file explorer tool that will allow you to navigate to root and have R/W permissions so we can move files if needed. If not go to the play store and install https://play.google.com/store/apps/...wxLDEwOSwiY29tLmVzdHJvbmdzLmFuZHJvaWQucG9wIl0
Open the application and on the top left there is a small icon, click it and should open the fast access menu. Choose Root Explorer and then Mount R/W when prompted, click ok (keep defaults).
Now you should be at the device root and it will say Device in the top middle of ES.
Now browse to /data/ then /media
If you do not see a clockwork mod folder in media that is where we need to move the CMW backups in order to be able to restore them from recovery.
So move the clockwordmod folder from media/0/clockworkmod to the root of /media folder so it looks like
/data/media/clockworkmod(folders within here have your backups)
Then boot into recovery and try the restore.
crushalot said:
You didn't use the correct folders. I am not talking about folders on the root of your sdcard, I am talking about root of file system.
You should have a file explorer tool that will allow you to navigate to root and have R/W permissions so we can move files if needed. If not go to the play store and install https://play.google.com/store/apps/...wxLDEwOSwiY29tLmVzdHJvbmdzLmFuZHJvaWQucG9wIl0
Open the application and on the top left there is a small icon, click it and should open the fast access menu. Choose Root Explorer and then Mount R/W when prompted, click ok (keep defaults).
Now you should be at the device root and it will say Device in the top middle of ES.
Now browse to /data/ then /media
If you do not see a clockwork mod folder in media that is where we need to move the CMW backups in order to be able to restore them from recovery.
So move the clockwordmod folder from media/0/clockworkmod to the root of /media folder so it looks like
/data/media/clockworkmod(folders within here have your backups)
Then boot into recovery and try the restore.
Click to expand...
Click to collapse
tried to do exactly what you told me.
there is a data folder in root, but there is no media folder inside of that.
and if i try to create it it fails and says i should try giving the folder another name.
edit: never mind a restart of the app fixed it.
EDIT: didnt work.
my backup folder is inside /data/media/clockworkmod/
and clockwork recovery still gives desame error.
First confirm where CWM is actually putting your backups. Do this by booting into recovery and choose to do a backup. Then uncheck all partitions but the smallest and allow it to backup.
When you reboot navigate through the folders we have been talking about and see the exact path of where it put it. Then compare the contents of the backup folders to make sure it is not your original backup that is messed up.
As long as you place your backup(inside its folder) in the folder where CWM put the test backup, then you should be able to see it from recovery and restore it. If not your original backup may not be any good.
Going offline for about hour for lunch. Be back around 1:30pm EST.
grrrrrr...
made a backup for testing where clockword puts them.
they are in /data/media/clockwordmod/backup
my backup is placed in /data/media/clockwordmod.
when i try to move my backup folder to /data/media/clockwordmod/backup it says successfull, but nothing happens. i cant seem to move the folder.
EDIT: ok copying pasting worked instead of cutting pasting.
i now restored...but for some reason recovery is still clockwordmod, and it still shows tampered and unlocked on first screen before recovery.
Well you probably backed up with the custom recovery installed, right? You'll have to flash the stock recovery manually.
If you want it to be locked, you'll have to lock it. revone will do that for you, after you've flashed stock recovery.
BenPope said:
Well you probably backed up with the custom recovery installed, right? You'll have to flash the stock recovery manually.
If you want it to be locked, you'll have to lock it. revone will do that for you, after you've flashed stock recovery.
Click to expand...
Click to collapse
i made the backup using a started version of clockwordmod, not a flashed version of clockwordmod.
....but ok. where can i find the normalrecovery and how to flash it?
borgqueenx said:
i made the backup using a started version of clockwordmod, not a flashed version of clockwordmod.
....but ok. where can i find the normalrecovery and how to flash it?
Click to expand...
Click to collapse
Odd.
Have you tried looking for the stock recovery? A high proportion of the posts here are about returning to stock.
borgqueenx said:
grrrrrr...
EDIT: ok copying pasting worked instead of cutting pasting.
i now restored...but for some reason recovery is still clockwordmod, and it still shows tampered and unlocked on first screen before recovery.
Click to expand...
Click to collapse
That is all normal. All you have done is reset the ROM back to default. You will still need to restore the stock recovery and then relock the bootloader to get to 100% stock.
I am trying to find all the info needed for you to finish up and I will post it.
---------- Post added at 02:02 PM ---------- Previous post was at 01:44 PM ----------
borgqueenx said:
i made the backup using a started version of clockwordmod, not a flashed version of clockwordmod.
....but ok. where can i find the normalrecovery and how to flash it?
Click to expand...
Click to collapse
Back in post number 4 you state that CWM is your installed recovery.
So it seems correct that you have a custom recovery installed. However since you are S-Off, before I put together something for you to go back I need to know:
Did you upgrade your firmware?
Did you flash a new hboot (to get rid of the red warning lettering)?
Did you flash a new splash screen?
If you answered no to all three of those questions, you should be able to get back to stock by performing the following:
Download the ResetRecovery zip I made for you here:
https://dl.dropboxusercontent.com/u/36946918/ResetRecovery.zip
Unzip all the files into a folder. (examples will use C:\temp)
Install the HTCDriver.exe to make sure the device drivers are installed on your PC.
Make sure that USB device debugging is enabled on your device.
Open a command prompt and navigate to that folder - Start>Run>cmd Enter
Code:
cd c:\temp
Connect USB cable to phone and PC.
With the PC booted type:
Code:
adb reboot bootloader
When the bootloader screen appears:
Code:
fastboot erase cache
Then:
Code:
fastboot flash recovery recovery.img
Reboot phone and go into recovery to make sure that CWM has been replaced by HTC stock recovery. If HTC recovery appears then reboot phone.
Now relock the bootloader:
Use the revone file that you probably used to get S-Off. (If needed it can be downloaded here: http://forum.xda-developers.com/showthread.php?t=2314582)
Push revone to your device:
Put the downloaded revone (rename file to just revone) file in your adb/fastboot folder (c:\temp) and push it using this command:
Code:
adb push revone /data/local/tmp/
open a adb shell by typing:
Code:
adb shell
Now change to that directory:
Code:
cd /data/local/tmp
Now set permissions
Code:
chmod 755 revone
Since you have the tampered flag run this to remove it:
Code:
revone -t
Now do this so it will show locked:
Code:
revone -l
The newer revisions of revone don't do the actual locking any longer but it may output the command you need to run to fully re-lock:
Type exit to exit the adb shell session and issue the command to re-lock the device:
Code:
fastboot oem writesecureflag 3
Now verify that it worked by booting into the bootloader:
Code:
adb reboot bootloader
You should see it say Locked at the top and S-On, just like it was out of the box!
i have no idea if i upgraded firmware. i was from stock to android revolution wich is the newest android version.
but now i am back on stock.
software number 1.29.401.16
i didnt try to get rid of warning texr and i didnt flash a custom splash screen.
can i proceed with those instructions?
borgqueenx said:
i have no idea if i upgraded firmware. i was from stock to android revolution wich is the newest android version.
but now i am back on stock.
software number 1.29.401.16
i didnt try to get rid of warning texr and i didnt flash a custom splash screen.
can i proceed with those instructions?
Click to expand...
Click to collapse
Yes, you would know if you flashed firmware because it has many warnings and a few steps. Your version number is stock, the thing that worries me is that you are S-off and originally you thought you only unlocked bootloader.
Did you use revone or moonshine to achieve S-off?
Do you see the red warning lettering on the splash screen when booting?
AS long as the custom recovery is back to stock and you see the red warning letter on splash then you should be ok to proceed with locking now.
crushalot said:
Yes, you would know if you flashed firmware because it has many warnings and a few steps. Your version number is stock, the thing that worries me is that you are S-off and originally you thought you only unlocked bootloader.
Did you use revone or moonshine to achieve S-off?
Do you see the red warning lettering on the splash screen when booting?
AS long as the custom recovery is back to stock and you see the red warning letter on splash then you should be ok to proceed with locking now.
Click to expand...
Click to collapse
is s-off desame as unlocking bootloader?
i unlocked bootloader yes. no idea about s-off. never did anything where i saw s-on or s-off.
yes i see those red warning letters.
i have never used or heard of revone or moonshine before you mentioned it here.
need to know how to get stock recovery back then^^

[Q] Nandroid Saving

Hi guys. i would like to know if it is possible to transfer my nandroid backup from TWRP folder to my pc to have more space on my phone.
I tried to copy the folder but not the entire content was moved.
Any suggestion?
J0ker 82 said:
Hi guys. i would like to know if it is possible to transfer my nandroid backup from TWRP folder to my pc to have more space on my phone.
I tried to copy the folder but not the entire content was moved.
Any suggestion?
Click to expand...
Click to collapse
Look in this thread
http://forum.xda-developers.com/showthread.php?t=2173870
J0ker 82 said:
Hi guys. i would like to know if it is possible to transfer my nandroid backup from TWRP folder to my pc to have more space on my phone.
I tried to copy the folder but not the entire content was moved.
Any suggestion?
Click to expand...
Click to collapse
I had same issue, only some of the buckup files copyed and adb pull gave permission denied errors.
With phone connected to pc reboot to recovery, in twrp go to advanced - file manager and select your backup folder /sdcard/TWRP/BACKUPS or /data/media/0/TWRP/BACKUPS - Then select chmod 755.
Now on pc open cmd prompt in your adb folder and adb pull works for me now with no issues - all files copied, takes about 15 mins or so depending on backup size.
pjc21 said:
I had same issue, only some of the buckup files copyed and adb pull gave permission denied errors.
With phone connected to pc reboot to recovery, in twrp go to advanced - file manager and select your backup folder /sdcard/TWRP/BACKUPS or /data/media/0/TWRP/BACKUPS - Then select chmod 755.
Now on pc open cmd prompt in your adb folder and adb pull works for me now with no issues - all files copied, takes about 15 mins or so depending on backup size.
Click to expand...
Click to collapse
Thank you...lol i was able to get into mt folder....but i dont know how to chmod 755.....sorry
Could you link me a guide or something like that step by step?
Thank you anyway
J0ker 82 said:
Thank you...lol i was able to get into mt folder....but i dont know how to chmod 755.....sorry
Could you link me a guide or something like that step by step?
Thank you anyway
Click to expand...
Click to collapse
It's an option you can select in twrp in twrp's file manager after selecting a folder or file.
Advanced - File Manager - browse to folder or files, /sdcard/TWRP/BACKUPS... - Then select the folder or files with "select" tab/button, bottom right of screen. You will then get a list of options including "chmod 755"
After chmod 755 on the backups folder while still in recovery open cmd prompt on pc in your adb folder (where adb.exe is located) and run command "adb pull /sdcard/TWRP/BACKUPS" or your location to twrp backups - All files pulled without issues/errors.
pjc21 said:
it's an option you can select in twrp in twrp's file manager after selecting a folder or file.
Advanced - file manager - browse to folder or files, /sdcard/twrp/backups... - then select the folder or files with "select" tab/button, bottom right of screen. You will then get a list of options including "chmod 755"
after chmod 755 on the backups folder while still in recovery open cmd prompt on pc in your adb folder (where adb.exe is located) and run command "adb pull /sdcard/twrp/backups" or your location to twrp backups - all files pulled without issues/errors.
Click to expand...
Click to collapse
thank you so much.

boost mobile stock rom?

hey , i accidentally wiped my internal and external memory which had my backup on it and now im kindav stuck with no OS..
can someone help me out? :angel:
NovaxxBite said:
hey , i accidentally wiped my internal and external memory which had my backup on it and now im kindav stuck with no OS..
can someone help me out? :angel:
Click to expand...
Click to collapse
Make a backup with twrp (doesn't matter if you have an os, you just need the folder it makes) and download the virgin/Sprint backup in the development forum. It's the same Rom just unzip it to the folder twrp created.
HTC 510 bricked
nice said than done how we copy the back up file in the TWRP folder when there's no access to the phone
prz0007 said:
nice said than done how we copy the back up file in the TWRP folder when there's no access to the phone
Click to expand...
Click to collapse
You should have access to the sd card through recovery. make sure sure you upgrade to the latest version of TWRP.
LarryBoyG said:
You should have access to the sd card through recovery. make sure sure you upgrade to the latest version of TWRP.
Click to expand...
Click to collapse
yes I have access to my sd card via recovery I do have the latest TWRP but now what how do I move the files around I tried copy i tried to make a back up but it fails
i think the only way to recover the phone would be adb sideloading but I need a stock zip rom
prz0007 said:
yes I have access to my sd card via recovery I do have the latest TWRP but now what how do I move the files around I tried copy i tried to make a back up but it fails
i think the only way to recover the phone would be adb sideloading but I need a stock zip rom
Click to expand...
Click to collapse
Use cmd and adb push and push the folder that you extracted from the zip to /sdcard/TWRP/BACKUPS/<device serial #>/
If any of these folders don't exist (eg. TWRP, BACKUPS, the serial number folder)
In TWRP open cmd on your computer and type adb shell and then cd /sdcard (for internal, sdcard , for external, sdcard2 ) and then type mkdir <name of folder>
If you need your serial number to create the folder in BACKUPS reboot the phone to hboot ( adb reboot bootloader ) and in cmd type fastboot getvar all
Your serial number will be in the output:
Code:
[COLOR="DimGray"][B] . . . [/B][/COLOR]
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: [B]FAxxxxxxxxxx[/B]
(bootloader) imei: xxxxxxxxxxxxxxx
(bootloader) meid: xxxxxxxxxxxx
[COLOR="DimGray"][B] . . . [/B][/COLOR]
Sorry, I would have gone more into detail but I have to be awake in five hours.
htc 510
sorry but i didn't get what you said
---------- Post added at 01:20 PM ---------- Previous post was at 01:16 PM ----------
C:\Users\Angel>adb shell
~ # ←[6ncd /sdcard2
cd /sdcard2
/sbin/sh: cd: can't cd to /sdcard2
~ # ←[6n^C
that's what I get when I'm on the main window on TWRP and type adb shelll and the other commands you gave me
prz0007 said:
sorry but i didn't get what you said
---------- Post added at 01:20 PM ---------- Previous post was at 01:16 PM ----------
C:\Users\Angel>adb shell
~ # ←[6ncd /sdcard2
cd /sdcard2
/sbin/sh: cd: can't cd to /sdcard2
~ # ←[6n^C
that's what I get when I'm on the main window on TWRP and type adb shelll and the other commands you gave me
Click to expand...
Click to collapse
Try
for internal
/storage/sdcard0
/storage/emulated/0
/storage/emulated/legacy
for external
/storage/ext_sd
One of those should work.
HTC 510
I tried all and each command same result what am I'm doing wrong?
Im in TWRP main screen a
I open CMD execute adb shell
cd / all commands given but same result does any one has stock Boost rom that I can may be push through recovery I tried a sense rom via sideload but rom can not load
prz0007 said:
I tried all and each command same result what am I'm doing wrong?
Im in TWRP main screen a
I open CMD execute adb shell
cd / all commands given but same result does any one has stock Boost rom that I can may be push through recovery I tried a sense rom via sideload but rom can not load
Click to expand...
Click to collapse
Raptor ROM.
HTC 510
well just to say thank you who all who tried and help I was able to push the rom through recovery phone back up and running I didn't try the raptor rom be cause I already had another one is a senserom don't really recall the name i change the name to rom.zip but I did downloaded the raptor rom so may be I'll give it a try in the future another customer happy
thank you guys
dragonhart6505 said:
Make a backup with twrp (doesn't matter if you have an os, you just need the folder it makes) and download the virgin/Sprint backup in the development forum. It's the same Rom just unzip it to the folder twrp created.
Click to expand...
Click to collapse
Can you link me to the rom? I have been trying to fix this issue for hours. Also, my internet connection keeps dropping so if you have the torrent link I would be very thankful!
ladylane100 said:
Can you link me to the rom? I have been trying to fix this issue for hours. Also, my internet connection keeps dropping so if you have the torrent link I would be very thankful!
Click to expand...
Click to collapse
Just download the RUU http://www.htc.com/us/support/rom-downloads.html
Thank you! I got "Error [132]: Signarure Error The ROM Update Utility cannot update your Android phone. Please get the correct ROM Update Utility and try again." and then the phone hangs at the htc logo.
dragonhart6505 said:
Make a backup with twrp (doesn't matter if you have an os, you just need the folder it makes) and download the virgin/Sprint backup in the development forum. It's the same Rom just unzip it to the folder twrp created.
Click to expand...
Click to collapse
I double tapped, deleted my OS only have twrp on phone. I Sideloaded a kernel.. the 1 in this link above. I went from a USABLE boost mobile phone calls mobile internet STOCK everything.. to... A sprint phone with no mobile internet. All I need is a STOCK backup of an HTC Desire 510 from the boost carrier and I will be back in business baby... however I do appreciate having capability to download and play my android games
qleviothin said:
I double tapped, deleted my OS only have twrp on phone. I Sideloaded a kernel.. the 1 in this link above. I went from a USABLE boost mobile phone calls mobile internet STOCK everything.. to... A sprint phone with no mobile internet. All I need is a STOCK backup of an HTC Desire 510 from the boost carrier and I will be back in business baby... however I do appreciate having capability to download and play my android games
Click to expand...
Click to collapse
Any Virgin Mobile or Sprint rom will work with your Boost Mobile just download it and flash via TWRP use the "Search All Forums" at the top right to find a rom you want.

Categories

Resources