[GUIDE]Perka´s Ultimate ROM Cooking Guide - Galaxy S I9000 Android Development

Huge Credit goes to all involved in this project!
But foremost a huge thx to addi that helped me setup Cygwin!!!!
Thank you addi!
Click to expand...
Click to collapse
If you want to support me and my work,
donate towards my notebook fund.
Perkas Notebook Fund
People who has donated, a HUGE THX!
Click to expand...
Click to collapse
This is how I make my ROMs in w7 Ultimate 64bit
Software needed:
Cygwin http://www.cygwin.com/
dsixda_Android_Kitchen, http://forum.xda-developers.com/showthread.php?t=633246
Put the kitchen here: http://imageshack.us/photo/my-images/808/installkitchen.png/
Magic iso http://www.magiciso.com/
7zip or winrar
APK manager http://forum.xda-developers.com/showthread.php?t=695701
Template :
PerkaROM Template at the end of this post.
Stock firmware :
In this guide JVP 2.3.4
How to :
* Get the modem and kernel (zImage) you want to use
* Un tar PDA.tar and CSC.tar
* Use Magic iso to extract factoryfs.rfs, Got to File, Open,
choose show all files and browse to the facoryfs and open, when open right click the NO NAME, up to your left and extract it.
* So now make a folder called system
* Put the extracted factoryfs in the system folder and zip it. (I use no compression as its faster)
* Now u have a zip called system.zip with a system folder in it.
* Put the system.zip in the dsi kitchen folder /original_update
* Start the kitchen and use option 1, go with default options.
* Use option 0 advanced, then 11 and then option b to deodex system apk and framework, and w8
* Now save the system folder from working folder in the Kitchen
* Get my template
* Dont extract the Template just open it in winrar or similar.
* Copy your modem and zImage (kernel) to the update folder
* Now copy your system to the template /system
* Use Magic iso to extract cache.rfs, Got to File, Open,
choose show all files and browse to the cache.rfs and open, when open right click the NO NAME, up to your left and extract it.
* Unzip the sec_csc.zip and copy the files to system, (1 csc folder and 2 files)
* Now u should have a working stock ROM to flash in CWM (rooted)
* After testing the ROM you can optimize and zipalign it.
* In apk manager folder /place-apk-here-to-batch-optimize you put
framework-res.apk, twframework-res.apk and all system apks but not these:
AxT9IME, Camera, Email, MMS, Phone, Screen Capture, Settings, Swype, Thinkdroid, Voice search
* Choose option 15
* Then choose both(zp)
* Let it run and done.
* Now put back the apks where they belong in the ROM.
* Flash your optimized ROM and feel the difference!
Here is a video of the guide made by Flozzo so go and press his thx button
Check out his Theme here
Thank you Flozzo!!!
Press the thank you button if you like the guide THX!

Nice guide, Perka.​

great job buddy

WOW, this will come handy to a lot of guys. Sticky material.

perka you always do great job with guides....so is it with this one
congrats mate

Hey Perka!
From the Captivate forums, I would like to say this guide is a fantastic base for creating ROMs, I have created my own ROM using this guide by coldflid:
http://forum.xda-developers.com/showthread.php?t=1142104
But this is yet another fantastic guide, and now putting them side by side on and reading both would have saved me a couple hours of reading on google.
Hahah but great guide!

THANK A LOT
This is a great guide. Nice job mate.

Thank you all for your kind words

Perka said:
Thank you all for your kind words
Click to expand...
Click to collapse
Thanks for the tutorial
Enviado desde mi GT-I9000 usando Tapatalk

Thanks very useful!
Please help!I made my own rom but when i want to flash via recovery it says "installation aborted".What should i do?
Sorry for my english!

So, did anyone use my guide?
Pls feel free to post anything regarding cooking ROM´s here.

Perka said:
So, did anyone use my guide?
Pls feel free to post anything regarding cooking ROM´s here.
Click to expand...
Click to collapse
I read it and its good
But I use kitchen and a stock ROM which is much easier but keep it up mate
Sent from my HD2 using XDA Premium App

Perka said:
So, did anyone use my guide?
Pls feel free to post anything regarding cooking ROM´s here.
Click to expand...
Click to collapse
I´ve used your guide, but I didn´t quite got through the magic iso process.I extracted but it gave me one single file like the one i had before.I think i got a bit confused in the iso progress.

