Can some One make a guide for cooking a custom rom what you need etc....
Verstuurd van mijn LT26i met Tapatalk
remco.k said:
Can some One make a guide for cooking a custom rom what you need etc....
Verstuurd van mijn LT26i met Tapatalk
Click to expand...
Click to collapse
You need to unpack system.img, change the things you want and repack it. To change the actual code, you'll need apktool and some knowledge of Java/smali
Sent from my LT26i using XDA
First thing I'd say is that if the OP has to ask the above, Dev work is probably a little above their level.
Also, would somebody with a years college level Java be on a good footing to work on such things or would you need to be wholly proficient in the language to start?
Borrowing this thread.
I'm trying to cook a custom rom for my personal use but I'm encountering problems with updater-script. I'm using prerooted .73 Norway generic as a base. I think my problem is that I enabled use of data/app and I can't implement the changes in updater-script. Any help from you guys?
When flashing I get error status 0 every time.
E: I'm using dsixda's Android Kitchen of course. I'm a noob.
Anyone? I've tried almost everything and still I get this (Status 0) error every time. What does it mean?
When we are talking about cooking custom ROM, can someone please upload framework-res.apk AND SystemUI.apk?
You'll find it in /system folder on your phone.
mikbe said:
Borrowing this thread.
I'm trying to cook a custom rom for my personal use but I'm encountering problems with updater-script. I'm using prerooted .73 Norway generic as a base. I think my problem is that I enabled use of data/app and I can't implement the changes in updater-script. Any help from you guys?
When flashing I get error status 0 every time.
E: I'm using dsixda's Android Kitchen of course. I'm a noob.
Click to expand...
Click to collapse
You can't use the META-INF folder from dsixda Android Kitchen. The update script will have mistakes and it has the wrong update binary for the Xperia S.
Take the META-INF folder from my rom or r-ikfoot's rom and edit the update script.
Good luck
Sent from my LT26i using XDA
krabappel2548 said:
You can't use the META-INF folder from dsixda Android Kitchen. The update script will have mistakes and it has the wrong update binary for the Xperia S.
Take the META-INF folder from my rom or r-ikfoot's rom and edit the update script.
Good luck
Sent from my LT26i using XDA
Click to expand...
Click to collapse
I made these additions to your updater-script and it worked!
Code:
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data", "/data");
Code:
run_program("/sbin/busybox", "umount", "/data");
Now all I have to figure out is how to change default wallpaper and browser home page/bookmarks. Current home page is some Telenor website.
mikbe said:
Current home page is some Telenor website.
Click to expand...
Click to collapse
Yeah hahah..thats my operator in Norway xD
Sent from my LT26i using xda premium
I decided to find unbranded base to work with but which is the fastest?
krabappel2548 do you have an opinion on this one?
E: Nevermind I'm already downloading the CE firmware. Sounds good.
Hi ! Nice thread.
I want to know, what can I do for generating a correct / working update-binary from roms ? (without using from existing custom roms)
thanks in advance
Related
i believe this question is asked before, but the search function is not working at the moment.
I am using a Incredible S with S-OFF, installed with a custom recovery that confirm working with some other rom.
i decided to make one rom my self, i setup the Kitchen enviroment, and extracted the official RUU follow the tutorial, everything goes fine.
until i copied it to my SD card and trying to flash, i will get the following messsage
assert failed: write_raw_image("tmp/boot.img","boot")
can anyone help me? i had tried different setting for and make about 10 rom but all return the same message.
thank you.
chchia said:
i believe this question is asked before, but the search function is not working at the moment.
I am using a Incredible S with S-OFF, installed with a custom recovery that confirm working with some other rom.
i decided to make one rom my self, i setup the Kitchen enviroment, and extracted the official RUU follow the tutorial, everything goes fine.
until i copied it to my SD card and trying to flash, i will get the following messsage
assert failed: write_raw_image("tmp/boot.img","boot")
can anyone help me? i had tried different setting for and make about 10 rom but all return the same message.
thank you.
Click to expand...
Click to collapse
The same problem happened on the myTouch 4G but works with this:
package_extract_file("boot.img", "/dev/block/mmcblk0p22");
Let us know if it works...
You can send the "update-script" to me,then let me give a look.
My email addrress:[email protected]
Or just paste it here so that it can help everyone.
dsixda said:
Or just paste it here so that it can help everyone.
Click to expand...
Click to collapse
Well.Take it onder in the web,let me try to download it.
So,I can take a look.
dsixda said:
Or just paste it here so that it can help everyone.
Click to expand...
Click to collapse
Maybe it is this:"write_raw_image tmp/boot.img boot"
zeaxion said:
Maybe it is this:"write_raw_image tmp/boot.img boot"
Click to expand...
Click to collapse
No .... that is wrong syntax. Won't even work in an update-script. For the Incredible S you need an updater-script (not update-script). Commands are followed by parentheses, with each parameter followed by a comma, and then a semi-colon at the very end. Run the kitchen on your ROM to get the proper syntax.
Anyways, nothing can be done at this point unless the original poster provides more detail, like at least posting his updater-script.
I'm no developer but I believe it should be write_raw_image BOOT:boot.img
Correct me if I'm wrong
Sent from my Zio using XDA App
Mattix724 said:
I'm no developer but I believe it should be write_raw_image BOOT:boot.img
Correct me if I'm wrong
Sent from my Zio using XDA App
Click to expand...
Click to collapse
That's correct syntax, but it doesn't work on newer htc devices because of the new filesystem formats. Boot.img has to be copied to /tmp folder before it can be flashed to device. You have to use updater-script to accomplish that.
dsixda said:
The same problem happened on the myTouch 4G but works with this:
package_extract_file("boot.img", "/dev/block/mmcblk0p22");
Let us know if it works...
Click to expand...
Click to collapse
That's from ADB? My MT4G is stuck at:
Flashing Kernal ...
assert failed: write_raw_image("/tmp/boot.img","boot")
E:Error in /sdcard/download/virtuous_fusion-glacier-rom-v1.0.9.zip
(Status 7)
Installation aborted
Any help is greatly appreciated. Stuck on a bootscreen in a bad way
I never had any issues using
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
in my updater-script for Incredible S.
lars.oakland said:
That's from ADB? My MT4G is stuck at:
Flashing Kernal ...
assert failed: write_raw_image("/tmp/boot.img","boot")
E:Error in /sdcard/download/virtuous_fusion-glacier-rom-v1.0.9.zip
(Status 7)
Installation aborted
Any help is greatly appreciated. Stuck on a bootscreen in a bad way
Click to expand...
Click to collapse
Status 7 usually means you are using the wrong update-binary.
dsixda said:
Status 7 usually means you are using the wrong update-binary.
Click to expand...
Click to collapse
For us that know little can you elaborate and what that means exactly?
Per your previous answer I tried using an updater based on other devs work and I still get the same error on my g2.
I just wanted to add that I do run the error check and it says the update binary fine. No errors.
chchia said:
assert failed: write_raw_image("tmp/boot.img","boot")
Click to expand...
Click to collapse
Should tmp/boot.img be /tmp/boot.img?
Mioze7Ae said:
Should tmp/boot.img be /tmp/boot.img?
Click to expand...
Click to collapse
Good catch!
rsxtypes72 said:
For us that know little can you elaborate and what that means exactly?
Per your previous answer I tried using an updater based on other devs work and I still get the same error on my g2.
I just wanted to add that I do run the error check and it says the update binary fine. No errors.
Click to expand...
Click to collapse
Update-binary is not the update-script.
The update-binary file is supposed to be included with the updater-script and contains all the command implementations that are used in the script... however there are three main types of update-binary and you have to know which one to include. They are mostly differentiated by the number of parameters supported for the 'mount' command for your updater-script.
All I the roms I have made have both the update and updater scripts included. That's why I'm stumped. I am using the leaked gb rom for g2. Oh well. Thank you for everything.
I'm gonna try to do and root the boot.img myself. Decompile and compile.
Sent from my T-Mobile G2 using XDA App
rsxtypes72 said:
All I the roms I have made have both the update and updater scripts included. That's why I'm stumped. I am using the leaked gb rom for g2. Oh well. Thank you for everything.
I'm gonna try to do and root the boot.img myself. Decompile and compile.
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
On your G2 you should have only an update-script in the ROM, or else the two other files (updater-script and update-binary), not both at the same time. The updater-script is a more advanced script than the update-script yet very similar.
The new versions of ClockworkMod only support the updater-script + update-binary however.
dsixda said:
The new versions of ClockworkMod only support the updater-script + update-binary however.
Click to expand...
Click to collapse
This is why the roms have both. I have not come across a single htc vision rom that only has an update-binary in it. They all have both
Sent from my T-Mobile G2 using XDA App
Update.
I just wanted to add that I have tried countless times to make a rom. I check that update script has no error and still I get the same error.
The weird thing is if I use a custom rom from one of the devs that does boot and I use the kitchen to go from edify to amend and then try to
convert it back later after I have made changes using the kitchen it wont boot and results in same write error.
Has anyone been able to make a bootable vision rom using the kitchen? If you have can you tell me where I can look or can you give me some answers. Yes I have checked google. No luck. Thanks
Im almost ready to give up.
I did make one rom that booted up and worked fine. Except when i went thru the steps to make the zip I removed the updater-script and update-binary created by the kitchen and replaced them with the udpater-script and update binary from one of the dev roms I use. This is the only way I have gotten a rom to flash and boot.
Just a thought. I know you said the htc vision is supported but would adding an edify_def for it help solve the problem?
Sent from my T-Mobile G2 using XDA App
I have been cooking a customized ICS ROM using dsixda's kitchen and all I done was deodex the ROM and add some other stuff like bash, nano etc. I then built and signed it. When I attempt to flash it tells me there is an error in the .zip file and displays (status 0). I am guessing I have done something wrong when building the ROM in dsixda's kitchen.
Does anyone know what a status 0 error means in CWM and how I can fix it?
Wrong update-binary
私のEVO 3Dから送信される。
Ahh right thank you!
Sent from my Nexus S using xda premium
dastin1015 said:
Wrong update-binary
私のEVO 3Dから送信される。
Click to expand...
Click to collapse
what shoukd it be update or updater
Sent from my GT-S5670 using xda premium
Mr.Oug said:
what shoukd it be update or updater
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
update-binary, update-script and updater-script are three different things.
私のEVO 3Dから送信される。
I had faced the same problem what should i do ....?
I have the same problem!
how can i solve this problem?
same here, my galaxy note is bricked
I have the same problem.. on LG 2x
find out if your device takes update-script(Amend)or updater-script(Edify)
Sent from my HTC VLE_U using Tapatalk 2
ourcumnt THIRD
How to find out if your device takes update-script(Amend)or updater-script(Edify)?? :good:
Pranjal Joshi said:
How to find out if your device takes update-script(Amend)or updater-script(Edify)?? :good:
Click to expand...
Click to collapse
Look in the Meta-inf then com>Google > android then you will see the script one the binary and the update or updater script
If you got update-script then amend
Updater-script you got edify
Sent from my PG86100 using Tapatalk 2
try to find an update-binary from another custom rom and use that one
globula_neagra said:
try to find an update-binary from another custom rom and use that one
Click to expand...
Click to collapse
please don't try that, i just used JMP xtreme's update binary file on my custom rom, and i just CEMENTED my Micromax canvas 2.
i'm also stuck at the status 0 error.
SOMEONE HELP US !!!!!!
FirmShark said:
I have been cooking a customized ICS ROM using dsixda's kitchen and all I done was deodex the ROM and add some other stuff like bash, nano etc. I then built and signed it. When I attempt to flash it tells me there is an error in the .zip file and displays (status 0). I am guessing I have done something wrong when building the ROM in dsixda's kitchen.
Does anyone know what a status 0 error means in CWM and how I can fix it?
Click to expand...
Click to collapse
Status 0 means that you have a wrong script.Put a correct script in "/META-INF/com/google/android" floder in your rom.
quadratic_function said:
Status 0 means that you have a wrong script.Put a correct script in "/META-INF/com/google/android" floder in your rom.
Click to expand...
Click to collapse
I use dsxda and when i build the rom i use updater script, the ROM was coocked by 0, from system folder and boot.img, any solutions?
The update-binary for mtd type phones from dsixda kitchen no longer run on some new mtd phones. You may try to replace the update binary with other update binary and modify the scripts to mount using busybox and the format partition command should be removed and do the format from cwmr menu.
I´ve got update-binary, update-binary.orig, updater-script, updater-script.orig and update-script
What should i do to fix the status 0 error?
thanks for help
sgt_R04CH said:
please don't try that, i just used JMP xtreme's update binary file on my custom rom, and i just CEMENTED my Micromax canvas 2.
i'm also stuck at the status 0 error.
SOMEONE HELP US !!!!!!
Click to expand...
Click to collapse
Ofc, you have to use one, from the same phone, eg: OTA UPDATE
Instalation aborted
how to solve this problem?
Hi friends im having trouble writing the update-script for a flashable zip with deodexed system/app & system/framework. this is my first attempt at one. could anyone tell me where im going wrong please ive been trying all day with no luck. But its not for my ray its for my j theres not many devs to help me on the j forum.
heres my zip: https://dl.dropbox.com/u/90938124/deodex_xj-signed.zip
gavster26 said:
Hi friends im having trouble writing the update-script for a flashable zip with deodexed system/app & system/framework. this is my first attempt at one. could anyone tell me where im going wrong please ive been trying all day with no luck. But its not for my ray its for my j theres not many devs to help me on the j forum.
heres my zip: https://dl.dropbox.com/u/90938124/deodex_xj-signed.zip
Click to expand...
Click to collapse
just give me the updater script. file
here it is thanks
There is no mount and unmout cmd's in the script..
Well iam on phone now...
Simple solution for u is to use any any existing mod's meta-inf folder in ur mod.
Sent from my SK17i using XDA Premium HD app
Have a look at a working updater-script and you will see a huge difference
For example you need a command like
Code:
extract_dir
More set perms and mounting/unmounting system. Please check out a "real" updater-script :good:
Sent from my Nexus 7 running Android 4.2.1
sandy7 said:
There is no mount and unmout cmd's in the script..
Well iam on phone now...
Simple solution for u is to use any any existing mod's meta-inf folder in ur mod.
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
ok i'll try thanks
mihahn said:
Have a look at a working updater-script and you will see a huge difference
For example you need a command like
Code:
extract_dir
More set perms and mounting/unmounting system. Please check out a "real" updater-script :good:
Sent from my Nexus 7 running Android 4.2.1
Click to expand...
Click to collapse
i think i'll just give up i'm no dev lol
my next attempt still cant get it right please someone help me
well here what u did wrong...updater script was a txt file...and there was no updater binary script.
so next time use Notepad++ to edit these files..
here i only fixed everything...it should work now....
http://d-h.st/Gai
sandy7 said:
well here what u did wrong...updater script was a txt file...and there was no updater binary script.
so next time use Notepad++ to edit these files..
here i only fixed everything...it should work now....
http://d-h.st/Gai
Click to expand...
Click to collapse
Thankyou so much for your efforts but its not flashing error status6 i looked it up and resigning fixes the problem but then it just aborts. i'll just forget about it i'm sure you all have better things to do than help silly nooby me lol. Thanks again.
gavster26 said:
Thankyou so much for your efforts but its not flashing error status6 i looked it up and resigning fixes the problem but then it just aborts. i'll just forget about it i'm sure you all have better things to do than help silly nooby me lol. Thanks again.
Click to expand...
Click to collapse
I think the best thread you can start to learn it: How to make a flashable zip
I started here too once a time...
Wechy
Wechy77 said:
I think the best thread you can start to learn it: How to make a flashable zip
I started here too once a time...
Wechy
Click to expand...
Click to collapse
thats where iv been trying to learn from but its not really explanatory enough for a noob. im just a factory worker lol not a dev all thought id love to be able to do all this. iv read other threds aswell but none of them said anything about the update binery either. i'm probably just not smart enough. i'll keep trying though
gavster26 said:
thats where iv been trying to learn from but its not really explanatory enough for a noob. im just a factory worker lol not a dev all thought id love to be able to do all this. iv read other threds aswell but none of them said anything about the update binery either. i'm probably just not smart enough. i'll keep trying though
Click to expand...
Click to collapse
Try download some flashable zips and view updater scripts with notepad++
This is the best way to understand how it works.
If I have some time I write a little guide
Sent from my Xperia Ray using xda premium
Wechy77 said:
Try download some flashable zips and view updater scripts with notepad++
This is the best way to understand how it works.
If I have some time I write a little guide
Sent from my Xperia Ray using xda premium
Click to expand...
Click to collapse
ok thanks. i'll study up lol. how would i remove the .txt extension on notepad++ when i save it turns into a txt file.
gavster26 said:
ok thanks. i'll study up lol. how would i remove the .txt extension on notepad++ when i save it turns into a txt file.
Click to expand...
Click to collapse
delete extension
but the best way is open one of the updater-script (download any flashable zip) and edit with notepad++
(be sure you edit with notepad++ othervise you will see status6 error when flashing)
Hello
I made custom rom and i want to add root permission
and i tried to add update-supersu-cwm files to my rom but no root permission just root apk !
abo hani said:
Hello
I made custom rom and i want to add root permission
and i tried to add update-supersu-cwm files to my rom but no root permission just root apk !
Click to expand...
Click to collapse
Make sure you place the SuperSU files in the right places SuperSU.apk should be in system/app directory while the su binary should be in the system/xbin directory. You will also need to add lines to your ROMs updater-script to set the proper permissions for the su binary and SuperSU app in the section where the updater-script mounts the system and sets app and binary permissions:
Code:
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
I would also recommend taking a look at the updater-script provided in the update-cwm-supersu.zip for reference as well.
Sent from my SCH-I535 using xda premium
shimp208 said:
Make sure you place the SuperSU files in the right places SuperSU.apk should be in system/app directory while the su binary should be in the system/xbin directory. You will also need to add lines to your ROMs updater-script to set the proper permissions for the su binary and SuperSU app in the section where the updater-script mounts the system and sets app and binary permissions:
Code:
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
I would also recommend taking a look at the updater-script provided in the update-cwm-supersu.zip for reference as well.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Ok thanks i will try it
but one more thing please
i have "" bad error " in cwm after flashing my rom but this didnt happen befor , but now any rom i flash will show " bad error " in cwm
is it case by computer system ?
abo hani said:
Ok thanks i will try it
but one more thing please
i have "" bad error " in cwm after flashing my rom but this didnt happen befor , but now any rom i flash will show " bad error " in cwm
is it case by computer system ?
Click to expand...
Click to collapse
Make sure when you edit the updater-script to edit it using something like notepad++ not Windows built in notepad otherwise the native formatting of the updater-script will not be preserved likely resulting in the bad error you are receiving.
Sent from my SCH-I535 using xda premium
shimp208 said:
Make sure when you edit the updater-script to edit it using something like notepad++ not Windows built in notepad otherwise the native formatting of the updater-script will not be preserved likely resulting in the bad error you are receiving.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
maybe its because i edit updater-script on zipped rom ( i didnt extract it )
i moved the system to leaked rom jb by DoomLord but it still show bad !!
maybe it by md5 ???
abo hani said:
maybe its because i edit updater-script on zipped rom ( i didnt extract it )
i moved the system to leaked rom jb by DoomLord but it still show bad !!
maybe it by md5 ???
Click to expand...
Click to collapse
I would recommend extracting the contents of the zip file first (Which will contain the updater-script) making the changes you want then re-zipping the extracted contents.
Sent from my SCH-I535 using xda premium
shimp208 said:
I would recommend extracting the contents of the zip file first (Which will contain the updater-script) making the changes you want then re-zipping the extracted contents.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
It works
big thank to you
but how to make the size of the rom smiller ??? its 758mb :silly::silly:
abo hani said:
It works
big thank to you
but how to make the size of the rom smiller ??? its 758mb :silly::silly:
Click to expand...
Click to collapse
One way to make the ROM size smaller to remove the bloatware (Carrier installed software) that comes with the ROM this will drastically reduce the size, also when you re-zip the ROM you can try using zip compression which should make the ROM size much smaller.
shimp208 said:
One way to make the ROM size smaller to remove the bloatware (Carrier installed software) that comes with the ROM this will drastically reduce the size, also when you re-zip the ROM you can try using zip compression which should make the ROM size much smaller.
Click to expand...
Click to collapse
where is bloatware ? in the rom ? + root didnt work
no root permission ! :crying:
abo hani said:
where is bloatware ? in the rom ? + root didnt work
no root permission ! :crying:
Click to expand...
Click to collapse
Usually if there is any carrier pre-installed bloatware it will be in the /system/app folder and will consist of things like My Carrier Name Here Voicemail, or other carrier branded apps, it may also include pre-installed apps like Spotify or Amazon. For root did you update the updater-script like I suggested and did you take a look at the updater script lines in update-cwm-supersu.zip file comparing your updater-script and the update-cwm-supersu.zip updater script also are you making these edits when the entire ROM's .zip file has been extracted?
shimp208 said:
Usually if there is any carrier pre-installed bloatware it will be in the /system/app folder and will consist of things like My Carrier Name Here Voicemail, or other carrier branded apps, it may also include pre-installed apps like Spotify or Amazon. For root did you update the updater-script like I suggested and did you take a look at the updater script lines in update-cwm-supersu.zip file comparing your updater-script and the update-cwm-supersu.zip updater script also are you making these edits when the entire ROM's .zip file has been extracted?
Click to expand...
Click to collapse
root is included
i copy scripts from nexus rom for busybox + brought files from it !
so know the rom size 850 mb !!!
sorry, but how can i add root permissions to a custom rom made by me?
tecno789 said:
sorry, but how can i add root permissions to a custom rom made by me?
Click to expand...
Click to collapse
Did you compile it from source or use a .zip file as a base for the ROM?
shimp208 said:
Did you compile it from source or use a .zip file as a base for the ROM?
Click to expand...
Click to collapse
Compiled from source
tecno789 said:
Compiled from source
Click to expand...
Click to collapse
Sorry for the delay in getting back to you, but I would recommend checking out Chainfire's official documentation on how to embed SuperSU into your ROM which can be found here. Let me know if you still have questions.
Hi guys,
I'm trying to set up Aroma Installer for my own Custom ROM. When I try to flash the ROM, it shows all but when i had nearly finished it let me choose Installation Demo and other options. This will flash the ROM or it will show me what will happen without flashing it?
If it is only a demostration, what I have to do to flash the ROM definetly?
Thank you!!!
TenKoX said:
Hi guys,
I'm trying to set up Aroma Installer for my own Custom ROM. When I try to flash the ROM, it shows all but when i had nearly finished it let me choose Installation Demo and other options. This will flash the ROM or it will show me what will happen without flashing it?
If it is only a demostration, what I have to do to flash the ROM definetly?
Thank you!!!
Click to expand...
Click to collapse
By the looks of it, it's just a demo
To flash a ROM, go to its thread, download it(it won't be 5 mb, it would be probably bigger than 100 mb or around it) and follow the instructions on how to flash it.
Sent from my GT-S5830i using xda app-developers app
How about posting your meta-inf folder here so someone can see where you went wrong as in its hard to give you an answer without more detail
Sent from my Nexus 4 using xda premium
demkantor said:
How about posting your meta-inf folder here so someone can see where you went wrong as in its hard to give you an answer without more detail
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I don't think that there is a problem in my meta-inf folder. I just ask what I have to do to skip the demo and flash the ROM.
Thank you for answering!
iamareebjamal said:
By the looks of it, it's just a demo
To flash a ROM, go to its thread, download it(it won't be 5 mb, it would be probably bigger than 100 mb or around it) and follow the instructions on how to flash it.
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
I don't want to flash other's ROM. I want to install Aroma for MY ROM so when someone try to flash my rom, he'll be able to choose what he want to install or not.
Thank you for answering!!
TenKoX said:
I don't want to flash other's ROM. I want to install Aroma for MY ROM so when someone try to flash my rom, he'll be able to choose what he want to install or not.
Thank you for answering!!
Click to expand...
Click to collapse
Then you need to modify Aroma-Config (Uses C as language) and updater-script to make the package behave as you want.
If you don't want options in Aroma, just a simple installer of ROM
Then, follow this guide
http://forum.xda-developers.com/showthread.php?t=2223368
iamareebjamal said:
Then you need to modify Aroma-Config (Uses C as language) and updater-script to make the package behave as you want.
If you don't want options in Aroma, just a simple installer of ROM
Then, follow this guide
http://forum.xda-developers.com/showthread.php?t=2223368
Click to expand...
Click to collapse
I have done all of this before but it continues taking me to the demo.
Here is my aroma-config and udapter-script files.
The reason the demo keeps playing is because you haven't set things up right, that's why I'm asking for your meta-inf folder and all its contents, if you would like to have aroma flash your ROM and not play a demo that is.... Choice is yours
Sent from my Nexus 4 using xda premium
demkantor said:
The reason the demo keeps playing is because you haven't set things up right, that's why I'm asking for your meta-inf folder and all its contents, if you would like to have aroma flash your ROM and not play a demo that is.... Choice is yours
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Here is my meta-inf folder
Sorry, my phone is being a **** and won't let me extract .rar, can you either upload it as a .zip or you could use pastebin to post your updater-script and aroma-binary otherwise it will have to wait until I can get near a PC (few more hours)
Sent from my Nexus 4 using xda premium
demkantor said:
Sorry, my phone is being a **** and won't let me extract .rar, can you either upload it as a .zip or you could use pastebin to post your updater-script and aroma-binary otherwise it will have to wait until I can get near a PC (few more hours)
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Here is the meta-inf as .zip.
Thank you for helping me!!
TenKoX said:
Here is the meta-inf as .zip.
Thank you for helping me!!
Click to expand...
Click to collapse
No problem, just busy right now so sorry if it takes a bit to answer.
Right now all you did was swap updater scripts, you need to edit your aroma-config to have it select what you want.
If you need some help with it I'll be home in maybe 5hours and can lend a hand then, in the meantime take a look at some of my (or others) aroma packaged and see how they matched aromaconfigs to updater scripts
Sent from my Nexus 4 using xda premium
ok this is just a quick sloppy job but should get you what your after, feel free to ask any more questions on how to pretty it up for your installers
View attachment META-INF.zip
demkantor said:
ok this is just a quick sloppy job but should get you what your after, feel free to ask any more questions on how to pretty it up for your installers
View attachment 2099972
Click to expand...
Click to collapse
Thank you!!! It works!!!
Can you tell me how you did it?
Now, how I can put different options? For example, if someone installs my ROM I would like them to choose what kernel or app they want to install or not. How can I do that and where I must place the .apk files (for the apps) or the .zip files (for the kernels)?
Thank you again!!!
I'm seeing that the installer does not install the ROM, how I can do that?
@demkantor
Dear mate!
Could you plz help me to correct my rom aroma installer, i configured aroma-config and updater script but during flash process it show (Status 1) error on line 187 col 4 or something like this.
TenKoX said:
I'm seeing that the installer does not install the ROM, how I can do that?
Click to expand...
Click to collapse
all i did was fix aroma, you need to put the files in the proper place, as in open root folder, there should be two inside (more if needed for other purposes) meta-inf and system, put all rom info organized properly in system and then flash
you can always save aroma logs if you have questions
and yes i can help you add kernel choices and such but i need to know what all options you need or want
ab-samy said:
@demkantor
Dear mate!
Could you plz help me to correct my rom aroma installer, i configured aroma-config and updater script but during flash process it show (Status 1) error on line 187 col 4 or something like this.
Click to expand...
Click to collapse
change
"Touchwiz Launcher","It's the Default (Stock) Launcher of the Samsung Galaxy S2 with some cool Features and transitions",0, #--selected.1 = 3
Click to expand...
Click to collapse
to
"Touchwiz Launcher","It's the Default (Stock) Launcher of the Samsung Galaxy S2 with some cool Features and transitions",0 #--selected.1 = 3
Click to expand...
Click to collapse
no comma after the 0
I have added the system and meta-inf folders and packed all of this as a .zip before. Do i have to modify any other aroma files?
Sorry for being so noob...
Sent from my GT-I9001 using xda app-developers app
No need to apologize, we all learn new thongs every day!
You shouldn't have to edit any script, just take your system folder and meta-inf (and anything else needed) zip them up and sign, when you flash in aroma be sure to save logs so you can check it later for errors
Sent from my Nexus 4 using xda premium
demkantor said:
No need to apologize, we all learn new thongs every day!
You shouldn't have to edit any script, just take your system folder and meta-inf (and anything else needed) zip them up and sign, when you flash in aroma be sure to save logs so you can check it later for errors
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I have signed it with ROM kitchen and packed all as zip. When i try to start Aroma with the recovery, it says:
Code:
E:Can't copy META-INF/com/google/android/update-binary
Installation aborted.