[Q] Edit the Ramdisk? - Samsung Galaxy Gio GT-S5660

Anyone know how to edit the ramdisk inside the boot.img? Like for example: the boot image from the Particle Android Rom -- when you boot up your phone it says Samsung Galaxy Gio 5660
Is there some way to edit this to make it say 5660m? I believe i has something to do with the ramdisk folder that you extracted from the boot.img
EDIT-------
@UtmostMick0 The dsixda kitchen is not fully for the GIO. So you should expect some probs
----------

No,if you want to change it,you should change Gio.rle
Sent from my GT-S5660 using xda premium

czkwg8 said:
No,if you want to change it,you should change Gio.rle
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
Yup, try to search XDA for ''changing boot splash image''

I'm not in a position to help you out completely, but the others have been largely correct.
The boot.img file contains both the kernel and the ramdisk, there are scripts for both Windows and Linux to unpack and repack the boot.img files.
After that, you'll need to find a command line utility to convert the RLE (gio.rle) file into a RAW Run Length Encoded bitmap image that's going to be compatible with an image editing program of your choice.
Depending on the editing program used, if you want to do color, you may need to swap around your RGB channels in order to get correct results on the phone.
Let me know if you can't find the programs and I'll try to dig them out for you. But you should be able to find them somewhere on XDA.

kewl , someone else is playing with this to atm , lolz , i have used the dsixda kitchen to unpack my boot.img and got the GIO.rle file out of it , my problem is when i put replacement GIO.rle into the boot.img and repack it the wifi doesnt work :-( , any ideas ?
CM 7.2

Related

How to unpack evo boot image?

I'm trying to figure out how to unpack and repack the evo's boot image. I found the "HOWTO: Unpack, Edit, and Repack Boot Images" thread in another forum using the search function but when I tried to use the scripts to unpack the boot.img file I received an error as follows:
Found a secondary file after the ramdisk image. According to the spec (mkbootimg.h) this file can exist, but this script is not designed to deal with this scenario.
The HOWTO thread I found mentioned that this was likely a second stage loader but indicated that it has not been seen on any system to date. This second stage loader had apparently only been defined in the mkbootimg.h file but not implemented as of the time this how to was written.
Can anyone provide a link to instructions on how to extract and repack the boot.img for the EVO? I'd like to make a few changes to the default.prop in the ramdisk of the default boot.img file and instructions would be greatly appreciated.
I use dsixda's kitchen
http://forum.xda-developers.com/showthread.php?t=633246
that allowed me to unpack it. I remember the error you speak of but I forget what script I was using
elegantai said:
I use dsixda's kitchen
http://forum.xda-developers.com/showthread.php?t=633246
that allowed me to unpack it. I remember the error you speak of but I forget what script I was using
Click to expand...
Click to collapse
This worked for me perfectly.
Thanks very much for the pointer!

[KERNEL] Any Kernel Updater (Moded for eMMC)

I have just edited the AnyKernel updater script by koush to work with eMMC devices :-D
hope ppl can make use of this
its very simple
1) grab the .tar.gz file
2) extract
3) add the zImage to the /kernel/ directory
4) add .ko modules to /system/lib/modules/ directory
5) **optional** change the boot partition location in the updater-script (not normaly needed)
6) zip up the file
7) its ready to flash in CWM
Credits
Koush for the original boot unpack / repack bin's and scripts
IEF for the stand alone dd binary
what does it do?? sorry
does it make so you can update thru your network?
Thank you! This will be useful to me.
Nice, this is exactly what we needed.
Sent from my HTC Vision
Thanks!! I can finally make an Update.zip for my kernel!
nice work.
Now any kernel devs. can easy make a update.zip
G1_enthusiast said:
what does it do?? sorry
does it make so you can update thru your network?
Click to expand...
Click to collapse
Classic...lol
Why do ppl who have no clue even post stuff like that?
Thanks Apache this will come in handy.
Sent from my HTC Vision using XDA App
any chance to rip bootimg.cfg through the zip file?
since somehow I tried to get the cfg file from the boot.img but seems the boot.img and zImage in some kernel are the same.

[Question] How to unpack/repack DHD img files? need a guide.

