I'm trying to edit this part of the Android Framework: https://cs.android.com/android/plat.../telephony/dataconnection/DataConnection.java
I've tried disassembling framework.jar but couldn't find the code related to this java file. How could I go about modifying this part of the OS and re-injecting it and where should this source code be located on my device (I'm using an Android 11 phone) ?
Related
Hi,
I want to make some changes to LatinIME. I got the code from git repository-
android.googlesource.com/platform/packages/inputmethods/LatinIME
But I don't know how to build the apk file from the code. If anyone has build the LatinIME from the code, can you please share instructions.
Specifically I want to know how to build the dictionary tools (I guess I would need ndk), how to build the native code (again I guess it would required ndk) and finally how to build the java code by using the lib file from native code.
thanks!
I was downloaded a source code of Real APK Leecher v3.6 from this board, can anyone expert in Java, show me the tutorial step by step to recompile the source code. I was new in Java Programming but i like to use this tool but i prefer to recompile the source code rather than the already compile JAR. Thanks in advance..
I decompiled an Apk file and I want to add some code to the java classes,but it seems that the javaclasses are different from the way they are written,for example those who edit WhatsApp and make WhatsApp plus ,how did they decompile WhatsApp to get dull source code and add some java codes to add features ?really frustrating !
The apk is most likely obfuscated with some program such as proguard because the developers do not want you looking at their source code..
Hi, im currently developing a system for wifi-direct application testing.
To do so, i need to change some classes in the android framework, specially in android.net.wifi package.
I've downloaded the Android 6.0.0 source tree, made some changes and recompiled it to x86 to push the new framework into the emulator. (Running Nexus 6 image with Android 6.0.0)
After that i pushed the recompiled jars, boot.art and boot.oat, and the odex files.
When i restart the emulator the image don't work.
Is this possible to do? Change the framework or at least part of her implementation and manually push the files into the emulation?
If so, what can i be doing wrong?
Thanks for the help, Filipe Teixeira
Hello all! I have downloaded and successfully build the AOSP for marshmallow (android-6.0.1_r79). Than I made some changes to the stockkeyboard (regarding to my other topic, but not relevant here). The file which I modified was this here:
packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
I compiled the code and it was successfull too. But than I realize I face some problems.
I mounted the system.img and get into the path: /system/app/LatinIME/
I decompiled the app (jadx, apktool) to check if the modification there is available and here is the problem
This APK does not contain any Java sources?! Its just xml regarding to the layout. When I replace my old Stockkeyboard with this one, it is still perfectly working? So I got not clue whats going on.
Question regarding to this topic are:
How can I make a modification to the stock keyboard LatinIME
Building this new AOSP image with the new keyboard
And extracting the new keyboardj(APK) out of this image to install it on my device (Root permissions are of course available)
What I have tryed:
Modyfing the following Java file: packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
Compiling the complete project (make -j4 and just the keyboard: make -j LatinIME)
Replacing my own keyboard with the modified stock keyboard
My steps are as described not working. The keyboard appears and its working but the modification seems to be missing. Also by decompiling it, there are no Java sources within it.
I am relly glad for any help to this topic! Thank you!