[Q] G2 dialer apk - G2 Q&A, Help & Troubleshooting

Hello All,
I would like to mod a bit the default dialer in the G2. i found the package com.android.contacts which I believe its related however there are only XML files (under res folder) but no source code, i wasnt able to find any odex file.
so my questions is where in the file system can I find the source code/package for the default G2 dialer?
Thank you for your help in advanced.

[email protected]@c3 said:
Hello All,
I would like to mod a bit the default dialer in the G2. i found the package com.android.contacts which I believe its related however there are only XML files (under res folder) but no source code, i wasnt able to find any odex file.
so my questions is where in the file system can I find the source code/package for the default G2 dialer?
Thank you for your help in advanced.
Click to expand...
Click to collapse
I believe the dialer apk is system/priv-app/LGTeleservice.apk and the source code is in the android manifest

Art Vanderlay said:
I believe the dialer apk is system/priv-app/LGTeleservice.apk and the source code is in the android manifest
Click to expand...
Click to collapse
Thank you!
I believe that the related APK file is com.android.contacts since I managed to find several related classes which I believe are related, see below:
AlphabetConverter.java
NumberToHebrewConverter.java
NumberToRussianConverter.java
NumberToChunjiinConsonantConverter.java
etc
So based on the above I believe that I am on the right direction however im currently trying to understand the idea behind the hashmap and its functionality and also find the relevant class for handling the click button events.
does anyone have any experience with that?
Thank you in advanced.

Related

[Q] .xml files

Ok I'm posting this in hope that a developer will answer.
I have been trying to edit .xml files on the droid x. I'm running linux (who runs windows anyway) I have experience in c++ and scripting , but non in themeing.
I have download a bunch of xml file editors. The problem is that every time I open one with the editor I get a error saying " coding not supported ". What ia the deal here and why? Does anyone have any suggestions or ideas why?
Thank you xda
The .xml files need to be decompiled first. Otherwise, they are unreadable. The only way I know off is to decompile the entire apk file with apk manager or aapt.
Note that you have to recompile the apk (xml) before putting it back on your phone.
GL
Thank you makes sense.
B-dub25 said:
Ok I'm posting this in hope that a developer will answer.
I have been trying to edit .xml files on the droid x. I'm running linux (who runs windows anyway) I have experience in c++ and scripting , but non in themeing.
I have download a bunch of xml file editors. The problem is that every time I open one with the editor I get a error saying " coding not supported ". What ia the deal here and why? Does anyone have any suggestions or ideas why?
Thank you xda
Click to expand...
Click to collapse
Still working with this myself. You need to look on google code for smali/baksmaling, as this is what is used to compress/decompress the xml files.
Thank you systemadmin that's what I thought I had to do, decompile the. Xml file ,but just didn't now how thank you for your reply.
No worries. I have been working on trying to theme and what not myself, and it seems pretty complex at the beginning. Im trying to get some tips from like bignadad, acidbath, and some of the other big developers out here, but they are usually pretty busy and I haven't had much luck. If you start making some progress, send me a PM and share the love =)
Sent from my DROIDX using XDA App

[Q] A noobie question about porting?