ok here is my question..
im trying to extract the system.img files to restore some of the original files i changed.
here is the things i want to know in a list
1, Which tool is used to extract those IMG files? guide please. if you do need to compile it please post guide on how to compile as well?
2, how to repack the files into readable Img files which we can use to fastboot flash system with?
3, the shutdown.zip and downanimation.zip what are the requirements? i have sucessfully made a custom bootanimation.zip but failed the downanimation and shutdown. the bootanimation works when i made zip file with store only attributes "no compression", but the other 2 wont work either way..
if i can get this information i would make a general thread about DHD with all the information so it would be easier for anyone to find out all about xda and the development for DHD
example, Radio/Eng S-Off CID-1111111 simunlock, adb commands/tools/guide, cygwin/unyaffs GIMP etc including graphical mods and specific how to's.
please help me out this might reward the newbies alot saving loads of precious time searching.. just like me
rofl edited to change adb to fastboot. sry my bad. stupid typo ;x

[10 JAN][SCRIPT]IMG2CWM Converter 1.2.2

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 Info​How 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.
Downloads​v1 >>> 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)
Addons​arif-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
License​BSD 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

[q] weird problem with adb pull command

i have been trying to pull my back ups from phone via adb pull. but i keep on running in a weird probelm.. i cant pull any system file as well as the data/media/clockword mod. if i type that command , it just runs the directory of various commands.. but i can still pull any file from my /sdcard command
i hope you guys can help me as i have searched everywhere but i cant seem to find an answer .
khuzema9 said:
i have been trying to pull my back ups from phone via adb pull. but i keep on running in a weird probelm.. i cant pull any system file as well as the data/media/clockword mod. if i type that command , it just runs the directory of various commands.. but i can still pull any file from my /sdcard command
i hope you guys can help me as i have searched everywhere but i cant seem to find an answer .
Click to expand...
Click to collapse
You need an insecure kernel to pull system files (/system, /data). I'm not sure if there are other ways, but I do know that you can adb pull anything if you have ro.secure=0 in default.prop of the kernel's ramdisk. You can easily do this to your own kernel by using dsixda's kitchen to extract boot.img and edit it. If you need help, just post there (or you can post boot.img and I can do it quickly for you).
mwalt2 said:
You need an insecure kernel to pull system files (/system, /data). I'm not sure if there are other ways, but I do know that you can adb pull anything if you have ro.secure=0 in default.prop of the kernel's ramdisk. You can easily do this to your own kernel by using dsixda's kitchen to extract boot.img and edit it. If you need help, just post there (or you can post boot.img and I can do it quickly for you).
Click to expand...
Click to collapse
THANK YOU SO MUCH FOR REPLYING , i am right now using franco app and just flashed its kernel and its working now... but i am confused about the push command so how to send it back to its location from my pc to phone.
could you be generous enough to tell me how to edit boot.img and what else can i do by editing as well.. if you can direct me to some links or whatever you could tell me . i would love to learn it ..
khuzema9 said:
THANK YOU SO MUCH FOR REPLYING , i am right now using franco app and just flashed its kernel and its working now... but i am confused about the push command so how to send it back to its location from my pc to phone.
could you be generous enough to tell me how to edit boot.img and what else can i do by editing as well.. if you can direct me to some links or whatever you could tell me . i would love to learn it ..
Click to expand...
Click to collapse
You don't simply edit boot.img. Its a kernel and must be compiled from source.
khuzema9 said:
THANK YOU SO MUCH FOR REPLYING , i am right now using franco app and just flashed its kernel and its working now... but i am confused about the push command so how to send it back to its location from my pc to phone.
could you be generous enough to tell me how to edit boot.img and what else can i do by editing as well.. if you can direct me to some links or whatever you could tell me . i would love to learn it ..
Click to expand...
Click to collapse
I just use dsixda's kitchen and it's a command under the 'advanced options' menu in unpack boot.img. You can get the latest dsixda kitchen here. Download the .zip to your computer. To get it setup, you either run it in linux (I just use a virtual machine of ubuntu) or use cygwin. You can get instructions in post 3 of this thread. I used to use cygwin and it wasn't too hard to get setup. The instructions are pretty easy to follow. When you are pushing things to your phone, I usually do it in recovery (though it doesn't always have to be) and don't forget the 'adb shell mount /system' or whatever partition you are pushing to before you use adb push.
scottx . said:
You don't simply edit boot.img. Its a kernel and must be compiled from source.
Click to expand...
Click to collapse
That's not really true. It's easy to unpack boot.img into the ramdisk and zimage. zimage must be compiled (maybe that's what you're thinking), but there are many things you can edit with a text editor in the ramdisk (like the value to make the kernel insecure that I posted previously).
ok i will defiantely work on that , and i sure hope to end up with questions which i will definately ask
khuzema9 said:
ok i will defiantely work on that , and i sure hope to end up with questions which i will definately ask
Click to expand...
Click to collapse
is there any way to push backups from usb drive to the clockworkmod folder , if i just keep them handy

Categories

Resources