[Question] How do I edit a ROM?? - Android Q&A, Help & Troubleshooting

Hi, i'm new to the ROM building/editing stuff. I've read a lot about building ROM's from scratch, but thats not what i'm interested in. I would like to know if, and if i can how, i can edit an existing rom for the Samsung Infuse 4g such as the stock rom and replace stock apps. I want to just edit some of the system/apps like the stock launcher, stock messaging app, etc and replace them with different ones that i already have downloaded. I don't want to edit any of the really deep/internal stuff just the stock applications that are loaded on the phone. Pretty much i want to theme it i guess you could say. Can anyone help me out or point me in the right direction?? Thanks in advanced. I'm looking forward to working with custom ROM's.

bump. can anyone help a guy out??

3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA

How do you flash new rom on your samsung. Is it a .zip file and you flash it via cwm?
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600

cjtulowiecki said:
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
Click to expand...
Click to collapse
Assuming your file is a .zip file, you could just replace the applications you want (found in the "system/app" folder) on the zip, and sign it afterwards with a tool like AndroidSigner. It works for me

dsixda's kitchen
I haven't used this, but I have seen other ROM modders talk about this application called Kitchen (by dsixda). The link to the post is http://forum.xda-developers.com/showthread.php?t=633246
From the looks of it, it fits your bill.

you have Output the /system and do some work like change themes and other stuff and their is guys in Android Development and Hacking>Android Software Development

First off, thanks for all your replies, I appreciate getting some assistance. To answer most questions, yes I have the rom as a .zip file and flash it with cwm. I will try to replace the apps I want and then look into signing it ( which I don't know a whole lot about, but ill Google it.)
Sent from my SAMSUNG-SGH-I997 using XDA

Yeah so the apps are in /system/apps/ You can replace them easily, but You have to set good permisions
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600

Related

[Q] [HELP] How to create update-script?

Hope I've posted in the correct section
Hi guys,
How to I go about creating an update-script? Over the past few days I'be been cooking my own ROM (it's a port from the Incredible S dumps) and creating the update script is the last step before I test the ROM out and if it works, uploading to the Android Development forum.
I'm using a Nexus One btw.
So, could any assist me?
Thanks,
redbullcat
I tried to make my own the other day, and I found a helpful thread on the commands you can use for it. Ill try and find the link then update here.
Edit: http://forum.xda-developers.com/showthread.php?t=641223
This one is for update-scripts but I imagine there's not that much difference, correct me if I'm wrong. There does seem to be other commands for the same things in updater-script.
Another suggestion is to look at existing updater-scripts and see what makes them tick. They are quite self explanitory, nice and easy to read.
Sent from my Nexus S
You can take an update script from another custom rom, i think.
Don't forget to sign and do nandroid.
Sent from my HTC Hero using XDA App
liorweitz said:
You can take an update script from another custom rom, i think.
Don't forget to sign and do nandroid.
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
You could also do this, but depending on what the custom rom changes you may need to change things in there, maybe not.
Sent from my Nexus S
Could Something like this be done as far as getting FlashLite working on my ROM? I've been trying to take it from "FroyoSense-V8.5_2.2" and Add to my "ExEnHeroc_2.2" ROM but Can't get it Working for Some Reason? Do you Guys think a Script or whatever is what I'm Missing??? Please Help!! T.I.A.!!
*Sent on My*
Fast as its Ever Been....
"Sprint" Hero.... Running My, *ExEnHeroC* Rom, w/Kifno's Twist, Also The XDA-BLUE.apk!! "Page 10" of My Thread!!
http://forum.xda-developers.com/showthread.php?t=957867
http://www.megaupload.com/?d=WTMLMK6M
http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=PMGRANDS

[Q] Restoring stock TW Launcher

