Recruiting... - General Topics

Hey guys
I'm developing a new GB ROM for the Xperia Play and I need someone who is able to modify APKs. (I have tried myself but apktool always comes back with errors when trying to (re)compile the APK)
The role won't require image editing skills as I should be able to do that part myself, however the modding involved will mainly consist of replacing the PNGs within the APK.
I will supply the PNGs that need to be put into the APKs. I will also supply the APKs that need to be modified.
Please PM me for more details if you are interested in helping out
Thank you
Sent from my R800i using xda app-developers app

Related

[Q] APK Decompile/Compile on phone???

I haven't seen this anywhere. So, is this possible on a NON-ROOTED phone? I'm asking because I found a nice sense 2.1 skin, but I want to change the color. I have the apk extracted, pngs edited, and am ready to compile it, but I haven't found a way that can be done from the phone itself. Please help me.
I don't think you can decompile or recompile an apk on the phone, I know using like root explorer or es some things are possible for rooted users, but I'm not so sure about nonrooted because I got my phone from the store and didn't touch it till I rooted it the next morning lol
Shifted to the extreme, cause I rawk Supreme
Thanks. It's just such a pain in the @$$ to hook up to a computer when I get a chance and use apktool. If I could do it all from my phone everything would be so much simpler. And +1 for the quick reply.
EDIT: Go to http://apkdecompile.com/ on your phone to decompile it. Anyone know of a website that compiles APK from the source?
Aide is a free app in Google play that will compile your apk for you
Sent from my SAMSUNG-SGH-I317 using Tapatalk

[SOLVED] Why does APK not work after modification ?

Hi
MIUI V4 has an issue of silent whatsapp notification.
a solution was found and described in here :
What you need to do is decompile the APK.
Look in \res\xml\preferences.xml
Search for android:ringtoneType="all"
Replace with android:ringtoneType="notification"
Click to expand...
Click to collapse
The problem is when I decompile, change and recompile whatsapp apk (and sign it), it becomes smalller (dropping from 7MB to 5.4). even trying to swap resources.arsc of the files with 7zip, does the same.
I even tried manipulating XDA whatsapp plus, but the result is the same - when trying to install the new "small" apk I get an error "application not installed" and that's it (no other version exists in the device).
How do I deal from here ?
Whatsapp won't fix this as it is custom ROM related and I think it is fixed on MIUI JB...
Thanks.
This is the latest official whatsapp apk from the Google Play :
Hi itzik2sh
I think i have whatsapp notification working normally (icon, sound and vibration) on MiUI (my cMiUI fyi), so, kinda weird that not working for u...
Anw, bout the size, i think it is normal cause, I used this trim size trick to minimize the size of my roms tho ^^…so, once it is installed and work properly, u shouldnt worry bout the size
Sent from my SGH-T959V using xda premium
But it's not working, and cmiui is a different ROM.
sent from me
Have you tried not signing it after you do ur changes?
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
tried it... not working...
I'll give it a shot and see what I can do tomorrow cus right now I'm going to sleep lol
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
Check if signatures are there in the apk(compiled one). The changes in size are normal. It happens due to compression ratios.
Sent from my GT-S5360 using XDA
Can i port the original signature? How do I do that?
sent from me
I hope not! That is the point of signing the APK. Only the person with the private part of the key can sign, allowing users to confirm that the package, as they have it, came from the signer.
Posted from my SGS4G, thanks to Team Acid development
Hi Jeff
I know it's the vision and purpose of signing, but there are too many apks
I'm lately unable to recompile and get them working.
Erik - I was also never able to translate MIUI camera.apk,
as adding some resources made apk not run anymore. even swaping resources.arsc doesn't help.
Working with latest APKTOOL jar 1.5.0 and signing !
Thanks!

[Q] Advanced reboot for Sense 5 4.2.2

hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
phonegeekjr said:
hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
Click to expand...
Click to collapse
use SENSE 5 toolbox in development thread http://forum.xda-developers.com/showthread.php?p=46837064
Or else VIPER XL it pretty much has all the options one can need!
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
phonegeekjr said:
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
phonegeekjr said:
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Black!Jack said:
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Zarchiver
Sent from my Evita
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
what about for a linux computer are there any tools I can use with that.
Not sure about on Linux, you should be able to find something via Google. There should also be guides on XDA.
Sent from my Evita
phonegeekjr said:
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Apktool... ApkMultiTool (really just a UI to take command line work out of the equation-not really my style though), Virtuous10 Studios, many more I'm sure I forgot. I have some .bat files for executing necessary commands if your not sure how to use command line.
Sent from my HTC One XL using XDA Premium 4 mobile app
---------- Post added at 05:32 PM ---------- Previous post was at 04:32 PM ----------
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
Not sure that Zarchiver is a tool for Decompiling and Recompiling .apks.
From what I have read about it, it looks more like a File Manager/Archiver.
@ PhoneGeek... for Linux I would have to say that apktool is going to be your best bet. You can find the XDA thread here. And the main page for apktool is here.
Black!Jack said:
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Click to expand...
Click to collapse
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
phonegeekjr said:
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
Click to expand...
Click to collapse
That is what I was originally trying to let you know. The one for the HTC MOD is device specific (HTC Desire I believe). I have gone through the .smali files as these guides instructed and noticed a wide variety of variance. If you decide to attempt the instructions per those guides, you do so at your own risk; especially if you have no idea what you are really doing. The Devs around here are labeled that for a reason. Chances are... they really know what they are doing when messing around with files that could deem our phones inoperable.
One bit of advice I will give you before you start messing with the .smali files, is to learn Java, if you don't already, and then head over to the Smali page and read through all of the documentation in their wiki (it will be hard to understand if you don't know Java though). After taking the time to learn these things, when you open up the .smali files you will have a better understanding of what you are actually looking at and how things are structured. For example, when you open one up, you will perhaps see some variance of :
invoke-direct {v0, v1, p0, v2}
Well, what do all of these v's and p's mean - what do they point to?
There are two naming schemes for registers - the normal v naming scheme and the p naming scheme for parameter registers. Confused?
Read the wiki! Confused by the wiki? Learn Java! This is really the best advice that I can give you. By no means am I downing you or questioning your intelligence. I am simply trying to help you by pointing you in the right direction. Spoon-feeding you all of the answers isn't going to help you learn. I am by no means an expert; not even dillusional enough to think that I am- though my wife may disagree!
In addition, when you get to the Smali page, on the Project home tab, there is a link for an IRC chat room and an example of how the entry level "Hello World" app is broken down into .smali.
Hope that I have helped, to at least point you in the right direction. If I have click the Thanks button!
Edit: Here are some links that may be useful in your quest for knowledge of this subject matter:
Modifying .smali files
Convert .smali to .java
Dalvik opcodes
Android opcodes
Bytecode for the Dalvik VM
Another place with useful links
All of these resources were found with the help of my good friend Google, and her red-headed stepchild XDA!
Hi. I have tried yet again to make sense 5 toolbox apm work. Still not. Latest version of framework used. Any ideas
edit: foumd the problem and apm is now working.
Sent from my HTC One XL using xda app-developers app

[Q] How to MOD APK ?

Hey guyz,
I wanted some help regarding modding apk's. I know that many people have asked the same Questions in the past but my question happens to deal with ADDING code to the original APK without the SOURCE.
Its pretty much the same idea as how WHATSAPP+ (or WHATSAPP PLUS) was modded and how the mods were added into the original apk.
Your efforts in answering this question will be greatly appreciated. I have also searched on google to no avail.
Sincerely,
XxXKINGMAKXxX
Hi bro. Although there are many methods for modding, but best way out is to use apktool. You can search on XDA about how to use apktool.
Hit thanks if i helped you
Sent from my GT-S5302 using xda app-developers app
I have tried APK tool but it doesnt help me much, i get the RESOURCES AND OTHER files in SMALI format and have no clue on how to convert them to java files

To make duplicate apk file using apktool for phone

I want to make a duplicate apk by using apktool 4.6 for phone.
example wechat.apk to wechat01.apk
And to install both on same device..
PLEASE PROVIDE TUTORIAL FOR DOING IT...
THANKS
I think u can't do it easily just with apktool, you might need modify content in smali files, which is too complicated for me to make it...
Sorry for my bad English...
Sent from my HTC Desire 200 using XDA Premium 4 Mobile app
Nit Patel said:
I want to make a duplicate apk by using apktool 4.6 for phone.
example wechat.apk to wechat01.apk
And to install both on same device..
PLEASE PROVIDE TUTORIAL FOR DOING IT...
THANKS
Click to expand...
Click to collapse
You need to change the appId in (AndroidManifest.xml) but the consequence of that is that the MainActivity class also needs to be adjusted to match that new id which is not going to be easy unless you have the source code available.

Categories

Resources