Skip to content

Instantly share code, notes, and snippets.

View sakuramilk's full-sized avatar

sakuramilk sakuramilk

View GitHub Profile
@sakuramilk
sakuramilk / one-seg-error.log
Created July 24, 2012 08:50
ワンセグアプリ起動時のログ2
07-24 18:31:14.106 I/ActivityManager( 616): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.samsung.sec.mtv/.ui.liveplayer.MtvUiLivePlayer bnds=[16,940][188,1134]} from pid 1967
07-24 18:31:14.126 I/Adreno200-EGLSUB( 271): <CreateImage:893>: Android Image
07-24 18:31:14.126 I/Adreno200-EGLSUB( 271): <GetImageAttributes:1102>: RGBA_8888
07-24 18:31:14.187 I/Adreno200-EGLSUB( 271): <CreateImage:893>: Android Image
07-24 18:31:14.187 I/Adreno200-EGLSUB( 271): <GetImageAttributes:1158>: RGBX_8888
07-24 18:31:14.187 I/ActivityManager( 616): Start proc com.samsung.sec.mtv for activity com.samsung.sec.mtv/.ui.liveplayer.MtvUiLivePlayer: pid=3549 uid=10033 gids={1015, 3002, 3001}
07-24 18:31:14.217 D/OpenGLRenderer( 1967): Flushing caches (mode 1)
07-24 18:31:14.227 D/OpenGLRenderer( 1967): Flushing caches (mode 0)
07-24 18:31:14.277 I/ActivityThread( 3549): Pub com.samsung.sec.mtv: com.samsung.sec.mtv.provider.MtvProvider
07-24 18:31:14.287 I/dalvikvm( 3549):
@sakuramilk
sakuramilk / deodex_system_and_framework.pl
Created July 24, 2012 09:15
deodex_system_and_framework.plのパッチ
--- deodex_system_and_framework.pl 2012-07-24 18:14:04.308579718 +0900
+++ deodex_system_and_framework.pl.new 2012-07-24 18:14:01.340579711 +0900
@@ -119,8 +119,10 @@
}
foreach my $files (@deodex_list) {
- baksmali($target_dir, $files->[0], $files->[1]);
- smali($target_dir, $files->[0]) unless ($only_baksmali);
+ my $ret = &baksmali($target_dir, $files->[0], $files->[1]);
+ if ($ret eq 0) {
@sakuramilk
sakuramilk / MobileTV_JPN_decode.log
Created July 24, 2012 10:04
MobileTV_JPN.apkをapltoolでdecodeしたときのログ
sakuramilk@devsvr007:~$ apktool d MobileTV_JPN.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: /apktool/framework/1.apk ※CM9のframerork-res.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=shadowColor, value=0x02050001
@sakuramilk
sakuramilk / SC06D_AOSPでのワンセグ動作まとめ.txt
Created July 24, 2012 14:02
SC06D AOSPでのワンセグ動作まとめ
# ワンセグ動作に必要なproprietaryファイル
bin/nexprocess
bin/broadcastProcessObserver
bin/SDtvService
bin/OneSegTsDemux
bin/OneSegDsmcc
bin/BMLEngineServer
lib/libBroadcastProcObs.so
lib/libOneSegfactorytest_jni.so
lib/libPGL.so
@sakuramilk
sakuramilk / cm.mk
Created July 25, 2012 14:08
d2dcmのcm.mk
$(call inherit-product, device/samsung/d2dcm/full_d2dcm.mk)
# Inherit some common CM stuff.
$(call inherit-product, vendor/cm/config/gsm.mk)
# Enhanced NFC
$(call inherit-product, vendor/cm/config/nfc_enhanced.mk)
# Inherit some common CM stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
@sakuramilk
sakuramilk / 0001-updater-added-ignore-kernel-flash-in-extract_file
Created August 27, 2012 02:28
0001-updater-added-ignore-kernel-flash-in-extract_file
From 75230bd9805fa1111b333208a4a20ae9e2683642 Mon Sep 17 00:00:00 2001
From: sakuramilk <c.sakuramilk@gmail.com>
Date: Mon, 27 Aug 2012 11:01:25 +0900
Subject: [PATCH] updater: added ignore kernel flash in extract_file
---
updater/install.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/updater/install.c b/updater/install.c
@sakuramilk
sakuramilk / gist:4053588
Created November 11, 2012 03:51
SC05D-FDISK
Disk /dev/block/mmcblk0: 15.7 GB, 15758000128 bytes
1 heads, 16 sectors/track, 1923584 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 12801 102400 92 Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 * 12801 12863 500 4d Unknown
Partition 2 does not end on cylinder boundary
#if 1
// Really dirty hack to give a Froyo-compatible constructor
extern "C" AudioTrack *_ZN7android10AudioTrackC1EijiiijPFviPvS1_ES1_ii(
AudioTrack *This,
int streamType,
uint32_t sampleRate,
int format,
int channels,
int frameCount,
uint32_t flags,
$ adb logcat -b radio
E/RILD ( 247): **RIL Daemon Started**
E/RILD ( 247): **RILd param count=1**
E/RILD ( 247): RIL_Init argc = 5 client = 0
D/RILC ( 247): qmi_ril(0/247): [rild] qcril_log_init: qcril_log_init() 1
D/RILC ( 247): qmi_ril(0/247): [rild] qcril_log_init: qcril_log_init() 2
D/RILC ( 247): qmi_ril(0/247): [rild] qcril_log_init: adb_log_on = 1
I/RILC ( 247): qmi_ril(0/247): [rild] RIL_Init: RIL client opt: 100 not handled intreseted only -c option
I/RILC ( 247): qmi_ril(0/247): [rild] RIL_Init: RIL client opt: 0, running RIL_Init()
I/RILC ( 247): qmi_ril(0/247): [rild] RIL_Init: RIL client : 0, running RIL_Init()
@sakuramilk
sakuramilk / gist:5277253
Created March 30, 2013 16:07
extract_file.sh diff
@@ -25,8 +25,8 @@ COMMONPROPS=../smdk4412-common/proprietary-files.txt
mkdir -p ../../../vendor/$VENDOR/$COMMON/proprietary
-adb root
-adb wait-for-device
+#adb root
+#adb wait-for-device
echo "Pulling common files..."