Hi
Finally - first post after just reading the forum, and for good start it's kind of how to questions.
So, as mentioned in the topic I need to restore standard TW Launcher on my device, at the moment it is broken thanks to my noobish operations. I tried to replace TW with the modded TW4.5.
TW4.5 doesn't work on my gs2 and to install it I just deleted the stock one. I made a copy of standard apk, but nothing happend when I copy it back into system/app directory. It also won't to be installed.
Now I use GO Launcher and I'm happy with it but the thought that standard one doesn't work make feel strange.
Please help
I had the same issue last night but got TW4.5 working fine in the end. However i did end up going back to the original anyway (some widget bugs that i probably could have sorted but couldnt be bothered -.-').
The way i got my original TW back was as follows:
1) Put the original touchwiz30.apk file and the .odex file back into /system/app.
2) Delete the Touchwiz4.apk
3) Try install the old launcher only to be told "Application not installed".
4) Reboot the phone and it should let you use the normal launcher again, use Home Switcher if youve set the other as default.
Hope this helps
Sent from my GT-I9100 using XDA Premium App
Thanks a lot mate, this is what I actually thought, cuz it's simple and the most logical at all, but I lost my mind with this mess, so can I ask you/anyone for a favor to upload/send on email both of these files, please?
Sent from my GT-I9100 using XDA App
edit:
Problem's solved, I made silly mistake - I didn't recognize that the root uninstaller app did add the '2.3.3' phrase between file name and file extension.
U helped a lot by posting the correct file name.
Thanks
Thanks for the question I have the same problem.
can u post ur stock files cuz i ****ed up and didnt take backup plz?
Srry for lag, havent seen it. I'll upload it tommorow from work or if u need it earlier I suggest to download a rom based on stock one and you will find it (there's stock tw in villain rom for sure).
Sent from my GT-I9100 using Tapatalk
Edit: link's here
megaupload.com/?d=3LJP38BC
Srry for breaking forum law

[Q] What are the Samsung Keypad files?

Hello all
When I had Galaxy S, I found out that flashing custom ROMs not only gives you huge benefits, but also has drawbacks - one of them is loosing the additional languages that regional firmwares have.
Then I found out this great thread which showed me what files to replace, to get back all the missing languages.
Now I just got Galaxy S 2 and it has the right keyboard, and I'm rooted so I thought I'd take the keyboard files and flash them on whatever ROM I choose.
My question [AT LAST!] is:
What are the respective files, libraries, etc. that are required for this to work? Are they the same as in Galaxy S, are there more or less?
Thanks
Samsung keyboard files are AxT9IME.apk found in system/app and libXt9core.so found in system/lib.
Thanks, but it didn't work.
I found the files, but it seems that the ones in 2.3.3 are way different than those in 2.3.4 so the Samsung Keypad just disappears...
Seems I'm stuck with the buggy market options.
You can try clearing the keypads data under settings/applications/manage applications then reboot the phone.
It doesn't give force closes or anything, replacing the app just makes it disappear from the list. Tho it's still visible with Titanium as a crossed out entry.
That's odd, how did you install the new files?
First I tried to do it via CWM, but I probably messed it up, since I can't make my own scripts and just steal someone else's anyway it did nothing.
Then I tried manual replacing via Root Explorer and then the keypad disappeared.
I'll find a way to do it, the only thing I don't know - are the 2.3.3 and 2.3.4 files compatible. If not there's no point trying to do it, right?
I don't see there being any difference between 2.3.3 and 2.3.4 but if you want you can just download a rom that is 2.3.4 and extract the files you need.
I think I know why there's a problem. I'm trying to replace an odexed version of the Samsung Keypad, and I copy both files. And probably there's some place else in the Android OS which does a check and causes the error.
Cause I replaced Swype sucessfuly (and it didn't have an .odex part).
Can it be that?
UPD: Yes, it's totally that, I deleted both the .apk and .odex files and placed a dedoexed version of the AxT9IME.apk in system/app and it worked again. Now I have to find a way to deodex the apk I have, and I know nothing of programming
This thread might be helpful. http://forum.xda-developers.com/showthread.php?t=1132724 I briefly looked over it and it doesn't seem to be that hard. Good luck
dikime said:
Hello all
When I had Galaxy S, I found out that flashing custom ROMs not only gives you huge benefits, but also has drawbacks - one of them is loosing the additional languages that regional firmwares have.
Then I found out this great thread which showed me what files to replace, to get back all the missing languages.
Now I just got Galaxy S 2 and it has the right keyboard, and I'm rooted so I thought I'd take the keyboard files and flash them on whatever ROM I choose.
My question [AT LAST!] is:
What are the respective files, libraries, etc. that are required for this to work? Are they the same as in Galaxy S, are there more or less?
Thanks
Click to expand...
Click to collapse
I have an flashable zip for installing the old keyboard from kf3 with all languages if you want. Oh and there are files for the keyboard in system/T9DB aswell!
Sent from my GT-I9100 using xda premium
KayvinM said:
This thread might be helpful. http://forum.xda-developers.com/showthread.php?t=1132724 I briefly looked over it and it doesn't seem to be that hard. Good luck
Click to expand...
Click to collapse
Seems easy enough for me, will give it a try
norpan111 said:
I have an flashable zip for installing the old keyboard from kf3 with all languages if you want. Oh and there are files for the keyboard in system/T9DB aswell!
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
If it works it'd be epic
dikime said:
Seems easy enough for me, will give it a try
Sorry forgot I posted here. Yeah I always flash that after flashing a kh3 rom so I can get my language, you want it?
If it works it'd be epic
Click to expand...
Click to collapse
Sent from my GT-I9100 using xda premium

/data/app/ functionality?

Can anyone point me in the direction to add the /data/app/ functionality to a rom, manually? I was using dsixda's kitchen, but its not working right for some reason anymore. I really want to use it on cm7 as I like to customize my rom before install. But it would be nice to know how to do it on any rom, if there is a difference. Thanks in advance...
Sent from another Dimension!
netwokz said:
Can anyone point me in the direction to add the /data/app/ functionality to a rom, manually? I was using dsixda's kitchen, but its not working right for some reason anymore. I really want to use it on cm7 as I like to customize my rom before install. But it would be nice to know how to do it on any rom, if there is a difference. Thanks in advance...
Sent from another Dimension!
Click to expand...
Click to collapse
Not sure I follow the question. A ROM installs based on its updater-script file and contents in the .zip.
If the zip has files in /data/app and the updater-script instructs package_extract_dir data/app to /data/app then all the files in the .zip's data/app will be copied over to the device's /data/app directory.
Hopefully that helps!
Thank you! It helps a little. Lol. But I know nothing about the updater-script. So I guess that's my next venture. I just want to add apps to my initial install of cm7. I'm slowly trying to build up my knowledge of how this all works. Is there a good thread on how to modify or build and updater-script, so I can mess around with it?
Sent from another Dimension!
netwokz said:
Thank you! It helps a little. Lol. But I know nothing about the updater-script. So I guess that's my next venture. I just want to add apps to my initial install of cm7. I'm slowly trying to build up my knowledge of how this all works. Is there a good thread on how to modify or build and updater-script, so I can mess around with it?
Sent from another Dimension!
Click to expand...
Click to collapse
to answer your question specifically:
two steps:
1)add your apk files to a data/app directory inside the .zip file. 7zip works great for modifying zip files in windows.
2) add this line to the updater-script: package_extract_dir("data/app/", "/data/app/");
to answer your question generally about help on creating a ROM .zip file:
I've covered the topic a few times in answering specific questions. I did a quick google search for xda joeykrim updater-script to try and find my previous posts. i generally provide more information than is requested by the poster and link to other posts/guides to make sure i've covered most of the common issues. here are a few:
How to zip a ROM to be flashed - i provide a lot of information including links to some great guides
[Q] update.zip problems
my posts in those two threads should provide *plenty* of information. let us know if you have any other questions! good luck!
Wow. Thanks so much! After work is play time now... I learn alot better through trial and error, so I hope I don't have to keep asking, lol. Now if I could just find a good updated tutorial on compiling cyanogenmod. But that's down the road.
Sent from another Dimension!

