i install cygwin
i type cd /boot
and when i type ./extractboot boot.img the cygwin say something about cpio acces denied, and about perl
Plese help
Sent from my GT-S5660 using Tapatalk 2
Install dsixda kitchen
And use bootimg tools
Sent from my GT-S5660 using xda app-developers app
You'll need Linux or Cygwin
redprotoman said:
You'll need Linux or Cygwin
Click to expand...
Click to collapse
Read the post...
He says : I install cygwin.
Trolol.
You do better watch out with your spam to get 10 postd
Sent from my GT-S5660 using xda app-developers app
now i'm trying with kitchen
i unpack the boot.img
but i cant re-pack it because the kitchen say "working folder not found"
Sent from my GT-S5660 using Tapatalk 2
Msilviu said:
now i'm trying with kitchen
i unpack the boot.img
but i cant re-pack it because the kitchen say "working folder not found"
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
use any rom.zip likecm7 and place it in .kitchen/origonal update
open cugwin - kitchen
hit 1
select the rom you pasted
hit 0 after ots dome
now hit 20 for boot img tools
press The button to extract the boot.img from the working folder
let it extract
now use the one to extract ANY boot.img
place your boot.img you want to extract into e folder bootimh123532
it gets extracted
now delete the folder BOOT-EXTRACTED and rename bootimg1223456 to BOOT-EXTRACTED
do your changes
then switch back to kitchen, and hit B to build for working folder
your boot.img is at the working folder,, copy it to were you want
thanks a lot my friend
Sent from my GT-S5660 using Tapatalk 2
DO NOT PRESS 1 - IT's a waste of time!!
Just extract your ROM onto the dsixda kitchen (using WinRAR or 7zip)
Rename the folder to WORKING_xxxx
Where xxxx is your ROM name, or you can call it whatever
Make sure inside WORKING_xxxx you have:
META-INF
system
boot.img
Then hit 0 & 20
thanks all i done my work
Sent from my GT-S5660 using Tapatalk 2
Related
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:
Ok, so I know many users are looking forward to create a custom rom. Where are you gonna get the system files from? Sure you can get it from a CWM backup. You can also extract the system files and the respective kernel from PDA.tar. Sure everyone knows it's in there but very few exactly know how to extract them. The system files are in the file "system.img".
So the 1st step is to open the PDA.tar using 7-zip and extract the system.img to a particular folder.
Download sgs2toext4.jar from attachment. It's a .jar file created by dphrozen to convert .img files to .ext4.img. Place that file anywhere in C:\ and then open the Command Prompt. In the command prompt, set the directory to the folder where sgs2toext4.jar is placed. Then type this command :-
Code:
java -jar sgs2toext4.jar
A window will open which is gonna ask you to drop the .img file in it. Simply drag the system.img to the window and the process of converting it to system.ext4.img will start. After the process is complete, you'll find system.ext4.img file in the same folder where your system.img file was placed.
Now, download Linux Reader. Install and then open it. At top left, go to Drives -> Mount Image. A window will open up. Browse to system.ext4.img and select it.
That's it! Now you can view all the system files. Export all of them to a particular folder. After exporting, you'll see an extension .efs.ntfs at the end of each file. Just delete that extension and you're good to go!
Thnx! Reserved
Sent from my GT-S5360 using xda app-developers app
---------- Post added at 03:23 PM ---------- Previous post was at 03:14 PM ----------
So if i extract system files and boot.img from dxlf1 and create it into a flashable zip will it work! On other firmwares?!
Sent from my GT-S5360 using xda app-developers app
humaid.locastic said:
Thnx! Reserved
Sent from my GT-S5360 using xda app-developers app
---------- Post added at 03:23 PM ---------- Previous post was at 03:14 PM ----------
So if i extract system files and boot.img from dxlf1 and create it into a flashable zip will it work! On other firmwares?!
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Yeah.
**Men have become the tools of their tools**
anasdcool71 said:
Yeah.
**Men have become the tools of their tools**
Click to expand...
Click to collapse
when i type in that java-jar code it gives me this error
C:\ext4>java -jar sgs2toext4.jar
'java' is not recognized as an internal or external command,
operable program or batch file.
humaid.locastic said:
when i type in that java-jar code it gives me this error
C:\ext4>java -jar sgs2toext4.jar
'java' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
Install JDK first. Java Development Kit.
**Men have become the tools of their tools**
anasdcool71 said:
Install JDK first. Java Development Kit.
**Men have become the tools of their tools**
Click to expand...
Click to collapse
ahh forget it i downloaded a software winimage! just extracted system.img file from pda and then with the software extracted all the files of system.img!! didnt even get into all that cmd trouble!
humaid.locastic said:
ahh forget it i downloaded a software winimage! just extracted system.img file from pda and then with the software extracted all the files of system.img!! didnt even get into all that cmd trouble!
Click to expand...
Click to collapse
Really? Because i had tried winimage and it didn't work.
**Men have become the tools of their tools**
It worked like s charm for me!! And it was easy as abc
Sent from my GT-S5360 using xda app-developers app
humaid.locastic said:
It worked like s charm for me!! And it was easy as abc
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
any proof? screenshot?
Lol will post a pic tmrrw
Sent from my GT-S5360 using xda app-developers app
I don't think it worked with winimage. System.img is different from other .img files.
**Men have become the tools of their tools**
theoritically, yes. the image file is written on rfs filesystem. sadly, this rfs is different with linux's rfs. samsung developed their own filesytem and use it on their own device. this filesystem is closed one and never used by anyone/anything outside samsung.
It damn worked
Sent from my GT-S5360 using xda app-developers app
then prove it..i've tried using winimage and several apps. it doesn't work. It was on march, when i tried to build my first custom rom.
I'm just curious how did you do that.
What should be in the pic?!
Sent from my GT-S5360 using xda app-developers app
the screen showing you opening the file with winimage.
Here u go....srry for being late!! I was too lazy to reply
Sent from my GT-S5360 using xda app-developers app
Cant you use poweriso? well it is also working.
Hidden.img shows:
hidden.img 32B 0B/s
hidden.img 32B 0B/s
hidden.img 32B 0B/s
hidden.img 32B 0B/s
hidden.img 32B 0B/s
hidden.img 32B 0B/s
hidden.img 32B 0B/s
hidden.img 32B 0B/s
endless....
this use to extrack it to ext4 file system or rfs file system? the file u provide is to convert it to ext4 which is the default sgs2 file system and not sgy file system...
owh i get it u copy this from sgs2 thread right?
edit: adb pull system to sdcard is much easier i think
~ sent using busybox command via Cytherea phone ~
Ok, maybe stupid question, but when unraring the cm-10.1-20130316-STAGING-5-endeavoru Rar ask me to replace existing files? Do i need click yes(yes to all) or no(no to all)?
P.S. I unrar in clean folder, not in same folder over and over again!
Thanks
Re: Extracking CM-10.1-20130316-STAGING-5-endeavoru from rar
Why do you unrar it ?
Mr Hofs said:
Why do you unrar it ?
Click to expand...
Click to collapse
I assumed that i need extract files before flashing to phone, i own several android devices , and for example lg use kdz files, and people just rar it for less space or , uploading server rules! This is my frist HTC wich i want to "customize",and for other devices i used to extract files from .rar before flashing! From your's reaction i think that i use .rar to flash with?
Re: Extracking CM-10.1-20130316-STAGING-5-endeavoru from rar
Firstly, the file is a zip archive.
Secondly, yes, you flash them just like that, without unzipping or extracting.
Sent from my One X using xda premium
Re: Extracking CM-10.1-20130316-STAGING-5-endeavoru from rar
The only file you need to extract from the rom.zip is the boot.img file. It must be flashed with fastboot commands
Mr Hofs said:
The only file you need to extract from the rom.zip is the boot.img file. It must be flashed with fastboot commands
Click to expand...
Click to collapse
I got it now, thanks! All good! Extracting rom.zip cofused me! Thanks button thanks!
TToivanen said:
Firstly, the file is a zip archive.
Secondly, yes, you flash them just like that, without unzipping or extracting.
Sent from my One X using xda premium
Click to expand...
Click to collapse
Sorry, yes its zip archive, i only use rar windows app! Thanks also!
Howdy, I just tried an AOSP ROM on my gs3 and wanted to try the Bleeding Edge kernel. In case it doesn't work or I want to go back to stock, how do I go about putting the ROMs included kernel back on the phone without doing a dirty flash of the ROM?
Sent from my SPH-L710 using Tapatalk 2
You can do this (using adb) after pulling the boot.img from your current roms zip.
Code:
adb push boot.img /sdcard/boot.img
adb shell
$ su
# dd if=/sdcard/boot.img of=/dev/block/mmcblk0p7
Reboot and your old kernel will be back.
Thanks, never used adb but I can download and the commands seem pretty simple. I bet you also know how to make it into a flashable zip?
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
Thanks, never used adb but I can download and the commands seem pretty simple. I bet you also know how to make it into a flashable zip?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
YUP
Take your rom.zip and extract ONLY the META-INF folder and boot.img
Open the "updater-script" file with a text editor and delete everything
Now type the following line, and then make sure to leave 1 line blank after it
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p7");
<blank line here>
Then save it (make sure no extension gets added) and zip up the META-INF folder and boot.img.
The zip should look like this
Inside restoreKernel.zip
---META-INF
---boot.img
Congrats! You just made a universal kernel flasher. If you want to flash any other kernel for your device now (same android version and all that, of course), just swap out the boot.img in the zip and flash away
CNexus said:
YUP
Take your rom.zip and extract ONLY the META-INF folder and boot.img
Open the "updater-script" file with a text editor and delete everything
Now type the following line, and then make sure to leave 1 line blank after it
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p7");
<blank line here>
Then save it (make sure no extension gets added) and zip up the META-INF folder and boot.img.
The zip should look like this
Inside restoreKernel.zip
---META-INF
---boot.img
Congrats! You just made a universal kernel flasher. If you want to flash any other kernel for your device now (same android version and all that, of course), just swap out the boot.img in the zip and flash away
Click to expand...
Click to collapse
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Will this process work on my Ace II ?
dimigeo1996 said:
Will this process work on my Ace II ?
Click to expand...
Click to collapse
You would need to change the partition it flashes the boot.img to (the /dev/block/mmcblk0p7 part)
But other than that, it should
I need some help with extracting a system.img in Ubuntu I've googled it many times but I'm still stuck on it I've tried unyaffs but get a fault of some sort
EDIT:solved it
And put the solution
Sent from my Galaxy Nexus using xda premium
Nevermind figured out thanks for all your help lul
Sent from my Galaxy Nexus using xda premium
If you are only interested in using this forum to get answers but not to share them then at least do not mark you query as "Solved" and do not expect any future help. Please make amends.
Thank you.
-- Sent from my Palm Pre3 using Forums
eKeith said:
If you are only interested in using this forum to get answers but not to share them then at least do not mark you query as "Solved" and do not expect any future help. Please make amends.
Thank you.
-- Sent from my Palm Pre3 using Forums
Click to expand...
Click to collapse
Nah dude the solved wasn't there I solved it which is why I put solved
Sent from my Galaxy Nexus using xda premium
Ok but how about you posting the steps you took to solve it for the next person searching for the solution? Thanks.
-- Sent from my Palm Pre3 using Forums
Step 1 download dsixdas android kitchen
http://forum.xda-developers.com/showthread.php?t=633246
Step 2 get your system.IMG and put it in original_update
Step 3 open terminal emulator
Ctrl+alt+t
Go to where you extracted the kitchen
In my case its "cd kitchen"
Step 4 type ./menu wait for the GUI to pop up and choose create working folder and this will automatically extract the system.IMG that you have in your original_update folder
Step 5 wait and when its done it will mount system.IMG or something then it will ask you for your sudo password
Step 6 wait till its done and boom you extracted it dsixdas the easiest way to extract it.I didn't get any success on unyaffs or yaffs2
Sent From The Third Nexus
Great job! Thank you!
I love reading and learning something new...
Sent from my HTC Desire using Tapatalk 2
That doesn't teach anything. It's a toolkit.
beekay201 said:
That doesn't teach anything. It's a toolkit.
Click to expand...
Click to collapse
It extracts the system.img
Sent From The Third Nexus
Alternate solution: mount -o loop /path/system.img /mount_point
Sent from my liquid glowing bomb shell
Omar1c said:
Step 1 download dsixdas android kitchen
http://forum.xda-developers.com/showthread.php?t=633246
Step 2 get your system.IMG and put it in original_update
Step 3 open terminal emulator
Ctrl+alt+t
Go to where you extracted the kitchen
In my case its "cd kitchen"
Step 4 type ./menu wait for the GUI to pop up and choose create working folder and this will automatically extract the system.IMG that you have in your original_update folder
Step 5 wait and when its done it will mount system.IMG or something then it will ask you for your sudo password
Step 6 wait till its done and boom you extracted it dsixdas the easiest way to extract it.I didn't get any success on unyaffs or yaffs2
Sent From The Third Nexus
Click to expand...
Click to collapse
Nice beat bro! It works! :good: