how to mod telephony.apk to display custom PLMN? - Galaxy 3 Android Development

i just see this post:http://forum.xda-developers.com/showthread.php?t=916738
and i did it successfully .
now i'm trying to build the optable.db into telephony.apk so that i display my custom PLMN since i flashed my own rom,but i find it's hard to do it because i don't know where to modify it in this apk.do anyone knows it ?please share with usual ,thx!

Will try when i get to my pc
And i couldn't understand your problem

cdesai said:
Will try when i get to my pc
And i couldn't understand your problem
Click to expand...
Click to collapse
after you read the post ,and you'll know we can edit the optable.db and the spn-conf.xml to show custom operator info even other words.
and the optable.db is from telephony.apk
so i want to modify telephony.apk so that we can use it at any SG3 phone easily and never disapeared when we do factory reset .
sorry,my english is not fluency,i'm Chinese

dxdiag32 said:
after you read the post ,and you'll know we can edit the optable.db and the spn-conf.xml to show custom operator info even other words.
and the optable.db is from telephony.apk
so i want to modify telephony.apk so that we can use it at any SG3 phone easily and never disapeared when we do factory reset .
sorry,my english is not fluency,i'm Chinese
Click to expand...
Click to collapse
Ya I read that post before too and it doesn't state anywhere to edit any apks
You just need to edit the db file and 2 xmls
That's it
The db file is from /data/data/(something...)
The files are directly accessible via root explorer and adb

ok,thx anyway

dxdiag32 said:
ok,thx anyway
Click to expand...
Click to collapse
Your welcome
And do post the files when edited

Related

Modding ROM

