[Q] Help editing code - Epic 4G Q&A, Help & Troubleshooting

I'm interested in learning how to build my own rom, my question is, what program is used to be able to the various files like the framework files & others?

Start. With how to theme post. It mightbe a stickey. It will help with apk's. The rest u would have to ask dev. A lot of them will be willing to help if you need it
Sent from my SPH-D700 using XDA Premium App

djsplitimage said:
I'm interested in learning how to build my own rom, my question is, what program is used to be able to the various files like the framework files & others?
Click to expand...
Click to collapse
Learning some C+ language will also come in handy
Sent from my SPH-D700 using XDA App

well, I'm down for all this, but I'm just trying to figure out what other programs, besides I guess the Android SDK would I need to put this all together?

djsplitimage said:
well, I'm down for all this, but I'm just trying to figure out what other programs, besides I guess the Android SDK would I need to put this all together?
Click to expand...
Click to collapse
Have 7zip for one.
Posted by Mr. Z's Epic 4G.

Related

[Q] How to replace icons?E: 10-23

I would like to change some of my app icons could anyone help a total nube?
Sent from my PC36100 using XDA App
Edit: I'm going to put together the information I've learned from asking this question and the links and post them here thanks to everyone that helped me I know I still have allot to learn so anymore info would be greatly appreciated
There are a couple options afaik.
You can use ADW Launcher, which will let you choose any picture/logo/icon for any app you put on yr homescreen. I use almost all Launcher Pro icons in my ADW Launcher.
Or, much more involved and complete, rip open the apk in question and replace the icon with one of ur choosing.
Hey... I think this thing makes phone calls too!
I was thinking of trying to open the apk because I like sense but not shute what programs I need or what to look for but I'm willing to learn.
Sent from my PC36100 using XDA App
You really just need the program 7zip.
After you have it set up, right click on any apk, highlight 7zip, and pick open archive. The icon you'll want to change is in res/drawables andshould be called icon. Be sure any new icon you put in there is the same format, size and name. I have never made my own icons, just used others, I recommend icons from droidicons.com/launcherpro That may not be the exact page, but Google it if you like the minimalist theme.
Hey... I think this thing makes phone calls too!
Thanks I'll give it a try in the morning I'm trying to use riptide's glass icons just to make everything match but I think I'll look at the others you suggested too and post some screens when I'm done
Sent from my PC36100 using XDA App
change icons
You need a program called NinjaMorph its not hard to learn biut once you do you can google any image and use it as an icon to the apk of your choice.
****, Ninjamorph looks like a sweet idea, haven't used it yet, but may have to give it a try.
http://forum.xda-developers.com/showthread.php?t=674604
Hey... I think this thing makes phone calls too!
JTNiggle said:
****, Ninjamorph looks like a sweet idea, haven't used it yet, but may have to give it a try.
Keep in mind that NinjaMorph only works on System Apps and does not work on Market Apps. If you want to change Market Apps the only way to do so is to open the apk and insert them.
[Obviously, you could use an alternative launcher but that only changes the icon on your home screen and not in the Apps Drawer]
Click to expand...
Click to collapse
Yeah, I have always just used 7zip to edit the apk's before install.
Hey... I think this thing makes phone calls too!
JTNiggle said:
Yeah, I have always just used 7zip to edit the apk's before install.
Hey... I think this thing makes phone calls too!
Click to expand...
Click to collapse
I must be missing something I open the apk with 7 zip and replace icon.png with the icon I want to use but when I put the apk (in this case google earth) it won't let me install it is there anything else I need to do?
Sent from my PC36100 using XDA App
okolowicz said:
JTNiggle said:
[Obviously, you could use an alternative launcher but that only changes the icon on your home screen and not in the Apps Drawer]
Click to expand...
Click to collapse
Wouldn't be as fun or learn anything either but it would be easier.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
firestetz said:
I must be missing something I open the apk with 7 zip and replace icon.png with the icon I want to use but when I put the apk (in this case google earth) it won't let me install it is there anything else I need to do?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Sorry, there is a bit more to it.
You also need to delete the META-INF folder and resign the apk.
I use this signing tool APK Signing Tool
It's an edited version of a zip signer. I didn't make it, got everything from this old thread Editing APK's
JTNiggle said:
Sorry, there is a bit more to it.
You also need to delete the META-INF folder and resign the apk.
I use this signing tool APK Signing Tool
It's an edited version of a zip signer. I didn't make it, got everything from this old thread Editing APK's
Click to expand...
Click to collapse
Thanks good thread. So using these will rewrite the meta file that I delete? After I do this I assume that the market apps will have to be manually updated and edited again.
Sent from my PC36100 using XDA App
firestetz said:
Thanks good thread. So using these will rewrite the meta file that I delete? After I do this I assume that the market apps will have to be manually updated and edited again.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Yep, a new meta-inf is built for you.
When there's updates for apps, it sucks, gotta redo everything
I went through and did all mine to Launcher Pro style icons, thought I was done, then the updates start rolling in and screwing with everything. Now, when I try a new ROM, I just preload it with all my edited apps before flashing, makes for a bunch of work up front, but it sure is nice to just flash, sync, and go. Then I disable all updates until it looks like something important is fixed/added.
And slightly off topic, what's the deal with market app developers putting out like 27 updates every week, driving me crazy. I know I have a lot of apps, but it seems like every time I look, 19 updates available. And I gotta go look at change logs and waste all my precious time at work when I should be getting stuff done, it's all their fault when my crews production runs low
I know exactly what you mean but it seems like some of them update everyday. Thank you for all the help was hopeing to be finished tonight but my nice just crashed my computer but as soon as I get it back up and going I'll be good the one good thing about it is it gives me a chance to do a dual boot with linux
Sent from my PC36100 using XDA App
JTNiggle said:
Yep, a new meta-inf is built for you.
When there's updates for apps, it sucks, gotta redo everything
I went through and did all mine to Launcher Pro style icons, thought I was done, then the updates start rolling in and screwing with everything. Now, when I try a new ROM, I just preload it with all my edited apps before flashing, makes for a bunch of work up front, but it sure is nice to just flash, sync, and go. Then I disable all updates until it looks like something important is fixed/added.
And slightly off topic, what's the deal with market app developers putting out like 27 updates every week, driving me crazy. I know I have a lot of apps, but it seems like every time I look, 19 updates available. And I gotta go look at change logs and waste all my precious time at work when I should be getting stuff done, it's all their fault when my crews production runs low
Click to expand...
Click to collapse
Lol I look at this post just to see how to change the icons I hate the handcent icon lol(do you have a eclair one btw ) and I agree Adam every morning im driving to work and download an app and I get like 5 apps need to be updated lol specially if their games like fruit ninja man that's a long download if I don't turn 4g on
Sent from my PC36100 using XDA App
jgalan14 said:
Lol I look at this post just to see how to change the icons I hate the handcent icon lol(do you have a eclair one btw ) and I agree Adam every morning im driving to work and download an app and I get like 5 apps need to be updated lol specially if their games like fruit ninja man that's a long download if I don't turn 4g on
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Wish I could help with the icon and hate to say it because I hate when people say it to me but I did a search to find my glass icons
Sent from my PC36100 using XDA App
firestetz said:
Wish I could help with the icon and hate to say it because I hate when people say it to me but I did a search to find my glass icons
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
That's cool I think is weird that is hard to find it lol I find alot iphonr icons tho
Sent from my PC36100 using XDA App
Which icon are you looking for exactly?
JTNiggle said:
Which icon are you looking for exactly?
Click to expand...
Click to collapse
Thanks! I was looking for asop eclair
Sent from my PC36100 using XDA App

