[Q] {V} Backup boot.img/recovery.img - Sony Xperia T, TL, TX, V

OK guys needs some help/info.
Im kinda new to the Sony scene and im loving every bit of it so far.
I need to figure out how to extract my boot.img/recovery.img from device to computer using dd/adb/whatever command on my Xperia V.
The reason is im gonna try flashing a custom made CWM recovery using koush sources and before I do that I wanna make sure I have a backup of my old one. Any insight on this will be helpful.
While IM at this if I wanna backup lets say my whole phone system using dd or whatever, any help?

Utacka said:
OK guys needs some help/info.
Im kinda new to the Sony scene and im loving every bit of it so far.
I need to figure out how to extract my boot.img/recovery.img from device to computer using dd/adb/whatever command on my Xperia V.
The reason is im gonna try flashing a custom made CWM recovery using koush sources and before I do that I wanna make sure I have a backup of my old one. Any insight on this will be helpful.
While IM at this if I wanna backup lets say my whole phone system using dd or whatever, any help?
Click to expand...
Click to collapse
Any backup made in recovery is the whole phone system (except sd cards). When you restore it it restores everything. If yu use .tar format you can look in the backup and see your boot.img etc

gregbradley said:
Any backup made in recovery is the whole phone system (except sd cards). When you restore it it restores everything. If yu use .tar format you can look in the backup and see your boot.img etc
Click to expand...
Click to collapse
Your post did not help at all since I already know that and not what im asking.
Repeating: i wanna dump images using adb or similiar way using PC.
Probably my fault not being clear enough
Skickat från min LT25i via Tapatalk 2

Either your still not clear enough or you can't do simple tasks. Your wanting the backup files you created? Are you not able to to view your files on your PC when you hook it up with usb? The files are usually in a folder called recovery, or clockworkmod. You should be able to drag them to your PC as any other file. Then extract using winrar or gunzip. No need to use a adb.
- Xperia TL, XperimenT v1.5 ~ via XDA App

redincali said:
Either your still not clear enough or you can't do simple tasks. Your wanting the backup files you created? Are you not able to to view your files on your PC when you hook it up with usb? The files are usually in a folder called recovery, or clockworkmod. You should be able to drag them to your PC as any other file. Then extract using winrar or gunzip. No need to use a adb.
- Xperia TL, XperimenT v1.5 ~ via XDA App
Click to expand...
Click to collapse
Since I dont have cwm recovery installed that task is not possible. Anyway I figured it out myself using cross-reference to the T. Simple task you say? Might be but there is no cwm recovery for the V Stock out there from what I know. And if there is I was asking a question using dd and not cwm. What is not clear about that? You might not know what dd is then dont comment at all.
Skickat från min LT25i via Tapatalk 2

