[GUIDE-VOLTE-PIE]VoLTE and VoWifi enabling on PIE G710EM - LG G7 ThinQ Guides, News, & Discussion

Hello everyone, I just wanted to share with you how to enable VoLTE and VoWiFi on the LG G710EM Android Pie.
I've found on the forum this guide https://forum.xda-developers.com/lg-g7-thinq/how-to/wip-guide-enable-volte-vowifi-uk-mobile-t3835167 written by @stuclark , it is perfect but you have to do something else to make it works on Android 9.
What we need:
LG G710EM with unlocked bootloader and root(magisk).
Follow these steps:
1) Flash a patched boot.img with "lge.op_verity=0". I'll attach an already patched and edited boot.img for V20e PIE. If you are on a different version, just extract the boot.img from the LG KDZ, patch with magisk and open with an hex-editor, like HxD, search "lge.op_verity=1" then change it to "lge.op_verity=0".
2)Flash the patched and edited boot.img in fastboot mode
Code:
fastboot flash boot_a [location of your boot.img file]
fastboot flash boot_b [location of your boot.img file]
then reboot
3) Now you can follow the steps of @stuclark 's guide that I will report below:
4) Open Solid Exploer and navigate to the following location in your root storage: Root > OEM > OP > OPEN_EU > CONFIG folder and open the VO_CONFIG.XML file. Make a backup of it. If you're magisk is not working well after flashing the modified boot.img, go into magisk manager and patch it again.
5) You now need to add settings for your network in the file above... You'll need to know your network's MNC & MNC for this, which can be found from the LG hidden menu *#546368#*710# under the Field Test > SIM Info section. You can add just the network you use, or all for your country, or any other combination of your choosing.
To have the VoLTE enabled and working with the Italian providers (TIM IT, Vodafone IT, Wind):
Code:
</info>
<info mcc="222" mnc="88"><!-- WIN -->
<prop
support_volte="1"
support_vilte="0"
support_vowifi="0"
support_viwifi="0"
/>
</info>
<info mcc="222" mnc="10"><!-- VDF IT -->
<prop
support_volte="1"
support_vilte="0"
support_vowifi="0"
support_viwifi="0"
/>
</info>
<info mcc="222" mnc="01"><!-- TIM IT -->
<prop
support_volte="1"
support_vilte="0"
support_vowifi="0"
support_viwifi="0"
/>
6) Check in the global_apns.xml file if your provider's ims apn is present. If not just add it.
For the italian providers :
Code:
<apn carrier="IMS" mcc="222" mnc="88" apn="ims" user="" password="" authtype="0" server="" proxy="" port="" mmsc="" mmsproxy="" mmsport="" type="ims" defaultflag="2" user_editable="false" user_visible="false" roaming_protocol="IPV4V6" protocol="IPV4V6" preferapp="" suffix="EUU,WIND" childSuffix="EUU[WIND]" />
<apn carrier="IMS" mcc="222" mnc="10" apn="IMS" user="" password="" authtype="0" server="" proxy="" port="" mmsc="" mmsproxy="" mmsport="" type="ims" defaultflag="2" roaming_protocol="IPV4V6" protocol="IPV4V6" preferapp="" user_editable="false" user_visible="false" suffix="EUU,OVG,VDI" childSuffix="EUU[VDI],OVG[VDI]" />
<apn carrier="IMS" mcc="222" mnc="01" apn="ims" user="" password="" authtype="0" server="" proxy="" port="" mmsc="" mmsproxy="" mmsport="" type="ims" defaultflag="2" user_editable="false" user_visible="false" roaming_protocol="IPV4V6" protocol="IPV4V6" preferapp="" suffix="EUU,TIM" childSuffix="EUU[TIM]" />
Save it and reboot the phone. Now The VoLTE should works and you should be able to see the VoLTE toggle in the settings.
I hope it helped. Thanks to @stuclark .
Attachments:
https://drive.google.com/open?id=1jiXkI1aH5PHIQQFLe_FXYoPh5HgeVZEe boot img