[SOLVED] Help Identifying Icons

If possible, can anyone tell me where to get the icons not crossed out in the attached picture?
Thank You.
EDIT: They have been found:
iceman23e said:
They are from CirclesMod by Hooolm.
http://forum.xda-developers.com/showthread.php?t=837569
Click to expand...
Click to collapse
EDIT2: also Rover's: http://forum.xda-developers.com/showthread.php?t=958497
I like that signal icon. Also bump as I want that.
Sent from my Incredible using XDA App
Someone made those for "funken cool black beta" for skyraider athena...look through themes and apps forum shouldnt be too far down
Sent from my ADR6300 using XDA App
pete_kowalski83 said:
Someone made those for "funken cool black beta" for skyraider athena...look through themes and apps forum shouldnt be too far down
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
ic..ill look for it. the screenshot this is from is a guy running CM7 so he must have pulled the icons manually.. hope i can find it...
EDIT: located that post, but it only seems to have the wifi and battery icons. not the others.. the quest continues..
They are from CirclesMod by Hooolm.
http://forum.xda-developers.com/showthread.php?t=837569
iceman23e said:
They are from CirclesMod by Hooolm.
http://forum.xda-developers.com/showthread.php?t=837569
Click to expand...
Click to collapse
indeed, they are the gingerbread version it looks like. nice find!
yeah give them a try, they look really good
it seems whatever CM7 version mods he has on his website are using the old update method, so wont work with CMR3. and pushing the framework-res.apk manually gives a boot loop, so hmm. ill have to contact him and see whats up...
You just have to use amend2edify I think that's what its called there is a script floating around that makes things work in 3.0
gohamstergo said:
it seems whatever CM7 version mods he has on his website are using the old update method, so wont work with CMR3. and pushing the framework-res.apk manually gives a boot loop, so hmm. ill have to contact him and see whats up...
Click to expand...
Click to collapse
Sent from my Incredible using XDA App
Gahh Its Lee said:
You just have to use amend2edify I think that's what its called there is a script floating around that makes things work in 3.0
Click to expand...
Click to collapse
thanks for the tip. i also found out that the CM7 versions on his website arent for the DInc. the folders within the framework-res.apk all have "-v4" tacked on the end. example: they are named "drawable-res-v4" instead of what the DInc CM7 has "drawable-res." and you cant just rename it because then the XMLs wont link to the files properly. and i dont know how to compile those so, ill have to see what i can figure out... thanks tho.
gohamstergo said:
thanks for the tip. i also found out that the CM7 versions on his website arent for the DInc. the folders within the framework-res.apk all have "-v4" tacked on the end. example: they are named "drawable-res-v4" instead of what the DInc CM7 has "drawable-res." and you cant just rename it because then the XMLs wont link to the files properly. and i dont know how to compile those so, ill have to see what i can figure out... thanks tho.
Click to expand...
Click to collapse
yeah should have mentioned that. i'm trying to port them to skyraider, but it's my first attempt. i've got the icons, but it causes fc's.
Hampster, try this. You can remove the alarm before if you want.
forum.xda-developers.com/showpost.php?p=11539258&postcount=376
Sent from my ADR6300 using XDA App
thanks for the continued effort iceman. i was also pointed to this other option:
http://forum.xda-developers.com/showthread.php?t=958497
ill look into yours and this one. we'll see what works out

[REQ] I need sum teachin I finally got apk manager to work!!!

im finally ready to learn to theme for reals, & i need some help so if ya got gtalk mines [email protected] hit me up i need to learn xml & smali starting with the basics & it turns out my stuff has alot of bad .9.pngs that need to be fixed b4 i can even decompile
this is my only nite off for over a week, Im bored & need someone to lend a helping hand
I would like this help too.
Sent from my SPH-D700 using XDA Premium App
Some links that may help
[GUIDE] Want to learn how to theme?
http://forum.xda-developers.com/showthread.php?t=916814
[Guide] Learning To Theme: Putting the tools to use pt. 1
http://forum.xda-developers.com/showthread.php?t=821638
Android Development and HackingAndroid Themes
http://forum.xda-developers.com/forumdisplay.php?f=527
maybe that can help get you rolling in the right direction.
I've been reading them myself trying to get going too.
Have fun!
Dreamsforgottens tutorial is great. Learned most of my android knowledge there. (Had a little help from Google too);-) Once you get eclipse set up I reccomend installing paint.net it's a nice image editor and it's free. It handles transparent pngs better than photoshop also. Pngcrusher is great for reducing image sizes too. Just remember to optimize your .9.pngs before compiling them in eclipse.
Sent from my SPH-D700 using Tapatalk
Flint420 said:
Dreamsforgottens tutorial is great. Learned most of my android knowledge there. (Had a little help from Google too);-) Once you get eclipse set up I reccomend installing paint.net it's a nice image editor and it's free. It handles transparent pngs better than photoshop also. Pngcrusher is great for reducing image sizes too. Just remember to optimize your .9.pngs before compiling them in eclipse.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
i use gimp & apk manager, what i need is the modified 1.apk bc it keeps erroring when i decompile, & ive been waitin all day for 1 of 2 people to send it to me b4 i can even start anything
ok i got the 1.apk but now i hve no time 2day
greenmuggy said:
ok i got the 1.apk but now i hve no time 2day
Click to expand...
Click to collapse
Bro, Normally I'd be all over helping you, but this week is just crazy busy for me. Hopefully next week will be better.
shane6374 said:
Bro, Normally I'd be all over helping you, but this week is just crazy busy for me. Hopefully next week will be better.
Click to expand...
Click to collapse
I would be usin dreans guides but I've always sucked @ doin work from reading I'm more hands on & ask a lot of questions
Sent from the Trans-Epic Express
greenmuggy said:
I would be usin dreans guides but I've always sucked @ doin work from reading I'm more hands on & ask a lot of questions
Sent from the Trans-Epic Express
Click to expand...
Click to collapse
Me to seems like videos are the best for us huh?
I love the guide Dream put up though its straight up awesome lol wsh there was more to go along with it though
Sent from my SPH-D700
ac16313 said:
Me to seems like videos are the best for us huh?
I love the guide Dream put up though its straight up awesome lol wsh there was more to go along with it though
Sent from my SPH-D700
Click to expand...
Click to collapse
Ya the vids & tutorials are good but I tend to be the person that's has problems left n right, I used to piss my teachers off a lot...
Sent from the Trans-Epic Express
ac16313 said:
Me to seems like videos are the best for us huh?
I love the guide Dream put up though its straight up awesome lol wsh there was more to go along with it though
Sent from my SPH-D700
Click to expand...
Click to collapse
There's Dreams himself. I mean he's up to stuff sometimes, but I'm pretty sure he's pretty open to discussion.
shane6374 said:
Bro, Normally I'd be all over helping you, but this week is just crazy busy for me. Hopefully next week will be better.
Click to expand...
Click to collapse
I cant seem to get apkmanager to sign my apk :/ i decompiled, edited an xml file and recompiled fine but signing errors out instantly and the log says:
Error: could not open `C:\Program Files\Java\jre7\lib\i386\jvm.cfg'
Error: could not open `C:\Program Files\Java\jre7\lib\i386\jvm.cfg'
Could Not Find C:\Users\Nick\Desktop\apk_manager_5.0\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedunsignedMms.apk
Do i need to put java in path like sdk?? im confused lol any help would be great! I currently use signapktic from market but dont know which key to use lol
EDIT: NVM lol i saw what i did wrong...i moved the Java folder out of /program files xD
asdfghjkl said:
I cant seem to get apkmanager to sign my apk :/ i decompiled, edited an xml file and recompiled fine but signing errors out instantly and the log says:
Error: could not open `C:\Program Files\Java\jre7\lib\i386\jvm.cfg'
Error: could not open `C:\Program Files\Java\jre7\lib\i386\jvm.cfg'
Could Not Find C:\Users\Nick\Desktop\apk_manager_5.0\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedunsignedMms.apk
Do i need to put java in path like sdk?? im confused lol any help would be great! I currently use signapktic from market but dont know which key to use lol
Click to expand...
Click to collapse
The fact that your apk is named unsignedunsignedmms is odd. Do you also an apk named unsignedmms in the modding folder as well as a decompiled unsignedmms folder in the projects folder? Also are you trying to sign from the modding folder and not the signing folder?
Edit: I missed something here. You're using a market app to sign your apk's? Why not just use apk manager?
Edit2: I just dl'ed that app, and trying it.
Edit3: With that app you need to have both the original apk and the unsigned modded apk in the folder. Though most apps that you sign, you're only doing it to take the resource.arsc file out of it so not sure why you would do it on your phone.

