[Q] want to bundle custom framework mods for stock ics - Nexus S Q&A, Help & Troubleshooting

So I love my tweaked and modded ICS 4.0.4 rom. It's blazing fast, killer battery life and I couldn't be happier.. okay I lied. there's some framework-res.apk mods I would realllllly love to flash but I have not idea how to bundle/bake a flash package that includes the ones I want.
I would like to have;
1. Extended reboot menu
2. Either the WP7 or Sense 4.0 multitasking switcher
3. The full album art lockscreen mod
4. any others I don't know about?
But they are all separate framework-res.apk 's and flashing them over eachother either removes the previous mod all together or borks the system.
Any help would be greatly appreciated

delete

alexdemonumber3 said:
I remember when people on XDA were were helpful and nice..
Click to expand...
Click to collapse
It hasn't even been a day yet lol.
You'll need to find out how each tweak was implemented (you can do this by browsing individual decompiled frameworks), then use one of them as a base and implement the other tweaks. Decompile, tweak, recompile and sign/zipalign. For Odexed rooms like stock you'll also need to create a .odex file. Unsure how to do that myself.

Harbb said:
It hasn't even been a day yet lol.
You'll need to find out how each tweak was implemented (you can do this by browsing individual decompiled frameworks), then use one of them as a base and implement the other tweaks. Decompile, tweak, recompile and sign/zipalign. For Odexed rooms like stock you'll also need to create a .odex file. Unsure how to do that myself.
Click to expand...
Click to collapse
thanks for the reply! its the deodexed stock and that's why its so snappy. but I will see what I can do with it in the morning wth the info you gave me. muchos gracias!
Sent from my Nexus S using xda premium

Related

Installing Custom Icon Pack Problem

K, so i'm running RCmix3D Runny 4.0 ROM (Sweet ROM btw) and i've found an icon pack that i want to use, not in an APK format, just have it in a folder as of now, both installed on my desktop and in my media folder on my phone. i really don't want to use Launcher Pro or anything like that to keep the icon pack installed, so i was wondering if anyone knew a way to install the icon pack with a program that doesn't need to be consistently ran to keep the icon pack installed.
i'm not completely retarded when it comes to ROMs, but i am new, so please, be gentle. lol
You would have to use a theme pack made for your Rom if you want to just flash it. If you know how to extract framework apks you could swap out the PNG images yourself.
Sent from my Inspire 4G using xda premium
Thanks for the insight um can u provide a link to a tutorial on the subject
bigslimoid said:
Thanks for the insight um can u provide a link to a tutorial on the subject
Click to expand...
Click to collapse
There is no tutorial that I know of. Learning how to do most of this stuff requires time searching and reading on the internet. I use linux with dsixdas kitchen to have a working folder of Rom. You could just pull out framework-res.apk and systemui.apk from Rom to work with as well. Decompile apk, trade out PNG's retaining original file name, recompile and change extension back to .apk. now you have the apk with different icons. Either build Rom with these or push them to phone and reboot. There are many other places where PNG images are stored as well. Com.HTC.resources.apk is another one for example.

[Q] bloatwares in DXKT7 stock rom??

