Hi all, first i'm sorry for my poor english and thanks to anyone can help me After long time of searching how to modify an apk, i decided to modify systemui.apk to change notification pulldown background. i was very happy when i decompile, modified and re-compile in success. And i put modified apk to phone and waiting for good result.But i lost my statusbar and home button was in wrong position ( plz look at attached image ) So i tried 2 way to sign modifid apk : use winrar add META IFF folder straight to new apk and in other way i put back resource.arc file to the new apk after extracted from it. Hmm the resut was not like i hope. So any one here can tell me which step i was wrong or something like it and how to fix to get better result
Again thank in advance to everyone :good:
It's probably the image that's wrong.
You try to flash the rom or use the Backup and then set the lock screen by the member Xda post
XperienceD said:
It's probably the image that's wrong.
Click to expand...
Click to collapse
Sorry mate, what you mean ? If i remember exactly Themeing tool is your, and u also used it to modify an apk and attention to the notice that you mentioned in your guide before using new apk.
Oohhlala said:
Sorry mate, what you mean ? If i remember exactly Themeing tool is your, and u also used it to modify an apk and attention to the notice that you mentioned in your guide before using new apk.
Click to expand...
Click to collapse
What have you edited?
Sent from my CM9'd Arc
XperienceD said:
What have you edited?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
deleting a line in .xml file and put an image.png into drawable-hdpi
Well there is the issue. Is this from a guide?
Sent from my CM9'd Arc
XperienceD said:
Well there is the issue. Is this from a guide?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
yes, i used themingtool without any error in decompiling and re-compiling, but when put new apk to phone , i dont know how to make it work,
Oohhlala said:
yes, i used themingtool without any error in decompiling and re-compiling, but when put new apk to phone , i dont know how to make it work,
Click to expand...
Click to collapse
What tool, what guide???
Sent from my CM9'd Arc
XperienceD said:
What tool, what guide???
Sent from my CM9'd Arc
Click to expand...
Click to collapse
tool from here : http://forum.xda-developers.com/showthread.php?t=1374394
guide from here : http://forum.xda-developers.com/showthread.php?t=1803813
Upload the unmodified apk and I'll take a look when I get home.
Sent from my CM9'd Arc
Delete the public.xml and recompile and report back.
XperienceD said:
Delete the public.xml and recompile and report back.
Click to expand...
Click to collapse
first attached file is original apk and next is the one i modified with deleting public.xml and just re-compile
Oohhlala said:
first attached file is original apk and next is the one i modified with deleting public.xml and just re-compile
Click to expand...
Click to collapse
And did it work? I'm on CM9 so can't test it.
XperienceD said:
And did it work? I'm on CM9 so can't test it.
Click to expand...
Click to collapse
no, it didn't work, the statusbar still disappeared
Related
I cant find a working framework.apk to use for 1.apk so i can decompile system apk's i used to have it but i had to reformat my pc & i couldnt recover it so if anyone here has one they can lend me it would be much appreciated
greenmuggy said:
I cant find a working framework.apk to use for 1.apk so i can decompile system apk's i used to have it but i had to reformat my pc & i couldnt recover it so if anyone here has one they can lend me it would be much appreciated
Click to expand...
Click to collapse
I think I'm confused lol are you looking for a stock framework-res.apk so that you can decompile and compile?
Sent from my SPH-D700 using Tapatalk
travismoreno said:
I think I'm confused lol are you looking for a stock framework-res.apk so that you can decompile and compile?
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
yes exactly
Read this: http://forum.xda-developers.com/showpost.php?p=16747783&postcount=1171
shane6374 said:
Read this: http://forum.xda-developers.com/showpost.php?p=16747783&postcount=1171
Click to expand...
Click to collapse
i use apk manager, but the folder it needs to go in is apk tool
I has the ei22 update .zip how can i pull the framework outta that???
greenmuggy said:
I has the ei22 update .zip how can i pull the framework outta that???
Click to expand...
Click to collapse
Pull it from one of the stock deodexed roms.
shane6374 said:
Pull it from one of the stock deodexed roms.
Click to expand...
Click to collapse
cant find one they are all not so stock...
solved
solved thanx shane for the link & helpin me figure this out
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
kishore55 said:
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
Click to expand...
Click to collapse
apk tool is ur frnd.. GOOGLE FOR INSTALLATION
do.a.search on xda about apktool
kishore55 said:
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
Click to expand...
Click to collapse
Try APK MANAGER... Its lot more easier....
emjimadhu said:
Try APK MANAGER... Its lot more easier....
Click to expand...
Click to collapse
help me.quick tutorial apk manager for me decompile&recompile then place in system/app how to apk work..thank
expample: mms.apk..i mod it then i replace it in system/app but not working
You have to sign it with the same signature keys as the phone's framework.
bumslayer said:
You have to sign it with the same signature keys as the phone's framework.
Click to expand...
Click to collapse
more explain to me plz
I think you need this
http://youtu.be/oLQynXg8noM
dude go ahead and do some search
anyways just press thanks
if you just want to change icon or the picture, the easiest way is by open the apk file via 7zip then copy the files into it. its also work if you change some of the script. just put the scipt back to folder. I've used this method to modify systemUI.apk and framework-res.apk. it works fine for me.
kurotsugi said:
if you just want to change icon or the picture, the easiest way is by open the apk file via 7zip then copy the files into it. its also work if you change some of the script. just put the scipt back to folder. I've used this method to modify systemUI.apk and framework-res.apk. it works fine for me.
Click to expand...
Click to collapse
hey thanks man i will try for it...
Hi guys this is my first post here in xda!
I'm here to ask a thing:
When i unboxed my XPERIA PLAY I and turned it on i looked to the black status bar on the phone framework and looked to the box framework that was more beauty and was blue with white icons.
Can someone tell me if its possible to get the original blue framework like the image i have posted above, thanks in advanced, and sorry my English :S.
The photo of the box us edited with the computer. The statusbar looks on every xperia play that is on stock "ugly".
You must be rooted and edit the systemui.apk to get this
Spatinator said:
The photo of the box us edited with the computer. The statusbar looks on every xperia play that is on stock "ugly".
You must be rooted and edit the systemui.apk to get this
Click to expand...
Click to collapse
My PLAY is rooted, and i have 2.3.4 with it, what things i need to edit in systemui.apk and where do i get those files?
Thanks.
Which theme did u use?? I think its a theme effect. Try changing it to blue.
Sent from my R800i using xda premium
It's not a theme effect, it's actually older amdtroid version. I remembered my friend's X10 android 2.1 stock has this battery style.
jeff7424 said:
It's not a theme effect, it's actually older amdtroid version. I remembered my friend's X10 android 2.1 stock has this battery style.
Click to expand...
Click to collapse
Hi, do you know how can i get it? Thank's in advanced
imputazz said:
Hi, do you know how can i get it? Thank's in advanced
Click to expand...
Click to collapse
You'll need to modify the battery icons inside framework-res.apk then push it back into system. Maybe you can ask someone to theme it for you
jeff7424 said:
You'll need to modify the battery icons inside framework-res.apk then push it back into system. Maybe you can ask someone to theme it for you
Click to expand...
Click to collapse
Thanks for the reply i will test it
imputazz said:
Thanks for the reply i will test it
Click to expand...
Click to collapse
One more thing, do a nandroid backup before you modify. And make it a flashable zip and flash it via CWM.
jeff7424 said:
One more thing, do a nandroid backup before you modify. And make it a flashable zip and flash it via CWM.
Click to expand...
Click to collapse
Hi, it didnt worked still my framework :/ Thanks anyway
jeff7424 said:
You'll need to modify the battery icons inside framework-res.apk then push it back into system. Maybe you can ask someone to theme it for you
Click to expand...
Click to collapse
Noo thats wrong. you need to edit systemui.apk in /system/app.
the systemui.apk actually prodyces the statusbar
Spatinator said:
Noo thats wrong. you need to edit systemui.apk in /system/app.
the systemui.apk actually prodyces the statusbar
Click to expand...
Click to collapse
Battery icon is inside the framework-res.apk, that's what I remembered.
jeff7424 said:
Battery icon is inside the framework-res.apk, that's what I remembered.
Click to expand...
Click to collapse
Yeah thats true there are some parts in framewirk res apk.
Hi all
Could someone please modify this apk res/layout/statusbar.xml, to delete the clock in the status bar (just a the right of the battery icon )
Thx a lot in advance !
fabulous69 said:
Hi all
Could someone please modify this apk res/layout/statusbar.xml, to delete the clock in the status bar (just a the right of the battery icon )
Thx a lot in advance !
Click to expand...
Click to collapse
What line(s) in statusbar.xml need changed?
its the one with clock, only one line has the word "clock"
thx for help !
fabulous69 said:
its the one with clock, only one line has the word "clock"
thx for help !
Click to expand...
Click to collapse
I just deleted the lines for the clock in that xml. I obviously didn't test it, so make sure you know how to recover if it doesn't work. The .zip that is attached is NOT flashable. I also put a working 4.2.x apktool in there with instructions for you to do it yourself if you want to in the future. It's pretty easy to do if you have a working apktool (I compiled this one from paulobrein's github since he edited the source to be compatible with 4.2).
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
fabulous69 said:
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
Click to expand...
Click to collapse
The size change might just because the zip is compressed more or less. It doesn't always mean anything is wrong. You can decompile it again and compare the contents with the original to make sure everything is there. Do you know how that mod is usually made? Is deleting the lines the correct way?
Sent from my Galaxy Nexus using Tapatalk 2
fabulous69 said:
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
Click to expand...
Click to collapse
Have tried the edit myself,with SystemUI, dont sign it, open the original and copy META-INF and androidmanifest.xml over to your new file,let me know if it worked.
Just rename to SystemUI.apk and push to system/app and reboot
Hello people !
Many people asked, how i can get Xperia X animation on my
Xperia device running on MM, Well Here is the guide howto modify
it to get that pretty fluid and nice animation.
What it do:
When you locked your phone, and you unlock it
with the lockscreen, the animation goes not up but
from right to the left and your homescreen get opened.
What you need:
Apktool
Framework-res.apk
7zip
Brains
Howto do it:
Decompile your Framework-res.apk
Download the attachment
Open the zip with 7zip
Open Res/Anim
Select all the files
Open your decompiled Framework-res.apk
Go to Res/Anim
Copy the selected files from my zip
Into your Anim folder
Replace? Yes
Copy integers.xml from my zip
Into Res/values folder
Replace ? Yes
Compile and sign
Make A Flashable zip
Flash it
Done
** Note: Don`t forgot to credit and thank me !!
Review !
could you help me, please?
Metall Boy said:
could you help me, please?
Click to expand...
Click to collapse
@Metall Boy
Why you cant do ot by yourself ?
Thats why this guide is for.
Pandemic said:
@Metall Boy
Why you cant do ot by yourself ?
Thats why this guide is for.
Click to expand...
Click to collapse
i dont have much knowledge of apk modifying .... i tried apktool and i cant even decompile files....
Metall Boy said:
i dont have much knowledge of apk modifying .... i tried apktool and i cant even decompile files....
Click to expand...
Click to collapse
Oke well i am honest people get lazier and lazier around here on xda for sure ><"
I missed something in the TUT will be fixed asap
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Pandemic said:
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Click to expand...
Click to collapse
i actually tryed doing it again when you update the OP and it worked! but thanks anyway for your effort
Metall Boy said:
could you help me, please?
Click to expand...
Click to collapse
Pandemic said:
Tut is refixed and added missing stuff what also you need to do !
@Metall Boy
here your framework, its done
See attachment !
Click to expand...
Click to collapse
Which phone is this framework.apk from ??
& can you be kind enough to do this too
Thank You
chawlasrijan said:
Which phone is this framework.apk from ??
& can you be kind enough to do this too
Thank You
Click to expand...
Click to collapse
My framework is from z3c from latest. 291 firmware
Metall Boy said:
My framework is from z3c from latest. 291 firmware
Click to expand...
Click to collapse
No wonder i lost all vibrations
Can you please do the one i uploaded, it's from Xperia Z2 .291
chawlasrijan said:
No wonder i lost all vibrations
Can you please do the one i uploaded, it's from Xperia Z2 .291
Click to expand...
Click to collapse
Actually you no need to decompile it, just change the .apk to .zip.
The only thing to do is push the OP files into the ".zip".
After that rename .zip to .apk, and push to system.
You're done.
Hit thanks if I helped!
Note: The Z3 framework-res.apk don't have "value" this file. I tried to force push and it give me bootloop.
Note 2: Trying to use another method: compile the .apk by replace the zip.
sorry to bother you again @Pandemic I've just noticed all animations are very smoooth,but i found a small bug with the three-dot-menu animation...this animation is slow. I attached a screenshot so you will know which animation im talking about
maple_mak said:
Actually you no need to decompile it, just change the .apk to .zip.
The only thing to do is push the OP files into the ".zip".
After that rename .zip to .apk, and push to system.
You're done.
Hit thanks if I helped!
Note: The Z3 framework-res.apk don't have "value" this file. I tried to force push and it give me bootloop.
Note 2: Trying to use another method: compile the .apk by replace the zip.
Click to expand...
Click to collapse
Value is the folder name in Res folder ><"
Pandemic said:
Value is the folder name in Res folder ><"
Click to expand...
Click to collapse
If I found I already no need to say it before...
i do this but now my phone is bootlp
alinolaw71 said:
i do this but now my phone is bootlp
Click to expand...
Click to collapse
Same for me
Any suggestions @Pandemic
For those who have issues, do this(Especially for Z5 users)
1.Take the final compiled apk and install it as framework
2.Recompile and push to phone
Click thanks if i helped
Excellent work as ever, @Pandemic! :good: