Related
Hi,
I downloaded on the Market a free app, but it's a protected apk.
I'd like to modify this apk to change the language of the app.
Is it possible ?
Thxs.
Sure. classes.dex file was separated from resources, so you have to merge them. And if it was odexed, then you have to deodex it. Not a big deal.
Thanks. I gonna to try this.
In "framework-res.apk/res/layout" when I edit the "status_bar_expanded.xml",
even if I add one dot and delete it again and save the file, it doesn't work
anymore and it stucks on my bootanimation, and loops over and over.
I use "apk manager" for decompiling and compiling the framework-res.apk.
Does any one know what the problem is?
Thank you?
sohrab1985 said:
In "framework-res.apk/res/layout" when I edit the "status_bar_expanded.xml",
even if I add one dot and delete it again and save the file, it doesn't work
anymore and it stucks on my bootanimation, and loops over and over.
I use "apk manager" for decompiling and compiling the framework-res.apk.
Does any one know what the problem is?
Thank you?
Click to expand...
Click to collapse
what do you mean add one dot?
kay_kiat88 said:
what do you mean add one dot?
Click to expand...
Click to collapse
To the code obviously. ie he cant seam to save file without it breaking, even if removing what he added prior to saving.
TheATHEiST said:
To the code obviously. ie he cant seam to save file without it breaking, even if removing what he added prior to saving.
Click to expand...
Click to collapse
i know it's obviously to the code. upload your .xml let me take a look.
also ensure that the /(yourdirectory)/apktool/framework/1.apk where 1.apk is your original framework-res.apk and /(yourdirectory)/apktool/framework/2.apk where 2.apk is your original tw-framework-res.apk
statusbarexpanded
Hey
Do any know what @id/plmnLabel and @id/spnLabel refers to? Im speculating it has something to do with service provider.. Since the theme of framework is set to Black, the service provider text color is black as well, so ive made edits to
...Color=?textColorSecondary on both (removed Inverse) ive not tested this, maybe u have Kay?
biopsin said:
Hey
Do any know what @id/plmnLabel and @id/spnLabel refers to? Im speculating it has something to do with service provider.. Since the theme of framework is set to Black, the service provider text color is black as well, so ive made edits to
...Color=?textColorSecondary on both (removed Inverse) ive not tested this, maybe u have Kay?
Click to expand...
Click to collapse
nope i haven't tested it but u can read here: http://forum.xda-developers.com/showpost.php?p=9066440&postcount=1
android:id="@id/plmnLabel". This is the Carrier name
android:id="@id/spnLabel". This is the Provider name
this post is useful for froyo.
but i'm already on gingerbread. for gingerbread, read: http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
all working great ..
Tnx k - ur right still on froyo
kay_kiat88 said:
what do you mean add one dot?
Click to expand...
Click to collapse
I mean you even can't make a small change in that xml.
kay_kiat88 said:
i know it's obviously to the code. upload your .xml let me take a look.
also ensure that the /(yourdirectory)/apktool/framework/1.apk where 1.apk is your original framework-res.apk and /(yourdirectory)/apktool/framework/2.apk where 2.apk is your original tw-framework-res.apk
Click to expand...
Click to collapse
Here is my "status_bar_expanded.xml"
I just want to change some colors. I did the same thing for other xmls like
"status_bar_latest_event_content.xml" and it works perfectly, but for that
one, it stucks on my bootanimation. when I compile the xml I get no error
but I don't know what the problem is.
For that 1.apk and 2.apk, no I didn't do that.
I'll try it and report back.
sohrab1985 said:
Here is my "status_bar_expanded.xml"
I just want to change some colors. I did the same thing for other xmls like
"status_bar_latest_event_content.xml" and it works perfectly, but for that
one, it stucks on my bootanimation. when I compile the xml I get no error
but I don't know what the problem is.
Click to expand...
Click to collapse
If u use wrong definisions it wil stall.. What color is this in your file android:textColor="#ff7bad00" ?
After compiling did u copy the manifest and metainf folder to the new framework Res?
Sent from my GT-P1000 using XDA Premium App
biopsin said:
If u use wrong definisions it wil stall.. What color is this in your file android:textColor="#ff7bad00" ?
Click to expand...
Click to collapse
it's the color of operator name in status bar and that "clear" button, and I changed it to "#ff000000"
zenkinz said:
After compiling did u copy the manifest and metainf folder to the new framework Res?
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
Honestly, I don't know what those "manifest" and "metainf" are, because I changed some xmls and I'd had no problem with them, So I thought that's the way to compile and decompile framework-res.apk.
Could you plz tell me what should I do? Thanks.
sohrab1985 said:
Honestly, I don't know what those "manifest" and "metainf" are, because I changed some xmls and I'd had no problem with them, So I thought that's the way to compile and decompile framework-res.apk.
Could you plz tell me what should I do? Thanks.
Click to expand...
Click to collapse
I thought u already have this covered because it sounded like you have no problem with other XML except this.
But if u have not heard of the two files/folder I have hightlighted chances are you don't have them in your newly compiled apk which will cause bootloop.
After compiling ur apk you should see that meta-inf folder is missing. U need to copy that from the original API, along with manifest.XML to the new apk.
Sent from my GT-P1000 using XDA Premium App
zenkinz said:
I thought u already have this covered because it sounded like you have no problem with other XML except this.
But if u have not heard of the two files/folder I have hightlighted chances are you don't have them in your newly compiled apk which will cause bootloop.
After compiling ur apk you should see that meta-inf folder is missing. U need to copy that from the original API, along with manifest.XML to the new apk.
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
that's right, I've had no problem with any xmls without copying those files until now, but thanks to you I can edit this one, too.
Thank you so much.
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...
Mod is down: The new thread: HERE
Moderators, feel free to delete this post.
Good Start Man, Hope someone will advise very soon.
Thanks for your effort.:good:
Only de- and recompiling will not really lead to anything.
You have to solve each error here step by step. And as you can see there are many entries missing when recompiling against a framework from a different device and/or Android version.
This means that resolving the missing entries (like simply deleting them in each file) won't help because even if the recompile succeeds it will never run because of errors in the dependencies of the apk etc..
you should specify where you've changed
Tried almost everything but i cant get it working. Also tried VRTheme ZIP but it doesnt work too, it doesn't recognize the 9.png files and show the UI stretched... This is not my work, its for Not-i, Majdinj, Zai89 and other amazing themers for this amazing device (sorry if i forgot other users). I've seen it in S2 forums (Themes and Themed roms too) with the TW2013 UI for 4.1.2 so i dont think it will be very hard to an experienced themer. Thanks for the support. Good Luck to everyone!
You are compiling a a 4.2.2-based apk file with 4.1.2 installed framework, if you see in another thread they must have same version or it is themed apk file.
Can just use X-plore open apk as zip file n copy all the themes but not xml to another apk open as zip file.
not much changes wif just a framework.res.apk n options is alittle too small to fit it..
so no point to make a mod just framework.res.apk
@galaxynote2
The pictures in the attachment aren't useful!
If you want to change the png's, then take them from the original apk out!
Don't decompile it!
So, never use 9.png's from decompiled apk!
Try it again with the 9.png's from the original apk. Just copy them from the apk to your new one. Don't decompile it.
If you try to add some 9.png (from decompiled source), then they looks ugly with the vrtheme system...
(and can't build it with apktool too...)
@tkari4 thank you for the answer! I will try again now..
galaxynote2 said:
@tkari4 thank you for the answer! I will try again now..
Click to expand...
Click to collapse
@galaxynote2
Not working, sorry never made something like that.
The solution for your problem:
Install the 4.2 framework-res.apk (command in the CMD window: apktool if c:/framework-res.apk)
Now decompile your 4.2 framework-res.apk
From the decompiled folders you can add the 9.png's to your 4.1 farmework-res.apk
Install the 4.1 framework-res.apk again
Build your apk and so must work...
tkari4 said:
@galaxynote2
Not working, sorry never made something like that.
The solution for your problem:
Install the 4.2 framework-res.apk (command in the CMD window: apktool if c:/framework-res.apk)
Now decompile your 4.2 framework-res.apk
From the decompiled folders you can add the 9.png's to your 4.1 farmework-res.apk
Install the 4.1 framework-res.apk again
Build your apk and so must work...
Click to expand...
Click to collapse
@tkari4 some progress (attached files). That is my result putting the non-decompiled images in a vr-theme:
Popups are still bugged, 9.png resizing doesnt worked.
Action bars themes (Holo Light and Holo Dark) are now working!
Almost all buttons, checks and ticks are now converted and working.
What to do:
Fix the bugged popups
Convert Text fields (wich are 9.png too so its the same as the popups problems...)
__________________________________________________________________________________________
Can you provide me an S4 framework? Im using the Touchwiz 2013 theme for 4.2.2 Galaxy S3 flasheable zip for converting. I cant find the S4 framework-res to download.
galaxynote2 said:
@tkari4
Can you provide me an S4 framework? Im using the Touchwiz 2013 theme for 4.2.2 Galaxy S3 flasheable zip for converting. I cant find the S4 framework-res to download.
Click to expand...
Click to collapse
Yeah, must have the original apk and decompile it with the 4.2 framework.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2272392
tkari4 said:
Yeah, must have the original apk and decompile it with the 4.2 framework.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2272392
Click to expand...
Click to collapse
@tkari4 Ok, downloaded... (Slow connection).
So, first i need to install the recently downloaded framework in apktool and then decompile my 4.1.2 Note Framework?
Nevermind! Recompiled without problems! I've modified some pngs to se if it works and worked, so now im porting the fully theme. Thank you!
galaxynote2 said:
After all S4 mods for our Note, this is the last touch to have the new Touchwiz Interface in this amazing device.
Click to expand...
Click to collapse
You are gonna be rocked,,
Waiting for download link, As I understand without TW interface out grear Note is useless.
Thanks for your effort and share.:good:
mjrifath said:
You are gonna be rocked,,
Waiting for download link, As I stand without TW interface out grear Note is useless.
Thanks for your effort and share.:good:
Click to expand...
Click to collapse
Could you don't quote the whole thread next time please? Just click the reply button thats all
Juhan Jufri said:
Could you don't quote the whole thread next time please? Just click the reply button thats all
Click to expand...
Click to collapse
Thanks for the info mate. Post edited:laugh:
When you realese this mod?
____________
YES WE SCAN!!!
This thread has to be closed since no updates from OP or there is no any valid MOD
mjrifath said:
This thread has to be closed since no updates from OP or there is no any valid MOD
Click to expand...
Click to collapse
for people who can't wait , you can try flashing this one
http://forum.xda-developers.com/showthread.php?t=2297906
el5arsawi said:
for people who can't wait , you can try flashing this one
http://forum.xda-developers.com/showthread.php?t=2297906
Click to expand...
Click to collapse
Thats for 4.2.2
Please op just provide the s4 style launcher
Sent from my GT-I9100 using xda app-developers app
Hey anybody!
So i've pretty much looked all around, this stuff is scarce.. Could anybody outline the steps for adding active display to your custom rom? I'm already familiar with all the unpacking of apks and jar files, so you don't need to go that far back, just which exact files to edit and in what manner?
the "ChameleonOS" team gave much of the code needed here "http://forum.xda-developers.com/showthread.php?t=2450697" but not much word on how to integrate it in.. I think if someone made a tutorial on this, that'd be awesome.
Thanks
dcutz said:
Hey anybody!
So i've pretty much looked all around, this stuff is scarce.. Could anybody outline the steps for adding active display to your custom rom? I'm already familiar with all the unpacking of apks and jar files, so you don't need to go that far back, just which exact files to edit and in what manner?
the "ChameleonOS" team gave much of the code needed here "http://forum.xda-developers.com/showthread.php?t=2450697" but not much word on how to integrate it in.. I think if someone made a tutorial on this, that'd be awesome.
Thanks
Click to expand...
Click to collapse
It has to be intergrated while building from source.
atrix2man said:
It has to be intergrated while building from source.
Click to expand...
Click to collapse
can't you just add it in? like modify the framework and stuff?
dcutz said:
can't you just add it in? like modify the framework and stuff?
Click to expand...
Click to collapse
Maybe..if u knew what you were doing..it would be really hard