francomile said:
I´ve used your guide, but I didn´t quite got through the magic iso process.I extracted but it gave me one single file like the one i had before.I think i got a bit confused in the iso progress.
Click to expand...
Click to collapse
Well did u open it?
When its open in magic iso, there's a window to your left with the file structure, right click and extract to a folder of your choice.
If u need it I can make some screens.
Post if u want them.
and pls ask if anything.
Ps. maybe u can just copy all to a folder?

norbi2011 said:
Thanks very useful!
Please help!I made my own rom but when i want to flash via recovery it says "installation aborted".What should i do?
Sorry for my english!
Click to expand...
Click to collapse
Hey I missed you post, sry, well
Its hard to say what is wrong,
Kernel?
Filesystem?
++++?
Pls tell me more what did you put in the rom?
And what rom are you on now?

Perka said:
Well did u open it?
When its open in magic iso, there's a window to your left with the file structure, right click and extract to a folder of your choice.
If u need it I can make some screens.
Post if u want them.
and pls ask if anything.
Ps. maybe u can just copy all to a folder?
Click to expand...
Click to collapse
Hey, thanks for the quick answer.'ve opened the magic iso serched for the file and pressed the option to extract, and it extracted in the location file i choosed, bu the extracted content its just the same as the original file, same size, same name, same rfs extention. What was i suposed to get with the extraction, several files? I'll try to make it again and try to extract it before anoying you to post some captures, if it doesn't works, i'll be back to be a pain in the ass again
Enviado desde mi GT-I9000 usando Tapatalk

Oh just forgot, nice to see your file stash pro app updating!thanks
Enviado desde mi GT-I9000 usando Tapatalk

francomile said:
Hey, thanks for the quick answer.'ve opened the magic iso serched for the file and pressed the option to extract, and it extracted in the location file i choosed, bu the extracted content its just the same as the original file, same size, same name, same rfs extention. What was i suposed to get with the extraction, several files? I'll try to make it again and try to extract it before anoying you to post some captures, if it doesn't works, i'll be back to be a pain in the ass again
Enviado desde mi GT-I9000 usando Tapatalk
Click to expand...
Click to collapse
OK, manage to do it. but now i have other question:
in system file do i put together the extracted content of factoryfs.rfs and cache.rfs withouth any other files ?
What about CSC extracted file? it contains also a cache.rfs.should I extract it too with magic iso? and shall i put all the CSC and PDA files toguether?? I ´m a bit messed up here, but just need you to clarify me better the whole PDA and CSC part, ...well I know that CSC goes on system but i don't really have clear if i need to extract the cache.rfs from CSC too. I hope you can understand me right, because I´m a bit confused too

francomile said:
OK, manage to do it. but now i have other question:
in system file do i put together the extracted content of factoryfs.rfs and cache.rfs withouth any other files ?
What about CSC extracted file? it contains also a cache.rfs.should I extract it too with magic iso? and shall i put all the CSC and PDA files toguether?? I ´m a bit messed up here, but just need you to clarify me better the whole PDA and CSC part, ...well I know that CSC goes on system but i don't really have clear if i need to extract the cache.rfs from CSC too. I hope you can understand me right, because I´m a bit confused too
Click to expand...
Click to collapse
* Put the extracted factoryfs in the system folder and zip it. (I use no compression as its faster)
Now this u deodex.
When its done.
* Unzip the csc zip and copy the files to system (to your deodexed system folder)
When theres a new FW out ill make a video
Hope this helps, if not, well, Ill have to make a video now

How can i create an updater-script?
edit:never mind

Related

clear sense lockscreen for Cronos 1.7.1

