[Q] how to add root in custom rom zipped - Android Q&A, Help & Troubleshooting

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.

Related

CWM Error (Status 0) when flashing customized ROM

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?

Does Dsixda's ROM Kitchen work with Galaxy S3?

I've been wanting to try the kitchen out to see if I can try deodexing and zipaligning etc on the stock touchwiz ROM I'm running.
Do you think it would work? (despite it being discontinued)
yes it works still, works on ics & jellybean (i use it myself to deodex and zipalign)
Theshawty said:
I've been wanting to try the kitchen out to see if I can try deodexing and zipaligning etc on the stock touchwiz ROM I'm running.
Do you think it would work? (despite it being discontinued)
Click to expand...
Click to collapse
Yes dxixda kitchen works but you will need to add another file with gs3 parameters in the edify_defs folder with name m0..still the updater-script does not work . It gives me errors in the installing boot.img stage.. . Anyways you can use the kitchen to create your rom and then package your rom manually using updater-script and update-binary from some other working rom.. Then sign it..
If you or anyone finds a solution to that problem do let us know..
:thumbup:
Sent from someone in the Milky Way
zoot1 said:
but you will need to add another file with gs3 parameters in the edify_defs folder with name m0
Click to expand...
Click to collapse
Where do I find such file?
zoot1 said:
Yes dxixda kitchen works but you will need to add another file with gs3 parameters in the edify_defs folder with name m0..still the updater-script does not work . It gives me errors in the installing boot.img stage.. . Anyways you can use the kitchen to create your rom and then package your rom manually using updater-script and update-binary from some other working rom.. Then sign it..
If you or anyone finds a solution to that problem do let us know..
:thumbup:
Sent from someone in the Milky Way
Click to expand...
Click to collapse
I have a file for myself will upload it here once I reach home.. On my way back.. Hopefully you can see what is wrong.. I tried to get help from wanam also but we could not find the problem..
Edit: here you go..put the m0 file in the edify_defs folder..check if you can find any problem with it..
Sent from someone in the Milky Way
zoot1 said:
I have a file for myself will upload it here once I reach home.. On my way back.. Hopefully you can see what is wrong.. I tried to get help from wanam also but we could not find the problem..
Edit: here you go..put the m0 file in the edify_defs folder..check if you can find any problem with it..
Sent from someone in the Milky Way
Click to expand...
Click to collapse
I don't know anything about stuff like that
I'm a complete noob and just wanna try to deodex and stuff
Theshawty said:
I don't know anything about stuff like that
I'm a complete noob and just wanna try to deodex and stuff
Click to expand...
Click to collapse
Deodexing will work just fine..no probs..some times you might get an error with one or two apps..just use the option to deodex a single app and you will be good to go..
:good:
Edit:
Most important change the api level to 16 before deodexing..
just make a copy of your zipped rom, drop it into the working folder, deodex the files you want to and then pull those files out of the working folder and drop them into the original rom zip folder (minus the original odexed files)
no need to change anything, no need to drop new files in or mess with update script
as you will use your existing update script/meta inf folder blah blah blah, it means you can say yes to the mods the kitchen wants to make as you will only be taking the deodexed files from there, nothing else
(does that make sense? - im guessing you will ignore this anyway like my previous post))
Darkside Agent said:
just make a copy of your zipped rom, drop it into the working folder, deodex the files you want to and then pull those files out of the working folder and drop them into the original rom zip folder (minus the original odexed files)
no need to change anything, no need to drop new files in or mess with update script
as you will use your existing update script/meta inf folder blah blah blah, it means you can say yes to the mods the kitchen wants to make as you will only be taking the deodexed files from there, nothing else
Click to expand...
Click to collapse
Thanks, will try this.
Darkside Agent said:
(does that make sense? - im guessing you will ignore this anyway like my previous post))
Click to expand...
Click to collapse
Uh, sorry about that. I totally missed your post!
Did you get it all sorted in the end?
Darkside Agent said:
Did you get it all sorted in the end?
Click to expand...
Click to collapse
Nah, I basically said "f*ck it and deleted the whole thing.
Gonna let someone else deal with zipaligning, deodexing and all that.
Theshawty said:
Nah, I basically said "f*ck it and deleted the whole thing.
Gonna let someone else deal with zipaligning, deodexing and all that.
Click to expand...
Click to collapse
You need Patience my friend..
zoot1 said:
You need Patience my friend..
Click to expand...
Click to collapse
One of many things I lack and will probably always lack.
Sorry for dragging out an old thread but I thought I would have a go with this. I have the kitchen installed, I have put I9300XXDLI5_I9300OXADLI5_I9300XXDLI5_BTU.zip in the original_update and have the m0 file in tools/edify_defs
I then try and extract the ROM but I get an error Error: No system folder found!
How can I not even get started? I must be missing something basic here!
Kangburra said:
Sorry for dragging out an old thread but I thought I would have a go with this. I have the kitchen installed, I have put I9300XXDLI5_I9300OXADLI5_I9300XXDLI5_BTU.zip in the original_update and have the m0 file in tools/edify_defs
I then try and extract the ROM but I get an error Error: No system folder found!
How can I not even get started? I must be missing something basic here!
Click to expand...
Click to collapse
IIRC, the archive file must be a tar archive containing at least a system.img.
Sent from my GT-I9300 using Tapatalk 2
Theshawty said:
IIRC, the archive file must be a tar archive containing at least a system.img.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Kangburra said:
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Click to expand...
Click to collapse
Extract the tar file and put the system.ext4.img and boot.img in the update folder.. Then Dxixda kitchen will recognize it..
Sent from the iPoop killer ==>>>
Kangburra said:
Can't I start with the ODIN file of the leaks? It must have a system image in it? Where do you start with this? I thought a whole flashable ROM would be ideal.
Click to expand...
Click to collapse
Oh yeah, I forgot, the system.img must be coverted from yaffs img to an ext4 file. I believe the utility is called ext2fs (or something like it)
Dsixda's tool should provide that program anyhow.
Well I unzipped the ROM and untarred the md5 and then it at least got me started. I am now just working out what I can do and what I need to get. Thanks for your help.
[edit]Well I built the ROM and tried both the update and updater scripts but both fail. Will go and re-read the help. [/edit]
Kangburra said:
Well I unzipped the ROM and unatarred the md5 and then it at least got me started. I am now just working out what I can do and what I need to get. Thanks for your help.
[edit]Well I built the ROM and tried both the update and updater scripts but both fail. Will go and re-read the help. [/edit]
Click to expand...
Click to collapse
Well that is the problem which I am not to work out yet.. As Dxixda kitchen does not support s3
Best way it to use meta-inf folder from other rom..
Sent from the iPoop killer ==>>>

