Add klteusc

This commit is contained in:
Daniel Moran (garwynn) 2014-06-09 14:47:16 -05:00
parent c8622ad98a
commit 6fcab48f8f
2 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,13 @@ void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *boar
property_set("ro.product.model", "SM-G900P");
property_set("ro.product.device", "kltespr");
cdma_properties();
} else if (strstr(bootloader, "G900R4")) {
/* kltespr */
property_set("ro.build.fingerprint", "samsung/klteusc/klteusc:4.4.2/KOT49H/G900R4VXU1ANCF:user/release-keys");
property_set("ro.build.description", "klteusc-user 4.4.2 KOT49H G900R4VXU1ANCF release-keys");
property_set("ro.product.model", "SM-G900R4");
property_set("ro.product.device", "klteusc");
cdma_properties();
} else if (strstr(bootloader, "G900T")) {
/* kltetmo */
property_set("ro.build.fingerprint", "samsung/kltetmo/kltetmo:4.4.2/KOT49H/G900TUVU1ANCH:user/release-keys");

View File

@ -23,5 +23,6 @@ def FullOTA_InstallEnd(info):
info.script.AppendExtra('ifelse(is_substring("G900W", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp /system/lib/gsm/* /system/lib/"));')
info.script.AppendExtra('ifelse(is_substring("G900V", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp /system/lib/cdma/* /system/lib/"));')
info.script.AppendExtra('ifelse(is_substring("G900P", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp /system/lib/cdma/* /system/lib/"));')
info.script.AppendExtra('ifelse(is_substring("G900R4", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp /system/lib/cdma/* /system/lib/"));')
info.script.AppendExtra('delete_recursive("/system/lib/gsm/");')
info.script.AppendExtra('delete_recursive("/system/lib/cdma/");')