[Q] Rom Development Issues - Android Q&A, Help & Troubleshooting

Hi.
I am trying to build custom rom for Galaxy Note(N7000)
I am trying to build a custom rom with base as stock rom(XXLT5)
I went through some tutorials on XDA, but they were only some basic stuff.
I had lot of questions in mind,and after searching for hours didn't get some help,so posted so maybe some one can help.
I flashed my own rom with some build.prop tweaks and changed wallpaper in framework-res.apk.
But it flashed with no problems.
1] I had lost root but I used Philz kernel(copied all stuff into respective folder)
2]I don't get about the META-INF Folder because I tried to put some s4 mods such as sec.settings.apk,s4 status bar,they also had META-INF but I didn't know what to do with it. I copied the apk of sec.settings into preload /syslink/system/app.
3]When the rom started default-wallpaper didn't changed and any mods didn't applied,so don't know what to do.
Can please any-one say what should I do,and where to put META_INF folder,because all apks aur mods has META_INF folder and will replace every time I put a mod in it.
Please Help Guys.....

please explain it more, didn't get you, what you actually want to do ?

TroubleShooter™ said:
please explain it more, didn't get you, what you actually want to do ?
Click to expand...
Click to collapse
What is use of META_INF, if want to replace some system apk,there is a meta inf folder in that too, so If I extract it in rom,so it will replace the META_INF folder in the rom.

Azharkanorwala said:
What is use of META_INF, if want to replace some system apk,there is a meta inf folder in that too, so If I extract it in rom,so it will replace the META_INF folder in the rom.
Click to expand...
Click to collapse
META-INF of .apk or zip ?

TroubleShooter™ said:
META-INF of .apk or zip ?
Click to expand...
Click to collapse
Both.

Related

[MOD] CRT-off + 1% battery for Galaxy S2 HD LTE [E120L]

Hi guys , i found this on a korean web and just wanted to share with you guys.
First , u must have root access off course and with firmware version EJ29
i tried this on my EL07 and working fine.
Download the zip file from Here , extract into your sdcard.
Replace the system/app/systemui.apk with your new systemui.apk u just extracted
Replace the system/framework/framework-res.apk with your new framework-res.apk u just extracted. Remember to make a backup copy of the original one b4 your replace with new one.
Sorry i am not a developers , so this zip file provided is not flashable. If any of you guys know how to make this flashable , go head and at your own risk.
See attached picture for battery icon
Credit goes to 웨싸이드 from mactl
prodigiez said:
Hi guys , i found this on a korean web and just wanted to share with you guys.
First , u must have root access off course
Download the zip file from Here , extract into your sdcard.
Replace the system/app/systemui.apk with your new systemui.apk u just extracted
Replace the system/framework/framework-res.apk with your new framework-res.apk u just extracted. Remember to make a backup copy of the original one b4 your replace with new one.
Sorry i am not a developers , so this zip file provided is not flashable. If any of you guys know how to make this flashable , go head and at your own risk.
See attached picture for battery icon
Credit goes to 웨싸이드 from mactl
Click to expand...
Click to collapse
Awesome one, thanks a lot mate
Getting boot-loops, not working for me.
m3nster said:
Getting boot-loops, not working for me.
Click to expand...
Click to collapse
prodigiez said:
Hi guys , i found this on a korean web and just wanted to share with you guys.
First , u must have root access off course
Download the zip file from Here , extract into your sdcard.
Replace the system/app/systemui.apk with your new systemui.apk u just extracted
Replace the system/framework/framework-res.apk with your new framework-res.apk u just extracted. Remember to make a backup copy of the original one b4 your replace with new one.
Sorry i am not a developers , so this zip file provided is not flashable. If any of you guys know how to make this flashable , go head and at your own risk.
See attached picture for battery icon
Credit goes to 웨싸이드 from mactl
Click to expand...
Click to collapse
depend on your fw, which fw can run? Plz mention the fw.
thks for sharing
it worked for me with EJ29... and i also upgraded to EL07 and still working fine with that...
Havent try it yet on EK17
prodigiez said:
it worked for me with EJ29... and i also upgraded to EL07 and still working fine with that...
Havent try it yet on EK17
Click to expand...
Click to collapse
I'm still using EJ14 on my e120s. Should I upgrade? I was browsing a korean site and they have EL22 already.
can you post the korean site link? thanks!

[Q] making the theme for the stock ROM

Everyone please try to remember I'm making the theme for the stock ROM
Remember what? Do you need help?
LzVebz said:
Remember what? Do you need help?
Click to expand...
Click to collapse
I want to create themes for the ROM with the stock base .But I do not know how
sorry for my english
1) Download stock 2.3 system dump
2) Extract "framework-res.apk" located /system/framework & "SemcGenericUxpRes.apk"
3) Open .apk files with WinRAR or any other software
4) Navigate to "res/" and copy extract whole "drawable-hdpi" folder
5) Here you will get thousands of PNGs you can edit, the only PNGs you can't edit is pictures with ".9" in their name
Feel free to ask any questions if you're confused sry for late reply

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] Update Zip!!!

I want to create a flashable .zip file which will update the ROM if I want to modify some contents...........
Plz somebody could help????????
Thanks in advance:good:
Plz if anybody could help?????????
Can you elaborate your question?
Take another rom cwm zip as a base
Change the contents using 7zip
Then change the updater zip carefully according to changes u made using notepad ++
This was in short
neectron said:
Can you elaborate your question?
Click to expand...
Click to collapse
I want to make a CWM flash able zip file to fix bugs or modify apps etc to my ROM......... How to go about it????????
@[email protected] said:
I want to make a CWM flash able zip file to fix bugs or modify apps etc to my ROM......... How to go about it????????
Click to expand...
Click to collapse
Rather than rom zip,take a CWM zip of mods ,place whatever you want in respective folders.

[Q] Roms structure

Hello!
Can someone explain to me what differences are between these roms? (see attachements):
I have MT6755 device and it's stock ROM has inside a boot.img, system.new.dat, system.patch, META-INF, etc..
And then I found a device which ROM has inside just boot.img, META-INF and system folder.
What's the difference?
If I want to port a custom rom, does my device need to have in a custom rom these files(system.new.dat, system.patch...) too, or can I use a "structure" of the ROM zip with just boot.img and system?
As far as i know You just need only System,boot.img and meta-inf also data if you wish to add an app as user
sohamsen said:
As far as i know You just need only System,boot.img and meta-inf also data if you wish to add an app as user
Click to expand...
Click to collapse
So if I want to port a ROM from device that has (system.new.dat, etc..), I need only to extract system.new.dat to get system folder and just use it?
Adreno306™ said:
So if I want to port a ROM from device that has (system.new.dat, etc..), I need only to extract system.new.dat to get system folder and just use it?
Click to expand...
Click to collapse
Ya
sohamsen said:
Ya
Click to expand...
Click to collapse
Ok, I will try it.
Thank you for your answer
Adreno306™ said:
Ok, I will try it.
Thank you for your answer
Click to expand...
Click to collapse
best of luck

Categories

Resources