You figured it out, but you should give this thread some sense.
/dev/block/platform/msm_sdcc.1/by-name/* - all partitions can be easily dumped from here.

peetr_ said:
You figured it out, but you should give this thread some sense.
/dev/block/platform/msm_sdcc.1/by-name/* - all partitions can be easily dumped from here.
Click to expand...
Click to collapse
Holidays now and I will relax now
Skickat från min LT25i via Tapatalk 2

Related

[Q] Make an image from a rom

Hello all,
I'm wondering if there's any way of make an image from my phone, with all the softwares and data already installed and configured (just like Macrium Reflect do on Windows). Just like a backup, so if I have any kind of problem, I just have to flash my .zip into the phone again.
Thanks in advance.
Have you tried ClockworkModRecovery?
Fruit cake maker is a better solution for your question. Plus if you name the .zip it creates pg58img.zip and place it on your SD card root. Then you don't even need cwm.
Sent from my HTC Sensation using xda premium
HerrKuk said:
Have you tried ClockworkModRecovery?
Click to expand...
Click to collapse
I have it installed, but I don't know how t use it to create a img. Is there any link where can I read about it?
nate_sheedy said:
Fruit cake maker is a better solution for your question. Plus if you name the .zip it creates pg58img.zip and place it on your SD card root. Then you don't even need cwm.
Click to expand...
Click to collapse
I'm installing to test it right now, how can I recover it later without CWM?
3in said:
I have it installed, but I don't know how t use it to create a img. Is there any link where can I read about it?
Click to expand...
Click to collapse
just make a backup through CWM menu, it will backup EVERYTHING on your phone and save to clockworkmod/backup/..... in your sdcard. The backup included few .tar files instead of a single .zip, but the result is the same --- you can restore it (overwrite everything) to your phone at anytime.
3in said:
I have it installed, but I don't know how t use it to create a img. Is there any link where can I read about it?
I'm installing to test it right now, how can I recover it later without CWM?
Click to expand...
Click to collapse
When you backup with the recovery menu(power+volume button simultaneously pressed until u see the android picture), you will find this backup files either in the EXT SD card or the Internal SD depending the CWM version, in the clockworkmod/backup. All you have to do is to get into recovery mode and restore.....it works perfectly
It worked!
That was just what I needed!
Many thanks for your help guys....

Phone Re-booting continuosly

**** ****. I was messing around with the options in Titanium Backup Pro and selected an option that said that i can remove a few apps that have been linked to my ROM and free upto 80 MB in memory. It had something to do with Dalvik Cache. The software said that the phone will restart after the process. But the phone gets stuck at the HTC Quietly Brilliant Brilliant" white screen and re-boots. I tired Pulling out the battery, Wiping cache, Factory reset using CWM but the problem continues. What do i do? The phone is hardly 3 weeks old. Its still S-ON, rooted and unlocked at htcdev.com
Can you not restore a nandroid? Or try flashing a rom that doesn't need s-off like CyanogenMod 7.
Sent from my Incredible S using xda premium
InsertDumbNick said:
**** ****. I was messing around with the options in Titanium Backup Pro and selected an option that said that i can remove a few apps that have been linked to my ROM and free upto 80 MB in memory. It had something to do with Dalvik Cache. The software said that the phone will restart after the process. But the phone gets stuck at the HTC Quietly Brilliant Brilliant" white screen and re-boots. I tired Pulling out the battery, Wiping cache, Factory reset using CWM but the problem continues. What do i do? The phone is hardly 3 weeks old. Its still S-ON, rooted and unlocked at htcdev.com
Click to expand...
Click to collapse
Restore your nandroid, I think I remember you posted that you had one.
Nonverbose said:
Restore your nandroid, I think I remember you posted that you had one.
Click to expand...
Click to collapse
Yeah i tried doing that. But get this error message in CWM:
Code:
Couldn't open directory.
No files found.
The Backup is in a folder "2012-02-12.06.04.17" and this folder is in the sd-card root. Do i have to copy the files in this folder to the root as well??
Edit: I forgot to mention that the above nandroid backup folder was saved in my computer and the sd card on which i had made the backup initially was involved in multiple formats during my futile attempts to gain S-OFF ..
InsertDumbNick said:
Yeah i tried doing that. But get this error message in CWM:
Code:
Couldn't open directory.
No files found.
The Backup is in a folder "2012-02-12.06.04.17" and this folder is in the sd-card root. Do i have to copy the files in this folder to the root as well??
Click to expand...
Click to collapse
You shouldn't have to. Was the backup created in cwm? Have you checked that the files are in the folder? What option were you using to restore your backup?
Another option would be to installed a custom ROM.
I guess if you are using CWM, the folder will not be on root.
As far as I remember, it use to be in some folder named CWM or ClockWorkMod something like that.
I guess the folder "2012-02-12.06.04.17" should be under "\clockworkmod\backup\" folder.
Not quite sure as I am using Ext4 recovery now.
But guess someone around here should tell you the correct folder structure.
And, I guess if you could try to mount card on your computer you will be able to see and modify the folder and put it in right place with correct backup directory.
I think i have to create a few folders since the path that CWM is looking for the recovery doesn't exist. Can you tell me the correct path so that i can create an identical location to copy the backup to??
It'd literally take you 5 mins to install a custom rom? And then in theory your fine will work perfectly. Then just set it up and create a nandroid.
When I had problems I formatted the SD card and only left the CWM files on. Then it restored/worked fine.
Sent from my Incredible S using xda premium
InsertDumbNick said:
I think i have to create a few folders since the path that CWM is looking for the recovery doesn't exist. Can you tell me the correct path so that i can create an identical location to copy the backup to??
Click to expand...
Click to collapse
way2shree was correct in his post about the file structure. I think you need to do a bit of research before you do any serious damage to your phone.
vizzy said:
It'd literally take you 5 mins to install a custom rom?
When I had problems I formatted the SD card and only left the CWM files on. Then it restored/worked fine.
Sent from my Incredible S using xda premium
Click to expand...
Click to collapse
Like i said the SD card on which CWM made the backup was formatted many times. Completely. So i had copied the folder with the backup to the computer.[Newb mistake. I realized the hard way]. And no the path is not \clockworkmod\backup\. Thanks anyway shree. Also i think CM7 is the only 1 that can be flashed with a S-on phone. so ill keep that as a final option since i still like sense.
Nonverbose said:
way2shree was correct in his post about the file structure. I think you need to do a bit of research before you do any serious damage to your phone.
Click to expand...
Click to collapse
I looked all over the place and found only this \clockworkmod\backup\<date> . Made both the folders but still not recognized. Can anyone confirm that this is in fact the correct path??
Phew. Atlast got the backup restored. THank you guys for all your help. Looks like i wont be doing anything android related for the next MONTH till i at least have a general idea of wth im doing.

[Q] Please Help!! (TWRP BACKUP)

Please help me! I was on Sense 5 rooted with twrp installed. Decided id try out the new CM 10.1 for the HTC ONE. So i backed up my system, data and everything else and proceeded to install CM. Decided it wasnt for me, went to TWRP, went to restore and there are no files there? What happened? I can see I only have 6GB storage available so the file is there somewhere!! How do i flash the backup? i read about a twrp utility or that the file structure is off?
Thanks for your help!!
UPDATE: When I go into a file manager, the backup from today is there.. it is in TWRP> BACKUPS> HT34JXXXXXX> (2013-05-14 @ 8:06 AM)
and inside that folder are the usual backup files. BUT IT STILL WONT SHOW UP IN TWRP WHEN I PRESS "RESTORE"
Anyone? I'm dieing here!!!
Reflash recovery, and see if now work.
I've restored yesterday my backup and no prob with TWRP.
And search your file in sdcard/0
If it will not work, reflash rom.
Don't know if this happened but I had a galaxy s3 before I got the htc one and I understood that cyanogenmod is a 4.2.2 type of rom and we have a 4.1.2 rom. A lot of peeps in the galaxy's forum would have trouble going back to touchwiz roms because the say flashing a 4.2.2type of rom partitions the memory files differently so then the 4.1.1 stock or custom roms. You may have to somehow unroot the phone and "push" the phone back to stock using your computer. People had to do that before with the s3. Hope that helps maybe. I have to go to work now. Good luck
Should I try to flash clockwork mod? Just go into the play store, download and flash from within the app? I don't understand I made a full nandroid it is in my phone and on my computer.. Why can't twrp recognize it?
Okaay said:
Should I try to flash clockwork mod? Just go into the play store, download and flash from within the app? I don't understand I made a full nandroid it is in my phone and on my computer.. Why can't twrp recognize it?
Click to expand...
Click to collapse
CWM can't restore TWRP backup.
If you backupped your rom with TWRP, this will restore it.
Did you try to see in sdcard/0?
Guich said:
CWM can't restore TWRP backup.
If you backupped your rom with TWRP, this will restore it.
Did you try to see in sdcard/0?
Click to expand...
Click to collapse
This is in the stock cm10 file manager. This is the exact backup I'd like to restore but when I go into the recovery and press on restore, nothing shows please keep responding!!!!
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
nullkill said:
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
Click to expand...
Click to collapse
Yeah man, I'll post the pics. Here they are looks as though it is in 0/
I just backed up the cm ROM just to see what would happen and now when I go to restore, the cm10 backup is the only one there and I can't locate it in file manager anywhere
Sent from my HTC One using xda app-developers app
Okaay said:
Yeah man, I'll post the pics. Here they are looks as though it is in 0/
I just backed up the cm ROM just to see what would happen and now when I go to restore, the cm10 backup is the only one there and I can't locate it in file manager anywhere
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Search the SD card for boot.emmc.win you should get two results one from the original backup and one from the new one. You need to get both the backups together. Also copy your original backup to your computer so you have a copy of it in case you need to wipe or something.
nullkill said:
Search the SD card for boot.emmc.win you should get two results one from the original backup and one from the new one. You need to get both the backups together. Also copy your original backup to your computer so you have a copy of it in case you need to wipe or something.
Click to expand...
Click to collapse
This is what I see... Someone please help, the backup I wanna restore is already I'm TWRP folder on the internal storage but no files show up when I try the "restore" option in the recovery
Sent from my HTC One using xda app-developers app
Okaay said:
This is what I see... Someone please help, the backup I wanna restore is already I'm TWRP folder on the internal storage but no files show up when I try the "restore" option in the recovery
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
OK so did you copy your backup to your computer yet???? Well if not now would really really be the time to do that. Looks like there is a issue with how CM is doing the SD card and TWRP. So first copy the backup off of your phone. Should I say it again? COPY THE BACKUP OFF YOUR PHONE. Now go get the correct RUU for your phone. Run that sucker and restore the phone to stock. You will need to relock your bootloader. Once that is done put TWRP back on your phone and copy your backup to the phone.
Ran into this myself. Because of 4.2.2's support for multiple users, it segments the internal storage into pieces(i.e. 0 for first user, 1 for second user, 2, 3, so on). I didn't realize this and had to start from scratch.
Copy your TWRP backup(and anything else you don't want to lose) to your computer and delete the 0 file. Re-add your files to the internal storage(be sure to keep a copy on your computer). Then reboot into bootloader, fastboot erase cache, reflash, and reboot into recovery. Don't let the CM10.1 ROM start up, otherwise you'll be doing it again.
Alternatively, use the All-In-One toolkit to adb sideload a non-CM10.1 ROM onto your phone, delete the 0 folder(after transferring to your computer what you don't want to lose, of course), reboot recovery, and attempt to restore.
Thanks guys, got it working
Sent from my HTC One using xda app-developers app
This is the same problems people with the GNex came across moving back from 4.2.2 to 4.1.2 last year - you have to remember the internal memory changed and manually move fles to the non-0 folders! You guys should read up more before jumping head long into a new Android version!
Glad it's sorted now though
nullkill said:
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
Click to expand...
Click to collapse
OOPs--sorry this must be an HTC specific problem--sorry for poking my Samsung nose in...
Maybe I am not understanding the thread but--
In my Galaxy Note2 all my TWRP backups, and I have about 5, are all in ext.sd. card and I have used it to restore on several occasions--could be a device specific situation, but in Note2 it's fine to have them in ext.sd card.

TWRP Restore Empty

Hi all,
I am trying to restore a twrp backup that I made, but when I go to twrp and click restore I get a black screen where it should show me the backup file, yet I can navigate via the pc to phones internal storage to TWRP/BACKUPS/2013-06-19--12-07-12/ and all the win files and md5 files are in that folder, tried making that folder into a zip and flashing like you would a normal rom install but it just fails. Please help folks!
never mind, figured it out
germinus said:
never mind, figured it out
Click to expand...
Click to collapse
You should really write a quick method of what you done to fix it incase anyone with the same problem ends up on this post in the future...
Sent from my HTC One using xda premium
redbull123 said:
You should really write a quick method of what you done to fix it incase anyone with the same problem ends up on this post in the future...
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Sure I just figured it was me being stupid and most people would know!, for some reason, twrp was only reading the sdcard but the backup was actually stored in /data/media/twrp/backups (no idea why it started doing this, I actually have 2 HTC ones both being sent back to vodafone and never had this prob on the first unit), anyway, I downloaded a app called root explored which enabled me to copy the backup file from data/media/twrp/backups to the sdcard/twrp/backups folder and then I could restore
I am sure there is a reason why I had this problem but I wouldn't have a clue as to why! But anyway that's how I solved it, I am sure there is an easier way tho!
germinus said:
Sure I just figured it was me being stupid and most people would know!, for some reason, twrp was only reading the sdcard but the backup was actually stored in /data/media/twrp/backups (no idea why it started doing this, I actually have 2 HTC ones both being sent back to vodafone and never had this prob on the first unit), anyway, I downloaded a app called root explored which enabled me to copy the backup file from data/media/twrp/backups to the sdcard/twrp/backups folder and then I could restore
I am sure there is a reason why I had this problem but I wouldn't have a clue as to why! But anyway that's how I solved it, I am sure there is an easier way tho!
Click to expand...
Click to collapse
It does this with 4.2.2 I think it sucks actually because if you want to copy a back up to/from your computer you have to use adb push or copy it over to your sd, then move it into /data/media

[LB][TWRP 2.6.0.0][CWM 6.0.3.2] ZRDualRecovery

Again I'm not the dev of these custom recovery. Just that I pack them together and modified a theme to work with our ZR phone.
Installation procedure:
1. Just unzip lockeddualrecovery2.6.0-RELEASE.windows.zip in your PC and run either supersu.bat or superuser.bat.
2. After all files are installed, your phone should reboot automatically into CWM.
3. If you're unable to see CWM and your phone just reboot normally to Android, then you might be suffering from remount-reboot issue. Just run the fix for remount-reboot first.
How to enter CWM/TWRP:
1. During a reboot, when the LED turns green, press VOL-UP for CWM or VOL-DOWN for TWRP. The LED will then turn purple before entering the selected custom recovery.
How to apply the proper theme in TWRP to fix UI issue:
1. Copy the TWRP_theme_720_play.zip into /sdcard/TWRP/theme and rename it as ui.zip
How to restore stock recovery
1. Delete the following files:
/system/bin/recovery.twrp.cpio.lzma (or .tar)
/system/bin/recovery.cwm.cpio.lzma (or .tar)
/system/bin/charger
/system/bin/ric
/system/bin/chargemon
/system/bin/dualrecovery.sh
2. Inside /system/bin/ rename chargemon.stock to chargemon
3. Change permission for chargemon (chmod 755 chargemon)
Credits:
- Team Win for TWRP
- ClockWorkMod for CWM
- z31s1g for the beautiful Holofied theme. I only rescaled some images and edit the xml for 720p display.
excuse me for my ignorance noobish question, but why do we need a dual boot recovery? whats special about twrp if we already have a fine working cwm? or perhaps if one prefers twrp why whould be need both?
shteren said:
excuse me for my ignorance noobish question, but why do we need a dual boot recovery? whats special about twrp if we already have a fine working cwm? or perhaps if one prefers twrp why whould be need both?
Click to expand...
Click to collapse
This is actually a valid question. Personally, I prefer to use TWRP since it's touch based and support more functions. Maybe someone does need CWM for some reasons.
Working fine on Xperia ZR C5502 67 Firmware & able to use TWRP recovery
anthonythangaraj said:
Working fine on Xperia ZR C5502 67 Firmware & able to use TWRP recovery
Click to expand...
Click to collapse
CWM part is working fine but fail to fix ui issue on TWRP part.
Copying the ui.zip to sdcard/TWRP/theme not solved the problem.
Can someone help me to fix this.
:crying::crying:
PS. Xperia ZR C5502 with C5503 10.1.1.A.1.310 firmware.
njsdante said:
CWM part is working fine but fail to fix ui issue on TWRP part.
Copying the ui.zip to sdcard/TWRP/theme not solved the problem.
Can someone help me to fix this.
:crying::crying:
PS. Xperia ZR C5502 with C5503 10.1.1.A.1.310 firmware.
Click to expand...
Click to collapse
Are you using the INTERNAL SD card to store the ui.zip?
What do you see in TWRP? Similar to the Holofied them in this link?
itandy said:
Are you using the INTERNAL SD card to store the ui.zip?
What do you see in TWRP? Similar to the Holofied them in this link?
Click to expand...
Click to collapse
TWRP folder is on internal sd card so i copy the ui.zip into internal sd/TWRP/theme.
But when i entering into TWRP mode, i can only see the partial screen which contain install, wipe and backup buttons in big icon.
And no way to get out of recovery mode except removing the battery.
njsdante said:
TWRP folder is on internal sd card so i copy the ui.zip into internal sd/TWRP/theme.
But when i entering into TWRP mode, i can only see the partial screen which contain install, wipe and backup buttons in big icon.
And no way to get out of recovery mode except removing the battery.
Click to expand...
Click to collapse
So it seems TWRP is unable to read the theme file. Can you check if your ui.zip file is corrupted?
MD5 checksum is: 20B934657DB6E7F19E9D603DA7529B35
FXP compatible?
Does this work with FXP?
gmengass said:
Does this work with FXP?
Click to expand...
Click to collapse
Actually I don't know. Please report back if you have answer.
itandy said:
So it seems TWRP is unable to read the theme file. Can you check if your ui.zip file is corrupted?
MD5 checksum is: 20B934657DB6E7F19E9D603DA7529B35
Click to expand...
Click to collapse
I don't really know how to check the theme file is corrupted or not.( sorry for my noobness)
Can you please tell me how to do it.
njsdante said:
I don't really know how to check the theme file is corrupted or not.( sorry for my noobness)
Can you please tell me how to do it.
Click to expand...
Click to collapse
I guess the easiest way is to use something like 7zip in PC and use the Test function.
Working on my device flalessly
Sent from my C5502 using XDA Premium 4 mobile app
Shh I want to modify this package in order to compile my own flasher package with twrp only. But that cpio archive is making me crazy since I can't repack it in this format.
Sent from my LG-P970 using xda app-developers app
word of advice.dont update busy box after installing this.it will make this to stop working
TWRP is working perfectly. Thanks very much
i tried with TWRP manager .it didnt work.but when in recovery it works well
both are working great , thanks a lot .
i have a question, where does CWM save the nandroid backups? i can't seem to find the backup i just made.
single said:
both are working great , thanks a lot .
i have a question, where does CWM save the nandroid backups? i can't seem to find the backup i just made.
Click to expand...
Click to collapse
ClockworkMod stores its NANDroid backup folders at this location:
/mnt/shell/emulated/clockworkmod/backup
su1979 said:
ClockworkMod stores its NANDroid backup folders at this location:
/mnt/shell/emulated/clockworkmod/backup
Click to expand...
Click to collapse
any idea how to change that path to be in SDcard instead?

Categories

Resources