[Q] CWM Recovery using ADB (Trying to learn the long way) - General Questions and Answers

Hi,
(newbie question)
I have CWM recovery installed on my galaxy nexus (installed w/o ROM MANAGER). I've successfully created a backup. I've tarred the backup directory and moved to file to my computer.
I know I can restore easily with ROM Manager or booting into CWM but I'm trying to learn things the hard way and want to restore using fastboot.
I've extracted the tar which contains..
boot.img
cache.ext4.tar
data.ext4.tar
nandroid.md5
recovery.img
system.ext4.tar
When doing some googling the process is to sequentally flash all the img files. However the data and system are not packaged as img files but tars.
So what is the process for a complete restore with fastboot?

Eould love to know this as well. I have ADB setup etc but my CWM backup produced .tar files(cache.ext4.tar, data.ext4.tar, syste,.ext4.tar) not .img files (apart from recovery.img and boot.img).
Any help appreciated !

Related

[Q] Package Nandroid as update.zip

can a nandroid backup be packaged as an update.zip and if so whats the best way to do it
am i right that you can
extract data.img and system.img and then do what you need to their
then zip up the package
then zign it
but then i think i would be missign boot.img or is that not needed
Its simple enouph just to use rom manager and let it do all the work
I've same problem.
I have a samsung galaxy gio gt5660 and rom manager don't recognize unofficial 5.0.2.6 cwm recovery for this phone. So I can not use rom manager.
I have a nandroid backup with these files: boot.img - cache.rfs.tar - data.rfs.tar - nandroid.md5 -recovery.img - sd-ext.ext2.tar - system.rfs.tar and I'd want to create an update zip for flashing with cwm.
Any help will be appreciated, thanks

[Q] How To Modify default.prop?

Hello Everyone,
Thank you in advance for any help on this item.
I have an HTC Sensation phone which is already S-off and has CWM in it.
It also has "su" previleges in it and I was able to modify CID too.
The ROM inside it is stock ROM.
I have been reading and following several guides on how to modify default.prop for other devices. And from what I gather I have to do the following :
1. Unpack boot.img.
2. Modify default.prop.
3. And repack boot.img.
The problem here is that I tried all sorts of things only to end up failing in the "repacking" stage.
I want to modify default.prop to be able to set adb daemon (adbd) to have root previleges and eventually be able to "inject" into HTC sensation my own custom-made versions of framework.jar and other files.
Is modifying default.prop possible?
Is the method I am using correct?
Is it possible to have my own customized framework.jar inside the HTC Sensation?
I hope you guys can point me to some sites and links which can help me in what I intend to do.
Thank you all very much.
Use dsixda kitchen.
Hello Sebastian,
Thanks for your response.
I also tried to use the dsixda kitchen.
What I did was :
1. Downloaded a backup of my phone using ClockworkMod Recovery.
2. I took the boot.img file from the backup generated.
3. Unpacked boot.img using the kitchen.
4. And then repacked it using the kitchen again.
5. I then flashed the generated boot.img into the phone.
6. The phone went into a forever loop in the start up screen.
Did I do it right?
I am rechecking the notes on the kitchen again though. I might have missed something.
Thanks again.
Upload your boot.img, I'll check it. Do you use fastboot.exe to flash boot?
Hello Again,
Thanks once again for the support Sebastian.
"Upload your boot.img, I'll check it. Do you use fastboot.exe to flash boot?"
I use fastboot.exe first and then try to use the ClockworkMod Recovery Advanced option to update the "boot" only part.
I am attaching here my dsixda-kitchen generated boot.img.
This boot .img was generated with the following steps :
1. Unpack htc stock rom boot.img generated by CWM nandroid backup.
2. No changes were made in the ramdisk nor in the kernel part.
3. Repack the ramdisk and kernel using dsixda kitchen.
4. Used fastboot.exe to flash the boot part. "fastboot flash boot boot.img"
5. Wiped the cache partition of the phone.
6. Wiped the /data/dalvik-cache directory.
7. Restarted phone in normal mode.
8. Phone hanged up in startup image.
Many thanks again and more power.

[Q] extract data from clockwork backup

Hi
I have tryed to figure out how to extract data from clockwork backup
I have these backup files:
.android_secure.vfat.dup
boot.img
cache.ext4.dup
data.ext4.dup
nandroid.md5
recovery.img
system.ext4.dup
I have tried unyaffs tool but i only get "broken image file"
So can anybody help me to extract some data (actually only my sms)
LoA
Have a look at Nandroid Manager ' ROOT.

[Q] Iball slide 7271 bricked. Please Help!!!

Well, first I rooted my tablet. Then I took backup with Nandroid backup. It created some files in a folded which i saved. The files are like:
boot.img cache.ext4.tar data.ext4.tar nandroid.md5 recovery.img recovery.log system.ext4.tar uboot.img
After accidentally, or to say on purpose I uninstalled Backup and recovery program which was installed by default on tablet.
Now I don't know how to flash my rom by using these files, I tried to do it by vol+ and power button, then by selecting boot.img it gives error that file is invalid kind of thing. And on ADB, it shows that the device is offline. I cannot even flash any other ROM. Whenever i boot my device it just gives a lots of errors and restart again. If anyone knows how to fix this then Thanks in advance.

Galaxy 2 (EK-GC200) recovery / backup / restore

Hello all,
I really need, for a commercial project, to flash a great number (>100) of Galaxy Camera 2 (EK-GC200() device, all with the same firmware, rooted and modified as I need.
I have to flash boot.img (modified by me) and system.img (rooted).
I have now to root the camera, then start the system, enable developer options, enable adb debug and at the end flash a new boot.img, and the system.img itself (adb shell, dd ...).
This is time consuming, and error prone.
I'm sure the boot.img & system.img are correct, cause I can flash them without error (and they work fine) with dd from the internal emulated sdcard.
I can see two viable alternatives:
1. A custom recovery, from where I could make a nandroid backup, which I can use later on to update all the rest of the cameras.
But:
I tried to port the EK-GC100 cwm recovery, I've been able to boot it up, but the touchscreen is unusable and I got a lot of error coming from the file system.
Please help me! Any suggestion, half project, everything is really appreciated!
2. To create an Odin package, using the .img files I can optain with dd from a ready camera.
But:
I tried all I can do to build a Odin package, but every time I got an error (Odin Fail) when I try to flash system.img.
I tried to build a package containing recovery.img + boot.img, and that works.
I tried to build a package containing only system.img, and it doesn't work, every time I got a Fail from Odin.
I tried manual compression (tar + md5sum on Linux), and automated scripts you can find on XDA, both under Linux and Windows.
Why is system.img impossible to flash?
What am I missing?
Thank you in advance.
Ciao,
Giovanni

Categories

Resources