[Q] [REQUEST]flashable .zip for framework-res.apk

Hey guys,
actually I am on a Stock Rom and am trying to modify the icons in framework-res.apk
I found some very nice parts in several custom Roms here in our Section as well as in others, i.e. Sony/LG and and...
My plan is to mix up the icons I like from different Roms and made it already but I can only apply framework-res.apk via ADB, to provide it to others here I would love to have a zip where only the framework-res.apk is placed in...is there someone who would provide this to me ?
For now my maingoal is to bring Battery in Percentage and some other small things to any stock Rom, even for people without root and with even less knowledge than me ;-)
So, what I'd need is a flashfile that only changes the modified Icons...anyone ? Would be sooooo kind
Uot kitchen can make it
Sent from my GT-S5830 using xda premium
ohwarumbloss said:
Hey guys,
actually I am on a Stock Rom and am trying to modify the icons in framework-res.apk
I found some very nice parts in several custom Roms here in our Section as well as in others, i.e. Sony/LG and and...
My plan is to mix up the icons I like from different Roms and made it already but I can only apply framework-res.apk via ADB, to provide it to others here I would love to have a zip where only the framework-res.apk is placed in...is there someone who would provide this to me ?
For now my maingoal is to bring Battery in Percentage and some other small things to any stock Rom, even for people without root and with even less knowledge than me ;-)
So, what I'd need is a flashfile that only changes the modified Icons...anyone ? Would be sooooo kind
Click to expand...
Click to collapse
Dude! PM the link of the framework-res.apk! i will make it CWM flashable!
jinavs said:
Dude! PM the link of the framework-res.apk! i will make it CWM flashable!
Click to expand...
Click to collapse
Thank you very much for your offer, I got a flashfile already. Anyways, thanks!!
Sent from my GT-S5830 using XDA App

Categories

Resources