[REQ] EL26 stock with some exceptions

I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
might want to change your topic it's EL26 EL22 was talked about but just as an RDF file that showed up iirc.
cidica said:
might want to change your topic it's EL26 EL22 was talked about but just as an RDF file that showed up iirc.
Click to expand...
Click to collapse
ACK! you're right. stupid typos
thanks
Wizard Knight said:
I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
Click to expand...
Click to collapse
You don't know about UOT kitchen? Also you should read up on theming since the two things you are asking for can easily be done by you. Its just a matter of changing PNG files within the apk.
Sent from my SPH-D710 using Tapatalk
playya said:
You don't know about UOT kitchen? Also you should read up on theming since the two things you are asking for can easily be done by you. Its just a matter of changing PNG files within the apk.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
here's the problem with that
I have absolutely no idea what you just said, lol
PNG files are image files. Like a .jpg they end with .png
An apk (.apk) is the application package. Every application on your phone is an apk file. You can open them with 7zip - don't unzip it though unless you feel like signing it and other crap. Also, make sure you zipalign and optimize the PNG files (Google that).
Sent from my SPH-D710 using XDA App
KCRic said:
PNG files are image files. Like a .jpg they end with .png
An apk (.apk) is the application package. Every application on your phone is an apk file. You can open them with 7zip - don't unzip it though unless you feel like signing it and other crap. Also, make sure you zipalign and optimize the PNG files (Google that).
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
hahaha now he is really confused. Lol Hey try UOT Kitchen hopefully by now you have looked it up and not just said I dont know what that is. If you have not then pm me and I can try and help you further. But try to help yourself as well...Good luck
Wizard Knight said:
I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
Click to expand...
Click to collapse
If this is something you really want I can do it for you. I would say do it yourself but the battery % mod can be a little tricky. I am assuming you just want the stock battery icons then?
PM me and we can chat more.
Uot kitchen is so easy to do. Just upload the needed files and theme it up
Sent from my SPH-D710 using xda premium
rujelus22 said:
If this is something you really want I can do it for you. I would say do it yourself but the battery % mod can be a little tricky. I am assuming you just want the stock battery icons then?
PM me and we can chat more.
Click to expand...
Click to collapse
What's tricky about exchanging files. He will be.alright and its great practice for future theming. Its android not IOS so nandroid and go at it.
Sent from my SPH-D710 using Tapatalk
Thanks for all the info guys, Im not the OP of this thread but I have learned just as much by reading it, thanks!
i would also like this done...
jocampo86 said:
i would also like this done...
Click to expand...
Click to collapse
Have you ever tried UOT Kitchen, it may also even teach you something about theming....Maybe? Give it a shot
playya said:
What's tricky about exchanging files. He will be.alright and its great practice for future theming. Its android not IOS so nandroid and go at it.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
The default system is not setup for % icons so you have to add a bunch of images and set the xml file to use them. It was more going through the xml. If this is all he wants changed then why would he learn xml?