hi guys,
i really liked the clear sense lockscreen on my modaco 1.5 rom so i've decided to modify my Cronos 1.7.1 lockscreen...
i just removed the 'arch' images from the appropriate *.png files in the
com.htc.resources.apk file
tested and it works...
just push the file to /system/framework and reboot
i hope some will enjoy this
*imho it looks really nice with LauncherPro and it works with JIT
**i had to repack the file because the *.apk exceeded the upload limits
***haven't tested it on other roms --> before you do test it on another rom,
make a copy of the original *.apk first!!!
odin13 said:
hi guys,
i really liked the clear sense lockscreen on my modaco 1.5 rom so i've decided to modify my Cronos 1.7.1 lockscreen...
i just removed the 'arch' images from the appropriate *.png files in the
com.htc.resources.apk file
tested and it works...
just push the file to /system/framework and reboot
i hope some will enjoy this
*imho it looks really nice with LauncherPro and it works with JIT
**i had to repack the file because the *.apk exceeded the upload limits
***haven't tested it on other roms --> before you do test it on another rom,
make a copy of the original *.apk first!!!
Click to expand...
Click to collapse
nice trying it now!
Looking nice
hey! do u mind sharing on which folder does these 'arch' images could be found?? cause i went through the original com.resources.apk but couldn't find these 'arch' images. many thanks!
Created an update.zip to flash correctly for you:
http://www.multiupload.com/AS7SL42OL8
Working with 1.5.1.
I love it!
yes indeed very nice Job done!
Thanks Odin13!!
Feeyo said:
Created an update.zip to flash correctly for you:
http://www.multiupload.com/AS7SL42OL8
Click to expand...
Click to collapse
Thanks feeyo
Is this the zip I can flash throught recovery mode instead of adb push?
skuum said:
Thanks Odin13!!
Thanks feeyo
Is this the zip I can flash throught recovery mode instead of adb push?
Click to expand...
Click to collapse
Yes just flash it from recovery
Yay, worked like a charm. Thanks for the great support guys <3
I've updated this, but now the curved menu image is back and now overlapping the one that came with 7.1 and so the home/add icons don't quite fit properly.
shatter86 said:
hey! do u mind sharing on which folder does these 'arch' images could be found?? cause i went through the original com.resources.apk but couldn't find these 'arch' images. many thanks!
Click to expand...
Click to collapse
Lockscreen_arch_top
bottom etc etc,if your folder id alphabetical when you open it scroll down to L
You dont really want to delete them,just photoshop them and erase everything then save it
Hi guys,
Good to hear the file works for everybody ...
I'm at work now so i can't check in which folders the *.png images are located but i will do this when i get home tonight!
*Feeyo thnx for creating the update.zip!!
Thank you!
Looks much better imho
hi peeps,
the files that i've modified can be located in these folders;
folder: \res\drawable-mdpi
- lockscreen_arc.png
- lockscreen_arcglass_bottom.png
- lockscreen_arcglass_top.9.png
folder: \res\drawable-land-mdpi and \res\drawable-port-mdpi\
- lockscreen_prompt_back.png
You can just open the com.htc.resources.apk with 7zip or Winrar and copy the *.png images to your harddrive.
Modify these files with an editor like Photoshop or so and remove the graphics
so it will leave you a 'blank' *.png image....
Copy the files back to the appropriate folders in your *.apk and push it back onto /system/framework folder on your phone.
haha.. i managed to modify the png files to my own design. pushed back in. everything works. except that the facebook count under my contacts becomes 0 now.. can't sync my facebook to contacts now.. any ideas?

[SCRIPT] ROM Packager [UPDATE 7/2]