Dear developers, I'm sorry for the noobie question, but I'm kinda trying to port apps myself, and I'm confused when it comes to which library is an app using (*.so files)....When I decompile an app, I noticed that if it is using a library, in the smiles somewhere in the code there is something like that "LoadLibrary(string***)" but there is no name of the lib written.....how do you figure out which is the lib that its using? And second, where do you get this lib from......because as I looked through some ported apps by You, dear developers, (like SyncHub from Xperia Z3 and Portrait Retouch from Xperia C3), You had included some libs in the apks, but I cant find those libs anywhere in the firmware itself.......So do You create those libs yourself, or....?
VladoBENZ said:
Dear developers, I'm sorry for the noobie question, but I'm kinda trying to port apps myself, and I'm confused when it comes to which library is an app using (*.so files)....When I decompile an app, I noticed that if it is using a library, in the smiles somewhere in the code there is something like that "LoadLibrary(string***)" but there is no name of the lib written.....how do you figure out which is the lib that its using? And second, where do you get this lib from......because as I looked through some ported apps by You, dear developers, (like SyncHub from Xperia Z3 and Portrait Retouch from Xperia C3), You had included some libs in the apks, but I cant find those libs anywhere in the firmware itself.......So do You create those libs yourself, or....?
Click to expand...
Click to collapse
The library files will be in /system/lib/
anagramgenius said:
The library files will be in /system/lib/
Click to expand...
Click to collapse
Well thats the problem, that they are not there....Both the examples, ported SyncHub and Portrait Retouch, has libs in them, that I cant find in system/lib.....and I wonder where the developers got them from
VladoBENZ said:
Well thats the problem, that they are not there....Both the examples, ported SyncHub and Portrait Retouch, has libs in them, that I cant find in system/lib.....and I wonder where the developers got them from
Click to expand...
Click to collapse
Did you really search those lib files in Z3 or C3? Because I found the lib file of SyncHub, i.e. libxt.so in /system/lib/
anagramgenius said:
In what firmware of Z3 you searched for those library files?
Click to expand...
Click to collapse
I checked several firmwares, not just one......if its easier, lets talk for one file in particular......in order SyncHub to work, it obviously needs libxt.so......which a developer included inside his ported apk......so the original apk is absolutely the same, as his, except that there is no libxt.so file in it......so i tried to look for it in all folders of the firmware......and there is no such file......there are libxt_native.so........but its like 1 mb, whereas the file from the ported apk is like 10 mb
VladoBENZ said:
I checked several firmwares, not just one......if its easier, lets talk for one file in particular......in order SyncHub to work, it obviously needs libxt.so......which a developer included inside his ported apk......so the original apk is absolutely the same, as his, except that there is no libxt.so file in it......so i tried to look for it in all folders of the firmware......and there is no such file......there are libxt_native.so........but its like 1 mb, whereas the file from the ported apk is like 10 mb
Click to expand...
Click to collapse
I even found the lib file of textinput-tng.apk i.e. libswiftkeysdk-java.so in /system/lib/
anagramgenius said:
I even found the lib file of textinput-tng.apk i.e. libswiftkeysdk-java.so in /system/lib/
Click to expand...
Click to collapse
Yes, it is there , but all the lib files that are in these ported apps, i cant find....and im wondering if the developers that port apps, are making them themselves
VladoBENZ said:
Yes, it is there , but all the lib files that are in these ported apps, i cant find....and im wondering if the developers that port apps, are making them themselves
Click to expand...
Click to collapse
AFAIK, they don't make the library files. It will be in the firmware itself.

Need Help Porting OnePlus Music Player

Hey guys!
I need your help. I'm trying to port the OnePlus Music Player to the OP2. As you all may or may not know, the app will crash on every ROM available for the OP and no one has made a port yet. I think it's crashing is due to the missing lib files based on the logcat. I,ve been using this thread as guide to port the app:
http://forum.xda-developers.com/showthread.php?t=2476050
However, the problem now is I can't find the appropriate lib file(s) for the app. I tried to look into the logcat, but it gave me this error instead:
10-18 10:51:30.636 E/AndroidRuntime(13731): Caused by: java.lang.ClassNotFoundException: Didn't find class "net.oneplus.odm.insight.tracker.AppTracker" on path: DexPathList[[zip file "/system/app/Music/Music.apk"],nativeLibraryDirectories=[/system/app/Music/lib/arm64, /vendor/lib64, /system/lib64]]
By the way, the app is extracted from a ROM from this thread:
https://forums.oneplus.net/threads/port-oxygenos-3-x-x-deodexed-magisk-root-xposed.467707/
So now, I need you're guys help to me find the appropriate lib file(s) and to get this app working. Any help would be greatly appreciated
Kezatic said:
Hey guys!
I need your help. I'm trying to port the OnePlus Music Player to the OP2. As you all may or may not know, the app will crash on every ROM available for the OP and no one has made a port yet. I think it's crashing is due to the missing lib files based on the logcat. I,ve been using this thread as guide to port the app:
http://forum.xda-developers.com/showthread.php?t=2476050
However, the problem now is I can't find the appropriate lib file(s) for the app. I tried to look into the logcat, but it gave me this error instead:
10-18 10:51:30.636 E/AndroidRuntime(13731): Caused by: java.lang.ClassNotFoundException: Didn't find class "net.oneplus.odm.insight.tracker.AppTracker" on path: DexPathList[[zip file "/system/app/Music/Music.apk"],nativeLibraryDirectories=[/system/app/Music/lib/arm64, /vendor/lib64, /system/lib64]]
By the way, the app is extracted from a ROM from this thread:
https://forums.oneplus.net/threads/port-oxygenos-3-x-x-deodexed-magisk-root-xposed.467707/
So now, I need you're guys help to me find the appropriate lib file(s) and to get this app working. Any help would be greatly appreciated
Click to expand...
Click to collapse
here you go!:laugh:
instal like a normal apk. Onle for MM
XpRoPhEtX2015 said:
here you go!:laugh:
instal like a normal apk. Onle for MM
Click to expand...
Click to collapse
Thnx dude. BTW, just curious, how did you get it to work?

[Theme Creating] How to edit third party apps using EMUI themes?

I found EMUI themes on the internet which changed the design of various third party apps like f.e. WhatsApp. So I know, I could just take the theme, and edit the com.whatsapp file in it, but there are not all design elements of the app included. So my question: How can I find out the name of every design element and file name to change the design of every part of each app?
This is huge process i think
I'd just need the name of the elements for this xml file and the rest of the file structure where the media files for icons are (with their name). How could other people do it then? Isn't there a way to easily find that out? ?
I guess you have to decompile the apps in question and look at their source code for the correct names for elements. Probably a bit time consuming process yes. But that's probably how they all do it.
Thanks, I decompiled WhatsApp.apk and am now trying to understand how this whole thing works... I still don't understand everything especially because of the theme.xml file which obviously only exists in the theme, but not in the decompiled WhatsApp.apk. But I'm going to try to find out everything by try and error
Maybe this will help you:
http://developer.huawei.com/consumer/en/resources/index.php?title=How_to_Create_Themes
Lyshalia said:
Maybe this will help you:
http://developer.huawei.com/consumer/en/resources/index.php?title=How_to_Create_Themes
Click to expand...
Click to collapse
Hmm there isn't explained how editing of any app works, only some app icons, wallpaper and lockscreen.
Lyshalia said:
Maybe this will help you:
http://developer.huawei.com/consumer/en/resources/index.php?title=How_to_Create_Themes
Click to expand...
Click to collapse
Themeing tool is available ? Do you have any links?
venugopalu007 said:
Themeing tool is available ? Do you have any links?
Click to expand...
Click to collapse
There is a link on the site, you will find it. Just scroll down a bit.
Lyshalia said:
There is a link on the site, you will find it. Just scroll down a bit.
Click to expand...
Click to collapse
In which section , i didn't find the link
venugopalu007 said:
In which section , i didn't find the link
Click to expand...
Click to collapse
1. THEME TEMPLATE & TOOL
1.1 Download the required files
Lyshalia said:
Maybe this will help you:
http://developer.huawei.com/consumer/en/resources/index.php?title=How_to_Create_Themes
Click to expand...
Click to collapse
Lets see , thanks for the link.
Does anyone know how to edit the chat bubbles in Whatsapp using the EMUI themes? I already tried to enter another color inside the theme.xml:
<color name="bubble_color_outgoing">#ffd29bd7</color>
And I also tried to edit those files (see attachment) inside /res/drawable-hdpi-v4/, /res/drawable-xhdpi-v4/ and /res/drawable-xxhdpi-v4/.
Nothing changed. Is the EMUI theming engine unable to edit those chat bubbles or is there another file that I missed?