Hi Guys,
I just wanna ask if you can mod a rom before the update.zip install to your own preferences.
Example you download HERO Batman ROM with its own dock,bar,bootscreen.
Then you open up the files you wanna change, example dock bar colour make it green then save it and then update the rom so that it will come in as you modded it.
Is that ok to do, or will the install of the update.zip fail if we play with the files from the downloaded rom?
Thanks in advance
you need to resign the zip-file after change
modding
Thanx bro`
I just think I will leave that alone, since "signing" isnt ringing a bell.
I done some research on the net and I see its a very delicate process.
So, before I mess up my phone I will leave it alone.
Thanx for the feedback!
it's not that delicate. check out the theme forum. loads of guides on how to resign a zip.
HI
bjehsus said:
it's not that delicate. check out the theme forum. loads of guides on how to resign a zip.
Click to expand...
Click to collapse
I swear I have done everything stericson tells in his how to.
Somehow I dont get the option RESIGN if I click on my mouse.
Maybe we dont understand eachother bcuz of my bad english.
Is it also good if I click on the map (with the files meta, framework, app etc.) and then make a new zip update file? Or is that bad shi*?
dizzydix said:
I swear I have done everything stericson tells in his how to.
Somehow I dont get the option RESIGN if I click on my mouse.
Maybe we dont understand eachother bcuz of my bad english.
Is it also good if I click on the map (with the files meta, framework, app etc.) and then make a new zip update file? Or is that bad shi*?
Click to expand...
Click to collapse
i think he means recreate the zip.. so you need to make the files/folders into 1 zip file.
OK
Ace42 said:
i think he means recreate the zip.. so you need to make the files/folders into 1 zip file.
Click to expand...
Click to collapse
OK, I just hope I wont F** up my phone.
Cheers
dizzydix said:
OK, I just hope I wont F** up my phone.
Cheers
Click to expand...
Click to collapse
You can't brick by flashing an ROM. Worst that will happen is that the phone won't boot, in that case go to recovery, wipe and flash a ROM. That's it.

[Q] Change top toggle switch button icon in android

I am in the mid of Making my own ROM and it's almost done. I want to change the icon of the toggle switch button just below the status bar. I also like to change the pop up message when I press shutdown and reboot. How can I do that ? Pls reply fast. I know decompile using APK but I don't know which file to decompile and where can I find the file to edit . Can anyone please tell me and don't ignore my post ?
leezhijiang said:
I am in the mid of Making my own ROM and it's almost done. I want to change the icon of the toggle switch button just below the status bar. I also like to change the pop up message when I press shutdown and reboot. How can I do that ? Pls reply fast. I know decompile using APK but I don't know which file to decompile and where can I find the file to edit . Can anyone please tell me and don't ignore my post ?
Click to expand...
Click to collapse
If you are making your own rom (and not being a winzip wizard) them you should know that it is controled by the framework files.
zelendel said:
If you are making your own rom (and not being a winzip wizard) them you should know that it is controled by the framework files.
Click to expand...
Click to collapse
What do you mean ? I am a newbie actually. I made my rom based on a custom rom and follow the guide on this forum.
See the attachment.
How can I change the MindCr ROM to my own text ? I really don't know where to find it. What I know is how to edit those png files
leezhijiang said:
What do you mean ? I am a newbie actually. I made my rom based on a custom rom and follow the guide on this forum.
See the attachment.
How can I change the MindCr ROM to my own text ? I really don't know where to find it. What I know is how to edit those png files
Click to expand...
Click to collapse
You will have to decompile the jar files and edit the java code. As I stated in your other thread take some time and learn to make a rom properly. Mainly when you will be required to follow all the same rules that the devs are. New to this or not. Take some time and learn linux and then learn to build a rom the proper way.
I already have the basic knowledge. How am going to learn if I don't know. Asking is a way of learning too! I already good in decompiling and compiling and script editing. The problem is don't know which xml file should I edit. I can do basic programming. I did found out the directory of those icons but I don't know how to change the title text of the pop up menu that appear after I press the "restart" and "shutdown" button.
I almost finish my ROM already just left theming and that part only. For your information, I actually modified quite a number of apk files successfully based on Nero Young tutorial.
leezhijiang said:
I already have the basic knowledge. How am going to learn if I don't know. Asking is a way of learning too! I already good in decompiling and compiling and script editing. The problem is don't know which xml file should I edit. I can do basic programming. I did found out the directory of those icons but I don't know how to change the title text of the pop up menu that appear after I press the "restart" and "shutdown" button.
I almost finish my ROM already just left theming and that part only. For your information, I actually modified quite a number of apk files successfully based on Nero Young tutorial.
Click to expand...
Click to collapse
You learn by spending a few days searching. Trust me your not the first to ask this question. There are tons of TUT all over the site to help you learn how to make a rom. What you are missing to understand is that you have not really given any info like what style rom, for what device? These things matter as depending on device and rom then it is in different places. So I could tell you were it is in my rom (which i did) but it may not be there in your rom.

[Q] How to change freaky default contacts icons

Does anyone know how to change freaky smiling default contacts icons on 4.2 official rom? I know that i can change one by one with photos, but i want to change the default ones.
athankar75 said:
Does anyone know how to change freaky smiling default contacts icons on 4.2 official rom? I know that i can change one by one with photos, but i want to change the default ones.
Click to expand...
Click to collapse
I think it needs a modified Contacts.apk.
Raven_Yen said:
I think it needs a modified Contacts.apk.
Click to expand...
Click to collapse
So this can be only with root acces, right?
athankar75 said:
So this can be only with root acces, right?
Click to expand...
Click to collapse
No you don't, but you need to get CWM and flashable deodexed files for your firmware.
Get the correct flashable deodexed files and flash in CWM to deodex your system apps. Then you can bring out and edit the Contacts.apk (or whatever apk name, I forgot) using apktool. There should be image files of the icon you don't like. You need to extract and recompile framework-res while doing this too.
Find the guide somewhere in this forum or other forum (similar things). At least these are what I did to modify SystemUI.apk previously, the process is similar.

How to????

CLOSE
Hussain_Salam said:
Hello!
I've currently Managed to install a custom rom (MIUI very sexy)
But there are a few things i don't like
1). Can i change the boot animation and how?
2). My SIM Carrier is 'Orange' but it shows up as T-Mobile UK, can i change this?
3). Where can i find the default Camera.apk in the MIUI rom!
Click to expand...
Click to collapse
i dont mean to be rude...but its irresponsible to ask questions without searching the forums first...
That said,
1.boot animation change involves finding a boot animation zip file (which u can create if you want to) and putting it inside the rom replacing the curent animation,u can get details on any guide for porting roms.
2. Changing Sim carrier sounds non functional but it probably will involve the build.prop..altho i am not sure about that..
3.Isnt that already installed?...you can find it inside the rom zip or in your phone /system/app
neo45215 said:
i dont mean to be rude...but its irresponsible to ask questions without searching the forums first...
That said,
1.boot animation change involves finding a boot animation zip file (which u can create if you want to) and putting it inside the rom replacing the curent animation,u can get details on any guide for porting roms.
2. Changing Sim carrier sounds non functional but it probably will involve the build.prop..altho i am not sure about that..
3.Isnt that already installed?...you can find it inside the rom zip or in your phone /system/app
Click to expand...
Click to collapse
'Irresponsible' isn't the correct term, You mean i'm being lazy. I've changed the Boot Animation and i guess i'm not to alarmed about the Carrier name, but There is a default camera installed but i don't like it therefore i would like to replace it, I can't find it in system/app
Hussain_Salam said:
'Irresponsible' isn't the correct term, You mean i'm being lazy. I've changed the Boot Animation and i guess i'm not to alarmed about the Carrier name, but There is a default camera installed but i don't like it therefore i would like to replace it, I can't find it in system/app
Click to expand...
Click to collapse
irresponsible/lazy....semantics..but if you want any camera app you can just d/l it or exttraxt from any rom zip maybe..
neo45215 said:
irresponsible/lazy....semantics..but if you want any camera app you can just d/l it or exttraxt from any rom zip maybe..
Click to expand...
Click to collapse
'Any Camera' App won't work, some will simply force close. I've fixed my problem just looking for a decent gallery

[MOD][7-2-2015][Modded caller app (banners free)][Lollipop 5.0 - 5.0.1]

Hi guys,
I just wanted to share you edited caller app from Lollipop leak (N9005XXUGBNL8).
It also works on official FW and even 5.0.1 Note 4 ports.
I didn't like the stock, so I "fixed" in my way .
I hope you like it.
Screenshots:​
​
Changelog:
1. Removed orange/green caller banner.
2. Removed background on "Last spoke" and moved to left.
Download:
v1
https://www.dropbox.com/s/yivnbmenzti0jiq/No_banners_Lollipop_n9005.zip?dl=0
v2 - Delay after call end removed
https://www.dropbox.com/s/ifpitp647i0ct5e/No_banners_no_delay_Lollipop_n9005.zip?dl=0
Install:
Put the zip in CWM/TWRP and flash it.
Warning! It's only for DeODEXed ROMs!
Enjoy!
thank you very mach , work very fin
thankz a lot ..... flashed it one echor rod ... worked fine ... bt
is official n9005 (N9005XXUGBOA5) is odex or deodex ...
can i flash this of stock...??
All official ROMs flashed via ODIN are Odex.
Most custom ROMs are deodex.
masterross said:
Hi guys,
I just wanted to share you edited caller app from Lollipop leak (N9005XXUGBNL8).
It also works on official FW and even 5.0.1 Note 4 ports.
I didn't like the stock, so I "fixed" in my way .
I hope you like it.
Screenshots:​
​
Changelog:
1. Removed orange/green caller banner.
2. Removed background on "Last spoke" and moved to left.
Download:
https://www.dropbox.com/s/yivnbmenzti0jiq/No_banners_Lollipop_n9005.zip?dl=0
Install:
Put the zip in CWM/TWRP and flash it.
Warning! It's only for DeODEXed ROMs!
Enjoy!
Click to expand...
Click to collapse
Please provide for Official Stock Lollipop firmware.. :fingers-crossed:
TheTAMAS said:
Please provide for Official Stock Lollipop firmware.. :fingers-crossed:
Click to expand...
Click to collapse
Hi,
You can use it on official deodexed ROMs.
If you mean official Odex then probably you can use it too but need to remove odex file and ARM folder (if exist).
masterross said:
Hi,
You can use it on official deodexed ROMs.
If you mean official Odex then probably you can use it too but need to remove odex file and ARM folder (if exist).
Click to expand...
Click to collapse
I confirm it works on odex rom too.. :victory:
Official one for sure.. No need to delete any odex file or arm folder-there aren't any to delete..
:highfive:
Please, can you revert back the background color of last talked info because as you can see in the attachment-user picture makes it hard to read the text without the background image..
Also, if possible, please replace the dial pad 'water drop' should with the file in the attached zip-it'll be SOOOOOOOOO great of you..
I hope you understood my request.. :fingers-crossed:
Hi,
Here is the modded apk.
https://www.dropbox.com/s/kcogmix32evozui/No_banners_Lollipop_n9005_TheTAMAS.zip?dl=0
I use only dark background pics so thats I made it white transparent.
About dial tone you need to change touch_ripple.ogg from SecContacts_Phone_OSup.apk
You can do it simple with Zip or Rar. No need to decompile (I think).
masterross said:
Hi,
Here is the modded apk.
https://www.dropbox.com/s/kcogmix32evozui/No_banners_Lollipop_n9005_TheTAMAS.zip?dl=0
I use only dark background pics so thats I made it white transparent.
About dial tone you need to change touch_ripple.ogg from SecContacts_Phone_OSup.apk
You can do it simple with Zip or Rar. No need to decompile (I think).
Click to expand...
Click to collapse
For some strange reason-this file isn't working..
I tried deleting, over-writing, cut-paste, wipe Dalvik cache, everything that I could think of.. Other person receives call but I don't get to see anything going on, on my end.. Used Flight Mode toggle to disconnect the call..
And I didn't get the 2nd parta your reply 'zip or rar'..
TheTAMAS said:
For some strange reason-this file isn't working..
I tried deleting, over-writing, cut-paste, wipe Dalvik cache, everything that I could think of.. Other person receives call but I don't get to see anything going on, on my end.. Used Flight Mode toggle to disconnect the call..
And I didn't get the 2nd parta your reply 'zip or rar'..
Click to expand...
Click to collapse
Hm.
Try this one:
https://www.dropbox.com/s/gn88vmti65jzrim/No_banners_Lollipop_n9005_org_last_spoke.zip?dl=0
For changing touch sound you need to go to:
/system/priv-app/SecContacts_Phone_OSup/SecContacts_Phone_OSup.apk
transfer to PC open with winrar and change the touch_ripple.ogg with yours.
masterross said:
Hm.
Try this one:
https://www.dropbox.com/s/gn88vmti65jzrim/No_banners_Lollipop_n9005_org_last_spoke.zip?dl=0
For changing touch sound you need to go to:
/system/priv-app/SecContacts_Phone_OSup/SecContacts_Phone_OSup.apk
transfer to PC open with winrar and change the touch_ripple.ogg with yours.
Click to expand...
Click to collapse
:highfive:
It's working now.. w0.ot :victory:
But the latter part regarding rar/zip didn't.. It force crashes the Contacts app
Please check the attachments
The zip contains the modified apk and the related ogg file
Fyki, I don't know how true it is-I read on XDA long time ago that the sound files are present in the phone apk and not the contacts apk
I tried changing the files at that time too-it gave force crash too.. :laugh:
The reason why I'm still hopeful is because I reckon that zip/rar may not be the right way to do so.. :fingers-crossed:
@TheTAMAS
Try this:
https://www.dropbox.com/s/cxg7aka1cwlti0n/touch_sound.zip?dl=0
It's DeOdexed.
If you have problems remove the Odex file and ARM
masterross said:
@TheTAMAS
Try this:
https://www.dropbox.com/s/cxg7aka1cwlti0n/touch_sound.zip?dl=0
It's DeOdexed.
If you have problems remove the Odex file and ARM
Click to expand...
Click to collapse
There's no related odex file or arm folder but the icon isn't showing up (maybe it has something to do with compression type like best, store, normal)
Please check the attachment..
The app won't even appear forget force crash or running..
What ROM do you run?
Also please check the permissions on the apk.
Sometime it's not set correctly, that's why icon is missing.
Regards
masterross said:
What ROM do you run?
Also please check the permissions on the apk.
Sometime it's not set correctly, that's why icon is missing.
Regards
Click to expand...
Click to collapse
I'm running stock Lollipop Samsung Galaxy Note 3 official firmware..
Check the snapshot in my previous post-the permissions are visible in it..
There is some problems with recompiling this apk. Sorry.
Sent from my SM-N910F using Tapatalk
masterross said:
There is some problems with recompiling this apk. Sorry.
Sent from my SM-N910F using Tapatalk
Click to expand...
Click to collapse
Thanks anyways.. :highfive:
Just a question, what is the method for reverting back to Echoe Rom v23 default dialer with full image? I have yours now which I really prefer, but I would like to toggle back just to compare the difference. Than you.
Just extract LegacyInCallUI.apk from your ROM's zip and replace in phone with correct permissions.
masterross said:
Just extract LegacyInCallUI.apk from your ROM's zip and replace in phone with correct permissions.
Click to expand...
Click to collapse
Thank you man.. Yours is by far the better option. I can't see how anyone can use the convoluted stock dialer.

Categories

Resources