Hi All,
I thought I might share this little script I have made.
Very Simply it is a Batch file that Will UnTar / Tar Oidin compatible files to flash. It also selects the relevant files for each type (Phone/PDA/CSC/Full).
Now also will create .md5 files for flashing and can compress to 7 zip!.
It will automatically use the files needed to make a CSC, Phone, PDA or Full type flash file and can auto split a Single Flash package into 3 separate ones!
It is very basic but very handy for creating a ROM package for a certain Country/CSC or with a certain Modem.
Also Splits a single ROM into a PDA/Phone/CSC.
UPDATE:
7/2 - v2 - Added MD5 support to script. Use v2.
9/2 - v3 - Lots of code cleanup, should be easier to use. Also added 7-zip support!
* Note directory layout has now changed, less confusing now I hope
If this really works, then You bohdans are fu**ing AWESOME!
Confirmed to be working on ZSJG4
I use peazip for the same work, but an automated script is way better. Congrats.
md5sum support
bohdans said:
Hi All,
I thought I might share this little script I have made.
Very Simply it is a Batch file that Will UnTar / Tar Oidin compatible files to flash. It also selects the relevant files for each type (Phone/PDA/CSC/Full).
It is very basic but very handy for creating a ROM package for certain country or with a Certain Modem.
Also Splits a single ROM into a PDA/Phone/CSC.
Click to expand...
Click to collapse
Thanks for the script!
Could you also add md5sum support
lownoise said:
Thanks for the script!
Could you also add md5sum support
Click to expand...
Click to collapse
Hi,
MD5 Support added
Usage Guide
Usage guide for noob please
Thanks,
Last future request for now......
bohdans said:
Hi,
MD5 Support added
Click to expand...
Click to collapse
Works great
Last future request for now: after the md5 files are created 7zip the files to make them in size smaller for the upload....
zion12 said:
Usage guide for noob please
Thanks,
Click to expand...
Click to collapse
Instructions are pretty clear in the program itself.
Bump............................................................... 10
bohdans said:
Hi All,
I thought I might share this little script I have made.
Very Simply it is a Batch file that Will UnTar / Tar Oidin compatible files to flash. It also selects the relevant files for each type (Phone/PDA/CSC/Full).
It is very basic but very handy for creating a ROM package for certain country or with a Certain Modem.
Also Splits a single ROM into a PDA/Phone/CSC.
UPDATE:
7/2 - Added MD5 support to script. Use v2.
Click to expand...
Click to collapse
Option 8 misses from menu (I put the tar file in "in" and still misses).
coradux said:
Option 8 misses from menu (I put the tar file in "in" and still misses).
Click to expand...
Click to collapse
Hi sorry it its looking in out folder, I will fix it tonight and add 7 zip
Sent from my GT-I9000 using XDA App
coradux said:
Option 8 misses from menu (I put the tar file in "in" and still misses).
Click to expand...
Click to collapse
Hi,
Issue is fixed in Version 3. Also know has a packaged and extracted folder instead of in and out, hopefully that will make more sense. Tar's, MD5's and 7-zip files are in Packaged, all the raw files are in extracted.
Also added 7-zip support as requested.
bohdans said:
Hi,
Issue is fixed in Version 3. Also know has a packaged and extracted folder instead of in and out, hopefully that will make more sense. Tar's, MD5's and 7-zip files are in Packaged, all the raw files are in extracted.
Also added 7-zip support as requested.
Click to expand...
Click to collapse
Hi,
I have created a PDA package of XWJS5 with SpeedMod k13a 500hz using your APP. Worked correctly except for one thing. The main ******.tar file containing all the files wasn't detected by option 8 whether I put it in /extracted or in the main folder. Where do I put it? I used Peazip ultimately to extract my *.tar.
PS : I used your V3
ragin said:
Hi,
I have created a PDA package of XWJS5 with SpeedMod k13a 500hz using your APP. Worked correctly except for one thing. The main ******.tar file containing all the files wasn't detected by option 8 whether I put it in /extracted or in the main folder. Where do I put it? I used Peazip ultimately to extract my *.tar.
PS : I used your V3
Click to expand...
Click to collapse
So you need to place your original tar into the packaged folder
Sent from my GT-I9000 using XDA App
bohdans, You sir are FREAKING AWESOME!!! I'm still working on understanding how to make my own ROM but this will most help greatly!
Nice idea once I used Win 7. WinXP does not have CHOICE.EXE/COM by default. SET /p works with minor configuration.
Good work.
IamSonoma said:
Nice idea once I used Win 7. WinXP does not have CHOICE.EXE/COM by default. SET /p works with minor configuration.
Good work.
Click to expand...
Click to collapse
Hi,
I dont have any PC's that still run XP. IF you want to post the modifications it needs I will update the Script and give you credit
bohdans said:
Hi,
I dont have any PC's that still run XP. IF you want to post the modifications it needs I will update the Script and give you credit
Click to expand...
Click to collapse
It would take a lot of work. It will involve changing every CHOICE command. I have rewritten the main and full sections.
I believe pulling the choice command out of win 7 (c:\windows) might be easier.
I will test it later today.
Edit: The windows 7 choice won't work
The first menu is easy...
Code:
rem CHOICE /C:123456789 /N /M "Please Select Type of ROM to Package:"
rem IF ERRORLEVEL 9 GOTO EXIT
rem IF ERRORLEVEL 8 GOTO EXTRACT
rem IF ERRORLEVEL 7 GOTO COMPRESS
rem IF ERRORLEVEL 6 GOTO MD5
rem IF ERRORLEVEL 5 GOTO MSPLIT
rem IF ERRORLEVEL 4 GOTO MCSC
rem IF ERRORLEVEL 3 GOTO MPHONE
rem IF ERRORLEVEL 2 GOTO MPDA
rem IF ERRORLEVEL 1 GOTO MFULL
SET menuchoice=0
SET /P menuchoice=Please make your decision:
ECHO.
IF %menuchoice%==1 (GOTO MFULL)
IF %menuchoice%==2 (GOTO MPDA)
IF %menuchoice%==3 (GOTO MPHONE)
IF %menuchoice%==4 (GOTO MCSC)
IF %menuchoice%==5 (GOTO MSPLIT)
IF %menuchoice%==6 (GOTO MD5)
IF %menuchoice%==7 (GOTO COMPRESS)
IF %menuchoice%==8 (GOTO EXTRACT)
IF %menuchoice%==9 (GOTO EXIT)
The second gets complicated. It will take some rewriting.
Code:
REM CHOICE /C YN /M "WARNING: Do you wish to Continue? (This will Delete any FULL.tar files in \compressed)"
REM IF ERRORLEVEL 2 GOTO MENU
set /p yn="WARNING: Do you wish to Continue? (This will Delete any FULL.tar files in \compressed)"
if "%yn%"=="" (echo Not entry)
if /I "%yn%"=="n" (GOTO MENU)
if /I "%yn%"=="y" (GOTO MFULL_TAR)
If others can use Vista and Win 7 "CHOICE" command I probably would not invest a lot of time in it unless you want too. SET /P is universal and works for WIN XP and WIN7.
I have WIN 7 at work and it does as it should.
Ok,
So i know this is for the I9000, but theoretically will it work for the US galaxy S versions?
I'm wanting to create an Odin Flash file for the Galaxy S SCH-i500 "Showcase" since we're the only Galaxy S that doesn't have one.. And if I could use this to get this done it would be VERY helpful!!!
I tried creating a .tar from zipping my showcase_system.rfs and the zImage together but that didn't work.. I don't know if it's just b/c we don't have a pit file or what..
Any suggestions would be VERY helpful and appreciated...
Thanks

