yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] franklin01:
Well I think it is possible but I am not a dev anyways, just some guy repacking things.

But I ll look to see if I can do something about that.

(may need to edit framework-res , find the original signal bar icon and mod it using the battery mod icon so it should be possible but not until tomorrow)
[Galaxy S I9000 Android Development] iuzar:
This AIO ROMcould be the climax of all OCRF's :D
[Galaxy S I9000 Android Development] franklin01:
All circle:

This is just a test, it is awful but it works so if someone want to try/edit/make something beautiful feel free to do.

How to:

Get system\framework\framework-res.apk from your phone (using adb or root explorer).

Open it using 7zip (or winrar but 7zip is better to repack).

Extract res\drawable-hdpi\

Edit png you need (open to see which one is)

Then put things back to the framework-res.apk (using 7zip, drag and drop modified files)

Put back framework-res.apk to your phone (using adb, root explorer or update.zip method).

Here is my moded all circle awful mod... tested on JP6/JPM and the update works with CW and 2e recovery (rename to update.zip).

WARNING:

Can damage your phone as usual (well if you have JP6/JPM it works fine, no worries) but can also damage your eyes ! (it is just a test, I am no artist and this mod is awful... should not edit with mspaint)

About all in one rom progress:

currently cooking some kernel to see if I can make this work but have to do it on another computer, atom 1.6ghz are not made to compile kernels...
[Galaxy S I9000 Android Development] ragin:
http://www.droidforums.net/forum/droid-themes/56592-3g-round-signal-icon.html
[Galaxy S I9000 Android Development] pele78:
funniest post of the day LOL
[Galaxy S I9000 Android Development] ragin:
Looks WAY better than the one I wanted you to see.

But after someti,e. my circle battery disappeared & the original samsung one came on.

& I have a black bar, so inverted would have been good for me.

I love this.
[Galaxy S I9000 Android Development] Fr4gg0r:
A script would be nice for any kind of modding... I imagine something like that:

I download a zip package to my modding folder.

Then I start the script which opens the zip, then it pulls the complete framework off my mobile and only modify/swap files that the .zip contains... (this includes decompiling if the .zip contains java class files). When its done it pushes the new framework to my Galaxy. :)

With such a script, we could easily combine any themes
[Galaxy S I9000 Android Development] Darkyy:
Hi Fr4gg0r,

Great to see you here ;)

I wanted to mention you in my Credits of the ROM a long time ago!

But I always forgot it, so sorry for this :p

I'm gonna do it now :rolleyes:

@Topic

I've been asked by some users to create an AIO (All-in-One) ROM.

Now franklin01 started exactly with this idea :)

That's nice to hear, other people are also working on that ;)

@franklin01

I'm here for any help you need!

All the ROM chefs here should work together to create a community based ROM!

Let's meet in Voodoo chat in the evening (like 1-2 hours).
[Galaxy S I9000 Android Development] ragin:
Hey franklin01, Thanks a LOT for this. I am no developer, I am a designer. Can I post this result elsewhere with credits to you so that someone else can takeup this good work & come out with other alternatives?

Thanks.
[Galaxy S I9000 Android Development] franklin01:
Post anywhere you want, and no credits for me, I am just a repacker/googler.

Hope to see some nice mod soon.
[Galaxy S I9000 Android Development] Darkyy:
But you HAD work ;)
[Galaxy S I9000 Android Development] giokou:
Very nice idea!

Keep up! ;)
[Galaxy S I9000 Android Development] cantIntoCode:
You have a long road ahead, can't wait to see the final product though :)
[Galaxy S I9000 Android Development] ragin:
Any progress?
[Galaxy S I9000 Android Development] franklin01:
Yep, got info on how to do but need some time since i ll have to merge/compile a whole android soir e. Also postponned to monday see post one for info.
[Galaxy S I9000 Android Development] ragin:
Really looking forward to this.
[Galaxy S I9000 Android Development] franklin01:
Here it is, I finaly was able to compile the recovery, and add it to the kernel (thanks to sztupy).

