Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,758 Members 46,340 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
ahecht
Old
(Last edited by ahecht; 30th April 2014 at 10:33 PM.) Reason: Updated with download file path for default browser
#1  
ahecht's Avatar
Senior Member - OP
Thanks Meter 225
Posts: 400
Join Date: Oct 2010
Post [GUIDE] default.xml and build.prop tweaks for Sprint HTC One M8

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!).
The Following 17 Users Say Thank You to ahecht For This Useful Post: [ Click to Expand ]
 
Bachatu
Old
#2  
Bachatu's Avatar
Senior Member
Thanks Meter 123
Posts: 185
Join Date: Jul 2011
Location: Orlando, FL
Quote:
Originally Posted by ahecht View Post
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!
 
METHOD1911
Old
#3  
METHOD1911's Avatar
Senior Member
Thanks Meter 638
Posts: 3,641
Join Date: Apr 2008
Isn't there a tweak to enable quicksetting. I know there was one for my m7.

One method1911
 
MassStash
Old
#4  
MassStash's Avatar
Senior Member
Thanks Meter 1,356
Posts: 2,917
Join Date: Sep 2008
Location: Chicago

 
DONATE TO ME
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
~S-Off LTEvo; Always Solid Viper4G Latest;
cpu0/1: 1.5ghz 384mhz sleep: 486mhz max
ondemand

 
ahecht
Old
(Last edited by ahecht; 10th April 2014 at 02:03 AM.)
#5  
ahecht's Avatar
Senior Member - OP
Thanks Meter 225
Posts: 400
Join Date: Oct 2010
Quote:
Originally Posted by METHOD1911 View Post
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:	714
Size:	45.8 KB
ID:	2677691
The Following 3 Users Say Thank You to ahecht For This Useful Post: [ Click to Expand ]
 
MassStash
Old
#6  
MassStash's Avatar
Senior Member
Thanks Meter 1,356
Posts: 2,917
Join Date: Sep 2008
Location: Chicago

 
DONATE TO ME
Quote:
Originally Posted by ahecht View Post
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
~S-Off LTEvo; Always Solid Viper4G Latest;
cpu0/1: 1.5ghz 384mhz sleep: 486mhz max
ondemand

 
METHOD1911
Old
#7  
METHOD1911's Avatar
Senior Member
Thanks Meter 638
Posts: 3,641
Join Date: Apr 2008
Can this be used to center the clock. I can use xposed or gravity box but the clock overlaps with data icons

One method1911
 
ahecht
Old
(Last edited by ahecht; 10th April 2014 at 02:02 AM.)
#8  
ahecht's Avatar
Senior Member - OP
Thanks Meter 225
Posts: 400
Join Date: Oct 2010
Quote:
Originally Posted by MassStash View Post
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 View Post
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.
The Following 2 Users Say Thank You to ahecht For This Useful Post: [ Click to Expand ]
 
MassStash
Old
#9  
MassStash's Avatar
Senior Member
Thanks Meter 1,356
Posts: 2,917
Join Date: Sep 2008
Location: Chicago

 
DONATE TO ME
Quote:
Originally Posted by ahecht View Post
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
~S-Off LTEvo; Always Solid Viper4G Latest;
cpu0/1: 1.5ghz 384mhz sleep: 486mhz max
ondemand

 
pbedard
Old
#10  
pbedard's Avatar
Senior Member
Thanks Meter 356
Posts: 2,234
Join Date: Jul 2010
Location: boston
Can someone Copy theres here

Sent from my 831C using XDA Premium HD app

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

Advanced Search
Display Modes