Skip to content

Instantly share code, notes, and snippets.

View ma34s's full-sized avatar

Masashi ma34s

  • Sapporo Hokkaido Japan
View GitHub Profile
@ma34s
ma34s / lineage-15.1.xml
Created March 14, 2018 14:51
lineage-15.1 local_manifests for kltedcm
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="kbc-developers/android_device_samsung_klte-common" path="device/samsung/klte-common" />
<project name="kbc-developers/android_device_samsung_kltedcm" path="device/samsung/kltedcm" />
<!-- for hltedcm
<project name="kbc-developers/android_device_samsung_hlte-common" path="device/samsung/hlte-common" />
<project name="kbc-developers/android_device_samsung_hltedcm" path="device/samsung/hltedcm" />
-->
<project name="kbc-developers/proprietary_vendor_samsung" path="vendor/samsung" />
@ma34s
ma34s / gist:6c5a51c51926a152856d2f673219491b
Created February 21, 2018 14:08
error on building lineage-15.1
FAILED: /home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/obj/APPS/MobileFeliCaClient_intermediates/oat/arm/package.odex
/bin/bash -c "(rm -f /home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/obj/APPS/MobileFeliCaClient_intermediates/oat/arm/package.odex ) && (mkdir -p /home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/obj/APPS/MobileFeliCaClient_intermediates/oat/arm/ ) && (ANDROID_LOG_TAGS=\"*:e\" /home/ma34s/android/aojp/lineage-15.1/out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --class-loader-context=\"&\" --boot-image=/home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/dex_bootjars/system/framework/boot.art --dex-file=vendor/samsung/kltedcm/proprietary/felica/app/MobileFeliCaClient.apk --dex-location=/system/app/MobileFeliCaClient/MobileFeliCaClient.apk --oat-file=/home/ma34s/android/aojp/lineage-15.1/out/target/product/kltedcm/obj/APPS/MobileFeliCaClient_intermediates/oat/arm/package.odex --android-root=/home/ma34s/
ma34s@bot:/media/disk2/android_aojp_lineage15.0/vendor/samsung/kltekdi-felica-common$ git diff HEAD
diff --git a/kltekdi-felica-common/felica-common-vendor.mk b/kltekdi-felica-common/felica-common-vendor.mk
index e11faa7..8f964c4 100644
--- a/kltekdi-felica-common/felica-common-vendor.mk
+++ b/kltekdi-felica-common/felica-common-vendor.mk
@@ -14,6 +14,9 @@
PRODUCT_PACKAGES += \
FeliCaLock \
- libcordon
@ma34s
ma34s / kbc_lineage-15.0.xml
Last active January 4, 2018 14:56
lineage-15.0 local_manifests for kltedcm
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!--
<project name="kbc-developers/proprietary_vendor_samsung" path="vendor/samsung" remote="github" />
<project name="kbc-developers/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="kbc-developers/android_device_samsung_smdk4412-common" path="device/samsung/smdk4412-common" remote="github" />
<project name="kbc-developers/android_device_samsung_smdk4412-qcom-common" path="device/samsung/smdk4412-qcom-common" remote="github" />
<project name="kbc-developers/kernel_samsung_exynos4412" path="kernel/samsung/exynos4412dcm" remote="github" />
<project name="kbc-developers/android_device_samsung_sc02e" path="device/samsung/sc02e" remote="github" />
<project name="CyanogenMod/android_device_samsung_t0lte" path="device/samsung/t0lte" remote="github" />
@ma34s
ma34s / gist:d00c81773dd88d21eb498c1fb243144e
Created December 8, 2017 07:58
lineage15_sepolicy_error
m4: device/qcom/sepolicy/common/fidodaemon.te: 21: deprecated: unix_socket_connect(fidodaemon, property, init) Please use set_prop(fidodaemon, <property name>) instead.
m4: device/qcom/sepolicy/common/qseecomd.te: 59: deprecated: unix_socket_connect(tee, property, init) Please use set_prop(tee, <property name>) instead.
m4: device/qcom/sepolicy/common/qseeproxy.te: 50: deprecated: unix_socket_connect(qseeproxy, property, init) Please use set_prop(qseeproxy, <property name>) instead.
m4: device/qcom/sepolicy/test/fidotest.te: 4: deprecated: unix_socket_connect(fidotest, property, init) Please use set_prop(fidotest, <property name>) instead.
m4: device/qcom/sepolicy/test/qseeproxysample.te: 31: deprecated: unix_socket_connect(qseeproxysample, property, init) Please use set_prop(qseeproxysample, <property name>) instead.
[ 0% 164/38970] build /home/ma34s/work/android_aojp_lineage15.0/out/target/product/kltedcm/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
m4: device/qcom/sepolicy/private/wfdser
C:\>adb shell ls -l /dev/block/platform/11120000.ufs/by-name/
total 0
lrwxrwxrwx 1 root root 15 2017-11-07 22:28 BOOT -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 2017-11-07 22:28 BOTA0 -> /dev/block/sda1
lrwxrwxrwx 1 root root 15 2017-11-07 22:28 BOTA1 -> /dev/block/sda9
lrwxrwxrwx 1 root root 15 2017-11-07 22:28 BOTA2 -> /dev/block/sda6
lrwxrwxrwx 1 root root 16 2017-11-07 22:28 CACHE -> /dev/block/sda18
lrwxrwxrwx 1 root root 15 2017-11-07 22:28 CPEFS -> /dev/block/sdd1
lrwxrwxrwx 1 root root 16 2017-11-07 22:28 CP_DEBUG -> /dev/block/sda21
lrwxrwxrwx 1 root root 16 2017-11-07 22:28 DNT -> /dev/block/sda12
@ma34s
ma34s / kbc.xml
Created May 29, 2016 10:02
cm-13.0 ビルドのlocal manifest(2016/05/29現在)
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="kbc-developers/proprietary_vendor_samsung" path="vendor/samsung" remote="github" />
<project name="kbc-developers/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="kbc-developers/android_device_samsung_smdk4412-common" path="device/samsung/smdk4412-common" remote="github" />
<project name="kbc-developers/android_device_samsung_smdk4412-qcom-common" path="device/samsung/smdk4412-qcom-common" remote="github" />
<project name="kbc-developers/kernel_samsung_exynos4412" path="kernel/samsung/exynos4412dcm" remote="github" />
<project name="kbc-developers/android_device_samsung_sc02e" path="device/samsung/sc02e" remote="github" />
<project name="CyanogenMod/android_device_samsung_t0lte" path="device/samsung/t0lte" remote="github" />
<project name="kbc-developers/android_device_samsung_sc03e" path="device/samsung/sc03e" remote="github" />
shell@hltedcm:/ $ ls -l /dev/snfc*
cr--r----- 1 nfc nfc 212, 0 1970-12-12 04:05 /dev/snfc_available_poll
cr--r----- 1 nfc system 211, 0 1970-12-12 04:05 /dev/snfc_cen
crw-rw---- 1 nfc nfc 214, 0 1970-12-12 04:05 /dev/snfc_hsel
cr--r----- 1 nfc nfc 226, 0 1970-12-12 04:05 /dev/snfc_intu_poll
c-w--w---- 1 nfc nfc 215, 0 1970-12-12 04:05 /dev/snfc_pon
cr--r----- 1 nfc nfc 213, 0 1970-12-12 04:05 /dev/snfc_rfs
cr--r----- 1 nfc nfc 225, 0 1970-12-12 04:05 /dev/snfc_rfs_poll
crw-rw---- 1 nfc nfc 216, 0 1970-12-12 04:05 /dev/snfc_uart
shell@hltedcm:/ $ ls -l /dev/felica*
@ma34s
ma34s / seinfo-res.txt
Created April 18, 2015 06:20
MDI /data/local/tmp/seinfo --all
Statistics for policy file: /sepolicy
Policy Version & Type: v.24 (binary, mls)
Classes: 84 Permissions: 249
Common classes: 5
Sensitivities: 1 Categories: 1024
Types: 539 Attributes: 24
Users: 1 Roles: 2
Booleans: 14 Cond. Expr.: 15
@ma34s
ma34s / seapp_contexts
Created April 18, 2015 04:03
seapp_contexts of SC04EOMUFOA2
isSystemServer=true domain=system
user=system domain=system_app type=system_data_file
user=bluetooth domain=bluetooth type=bluetooth_data_file
user=nfc domain=nfc type=nfc_data_file
user=radio domain=radio type=radio_data_file
user=drm seinfo=platform name=com.sec.android.SamsungDrmProvider domain=platform_app type=platform_app_data_file
user=shell domain=shell type=shell_data_file
user=shell name=com.android.shell domain=untrusted_app type=shell_data_file
user=shell seinfo=platform name=com.sec.android.gotrace domain=platform_app type=platform_app_data_file
user=_app domain=untrusted_app type=app_data_file