Related
birkoffsjunk's HD2 IMG2CWM Converter
A simple windows batch script to convert DAF builds to Clockwork Recovery ZIPs.
Originally designed for MDJ's Gingerbread NAND and posted here. Results may vary!
Instructions
Download DAF based NAND ROM
Download & Extract this script
Place Boot.img & System.img into the 'in' folder
Double click 'RunMe.cmd' (not as admin)
Manually make any changes you wish (when prompted)
Once done, update.zip will be in the same location as 'RunMe.cmd'
META-INF InfoHow to: Create Clockwork Recovery flash files
How to Create Android Update Zip Package
An updated updater-script (META-INF\com\google\android\updater-script) is required for various other Builds.
Downloadsv1 >>> here <<<
v1.1 attached (7z changed to 9.20 (ghostkid2010) & renamed out folder to temp)
v1.2 attached (Added error checking & support for system.img only)
v1.2.1 attached (Specified xcopy path & removed old 7z.exe)
v1.2.2 >>> here <<< (arif-ali's linux bash script)
Addonsarif-ali's NexusHD2-Gingerbread_V2.0 updater-script
TODO
Add error checking
Add support for system.img only
META-INF Information
Most importantly keep it simple
LicenseBSD License for the script not the tools
7zip is GNU LGPL
unyaffs is GNU GPL v2
same post from MDJ
Your script works great extracting the .img file. But it's not able to create zip file. Let me edit your script with the missing file/info.
Download this file and put in folder tools;
http://downloads.sourceforge.net/sevenzip/7za920.zip
change this line;
"%LOC%\tools\7z.exe" a "%LOC%\update.zip" "%LOC%\out\*"
to;
"%LOC%\tools\7za.exe" a "%LOC%\update.zip" "%LOC%\out\*"
and it should work. it will create a zip file.
Enjoy
how it works?
How does it use? What things do I have to put in the folder "IN"?
sathara said:
how it works?
Click to expand...
Click to collapse
let you extract system.img and boot.img from android build, once you extracted all the fill, it will put all the file into a zip file so you can load via CWM
VuNhatVan said:
How does it use? What things do I have to put in the folder "IN"?
Click to expand...
Click to collapse
boot.img & system.img
It has a function to edit apk. But how do you use that function and where do you add your own apk?
10507 said:
It has a function to edit apk. But how do you use that function and where do you add your own apk?
Click to expand...
Click to collapse
it does not have a function to edit apk (correct me if i'm wrong). once you extracted all the files, go into app and add your apk there.
ghostkid2010 said:
let you extract system.img and boot.img from android build, once you extracted all the fill, it will put all the file into a zip file so you can load via CWM
Click to expand...
Click to collapse
In the Build MDJ_FroYo_Revolution_v._2.2_NAND, there is only system.img, no boot.img. How could I have boot.img?
what a usefull tool, thank you!!
VuNhatVan said:
In the Build MDJ_FroYo_Revolution_v._2.2_NAND, there is only system.img, no boot.img. How could I have boot.img?
Click to expand...
Click to collapse
If there's no boot.img, it should still work. all the boot file is already in the system.img
Let me download that build and I can tell you for sure on how to do it.. I smell that a new version of this script will be out..
Yeah it's very much a work in progress, please feel free to attach updated versions... I'll add them to the first post with accreditation
ghostkid2010 said:
If there's no boot.img, it should still work. all the boot file is already in the system.img
Let me download that build and I can tell you for sure on how to do it.. I smell that a new version of this script will be out..
Click to expand...
Click to collapse
Is it work if there is only system.img?
drizztzou said:
Is it work if there is only system.img?
Click to expand...
Click to collapse
with a little bit of editing yes
ghostkid2010 said:
same post from MDJ
Your script works great extracting the .img file. But it's not able to create zip file. Let me edit your script with the missing file/info.
Download this file and put in folder tools;
http://downloads.sourceforge.net/sevenzip/7za920.zip
change this line;
"%LOC%\tools\7z.exe" a "%LOC%\update.zip" "%LOC%\out\*"
to;
"%LOC%\tools\7za.exe" a "%LOC%\update.zip" "%LOC%\out\*"
and it should work. it will create a zip file.
Enjoy
Click to expand...
Click to collapse
can u more detail about "change this line" location ? u mean u have done it already or i have to do it myself ? which file should i edit ?
ikkon said:
what a usefull tool, thank you!!
Click to expand...
Click to collapse
YEAH! Your not kidding man...i was stoked while playing with it...Id also like to know from here...Is there a similar script for SD->NAND bc my favbe ROM has always been CORECells builds of EVO/HD based...Gave me the best batttery of all SD except for the now current NAND builds. So i figure maybe itll be even better on NAND! TAHNKS again so much for your pos t BIRKOFF! ANYone know of the SD->NAND question?
psuser said:
can u more detail about "change this line" location ? u mean u have done it already or i have to do it myself ? which file should i edit ?
Click to expand...
Click to collapse
YOU have to add an "a" after the z in 7z WITHIN the RUNME script...you have to right click it and open with NOTEPAD on PC and add the "a"
psuser said:
can u more detail about "change this line" location ? u mean u have done it already or i have to do it myself ? which file should i edit ?
Click to expand...
Click to collapse
download the new version on page 1, its fixed
Really cool idea!! I gave it a shot, it just reboots after the MAGLDR screen showing the HTC logo over and over until you boot back into recovery. It flashed fine but just wouldn't boot.
VuNhatVan said:
In the Build MDJ_FroYo_Revolution_v._2.2_NAND, there is only system.img, no boot.img. How could I have boot.img?
Click to expand...
Click to collapse
Use the following "RunMetest.bat"
http://hotfile.com/dl/95408413/0c085bd/RunMetest.rar.html
I tested with different build, system.img only, both boot.img and system.img, it was able to create a zip with all the file.
I'm not uploading the whole folder since this was started by birkoffsjunk, I'm just helping
Test it out
Note : Nokia firmware downloader for all nokia phone releases.
To Download Lumia 710 Firmware select Nokia Care suit server in options.
To download Lumia 800 Firmware select roduction server in options.
Lang changed to english from chinese. ( its a share but shared again).
As found most of the tools to extract roms are for HTC only ( like nbh, nb,dio etc).
But for other devices there are no dumping tools.
Hope cooks release some tools for Nokia also.
You could try using Navifirm+ also.
Do you know how to deploy update on lumia 800?
esco is only a zip file
you could get one boot.img & one boot.img.cert from esco file
boot.img is ROM IMAGE, you can extract it by OSBuilder or split to get bin files by my tools below.
this is a cmd tool, or you could drop the boot.img on nb7split.exe to use
ted973 said:
esco is only a zip file
you could get one boot.img & one boot.img.cert from esco file
boot.img is ROM IMAGE, you can extract it by OSBuilder or split to get bin files by my tools below.
Click to expand...
Click to collapse
Enough to rename RM801_XXXXX_prod_XXX_XX_boot.esco in .payload do dump OSBuilder and decomposed on packages.
ted973 said:
esco is only a zip file
you could get one boot.img & one boot.img.cert from esco file
boot.img is ROM IMAGE, you can extract it by OSBuilder or split to get bin files by my tools below.
Click to expand...
Click to collapse
It's great!3Q!
ted973 said:
esco is only a zip file
you could get one boot.img & one boot.img.cert from esco file
boot.img is ROM IMAGE, you can extract it by OSBuilder or split to get bin files by my tools below.
Click to expand...
Click to collapse
Ok thanks and after that how to flash them?
how to flash Lumia 800 with these files downloaded?
kimycai said:
how to flash Lumia 800 with these files downloaded?
Click to expand...
Click to collapse
that is a problem , how to flash this ROMs to lumia800?
and , why these firmware have so many files?
I already have not used nokia's device ,since 2007
Are these roms can flash to phones as same as symbian device?
venitex said:
that is a problem , how to flash this roms to lumia800?
And , why these firmware have so many files?
I already have not used nokia's device ,since 2007
are these roms can flash to phones as same as symbian device?
Click to expand...
Click to collapse
如果可以用jaf或者凤凰的话那就太棒了,但感觉似乎不是很有可能,文件跟塞班刷机包很大程度不一样,除了一个签名文件
I downloaded factory image from code.google.com,and I extracted a file who name is system.img,but I don't know how can I unpack it.
I don't know unpack it with what software,Is not always able to unpack the file when I
tried some softwares.(yaffs2img,winimage,winRAR and something else)
what is a right way to extract and edit it?
Thank you!
you don't extract .img files.... you flash the img file through fastboot.
google on how to use fastboot for more details.
You can extract them just fine. I used dsixda's kitchen to extract system.img so that I could pull the gapps.
zephiK said:
you don't extract .img files.... you flash the img file through fastboot.
google on how to use fastboot for more details.
Click to expand...
Click to collapse
I just want make it into zip file and flash it with recovery,facilitate I edit a rom.
zephiK said:
you don't extract .img files.... you flash the img file through fastboot.
google on how to use fastboot for more details.
Click to expand...
Click to collapse
mwalt2 said:
You can extract them just fine. I used dsixda's kitchen to extract system.img so that I could pull the gapps.
Click to expand...
Click to collapse
Dsixda's kitchen? Can it unpack the system.img? Actually,I want delete some gapps and edit this rom.
8723045587230455 said:
Dsixda's kitchen? Can it unpack the system.img? Actually,I want delete some gapps and edit this rom.
Click to expand...
Click to collapse
Yes, it works ok. Just put the system.img in the original update and choose to make a rom from that file. It will guide you through extracting the system.img. You might be able to get it to build the entire rom if you just zip all of the .img's together and choose that for the input file.
Thank you so much and I'll try. ^^
You can use http://forum.xda-developers.com/showpost.php?p=15333542& postcount=135 to convert the image to an .ext4.img and then use http://www.diskinternals.com/linux-reader/ to mount (if you are using Windows).
Sent from my Galaxy Nexus using Tapatalk
efrant said:
You can use http://forum.xda-developers.com/showpost.php?p=15333542& postcount=135 to convert the image to an .ext4.img and then use http://www.diskinternals.com/linux-reader/ to mount (if you are using Windows).
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
I'm glad i found your post on here. Greatly appreciate it! :victory:
i am using z1f, SO-02F. I bought it from japan, it run 4.2.2 14.1.H.1.281 and now i want to root it without unlock bootloader to use Titanium backup and delete many docomo app. i dont want to install d5503 4.3 rom because it is many bugs. Thanks everyone
anyone can help me?
Hi! Just follow this guide... But start with step #10
http://forum.xda-developers.com/showthread.php?t=2642081
The first root from this device started with the jap version so you guys should find it easier to root than the global variant.
Riyal said:
Hi! Just follow this guide... But start with step #10
http://forum.xda-developers.com/showthread.php?t=2642081
The first root from this device started with the jap version so you guys should find it easier to root than the global variant.
Click to expand...
Click to collapse
tks u so much. i will try it now
Kid1412_92 said:
tks u so much. i will try it now
Click to expand...
Click to collapse
Ohh btw if you do that rooting method please do take note that after the procedure you would end up having a generic ROM and not the docomo ROM.
Riyal said:
Ohh btw if you do that rooting method please do take note that after the procedure you would end up having a generic ROM and not the docomo ROM.
Click to expand...
Click to collapse
Can i flash the docomo ROM replace generic rom in the final step
Gửi từ SO-02F của tôi bằng cách sử dụng Tapatalk
You would need to create a ROM dump then... The final step is flashing the file z1c-43-uk.system.flashable.zip in recovery which contains a UK generic ROM. Now what you need to do if you want a docomo version is
1. Download flashtool
2. Extract system.sin in ftf file of docomo
3. Extract ext4 image from system.sin using flashtool
4. Extract the contents of system.ext4 and replace the ones in the z1c-43-uk.system.flashable.zip
then flash the zip file you just modified. You should then get a rooted docomo ROM. Kinda hard to do if you don't know how but that's the only way for now sorry I could probably create one for you but that would be after a couple of days as I'm pretty busy this week.
Riyal said:
You would need to create a ROM dump then... The final step is flashing the file z1c-43-uk.system.flashable.zip in recovery which contains a UK generic ROM. Now what you need to do if you want a docomo version is
1. Download flashtool
2. Extract system.sin in ftf file of docomo
3. Extract ext4 image from system.sin using flashtool
4. Extract the contents of system.ext4 and replace the ones in the z1c-43-uk.system.flashable.zip
then flash the zip file you just modified. You should then get a rooted docomo ROM. Kinda hard to do if you don't know how but that's the only way for now sorry I could probably create one for you but that would be after a couple of days as I'm pretty busy this week.
Click to expand...
Click to collapse
tks u so much for help me, i will try it now and if this isnt work, i will ask u for help a next week :victory:
tks u ver two :laugh:
Ok here's a little more easier guide for you....
1. Download Docomo ftf
2. Extract the ftf using winrar, 7zip, winzip or any archiving tool.(I suggest 7zip though)
3. Get the system.sin
4. Open flashtool. http://www.flashtool.net/download.php
5. Navigate to Tools->Sin Editor
6. Select system.sin
7. Select Extract Data button
8. Flashtool should dump system.ext4 image
9. Download this application http://www.diskinternals.com/linux-reader/
10. Open application and open system.ext4
11. It upon opening it should show system files.
12. Extract everything and put it inside z1c-43-uk.system.flashable.zip
Special note: z1c-43-uk.system.flashable.zip has a tgz archive inside. You need to put all the system files you extracted inside the tgz file for it to work.
13. Flash your modified sz1c-43-uk.system.flashable.zip thru recovery
14. Done.
Riyal said:
Ok here's a little more easier guide for you....
...
12. Extract everything and put it inside z1c-43-uk.system.flashable.zip
Special note: z1c-43-uk.system.flashable.zip has a tgz archive inside. You need to put all the system files you extracted inside the tgz file for it to work.
13. Flash your modified sz1c-43-uk.system.flashable.zip thru recovery
14. Done.
Click to expand...
Click to collapse
If you do that in Windows then you lose all the file permissions information. I do not think it is really a good idea. It is much more reliable to mount the ext4 image in Linux with options "-o loop,ro" and then create the system.tgz natively using tar in Linux.
I have done that myself (with 142 DE-T ftf) and it worked just fine at first try.
LaizyJumper said:
If you do that in Windows then you lose all the file permissions information. I do not think it is really a good idea. It is much more reliable to mount the ext4 image in Linux with options "-o loop,ro" and then create the system.tgz natively using tar in Linux.
I have done that myself (with 142 DE-T ftf) and it worked just fine at first try.
Click to expand...
Click to collapse
Ahh you're right! Just looked at the script right now and it doesn't set permissions upon installation. I was assuming it would like any usual flashable zips.
have u rooted z1f docomo? i want to root it so i need to talk with u... im living in japan.. my all of social network nickname is bloodtear225. example facebook, skype, LINE, viber ect...
need help
Hi Riyal, I have tried to read all comment here and the link provided but m still confused on how to root Xperia Z1 f
I downloaded a samsung galaxy s22 Odin firmware and unpacked the zip and the AP tar file and then I un lz4'd the super.img, unsparsed it and then I ran lpunpack on the unsparsed image to get unreadable images
Have you used one of the following?
Extract system.img,vendor.img and product.img from super.img
After lots of search i found a way to extract those img file from super.img What is need? 1.Computer with linux os. extract zip file from this post and place your super.img in same location where you extract.. then run below cmd... simg2img...
forum.xda-developers.com
super_img_lpmake_lpunpack.zip | by MrWaehere for Utilities
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
ze7zez said:
Have you used one of the following?
Extract system.img,vendor.img and product.img from super.img
After lots of search i found a way to extract those img file from super.img What is need? 1.Computer with linux os. extract zip file from this post and place your super.img in same location where you extract.. then run below cmd... simg2img...
forum.xda-developers.com
super_img_lpmake_lpunpack.zip | by MrWaehere for Utilities
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Click to expand...
Click to collapse
I have. I can get system.img out but I can't open it. I think it's a f2fs partition but I haven't found any tools that can extract files from it
It seems on newer firmware this method of unpacking and extracting system.img out of super.img no longer works. It seems now that when you extract system.img from super.img.raw it gives you a file that reads just as data and does not have the ext4 filesystem magic header bytes.
Have uploaded two screenshots to show how super.img.raw looks and how system.img looks after extraction from super.img. Any thoughts on this?
This firmware is being pulled from latest tar files for SM-S901U
Update, am working on a way and almost got it now. Will probably create a post on this once done and link from here. If you dont hear back from me, i failed. :'(
UPDATE: had some luck following this guys tutorial although a little different was able to extract files. Still cant mount but much closer. Device is f2fs file system. The reason it's not working is most methods on xda are for ext4
How to Extract F2FS Image from Android Device Flash - Baremetallics
How to Extract F2FS Image from Android Device Flash
baremetallics.com
kalexander7 said:
Update, am working on a way and almost got it now. Will probably create a post on this once done and link from here. If you dont hear back from me, i failed. :'(
UPDATE: had some luck following this guys tutorial although a little different was able to extract files. Still cant mount but much closer. Device is f2fs file system. The reason it's not working is most methods on xda are for ext4
How to Extract F2FS Image from Android Device Flash - Baremetallics
How to Extract F2FS Image from Android Device Flash
baremetallics.com
Click to expand...
Click to collapse
Is this also work for other's like erofs?
Mr Hassan said:
Is this also work for other's like erofs?
Click to expand...
Click to collapse
I doubt it although it may be alike using same linux tools like fsck. Erm I'm still stuck on trying to get this f2fs image too mount. It seems corrupt and although I was able to extract libs and apks they're coming out corrupted. Anyone in the community have any knowledge in this area?
kalexander7 said:
I doubt it although it may be alike using same linux tools like fsck. Erm I'm still stuck on trying to get this f2fs image too mount. It seems corrupt and although I was able to extract libs and apks they're coming out corrupted. Anyone in the community have any knowledge in this area?
Click to expand...
Click to collapse
Bro samsung have many dev's to mount fsf2 and already many dude done
The erofs not possible
Mr Hassan said:
Bro samsung have many dev's to mount fsf2 and already many dude done
The **** is erofs
Click to expand...
Click to collapse
what?