GuidoFlex2 said:
Hello everyone, I just wanted to share with you how to enable VoLTE and VoWiFi on the LG G710EM Android Pie.
I've found on the forum this guide https://forum.xda-developers.com/lg-g7-thinq/how-to/wip-guide-enable-volte-vowifi-uk-mobile-t3835167 written by @stuclark , it is perfect but you have to do something else to make it works on Android 9.
What we need:
LG G710EM with unlocked bootloader and root(magisk).
Follow these steps:
1) Flash a patched boot.img with "lge.op_verity=0". I'll attach an already patched and edited boot.img for V20e PIE. If you are on a different version, just extract the boot.img from the LG KDZ, patch with magisk and open with an hex-editor, like HxD, search "lge.op_verity=1" then change it to "lge.op_verity=0".
2)Flash the patched and edited boot.img in fastboot mode
Code:
fastboot flash boot_a [location of your boot.img file]
fastboot flash boot_b [location of your boot.img file]
then reboot
3) Now you can follow the steps of @stuclark 's guide that I will report below:
4) Open Solid Exploer and navigate to the following location in your root storage: Root > OEM > OP > OPEN_EU > CONFIG folder and open the VO_CONFIG.XML file. Make a backup of it. If you're magisk is not working well after flashing the modified boot.img, go into magisk manager and patch it again.
5) You now need to add settings for your network in the file above... You'll need to know your network's MNC & MNC for this, which can be found from the LG hidden menu *#546368#*710# under the Field Test > SIM Info section. You can add just the network you use, or all for your country, or any other combination of your choosing.
To have the VoLTE enabled and working with the Italian providers (TIM IT, Vodafone IT, Wind):
Code:
</info>
<info mcc="222" mnc="88"><!-- WIN -->
<prop
support_volte="1"
support_vilte="0"
support_vowifi="0"
support_viwifi="0"
/>
</info>
<info mcc="222" mnc="10"><!-- VDF IT -->
<prop
support_volte="1"
support_vilte="0"
support_vowifi="0"
support_viwifi="0"
/>
</info>
<info mcc="222" mnc="01"><!-- TIM IT -->
<prop
support_volte="1"
support_vilte="0"
support_vowifi="0"
support_viwifi="0"
/>
6) Check in the global_apns.xml file if your provider's ims apn is present. If not just add it.
For the italian providers :
Code:
<apn carrier="IMS" mcc="222" mnc="88" apn="ims" user="" password="" authtype="0" server="" proxy="" port="" mmsc="" mmsproxy="" mmsport="" type="ims" defaultflag="2" user_editable="false" user_visible="false" roaming_protocol="IPV4V6" protocol="IPV4V6" preferapp="" suffix="EUU,WIND" childSuffix="EUU[WIND]" />
<apn carrier="IMS" mcc="222" mnc="10" apn="IMS" user="" password="" authtype="0" server="" proxy="" port="" mmsc="" mmsproxy="" mmsport="" type="ims" defaultflag="2" roaming_protocol="IPV4V6" protocol="IPV4V6" preferapp="" user_editable="false" user_visible="false" suffix="EUU,OVG,VDI" childSuffix="EUU[VDI],OVG[VDI]" />
<apn carrier="IMS" mcc="222" mnc="01" apn="ims" user="" password="" authtype="0" server="" proxy="" port="" mmsc="" mmsproxy="" mmsport="" type="ims" defaultflag="2" user_editable="false" user_visible="false" roaming_protocol="IPV4V6" protocol="IPV4V6" preferapp="" suffix="EUU,TIM" childSuffix="EUU[TIM]" />
Save it and reboot the phone. Now The VoLTE should works and you should be able to see the VoLTE toggle in the settings.
I hope it helped. Thanks to @stuclark .
Attachments:
https://drive.google.com/open?id=1jiXkI1aH5PHIQQFLe_FXYoPh5HgeVZEe boot img
Click to expand...
Click to collapse
I have the LG G710VM20f Verizon model and I crossflashed to the korean open kdz and updated to android 10 and rooted it. Everything worked except for VoLTE and VoWifi. I'll give this a try again sometime this week and see if I can get it to work.

netookska05 said:
I have the LG G710VM20f Verizon model and I crossflashed to the korean open kdz and updated to android 10 and rooted it. Everything worked except for VoLTE and VoWifi. I'll give this a try again sometime this week and see if I can get it to work.
Click to expand...
Click to collapse
Let me know

GuidoFlex2 said:
Let me know
Click to expand...
Click to collapse
Will do.

I am trying to edit vo_config.XML on my Magisk rooted LG V40. Solid Explorer is able to save the file but everything is undone after reboot.
I am scratching my head because this worked on my LG V35 which is also on PIE.

U need to have a magisk module for mount temporally files like mixer_paths or vo_config
Idk what is coz ive not tried, but does extactly the same as edit /system files but keeping the /system files untouched, like a systemless host archive

manuhuelva said:
U need to have a magisk module for mount temporally files like mixer_paths or vo_config
Idk what is coz ive not tried, but does extactly the same as edit /system files but keeping the /system files untouched, like a systemless host archive
Click to expand...
Click to collapse
The Magisk module could be one solution but I have found a more elegant way. I had to disable dm-verity by HEX edit boot_a partition. /OEM directory edit persists afterward.
---------- Post added at 09:12 AM ---------- Previous post was at 09:06 AM ----------
Do you guys see the VoWiFi indicator when it is enabled?
On my V35 and V40, VoWiFi has been confirmed to be working but there is no icon indicator like when VoLTE is on. I even check the box in the hidden menu. It only affects VoLTE.
Did LG just omit VoWiFi indicator when they built the firmware?

