[Q] Question to developers ? - Galaxy Note II Q&A, Help & Troubleshooting

Hi,
I am trying to create a theme for Note 2 with Note 3 mods. I am currently using DN3 v3 rom.
These are my questions :
1. I would like to know where installed apps from play store keeps there icons "I want to change them"
2. Where are all the stock apps "pre installed apps" located ?
3. Do i need to do any xml programming when replacing the app icons ?
Please tell me the path to those locations if you know it :fingers-crossed:

Each app is an apk file, and it contains icon(s). So there is no central place where all icons are stored.
the best you can do is to create an iconpack theme. just download one (it is apk file as well) and see how it's done. apk's are just signed-zip files, so you can open them (unzip) with any app like winzip or total commander (it is harder putting it back together). There are a lot of iconpacks available, just google it.

dalanik said:
Each app is an apk file, and it contains icon(s). So there is no central place where all icons are stored.
the best you can do is to create an iconpack theme. just download one (it is apk file as well) and see how it's done. apk's are just signed-zip files, so you can open them (unzip) with any app like winzip or total commander (it is harder putting it back together). There are a lot of iconpacks available, just google it.
Click to expand...
Click to collapse
Thanks i use "Ninja Morph" on the phone so it should be easy enough to unpack and then repack i hope

I need help i cant find the META-INF folder. Where would i find that folder ?
I got a message as showen in the picture that i need to copy 2 files where to i found the AndroidManifest.xml but i cant find the other one called META-INF and i have looked everywhere in the decompiled folder. What should i do ?

Related

htc hero original image files

hi there,
any chance to get all the image files used in the hero? - icons, background images, buttons, etc.? i am about to do a htc hero theme for my blackberry. any hints appreciated thanks
cheers.
here is the rom
now its down to you
http://forum.xda-developers.com/showthread.php?t=533808
thanks a lot
uhm. how do i open those files?
woelv said:
uhm. how do i open those files?
Click to expand...
Click to collapse
me too sorry newbie
please someone give a hint..
interrested too but don't abble to opne files... try to rename the .img in .zip but doesn't work...
Please help
I believe the file at the link given above has the "system image" files. You guys are just trying to make a theme so I am guessing you want the "picture" images only right? It would be easier to just extract a rom from the dream android development area and extract the apk files and wallpapers from it.
Here is a link to a thread that contains a dump of the system folder from T-Mobile UK 1.76.110.6 Hero rom
http://forum.xda-developers.com/showthread.php?t=542218
The icons, artwork, and such are located within the apk files which are basically renamed zip files. Good luck.
right, i was looking for picture files - and now i've got them. thanks!

[REF] Porting 2.1 (JM8) Samsung Keyboard to 2.2 (JPK)

