Jump to content


Photo

MoDaCo Online Kitchen - Custom Ingredients

- - - - -

  • Please log in to reply
60 replies to this topic

#21
Michael Latman

Michael Latman

    Newbie

  • Members
  • Pip
  • 18 posts

If you're a MoDaCo Plus member or an Ad Free member using the MoDaCo Online Kitchen, you may have noticed I just put a new feature live - 'Custom Ingredients'. What this allows you to do is bake custom files into your ROM by uploading a ZIP file that in turn gets included into your ROM by the kitchen.

The process is very simple - create a directory on your PC, and in that directory place the files you want in the ROM mirroring the structure of the phone. So if you want /data/app/blah.apk in the ROM, create that directory structure and put the file there. When you have added all the files you need, ZIP the contents of the directory, ensure the ZIP is less than 10MB (it will be rejected if it is not) and then select it at the appropriate point in the online kitchen process.

Simple right? :)

This is a simple first version of this functionality, and going forward it will be possible to retrieve past uploaded zips by ID, share your uploaded zips with others to include in their kitchen builds and even upload or include multiple zips. It's a first step because you - dear members - said you wanted it.

Enjoy... and feedback is much appreciated! ;)

P



Is the formatting like this?:

system.zip/app/coolapp.apk


and does this mean we can only add something in one partition?

Edited by Michael Latman, 17 March 2010 - 04:19 AM.

  • 0

#22
overground@xda

overground@xda

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:N1, G1

Is the formatting like this?:

system.zip/app/coolapp.apk


and does this mean we can only add something in one partition?

No, if I understand correctly (since there's no instruction on how to name the archive, it must not matter), you should do it this way (I think)

Michael_Latman.zip <or whatever>
system\
app\
coolapp.apk

  • 0

#23
J.S Butran

J.S Butran

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:Omnia + HTC HD

No, if I understand correctly (since there's no instruction on how to name the archive, it must not matter), you should do it this way (I think)

Michael_Latman.zip <or whatever>
system\
app\
coolapp.apk




I have created a directory structure on my PC /data/app/ and put the required .apk files in the directory. Made a zip of files now should I leave the zip files in the same directory what do you mean by mirroring the structure of the phone... Are these applications get installed on A2SD. Can I have the simple instructions I am not an expert.

Edited by J.S Butran, 01 April 2010 - 09:23 AM.

  • 0

#24
Jonnyw2k

Jonnyw2k

    Enthusiast

  • Members
  • PipPipPip
  • 199 posts
  • Gender:Male
  • Devices:iPhone 5, Nexus 5(Shipped)
Make a folder on your PC for example c:\phonefiles\
then in that folder put all your custom files in the right folders so for example
C:\phonefiles\system\app\coolapp.apk
C:\phonefiles\system\app\RealCalc.apk
C:\phonefiles\data\somefiles
etc...

now go into your phonefiles folder select all(Ctrl+A) then zip these folders into one zip

this should give you a file like
C:\phonefiles\phonefiles.zip

now at the required step in the kitchen use this zip file.

Edited by Jonnyw2k, 04 April 2010 - 08:10 PM.

  • 0

#25
barbarossa25

barbarossa25

    Newbie

  • Members
  • Pip
  • 3 posts
I did something completley different I took an old zip file say like for superboot i used that one cleared it out and just used that one to bake the rom and it went off without a hitch it was easier for me cause i dont know how to do all that stuff so i gave it a shot and it worked pretty sweet :P

  • 0

#26
salahag

salahag

    Newbie

  • Members
  • Pip
  • 18 posts
So I believe if the application path is set to /data/app then it's installed on the SD card (A2SD), correct?

When is it prefered to install on /system/app?

  • 0

#27
naguz

naguz

    Newbie

  • Members
  • Pip
  • 26 posts
  • Devices:Samsung i780
I just bought AdFree, as I had planned to do when you managed to root the Desire, although access to the kitchen was a nice kick in the behind.
Now i want to add wavesecure to the Desire ROM, so that it is not removed by wiping the phonefrom the recovery image, and thus thief-proofing the device also for people with an IQ over 75 that has ever had an Android phone in their hands.

Question is: Will simply adding a .zip with /data/appWS_25_3.1.0.2.apk inside be enough? The programs DO need to start automaticly at boot, but I have no idea how Android handles autostarting. I'd also take a wild guess and say that i needs some data-files, although I cant say that for sure - I am able to add those without any problems if needed, but I'm then worried that there might be an pak UID mismatch between the app and the data folder.Is that a valid concern?

edit: Haha, i saw NOW that wavesecure was an option in the kitchen. xD ill wavesecure automaticly recognize my phone then, so no further files are needed?

Edited by naguz, 15 May 2010 - 01:24 PM.

  • 0
Sign op for dropbox using this link, and both you and me get 250MB extra added to the free 2GB. The best way to share files with your Android device!

#28
j.blaze

j.blaze

    Newbie

  • Members
  • Pip
  • 13 posts
Hi Guys,

Lets say I want a clean ROM. That means only the online Kitchen ROM without any additional Apps. Do I just have to create an empty folder for example DesireROM.zip?

  • 0

#29
j.blaze

j.blaze

    Newbie

  • Members
  • Pip
  • 13 posts
sorry for doublepost!

For example: Lets say I want to have the App drocap2 integrated in the ROM (in the /system part). Over the market it's installed in /data/app. Do I have to copy the file "com.gmail.nagamatu.drocap2.apk" from /data/app and copy it into my folder unter system/app? Is that enough or do I have to rename it in drocap2.apk?

  • 0

#30
MoWeb

MoWeb

    Regular

  • MoDaCo Silver
  • PipPip
  • 58 posts
  • Location:3rd Rock From The Sun
  • Devices:Telus HTC Hero
I baked a ROM with some programs I'd like to add but they are not installed. I have a single zip called App.zip. Inside the zip is:

/Data/App/Program1.apk
/Data/App/Program2.apk
/System/App/Program3.apk

Where is my mistake, If anyone knows.

Thanks,
MoWeb

  • 0

#31
Richard K. Szabo

Richard K. Szabo

    Newbie

  • Members
  • Pip
  • 48 posts
  • Gender:Male
  • Location:Sweden
  • Devices:HTC Hero
Good job! The Custom Ingredients sure is welcomed :)

I'm curious, how is this .zip signed? When I added my additions after a bake the upgrade would fail and I had to make my additions manually. Or, is it that simple that re-packing afterwards require STORE to .zip and not compress?

RealCalc should replace the bundled calculator.

Edited by Richard K. Szabo, 13 June 2010 - 10:25 PM.

  • 0

#32
Skywrit3r

Skywrit3r

    Newbie

  • Members
  • Pip
  • 42 posts
  • Devices:Orange San Fransisco

I baked a ROM with some programs I'd like to add but they are not installed. I have a single zip called App.zip. Inside the zip is:

/Data/App/Program1.apk
/Data/App/Program2.apk
/System/App/Program3.apk

Where is my mistake, If anyone knows.

Thanks,
MoWeb



Maybe the capital letters?

  • 0

#33
hpk

hpk

    Newbie

  • Members
  • Pip
  • 27 posts
  • Devices:HTC Hero, Acer Liquid
Just came to read this thread, very interesting approach for individual customization.

As some users would like not only to add but also remove files, there should be an
easy way for us users as well as for Paul to implement it.

How about this approach:

On our local system (PC, MAC, Linux Machine) we could prepare the following
file structure:

/add/system/app/RealCalc.apk
/add/system/app/RealCalc.odex
/remove/system/app/Calculator.apk
/remove/system/app/Calculator.odex


There could be 3 ways to tell Paul, what changes we like.

Solution 1:

Put all files in a MyMods.zip

+ easy
- filesize could be bigger than 10MB

Solution 2:

Prepare two files, a add.zip and a remove.zip

+ easy as well
- two files, total transfer more than 10MB

Solution 3:

Dump the filestructure of the /remove/ directory in a remove.txt file
and add it to the MyMod.zip. The content then would be the following:

/system/app/RealCalc.apk
/system/app/RealCalc.odex
remove.txt


The content of the remove.txt could look like this as an example:

/system/app/Calculator.apk
/system/app/Calculator.odex


Paul then needs to apply the removes first and add the files as he does it
already ...

  • 0

#34
MoWeb

MoWeb

    Regular

  • MoDaCo Silver
  • PipPip
  • 58 posts
  • Location:3rd Rock From The Sun
  • Devices:Telus HTC Hero

Maybe the capital letters?


Thanks for the tip. :) That was the problem.

  • 0

