Okay, as I am sure we all see there has been a HUGE break through for our HD2 freedom thanks to all the Dev's here with the release of ClockWork Mod Recovery. I can for see a downpour of one particlular question flooding the forums... "Can you make a ROM ZIP Please".
I would assume that it can't be that much of a task to take a NAND build and make it flashable (Maybe I am wrong) but it seems all the hard stuff of creation is done, it becomes a matter of "format" (Maybe Not the Right Word). Extract Boot and System.IMG's, Editing a script?
So... Maybe we can all take the burden off some of the Devs doing this to our favorite builds? Then they can focus on what they do best... making this stuff work.
What is involved in doing this?
Hell, maybe I am way off and we should leave it to the Pro's?
I'm Ready.
DroidTh3ory said:
Okay, as I am sure we all see there has been a HUGE break through for our HD2 freedom thanks to all the Dev's here with the release of ClockWork Mod Recovery. I can for see a downpour of one particlular question flooding the forums... "Can you make a ROM ZIP Please".
I would assume that it can't be that much of a task to take a NAND build and make it flashable (Maybe I am wrong) but it seems all the hard stuff of creation is done, it becomes a matter of "format" (Maybe Not the Right Word). Extract Boot and System.IMG's, Editing a script?
So... Maybe we can all take the burden off some of the Devs doing this to our favorite builds? Then they can focus on what they do best... making this stuff work.
What is involved in doing this?
Hell, maybe I am way off and we should leave it to the Pro's?
I'm Ready.
Click to expand...
Click to collapse
I would have to agree. I'm not much of a developer but I can follow directions pretty good. I would come on board and like DroidTh3ory said, take some of the burden off some of the Devs.
I would also like to a see a Nandroid (backup of nand to sd) type option so as if the new rom we flashed is not what we were hoping we can roll back the nandroid.
DroidTh3ory said:
Okay, as I am sure we all see there has been a HUGE break through for our HD2 freedom thanks to all the Dev's here with the release of ClockWork Mod Recovery. I can for see a downpour of one particlular question flooding the forums... "Can you make a ROM ZIP Please".
I would assume that it can't be that much of a task to take a NAND build and make it flashable (Maybe I am wrong) but it seems all the hard stuff of creation is done, it becomes a matter of "format" (Maybe Not the Right Word). Extract Boot and System.IMG's, Editing a script?
So... Maybe we can all take the burden off some of the Devs doing this to our favorite builds? Then they can focus on what they do best... making this stuff work.
What is involved in doing this?
Hell, maybe I am way off and we should leave it to the Pro's?
I'm Ready.
Click to expand...
Click to collapse
I am not a developer. I would be more than happy to help with doing the conversions if someone posts a way to do it.
The developers need to spend their time developing their builds to be the best that they can be. We, as a community, need to help the developers by taking the little tasks, such as file conversions, from the developers so they don't have to sweat the little stuff.
Linux BASH scripts are my friend.
Well, dsixda kitchen does allow import of nandroid backups, and anyway unyaffs already extracts imgs
Sent from my HTC Desire
droidzone said:
Well, dsixda kitchen does allow import of nandroid backups, and anyway unyaffs already extracts imgs
Sent from my HTC Desire
Click to expand...
Click to collapse
droidzone...I've used unyaffs to extract system.imgs before and the only problem is that it only extracts them in a read-only kind of form because I can't edit anything and I have to get an act of congress just to see a PNG. I'll give the dsixda kitchen a shot.....downloading right now.
Yes, flashing (actually recovering) a rom from SD is safe and simple. With recovery we could do these by ourselves.
dbshane said:
Yes, flashing (actually recovering) a rom from SD is safe and simple. With recovery we could do these by ourselves.
Click to expand...
Click to collapse
Ok, then try the kitchen. It allows import of nandroids and once imported, you can mod it whatever way you want.
Sent from my HTC Desire
Well, the first step is done.. We now have recovery. Now when just need something to use it with.
I was looking through the different builds NAND, RAM and SD. Besides everything being wrapped up in .img's, the NAND ROMS have the same files. Comparing to the ONLY Flashable [.ZIP] ROM I see no similarities.
Maybe RaiderX303 or another DEV can put us in the direction we would need to go. Software, Files, Steps, Etc
droidzone said:
Ok, then try the kitchen. It allows import of nandroids and once imported, you can mod it whatever way you want.
Sent from my HTC Desire
Click to expand...
Click to collapse
Okay so... When you are referring to Nandroids and you referring to backups? We have 3 build types at our disposal right now... NAND, RAM, and SD.
What would we compile out of the ROMS the DEVs have provided to use?
DroidTh3ory said:
Well, the first step is done.. We now have recovery. Now when just need something to use it with.
I was looking through the different builds NAND, RAM and SD. Besides everything being wrapped up in .img's, the NAND ROMS have the same files. Comparing to the ONLY Flashable [.ZIP] ROM I see no similarities.
Maybe RaiderX303 or another DEV can put us in the direction we would need to go. Software, Files, Steps, Etc
Click to expand...
Click to collapse
I think installing the dsixda kitchen is the first step in all of this. I'm installing it right now and I'm going to give it a shot using JDMS's NAND ROM.....we'll see what happens if I can get it to boot up in recovery or not.
mazdarider23 said:
I think installing the dsixda kitchen is the first step in all of this. I'm installing it right now and I'm going to give it a shot using JDMS's NAND ROM.....we'll see what happens if I can get it to boot up in recovery or not.
Click to expand...
Click to collapse
All right, I will do the same with the NEXUSHD 1.9 and see what happens.??? LOL
Raiderx uploaded a rom in zip format. Can't you guys just take that and compare it to another build to see the differences?
DroidTh3ory said:
Well, the first step is done.. We now have recovery. Now when just need something to use it with.
I was looking through the different builds NAND, RAM and SD. Besides everything being wrapped up in .img's, the NAND ROMS have the same files. Comparing to the ONLY Flashable [.ZIP] ROM I see no similarities.
Maybe RaiderX303 or another DEV can put us in the direction we would need to go. Software, Files, Steps, Etc
Click to expand...
Click to collapse
The big issue to converting a NAND to UPDATE.ZIP is not about the files (just unpack boot.img and system.img and put the contents in the relative folders) but making the updater scripts specially for symlinks that ZIP not support so is needed that symlink are deleted and recreated on-the.fly by the updater script
updater scripts are under META-INF folder in the zip
rafpigna said:
The big issue to converting a NAND to UPDATE.ZIP is not about the files (just unpack boot.img and system.img and put the contents in the relative folders) but making the updater scripts specially for symlinks that ZIP not support so is needed that symlink are deleted and recreated on-the.fly by the updater script
updater scripts are under META-INF folder in the zip
Click to expand...
Click to collapse
My head just exploded.. LMAO. but Seriously, I see what your saying. Any tips on updating the Scripts? Would starting from a SD or RAM build be a better way to start?
rafpigna said:
The big issue to converting a NAND to UPDATE.ZIP is not about the files (just unpack boot.img and system.img and put the contents in the relative folders) but making the updater scripts specially for symlinks that ZIP not support so is needed that symlink are deleted and recreated on-the.fly by the updater script
updater scripts are under META-INF folder in the zip
Click to expand...
Click to collapse
LOL...I have to agree once more with DroidTh3ory because my head just started to hurt when I started reading all of that.......I think this is the reason even more why we need a Developers hand in all of this. I know we are all looked at as little vampires that suck the very last drop out of what you guys have to offer but we would honestly would love to help instead of just coming on here to download stuff and complain about how this doesn't work and that doesn't work and just be a pain in the devs butt........So if any Developer is watching from up above....PLEASE, show us the way...LMAO
DroidTh3ory said:
My head just exploded.. LMAO. but Seriously, I see what your saying. Any tips on updating the Scripts? Would starting from a SD or RAM build be a better way to start?
Click to expand...
Click to collapse
I would say since raf explained the basics for converting nand to update.zip that nand would be a good place to start
Sent from my HTC HD2 using XDA App
DroidTh3ory said:
My head just exploded.. LMAO. but Seriously, I see what your saying. Any tips on updating the Scripts? Would starting from a SD or RAM build be a better way to start?
Click to expand...
Click to collapse
mazdarider23 said:
LOL...I have to agree once more with DroidTh3ory because my head just started to hurt when I started reading all of that.......I think this is the reason even more why we need a Developers hand in all of this. I know we are all looked at as little vampires that suck the very last drop out of what you guys have to offer but we would honestly would love to help instead of just coming on here to download stuff and complain about how this doesn't work and that doesn't work and just be a pain in the devs butt........So if any Developer is watching from up above....PLEASE, show us the way...LMAO
Click to expand...
Click to collapse
Sorry guys
to make the updater scripts you have to understand a little bit about symlinks and packing/unpacking stuff.. otherwise will be a lot difficult
basically you just need to unpack the .img files and put the contents in the folders. than you need to creat/modify the scripts for the META-INF folder, that basically are different for any build.
that's it.
its always nice to see members helping each other.after all the devs are done marvellous job in recent days.
rafpigna said:
Sorry guys
to make the updater scripts you have to understand a little bit about symlinks and packing/unpacking stuff.. otherwise will be a lot difficult
basically you just need to unpack the .img files and put the contents in the folders. than you need to creat/modify the scripts for the META-INF folder, that basically are different for any build.
that's it.
Click to expand...
Click to collapse
Ok Rafpigna....here's what I got in my update script that I put together the best I can using other update scripts from different ROMS and builds that I've collected in the last 3 months.
show_progress 0.1 10
run_program PACKAGE:remtool.sh
copy_dir PACKAGE:system SYSTEM:
show_progress 0.2 40
copy_dir PACKAGE:data DATA:
show_progress 0.3 80
copy_dir PACKAGE:sdcard SDCARD:
show_progress 0.4 100
If there anything I should include or take out or should I go and jump off a building now?...LMAO
Related
If I take a ROM in .ZIP format and unzip it on my PC into a folder with the same name...
Then delete any .APKs of programs I have no use for (Twidroid, facebook, etc) and then replace the boot.img with a different kernel of my choice and different SuperUser.apk...
Can I then ZIP this primary folder and load it as a ROM onto my MT3G?
Forgive me if this sounds really stupid, but I have no idea.
Would it need to be "cooked" before I can load it??
When you cook you need to make sure the gloves are on and you have the oven's temp turned up real nicely to fry that thing
I guess you didnt search or something? I need you to confirm that you cant/can see this at the top left corner of screen:
xda-developers > Dream > Dream Android Development
Press Dream then head to Q&A section please.Wait a sec...Thats not a Dream..You belong here for asking q's about your phone:
http://forum.xda-developers.com/forumdisplay.php?f=480
Just do a search for signing tool and it shows up.
rbrainard said:
If I take a ROM in .ZIP format and unzip it on my PC into a folder with the same name...
Then delete any .APKs of programs I have no use for (Twidroid, facebook, etc) and then replace the boot.img with a different kernel of my choice and different SuperUser.apk...
Can I then ZIP this primary folder and load it as a ROM onto my MT3G?
Forgive me if this sounds really stupid, but I have no idea.
Would it need to be "cooked" before I can load it??
Click to expand...
Click to collapse
its more complicated than it looks...
First u will have to know if removing those .apk will not cause any trouble...
Second u will have to sign the apks u r going to add, and signed the zip too...
about changing the boot.img has been tried before in another thread...
but most important u will have to search, search and read, read...
going to try and find some thread for u, before the mods closed this...
Need to have it resigned...once a zip file is open it breaks the signature but I would aslo like to kno if this is possible
ilostchild said:
Need to have it resigned...once a zip file is open it breaks the signature but I would aslo like to kno if this is possible
Click to expand...
Click to collapse
here its a thread about resigned:
http://forum.xda-developers.com/showthread.php?t=473580
read it all, has interesting stuff, but keep searching...
actually i would like to try this too...
if u ask devs, unless they want to teach u, great...
Wow...
You can open zips (roms/updates) and browse them without the need to resign them. If you change any of the contents in a zip (rom/update) file, as in remove or add, then you have to resign. You do not have to resign the apks you add to the zip (rom/update) file.
To do what you want to do, refer to the link about signing zips that was posted above. Remove the APKs, sign the zip (rom/update) file, and apply the update to your phone.
bring in the wrecking crew!
anyone know how to run this on a mac?
Ha people had post, but the one that make the thread, its no where...
Sweet! Thanks folks.
The "Search" function is the most important in any forum, but it does the user no good if they have absolutely positively no idea what to search for... lol
My goal is to take Manup's Eclair_2.1-v1.5 and remove all the .APKs I don't have any use for... Swap the boot.img for the eclair one with the 10MB hack, replace the SpareParts.APK with one that contains "Keep home app in memory" option, etc, etc, etc.
rbrainard said:
If I take a ROM in .ZIP format and unzip it on my PC into a folder with the same name...
Then delete any .APKs of programs I have no use for (Twidroid, facebook, etc) and then replace the boot.img with a different kernel of my choice and different SuperUser.apk...
Can I then ZIP this primary folder and load it as a ROM onto my MT3G?
Forgive me if this sounds really stupid, but I have no idea.
Would it need to be "cooked" before I can load it??
Click to expand...
Click to collapse
You've just described in detail what about 90% of roms out there really are: open zip, add/remove files, ..., profit!!!
As mentioned correctly by Moonspoon, all you'd need afterwards is to sign your package (just to ensure that there's no problems with the signature, delete the three files inside /META-INF (leave the folders alone)).
Also, as mentioned by ginatojr (kind of...), you have to know which files you're removing, for example, removing TelephonyProvider.apk, well, that should be obvious. One that's not so obvious is gtalkservice.apk. When I first started, I removed it because I though it was part of Google Talk, when in fact it's more closely related to GoogleApps and SubscribedFeedsProvider.
The only times you want to deal with signatures is if your roms come from two different sources (if you're using an AOSP test-signed core and want to toss in some release-singed Google apps), but for the most part it's unnecessary and mostly discouraged as it's a different can of worms.
So, yeah, that's basically "Rom Cooking 101", where most other people releasing roms are at "Rom Cooking 102", there's really nothing to it.
rbrainard said:
Sweet! Thanks folks.
The "Search" function is the most important in any forum, but it does the user no good if they have absolutely positively no idea what to search for... lol
My goal is to take Manup's Eclair_2.1-v1.5 and remove all the .APKs I don't have any use for... Swap the boot.img for the eclair one with the 10MB hack, replace the SpareParts.APK with one that contains "Keep home app in memory" option, etc, etc, etc.
Click to expand...
Click to collapse
The keep in home might not work on 2.1 roms yet.
If this works out... My future plans would include doing this to streamline and modify any ROM of my choice as they are released.
I have absolutely no intention of modifying ROMs for redistribution.
This will be for my own personal needs alone.
Can anyone tell me where the .APK files of Market downloads are stored on the handset?
rbrainard said:
Can anyone tell me where the .APK files of Market downloads are stored on the handset?
Click to expand...
Click to collapse
NEVERMIND!
Found them in /SDCard/BackupRoot/app directory.
just like what the title said,i think if any one can teach us how to cook an android rom thats will be good,then we can make our own rom.i dont really like the rom that we has right now(i dont mean the roms are not good,im very want to thanks the Acookers,those rom just changed too much base on the offical roms,i want a rom that has almost the same as the official rom with sense..)
ok,i found the android kitchen for the hd2,the download link is here http://www.megaupload.com/?d=EK281AVK , the original thread is here http://forum.xda-developers.com/showthread.php?t=738770 big thanks to the author
+1 for that
yea me too
wish someone would make a complete tutorial showing how to do it and explain every concept for noobs
first you need a good knowledge with linux os if not .... no hope
lol this is such wishful thinking. i'm a noob like yall and would love to give back to the modding community that's provided so much for me. but unfortunately, making a tutorial of this would be near impossible. or really hard at least. you can't put into a tutorial, as someone mentioned, a firm understanding of linux os. that's just too much information to try to shove into a tutorial.
but if this does happen, i'll happily eat me words because i'd love to be able to cook up some roms.
Not sure how to cook roms really, there's Coffe Shop v1 but the system.ext2 always comes up with 195MB from a 119MB image, and wouldn't boot, and the developer disappeared and hasn't updated it in a while.
Sent from my HDROID2 using XDA App
tarekkkkk said:
first you need a good knowledge with linux os if not .... no hope
Click to expand...
Click to collapse
i dont think so,just like cooking a wm rom,you dont have to know very deeply of the ce or wm,all you need is replace things,its just easy if some on tell you how.....but maybe im wrong....
There are android kitchens available on the site here... just search for it as I don't have a link to it at the moment...
It's not as easy as cooking for WinMo and it won't always boot but you can sure cook
pongster said:
There are android kitchens available on the site here... just search for it as I don't have a link to it at the moment...
It's not as easy as cooking for WinMo and it won't always boot but you can sure cook
Click to expand...
Click to collapse
whats the key word?is it for hd2?thanks
weixiong said:
whats the key word?is it for hd2?thanks
Click to expand...
Click to collapse
search android kitchen.. no its for android not hd2... but you can use it to get results...
any news
+1
any news
look up coffee shop you could of searched first and found this without starting a new thread
you don't need to be an expert in linux, but at least have the basics. If you wana start, let me know, PM me or something. I'll try to help any way I can... I'm no expert as well, tho...
for some recent roms, they all use standdard ext2 image, it's better you work it on linux,
on linux you can mount the rootfs.img data.img, system.ext2 image to linux, then you can easily to copy & paste it.
and you'd know how android & linux boot up by adding & edition those boot config file.
and hd2 android is not standard rom like other cellphone's, hd2 rom don't need to pack into a single file, this is more easy for edition. and everyone can split the rom into several files.
few files information:
system.ex2 will be mount as /system, where android files located
data.img will be mount as /data, where user data located
initrd.gz, linux boot from here.
rootfs.img in some roms, the initrd.gz boot up will load this file, and mount this file as /, and main boot files are here. if you don't have this file, the main boot config files are in initrd.gz.
I am not guru, just tell what I know.
thanks.
Somebody should my a video of this
qingcai said:
for some recent roms, they all use standdard ext2 image, it's better you work it on linux,
on linux you can mount the rootfs.img data.img, system.ext2 image to linux, then you can easily to copy & paste it.
and you'd know how android & linux boot up by adding & edition those boot config file.
and hd2 android is not standard rom like other cellphone's, hd2 rom don't need to pack into a single file, this is more easy for edition. and everyone can split the rom into several files.
few files information:
system.ex2 will be mount as /system, where android files located
data.img will be mount as /data, where user data located
initrd.gz, linux boot from here.
rootfs.img in some roms, the initrd.gz boot up will load this file, and mount this file as /, and main boot files are here. if you don't have this file, the main boot config files are in initrd.gz.
I am not guru, just tell what I know.
thanks.
Click to expand...
Click to collapse
Thanks a lot!
can anyone help me how to make nand file when i have sd file cuz i cannot install from my sd card i need to install directly
thanks
I am not sure that I understand what is your exact problem. But if I'm right and you can not install rom from SD card and want to install it directly from computer, maybe you should try to use DAF versions ?
adecostres said:
I am not sure that I understand what is your exact problem. But if I'm right and you can not install rom from SD card and want to install it directly from computer, maybe you should try to use DAF versions ?
Click to expand...
Click to collapse
yes but there is only one daf version and i want to know how to convert the sd version to daf version
That's not very easy. You'd have to edit the intrid.gz and and zImage and other things to make it work. More effort than it's worth. What ROM you looking for? Is it a .zip SD card file or and Android folder type?
daniel.nano said:
yes but there is only one daf version and i want to know how to convert the sd version to daf version
Click to expand...
Click to collapse
To the point - the fact you're asking this question leads me to believe you're not skilled enough to know how to perform all of the changes this would require.
My suggestion is you forget about the SD version and make the move to the NAND Android instead.
The DAF version is a way for Windows to put Android on your phone through the built-in bootloader onto the NAND chip on your phone. SD android is a completely different structure and you'll never find an "SD DAF" Android.
could you perhaps extract the system folder from the CWM zip, then use mkyaffs2image to build a system.img and drop that in place of the original system.img from the DFT version? (and teh same with the boot folder boot.img too, i would assume)
Or is that make believe?
dkl_uk said:
My suggestion is you forget about the SD version and make the move to the NAND Android instead.
Click to expand...
Click to collapse
daniel.nano said:
can anyone help me how to make nand file when i have sd file cuz i cannot install from my sd card i need to install directly
thanks
Click to expand...
Click to collapse
To the point - the fact you're giving that answer leads me to believe you're not skilled enough to know how to read the whole question befor,,,,,,,,,,,,,,,,
hehe, sorry, couldnt resist.
samsamuel said:
could you perhaps extract the system folder from the CWM zip, then use mkyaffs2image to build a system.img and drop that in place of the original system.img from the DFT version? (and teh same with the boot folder boot.img too, i would assume)
Or is that make believe?
Click to expand...
Click to collapse
Extracting the system folder from CWM zip wont work. Its because during the zip installation the updater script is beeing called and it creates a lot of symlinks. So, if you just extract and convert, you will miss the whole bunch of symlinks (and permissions, etc..)
samsamuel said:
To the point - the fact you're giving that answer leads me to believe you're not skilled enough to know how to read the whole question befor,,,,,,,,,,,,,,,,
hehe, sorry, couldnt resist.
Click to expand...
Click to collapse
Really?
Never heard of DAF then?
We're limited to either SD or CWM install, are we?
dkl_uk said:
Really?
Never heard of DAF then?
We're limited to either SD or CWM install, are we?
Click to expand...
Click to collapse
Heh, dig deeper.
The op is limited to usb only so yea, in this case we are limited to daf only, and he finds there isn't as wide range of daf roms, hence the perfectly reasonable question.
which part of the original post can't you understand?
greg17477 said:
Extracting the system folder from CWM zip wont work. Its because during the zip installation the updater script is beeing called and it creates a lot of symlinks. So, if you just extract and convert, you will miss the whole bunch of symlinks (and permissions, etc..)
Click to expand...
Click to collapse
Ah I thought maybe something like that, but figured I'd ask anyway, for myself if nothing else.
samsamuel said:
Heh, dig deeper.
The op is limited to usb only so yea, in this case we are limited to daf only, and he finds there isn't as wide range of daf roms, hence the perfectly reasonable question.
which part of the original post can't you understand?
Click to expand...
Click to collapse
I'll assume your lack of English skills is the reason you've totally mis-understood every single thing i've written in this thread.
If I've missunderstood, it can only mean that even though it didn't sound like it, you do agree with me, in which case appology accepted, lets say no more about it.
Hey all.
I've been searching all over, for a guide to make your own update script.
Did take a look at corky's thread, but that was not what I had planed for.
Since I play a lot around with ICS on my HD2, I kinda wanna do a simple update.zip script, so I can install all those programs that do not follow the aosp rom.
For instance:
Install those apk's you have on the side, and then flash it in cvm
Is it possible??
Hope I explained it good enough ;-)
Stenager129 said:
Hey all.
I've been searching all over, for a guide to make your own update script.
Did take a look at corky's thread, but that was not what I had planed for.
Since I play a lot around with ICS on my HD2, I kinda wanna do a simple update.zip script, so I can install all those programs that do not follow the aosp rom.
For instance:
Install those apk's you have on the side, and then flash it in cvm
Is it possible??
Hope I explained it good enough ;-)
Click to expand...
Click to collapse
eyeyeyeyeyeyey... searching skills need improvement D
yes its, possible. in fact its very easy
here you go:
http://forum.xda-developers.com/showthread.php?t=936175
one more hint. just take an existent rom.zip. delete what is inside and put your own files in there. and check the updater script, if it needs adjustments. use total commander to open the zips as normal folders. this way you wont mess up the compression or other settings. generally, total commander is best allround tool ))
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
Now,some apk files are lib-dependent,meaning,they need certain lib files to work,a few examples are,Swype keyboard,now,swype wouldnt work if this lib file is not included in the rom,libswypecore.so,so if you remove swype,remove this lib file also,because its just a wastage of space and it doesnt do anything.Another example is DSP Manager in Froyo,in GB,it works native,no need to add any applications,but in Froyo,if you add DSP Manager,there are a few lib files that you should add to get them to work.
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)
Updater-Script References and notes:
Now,the updater-script is not something that you should mess around with,a single line of error in the script could get you in trouble.You might also have heard these words,Amend and Edify and wondered what they are,well Edify is the language with which Updater-script is written,while Amend is the language with which Update-Script is written.Now,As far as i know,Ace does NOT support Update script,it just supports Updater-script,so if you are working with kitchen,dont forget to swap the files in META-INF with the the updater-script provided by ketut.kumajaya in Blackhawk thread.So,you should learn to study updater-script of roms and patches before you mess around with them,especially patches here...Now,for example,I made a GPS patch that replaces hw folder in CyanogenMod with my patch.Now,i tell the updater script to delete the hw folder in lib and make another one and put my files in there,you,a normal user will flash it and it would work,but a rom maker without seeing that i have told the updater script to delete hw folder,adds my lib files to the existing lib files,which causes the rom not to boot.So,study the updater-script of patches and see what they do before you jump in and start doing things your own way and mess things up.I will write down a few updater-script commands here and what they do for your convenience now.Here you guys go with it:
mount-mounts a filesystem
is_mounted-checks if a filesystem is mounted
unmount-Unmounts a filesystem
format-format a filesystem (duh..)
delete-Deletes a single file
delete_recursive-Deletes a folder and all of its contents
show_progress-Display flash progress
package_extract_dir-Extract all the files present in a directory to a specified directory
package_extract_file-Extract single file from directory to specified target
file_getprop-dont know much about this one
symlink-Unlinks any existing symbolic links before creating the new symbolic links.
set_perm-Sets permissions for a file,note you dont write rw-r-r here.Its the numbers,for example,for root access,you write 777(right?),not anything else
set_perm_recursive-Sets permissions for a full directory,for example,if you specified a folder,permissions for the folder and all files in it will be set.
getprop-This function returns the value of the property specified. This is used to query platform information from the build.props file.
write_raw_image-Writes a raw image into a partition
apply_patch-Applies patches to a directory -_- (dont you guys understand it just by reading that? )
apply_patch_check-Checks if a file can be patched or if they have been patched
apply_patch_space-Checks if there is enough space to apply a patch
read_file-Reads contents of a file
sha1check-If only data is specified, then the function returns the sha1_hex string of the data. The optional parameters are used if you want to verify that the file you are checking for is one of a list of hashes. It reutrns the hash it matches, or returns nothing if it doesn't match any of the mentioned hashses.
ui_print-It outputs a message to the users while flashing.So,if you see something like 'This is so awesome',know that its not such a big deal and that its just a line of editing here
run_program-Runs a program
ifelse-This is the if-then construct of the Edify scripting language. The truecondition or falsecondition arguments can be a single edify command or a script block. Script blocks can be formed by enclosing the parameter with parenthesis, and seperating the commands with semicolons
abort-duh..it aborts script execution
assert-If condition evaluates to false, stops script execution, otherwise continues processing.
Thats it,dont worry after seeing all these commands.You wont see them all in most of the roms.Here is a list of commands that you usually see in a updater-script.
ui_print
mount
unmount
delete
delete_recursive
package_extract_directory
symlink
show_progress
set_perm
set_progress
set_perm_recursive
getprop
run_program
assert
Now on making it a flashable zip,archive them to a zip file.Get a signer here: http://forum.xda-developers.com/showpost.php?p=6050996&postcount=2
NOTE:Signing is not necessary
The instructions on using that are given with it.Just rename it back to the name you like after signing it.
Thanks to everyone.Especially,freeyourandroid,XDA and TeamCooper and all members of XDA developers and to me (well,you are the one who does that,remember that button Jk )
Hope this helped you guys..Again,this is a thread aimed at educating the new members,not advanced guys.Sorry if i missed anything or made a mistake..Please give me suggestions on this too.Will add more info to this thread when i have the time[/SIZE]
good guide
Looks good
Very helpful.
Fix those grammatical errors !
*grammar nazi alert*
Herpderp Adreno + Tegra.
gOOD guide overall but you shiould make it more advanced
EmoBoiix3 said:
Fix those grammatical errors !
*grammar nazi alert*
Herpderp Adreno + Tegra.
Click to expand...
Click to collapse
Aah....grammar hitler
slaid480 said:
gOOD guide overall but you shiould make it more advanced
Click to expand...
Click to collapse
Yep..I know that..I will work on it but i dont have much time now
This is a great guide , it'll help me a lot ^_^ thanks.
Great tut dude
Is an update needed??I dont think so because it didnt even stay on the front page for a day
Awesome guid please add some more advanced features and custom rom building guide also if u can. :thumbup:
Sent from my GT-S5830 using Tapatalk
The bad effect will be more and more new custom firmware which is actually just a re-branding
ketut.kumajaya said:
The bad effect will be more and more new custom firmware which is actually just a re-branding
Click to expand...
Click to collapse
What???I dont get you
mor_1228 said:
Awesome guid please add some more advanced features and custom rom building guide also if u can. :thumbup:
Sent from my GT-S5830 using Tapatalk
Click to expand...
Click to collapse
I will add them by tonight or something like that when i have time..Not much time now,stupid exams Oh,i hate them
Originally Posted by ketut.kumajaya
The bad effect will be more and more new custom firmware which is actually just a re-branding
Prawesome said:
What???I dont get you
Click to expand...
Click to collapse
Click to expand...
Click to collapse
i got what he is trying to say.
he is saying that due to rom building guides noobs will also learn how to build custom rom but they may not have that knowledge skills to make a distinguished ROMS they will be building common roms with little or no difference, difference will be only that different people will release rest things will be kind of same only no drastic changes.
hope i am right
mor_1228 said:
i got what he is trying to say.
he is saying that due to rom building guides noobs will also learn how to build custom rom but they may not have that knowledge skills to make a distinguished ROMS they will be building common roms with little or no difference, difference will be only that different people will release rest things will be kind of same only no drastic changes.
hope i am right
Click to expand...
Click to collapse
Maybe..But i am tired of questions on building custom roms..Recently,there were a lot of questions on building custom roms
Yeah.. i'm a newby become smarter... thx for share...
Sent from my GT-S5830 using xda premium
I will add more info about the boot.img and framework-res.apk tonight
Nice work, thank you
If you have time, can you please post a guide on how to sign APK files?
For example, if i want to edit an icon of an app, i change the icon in the .apk but then i have to sign it, how can i do it?
On the net i found lots of guides and programs but none of them worked for me...
Anyway good work