Can someone confirm that AdHell works on Android Pie?

Hi guys,
I just received the Android Pie update notification. Before I accept it I want to be sure that AdHell works with it.
Thanks
Yeah
Adhell3 working perfect
Yes, just make sure you have the latest version of it and you should be fine.
Using latest adhell3 from github, working perfect on pie.
Can anyone help me get adhell back working? I had to renew my key now its asking for elm key, how do I generate a new one?
NvWatts said:
Can anyone help me get adhell back working? I had to renew my key now its asking for elm key, how do I generate a new one?
Click to expand...
Click to collapse
Check the first post in this thread at reddit -
https://www.reddit.com/r/Adhell/comments/av97nk/ah3_v311_lives_on/
liamR said:
Check the first post in this thread at reddit -
https://www.reddit.com/r/Adhell/comments/av97nk/ah3_v311_lives_on/
Click to expand...
Click to collapse
I get error code 102
Check the license type and that Reddit post.
rhadoo_ds said:
Check the license type and that Reddit post.
Click to expand...
Click to collapse
Where can I get the XML file edit to change name bc apK editor didnt work for me?
NvWatts said:
Where can I get the XML file edit to change name bc apK editor didnt work for me?
Click to expand...
Click to collapse
You need APK Editor Pro. Use it to edit the package name (3,8,9 letters) line 6 in AndroidManifest.xml (XML File Edit). Don't forget to save the edited file and then generate new apk.
I have tried to update the adhell code from github ... and it messed up the entire build process ... the dev swithched to knox 3.3, and i guess that might cause my issue ..
having same issues either it gives me a 201 error even after multiple code recreations anddifferent versions. or it just closes and reasks for klm and we repeat tried creating own...still no go......any help....i had and forgot to just renew, so i accidently got rid of to recreate new...ooopps on my end and now i am here.......helllppp lol
I use apk easy tool for pc to decompile citizen v apk and modify the app name then compile and works great. I was having issues with apk editor pro on phone.
Just installed using this guide: https://is.gd/note9adhell
Pay attention that for Note 9, you need to edit the package name by editing AndroidManifest.xml, and not by using Basic Edit.
I used Basic Edit and it caused parse error.
So why do you guys all go through the process of compiling the app and all that other stuff when you can simply download the APK and install it.l, then enter your license key? I've been doing it that way for over 6 months, always worked perfectly. But today I downloaded the latest 3.1.1.290 and for some reason it won't accept my license key, it's always worked fine, I did start a thread about it and then found this so thought I'd post here too, see if anyone can help.
beta546 said:
So why do you guys all go through the process of compiling the app and all that other stuff when you can simply download the APK and install it.l, then enter your license key? I've been doing it that way for over 6 months, always worked perfectly. But today I downloaded the latest 3.1.1.290 and for some reason it won't accept my license key, it's always worked fine, I did start a thread about it and then found this so thought I'd post here too, see if anyone can help.
Click to expand...
Click to collapse
Probably because the dev doesn't recommend it and that's how other adblockers got black listed from Knox access. You don't even have to compile it.
You can use the app editor pro and edit the manifest.
Yours isn't working because you didn't modify probably....
I see quite a bit of misinformation in this and similar threads. Please keep in mind that AdHell3 is NOT supported on XDA. For official and up-to-date information about the AdHell3 project, please visit:
Main repo: https://gitlab.com/fusionjack/adhell3
Scripts for compiling: https://gitlab.com/fusionjack/adhell3-scripts
Get your EDU ELM key from: https://seap.samsung.com/license-keys/generate/edu
Official Support Discord Channel: https://discord.gg/hfreZum
Dependable(?) precompiled APKs: https://www.mediafire.com/folder/sb37c6gmhqgbn

Categories

Resources