Compare original APK and modded APK - Java for Android App Development

Hello,
I have done a quick search and haven't found any real help.
I have a original APK from the play store, as well as a modded apk from online. I want to look in and view the "edits" made on the modded apk so I can hopefully learn a bit, and duplicate the changes.
Thanks,
Morinr

Use apktool to decompile both
Then compare the decompiled apps using some diff tool, beyond compare for example

WinMerge is good for this.

For an apk user, i see the apk file is only modified to push enough features to make the user better. In particular, it is also quite high security. I see there are quite a few good apk mod websites that people can search on google very easily. Everyone who wants to use the apk mod can google search.

Related

[Q] Change colors with Paranoid .50

Is there a way to change to clors on clock/menues with .50?
Just love how it looks but it would have been nice to change colors from time to time.
Couldnt post in the regular page of .50 since I was an new user.
Nexus7 <3 :good:
Why didnt you search the main thread? It is possible but its not a PA specific feature. To change the colors you need to either edit the SystemUI.apk or download and apply a CM10 theme. The latter being the easiest.
Ok, thank you. Gonna check out the Theme. To edit the SystemUI.APK you need a program or is it just color codes with notepad and such like a cfg?
You can find a bunch of cm10 themes on the play store.
Editing .apks IMO is a pain. If you are doing anything more than swapping out .PNG files you will have to decompile, edit, then recompile. If you want to do that just search around and you will find a tutorial.
Sent from my Galaxy Nexus using Tapatalk 2

Virtuous Ten Studio [Perfect apk,jar editor]

We all at least most of us edit and play with apk's and jar files...so i found the past days a great and i mean GREAT way to edit those files..the app you can used called Virtuous Ten Studio and is developed by Diamondback this app is a great editor for apk's...i just play with it right now to just for curiocity add the navigation bars like the thread by Rittik said...i just open the framework-res.apk to this application it decompiled it i edit what i have with the easy of a explorer...compiled it without any problems by itself and poof...ready to use...great app you who edit apk's should really look at it...the link to the app is here
[IDE] Virtuous Ten Studio - The next level of reverse engineering apps | 2.2.11.8210
Run on Windows only :crying:
Totally perfect i am uaing aince release. Plus if on windows 7 you can reopn kernels and edit some stuffs like boot logo and some scripts without installing the long procedure of Dxdia+cygwin..so its a win win software pretty nice for begginers who are having a problem decompiling and recompiling apk
Just a notice. Please dont try recompiling SystemUI with this..it doesnt recompile the smali correctly which makes the apk corrupt so for that please use apktool
-Rik[Rittik]

[App]{MotoActv] MotoActv DPI

This is another one of the apps i have been working on lately, it allows you to Change your MotoActv's DPI to three options
-90 dpi (my personal favorite)
-100 dpi
-stock (120 dpi)
notable features:
-Stays on reboots
-Dpi sticks even when app is uninstalled (through build.prop method)
-simple 3-button menu with easy to read insturcions
simple as that, requires a ROOTED MotoActv with working SuperUser, and has only been tested and confirmed on ClearD's ClearRom (and my personal mod of it released on his thread)
feel free to include this in ANY MotoActv rom(with or without credits, since credits are in almost all my apps), as it should work universally for them, but not recommended for phones, ad the dpi is WAAAAYYYY too small for em lol
download:
Google Play Store Download Link
Awesome! Will be testing now!
ClearD said:
Awesome! Will be testing now!
Click to expand...
Click to collapse
it works fully with working SuperUser, im getting my github in order and im going to make it open source, right now im figuring out a good way to do my github arrangement, as the old one didnt work well apparently i cant make the projects ina sub-folder without it counting as a whole project lol
but its simple and uses open-source librarys that were featured on xda-developers' protal not too long ago, im adding credits to it once i get ym github in order =)
New version uploaded:
new features include:
-button red background (fixes dark text on dark background for those using ClearD's Cleardroid rom, now included in his roms, and will keep updates here)
Download link still the same
Thanks, great app!!!
Is there anyway to get the motoactv launcher icons and stuff to stretch to the new api. For ex: the running person to being workout is small and left aligned.
Maye there is a custom motoactv "stock" launcher?
gigaguy said:
Thanks, great app!!!
Is there anyway to get the motoactv launcher icons and stuff to stretch to the new api. For ex: the running person to being workout is small and left aligned.
Maye there is a custom motoactv "stock" launcher?
Click to expand...
Click to collapse
idk i never messed with the layout of the stock launcher =S, it might work, but things like the volume slider will not be able to fix easy, as its rom-sided, but the DPI is mostly how it reads to the screen, so unless its a .9.png image it wont stretch unless its setup with different images so unless someone modifies the launcher with those fixes, u will have to get used to the misaligned icons or goto stock when u want it to look desent, as its only a button tap away but im testing some mods for the ReActv rom atm, i love using CLEARDROID alot, but untill he gets a stable build made for me to implement my mod pack imma mod mine with Reactv for a bit untill then, i already got it rooted(as for some reason superuser wasnt working in my flash, so i used a different exploit), testbuild init.d, my mod_pack items+scripts, removed unneeded system apps+Ringtones+files, removed items leading to some battery drain(from missing cellular anteaneas), and working on native screenshot at this minute acually lol so im kinda busy, along with mods to my app SMS Tasks trying to make it work better w/o root through custom recovery making it a system-signed system app for non-root reboots+More Reliable gps Toggle features
If you want to fix the stock launcher when running a custom DPI, then I'd suggest you go to here:
http://forum.xda-developers.com/showpost.php?p=44034334&postcount=2315
and install the xposed app as well as xposedappsettings. Then you can simply set the motoactv stock apps to run at 120dpi as they were intended, while everything else can run at whatever you default to. It can be used to fix some other apps that crash at specific DPIs or screen orientations too.
to all u MotoActv Users with ROOTED MotoActv's and Google Play Store access i changed the link in the OP to my new Google Play Merchant account so if i make any updates (even if this app is considered FINAL as its already the best it can be for its purpose) u can download +restore it there to save some internal sdcard space from an APK download =)
heres a link for all u that do "view latest post" and didnt see the Link in the OP
https://play.google.com/store/apps/details?id=com.KittleApps.app.motoactvdpi
edit#1:
if anyone needs the apk (as i changed the link) for an alternitive download let me know in a reply here and ill re-add it in addition to the play store link if it was a inconvenience to some =)
jkok said:
to all u MotoActv Users with ROOTED MotoActv's and Google Play Store access i changed the link in the OP to my new Google Play Merchant account so if i make any updates (even if this app is considered FINAL as its already the best it can be for its purpose) u can download +restore it there to save some internal sdcard space from an APK download =)
heres a link for all u that do "view latest post" and didnt see the Link in the OP
--- EDITED OUT, XDA REQUIREMENT FOR NEW USERS ---​edit#1:
if anyone needs the apk (as i changed the link) for an alternitive download let me know in a reply here and ill re-add it in addition to the play store link if it was a inconvenience to some =)
Click to expand...
Click to collapse
I'm unable to download from the Play Store, but flashing apk's via ADB is working fine. If you still have it would you mind sharing the APK for this DPI app?
Thanks
Matt