hello guys,
I am in the learning process making custom ROM from DXKT7 stock rom with dsixda kitchen, with my little knowledge about linux stuff (really little), it's still a long way for me becoming great dev like tj_style or squadzone, but still I wanna learn little by little.. I believe everyone start from n00b, but not all ended up a pro
so allow me asking a few silly n00b question,
1. I've seen many custom rom that have smaller size compare than stock rom, and thus make the performance increases.. so which app/file are safe to remove (bloatware) ? I have search the forum but didn't find the thread explaining about this..
I hope there are devs who humbly answer this question, even provide the list, I really appreciate that
2. does any app in /system/app folder has any dependency/correspondency with another file from another folder (e.g. /system/app/SamsungApp.apk with /system/framework/com.samsung.android.sec_platform_library.jar) ? does it mean if we gonna remove/replace the apk in app folder then we must also remove the file in that other folder?
3. if we gonna replace some apps (apk), does it just drag and drop or there is other thing needed to do?
pardon my silly n00b question guys, and my bad english too..I really hope there are devs who can answer my question,thanks in advance
Prodai said:
hello guys,
I am in the learning process making custom ROM from DXKT7 stock rom with dsixda kitchen, with my little knowledge about linux stuff (really little), it's still a long way for me becoming great dev like tj_style or squadzone, but still I wanna learn little by little.. I believe everyone start from n00b, but not all ended up a pro
so allow me asking a few silly n00b question,
1. I've seen many custom rom that have smaller size compare than stock rom, and thus make the performance increases.. so which app/file are safe to remove (bloatware) ? I have search the forum but didn't find the thread explaining about this..
I hope there are devs who humbly answer this question, even provide the list, I really appreciate that
2. does any app in /system/app folder has any dependency/correspondency with another file from another folder (e.g. /system/app/SamsungApp.apk with /system/framework/com.samsung.android.sec_platform_library.jar) ? does it mean if we gonna remove/replace the apk in app folder then we must also remove the file in that other folder?
3. if we gonna replace some apps (apk), does it just drag and drop or there is other thing needed to do?
pardon my silly n00b question guys, and my bad english too..I really hope there are devs who can answer my question,thanks in advance
Click to expand...
Click to collapse
First of all you are not a noob you are a learner and newbie..dats good u have started on your own..
Answers..
1.if you dont want odexed rom then delete odex files from system/app and they are duplicates..so delete their duplicates..
2.yes some apks are depended on frameworkres.apk for example touchwizz.apk...do delete other apps like youtube,email etc
3.if you are doin on pc copy/paste method is efficient..
I m also doin the same..m getting bootloop on my 1st testbuilt..
Raj joshi said:
First of all you are not a noob you are a learner and newbie..dats good u have started on your own..
Answers..
1.if you dont want odexed rom then delete odex files from system/app and they are duplicates..so delete their duplicates..
2.yes some apks are depended on frameworkres.apk for example touchwizz.apk...do delete other apps like youtube,email etc
3.if you are doin on pc copy/paste method is efficient..
I m also doin the same..m getting bootloop on my 1st testbuilt..
Click to expand...
Click to collapse
thank u for the answer raj
1. did u mean deodexing the rom? yes I have deodexed the rom using dsixda kitchen, so the odex files no longer exist. but I want to remove other app/file that are safe to remove, so I can increase the performance of the rom and make a free space/ smaller rom size. or so to say, I want to slim down the rom. can u tell me what app u have been removed from the stock raj?
2. that's what I think, thank u for confirming raj
so now I'm gonna have to take a look at each folder
3. ok, thank u raj. +1 for u.
Prodai said:
thank u for the answer raj
1. did u mean deodexing the rom? yes I have deodexed the rom using dsixda kitchen, so the odex files no longer exist. but I want to remove other app/file that are safe to remove, so I can increase the performance of the rom and make a free space/ smaller rom size. or so to say, I want to slim down the rom. can u tell me what app u have been removed from the stock raj?
2. that's what I think, thank u for confirming raj
so now I'm gonna have to take a look at each folder
3. ok, thank u raj. +1 for u.
Click to expand...
Click to collapse
Making slimmer rom means deleting extra large stuffs and unwanted junk..see u can make slim stock by deleting some apps in system/app lyk i said before youtube,email,samsung app & new twlauncher by replacing stock..then delete unwanted ringtones etc.. u r done mine rom is jsr 110mb..dats slim at initial basis..i will improve it..
Ok let me get into this straight deleting a couple of apps and slimming it down won't increase the performance..if you still want some Samsung apps and Google apps... And for performance its all about a good kernel.... Ya some apps have dependencies.. Like gtalk needs few location and network based libs and jar files to work any doubts.?? I post a reply I will be happy to help you out...
sent from cyanmobile powered Beni
speed_bot said:
Ok let me get into this straight deleting a couple of apps and slimming it down won't increase the performance..if you still want some Samsung apps and Google apps... And for performance its all about a good kernel.... Ya some apps have dependencies.. Like gtalk needs few location and network based libs and jar files to work any doubts.?? I post a reply I will be happy to help you out...
sent from cyanmobile powered Beni
Click to expand...
Click to collapse
so it means to improve the performance of stock-rom based, we gotta improve the kernel, not deleting the file (and here I thought it will increase available memory/ram because some services is not there anymore :silly: ). but it nice to have cyanmobile maintainer answered this n00b question, thank u, +1 for u
I'm learning how to compile the kernel and add some features, but still it's a looong way for me to go. not kernel yet. I think I shall try with wilfred007. just replace the boot.img right? or should I extract it with dsixda's kitchen and just take the zimage?
edit : I tried replacing boot.img and flashed it.. bootlooooppp.. is it update script? but when I repacked it with dsixda it says no error found.. am I missing something here?
Prodai said:
so it means to improve the performance of stock-rom based, we gotta improve the kernel, not deleting the file (and here I thought it will increase available memory/ram because some services is not there anymore :silly: ). but it nice to have cyanmobile maintainer answered this n00b question, thank u, +1 for u
I'm learning how to compile the kernel and add some features, but still it's a looong way for me to go. not kernel yet. I think I shall try with wilfred007. just replace the boot.img right? or should I extract it with dsixda's kitchen and just take the zimage?
edit : I tried replacing boot.img and flashed it.. bootlooooppp.. is it update script? but when I repacked it with dsixda it says no error found.. am I missing something here?
Click to expand...
Click to collapse
no need to repack unpack... just change the boot.img... as far as the kernel goes.. the less is the size of zimage the more is its performance...
in order to get a good kernel strip unncessary stuff from it.... i could provide a nice way to go about learning kernels..start with a bit of c..then read the zcop thread atleast twice(no copy pasting) understand what each code does...then look through github commits of higher devs...
and dont call yourself a noob a newbie would be better...

[Q] Adding locale pack to stock rom from other stock rom

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...

deodex stock rom

hi
i'd like to know how i can deodex my stock rom
i have a razr hd xt925
thanks
inb4: Sorry for posting in old Thread.
Same Question here, would be great to have stock deodexed.
Hope you can help me
If you don't plan on doing any themeing, there is absolutely no reason to deodex. There is no battery saving, or speed increase by doing it. Most of the time you only need system ui and framework res deodexed to do any simple themeing and mods.
Anyway, when I get back to a computer I'll post a link to the tool I use.
Sent from my DROID RAZR HD using Tapatalk 4
mentose457 said:
If you don't plan on doing any themeing, there is absolutely no reason to deodex. There is no battery saving, or speed increase by doing it. Most of the time you only need system ui and framework res deodexed to do any simple themeing and mods.
Anyway, when I get back to a computer I'll post a link to the tool I use.
Sent from my DROID RAZR HD using Tapatalk 4
Click to expand...
Click to collapse
I was planing to Theme a little, with the Help of XPosed framework, which don't seem to work on odexed roms.
Next thing is, that it's really annoying, to rename twice as much files, if you wnat to change some system apps
Thanks for your help in advance
esok44 said:
I was planing to Theme a little, with the Help of XPosed framework, which don't seem to work on odexed roms.
Next thing is, that it's really annoying, to rename twice as much files, if you wnat to change some system apps
Thanks for your help in advance
Click to expand...
Click to collapse
This is what I use: http://forum.xda-developers.com/showthread.php?t=2213235
Seems to be a nice tool.
I got one Question.
Am i getting this right, i pull the apk's from my phone, use the Tool and afterwards i push them back to /system/app?

Quick Odex vs Deodex Question

I've recently gotten into Android Development and I am thinking of getting into (or attempting to) ROM development. For starters, my main question here is:
What is the difference between the two in the modding sense? I understand Odex is harder to theme, but does this also cause problems in mods like the 5-reboot options mod or the surround sound mod?
If so, is this limited to all mods of any kind and why do these errors occur?
I am not asking for flamers or sarcastic responses. I need a serious answer as I am seriously hoping to start spending my free time with development wherever possible.
Thanks for your time!
I'm just a user and not a developer, but as far as the surround sound mod, I don't think those files are odexed even in the OEM stock ROM, so I don't think it matters. I believe odexed files are only in /system/app and /system/framework, so perhaps any mods to files in other places don't care if you're odexed or deodexed..
YrrchSebor said:
I'm just a user and not a developer, but as far as the surround sound mod, I don't think those files are odexed even in the OEM stock ROM, so I don't think it matters. I believe odexed files are only in /system/app and /system/framework, so perhaps any mods to files in other places don't care if you're odexed or deodexed..
Click to expand...
Click to collapse
Thanks for the response! I'm pretty sure you're right about that.
Numzi said:
Thanks for the response! I'm pretty sure you're right about that.
Click to expand...
Click to collapse
Also, it seems like sometimes you can use a deodexed file even if the rest are odexed...... as long as you remove all the pieces of the odex file and replace it with the deodexed one. I've done it in the past anyway, pre-lollipop.
Well for you and everyone else the roms are de odexed this way u can use tools to decompile the dex files. Anything java related is inside the dex files the rest for the most part is xml configuration and image . For themes you might get away with xml modifications but some tweaks even some colors are in Java.

Categories

Resources