#35
TBX

TBX

    Newbie

  • Members
  • Pip
  • 28 posts
  • Devices:HTC Hero GSM
I do like this. Hm, what to include, what to include..

  • 0

#36
Hammerhand

Hammerhand

    Newbie

  • Members
  • Pip
  • 19 posts
Hi, I have two questions:

1. What's the difference between /system/apps/ and data/apps? Where should I add my apps?

2. Will the apps that I include in the zip be upgradeable?

  • 0

#37
MooMooz

MooMooz

    Newbie

  • Members
  • Pip
  • 10 posts
  • Location:NYC
  • Devices:TMOUS-HD2/N1/TP2/myTouch/G1
Hey Paul. The custom ingredients is pretty useful, but I do have a question.

Lets say I want to customize the "default.xml" in the "/system/customize/mns/" folder, and replicated the structure and zipped the file.

When I bake the rom with that file uploaded, I noticed that the baked rom, now has 2 of the exact same file in that folder, instead of replacing/overwriting. Is it supposed to work like that? If not, would it be possible to do an overwrite when file already exists?

Thanks!

Edited by MooMooz, 15 July 2010 - 09:08 PM.

  • 0

#38
katun79

katun79

    Regular

  • Members
  • PipPip
  • 70 posts
  • Gender:Male
  • Location:Florence, Italy
  • Devices:SGS2, LG O2x, Motor Backflip
  • Twitter:@katun79
Hi Paul, GREAT JOB!!
I'll try in the afternoon...

Just a tip... add Brut Google map as option, It's very useful application, and It's quite big...
I'll love also "handcent sms", "acontacts", "Astro file manager" and "callfilter2", but these are my personal opinion.

We can make an online survey to know which are the best applications to add to your online kitchen.

Many thanks.

Tommaso

  • 0
If you want to make a donation click on this button and buy me a coffee :)
Posted Image

#39
vfrvulcan

vfrvulcan

    Regular

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Devices:One X, Desire
This is a fantastic idea, thanks Paul, but try as I might, I just can't get this to work.

I thought I'd do a custom R6 Desire ROM with a couple of extras installed. I tried including a few useful apps (Astro/ROM Manager/Dropbox) and put them in the system/app folder or data/app. Also tried including a couple of mods (Circle Battery & Bluetooth). Put Circle Battery's framework-res in the framework folder and the Bluetooth mod in etc/bluetooth.

When the ROM is baked I can open it up and see that everyhting is in the right place but if I flash with either the Battery or Bluetooth mods in there I get constant reboots at the bootanim stage (HTC Quietly Brillant). The only way to recover from this is to go to recovery and do a Nandroid restore.

In the process of trying to figure out why this was happening I moved the apps to data instead of system and eventually got rid of the mods. So now I flash with just the apps in data/apps. The flash goes OK and the phone boots but those apps are not installed :(

Can anyone tell me what I'm doing wrong please?

For info, this is the content of my zip file...

[codebox]system/app/ASTRO 2.5.2.apk
system/app/astro-smb.apk
system/app/Barcode Scanner 3.31.apk
system/app/Dropbox 0.9.8.6.apk
system/app/ROM Manager 2.0.0.7.apk
system/etc/bluetooth/audio.conf
system/framework/framework-res.apk
[/codebox]


TIA

Aaron

[Edit] Re-posted in the r6 thread as there appears to be no life in here.

Edited by vfrvulcan, 29 July 2010 - 09:48 PM.

  • 0

#40
Von Ropen

Von Ropen

    Newbie

  • Members
  • Pip
  • 33 posts
  • Devices:HTC Desire
Hello, this is the first Time I try this so I would like to ask first...
I would like to add some ringtones the the rom I bake... so if I create a zip with this folders The ringtones would be added to the baked rom???

system/media/audio/ringtones/paradise_Island.ogg

or this only work with apps...

Thanks and reagards

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users