[Q]making a new rom

i'm trying to make a rom based on latest minicm7 nightly for x10 mini pro
when i flash it everything works, except root access..
i tried to change superuser app (superSU and superuser) but nothing..
maybe i deleted some files that needs superuser to work..
ANY IDEA?
@SmG67 @nobodyAtall @BlazeXperia @pongnamu @Kilroy. @Emperor.dk @Crazy Seed @drilleffect @erfandl @Chuck95
or anyone else?
PLEASE REPLY EVEN IF YOU'RE NOT SURE!!
isko95 said:
i'm trying to make a rom based on latest minicm7 nightly for x10 mini pro
when i flash it everything works, except root access..
i tried to change superuser app (superSU and superuser) but nothing..
maybe i deleted some files that needs superuser to work..
ANY IDEA?
@SmG67 @nobodyAtall @BlazeXperia @pongnamu @Kilroy. @Emperor.dk @Crazy Seed @drilleffect @erfandl @Chuck95
or anyone else?
PLEASE REPLY EVEN IF YOU'RE NOT SURE!!
Click to expand...
Click to collapse
Extract the system/app/Superuser.apk and the system/xbin/su files from any deodexed, MiniCM7 based ROM and replace the files in your ROM with those. Be sure to set the correct permissions in the updater-script.
Kilroy. said:
Extract the system/app/Superuser.apk and the system/xbin/su files from any deodexed, MiniCM7 based ROM and replace the files in your ROM with those. Be sure to set the correct permissions in the updater-script.
Click to expand...
Click to collapse
how to set proper permissions in updater script?
isko95 said:
how to set proper permissions in updater script?
Click to expand...
Click to collapse
set_perm(0, 0, 04755, "/system/xbin/su");
Assuming 'su' is in /system/xbin.
The superuser.apk in /system/app will get the same permissions as everything else in there through a set_perm_recursive line for the entire folder.
is it possible to disable bootanimation as default?
isko95 said:
is it possible to disable bootanimation as default?
Click to expand...
Click to collapse
Just don't put one in.
There is a build.prop setting for it or maybe something you can do in init.d, but i can't remember what.
If you leave it out the system won't waste any time in displaying it anyway
For build.prop: debug.sf.nobootanimation=1
GIYF
SmG67 said:
Just don't put one in.
There is a build.prop setting for it or maybe something you can do in init.d, but i can't remember what.
If you leave it out the system won't waste any time in displaying it anyway
For build.prop: debug.sf.nobootanimation=1
GIYF
Click to expand...
Click to collapse
and for init.d?
and in which line do i have to put that in buil.prop? because i alredy tried to put that in build prop but in the last line, but nothing change when it boots, it shows the bootanim..
Maybe you missed the su file?
Sent from my E10i
madz13 said:
Maybe you missed the su file?
Sent from my E10i
Click to expand...
Click to collapse
i placed ''su'' file in system/bin instead of system/xbin
that's why it didnt work
isko95 said:
i placed ''su'' file in system/bin instead of system/xbin
that's why it didnt work
Click to expand...
Click to collapse
So, for now its working?
Sent from my E10i
madz13 said:
So, for now its working?
Sent from my E10i
Click to expand...
Click to collapse
yes, but i wanted to try to use another superuser app, but only the old one works (by CHAINSDD) supersu and superuser doesnt work, they said the rom has obsolete binary, binary which with superuser works...
i wonder why
isko95 said:
yes, but i wanted to try to use another superuser app, but only the old one works (by CHAINSDD) supersu and superuser doesnt work, they said the rom has obsolete binary, binary which with superuser works...
i wonder why
Click to expand...
Click to collapse
The various superuser apk's are only a front-end for the capabilities offered by the su binary, an older su binary will not have all the options that the newer apk's are taking advantage off, that's why they complain about it being obsolete. That is usually one of the first things that gets updated when you start using Google Play.
SmG67 said:
The various superuser apk's are only a front-end for the capabilities offered by the su binary, an older su binary will not have all the options that the newer apk's are taking advantage off, that's why they complain about it being obsolete. That is usually one of the first things that gets updated when you start using Google Play.
Click to expand...
Click to collapse
so i cant replace the stock one?
where i can find to set default settings and cyanogenmod settings?
how can i modify the default system theme (which cant be uninstalled)?
which file to find and modify and in which folder?
ps. i already search this but nothiing found solution
please reply!
isko95 said:
please reply!
Click to expand...
Click to collapse
Custom ROMS usually have a custom .apk which contains the theme you can set with Theme chooser (minicm7 has minicm7.apk, minicm10 has minicm10.apk) The rest of the user-interface (the "google" stuff) is in framework-res.apk and systemui.apk as far as I know. And then there are some app-specific graphics in individual .apk's like calendar, mms and contacts apps etc.
I'd start with Emperor.dk's tutorial if you want to start learning about theming.
SmG67 said:
Custom ROMS usually have a custom .apk which contains the theme you can set with Theme chooser (minicm7 has minicm7.apk, minicm10 has minicm10.apk) The rest of the user-interface (the "google" stuff) is in framework-res.apk and systemui.apk as far as I know. And then there are some app-specific graphics in individual .apk's like calendar, mms and contacts apps etc.
I'd start with Emperor.dk's tutorial if you want to start learning about theming.
Click to expand...
Click to collapse
yes, i know, thanks for reply!
but in theme chooser there is also a theme called "system" which it can be uninstalled, how can i theme that?
isko95 said:
yes, i know, thanks for reply!
but in theme chooser there is also a theme called "system" which it can be uninstalled, how can i theme that?
Click to expand...
Click to collapse
That's probably the framework-res/systemui stuff
SmG67 said:
That's probably the framework-res/systemui stuff
Click to expand...
Click to collapse
guys, do you know why when i open .xml files with notepad i see a lot of rectangles written "null" (or something else) within? i cant read anything... i was trying to modify some AndroidManifest.xml
please reply
isko95 said:
guys, do you know why when i open .xml files with notepad i see a lot of rectangles written "null" (or something else) within? i cant read anything... i was trying to modify some AndroidManifest.xml
please reply
Click to expand...
Click to collapse
guys???