Check post 2 for more info.

Kernel is up, you can flash it (ULK 0.4 megaram based).

Actually this is just a testing kernel so I added only a menu to see if it works and everything is fine so I ll work on the script of the "kitchen phone".
[Galaxy S I9000 Android Development] franklin01:
Added custom kernel that include AIORK menu (copy rom/theme/mod to your root):

Full kitchen, will ask for a "common" file (use a full rom to test) then ask for "theme/custom app" (use a theme or mod) and will reboot.

Custom/theme kitchen, will ask for custo/theme file (use anything you want even full rom). Will not reboot after.

Added kernel to flash with odin, and kernel you can flash from the phone (kernel update.zip).

After flash a full rom your kernel will be the one used by the rom so to got back to the AIORK kernel, go to recovery and in CW apply the kernel update.zip .

WARNING:

This is for testing purpose, there is no check about what you are trying to flash!

If you flash theme before full rom, theme will not be applied.

If you are running eclair and flash the kernel you will have a froyo kernel that might not work on eclair...

Currently repacking rom to be usable with AIORk, and adding kernel option to choose your kernel.
[Galaxy S I9000 Android Development] franklin01:
(since last 3 posts were from me I feel like writing a diary... ^^)

Kitchen up and running, I need your feedbacks !

Should work with any froyo rom (but only froyo).

Rom is comming very soon (it is a repack of current rom to be usable with the kitchen but as I didnt cook the rom I need agreement from the one who did...)
[Galaxy S I9000 Android Development] g00ndu:
To OP, i can see you are working extremely hard trying to simplify the workflow in getting the various roms and fixes available.

For this i do appreciate your due diligence. Keep up the good work.

:)
[Galaxy S I9000 Android Development] franklin01:
Rom pack is uploaded (post 2)

It contains common as JPO, modem JPP and JPM, patch JPO>JPA, medium and full app pack, AIORK kernel.

You can add your own rom to sdcard://aiork/common/ to flash another rom. (rom must be .zip)

Try it !
[Galaxy S I9000 Android Development] ragin:
I somehow love the way this prject is developing, want to see a logical end. [bumping it] :)
[Galaxy S I9000 Android Development] ragin:
@franklin01,

http://xdaforums.com/showthread.php?t=817466

Can this be a part of your mod?
[Galaxy S I9000 Android Development] franklin01:
Yes, no prob, I am repacking some frech untouched rom right now but I ll make some package (kernel, mod and theme) so you ll get everything and be able to choose what to apply.
[Galaxy S I9000 Android Development] franklin01:
All-in-one pack coming in soon (DELAYED BECAUSE OF SCRIPT ERROR)

Will contain:

base rom (full untouched)

jp6 common

jpa common

jph common

jpk common

jpm common

jpo common

app pack (custom for each version)

android/samsung pack (custom for each version)

barebone pack (contain minimum app needed to run the phone)

kernel pack (froyo only)

mod pack

theme pack (if I got enough time I ll do conversion pack to doc rom, darky rom and tayatuma rom)

note:

-packs will be separated so you will be able to choose what you want to download, I ll also add an all in one pack (like firste release) so you will be able to download everything in one shot.

-i ll post "how to" for rom cooker to make futur upgrade/rom change easier.
[Galaxy S I9000 Android Development] FadeFx:
Cool project, one month ago i was a little in sorrow about fragmentation having different projects all with their own up and downsides, then sztupy came up with his ult kernel and front then on i got more and more comfortable that we are heading the right direction, since more and more kernel cookers based their work on ultk and also implemented features from other kernels. However there was still the practice of cooking roms just to distribute what should be a theme only, so it was not possible to have the theme from one rom on another one because the other has a feature one would really want, but not the theme of choice.

Thanx to your project i feel the theming and rom cooking scene will go the same good direction as kernels are already going.

