Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Post [GUIDE] default.xml and build.prop tweaks for Sprint HTC One M8

OP ahecht

9th April 2014, 10:39 PM   |  #1  
ahecht's Avatar
OP Senior Member
Thanks Meter: 247
 
428 posts
Join Date:Joined: Oct 2010
I thought I would try to compile some of the useful tweaks for /system/build.prop and /system/customize/ACC/default.xml here. Feel free to respond with other tweaks. Change the line with a - to the line with a +.

/system/build.prop
Code:
***** Enable Tethering UI (thanks Captain_Throwback) *********************
-ro.wifi.hotspotUI=0
+ro.wifi.hotspotUI=1

-ro.bt.tetheringUI=0
+ro.bt.tetheringUI=1

-ro.usb.tetheringUI=0
+ro.usb.tetheringUI=1

***** Enable EPST ********************************************************
-ro.build.type=user
+ro.build.type=dev

***** Disable ADB Icon ***************************************************
+persist.adb.notify=0
/system/customize/ACC/default.xml
Code:
***** Disable NFC Icon in statusbar **************************************
-<item type="integer" name="nfc_show_icon">1</item>
+<item type="integer" name="nfc_show_icon">0</item>

***** Allow roaming by default (shouldn't be necessary) ******************
-<item type="boolean" name="allow_national_roaming">false</item>
+<item type="boolean" name="allow_national_roaming">true</item>

***** Disable "Set Timezone" notification ********************************
-<item type="boolean" name="disable_timezone_notification">false</item>
+<item type="boolean" name="disable_timezone_notification">true</item>

***** Set blinkfeed to not be the default home screen ********************
-<item type="boolean" name="default_blink_feed">true</item>
+<item type="boolean" name="default_blink_feed">false</item>

***** Disable Spark icon (DOESN'T WORK) **********************************
-<item type="boolean" name="data_icon_s4t_spark_enable">true</item>
+<item type="boolean" name="data_icon_s4t_spark_enable">false</item>

***** Tether Hack (requires installation of script from  *****************
***** http://forum.xda-developers.com/showthread.php?t=2712222 ***********
-<item type="boolean" name="tethering_guard_support">true</item>
+<item type="boolean" name="tethering_guard_support">false</item>

-<item type="integer" name="tethering_support_ipv6">0</item>
+<item type="integer" name="tethering_support_ipv6">1</item>

-<item type="boolean" name="use_default_profile_for_tethering">false</item>
+<item type="boolean" name="use_default_profile_for_tethering">true</item>

-<item type="integer" name="TetheringGuard_Rule">2</item>
+<item type="integer" name="TetheringGuard_Rule">0</item>

***** Enable horizontal quick-settings in status bar using the ***********
***** first five quick settings icons. These can be reordered ************
***** using the edit button on the regular quick settings screen *********
-<item type="boolean" name="support_minor_quicksettings">false</item>
+<item type="boolean" name="support_minor_quicksettings">true</item>

***** User AOSP-style recent apps ****************************************
-<item type="boolean" name="support_HtcStyleRecentApp">true</item>
+<item type="boolean" name="support_HtcStyleRecentApp">false</item>

-<item type="boolean" name="isHtcStyleRecentApp">true</item>
+<item type="boolean" name="isHtcStyleRecentApp">false</item>

***** Enable Harman/Kardon audio setting (requires H/K firmware from *****
***** http://forum.xda-developers.com/showthread.php?t=2729173) **********
-<item type="boolean" name="support_harman">false</item>
+<item type="boolean" name="support_harman">true</item>

-<item type="boolean" name="support_boomsound_effect">true</item>
+<item type="boolean" name="support_boomsound_effect">false</item>

***** Enable Beats audio setting (may not have any effect) ***************
-<item type="boolean" name="support_beats_audio">false</item>
+<item type="boolean" name="support_beats_audio">true</item>

-<item type="boolean" name="support_boomsound_effect">true</item>
+<item type="boolean" name="support_boomsound_effect">false</item>

***** Enable Music Channel Setting ***************************************
-<item type="boolean" name="support_music_channel">false</item>
+<item type="boolean" name="support_music_channel">true</item>

***** Allow selection of download location in stock browser **************
-<item type="boolean" name="support_download_path">false</item>
-<item type="boolean" name="support_filemanager">false</item>
+<item type="boolean" name="support_download_path">true</item>
+<item type="boolean" name="support_filemanager">true</item>

***** Add Tethering quick-setting icons **********************************
***** to select by using the edit button on the QS screen ****************
***** (Add the lines with a + next to them, without the "+") *************
  <item type="integer-array" name="quick_setting_available_items">
    <int>0</int>
    <int>1</int>
    <int>2</int>
    <int>3</int>
    <int>4</int>
    <int>5</int>
    <int>6</int>
    <int>7</int>
    <int>8</int>
    <int>9</int>
+    <int>10</int>
    <int>11</int>
    <int>12</int>
    <int>13</int>
    <int>14</int>
    <int>15</int>
    <int>18</int>
    <int>19</int>
    <int>20</int>
    <int>22</int>
    <int>24</int>
    <int>25</int>
    <int>26</int>
  </item>
  <item type="integer-array" name="quick_setting_items">
    <int>0</int>
    <int>1</int>
    <int>2</int>
    <int>3</int>
    <int>4</int>
    <int>5</int>
    <int>6</int>
    <int>7</int>
    <int>8</int>
    <int>9</int>
+    <int>10</int>
    <int>22</int>
  </item>
I've uploaded copies of the 1.54 build.prop and default.xml with all these changes below. Just remove .1.54.modified.txt, move them to the appropriate place on your phone, and do chmod 644 on build.prop (save a backup of the old files first!).
Last edited by ahecht; 30th April 2014 at 11:33 PM. Reason: Updated with download file path for default browser
The Following 18 Users Say Thank You to ahecht For This Useful Post: [ View ]
9th April 2014, 11:01 PM   |  #2  
Bachatu's Avatar
Senior Member
Flag Orlando, FL
Thanks Meter: 123
 
186 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by ahecht

I thought I would try to compile some of the useful tweaks for /system/build.prop and /system/customize/ACC/default.xml here. Feel free to respond with other tweaks. Change the line with a - to the line with a +.

Thanks for posting this!
9th April 2014, 11:30 PM   |  #3  
METHOD1911's Avatar
Senior Member
Thanks Meter: 649
 
3,697 posts
Join Date:Joined: Apr 2008
More
Isn't there a tweak to enable quicksetting. I know there was one for my m7.

One method1911
10th April 2014, 12:56 AM   |  #4  
Enable? Aren't they stock enabled? Need to find all the edits for extended humber of Max QS. Been meaning to do that

~m8whl modded stock
2.265 Max 300 Min
ondemand
row
10th April 2014, 01:06 AM   |  #5  
ahecht's Avatar
OP Senior Member
Thanks Meter: 247
 
428 posts
Join Date:Joined: Oct 2010
Quote:
Originally Posted by METHOD1911

Isn't there a tweak to enable quicksetting. I know there was one for my m7.

One method1911

Quicksettings are already enabled (swipe down with two fingers or use the tile button in the upper right after bringing down the notification shade). There is a mod above (in the OP) to enable the horizontal quick settings as shown below:
Click image for larger version

Name:	uploadfromtaptalk1397084802405.jpg
Views:	888
Size:	45.8 KB
ID:	2677691
Last edited by ahecht; 10th April 2014 at 03:03 AM.
The Following 3 Users Say Thank You to ahecht For This Useful Post: [ View ]
10th April 2014, 02:39 AM   |  #6  
Quote:
Originally Posted by ahecht

Quicksettings are already enabled (swipe down with two fingers or use the tile button in the upper right after bringing down the notification shade). There is a mod above to enable the horizontal quick settings as shown below:
Attachment 2677691

Where's that mod tut? Don't see it in OP...

~Jflteusc on OctOS
KToonsez Kernel
1.998 Max 189 Min 702 Screen Off
Ktoonsified v5 Setup
10th April 2014, 02:52 AM   |  #7  
METHOD1911's Avatar
Senior Member
Thanks Meter: 649
 
3,697 posts
Join Date:Joined: Apr 2008
More
Can this be used to center the clock. I can use xposed or gravity box but the clock overlaps with data icons

One method1911
10th April 2014, 02:56 AM   |  #8  
ahecht's Avatar
OP Senior Member
Thanks Meter: 247
 
428 posts
Join Date:Joined: Oct 2010
Quote:
Originally Posted by MassStash

Where's that mod tut? Don't see it in OP...

~Jflteusc on OctOS
KToonsez Kernel
1.998 Max 189 Min 702 Screen Off
Ktoonsified v5 Setup

It in the default.xml tweaks:
Code:
===== Enable horizontal quick-settings in status bar using the   =====
===== first five quick settings icons. These can be reordered    =====
===== using the edit button on the regular quick settings screen =====
-<item type="boolean" name="support_minor_quicksettings">false</item>
+<item type="boolean" name="support_minor_quicksettings">true</item>
Quote:
Originally Posted by METHOD1911

Can this be used to center the clock. I can use xposed or gravity box but the clock overlaps with data icons

One method1911

Centering the clock without xposed requires an edit to the status_bar.xml file within SystemUI.apk (which would need a deodexed ROM to work). Of course, condensing the 3 data icons for LTE down to one would also help.
Last edited by ahecht; 10th April 2014 at 03:02 AM.
The Following 2 Users Say Thank You to ahecht For This Useful Post: [ View ]
10th April 2014, 02:59 AM   |  #9  
Quote:
Originally Posted by ahecht

It in the default.xml tweaks:

Code:
===== Enable horizontal quick-settings in status bar using the   =====
===== first five quick settings icons. These can be reordered    =====
===== using the edit button on the regular quick settings screen =====
-<item type="boolean" name="support_minor_quicksettings">false</item>
+<item type="boolean" name="support_minor_quicksettings">true</item>

I know, just didn't see it "above" where you were referencing to dood to look.

~m8whl modded stock
2.265 Max 300 Min
ondemand
row
10th April 2014, 03:42 AM   |  #10  
pbedard's Avatar
Senior Member
Flag boston
Thanks Meter: 371
 
2,339 posts
Join Date:Joined: Jul 2010
More
Can someone Copy theres here

Sent from my 831C using XDA Premium HD app

Post Reply Subscribe to Thread

Tags
build.prop, default.xml, heqs, nfc icon, tethering
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes