[SAMSUNG] Where to find Java code of a system application? - General Questions and Answers

Hello there!
Today I'm asking this question because I didn't found a question like this on XDA, and I was wondering why.
However, this is not so obvious in my opinion!
I know that you can find the Java code (in some sort) in the apk file.
But I checked some system apps (i.e. TouchWiz Mass Launcher, SystemUI) and I didn't find any code into these apk, only XML, resources, drawables and stuff.
So where can I find it? I'd like to modify system apps to add new features, not only for theming
Thank you in advance.
(P.s: Please avoid "U should install xposed its mor easy" thing because I do know that and I got it already. Just answer - or don't-, thanks)

Related

Modifying Android stock applications

Hello all,
I am quite new so please pardon my ignorance.
I am new to Android and trying to develop some applications with some success.
What I want to know is, if I want to extend/change a system application, for example, Phone.apk file) how can I do so without downloading the whole ROM source from GIT repositories. Also I will like to know is there a way to debug the same without building the whole source every time?
All the questions I searched were related to Java or general Android application development. I could not find anything related to extending/changing system applications. Maybe I didn't searched well enough. If yes, please point me to the right thread.
Any help will be hugely appreciated.
Regards,
Yogesh.

Stupid Question - Unrooted Themes?

Yes I'm a Droid Noob, so please forgive my ignorance. But there is no way to install/use themes on a stock phone. I thought this was an open source UI?
yep, it is an open source UI, you are more than welcome to add Launcherpro, or adwlauncher or other apps to change your android experience. However, changing UI colors and fonts requires access to the framework of the software. HTC cant just let developers have access to the framework, that would create a security hole in the software...so by rooting your phone, you are trusting the developers here with the tricks and nacks they've developed in roms and themes.
OnceAMatrixMan said:
Yes I'm a Droid Noob, so please forgive my ignorance. But there is no way to install/use themes on a stock phone. I thought this was an open source UI?
Click to expand...
Click to collapse
Technically, this is not an open source UI. Android which is the base operating system is open source, but the entire Sense UI is closed source (i.e. proprietary).

AOSP questions

I have several questions which I hope someone can answer..
1) How can I fix the "wifi tethering" in the latest AOSP 2.2? I tried to use it but it just crashes, even when I download a wifi-tethering app
2) How do I define compiling "livewallpapers" when I compile for dream? I see the folder for basic wallpapers, livepicker, and some other folders, but how can I include compiling for them?
3) is there any way to hack the launcher to use the gpu instead of the cpu?
Thanks in advance. I'm mainly looking for a solution for Q #1...
Anyone?
(10char)

need help recoding framework+settings please.

Hi I would like some help on altering the code in the framework-res, and settings.apk to make the built in USB+WiFi tethering say yes and work. I've tried and I can't find the lines.
Didn't you already post a thread with basically the same question here?
Please don't create another thread, when you already have a thread which you're asking basically this same question.
This is technically a new question, in that one I was asking what to do, and I found out but I was wondering if someone experienced could help me find the lines of code for tethering.
Do you know if I'm supposed to edit the apk files with notepad++, or do I edit something inside those?

Enable App ops+ Stock+ Rooted

I've been at this for a little while and I have not made any headway. I know this should be in the developer thread but I'm unable to post there due to lack of post.
My goal is to get App ops back onto a stock+rooted rom by this method.
http://forum.xda-developers.com/sho...tmctr=(not provided)&__utmv=-&__utmk=22201272
I am able to decompile settings, framework and com.htc.resources but once decompiled i cannot find Settings.smali to make the changes.
When decompiled in the settings folder I have the android manifest and a res folder.
This is the first htc phone I've had so maybe I'm over looking something. I know the original post is using a Nexus but I think I should be able to at leaf get to the editing point.
I'm running ART which rules out Xprivacy since it runs off of xposed and I prefer to edit this in rather than running a closed source alternative.
-Any direction would be greatly appreciated.
As an update I was able to get into the settings.smali however the code for Sense is not the as what was linked in the above article.
Does anyone know the edits needed to achieve this in Sense 4.4.2?
I can supply the settings.smali if needed.
Are you trying to do it this way because you don't want to run the Xposed Framework? There is a module which will do this for you here.
Correct, I'm running ART which Xposed Framework is not compatible with.

Categories

Resources