Softkey question.

When I first started theming the nexus I would go into the .zip of the wanted rom and replace the softkeys. It was very easy because they were all named ic_sysbar...
I have had trouble locating these files for awhile now but have gotten by with the great rom control or toolboxes built into roms. However, I would like to know what these pngs are called now, and where they are located, with in the re.apk.
Could somebody tell me? and is it still as easy as replacing these pngs to make it work?
I know these are noob questions but I cant find the pngs
-Thanks
Please move this thread to Q&A. Thank you!
I'm not of much help on this, but if I were you, I'd delete this thread and put it in Q&A; maybe even Themes and Apps. You're going to get flamed for posting in development, so I'm just trying to help out.
Sent from my Galaxy Nexus using Tapatalk 2
NoobDroid90 said:
When I first started theming the nexus I would go into the .zip of the wanted rom and replace the softkeys. It was very easy because they were all named ic_sysbar...
I have had trouble locating these files for awhile now but have gotten by with the great rom control or toolboxes built into roms. However, I would like to know what these pngs are called now, and where they are located, with in the re.apk.
Could somebody tell me? and is it still as easy as replacing these pngs to make it work?
I know these are noob questions but I cant find the pngs
-Thanks
Click to expand...
Click to collapse
The images are in the SystemUI apk at the /res/drawable-xhdpi folder. They still start with ic_sysbar
Sent from my Galaxy Nexus using xda premium

Categories

Resources