Skip to content

Instantly share code, notes, and snippets.

@mouseos
mouseos / HUAWEI-m-remote-api-m220-dtv01-claude.md
Last active September 23, 2025 06:27
HUAWEI m-remote api解析

Huawei TV Box API 一覧

  1. アプリケーション制御

アプリ起動

curl -X POST http://[IPアドレス]:8080/huawei-remote?cmd=startapp
-H "App-Name: [パッケージ名]"

アプリ制御

curl -X POST http://[IPアドレス]:8080/huawei-remote?cmd=app_control \

コード 処理関数 処理説明
BENE4404GN0 analyzeQRCode1stTime 4月号 表紙コンテンツ表示、初回QR読み込み処理
BENE4405GN0 analyzeQRCode1stTime 5月号 表紙コンテンツ表示、初回QR読み込み処理
BENE4406GN0 analyzeQRCode1stTime 6月号 表紙コンテンツ表示、初回QR読み込み処理
BENE4407GN0 analyzeQRCode1stTime 7月号 表紙コンテンツ表示、初回QR読み込み処理
BENE4408GN0 analyzeQRCode1stTime 8月号 表紙コンテンツ表示、初回QR読み込み処理
BENE4409GN0 analyzeQRCode1stTime 9月号 表紙コンテンツ表示、初回QR読み込み処理
BENE4410GN0 analyzeQRCode1stTime 10月号 表紙コンテンツ表示、初回QR読み込み処理
BENE4411GN0 analyzeQRCode1stTime 11月号 表紙コンテンツ表示、初回QR読み込み処理
BENE4412GN0 analyzeQRCode1stTime 12月号 表紙コンテンツ表示、初回QR読み込み処理
@mouseos
mouseos / UPD6TH.exe.c
Created January 19, 2025 14:13
ポケットチャレンジDXのUPD6TH.exe
This file has been truncated, but you can view the full file.
/* This file was generated by the Hex-Rays decompiler version 8.4.0.240320.
Copyright (c) 2007-2021 Hex-Rays <[email protected]>
Detected compiler: Visual C++
*/
#include <windows.h>
#include <defs.h>
#include <stdarg.h>
@mouseos
mouseos / mainmenu.swf.as
Created January 19, 2025 11:52
ポケットチャレンジDXのアップデーター
movie 'D:\Android\pocket_challenge_dx\DXupdate\mainmenu.swf' {
// flash 8, total frames: 11, frame rate: 15 fps, 320x240 px, compressed
metadata <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/"> <xmp:CreatorTool>Adobe Flash Professional CS5</xmp:CreatorTool> <xmp:CreateDate>2011-04-19T14:53+09:00</xmp:CreateDate> <xmp:MetadataDate>2013-09-19T16:27:29+09:00</xmp:MetadataDate> <xmp:ModifyDate>2013-09-19T16:27:29+09:00</xmp:ModifyDate> </rdf:Description> <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:format>application/x-shockwave-flash</dc:format> </rdf:Description> <rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"> <xmpMM:DerivedFrom rdf:parseType="Resource"> <stRef:instanceID>xmp.iid:E023C4F0FC20E3119951EE82E78D2F4F</stRef:instanceID> <stRef:documentID>xmp.did:74E5E19D496AE0119C1A90EB2D6CEAA9</stRef:doc
@mouseos
mouseos / coredll.dll.c
Last active January 19, 2025 11:45
ポケットチャレンジDXアップデートファイル
This file has been truncated, but you can view the full file.
// /coredll.dll
int32_t fun_10023a98();
/* (image base) */
int32_t image_base_ = 0x1007ad24;
void GetRomFileInfo(int32_t r0, int32_t r1, void* r2);
void fun_10023348();
SG/S5/zeon_sprout:9/S0004/01.00.00:user/release-keys(S0003 to S0004)
https://ota.googlezip.net/packages/ota-api/sg_zeonsprout_s5/dff56d4b387b314ea5ad32e5f40f5358a4445c2d.zip
SG/S5/zeon_sprout:9/S0006/01.00.00:user/release-keys
不明
SG/S5/zeon_sprout:9/S0007/01.00.00:user/release-keys(S0004 to S0007)
https://ota.googlezip.net/packages/ota-api/sg_zeonsprout_s5/5daf0e9a36512db954c7e707243fa8a6fb2392df.zip
This file has been truncated, but you can view the full file.
BTLG・ p  T p
[0] <---.------> PASS POINT: 0x00000000.
[0] <---.------> .
[0] <---.------> ID No.1 : START LOG.
[3] <000.396622> load_qsee_pre_procs_IN.
[3] <000.405497> rtc_time = 0.
[3] <000.409249> PBL_STATUS :0xc0 :0x00.
[3] <000.410133> PON_REASON :0x20 :0x20.
[3] <000.410987> WARM_RESET_REASON :0x00 :0x00 :0x00.
@mouseos
mouseos / status_json.xsl
Created September 21, 2024 14:06
icecast2のjsonバグを修正
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="xml2json.xslt"/>
<xsl:output indent="no" omit-xml-declaration="yes" method="text" encoding="UTF-8" media-type="application/json"/>
<xsl:strip-space elements="*"/>
<!-- override imported transform variable to enable output -->
<xsl:variable name="output">true</xsl:variable>
<!-- hide certain nodes from all sources -->
<xsl:template match="icestats/source/max_listeners"><xsl:if test="not(following-sibling::*)">"dummy":null}</xsl:if></xsl:template>
This file has been truncated, but you can view the full file.
[+] Version string: Linux version 4.9.112-perf (nbproj@B7510002L) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Thu May 30 04:37:15 JST 2019
[+] Guessed architecture: aarch64 successfully in 4.08 seconds
[+] Found relocations table at file offset 0x183b9e8 (count=150419)
[+] Found kernel text candidate: 0xffffff8008080000
[+] Successfully applied 150419 relocations.
[+] Found kallsyms_token_table at file offset 0x013982c0
[+] Found kallsyms_token_index at file offset 0x013986c0
[+] Found kallsyms_markers at file offset 0x013971c0
[+] Found kallsyms_names at file offset 0x012057c0
[+] Found kallsyms_num_syms at file offset 0x012056c0
SHARP/SH-M08/SH-M08:8.1.0/S3200/01.00.02:user/release-keys
不明
SHARP/SH-M08/SH-M08:9/S5301/02.00.01:user/release-keys
https://android.googleapis.com/packages/ota-api/sharp_shm08_shm08/0e864632ef29db180378ab7e0fb2d82d943792c0.zip
SHARP/SH-M08/SH-M08:9/S6274/02.00.02:user/release-keys
https://android.googleapis.com/packages/ota-api/sharp_shm08_shm08/6bea7ad927d7730a1966585360cfb6b623248b85.zip
SHARP/SH-M08/SH-M08:9/S9101/02.00.04:user/release-keys