Tools needed: smali, baksmali (google them), a JDK, and an extracted factoryfs.rfs from an éclair ROM.
(If you don't have a linux machine to mount an .rfs file to a directory never forget that your device has linux on it, so it can actually mount the .rfs file to a directory)
First collect the files you need from factoryfs.rfs:
/app/AxT9IME.apk
/app/AxT9IME.odex
/lib/libXt9core.so (this is actually the same file that's inside the apk)
/lib/libDHWR.so
/framework/android.policy.odex
/framework/core.odex
/framework/ext.odex
/framework/framework.odex
/framework/services.odex
Copy all the odex files into the same directory as baksmali is. Disassemble it with:
java -jar baksmali.jar -x AxT9IME.odex
This should create an out directory, with the disassembled, and deoptimized files. Now reassemble them, with smali:
java -jar out
This should create an out.dex file. Rename it to classes.dex, and put it into the AxT9IME.apk (don't be fooled by the extension, it's a simple zip file)
Now copy the following files to your phone:
AxT9IME.apk --> /system/app
libXt9core.so --> /system/lib
libDHWR.so --> /system/lib
Remove the following files:
/system/app/AxT9IME.odex
/system/lib/libdhwr.so (this is lowercase. The above was uppercase. Case does matter!)
Now try to enable the samsung keyboard. If everything goes well then you can now use the old keyboard.
-----
Alternatively if you needed the keyboard from the XWJM8 version, you can download the result files from here: http://android.sztupy.hu/dl/SamsungKeyboardFroyo.zip
Thank you
can I use this method in order to replace framework.jar/framework.odex from another build?
JHJP4 support proper BIDI (for Hebrew/Arabic and other RTL languages)
And how do we do the opposite? Want 2.44 on eclair =)
Should work the same
omrij said:
Thank you
can I use this method in order to replace framework.jar/framework.odex from another build?
JHJP4 support proper BIDI (for Hebrew/Arabic and other RTL languages)
Click to expand...
Click to collapse
No, framework.jar is too much different between eclair and froyo. You can only port simple applications (in /system/app) this way.
dupel said:
And how do we do the opposite? Want 2.44 on eclair =)
Click to expand...
Click to collapse
It would only work if the new keyboard doesn't use anything FroYo specific (like gesture support, or enhanced multitouch support). If it does use froyo specific api functions it will break under eclair.
sztupy said:
No, framework.jar is too much different between eclair and froyo. You can only port simple applications (in /system/app) this way.
Click to expand...
Click to collapse
Both frameworks are from Froyo
just different version
JP4 framework has proper BIDI support
omrij said:
Both frameworks are from Froyo
just different version
JP4 framework has proper BIDI support
Click to expand...
Click to collapse
If framework.jar changes then all pre-optimized files (odex) have to be reoptimized (the same way as the tutorial above shows), and even after that it might not work...
hi can I ask a few questions. I don't know much about these complicated things, but I will try my best.
can we collect files you asked us from factoryfs, through root explorer.
you asked to copy file with capital letters to phone and then asked to remove same file name with small letters. can one directory have two files with same name?
and finally how would we copy files to the phone?
thanks.
Sent from my Nexus One using Tapatalk
pitsyapa said:
hi can I ask a few questions. I don't know much about these complicated things, but I will try my best.
can we collect files you asked us from factoryfs, through root explorer.
you asked to copy file with capital letters to phone and then asked to remove same file name with small letters. can one directory have two files with same name?
and finally how would we copy files to the phone?
thanks.
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
You can use rootexplorer to transfer the files to /sdcard modify them on the PC, tran transfer them back from /sdcard to their location.
thanks I really appreciate your help can I ask you another simple question. I have downloaded jdk.
and installed it. how do I use these commands to disessemble, java jar. is there any special java prograame. thanks.
thanks v much. problem solved. ported urdu keyboard from eclair to jpk. thanks again.
How do I know which files from /lib do I need to replace?
I'm trying to use contacts apk from other froyo rom
So, I tried the above instructions, and all I get is errors with bksmali, but i get the out directory, then when I run smali, it get another bunch of errors, but no out.dex. Any help would be amazing.
I haven't tried any of this other than trying to just install the AxT9IME.apk which obviously didn't work. I can enable it but trying to switch to it or access its settings instantly resorts in a force closure.
What I don't think I've seen mentioned is whether or not the end result of this allows you to have both the 2.2 and the 2.1 keyboards. Could anyone clarify for me if you get both or just the 2.1 keyboard in the end?
Lastly, would it be possible for someone to write an app (downloadable via market) for this keyboard for any android version? Because that'd be pretty awesome.
It'd be nice if it didnt create an app-drawer icon, but I wouldn't mind as Go Launcher allows me to hide unwanted apps.
I honestly like the 2.2 keyboard, but the 2.1 one (with its 4 pages) has symbols in on it that I have seen no where else, which is pretty cool and why I'm wanting it.

[Q] How to Mod