[HOWTO] Use the dsixda Kitchen to make Galaxy W ROMS

This isn't necessary anymore, the dsixda kitchen now fully supports our phone.
Get the dsixda kitchen from HERE. And unzip it to a place of your choosing.
REMINDER: This will only work on Linux and/or Cygwin. Tutorials for that are on the kitchen page.
Thx for sharing your knowledge...it can give a massive headache when u don't know a thing about this stuff, like me..i will learn with my die-hard mode ..
anyway I have a question for you..about bootanimation on your v2 rom..how you disable it.? How you do that.?sammy using a proprietary file for his bootanim rite.?a .qmg file,am I rite? How you do that.? Seriously,i do wanna know..
I'm more interested on modding theme,crt anim,etc...but my knowledge limit my passion...
sent from another space
jahlee said:
Thx for sharing your knowledge...it can give a massive headache when u don't know a thing about this stuff, like me..i will learn with my die-hard mode ..
anyway I have a question for you..about bootanimation on your v2 rom..how you disable it.? How you do that.?sammy using a proprietary file for his bootanim rite.?a .qmg file,am I rite? How you do that.? Seriously,i do wanna know..
I'm more interested on modding theme,crt anim,etc...but my knowledge limit my passion...
sent from another space
Click to expand...
Click to collapse
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
cowithgun said:
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
Click to expand...
Click to collapse
Actually THIS is the original thread. The one you linked to gives no credit to knzo for his discoveries. (I know you didn't mean anything bad though )
KezraPlanes said:
Actually THIS is the original thread. The one you linked to gives no credit to knzo for his discoveries. (I know you didn't mean anything bad though )
Click to expand...
Click to collapse
sorry! didn't mean it, was googling those property based on your build.prob and it just land there!
I also just learn thru a hard way that after compiling acro68 kernel, I need to copy the dhd.ko module into the ROM. Finally able to get wifi!
cowithgun said:
sorry! didn't mean it, was googling those property based on your build.prob and it just land there!
I also just learn thru a hard way that after compiling acro68 kernel, I need to copy the dhd.ko module into the ROM. Finally able to get wifi!
Click to expand...
Click to collapse
I forgot to mention that, sorry xD
And I know you didn't mean it, it's okay Just always look on XDA first
KezraPlanes said:
I forgot to mention that, sorry xD
And I know you didn't mean it, it's okay Just always look on XDA first
Click to expand...
Click to collapse
You provide more than enough! Your first optimized ROM! I learn a lot by looking at it. Then, with this tutorial, I was able to build my first customized ROM by following exactly that you wrote.
You should change the "**MIGHT**" work to "**SURELY**" work!
cowithgun said:
You provide more than enough! Your first optimized ROM! I learn a lot by looking at it. Then, with this tutorial, I was able to build my first customized ROM by following exactly that you wrote.
You should change the "**MIGHT**" work to "**SURELY**" work!
Click to expand...
Click to collapse
Thanks for the compliment.
I will keep the **MIGHT** because there are always people who try crazy things (me included) like random porting of ROMs so it's safer this way. xD
If anyone interested to try compile acro68 kernel, I recommend to look into this link: http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
Very detailed, step by step and only need to change the kernel source to point to: https://github.com/arco/samsung-kernel-ancora/tree/gingerbread (for GB)
Once the make is successful, you will get an zImage.
Now, in Kitchen, you should have already use option 20 to extract the boot image. Replace the newly generated zImage to get a shiny new kernel. Of cause, you need to pack it back and finally build your ROM.
Finally, replace the ./samsung-kernel-ancora/drivers/net/wireless/bcm4329/dhd.ko to ROM's system/etc/wifi/dhd.ko.
cowithgun said:
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
Click to expand...
Click to collapse
Thanks for that link..appreciate that..? Will testing rite now..
Sent from another space
Can we use this for the exhibit ii
via Dan swagger
Actually, regarding the instructions in Post 1, you could probably skip all of them and do this only:
Rename the file tools/edify_defs/GT-I9001 to: GT-I8150
Kezra if i wanna change the launcher just delate the touchui.apk on the app folder and add some launcher? Heheh sorry for the noob question im a complete noob on rom building
Sent from my GT-I8150 using XDA App
can anyone help mee??? if i wanna install my modified rom i get error in cwm (bad) can't open ;( why?
DarthJonathan said:
Kezra if i wanna change the launcher just delate the touchui.apk on the app folder and add some launcher? Heheh sorry for the noob question im a complete noob on rom building
Sent from my GT-I8150 using XDA App
Click to expand...
Click to collapse
try to answer your question, corect me if im wrong XD
just delete a TWLauncher.apk and replace with your launcher, don't forget to change the permission XD
Hello guys,
Latest Arabic rom link :
Here
Could you please make this rom deodex ?
I am trying to make it using dsixda kitchen but I could not.
i found something in this forum....can this mathod used for sgw?look likes same i follow some of the guide.....
Hey Guys,
I am going to explain some of the files in a custom rom,the small and easy to mod files because the aim is to educate newbies and NOT advanced devs.
Ok,So,I have seen a lot of questions being asked nowadays about making custom roms.This guide is NOT about building a custom rom but about editing and modding it.I am doing this guide taking CM7 as base,not stock,so there might be differences between the roms you choose to mod.Also,I am prone to mistakes here and there.If i made any,please comment about it and i will remove it.Also,please feel free to give your suggestions about making this guide better
What you would need:
Notepad++
WinRar or any other zip/rar manager like 7zip or WinZip
If you want go advanced,you would also need these things
Cygwin
Smali/Baksmali
APK Multi tool or anything like that,i dont care
And most importantly,a brain and eyes(So,Dont ask me stupid questions like,how de fuk du i xtarct? and then in brackets,sorry for my english)
GUIDE:
So,first up,download a rom of your choice(Dont forget to get the permissions for modding from the developer) and extract it.When you extract it,you will see 2 folders and 1 file,it varies.It depends on the contents of the rom.
The folders are:
1.META-INF
2.system
The file:
1.boot.img
So,
Open up system and the first folder you are going to see is 'apps'.
As you already see,this is the place where all the apps go,for the history.You might also see some .odex files below the apps.So,if you remove an app,you should delete the odex file too.If you want to add an app,just drag and drop Take care not to delete each and every app you find,because each of them has their own functions.Also,if you delete contact.apk and replace it with a better dialer like Exdialer,you wont be able to add or delete contacts.So,there are some files better left alone.
If you want to know how to merge them,then use google,there are a lot of tutorials on deodexing.If you want to edit an app,then use APK multi tool,again please use google,lots of tuts on this one too.
Also,you will find an app here and its a main one,systemui.apk By editing systemui.apk,you can get transparent status bars,transparent notification bars,centre the clock.Things like that.The idea with which you edit Systemui.apk and framework-res.apk,thats how your rom is going to look like.These files handle the visual things and they are awesome too.For some systemui mods,refer HERE
Next,the 'bin' folder,this guide is aimed at the noobs,so nothing about this,this is a bit advanced stuff,so sorry.
Next up,the 'etc' folder.There are a lot of things that go here.I wont be going to full details for the moment because i am having exams,so no time.However,i will be explaining the easy to explain files.
One thing you will notice is the 'init.d' folder.If you want to add any script like LagFree v2,just put the files of the init.d folder in the script's folder here,nothing else.You dont need to copy any other files like META-INF.
Another file,is CHANGELOG-CM,just as the name suggests its a file giving you changelogs
Another file is NOTICE.html..Its just a file showing copyrights and all that stuff.You wouldnt need to edit that,would you?
Will add more about the other files soon
Next,the 'fonts' folder..You guys need an explanation for that??
Next,'framework' folder.Here you will find framework-res.apk(Obviously,duh...).I wont tell about any other file because this is aimed at new users,not advanced guys.Framework-res is where all the icons in notification bar are.The battery icons,they are all in framework.Also,lockscreen icons
go here..Most of the icons.If i have to start on anything.It would take me weeks,theres so much to write about framework.Also take care not to mess up the framework.Because its like the skeleton(thats what i know ) of a rom.If a framework is incorrectly configured,the rom wont boot.So,keep that in your mind always when you edit framework.
Next,the 'libs' folder,This guide is aimed at newbies,so not touching this part.
And comes 'media'..Most probably you will find 2-3 folders here.Audio,bootanimation.zip and wallpapers.
If you want to change the default,its in build.prop,not here,i will explain that later.If you need to add some audio,its just drag and drop,nothing much,just put them in the right folders,like alarms,ringtones and notifications
If you need to add wallpapers,reszie the pictures to 640x480,thats the resolution that works for ace.Also resize it to 107x80 and save it as another pic with a _small at the end.For eg,the default file is defaultwallpaper.jpg,you make another pic with 107x80 called defaultwallper_small.jpg.
Then,theres the bootanimation.zip..However way you change this thing.Always name it bootanimation.If you want to know how to make a boot animation,then refer freeyourandroid.com
Next up is 'tts' folder..Sorry but i dont know much about this folder.I think this folder contains the languages for the tts app but i am not sure about it.Same goes for 'usr' and 'wifi' folders.But since this thread is aimed at newbies,i dont think there wouldnt a point in writing them up anyway
Next up is build.prop file.Open it with notepad++...build.prop file is pretty self explanatory.
Here you can change the most basic things like the android version that setting shows..Wondered how people are making 2.3.4 look like 4.0.3 in settings??Its build.prop.Also,you can change what 'About phone' shows here.
Other things,you can change things like,how long your wifi scans,how much battery your phone saves while in sleep,Dalvik VM heapsize and default ringtones.If you are wondering what # stands for,it signifies that,that particular tweak is not running,so you can take out the # if its a tweak you like.You could also use it say things like,Additional build properties.You could make it #AdditionalBuildProperties and go to the next line and give your tweaks there.Some build.prop tweaks can be found in slaid480's thread in Galaxy Ace S5830 titled "[MOD]Build.prop tweaks for SGA" or you can go to freeyourandroid.com and find some tweaks there,however the tweaks listed there are universal,so practise caution when playing with build.prop
Now to boot.img..Theres an awesome guide about this in freeyourandroid.com Please have a look at it,because there are lots to write about this one.This is where Cygwin comes in,for instructions on unpacking and repacking and commands and info about boot.img,referHERE and HERE.My summarized version,boot.img is where you can replace kernels.This is where you can make those low-level changes
Then,to META-INF folder.You would find lots of folders here but the file that you would edit consistently is update script.Find it and open it with Notepad++..Unless you edited xbin and bin files,this is not hard to do..Just change around ui_print to what you like.Dont touch anything else if you dont know what you are doing.If you DID edit xbin or bin files,you would need to touch advanced things like symlink tagged ones(I had to give them some sort of a tag)
Now on making it a flashable zip,archive them to a zip file.Get a signer here: http://forum.xda-developers.com/show...96&postcount=2
The instructions on using that are given with it.Just rename it back to the name you like after signing it.
ganesh...will this work on stock ROM ?
Sent from my GT-I8150 using xda premium
When i build the Rom, do i have to zip and sign, or not?
bagux said:
When i build the Rom, do i have to zip and sign, or not?
Click to expand...
Click to collapse
You better sign it. xD

Automatic Splash Image Creator (PNG to Flashable Zip in One Click!)

This DOES NOT work on the i9300/note 2 and never will, please stop asking about it.
Please take all questions/discussion to the d2_vzw thread HERE because it is the only one I'll monitor!
Thanks to the work of invisiblek and some Google searching I was able to come up with the following tool:
This tool takes a 720x1280 .PNG image and converts it to a recovery-flashable splash screen in a single click.
A video so you can see what this changes: http://youtu.be/XXaBJTVQ2Sw
How to use:
Making your own splash screen:
0) Download and extract the .zip file
1) Make a 720x1280 .png image you want to be your splash screen (this comes in-between the boot animation and the quick Samsung logo flash)
2) Name it "initlogo.png" without the quotes
3) Place it in the PNGtoConvert folder
4) Run the "PNG-2-RLE.bat" file
5) You are finished! A "flashthisinrecovery.zip" will appear in the same directory as the batch files. Just flash it in recovery and enjoy your new splash screen!
Note: If you want the .RLE and not the whole flashable, it can be found as "initlogo.rle" in the "kernel" folder or you can pull it from the kernel folder inside the "flashmeinrecovery.zip"
Converting an .RLE that you made back to a .PNG for editing:
0) Download an extract the .zip file
1) Copy the "initlogo.rle" you want to convert to a .PNG to the RLEtoConvert folder. It must be named "initlogo.rle"
2) Run the "RLE-2-PNG.bat"
3) PNG will be in the PNGtoConvert folder named "initlogoOUTPUT.png"
Other notes:
I have included the stock initlogo as a .PNG named "initlogoSTOCKBACKUP.png" for your reference/backup purposes. If you want to test the tool with it, remember to rename it to initlogo.png
If you flash a new kernel/rom the splash will revert to stock. To get it back, just flash the "flashmeinrecovery.zip" again. You don't need to reconvert it or anything.
This has only been tested with the d2_vzw but will work with all USA (S4 CPU) variants!
Credits:
invisiblek for the recovery zip scripting
Yagya Gaire @ http://yagyagaire.blogspot.com for the original conversion tools
Download Here: http://d-h.st/F2A
As always, even though this tool has been tested, nobody is responsible to damage to your phone except yourself!
More of an Theme thing.
Thread moved
Nice work OP!
FNM
wow! should be handy dandy when I'm done with working with my phone! Thanks OP!
Works awesome thank you, been waiting for this since having my Desire Z. changed splash screens on that one on a daily basis lol.
Side note, anyone want to resize .png's quickly online here you go works good.
Im stuck here. I created a png image with Paint.net and I used the program to make a flashable file. Then I flashed over JB and nothing changed the old Samsung splash was still there.? Any ideas what might be wrong.
(edit: I figured it out., sorry for the post.)
What do I have to change to have it work on Galaxy Note I717?
bigfau said:
What do I have to change to have it work on Galaxy Note I717?
Click to expand...
Click to collapse
Alot. The. Bat file and the updater script and kernel editing script.
Sent from d2_vzw
Sup Fau whatcha doing over here?? Making a little something for the GS3??
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Will this work with the international s3?
Awsome .. thanks ..
BTW. i can make anything you guys want me to in png or already in flashable zip. just let mi know.You can try posting here your requests ( got amazing access to pic editing programs and over 1000000 pix) but PM is best way to reach me.