abuchison said:
The Magisk module could be one solution but I have found a more elegant way. I had to disable dm-verity by HEX edit boot_a partition. /OEM directory edit persists afterward.
---------- Post added at 09:12 AM ---------- Previous post was at 09:06 AM ----------
Do you guys see the VoWiFi indicator when it is enabled?
On my V35 and V40, VoWiFi has been confirmed to be working but there is no icon indicator like when VoLTE is on. I even check the box in the hidden menu. It only affects VoLTE.
Did LG just omit VoWiFi indicator when they built the firmware?
Click to expand...
Click to collapse
Stop stop, I dont have the knowledge to understand u did with hex editor hahaha, but congrats for ur work, never had ear this way for the mixer tweaks.
I dont have a indicator of volte on topbar, but im sure that is working, and I hope continue working on current root and u-bl.
Pd: if u could post here the way u did for some that need this, I'm sure they will be very grateful.

I used the VoEnabler Magisk module by Toucan. It gave me Volte, Vowifi and fixed my RCS after I lost those things due to switching my T-MOBILE SIM to a Verizon Sim.

hi!
Just to let you know guys, i've followed this.. and successfully enabled volte.. but the switches to enable/disable didnt show up..
AND
I can't call any landline using volte... i have no clue why.

This is great and I'd like to get VoWIFI on my V35. That leads me to a couple questions. What carrier do you have? Would you mind posting a copy of your vo_carrier.xml file? Did you do anything else.
My carrier is Verizon. Editing vo_carrier.xml per these guides and ticking appropriate boxes in gpri provisions the phone for VoWIFI, but I activation fails. Any suggestions?
abuchison said:
I am trying to edit vo_config.XML on my Magisk rooted LG V40. Solid Explorer is able to save the file but everything is undone after reboot.
I am scratching my head because this worked on my LG V35 which is also on PIE.
Click to expand...
Click to collapse

Related

Buggy updated APN-List in Custom ROMs

Brazil APN List
Some one can put this on active development roms apn lists? ( CM will be great )
Carrier: TIM
APN: tim.br
UserName: tim
Password: tim
Carrier: OI
APN: gprs.oi.com.br
UserName: oi
Password: oi
Carrier: vivo
APN: zap.vivo.com
UserName: vivo
Password: (blank)
Carrier: BRASIL TELECOM
APN: brt.br
UserName: brt
UserName: brt
THX a lot
Hi,
found out the apnlist.xml is buggy.
There are values with MNC anc MCC="null".
These values cannot be "null", because then the SIM-Card cannot be associated to the provider.
There's an app on market "APN Backup and Restore" and because of these faulty entries it is not possible to restore the apnlist.xml.
I believe these entries are from big APN thread and sombody didn't do a good job when entering the values, so four of these APNs are waste.
e.g:
Code:
<apn name="Fido MMS" numeric="nullnull" [B]mcc="null" mnc="null"[/B] apn="mms.fido.ca" user="null" server="null" password="null" proxy="null" port="null" mmsproxy="205.151.11.13" mmsport="null" mmsprotocol="null" mmsc="http://mms.fido.ca" type="mms" />
Code:
<apn name="Fido" numeric="nullnull" [B]mcc="null" mnc="null"[/B] apn="internet.fido.ca" user="fido" server="null" password="null" proxy="null" port="null" mmsproxy="null" mmsport="null" mmsprotocol="null" mmsc="null" type="default" />
Code:
<apn name="Rogers MMS" numeric="nullnull" [B]mcc="null" mnc="null" [/B]apn="media.com" user="media" server="172.25.0.107" password="mda01" proxy="null" port="null" mmsproxy="null" mmsport="null" mmsprotocol="null" mmsc="http://mms.gprs.rogers.com" type="mms" />
I removed four faulty APNs, and now the apnlist.xml (download zip-file) shoud be bugfree.
Btw i added some missing APNs.
This apnlist.xml is from MLIGN Hero-ROM, and i believe other share the same apnlist.xml.
EDIT: New apnlist.xml now working with "APN Backup & Restore" app
I like to add some danish to it:
Code:
<apn carrier="Telenor" apn="internet" mcc="238" mnc="02" type="default" />
<apn carrier="Telenor MMS" apn="internet" mmsc="http://mms.telenor.dk" mmsproxy="212.88.64.8" port="8080" mcc="238" mnc="02" type="mms" />
<apn carrier="Telia" apn="www.internet.mtelia.dk" mcc="238" mnc="20" type="default" />
<apn carrier="Telia MMS" apn="www.mms.mtelia.dk" mmsc="http://mms.telia.dk" mmsproxy="193.209.134.131" port="8080" mcc="238" mnc="20" type="mms" />
<apn carrier="Telmore" apn="internet" mcc="238" mnc="01" type="default" />
<apn carrier="Telmore MMS" apn="mms" mmsc="http://192.168.241.114:8002" mmsproxy="194.182.251.15" port="8080" mcc="238" mnc="01" type="mms" />
<apn carrier="3" apn="data.tre.dk" mcc="238" mnc="06" type="default" />
<apn carrier="3 MMS" apn="data.3.dk" mmsc="http://mms.3.dk" mmsproxy="172.16.1.25" port="8799" mcc="238" mnc="06" type="mms" />