[Q] Deodexing problem

Hello, I'm an owner of XPERIA Z1, using the latest Customized Lollipop firmware (.242), struggling very much to deodex his device. I've tried 2 different methods, which both lead to problems:
1.) Using a flashable zip provided by venkat kamesh, in this thread: link. After flashing, I don't face any prominent problems, like FCs on system apps e.t.c. But whenever I'm trying to launch any app requiring OpenGL ES 2 , I get an error message/toast notification, about that, saying that my device is incompatible. And Google Play refuses to even show these apps in the search results, listing them as incompatible.
2.) Modifying the flashable zip to use my own /app, /priv-app, /framework, and even /vendor/apps fully deodexed folders, leading to a bootloop, and refusing to show more than 2 seconds of the bootanimation before rebooting. I thought that some package may be incompatible with my firmware, but this theory can't be proved yet.
*I've tried fixing permisions using both terminaland adb using this method: link. No result either.
Is there any other solution? Thank you!
NFS_FM said:
Hello, I'm an owner of XPERIA Z1, using the latest Customized Lollipop firmware (.242), struggling very much to deodex his device. I've tried 2 different methods, which both lead to problems:
1.) Using a flashable zip provided by venkat kamesh, in this thread: link. After flashing, I don't face any prominent problems, like FCs on system apps e.t.c. But whenever I'm trying to launch any app requiring OpenGL ES 2 , I get an error message/toast notification, about that, saying that my device is incompatible. And Google Play refuses to even show these apps in the search results, listing them as incompatible.
2.) Modifying the flashable zip to use my own /app, /priv-app, /framework, and even /vendor/apps fully deodexed folders, leading to a bootloop, and refusing to show more than 2 seconds of the bootanimation before rebooting. I thought that some package may be incompatible with my firmware, but this theory can't be proved yet.
*I've tried fixing permisions using both terminaland adb using this method: link. No result either.
Is there any other solution? Thank you!
Click to expand...
Click to collapse
Are you deodexing every odexed file? I normally only deodex those files whose smali I'm going to mod. There's not much point deodexing anything else..
Ticklefish said:
Are you deodexing every odexed file? I normally only deodex those files whose smali I'm going to mod. There's not much point deodexing anything else..
Click to expand...
Click to collapse
Well yes, I just suppose that a fully odexed or deodexed system is more stable than a mix of those two.
Is there any red-line that I must not pass? Like a paricular .apk or .jar file, for example. Also on KitKat, we had to have fully deodexed system for some mods to work (like the 4K Mod by Chocolatetrain). This restriction doesn't exist on Lollipop, which utilises ARM?
NFS_FM said:
Well yes, I just suppose that a fully odexed or deodexed system is more stable than a mix of those two.
Is there any red-line that I must not pass? Like a paricular .apk or .jar file, for example. Also on KitKat, we had to have fully deodexed system for some mods to work (like the 4K Mod by Chocolatetrain). This restriction doesn't exist on Lollipop, which utilises ARM?
Click to expand...
Click to collapse
No. You can, in theory, deodex as many or as few APK and JAR files as you like.
The whole point of deodexing is to make it easy to change smali files. It doesn't affect stability or performance, it's solely for modding. I normally deodex SystemUI.apk, framework.jar and android.policy.jar then leave the rest of the odexed files alone.
(Well, technically a deodexed ROM takes longer to boot if the Dalvik cache has been wiped but that's about it.)
The only reason I ask is that, if you only need to deodex a few files, there are various tools available for deodexing individual files instead of whole ROM's. I could mention that Tickle My Android can do it but that'd be a bit cheeky.
Oh, looking at that 4K mod you mentioned, it doesn't actually need the whole ROM to be deodexed. But there are so many files that are being replaced that do need to be deodexed that it's probably just simpler to say the entire ROM needs to be.
Ticklefish said:
No. You can, in theory, deodex as many or as few APK and JAR files as you like.
The only reason I ask is that, if you only need to deodex a few files, there are various tools available for deodexing individual files instead of whole ROM's. I could mention that Tickle My Android can do it but that'd be a bit cheeky.
Click to expand...
Click to collapse
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
NFS_FM said:
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
Click to expand...
Click to collapse
TMA does support deodexing of Lollipop APK files...I just can't guarantee that it'll be able to deodex everything. Guess I need to reword the OP....lol
NFS_FM said:
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
Click to expand...
Click to collapse
you also can use advance apktool (nice tool) , but you will have to update the apktool to the last one i think its the 2.0.0because is not updated.. cheers
juanpirulo said:
you also can use advance apktool (nice tool) , but you will have to update the apktool to the last one i think its the 2.0.0because is not updated.. cheers
Click to expand...
Click to collapse
Hm... I will try that too if my (already) deodexed apks won't work, thank you.
Please ask in the Q&A section for your device.
Cross device section is for development only
Thread closed

[GUIDE] [MOD] Disable Ongoing IME Switcher Notification

Hello everyone my name is Jon Wesley Tranchida (Tran-Chee-Da) is how my last name sounds. Today I will be showing you this very simple mod that you all can implement into your current running rom. This guide and mod should work for all Tab 3 models but I have only tested it on the SM-T210R Model. Please see the requirements below in order for you to fully understand how to make this mod work!
What is this mod?
This mod will allow you to remove that annoying ongoing Keyboard (IME Switcher) notification from your notication panel. For example when you try to type an email this annoying notification pops up in your notification panel and it can get annoying. Here I will show you how to disable this annoying problem!
Requirements:
You need Java JDK 7 or later and you must have some sort of android program that recompiles and decompiles apk files. For example I use Ticklemyandroid. You will need also Notepad++ so you can edit text files. You also must have some knowledge of decompiling and recompiling apk files. You will also need to have and be on a deodexed ROM!
Okay let's get started!
1. First decompile your framework-res.apk
2. You should have all your decompiled files into a working folder, you will need to go to res/values-sw600dp and open up bools.xml with notepad++
3. Here is the code we will need to change. Look closely at the before code and after code. You will need to change the true to false
Before:
Code:
[COLOR="Red"]<bool name="show_ongoing_ime_switcher">true</bool>[/COLOR]
Now change to false as shown below
After:
Code:
[COLOR="Red"]<bool name="show_ongoing_ime_switcher">false</bool>[/COLOR]
4. Save text file and then recompile framework-res.apk
5. Now copy it to your tablets root system/framework folder and enjoy
6. That's it wasn't that easy?
Hope you all enjoy what I found!
Some time ago there was a better and more noob friendly method invented, called Xposed Framework it makes everything easier and if you've got Wanam MOD it makes your ROM much more customizable
Minto107 said:
Some time ago there was a better and more noob friendly method invented, called Xposed Framework it makes everything easier and if you've got Wanam MOD it makes your ROM much more customizable
Click to expand...
Click to collapse
Yes you are right mate
But I like mods like these better because you do not need xposed framework and it makes things a lot better for some people
Also wanam xposed really isn't supposed to be used on this tablet as it's only been tested on the Sammy GS3 and GS4. You could potentially just soft brick your tablet for no reason at all
JT1510365 said:
Yes you are right mate
But I like mods like these better because you do not need xposed framework and it makes things a lot better for some people
Also wanam xposed really isn't supposed to be used on this tablet as it's only been tested on the Sammy GS3 and GS4. You could potentially just soft brick your tablet for no reason at all
Click to expand...
Click to collapse
But Xposed is next framework in system and it's almost impossible to brick Tab 3 and there's a zip that deletes framework so it's safe at least for me
Wysłane z mojego GT-I9305

Categories

Resources