So keep up your good work man, i am sorry that i am not in the condition to try this now, but be sure i will join testing as soon as possible.
[Galaxy S I9000 Android Development] FadeFx:
Wow, this got buried to page 4 within one day, no wonder nobody recognized it yet... i had a hard working day today, so no more energy to test now, but will definitely do soon.
[Galaxy S I9000 Android Development] franklin01:
ETA:

All-in-one rom package ready but delayed, need to deodex rom before posting.

Cant deodex rom, everything I tried made the phone crash.

Looking for anything that can help to deodex fresh untouched rom.

(as the non-believer I am, a little "how to" would be nice ^^)

See post 1 for more info.

Giving up for today, got stuck on this problem for 3 days, cooking rom is not as simple as it seems...

If you want odexed all in one rom package I can post it, just ask.

(as stated before, it contains base rom and conversion to jp 6/a/h/k/m/o but no custom theme or mod until I can deoxe them)
[Galaxy S I9000 Android Development] g00ndu:
franklin01, did you try using xultimate v2.2.1? search in google for this program. i am using this (thanks to xeodoxus) to deodex the rom. are you using this? cos i do not encounter any problem deodexing it.

hope this helps. pls don't give up. :) i know you can do it! :)
[Galaxy S I9000 Android Development] franklin01:
Yep, I tried it:

Flashed fresh jp6, launched main.exe, pull app, pull framework, deoxe, but when I push back file and delete .odex it crashs after reboot.

Did you success to deodex a full untouched rom with it? (and how)
[Galaxy S I9000 Android Development] FadeFx:
I am not an expert, but i guess this is from dependencies, something is depending on framework-res.odex but it is not build anymore...
[Galaxy S I9000 Android Development] CroSladi:
I like your idea..i think it's really cool with the ULFthing already but maybe yours should also be named Universal Rom Chooser or so because first i didnt even want to read your thread because of the title..thought its again a rom with all things included (kernel..theme..etc.) :)

I'm not at home now but i'm willing to test things out if you want..and maybe i can even help although i still don't have much knowledge in these things..but it comes with the interest xD

Keep your project alive!
[Galaxy S I9000 Android Development] g00ndu:
What is needed is to create an update zip by deleting all the system Apps and framework folders, and inserting the deodexed files into the respective folders.
[Galaxy S I9000 Android Development] ArminC:
I was reading this thread and it was like I was reading my own thoughts/progress haha. I have a similar idea like you only difference was I would like to create an application that was running on the PC.

I like your work and will try to find some way to help you out. I am also having trouble of deodexing the rom, actually the deodexing self is going right but the rom is still corrupted.

I can deodex the full rom, and can assemble the apk/jar files again but the rom is not bootable. I found out that some of the apk/jar files fail zipalign and I am not sure whay that is.

Also I am trying to find out how to enable logcat from startup on the custom rom so it's easier to debug.
[Galaxy S I9000 Android Development] franklin01:
Already done, see template in post 1, zip package will wipe etheir app or app and framework then copy files in the zip but still cant get it work properly.

I ll try to deodex without zipalign so maybe it will pass.

To enable logcat:

turn off your phone.

start adb (in cmd, adb.exe logcat) it will say waiting for phone.

turn on the phone and connect it to the pc.

adb will recognize it and start log (it goes very fast)

I will also try with xUltimate script with updated smali and backsmali.
[Galaxy S I9000 Android Development] MAMBO04:
Wait so correct me if im wrong, is this a Kitchen for people to cook custom ROMs with?
[Galaxy S I9000 Android Development] ArminC:
I am using my own scripts using baksmali 1.2.4 and smali 1.2.4

This is only going to work if USB debugging is enabled, but when you use a clean stock rom that is not enabled.
[Galaxy S I9000 Android Development] g00ndu:
@franklin01,

I can't recall which firmware i have deodexed, but the workflow is described as below:

Flash to a new rom.

Launch xultimate.

Pull system app folder to the orig_app folder

Pull system framework folder to the orig_frame folder

Start the deodex process for framework

Start the deodex process for system app

(I believe the above 2 deodexing processes should be smooth)

Create an update.zip

Put the deodexed files to the respective folders (system and framework)

