[Help]help me fix decompile apk - Sony Xperia S, Acro S, Ion

help me fix decompile apk
I tried again and again but still error

install the systemui first before decompiling
try this tutorial
http://forum.xda-developers.com/showthread.php?t=2213985

boyheadkick said:
install the systemui first before decompiling
try this tutorial
http://forum.xda-developers.com/showthread.php?t=2213985
Click to expand...
Click to collapse
how install systemui? can u explain more ? plz!

aguero91 said:
how install systemui? can u explain more ? plz!
Click to expand...
Click to collapse
read the tutorial bro its very straightforward
A_U said:
Open command prompt
navigate to the folder where you placed apktool.jar, batch script and the aapt.exe [see screenshot]
For this guide i am using a simple framework-res.apk for reference.
Once you are in the folder via cmd prompt, you need to install the file using the " IF " command
type the following command -
Code:
[B]apktool if [I]name-of-the-app[/I] .apk[/B]
For example, once the command is executed correctly, it will look like this -
Code:
[B]apktool if framework-res.apk[/B]
Once the app is installed you need to decompile it.
Click to expand...
Click to collapse

boyheadkick said:
read the tutorial bro its very straightforward
Click to expand...
Click to collapse
I tried it but still error
you can help your decompile?

i cant..im at work

boyheadkick said:
i cant..im at work
Click to expand...
Click to collapse
So when you have free time, u help yourself

im getting errors bro, probably need the framework

boyheadkick said:
im getting errors bro, probably need the framework
Click to expand...
Click to collapse
thanks bro
I have done , to run apktool if framework-res.apk

Related

Enable electronBeam Animation