[TUT] Add rotation on your own to Netflix apps (and other apps)

This is just a simple tutorial about enabling screen rotation to apps that do not rotate automatically when you turn your device. It is really a TUT on how to open an apk and edit the androidmanifest.xml file. Pretty simple.
Easy:​
1. Decompile the Application.apk with apktool
2. Edit the androidmanifest with Notepad++
3. Build the Application.apk with apktool
4. Sign the apk with autosign.
Click to expand...
Click to collapse
Detailed:​
You will need some tools:
************************************************************
Android SDK: http://developer.android.com/sdk/index.html
APK Tool: http://code.google.com/p/android-apktool/
Notepad++: http://notepad-plus-plus.org/
A signing tool: Google "auto-sign apk"
An archiving tool: Plenty of them out there cable of .zip files
After you get this figured out, move on to step 1.
************************************************************
I do this from my desktop, so this is written as such.
Step 1. Decompile the Application.apk with apktool
___________________________________________________________
A. Open cmd.exe
B. Type apktool d C:/users/desktop/Netflix1.4.apk
(this refers to your desktop, so type the correct address for YOURS. However, I do not type, I drag and drop the Netflix.apk from my destop onto the cmd window)
C. Add a space then add destination directory "C:/users/destop/Netflixmod"
Again, your address of wherever you are working, and whetever you want to call the destination folder. For this I also drag and drop the same file, and just remove the .apk text.
D. Hit enter
Code:
apktool d C:\users\desktop\Netflix1.4.apk "C:\users\desktop\Netflixmod"
Your desktop address will be different than what I have typed, your Netflix app or whatever app you are decompiling will be different and your destination address and directory name will be different. DO NOT COPY PASTE THIS CODE INTO YOUR CMD LINE.
Click to expand...
Click to collapse
Step 2. Edit the androidmanifest with Notepad++
___________________________________________________________
This is for Netflix 1.4
In the folder that you just created on your desktop (or wherever you are working) There is a file called androidmanifest.xml
Open this file with Notepad++ and edit the following lines:
Change line 5: android:screenOrientation="portrait" to android:screenOrientation="sensor"
Change line 29: android:screenOrientation="landscape" to android:screenOrientation="sensor"
Save the file.
Click to expand...
Click to collapse
Step 3. Build the Application.apk with apktool
___________________________________________________________
Similar to decompiling:
A.
Code:
apktool b C:\users\desktop\Netflixmod
This will build the application in the same folder that you are working in (i.e. "Netflixmod" folder) You can specify a new directory if you want, but I do not.
There will now be a folder named "Build" within the "Netflixmod" folder.
B. Copy the "Assets" folder into the "build" folder. (apktool leaves this out, but it is important).
C. Zip the contents of the build folder into a .zip file called apk.zip. (do not zip the Build folder, just everything inside of it INCLUDING THE ASSETS FOLDER!)
D. Rename the apk.zip file to apk.apk file.
Click to expand...
Click to collapse
Step 4. Sign the apk with autosign.
___________________________________________________________
Well, sign the app with some signing tool that you are comfortable with.
Just google auto-sign apk, there are plenty of options. Cant find the link towhat I use. Please feel free to post an easy signing tool here if you want it added.
Click to expand...
Click to collapse
**************************************************
Here is all of the code that I changed in the Netflix1.4 app to enable rotation and fix graphic bugs.
You can copy paste this into a text editor like Notepad++ and save as /.xml files. Then replace the files in your decompiled app with these. Or you can download the text file attached and create separate files out of each section of code.
New Netflix 1.4 Updated 9/09/2011
BELOW ARE THE FILES THAT NEED TO BE EDITED TO ENABLE ROTATION AND AVOID GRAPHICS BUGS.
TO CHANGE COLOR, EDIT THE "#ffb9090b" TO ANOTHER HEX COLOR. IN ALL FILES EXCEPT FOR THE ANDROID MANIFEST.
───────────────────────────────────
Android Manifest.xml:
───────────────────────────────────
Change line 5: android:screenOrientation="portrait" to android:screenOrientation="sensor"
Change line 29: android:screenOrientation="landscape" to android:screenOrientation="sensor"
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="259" android:versionName="1.4.0 build 259" android:installLocation="auto" package="com.netflix.mediaclient"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:theme="@android:style/Theme.NoTitleBar" android:label="@string/app_name" android:icon="@drawable/icon" android:name=".NetflixApplication" android:debuggable="false">
<activity android:label="@string/app_name" android:name=".UIWebViewActivity" android:enabled="@bool/phone" android:finishOnTaskLaunch="false" android:clearTaskOnLaunch="true" android:launchMode="singleTop" android:screenOrientation="sensor" android:configChanges="keyboardHidden|orientation" android:alwaysRetainTaskState="true" android:allowTaskReparenting="true" android:windowSoftInputMode="stateVisible|adjustResize" android:noHistory="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="nflx" android:host="www.netflix.com" />
</intent-filter>
</activity>
<activity android:label="@string/app_name" android:name=".UIWebViewTabletActivity" android:enabled="@bool/tablet" android:finishOnTaskLaunch="false" android:clearTaskOnLaunch="true" android:launchMode="singleTop" android:configChanges="keyboardHidden|orientation" android:alwaysRetainTaskState="true" android:allowTaskReparenting="true" android:windowSoftInputMode="stateVisible|adjustResize" android:noHistory="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="nflx" android:host="www.netflix.com" />
</intent-filter>
</activity>
<activity android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:label="@string/app_name" android:name=".PlayerActivity" android:screenOrientation="sensor" android:configChanges="orientation" android:noHistory="false" />
</application>
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-feature android:name="android.hardware.wifi" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" />
</manifest
\res\layout folder
playout_splash.xml
───────────────────────────────────
<!--
Edited Line 4: android:layout_gravity="bottom|center" to android:layout_gravity="center"
removed android:layout_marginBottom="150.0dip"
Edited Line 5: android:layout_marginBottom="100.0dip" to android:layout_marginBottom="90.0dip"
Dblfstr
-->
Code:
<?xml version="1.0" encoding="UTF-8"?>
<FrameLayout android:orientation="vertical" android:id="@id/top_panel" android:background="#ffb9090b" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center" android:id="@id/logo" android:visibility="visible" android:layout_width="202.0dip" android:layout_height="62.0dip" android:src="@drawable/logo_splash" />
<ProgressBar android:layout_gravity="bottom|center" android:id="@id/pb_loading" android:visibility="visible" android:layout_width="30.0dip" android:layout_height="30.0dip" android:layout_marginBottom="90.0dip" android:indeterminate="true" android:indeterminateOnly="true" android:soundEffectsEnabled="false" style="?android:progressBarStyleSmallInverse" />
<TextView android:textSize="14.0dip" android:textColor="#ffffffff" android:layout_gravity="bottom|center" android:id="@id/label_loading" android:visibility="visible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="50.0dip" android:text="@string/label_ps_loading" />
<!--
Edited Line 4: android:layout_gravity="bottom|center" to android:layout_gravity="center"
removed android:layout_marginBottom="150.0dip"
Edited Line 5: android:layout_marginBottom="100.0dip" to android:layout_marginBottom="90.0dip"
Dblfstr
-->
</FrameLayout>
\res\layout folder
ui_splash.xml
───────────────────────────────────
<!--
Edited Line 4: android:layout_gravity="bottom|center" to android:layout_gravity="center"
removed android:layout_marginBottom="150.0dip"
Edited Line 5: android:layout_width="wrap_content" android:layout_height="wrap_content" to android:layout_width="30.0dip" android:layout_height="30.0dip" and "android:layout_marginTop="80.0dip"
Dblfstr
-->
Code:
<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout android:id="@id/FrameLayout" android:background="#ffb9090b" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center" android:id="@id/logo" android:visibility="visible" android:layout_width="202.0dip" android:layout_height="62.0dip" android:src="@drawable/logo_splash" android:layout_centerInParent="true" />
<ProgressBar android:id="@id/ui_load" android:visibility="visible" android:layout_width="30.0dip" android:layout_height="30.0dip" android:layout_marginTop="80.0dip" android:indeterminate="true" android:indeterminateOnly="true" android:layout_below="@id/logo" android:layout_centerInParent="true" android:soundEffectsEnabled="false" />
<!--
Edited Line 4: android:layout_gravity="bottom|center" to android:layout_gravity="center"
removed android:layout_marginBottom="150.0dip"
Edited Line 5: android:layout_width="wrap_content" android:layout_height="wrap_content" to android:layout_width="30.0dip" android:layout_height="30.0dip" and "android:layout_marginTop="80.0dip"
Dblfstr
-->
</RelativeLayout>
\res\layout folder
webview.xml
───────────────────────────────────
<!--
Edited line 2; android:background hex values
-->
Code:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/address" android:background="#ffb9090b" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:id="@id/go_button" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<WebView android:id="@id/ui" android:background="@drawable/splash" android:visibility="visible" android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</LinearLayout>
<!--
Edited line 2; android:background hex values
-->
</LinearLayout>
all of this code is found in the attached .txt file. Remember to save each bit of code as a separate file and replace in your Netflix.apk.
and i need this
should take this
for us NON programmers, anyway you (or someone else) can actually post a modified apk?
OK, so I tried to modify these .xml files... so far, I haven't been able to open them up successfully. So my noob-ish question is, "what editor do I use to open these up?" Standard XML editors found in Windows/Office doesn't show them right.
Or can I just replace the files altogether by copying and pasting the stuff in the post? ... I will try that first, I guess...
Update1:
So I extracted the files for editing, and then replaced all the lines in those files (which by the way, opened up to show some weird encoding) using Notepad++ ... I was able to replace all the stuff anyways, and I saved it. Re-packed the apk... Nothing changed. What am I missing??
Update 2:
I think my problem now is finding out how I can recompile the file and be able to either keep the signature or make a valid signature. I say this because now all I get when I try to install the modifed apk it says "error parsing file" or "... not signed correctly"
I give up! I tried and took a few shots at it, but I guess I am missing something. Oh well...
http://forum.xda-developers.com/showthread.php?p=17446113#post17446113
All Credit goes to Dblfstr!
Sent from A Van Down By The River!
Worked like a charm dblfstr. Thanks.
Whew, exactly what I needed. Thanks again. I guess I'LLC leave all the Modding stuff to the seasoned folks.
Simple tutorial added.
Suggestions welcome
Thanks
bklizard said:
OK, so I tried to modify these .xml files... so far, I haven't been able to open them up successfully. So my noob-ish question is, "what editor do I use to open these up?" Standard XML editors found in Windows/Office doesn't show them right.
Or can I just replace the files altogether by copying and pasting the stuff in the post? ... I will try that first, I guess...
Update1:
So I extracted the files for editing, and then replaced all the lines in those files (which by the way, opened up to show some weird encoding) using Notepad++ ... I was able to replace all the stuff anyways, and I saved it. Re-packed the apk... Nothing changed. What am I missing??
Update 2:
I think my problem now is finding out how I can recompile the file and be able to either keep the signature or make a valid signature. I say this because now all I get when I try to install the modifed apk it says "error parsing file" or "... not signed correctly"
I give up! I tried and took a few shots at it, but I guess I am missing something. Oh well...
Click to expand...
Click to collapse
Simple tutorial added that may assist you.
Yes, the app has to be decompiled before you can edit the .xml files.
You will need to build the app after you made your changes.
Then zip the app
then sign the app.
[APP][UPDATE][Netflix V1.4] Netflix Rotation Enabled Apps w/ Colored Loading Screens updated to Netflix 1.4 for those who do not want to attempt to add the rotation on your own.
Thanks
I saw this on the front page Congrats! I'm wondering if this was disable because there are several instances of tabbed views leaking activities when the orientation is changed. A good test would be to link up ddms to the app and repeatedly change the orientation and see if the memory gets eattin up.
Am I SOL if the screenOrientation="1" is in all the lines?
is it possible to to this with the touchwiz30 .apk?
WOW, made it to the portal. That is awesome. Hopefully someone can benefit from this thread.
Pacifik said:
Am I SOL if the screenOrientation="1" is in all the lines?
Click to expand...
Click to collapse
Not necessarily. To what app are you referring?
ChadBFlores said:
is it possible to to this with the touchwiz30 .apk?
Click to expand...
Click to collapse
Probably a little more difficult. Nothing is impossible, however.
Screen Orientation + High Resolution Support
Is it possible to do any of those steps directly on the device itself ? For those who don't have access to computers on a regular basis...
Also, would you know which property(ies) I would have to change to get an app to fill the whole screen instead of a small part surrounded by black bars ?
I'm referring to the Canadian Sirius Radio app... It used to render correctly on my Droid1/Milestone, but now with my Droid3/XT860, the screen resolution as changed and it doesn't seem to be "programmed" to support larger screen resolution (qHD).
If I can implement both fixes, yours and mine, I'll be a happy man !
Looks ok, but as a developer I can tell you that most apps will break because of faulty design. Setting stick orientation is a workaround for their lesser API knowledge used by many beginning developers. I did it myself, stopped doing that when I learned more. Most of hacked apps will experience memory leaks, some of them FCs.
Anyway idea is great