Push update.zip to the sdcard root folder

Before applying update.zip, make sure your recovery is downgraded back to 2e.

Apply the update.zip.

Sidenote: DocRambone had done many deodexing, and zipaligning. Perhaps he can help you out?
[Galaxy S I9000 Android Development] franklin01:
Yes, you can choose everything, rom version/custom app/theme/kernel/modem.

AIORK kernel is based upon ULK kernel (from sztupy) so usb debugging is enable by default.

If your script works can you send it to me so I can try it?

Will try with 2e recovery to see if it works.

Already sent a pm to DocRambone but no answer still, I think he is working on fixing bugs in his rom.

Thanks for the support, I ll post feedback as soon I tried everything.
[Galaxy S I9000 Android Development] franklin01:
Got it working !

Thanks for every info you sent me.

how to:

Flash fresh rom

Get xUltimate script

Update samli/backsmali jars

deodex (option 1,2,3,4 or just 5)

Copy missing apk from origfram to doneframe (same for app)

Use template FULL provided in post 1 and flash, here we are, full untouched deodexed rom !

Will post pack soon, stay tuned.
[Galaxy S I9000 Android Development] franklin01:
ETA:

All done, all roms have been deodexed, tested and working.

Rebuilding pack and uploading tomorrow

See post 1 for include.

If you want something that isnt in the pack, ask here.

There will be separate package and all in onr package so if you just want jpa and jpo you will not have to dl the whole pack.
[Galaxy S I9000 Android Development] g00ndu:
franklin01, i'm glad you got it working. :)

hopefully, you can customize your workflow to make it a very user friendly for those who are not that technically inclined, but would like to improve their user experience with the Galaxy.

:)
[Galaxy S I9000 Android Development] ArminC:
Congrats with getting it to work!

May I suggest something:

How about hosting all these files “online” and creating an desktop application that can create an update.zip/odin package?

What I am actually saying is why not use the flow that you have to allow creating this on the pc, it also opens the opportunity to create an tool that can work for other phones too. I believe that if you streamline the process and create an easy way for devs to deliver the files to you, you then have an fantastic tool that allows even the most non tech people to create there own custom rom.
[Galaxy S I9000 Android Development] franklin01:
ETA:

Dl link are up with instructions (see post 1 )

Working on repacking doc/darky/tayutama roms and some themes/mods.

Try it and report if something doesnt work.

Ask if you want something that isnt in it.
[Galaxy S I9000 Android Development] FadeFx:
since we have to flash your own kernel, does this mean we wont have the advantages of the SpeedMod kernel? or will you provide modified versions of every kernel arround?

by the way, there are some nice themes arround on german forum:

http://www.android-hilfe.de/root-ha...sung-galaxy-s/53260-theme-black-blue-jpo.html

http://www.android-hilfe.de/root-ha...alaxy-s/51629-theme-black-carbon-jp6-jpm.html

and maybe others...
[Galaxy S I9000 Android Development] franklin01:
About kernel, i added some kernel in the kernel pack so you can flash another kernel while flashing the rom. If you want to go back to the aiork kernel i provided the kernel flashable.with odin or as update.zip so you can benefit kernel upgrade.

Also if a kernel you want to flash is not in the kernel pack i provided in post 2 a template to make your own kernel flashable with aiork.
[Galaxy S I9000 Android Development] reiteravi:
tremendous work and effort

would like to see some naming consistency (unlike samsung naming hell :D)

i.e.

base rom 1 ?? is it jpm jpo

and is any combination possible ?

tried a few and never had a successful boot yet :confused:

might be my mess up though...
[Galaxy S I9000 Android Development] dupel:
I think its "remove new config" not old.
[Galaxy S I9000 Android Development] flonec:
hi

xwjpa......
[Galaxy S I9000 Android Development] reiteravi:
booted finally - a few fc but ok

concept is right - needs more building blocks

i.e. slimmer lego blocks

and compatibility matrix

any tut how to extract only whats needed for base rom ?