Hey,
This recent leak of "gingerbread" from samsung does not have animation enabled by default. The code is there, they've just disabled it from the xml.
So here are the steps :
For developers :
1. Get apk manager
2. Put framework-res.apk in "modding" folder
3. Run apk manager, decompile with dependancy (option 10)
4. Drag twframework-res.apk into the script.
5. Go into projects\framework-res\res\values\bool.xml
6. Make config_animateScreenLights to false
7. Go back to script and select compile.
8. Say y
9. Say y
10. Delete resources.arsc from keep folder
11. Enter in script
12. U'll find unsignedframework-res.apk in "modding" folder
For users :
Code:
adb push unsignedframework-res.apk /data/local/tmp/framework-res.apk
adb shell
su
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/framework-res.apk
cp /data/local/tmp/framework-res.apk /system/framework/
rm /data/local/tmp/framework-res.apk
reboot
Make sure settings -> display -> animation isnt set to none.
Hi Daneshm90,
Did you manage to decompile Settings.apk for GB? Funny thing now is that there is an additional apk in the /userprofile/apktool/ folder. There are now 3 apks (resoures.arsc):
1.apk
2.apk
127.apk
This is something new. Is it now the apks are tri-dependency instead of co-dependency for GB Galaxy s?
g00ndu said:
Hi Daneshm90,
Did you manage to decompile Settings.apk for GB? Funny thing now is that there is an additional apk in the /userprofile/apktool/ folder. There are now 3 apks (resoures.arsc):
1.apk
2.apk
127.apk
This is something new. Is it now the apks are tri-dependency instead of co-dependency for GB Galaxy s?
Click to expand...
Click to collapse
Hmm havent tried that. Will try and let you know.
Daneshm90 said:
Hmm havent tried that. Will try and let you know.
Click to expand...
Click to collapse
Thanks, and waiting for your good news.
Hey thnks for the screen off animation..can u also check whether the glow in end of list is presebt in the code but has been disabled....coz it works in some apps like youtube where u scroll sideways thanks!
Can I ask something?
is this way only for I9000?
I'm using Korean GalaxyS(SHW-M110S, it's shape is same with I9000).
When I pull this framework-res.apk into my SGS, SGS boots infinitely(I don't know this term in English.. sorry)
galaxyS
I am Korea Galaxy S [M110S] user is using. I've tried to apply the source code does not work on framework-res.apk bool.xml config_animateScreenLights to false in a note that if you're saying?
DeHD said:
Can I ask something?
is this way only for I9000?
I'm using Korean GalaxyS(SHW-M110S, it's shape is same with I9000).
When I pull this framework-res.apk into my SGS, SGS boots infinitely(I don't know this term in English.. sorry)
Click to expand...
Click to collapse
Nope these steps are standard. So you can pull your framework-res and undergo these exact modifications
g00ndu said:
Thanks, and waiting for your good news.
Click to expand...
Click to collapse
For me i need twframework-res and framework-res in order to decompile settings.apk w/o error.
So i get 1.apk and 2.apk
DeHD said:
Can I ask something?
is this way only for I9000?
I'm using Korean GalaxyS(SHW-M110S, it's shape is same with I9000).
When I pull this framework-res.apk into my SGS, SGS boots infinitely(I don't know this term in English.. sorry)
Click to expand...
Click to collapse
You guys are using gingerbread leaked rom? Iirc it should be a prerequisite for this mod.
This will come in handy.
Thx.
Worked on JVK, thanks for this
EDIT: Added the resulting framework-res.apk
EDIT2: Complied wrong, all pngs are duplicated, taking up a lot of space. Please do not use this one. Use either danesh's or the one in perka's stash should be updated soon
EDIT3: The fixed framework-res.apk is in perka's stash here http://goo.gl/Lf7LF
Mothatt said:
Worked on JVK, thanks for this
EDIT: Added the resulting framework-res.apk
Click to expand...
Click to collapse
Hi mothatt
See you in IRC
v10.0 beta 4 / RC1
Sent from my GT-I9000 using XDA Premium App
when i try installing it on my phone it says application not installed. what to do?
oaiebmxxx69 said:
when i try installing it on my phone it says application not installed. what to do?
Click to expand...
Click to collapse
Its a framework installation.
Just follow the adb instructions in OP. This is a framework apk, not a user apk.
Daneshm90 said:
Its a framework installation.
Just follow the adb instructions in OP. This is a framework apk, not a user apk.
Click to expand...
Click to collapse
sorry mate but didn't understand a word...
oaiebmxxx69 said:
sorry mate but didn't understand a word...
Click to expand...
Click to collapse
Do u have adb setup ?
If not then read up on how to set it up and then execute the "user" commands i have in the main post.
Daneshm90 said:
Do u have adb setup ?
If not then read up on how to set it up and then execute the "user" commands i have in the main post.
Click to expand...
Click to collapse
i got apk manager and i select option #10 but it just disappears and it also says i don't have java but i do...please help me dude get this thing right
oaiebmxxx69 said:
i got apk manager and i select option #10 but it just disappears and it also says i don't have java but i do...please help me dude get this thing right
Click to expand...
Click to collapse
U can use ones i posted. Click my.profile n search my posts. I posted it in jvk thread
I tent to get a lot of bootloops when i try to push the unsigned framework that i compiled. Adding the resources.asc manually (first take it out the framework and manually add it again with no compression) resolved that.
Is that extra step not nessecary anymore ?

How to compile and decompile apk

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

lost statusbar after modifying

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

[Q] Recompiling SystemUI.apk or any other apks Error

Everytime i try to compile system apps i get this error, i have latest sdk installed, latest jdk and last version of apktool. I did apktool if framework-res.apk then apktool if semcgenericuxp.apk and decompiled systemui.apk, i have it done. I edited things, when i try to recompile it, gives me this error. I searched a lot but nothing helped, so if there is anyone who's facing this issue and then solved it, please help me. This is really eating me inside
federico rotundi said:
Everytime i try to compile system apps i get this error, i have latest sdk installed, latest jdk and last version of apktool. I did apktool if framework-res.apk then apktool if semcgenericuxp.apk and decompiled systemui.apk, i have it done. I edited things, when i try to recompile it, gives me this error. I searched a lot but nothing helped, so if there is anyone who's facing this issue and then solved it, please help me. This is really eating me inside
Click to expand...
Click to collapse
Try deconpiling then recompiling without any changes
If it still shows error change the semcgeneric or framework
Sent from my LT18i
Sahaab said:
Try deconpiling then recompiling without any changes
If it still shows error change the semcgeneric or framework
Sent from my LT18i
Click to expand...
Click to collapse
It showed that error, i changed it showed that again, i tried it again with framework and semcgenericuxpres from your rom.
federico rotundi said:
It showed that error, i changed it showed that again, i tried it again with framework and semcgenericuxpres from your rom.
Click to expand...
Click to collapse
Where is the systemUI from?
Is it a port?
Sent from my LT18i
Sahaab said:
Where is the systemUI from?
Is it a port?
Sent from my LT18i
Click to expand...
Click to collapse
Yes it's from MXY1997's thread.
federico rotundi said:
Yes it's from MXY1997's thread.
Click to expand...
Click to collapse
Then I suggest u PM him
But I will give u a suggestion
Use the framework-res and semcgeneric from DdcCabuslay's Xperia Z theme
Sent from my LT18i
Sahaab said:
Then I suggest u PM him
But I will give u a suggestion
Use the framework-res and semcgeneric from DdcCabuslay's Xperia Z theme
Sent from my LT18i
Click to expand...
Click to collapse
It is not about the SystemUI, there is something wrong about java, i can't recompile any other system app with apktool as i said, i used lots of versions of apktool and this problem still remains, maybe it is something to do with Windows 8?
federico rotundi said:
It is not about the SystemUI, there is something wrong about java, i can't recompile any other system app with apktool as i said, i used lots of versions of apktool and this problem still remains, maybe it is something to do with Windows 8?
Click to expand...
Click to collapse
Ya maybe windows 8 isnt supported yet
Sent from my LT18i

[Guide][Easy][MM]Xperia X Animation Inside The Framework

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:

Categories

Resources