OK, I have been searching and searching. I can find a lot of places where they post mods but I was hoping there would be a walkthrough for first timers. I would like to start modding some of the apps on my phone. (AKA Widgets transparent or themed). is there a place I can find what files contain what images for HTC Sense? when I was playing with modding in windows mobile sense I found a lot of info but I can not seem to find too much here.
I believe these are the steps:
1. get apk
2. unzip and change images
3. repack apk
4. copy apk to /system/app
I am not sure how to repack a apk yet (any pointers would be great). I am not sure I am suppose to get the apk from the system folder or from the website? by copying it to the system folder is that enough? or do I have to install it?
Any little pointers would be great.
Thanks,
SoBBie
http://forum.xda-developers.com/showthread.php?t=916814
Everything you need to know is there. Read all of the guides. Any questions? Ask in that thread. They are very helpful.
Sent from my ADR6300 using XDA App
Thanks I will start there. and ask there.
SoBBie

[Q] Begginner's Theming Question

I am very interested in theming and I downloaded all the recommended software/programs mentioned in the theming threads...
However I can NOT find the answer to my question---
once I have everything I need to edit/create a theme how do I actually begin?
What I mean is, for example, if you want to edit a .PSD file you would open Photoshop to edit the file....
so which program do I use first to open the theme I plan to edit? and is there a "stock" theme to edit as I like or would I download...say...the Evo stock ROM and edit the files in there?
I think I read I should begin with 7z? is this right?
All I've found so far is alot of technical explanations for someone who has experience...once I find out the basics I'm sure it will all fall into place...
if there IS an easy answer posted can someone PLEASE point me in the right direction?
Thanks.
*EDIT*
I was double-clicking on framework-res.apk (following instructions) which was why it wasn't working...once I extracted the file using 7zip all the drawable files were there...I had NO IDEA there were THIS many .png images to edit...lord have mercy...this is gonna be FUN.
If u use a program called apk manager u can put an apk in the and decompile the apk. That mean it opens up the resources.arcs and the classes.dex files and also turns the bianry XML files to readable XML. Meaning u can use this to edit XML and smali files to change colors(mostly in xml files) and also rearange things if u know how to edit smali files. The decompiling also show u all the pngs and the .9 PNG files. The .9 PNG files here will already be showing there draw 9 edit so all u really have to do is edit the image leaving the very edges alone and ur done. Then once all ur edits are done u can recompile the apk and push it back to ur phone. U might have to resign the apk or however u want but there is an easy way to get started. The framework apk is a system apk so u might have to select the correct way to decompile it.
Hope this helps.
See other tutorials on how to create flashable zips and how to edit smali files and XML files.
Usually codes in XML files for colors are set in an eight digit code that cool look like this...ff000000(black) or this ffffffff(white). If u good XML color codes u can find many sites that give show u colors and there codes but to help it works like this...ffrrbbgg....meaning ff (amount of transparency) rr (red) bb (blue) gg (green). I might have put colors in wrong order but u get gist I hope.
Just make sure when editing ur PNG images that when u save them u save them as a PNG only also when editing .9 png files(stretchable pngs) that u leave it as a .9png file. When u save it if it asks just save as PNG but the .9 will stay.
Hope this helps a little
Btw the amount if edits through out an entire them (many apks) is rediculous and many people have no clue how time consuming it can be.
If u need further help u can gtalk me and id be happy to walk u through the process. [email protected]
yeah I downloadad all the tools needed but where I got stuck was, once I have the tools, ROM, etc where do I actually begin at?
I was reading the Ultimate Theming Guide by Google (here) but got confused when it said "double-click the framework-res.apk"...it should have said "extract framework-res.apk with 7ZIP"....when I double-clicked I got all the crazy-looking letters that seemed to be encoded...when I extracted with 7ZIP I saw all the drawable images...all 800+ of them...had no idea there were that many...
so all I have to do, as far as small changes, is edit the .png images in the drawable folders, archive it back together and sign it? do I make it a .ZIP or an UPDATE archive?
broad_st_bully said:
yeah I downloadad all the tools needed but where I got stuck was, once I have the tools, ROM, etc where do I actually begin at?
I was reading the Ultimate Theming Guide by Google (here) but got confused when it said "double-click the framework-res.apk"...it should have said "extract framework-res.apk with 7ZIP"....when I double-clicked I got all the crazy-looking letters that seemed to be encoded...when I extracted with 7ZIP I saw all the drawable images...all 800+ of them...had no idea there were that many...
so all I have to do, as far as small changes, is edit the .png images in the drawable folders, archive it back together and sign it? do I make it a .ZIP or an UPDATE archive?
Click to expand...
Click to collapse
If u want to flash it yes if u want to just copy and paste to ur phone then no. If u c & p it then make sure u set the permissions after
smurf
so if i edit the 9.pngs say just the color i dont have to run them through draw9patch or anything like that?
dased14 said:
smurf
so if i edit the 9.pngs say just the color i dont have to run them through draw9patch or anything like that?
Click to expand...
Click to collapse
If u edit their colors u have to run in draw9patch and then recompile them. There is a program called "xultimate-d9pc" that u can use to recompile them. Do a goodle search and Ull find the script. Its easy to use and easy to setup. If u don't ur .9 files will look jacked up
i have that(couldnt get it to work right) i'll try it again. thanks smurf
dased14 said:
i have that(couldnt get it to work right) i'll try it again. thanks smurf
Click to expand...
Click to collapse
To get it to work I created a folder call draw 9 compiler. I put the script and the folder called originals in there. Inside the original folder I creates a few folders called drawable, drawable-hdpi, drawable-mdpi, drawable-ldpi. Then after I edit and draw9patch my images I put each one in the ffolders they belong in and go to xultamate-d9pc and click k on it and it will create a done folder u can go into and and all the images will be fixed in there
I'll try that, thanks for the tip
now the voices are 3d
sweet that looks to work perfect only thing extra i had to do was make original/res/then the other folders you said. thank you smurf
dased14 said:
sweet that looks to work perfect only thing extra i had to do was make original/res/then the other folders you said. thank you smurf
Click to expand...
Click to collapse
Ur welcome and yeah my bad I meant to tell u Res file first. But glad its working

