sorry if this is in the wrong section
The question is: how to find which framework files are required by an app?
well i am building a rom and i am adding a few apps from stock rom (eg touchwiz Gallery chat on etc)
so i want to know which framework file are utilised by these and oter few apps.
iamashwin said:
sorry if this is in the wrong section
The question is: how to find which framework files are required by an app?
well i am building a rom and i am adding a few apps from stock rom (eg touchwiz Gallery chat on etc)
so i want to know which framework file are utilised by these and oter few apps.
Click to expand...
Click to collapse
First off using those fonts sizes are pointless.
You will need all framework from the rom you are porting them from. In you example you will have to have all of touchwiz framework files. there are 3 TWframeworks-res, framework-res and lidroid-res apks as well as other lib files needed.
Related
Need to know how to make flashable zips for my rom releases without apks just framework images!
Any quidance would be of help!
Building a rom from the ground up is easier than this but i need to start making them for the build cause i have a crapload of images with no place to go thanks! just pm me or whatever! thanks
eVoKINGS said:
Need to know how to make flashable zips for my rom releases without apks just framework images!
Any quidance would be of help!
Building a rom from the ground up is easier than this but i need to start making them for the build cause i have a crapload of images with no place to go thanks! just pm me or whatever! thanks
Click to expand...
Click to collapse
If you are just using images I would say metamorph is the only option I know of that can replace files in .apk on the fly. Its not a flashable zip though.
Give this a try... this will port png's from one rom to another. you just need to pull the framwork-res.apk and resources.apk from framework from your rom and put it in the "new" folder. and put the same apk's from the theme you want to port in the "old" folder, both under the framework folder with in the "new" and "old" folders. and run the script.... there are also app folders for any themed apps that you want to port also.... same thing with those, yours in the new and the themed ones to port in the old.... Just remember, these are only png ports, you still need to do xml edits if there are any...
this is not my work, found it here on xda a very long time ago and don't remember from who but thanx to him or them......
View attachment Theme-Porter.zip
Hi all xda-dev experts
I have two questions regarding odexed and deodexed roms and apps;
1. If I have deodexed rom installed on my phone, and I want to replace one default deodexed apk with one odexed from an odexed rom, can I simply copying the .apk and the corresponding .odex files into /system/app/ ?
2. If I have odexed rom installed on my phone, and I want to replace one default odexed apk with one deodexed from an deodexed rom, can I simply copying the .apk into /system/app/ and then deleting or leaving the corresponding .odex files?
I'm no expert though, but I don't think you can.
There is an app call "OdexMy" that convert all apps in system/app to odex, but for one application ? i'm not sure.
dohab said:
I'm no expert though, but I don't think you can.
There is an app call "OdexMy" that convert all apps in system/app to odex, but for one application ? i'm not sure.
Click to expand...
Click to collapse
How about Xperia S ICS rom? there are some apks that are odexed while the other apks aren't, the files inside framework folder too; some are odexed and the others aren't.
P.S.
I'm not asking about deodexing some odexed apks or vice versa.
Hi.
I'd like to add language packs from a stock samsung rom to another samsung rom.
For example take all the languages from EU SGSII LTE and add them to SGSII LTE Skyrocket?
Is there some script or program or a non-time-consuming solution if all the apps (except for carrier bloat) ar the same?
bump?
¡Ԁwnq
Add the apk to the app directory in the rom. Just extract the two roms with 7zip and copy it from the rom it's in into the rom you want it in. Zip it up and flash it. Look for system/app.
Edit, if you really meant stock and not from zip's, You're on your own
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Deodex stock ROM.
Decompile the framework resources (system/framework/*.apk) and all the stock apps (/system/app/*.apk) from source and target builds.
Copy over all the language files (under eack APK at /res/values-*) to the target build.
Recompile all the framework resources and apps.
You can do it all app-by-app, if you want.
Lots of work.
ROM will grow significantly.
Can't be done without de+recompiling - language resources are XML.
jd1639 said:
Add the apk to the app directory in the rom. Just extract the two roms with 7zip and copy it from the rom it's in into the rom you want it in. Zip it up and flash it. Look for system/app.
Edit, if you really meant stock and not from zip's, You're on your own
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Zip's are fine, but i've tried doing what you said, som time ago, and ended up with a bootloop. Thanks for the effort
Jack_R1 said:
Deodex stock ROM.
Decompile the framework resources (system/framework/*.apk) and all the stock apps (/system/app/*.apk) from source and target builds.
Copy over all the language files (under eack APK at /res/values-*) to the target build.
Recompile all the framework resources and apps.
You can do it all app-by-app, if you want.
Lots of work.
ROM will grow significantly.
Can't be done without de+recompiling - language resources are XML.
Click to expand...
Click to collapse
Yes that's what I thought. Do you know if I have to add language entries to the language chooser menu or will they pop up automatically?
Don't know the answer to that one... Sorry. I'd be interested to know that too.
Jack_R1 said:
Don't know the answer to that one... Sorry. I'd be interested to know that too.
Click to expand...
Click to collapse
I found some info on this problem:
http://forum.xda-developers.com/showthread.php?t=1924043
http://forum.xda-developers.com/showthread.php?t=1564694&highlight=tool
Lol sometimes it's easier to search by making a new thread and look what similar threads pop up
EDIT:
After some searching on the topic of adding languages to roms, batch decompiling of apk's etc i've found lots of useful info. I'll report back when i have anything to show...
Hi everybody
I'm looking for "how to change the default apps and wallpapers on mediatek devices" in order to make my own custom ROM.
For default apps, I tried to put .apk files in /system/app, and created a backup using MTKDroidTools, but it didn't work (like the MX Player apk file). Can someone help me for this.
Also I couldn't find how to replace defalut wallpapers in my stock ROM.
I have a iNew i2000 (MT6589)
Thanks
for that you have to put .so files in system / lib folder...btw putting apps like mx player is not a good idea.... as user can install them... it just make rom bulky...
Sent from my IRIS_501 using xda premium
akash akya said:
for that you have to put .so files in system / lib folder...btw putting apps like mx player is not a good idea.... as user can install them... it just make rom bulky...
Sent from my IRIS_501 using xda premium
Click to expand...
Click to collapse
Thanks for answering
I have to edit .so files? if so, which ones? and I will have to do it with which software?
For default apps, I used MX Player for testing purposes, I want to put a custom app in order to be a default app in my ROM
Thank you again
ilyasovich said:
Hi everybody
I'm looking for "how to change the default apps and wallpapers on mediatek devices" in order to make my own custom ROM.
For default apps, I tried to put .apk files in /system/app, and created a backup using MTKDroidTools, but it didn't work (like the MX Player apk file). Can someone help me for this.
Also I couldn't find how to replace defalut wallpapers in my stock ROM.
I have a iNew i2000 (MT6589)
Thanks
Click to expand...
Click to collapse
To change default wallpaper you have to edit framework-res.apk, and replace defaultwallpaper.jpg
To change wallpapers in launcher you have to edit Launcher2.apk, and replace wallpaperXX.jpg and their thumbnails for your dpi
To add apps, put them in /system/app, and if it contains any lib in apk package (check it using 7zip or winrar), extract it and put inside /system/lib/
lolet said:
To change default wallpaper you have to edit framework-res.apk, and replace defaultwallpaper.jpg
To change wallpapers in launcher you have to edit Launcher2.apk, and replace wallpaperXX.jpg and their thumbnails for your dpi
To add apps, put them in /system/app, and if it contains any lib in apk package (check it using 7zip or winrar), extract it and put inside /system/lib/
Click to expand...
Click to collapse
Thanks, I'm going to try it and I will tell you the result
Hi guys, Im porting SystemUI from a rom I found to my JB stock rom, I decompiled the app but I cant find the file where is the appareance values of recente apps menu.
I'd appreciate if someone tell me how to change the style of recent apps menu. Thanks
PD: Im sorry for my poor english. I did my best
Not gonna be that easy. The recents apps are. Coded through out the whole system. You will have to rewrite the system ui, framework res as well as a few jar files all in Java code.
zelendel said:
Not gonna be that easy. The recents apps are. Coded through out the whole system. You will have to rewrite the system ui, framework res as well as a few jar files all in Java code.
Click to expand...
Click to collapse
I replace my systemUI with root explorer and it changed. Its not a big change, the only difference is the orientation of the recent app menu, but I think it was designed for Hdpi screens , so I want to change values and see if it works , but I dont know which file I have to edit. I have Java and C programming knowledge.
PD: Sorry for my english, its not my native language