Skip to content

Instantly share code, notes, and snippets.

debug.atrace.tags.enableflags
debug.atrace.app_number
debug.atrace.app_%d
debug.atrace.tags.enableflags
debug.hwui.render_dirty_regions=false
debug.egl.force_msaa
debug.egl.trace
debug.force_rtl
debug.hwui.overdraw
debug.hwui.profile
@mouseos
mouseos / cquam.dsp
Created August 3, 2022 07:55
c-quam modulator written in faust
import("stdfaust.lib");
pilot=os.oscsin(25)/4;
freq=50000;
cquam (l,r)=((l+r+1)*(os.oscsin(freq))/4)+(l-r)*(((os.osccos(freq))/4));
process=cquam;
//Modulate c-quam at 50KHz. This program cannot use for radio broadcast.
#ねとらじの情報を配列に突っ込む
import matplotlib.pyplot as plt
import requests
import re
#イコール削除
def de(txt):
txt=re.sub(r".*=","" , txt)
return(txt)
data = requests.get('http://yp.ladio.net/stats/list.v2.dat')
HWANE:/ # getprop
[bastet.service.enable]: [true]
[bg_fsck.pgid]: [342]
[bt.dpbap.enable]: [1]
[bt.max.hfpclient.connections]: [2]
[build.hisi_perf_opt]: [true]
[camera.dis.flag]: [2]
[camera.drop.buffer]: [1]
[camera.ignore.chat.facebeauty]: [1]
[config.disable_consumerir]: [true]

fastboot oem key

[457333] [fastboot: command buf]-[oem key 00000000000000000000000000000000]-[len=40] [457334] [fastboot]-[download_base:0x56900000]-[download_size:0x0] [457335] [Cmd process]-[buf:oem key 00000000000000000000000000000000]-[lenBuf: 00000000000000000000000000000000]

fastboot oem keystore

[648252] [fastboot: command buf]-[oem keystore 000000000000000000000000000]-[len=40] [648253] [fastboot]-[download_base:0x56900000]-[download_size:0x0] [648254] [Cmd process]-[buf:oem keystore 000000000000000000000000000]-[lenBuf:store 000000000000000000000000000]

Pll init start...
INFRA_BUS_DCM_CTRL 5F7FE0
mtcmos Start..
before: WDT_SWSYSRST = 0x8000
after: WDT_SWSYSRST = 0x9000
P[PWRAP] si_en_sel = 0, si_ck_sel = 0, si_sample_ctrl = 0, rdata = 96A9
[PWRAP] si_en_sel = 0, si_ck_sel = 1, si_sample_ctrl = 20, rdata = 5AA5, Pass
[PWRAP] InitSiStrobe (6, 6, DA65) Data Boundary Is Found !!
[PWRAP] SI Strobe Calibration For PMIC 0 Done, (40, 6)
[PWRAP] Read Test pass, return_value=0x0
[RTC] get_frequency_meter: input=0xD, ouput=783
[RTC] get_frequency_meter: input=0xE, ouput=797
[RTC] EOSC cali val = 0xDE4E
[RTC] RTC_SPAR0=0x0
[RTC] XO_XMODE_M = 1 , XO_EN32K_M = 1
[RTC] 32k-less mode
[RTC] rtc_2sec_reboot_check 0x2020, without 2sec reboot, type 0x0
[RTC] rtc 2sec reboot is not enabled
[RTC] rtc_lpd_init RTC_CON=0x486
[PMIC] pmic_init_setting end. v180413
latch VSRAM_OTHERS 900000 uV
latch VCORE 800000 uV
latch VMODEM 800000 uV
[pmic_check_rst] DDLO_RSTB
[PMIC]just_rst = 0
No EFUSE SW Load
[PMIC]pmic_wdt_set Reg[0x14C]=0x1221
[rt5738_driver_probe]
[rt5738_hw_component_detect] mt6691_vdd2(0) exist = 1, Chip ID = 0
mt6691_vdd2_hw_init
[MT6357] 1 3,64
[MT6357] 1 5,80
[MT6357] get volt 3, 64, 918750
[MT6357] get volt 5, 80, 1018750
[MT6357] get volt 5, 80, 1018750
[MT6357] get volt 3, 64, 918750
[MT6357] 1 3,63
[MT6357] 1 5,79
[MT6357] get volt 3, 63, 912500
[MT6357] get volt 5, 79, 1012500
import xml.etree.ElementTree as ET
import requests
import xmltodict
rss = requests.get('http://example.com/xml/podcast.xml')
rss=(rss.content.decode())
print(xmltodict.parse(rss)["rss"]["channel"]["item"][0]["enclosure"]["@url"])#最新のpodcastの音声ファイルを1件取得する。