Htc weather icons

Hi everyone,
does anyone knows why the weather icons extracted from htc framework.apk or weather widget.apk looks as they are damaged (as you can see in attached jpg there is a strange background instead of a empty background) ?
does exist some specific application to view them properly?
thanks
From which file and which directory did you get them ? and how did you extracted them ?
just opened /system/framework/com.htc.resources.apk then /res/drawable-xhpdi
i also tried apktool to decompile apk but same result
well you are on the right path. you need to decompile them properly. i use Virtual Ten Studio, works perfectly :good:
edit : you can't decompile the com.htc.recources.apk and that weather picture is not in the com.htc.recourses.apk anyway........
the com.htc.resources.apk can be unpacked with 7zip, then edit the files in the xhdpi folder. when done you open the com.htc.resources.apk and drag the edited xhdpi folder back in to the file.
the weatherwidget that actually has that picture needs to be decompiled.
Mr Hofs said:
well you are on the right path. you need to decompile them properly. i use Virtual Ten Studio, works perfectly :good:
edit : you can't decompile the com.htc.recources.apk and that weather picture is not in the com.htc.recourses.apk anyway........
the com.htc.resources.apk can be unpacked with 7zip, then edit the files in the xhdpi folder. when done you open the com.htc.resources.apk and drag the edited xhdpi folder back in to the file.
the weatherwidget that actually has that picture needs to be decompiled.
Click to expand...
Click to collapse
thanks for you support but i can't get Virtual ten studio anywhere
only "virtuous ten studio" appears in google search
sorry my mistake....thats the one. autocorrectfail
maybe i miss some step. if I decompile com.htc.resources.apk or /system/app/weatherwidget.apk i always get "corrupted" weather jpg inside xhdpi folder. how can I see that icons without that strange background?. i need to modify them but first i need to open/see them properly
thanks again for your support
You cant decompile the resources.apk you must unzip it and modify the PNG files and place them back in the .apk
For the others it should work, maybe you should setup the proper framework. Check the VTS site. All sorts of tutorials there

Categories

Resources