how pack again system,img,ext4 ? DEVELOPERS

hello
i successfully extract the system,img,ext file,,,,now i edited somethings,
now i want to create again in same file, img,ext4 how can i do that
have you any idea about it?
Mr Hassan said:
hello
i successfully extract the system,img,ext file,,,,now i edited somethings,
now i want to create again in same file, img,ext4 how can i do that
have you any idea about it?
Click to expand...
Click to collapse
For Linux use this kitchen. If you're using Windows, use this one. I've actually had a better experience with the windows program but I've used both. You can use xpirt's image packer on its own but I think it's easier to just let the kitchen to all the work and they use the same tool plus you can deodex, Zip-aligned, and all sorts of other fun stuff.
kevintm78 said:
For Linux use this kitchen. If you're using Windows, use this one. I've actually had a better experience with the windows program but I've used both. You can use xpirt's image packer on its own but I think it's easier to just let the kitchen to all the work and they use the same tool plus you can deodex, Zip-aligned, and all sorts of other fun stuff.
Click to expand...
Click to collapse
brother i see this thread , i have window,
as i say i have open system folder and now i can,t understand how to pack it, where i start
anyway thanks , i,ll try
is there any other more easy tool for that?
hi. you need an archiver that can handle images like 7zip or rar i find the later more useful for decompressing images .
mojoswagger1980 said:
hi. you need an archiver that can handle images like 7zip or rar i find the later more useful for decompressing images .
Click to expand...
Click to collapse
you mean i can repack via 7zip direct in tar farmat?
if yes so its not workable , 1st need to repack system.img

Categories

Resources