[Q] Aroma Installer

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.

Off-Topic Discussion for kitchen users

This thread should serve as a much needed place for kitchen users to discuss anything not exactly kitchen related
Reserved
Sent from my Redmi Note 3 using Tapatalk
SuperR. said:
It unpacks in AIK without issues running 64-bit Ubuntu 16.04. You are probably right and just missing a dependency that comes pre-installed in Debian based systems. Let me know if you figure out a way to deal with it
edit: do you have cpio installed? If not that may solve the issue
Click to expand...
Click to collapse
I had flashed AIK in custom recovery, but I can't seem to get it to work properly..
The Exploiter said:
That's good I'm glad to hear that
Click to expand...
Click to collapse
Bro 2 more things i want to learn
1st how add multi languages in extracted rom?
And how fix gapps also in extracted rom?
Mr Hassan said:
Bro 2 more things i want to learn
1st how add multi languages in extracted rom?
And how fix gapps also in extracted rom?
Click to expand...
Click to collapse
What do you mean by that sir? I will be happy to help you
---------- Post added at 06:04 AM ---------- Previous post was at 06:02 AM ----------
Mr Hassan said:
Bro 2 more things i want to learn
1st how add multi languages in extracted rom?
And how fix gapps also in extracted rom?
Click to expand...
Click to collapse
For multi languages its usually built into the ROM. Fixing gapps depends on what's wrong with it.
When you extract your rom what gapps are you trying to fix?
@Mr Hassan, @The Exploiter
Moved your posts into this thread as they are off topic for the kitchen. Feel free to continue here if you would like
SuperR. said:
@Mr Hassan, @The Exploiter
Moved your posts into this thread as they are off topic for the kitchen. Feel free to continue here if you would like
Click to expand...
Click to collapse
Thank you I'll be sure to come back
The Exploiter said:
What do you mean by that sir? I will be happy to help you
?
Click to expand...
Click to collapse
can you give me little details about add multi languages in extracted rom
and also add gapps
Mr Hassan said:
can you give me little details about add multi languages in extracted rom
and also add gapps
Click to expand...
Click to collapse
If you have a custom ROM build without gapps then grab a version perspective to your device too flash in recovery
To add multi languages (depending on the ROM) I would look around on XDA.. I haven't ever heard of multi language..
I'm having the worst time trying to get java6 installed.. Does anyone have a good way?
The Exploiter said:
I'm having the worst time trying to get java6 installed.. Does anyone have a good way?
Click to expand...
Click to collapse
Java 6?
sudo apt-get install openjdk-6-jdk openjdk-6-jre
You need Java 8 for the SuperR Kitchen tho..
Sent from my N9515 using Tapatalk
bcrichster said:
Java 6?
sudo apt-get install openjdk-6-jdk openjdk-6-jre
You need Java 8 for the SuperR Kitchen tho..
Click to expand...
Click to collapse
Its for CM11 source code since I'm building CWM for nthe SM-T113
---------- Post added at 02:15 AM ---------- Previous post was at 01:34 AM ----------
bcrichster said:
Java 6?
sudo apt-get install openjdk-6-jdk openjdk-6-jre
You need Java 8 for the SuperR Kitchen tho..
Click to expand...
Click to collapse
Its telling me there's no install canadate.. I'm gonna go break my PC now..
Temp Clockworkmod is now built for the SM-T113
Clockworkmod for SM-T116
hi guys...
can someone help me please?
I'm really new to superr kitchen...
I'm trying to make an deodexed rom for an S8+.
I can't get it it start. it boots but stucks at samsung logo.
so, what are the right way to make an deodexed rom?
thanks in advance
Hey @SuperR. I have a general apktool question.
I want to make some SystemUI mods for my ROM.
When recompiling SystemUI does it need to be signed, zipaligned, or both?
Your tool is awesome btw.
bkores said:
Hey @SuperR. I have a general apktool question.
I want to make some SystemUI mods for my ROM.
When recompiling SystemUI does it need to be signed, zipaligned, or both?
Your tool is awesome btw.
Click to expand...
Click to collapse
I am not the best to answer this honestly. I have not modified an apk since KitKat. The plugin is there for people such as yourself who want to use it. It has all the signing options I am aware of. If you don't get any other answers, I suggest trying them all to see what works for you
bkores said:
Hey @SuperR. I have a general apktool question.
I want to make some SystemUI mods for my ROM.
When recompiling SystemUI does it need to be signed, zipaligned, or both?
Your tool is awesome btw.
Click to expand...
Click to collapse
For system apps, I use winrar, or if using linux the default archive manager, to move the modified files into the original. I try to keep the meta-inf, sec-inf, and androidmanifest.xml intact on the original app and just drag the res, classes.dex (if modifying smali), and resources.arsc into the original. Then just zipalign.
Thats worked for me on 6.0.1, I think some things may have changed with 7.0.1 and I'm by no means an expert but thats how I do it.
kevintm78 said:
For system apps, I use winrar, or if using linux the default archive manager, to move the modified files into the original. I try to keep the meta-inf, sec-inf, and androidmanifest.xml intact on the original app and just drag the res, classes.dex (if modifying smali), and resources.arsc into the original. Then just zipalign.
Thats worked for me on 6.0.1, I think some things may have changed with 7.0.1 and I'm by no means an expert but thats how I do it.
Click to expand...
Click to collapse
So would it be like this:
1) Install frameworks
2) Decompile apk
3) Make modifications
4) Rename APK file to .zip to allow for pasting res and resources.arsc
5) Paste modified res and resources.arsc into the zip archive.
6) Rename the zip archive back to an apk file.
7) Push apk to /system/priv-app/SystemUI/SystemUI.apk.
8) Perform chmod 0644 on the apk.
I'm a complete noob at this so I want to make sure I'm doing everything right.
bkores said:
So would it be like this:
1) Install frameworks
2) Decompile apk
3) Make modifications
4) Rename APK file to .zip to allow for pasting res and resources.arsc
5) Paste modified res and resources.arsc into the zip archive.
6) Rename the zip archive back to an apk file.
7) Push apk to /system/priv-app/SystemUI/SystemUI.apk.
8) Perform chmod 0644 on the apk.
I'm a complete noob at this so I want to make sure I'm doing everything right.
Click to expand...
Click to collapse
Yep, that's how I do it. Except you dont have to rename your apk files, they'll open up in archive just like a zip. With jar files I just push without having to drag anything to the original and they'll work.
If you ever decide to modify the framework-res or certain system apps like secsettings, camera, contacts, and probably some others, I have to do those with Windows and winrar because they dont seem to work with the normal compression mode. Winrar lets you change the compression mode from normal to store. Thats the only I can get those working.

Categories

Resources