[Q] [HELP] Decompiling APK - Galaxy Ace S5830 General

I got this problem when I'm decompiling an system app apk. I'm just a beginner exploring this. What do I need to do here?

Up
Sent from my GT-S5830 using xda premium

what apk is it?
system apk needs framework files to compile/decompile it. maybe framewok-res.apk and framework.jar is enough but i've always include all content of /system/framework just to be sure.
and good luck with it

you need to decompile it with dependencie ... being the dependencie ... framework-res.apk
option 10

How can I do it with the framework? I'm decompiling phone.apk just for testing and exploration.
I just extracted phone.apk from the flashable zip rom.

With apktool:
Type "apktool if [framework file name]"
You might need to install the framework and Twframework apk (check the rom's system\framework directory)
Check the web page for more details, just Google apktool or apk Manager.

I am using apk multi tool. Is that the same as those?
Sent from my GT-S5830 using xda premium

By looking at the screeshot I think it's 'decompile apk with dependencies'.
Search for apk multitool to see how it works.

Related

Signing framework-res.apk (solved)

Can I sing framework-res.apk with zipsign or a simlar app don't have access to PC at moment. If so which key is best to sign it with. Thanks in advance.
Sent from my X8 using XDA Premium App
furrabbit.nh said:
Can I sing framework-res.apk with zipsign or a simlar app don't have access to PC at moment. If so which key is best to sign it with. Thanks in advance.
Sent from my X8 using XDA Premium App
Click to expand...
Click to collapse
How did you singed your framework-res.apk??
hi if you wored by
apk manager
copy that apk to this folder "place-apk-here-for-modding" of apk manager
and open apk manager app
1-22 after that select a apk file by number
2-1 to extra
3- an goes to "project" folder and edit that files
4-2 to optimize
5-3 to zip apk
and no need to singed
http://forum.xda-developers.com/showthread.php?t=1821912
tahnks yousef-p

[THEME][DEV][HELP] "Archos_JellyBeaned" custom framework

Hi all,
I have a project : make a custom framework for Archos gen8 with a Android Jelly_Bean style.
I've found a framework-res.apk from a Galaxy S2 JB ROM. I've began to "mix" the content of drawable-hdpi folders.
But when I try to remake the .apk (zipped with WinRar and renamed .zip by .apk), replace it in my /system/framework with 644 permissions, my a43 boot loop. Why ?
(I've bricked five times yesterday...).
Thanks for your help and sorry for my bad english.
GoL LuM
Ps: i'm under UrukDroid 1.6.4
Sent from my A43 using xda premium
Nobody to help me ?
Sent from my A43 using xda premium
Apk is not the same as zip AFAIK
I would personnaly have baskmali the apk (=uncompile) to mod the files - then recompile it (smali)
Search on Google how to theme a framework
---------- Post added at 11:03 AM ---------- Previous post was at 11:01 AM ----------
And I think you should have posted it on the theme and apps part on the forum
Hello minidou-77,
Thank you for your reply. I've searched on Google the necessary tools for theming Android. But nothing work. Maybe am i crazy ??
I will try to install the RoTtEnApPlEiCe custom framework just to see if the problem isn't UrukDroid. Maybe...
If someone wanna help me to decompile/compile that f****** framework, PM me and i'll send by mail the .zip folder with content inside.
GoL LuM
PS: i've not posted it in "theme&apps" section because it's always in developement
Sent from my A43 using xda premium
GoL LuM said:
Hello minidou-77,
Thank you for your reply. I've searched on Google the necessary tools for theming Android. But nothing work. Maybe am i crazy ??
I will try to install the RoTtEnApPlEiCe custom framework just to see if the problem isn't UrukDroid. Maybe...
If someone wanna help me to decompile/compile that f****** framework, PM me and i'll send by mail the .zip folder with content inside.
GoL LuM
PS: i've not posted it in "theme&apps" section because it's always in developement
Sent from my A43 using xda premium
Click to expand...
Click to collapse
Development is much more considerate as software dev without just modifying pngs but don't worry this forum is not that much active
Take a look at apk multi tools my friend
minidou-77 said:
Development is much more considerate as software dev without just modifying pngs but don't worry this forum is not that much active
Take a look at apk multi tools my friend
Click to expand...
Click to collapse
I'm not only modifying png's ^^ i will edit some .xml's for a more "realist" JB theme.
I've installed APK Manager. I find it more easy for noobies like me
Are you french, minidou ?
Sent from my A43 using xda premium
GoL LuM said:
I'm not only modifying png's ^^ i will edit some .xml's for a more "realist" JB theme.
I've installed APK Manager. I find it more easy for noobies like me
Are you french, minidou ?
Sent from my A43 using xda premium
Click to expand...
Click to collapse
Yes ^^
Like 99% of Archos customers ^^
Ok, i've modified 60% ~ of png's, but i want recompile it with ApkManager, it says there is an error occured...
I don't know why :what:
I've also tested the "RoTTeNaPPlEIce", it works perfectly ... on a screen resolution of 160dpi (a43 has a 240dpi resolution ^^ )
Pour le moment, je vais dodo XD
Sent from my A43 using xda premium
Hi,
You can see more details of my "recompiling" error with apktool.
The problem seems to be the /values/public.xml but i don't know what exactly is it.
Now, i will begin the drawable-mdpi folder modifications for all a70/a101 owners. But i can't test it for the moment...
Should i sign framework-res.apk ?
Sent from my A43 using xda premium
No no need to sign a system apk that you will push manually
Actually I'm sorry but I don't know well what happens here...
Did any apk have been created ?
No apk's have been created. After some searches on Gugole, the problem is the Apktools version. I'm using v1.5.0.
If someone want compile it for me, let me a PM
Sent from my A43 using xda premium
make it work, please. It will be a demn good thing.
Hi all,
About my problem, Apktool doesn't support png changes.
I was trying a simple xml editing in an .apk and it works. But when i begin to modify .png's, all goes off.
Friends are compiling it for me... ^^ thanks you bros
Sent from my A43 using xda premium
GoL LuM said:
Hi all,
About my problem, Apktool doesn't support png changes.
I was trying a simple xml editing in an .apk and it works. But when i begin to modify .png's, all goes off.
Friends are compiling it for me... ^^ thanks you bros
Sent from my A43 using xda premium
Click to expand...
Click to collapse
Can we expect it for UrukDroid? Or it will be a CM7 theme?
It's a custom framework-res.apk for stock ROM and UrukDroid. Maybe a CM7 theme after ^^
Sent from my A43 using xda premium
Hi,
Just for fun, this is my PC (my brother's PC XD).
Processor: Pentium IV @1,5Ghz
RAM: 128Mo
Graphic card: ATI Rage XL 128 Pro
HDD: Maxtor 22.4Go
OS: WinLSD 3.0
A great hardcore gamer machine ... Oo''
Sent from my A43 using xda premium
For just replacing image files, the easiest you can do is just opening .apk file with WinRAR and manually replacing files within WinRAR.
P.S. I don't know for sure what you exactly did with mixing apk files, but your 43IT probably boot loops because of the missing META-INF folder from the 43it apk.
What is the META-INF folder utility exactly ? (I don't touch this folder. Only "drawable-hdpi" and "drawable-mdpi" folders).
When i've tried to ''mix'' png's with winRar, my a43 bootloop.
Sent from my A43 using xda premium
No I would suggest you not to touch the apk with a archive explorer
I don't really know try to look inside it or ask Google
Thanks to ranomez for the compiling ^^ i'll be more vigilant next time
I'm testing the all first version of framework. Screens on next post
(Teasing powaaa)
Sent from my A43 using xda premium

[Guide](CM7) How to Remove the Brightness Slider from Notification Bar

[Guide](CM7) How to Remove the Brightness Slider from Notification Bar
If you're looking out for a way to Remove the Brightness Slider present in the Notification Bar of your ROM then you're at the right place. Following are the Steps to Remove it.
Required Files & Tools
01). apktool
02). SystemUI.apk & framework-res.apk from your ROM
03). A Flashable zip file
04). File Explorer in Phone
05). Little knowledge in Decompiling & Recompiling :silly:
You need framework-res.apk to decompile SystemUI.apk. Make sure you have your framework-res.apk & SystemUI.apk pulled out from Phone or ROM
- Install framework-res.apk
- Decompile SystemUI.apk
- Locate the file status_bar_expanded.xml from the decompiled SystemUI folder. It will be present in the folder SystemUI/res/layout
- Now look in for the below line and delete it
Code:
<include layout="@layout/qp_brightness" />
- Save the file & Recompile.
- You can later drag & drop the modified .xml file to the Original SystemUI.apk using Winrar or 7zip
- Finally, you can either use a flashable zip file to flash the SystemUI.apk on your phone or use any File Explorer (ES File Explorer or any) to move the SystemUI.apk on to your Phone, location will be (system/app) & set appropriate permissions. :laugh:
Credit goes to this member @marcussmith2626 & his original post http://forum.xda-developers.com/showthread.php?p=42192531
Can you tell me how to include the brightness slider in cm7?
Sent from my GT-S5830 using xda premium
Venomous Viper 119 said:
Can you tell me how to include the brightness slider in cm7?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
this is to include he mistyped titl
Sent from my S500 using xda app-developers app
SpaceCaker said:
this is to include he mistyped titl
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
No. I think it is to delete. Because I decompiled systemui.apk but didn't find any such line in the status_bar_expanded. When I added that line to this file at the last & tried to compile, I got a lot of compilation errors.
Sent from my GT-S5830 using xda premium
Venomous Viper 119 said:
No. I think it is to delete. Because I decompiled systemui.apk but didn't find any such line in the status_bar_expanded. When I added that line to this file at the last & tried to compile, I got a lot of compilation errors.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Yup, this is to delete the line from status_bar_expanded.xml
Which ROM are you using? I checked this on The Ultimatum ROM with Timescape MODE & worked for me.
If you wanna get the Brightness Slider then its something you have to work on with smali files too. Just by adding the line(in the post) will give you errors & maybe a fc if am not wrong.
keylocker said:
Yup, this is to delete the line from status_bar_expanded.xml
Which ROM are you using? I checked this on The Ultimatum ROM with Timescape MODE & worked for me.
If you wanna get the Brightness Slider then its something you have to work on with smali files too. Just by adding the line(in the post) will give you errors & maybe a fc if am not wrong.
Click to expand...
Click to collapse
Yes. I have to modify the smalis to get that & there's also a guide for that. But I took the easy way out. Used the systemui.apk of a different ROM & bang
Sent from my GT-S5830 using xda premium
Venomous Viper 119 said:
Yes. I have to modify the smalis to get that & there's also a guide for that. But I took the easy way out. Used the systemui.apk of a different ROM & bang
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Smart People choose the smart way :laugh:

[Help] Modding

Hi guys
I need to know how to recompile framework-res.apk with apktool for android
What I did is extract framework.apk and edited it
now I don't know how to recompile it becouse I don't have a pc
I need any apk to recompile apks for android
Sent from my GT-B5512 using xda premium

Failure to boot rom after framework modding

I have tried to install D.O.C's smooth slider mod and ended up with a bootloop. Can someone help me please? (Steps i did are below, correct me if i am wrong)
1.Copy framework-res to sd card
2.Change file extension to .zip
3.Extract file
4.Replace all 8 files with ones provided at download link
5.Re-zip the file
6.Change application extension to .apk
7.Copy that file to system/framework
8.Wait for reboot
Please Help Me
Sent from my MT11i using xda premium
creepycow said:
I have tried to install D.O.C's smooth slider mod and ended up with a bootloop. Can someone help me please? (Steps i did are below, correct me if i am wrong)
1.Copy framework-res to sd card
2.Change file extension to .zip
3.Extract file
4.Replace all 8 files with ones provided at download link
5.Re-zip the file
6.Change application extension to .apk
7.Copy that file to system/framework
8.Wait for reboot
Please Help Me
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
You have to set permissions first to rwrr and then move it to system/framework.. Next time please don't make new threads.. Post here
http://forum.xda-developers.com/showthread.php?t=2276094
Regards,
vishal_android freak
creepycow said:
I have tried to install D.O.C's smooth slider mod and ended up with a bootloop. Can someone help me please? (Steps i did are below, correct me if i am wrong)
1.Copy framework-res to sd card
2.Change file extension to .zip
3.Extract file
4.Replace all 8 files with ones provided at download link
5.Re-zip the file
6.Change application extension to .apk
7.Copy that file to system/framework
8.Wait for reboot
Please Help Me
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Extracting the apk breaks the apk (Signature)
So to do this you need a computer. Can't do this on phone.
1st way:
-Open the apk with WinRAR (without changing the apk extension)
-Simply drag & drop the D.O.C's files in respective folders & click OK on prompt.
-Push into system with correct permissions.
2nd Way:
You have to decompile the apk, replace files, recompile, sign it & then push it into your system.
Cheers!
ak070
Thanks guys i really appreciate it thanks!
Sent from my MT11i using xda premium
creepycow said:
Thanks guys i really appreciate it thanks!
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Don't express your thanks through post. There is a button for that. Hit it if I or Anyone has helped you somehow.
Cheers
ak070
I still cant and what do u mean by opening an apk file without changung extension
Sent from my MT11i using xda premium
Do u think someone can help me if i upload my framework for someone to help me mod it?
Sent from my MT11i using xda premium
creepycow said:
Do u think someone can help me if i upload my framework for someone to help me mod it?
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Try apk multitool... If you want to just make some images changes just extract it and make changes then pack it... If it needs xml changes then you will have to decompile and compile... These can be done with apk multitool...
Sent from my Xperia Neo V using xda app-developers app
I will try that tomorrow its at night here at Singapore
Sent from my MT11i using xda premium
creepycow said:
I still cant and what do u mean by opening an apk file without changung extension
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
I meant that don't rename the file to .zip. You can open .apk file by Right click > Open with > WinRAR. Now just drag & drop D.O.C.'s files in the RAR. Window in respective folders then click Ok.
Cheers!
ak070
Oh... My com doesnt have the open with option i have to do it manually
Sent from my MT11i using xda premium
ak070, i have tried your method but my rom wouldnt boot. When i used root browser to push the file in, i got fc's and all apps data was deleted. Tye loading icon became a spinning arrow
Sent from my MT11i using xda premium

Categories

Resources