[Q] /system/media/audio/ui/ control file

i would like to ask whether anyone can help me with this or at least tell me whether it is possible to edit or not.
Volume Step sound in Sense 4.0 is "do re mi fa so la ti", total/max 'steps' count is 7. Original files name in '/system/media/audio/ui' are 'Volume-1.aac' to 'Volume-7.aac'
But after changing Volume Step in Tweak to "Finest", the max count became 15. Then the Volume Step sound became "do re mi fa so la [(ti) x 9]"
I wish to customize/add Volume Step sound of 8th step and above, so i played around with those "Volume-*.aac" in '/system/media/audio/ui/'. I tried duplicating those files and rename up to "Volume-15.aac" and restarted device, but there is no effects.
Which file (for example build.prop) in '/system/' should i edit, in order to make 'Volume-8.aac' to 'Volumn-15.aac' work?
Thanks in advance.
In order to add that resource I'm guessing you'll need to edit Settings.apk>res/xml/soundsettings.xml
The device will not play a resource that doesn't exist in the base.
Thanks for your quick response. =)
I google-ed around and installed apktool.
Below are the codes from the xml files, but i don't know which to edit. Any help here?
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.htc.preference.HtcPreferenceScreen android:title="@string/sound_settings" android:key="sound_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.htc.preference.HtcPreferenceCategory android:title="@string/sound_category_sound_title" android:key="sound_group" />
<com.htc.preference.HtcListPreference android:persistent="false" android:entries="@array/profile_item_list" android:title="@string/silent_list_title" android:key="silentlist" android:summary="@string/silent_mode_summary" android:dialogTitle="@string/profiles_dialog_title" android:entryValues="@array/animations_values" />
<com.htc.preference.HtcPreference android:persistent="false" android:entries="@array/profile_item_list" android:title="@string/silent_list_title" android:key="customize_silentlist" android:summary="@string/silent_mode_summary" android:dialogTitle="@string/profiles_dialog_title" android:entryValues="@array/animations_values" />
<com.htc.preference.HtcListPreference android:title="@string/musicfx_title" android:key="musicfx">
<intent android:targetPackage="com.android.musicfx" android:targetClass="com.android.musicfx.ControlPanelPicker" />
</com.htc.preference.HtcListPreference>
<com.android.settings.RingerVolumePreference android:persistent="false" android:title="@string/all_volume_title" android:key="ring_volume" android:summary="@string/volume_setting_summary" android:dialogTitle="@string/all_volume_title" android:streamType="ring" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/htc_beats_audio_settings_title" android:key="htc_sound_enhancer" />
<com.htc.preference.HtcCheckBoxPreference android:persistent="true" android:title="@string/vibrate_title" android:key="vibrate" android:summary="@string/vibrate_summary" android:dependency="silentlist" android:defaultValue="true" />
<com.htc.preference.HtcPreferenceCategory android:title="@string/sound_category_calls_title" android:key="sound_category_calls">
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/ringtone_title" android:key="ringtone" android:summary="@string/ringtone_summary" android:dependency="silentlist" android:dialogTitle="@string/ringtone_title" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/ringtone_title" android:key="ringtone_slot2" android:summary="@string/ringtone_summary" android:dependency="silentlist" android:dialogTitle="@string/ringtone_title" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/htc_ringtone_virbrate_title" android:key="ringtone_vibrate" android:summary="@string/htc_ringtone_virbrate_summary" android:dialogTitle="@string/htc_ringtone_virbrate_title" />
<com.android.settings.framework.preference.sound.HtcBePolitePreference android:dependency="silentlist" />
<com.android.settings.framework.preference.sound.HtcPocketModePreference android:dependency="silentlist" />
<com.android.settings.framework.preference.sound.HtcFlipToSpeakerPreference android:dependency="silentlist" />
</com.htc.preference.HtcPreferenceCategory>
<com.htc.preference.HtcPreferenceCategory android:title="@string/sound_category_notification_title" android:key="category_notification" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/htc_notification_sound_title" android:key="notification_sound" android:summary="@string/htc_notification_sound_summary" android:dependency="silentlist" android:dialogTitle="@string/htc_notification_sound_dialog_title" />
<com.htc.preference.HtcPreference android:persistent="true" android:title="@string/htc_notification_sound_vibrate_title" android:key="notification_sound_vibrate" android:summary="@string/htc_notification_sound_vibrate_summary" android:dialogTitle="@string/htc_notification_sound_vibrate_title" />
<com.htc.preference.HtcCheckBoxPreference android:persistent="false" android:title="@string/notification_pulse_title" android:key="notification_pulse" android:summary="@string/notification_pulse_summary" />
<com.htc.preference.HtcPreferenceCategory android:title="@string/sound_category_feedback_title" />
<com.htc.preference.HtcCheckBoxPreference android:title="@string/dtmf_tone_enable_title" android:key="dtmf_tone" android:defaultValue="true" android:summaryOn="@string/dtmf_tone_enable_summary_on" android:summaryOff="@string/dtmf_tone_enable_summary_off" />
<com.htc.preference.HtcListPreference android:persistent="true" android:entries="@array/htc_cdma_dtmf_tone_entries" android:title="@string/dtmf_tone_enable_title" android:key="htc_cdma_dtmf_tone" android:dependency="silentlist" android:defaultValue="0" android:entryValues="@array/htc_cdma_dtmf_tone_values" />
<com.htc.preference.HtcCheckBoxPreference android:title="@string/sound_effects_enable_title" android:key="sound_effects" android:defaultValue="true" android:summaryOn="@string/sound_effects_enable_summary_on" android:summaryOff="@string/sound_effects_enable_summary_off" />
<com.htc.preference.HtcCheckBoxPreference android:title="@string/lock_sounds_enable_title" android:key="lock_sounds" android:defaultValue="true" android:summaryOn="@string/lock_sounds_enable_summary_on" android:summaryOff="@string/lock_sounds_enable_summary_off" />
<com.htc.preference.HtcListPreference android:persistent="false" android:title="@string/powersaver_haptic_feedback" android:key="haptic_feedback_list" android:summary="@string/haptic_feedback_enable_summary_on" android:dialogTitle="@string/profiles_dialog_title" />
<com.htc.preference.HtcCheckBoxPreference android:title="@string/powersaver_haptic_feedback" android:key="haptic_feedback" android:defaultValue="true" android:summaryOn="@string/haptic_feedback_enable_summary_on" android:summaryOff="@string/haptic_feedback_enable_summary_off" />
<com.htc.preference.HtcCheckBoxPreference android:persistent="false" android:title="@string/roaming_ringtone_title" android:key="button_roaming_ringtone" android:summary="@string/roaming_ringtone_summary" android:dependency="silentlist" android:defaultValue="false" />
<com.htc.preference.HtcListPreference android:entries="@array/emergency_tone_entries" android:title="@string/emergency_tone_title" android:key="emergency_tone" android:summary="@string/emergency_tone_summary" android:entryValues="@array/emergency_tone_values" />
</com.htc.preference.HtcPreferenceScreen>
I'd need to search around for it. Keep looking for now, I won't have time until the weekend.
Sent from my HTC Sensation 4G using Tapatalk 2
GROGG88,
after cross-checking titles in '\res\xml\sound_settings.xml' with '\res\values\strings.xml', I found out that editing sound_settings.xml doesn't help.
Can you please check it out?
Thank you very much =)
I'll put it on my list of things to do. I'm out of town right now...

