So I know you can flash an img file in terminal emulator, but how do you flash a zip file?
Related
Is there a way to unpack the data.img and system.img files?
I want to pull a file off a previous backup..
If you're running linux, just mount it. No easy way for Windows.
I get an error about the file type..
FYI...
You can use the emulator to load the images, and then you can use adb pull to copy anyfiles needed...
has anyone had a chance to try
Code:
fastboot update update.zip
where update.zip contains img files from the build output of android source.
fastboot flashall xxxxx.zip
try this
Is there a structure to this update.zip or we just zip the img files into update.zip.
Coz the update.zip that is loaded from the sdcard through the bootloader screen is using update-script !!
I used the emulator method.... >>
1. Download Recovery 4.0.0.9 from Modaco's website
2. Using Root Explorer, find the file in your downloads folder on the sdcard.
3. Paste the recovery img file into your phone's /data/local folder.
4. In terminal emulator, first type "su" and then type "'dd if=/data/local/doubleshot.clockworkmod.4.0.0.9.modaco.img of=/dev/block/mmcblk0p21" and let it transfer the recovery file.
its goes thru no problem ...everything seems to go ok i can boot into recovery but none of the back up files i create work...i cleaned out 3gigs of space on my sdcard so it wouldn't run out of space during the back up process but still none of the back up files work....had to use a back up file i made with Revolutionary 4.0.0.8....
any thoughts on what the problem could be?
bump......
In which directory should i be in to execute the command .... adb sideload (filename.zip)
and which file should i include in the command prompt as the zip file ?? please help me
thanks nexus
Dear Experts
Or, at least those more experienced that me,
I've been looking into flashing the ROM of
an Android phone to Lineage OS.
The scant documents that I've looked at
Install LineageOS on lake | LineageOS Wiki
wiki.lineageos.org
Say to first load the .img file,
fastboot flash boot <recovery_filename>.img
Then later:
adb sideload Lineage.zip
What is the difference between the
.img file, and the .zip file?
Is the .img file a prereq for the .zip?
...
Why run both files?
Instead of the 2 stage process,
why not just flash the .zip file?
Thanks
The .IMG file extension is used for disk dumps, whereas .ZIP file extension is used for any content what got compressed.
Fastboot requires disk dumps ( .IMG ), whereas ADB requires archives ( .ZIP ) passed in.
@xXx yYy
More explanations, great.
So, can you go directly to ADB, and
sideload the .zip?
Or, is it always a two (or more) stage process,
fastboot .img file, then
adb sideload .zip?
Thanks