its probably what makes the final rom quality
[Galaxy S I9000 Android Development] franklin01:
To make a full flash you need:

1 base rom.zip (common files to every rom from jph to jpo)

2 base app.zip (common basic app for everyrom, needed to boot)

3 framework jxx.zip (framework for each version, you need to apply at least 1 framework or phone will not boot)

All these files are repacked rom that can be flash as update.zip.

You can open and mod everything but basically:

1 base rom is needed and is common to every rom so no need to mod

2 base app is minimum app needed to boot the phone and make it usable

3 framework jxx is framework corresponding to the version (3 framework jpa contains framework and build info of JPA so if you flash this one, it ll make you rom JPA)

Now there are templates (see post 2 attachments) to build your own pack (even kernel/modem pack).

You can build your own pack !

keep 1 base rom and 3 framwork jxx.

mod 2 base app (add or remove app here)

if you only want to add app, create a new app pack (using template provided)

If you want to add theme, use template zip and add your theme (in most case should be system/framework/framework-res.apk).

Theme are coming soon and I ll post how template works so you ll be able to mod anything.
[Galaxy S I9000 Android Development] reiteravi:
i kind of know all this but

when i see the size of the base rom it seems quite big

as i used complete slim roms lighter than this

if i want to try my own base rom

how do i extract only the minimum from a complete tar or zip ?

modem and other stuff are obvious
[Galaxy S I9000 Android Development] franklin01:
base rom is only 50mb and does not contain any kernel or modem.

base app is also 50mb and contains minimum app needed for the phone to be usable.

I got a very tiny base app that is 20mb if you want but you cannot phone, or do anything it got only "settings" and some not removable component....

If you want to build your very own base, you need to try (thats what I did), grab the base rom, base app, and a framwork, then delete stuff, flash if it boot continu deleting stuff until it doesnt boot so you will know what you must keep.

Open a zip (base rom for example)

you ll see:

data (folder containing sgstools, sgstoolbox, launcher pro, superuser) [can be deleted, keep superuser.apk if you want to keep root]

Meta-inf (containing script to format /system, copy new system, install busybox + root and symlink some component) [should not be modified unless you know what you do]

installbusybox (script to install busybox) [should not be deleted or flash will fail]

wipe (script to wipe dalvik cach) [should ne be deleted]

system (folder containing rom components)

...........bin (folder containing basic bin for android) [do not delete]

..........cameradata, csc, etc, firmware, xbin (folders containing basic phone fonctions like camera, csc etc... as stated) [do not delete or you will loose fonctions]

.........media is just sounds/video so you can mod heavily but keep at least 1 ringtone and 1 sound

.........usr contains settings for bluetooth etc... you should keep it

.........lib is library folder, some kind of driver folder for phone components, you can lighten it but you ll loose fonctions

base app.zip

meta-inf (as before)

system

.........app (list of app, you can delete/add app as you need but you ll need to try as I dont know all apk fonctions, if you delete phone.apk you wont be able to call etc...

firmware jxx.zip

meta-inf (as before)

system

.........framework (needed by the system, you can try to mod but most of files are needed)

........lib (lib folder corresponding to the framework selected)

........build.prop (info about the framework, shows which version you are running when you go in "settings" "about the phone")

Rom can be lightened by compressing more the .zip but CW will not be able to read them.

About the "lego" idea, it is possible and thats the finality, but in order to separate files and components I need more time (and skills).

Actually you can choose base rom(needed) base app(needed) 6 framework versions (1 is needed) kernel/modem (I provided a few but you can create your own and post them using template provided at the end of post 2) samsung/android app (not needed but can be added).

About samsung/android app, you can open the pack and add app you want within the phone:

(in the phone)

select "my file" or "astro" or "root explorer"

browse to sdcard:/aiork/custom/android app.zip

open it

extract the app you want

open the .apk to install it.
[Galaxy S I9000 Android Development] reiteravi:
thanks for replying

didnt know base should be that big as some roms ended up as 60-70 mb

but what u say makes sense

so i have to deodex base rom files only ?