How to write scripts for a file editing task

Hello everyone.
I own an LG G4.
I want to know how to write a script from scratch and where to place it so it edits the following file and makes the changes given below into the file.
Location of file to edit: /data/data/com.lge.launcher2/shared_prefs/numofmenu.xml
Contents of the file that is to be edited:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="app_xnumofmenu" value="4" />
<int name="app_ynumofmenu" value="5" />
</map>
What i want the script to edit?
I simply want the script to edit the value of xnumofmenu to 3 and the value of ynumofmenu to 4 on every startup.
This is how i want the file to become after editing:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="app_xnumofmenu" value="3" />
<int name="app_ynumofmenu" value="4" />
</map>
What this file is?
I wanted to edit the grid of drawer on my lg g4 but i cant buy the unlocker for g4tweaksbox so i found this way to edit it. But the file goes back to default on every startup of phone.
Can someone please explain me how to write the script and how to save it. Basically guide me from scratch. Or can someone please write the script for me? Thanks alot.

migrate app to Android 12

i've an old Android app "com.example.package" that works fine until on Android 9, on Android 10 i've never tested, but on Android 11 & 12 no longer work
this app - on first launch after installation - needs to download additional data on "/storage/emulated/0/Android/data/com.example.package/files/", but on Android 11 & 12 - get this error while starting additional data download:
Download stopped
com.example.androidlib.j: Could not create the directory /storage/emulated/0/Android/data/com.example.package/files/
with last ApkTool v2.7.0 java version (.jar) (tested also with last APK Editor on Android) i've decompiled APK file, and this is stock AndroidManifest.xml:
XML:
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="com.example.package" platformBuildVersionCode="9" platformBuildVersionName="2.3.1">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.android.vending.BILLING"/>
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="false" android:xlargeScreens="true"/>
<uses-configuration android:reqTouchScreen="finger"/>
<uses-feature android:name="android.hardware.sensor.accelerometer" android:required="true"/>
<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="true"/>
<uses-feature android:name="android.hardware.wifi" android:required="false"/>
<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
<activity android:configChanges="keyboardHidden|orientation" android:label="@string/app_name" android:name=".packageActivity" android:screenOrientation="landscape">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:configChanges="keyboardHidden|orientation" android:name="com.example.androidlib.MainActivity" android:screenOrientation="landscape"/>
<activity android:configChanges="keyboardHidden|orientation" android:name="com.example.androidlib.LicenseActivity" android:screenOrientation="landscape"/>
<activity android:configChanges="keyboardHidden|orientation" android:name="com.example.androidlib.DownloadActivity" android:screenOrientation="landscape"/>
<activity android:configChanges="keyboardHidden|orientation" android:name="com.example.androidlib.GLExtensionActivity" android:screenOrientation="landscape"/>
</application>
</manifest>
i tried to fix permission & build version issues with this strings:
platformBuildVersionCode="31" platformBuildVersionName="12"
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
and finally i've recompiled all with same last ApkTool v2.7.0 java version (.jar) (tested also with last APK Editor on Android)
but unfortunately, persist the error while starting additional data download
not work even if manually move additional data on right path/folder
how to solve?!?
To give users more control over their files and limit file clutter, Android 10 introduced a new storage paradigm for apps called scoped storage. Scoped storage changes the way apps store and access files on a device's external storage.
Therefore, for your app problems, in order to adapt to Android 10 and later, I recommend that you open the app project in Android Studio, make corresponding modifications of the source code, and rebuild and generate a new apk.

Categories

Resources