Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for Android 5.0.1 Build LRX22C.H5
Changes include: * Use modified Device Tree image from official HTC kernel rather than basing it off of the CyanogenMod kernel. * Remove Torch.apk. It is no longer needed thanks to the flashlight quick toggle in Android 5.0. * Remove all but two build.prop customizations. The upstream build basically comes out of the box supporting Verizon and CDMA--moreso than the 4.4.4 build--it is just trivially disabled in the build.prop. * Add startup script to enable the built-in screen casting support. This seems to be disabled on rooted devices otherwise. And that's it! This is otherwise bit-for-bit the version that Google and HTC released for the global phone.
- Loading branch information
1 parent
4188530
commit a0f002c
Showing
10 changed files
with
68 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +0,0 @@ | ||
|
||
# | ||
# Settings from CyanogenMod and stock Verizon | ||
# See: https://github.com/CyanogenMod/android_device_htc_m8/blob/cm-11.0/init/init_m8.c | ||
# | ||
ro.telephony.default_cdma_sub=0 | ||
ro.telephony.default_network=10 | ||
ro.cdma.home.operator.numeric=310012 | ||
gsm.sim.operator.numeric=310012 | ||
gsm.operator.numeric=310012 | ||
ro.cdma.home.operator.alpha=Verizon | ||
gsm.sim.operator.alpha=Verizon | ||
gsm.operator.alpha=Verizon | ||
telephony.lteOnCdmaDevice=1 | ||
ro.cdma.subscribe_on_ruim_ready=true | ||
ro.ril.svdo=true | ||
ro.ril.disable.fd.plmn.prefix=23402,23410,23411,23420 | ||
ro.ril.enable.sdr=0 | ||
ro.ril.enable.gea3=1 | ||
ro.ril.enable.a53=1 | ||
ro.ril.enable.r8fd=1 | ||
persist.radio.snapshot_enabled=1 | ||
persist.radio.snapshot_timer=22 | ||
|
||
ro.ril.vzw.feature=1 | ||
ro.ril.oem.ecclist=911,*911,#911 | ||
ro.ril.enable.a52=0 | ||
ro.ril.enable.dtm=0 | ||
ro.ril.gprsclass=12 | ||
ro.ril.att.feature=0 | ||
ro.ril.enable.managed.roaming=1 | ||
ro.ril.oem.show.act=0 | ||
ro.ril.set.mtusize=1428 | ||
ro.ril.air.enabled=1 | ||
ro.ril.wp.feature=1 | ||
ro.cdma.data_retry_config=max_retries=infinite,0,0,60000,120000,480000,900000 | ||
ro.gsm.data_retry_config=max_retries=infinite,0,0,60000,120000,480000,900000 | ||
ro.gsm.2nd_data_retry_config=max_retries=infinite,0,0,60000,120000,480000,900000 | ||
ro.ril.gsm.to.lte.blind.redir=1 | ||
ro.config.svlte1x=true | ||
ro.ril.def.agps.mode=6 | ||
|
||
# | ||
# Do not roam on Verizon | ||
# | ||
# This line doesn't seem to be necessary on CyanogenMod, but it ships | ||
# its own Verizon-specific RIL binaries, which are incompatible with | ||
# Google's libril. This setting seems to be a common workaround. | ||
# | ||
# See: http://seasonofcode.com/posts/carrier-programming-on-cdma-android-phones.html | ||
# See: https://census.tsyrklevich.net/system_properties/ro.cdma.homesystem | ||
# | ||
ro.cdma.homesystem=64,65,66,67,69,71,72,74,76,77,78,79,80,81,82,83 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/system/bin/sh | ||
|
||
# sqlite3 dies if it can't determine the home directory | ||
HOME=/ | ||
export HOME | ||
|
||
# | ||
# We don't need to check if this is already configured. A constraint | ||
# ensures this fails if it is already set. | ||
# | ||
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db 2>/dev/null <<END | ||
INSERT INTO overrides (name, value) VALUES ('gms:cast:remote_display_enabled', 'true'); | ||
END | ||
|
||
# Force the setting to take effect now (only if necessary) | ||
if [ $? -eq 0 ]; then | ||
am force-stop com.google.android.gms | ||
fi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
class m8_gpe::sqlite { | ||
$source_dir = "${m8_gpe::target}/sqlite" | ||
$binary = "${source_dir}/sqlite3" | ||
|
||
m8_gpe::source { 'sqlite': | ||
source => 'http://www.sqlite.org/2014/sqlite-autoconf-3080702.tar.gz', | ||
type => tar, | ||
} | ||
|
||
# | ||
# Yes, it sucks to hard code the path to the compiler here, but the | ||
# whole point is just to show that there's nothing up my sleeves. | ||
# This could easily be replaced by a precompiled binary. | ||
# | ||
exec { 'compile-sqlite': | ||
command => "/usr/bin/armv6j-hardfloat-linux-gnueabi-gcc -static -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION sqlite3.c shell.c -o ${binary}", | ||
cwd => $source_dir, | ||
creates => $binary, | ||
require => M8_gpe::Source['sqlite'], | ||
} | ||
} |