How to edit classes.dex - Android Software/Hacking General [Developers Only]

I'm new to the android development community and was wondering if a classes.dex file could be edited to add an api. If there is a way to add this API so the ROM knows that this API is there and available.
Thanks for the help in advance.
Sent from my PC36100 using XDA App

Related

Contacts.apk

Hi all, Happy new year!
I would like to change the font size of the contacts in the list view, i've decoded the contacts apk, and i think the file I need to change is contacts_list_raw.xml, but when i try to compile it again using the api manager I get errors, could someone please help me verify that this is the file i need to change?
Sent from my GT-I9000 using XDA App
AYahoo said:
Hi all, Happy new year!
I would like to change the font size of the contacts in the list view, i've decoded the contacts apk, and i think the file I need to change is contacts_list_raw.xml, but when i try to compile it again using the api manager I get errors, could someone please help me verify that this is the file i need to change?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Try Apk Manager from here: http://forum.xda-developers.com/showthread.php?t=895492
Maybe you need its dependees. I don't know what phone you are talking about, if Sense or similar, or clean android.

Help Pls

Help pls trying to follow raver guide on adding transparency status bar ok i have everything i need i hope dl java sdk i have apktool on my desktop what's in it is aapt(application ) apktool(windows batch file) apktool (executable jar file)and my Systemui.apk is this right now important trying to cd to it but i don't understand how to when i read there instructions can someone pls help i will greatly appreciate it thanks
Sent from my SGH-T959V using XDA App
Search or forum from your desktop for "how to decompile an apk" I think this is what your asking
Sent from my SGH-T959V using XDA App

AndroidManifest

Hey guy
I was wondering if you could help me,
I'm trying to edit the android manifest xml.but when I decompile the apk, I don't get the minimum and target ark version displayed in the xml when I open it with notepad++. I also tried in its, same result.it's like the whole xml is not shown. It does appear in the yml tho. How or what do I use to view and edit the whole xml.
Thanx in advance
Sent from my LG-P920 using xda app-developers app

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.

Apk Tool App for Android

I was recently looking for system ui smali mods and I came across this apk tool app and I thought I would share it, I think it works good so far but your working with a smaller screen other wise its really nice
Download: ApkTool v4.7.apk
Update fix for Lollipop Roms :ApkToolUpdate.zip
Instructions :
After you install the apk be sure to go to your Framework apks and hit import framework before you do anything
Also Copy system apks to SD card or you with get decompile errors
If you have problems with decompiling system apps on Lollipop flash update zip that has updated jars
You shouldn't have any problems with kit kat though I believe so no need to flash update.zip
Flash via FlashFire
And Finally Enjoy
davidhacks said:
I was recently looking for system ui smali mods and I came across this apk tool app and I thought I would share it, I think it works good so far but your working with a smaller screen other wise its really nice
Download: ApkTool v4.7.apk
Click to expand...
Click to collapse
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
I would normally use the computer Verison of apk tool and then use note pad ++ for looking at the xml files
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
At some point I will decompile the app and update the baksmali and so on to the lollipop Verison
PHP:
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
Try Axel on the playstore. You can view and edit.
Documentation on this app is hard to find
Documentation on this app is hard to find, did you write this? From what I can gather it turns your active rom into a rom package for redistribution? I'm assuming that's what they mean by create rom? Who wrote this gem? Amazing app

Categories

Resources