Skip to content

Instantly share code, notes, and snippets.

@HighwayStar
HighwayStar / mido-stock.dts
Created March 24, 2017 15:11
mido stock dts from miui 7.2.23
/dts-v1/;
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
model = "Qualcomm Technologies, Inc. MSM8953 QRD SKU3";
compatible = "qcom,msm8953-qrd-sku3", "qcom,msm8953-qrd", "qcom,msm8953", "qcom,qrd";
qcom,msm-id = <0x125 0x0>;
interrupt-parent = <0x1>;
qcom,board-id = <0xb 0x0>;
@HighwayStar
HighwayStar / markw-mido.diff
Last active March 24, 2017 15:12
markw to mido dts diff
--- /dev/fd/63 2017-03-24 23:07:35.599000091 +0800
+++ /dev/fd/62 2017-03-24 23:07:35.599000091 +0800
@@ -3,10 +3,10 @@
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
- compatible = "qcom,msm8953-qrd-wt88553", "qcom,msm8953-qrd", "qcom,msm8953", "qcom,qrd";
+ compatible = "qcom,msm8953-qrd-sku3", "qcom,msm8953-qrd", "qcom,msm8953", "qcom,qrd";
interrupt-parent = <0x1>;
- model = "Qualcomm Technologies, Inc. MSMTITANIUM QRD WT88553";
#jetson
adb push vendor/lib/libglcore.so /system/vendor/lib/libglcore.so
adb push vendor/lib/libnvglsi.so /system/vendor/lib/libnvglsi.so
adb push vendor/lib/libnvwsi.so /system/vendor/lib/libnvwsi.so
adb push vendor/lib/libnvblit.so /system/vendor/lib/libnvblit.so
adb push vendor/lib/libnvcms.so /system/vendor/lib/libnvcms.so
adb push vendor/lib/libnvos.so /system/vendor/lib/libnvos.so
adb push vendor/lib/libnvrm.so /system/vendor/lib/libnvrm.so
adb push vendor/lib/libnvrm_graphics.so /system/vendor/lib/libnvrm_graphics.so
adb push vendor/lib/libnvddk_2d_v2.so /system/vendor/lib/libnvddk_2d_v2.so
@HighwayStar
HighwayStar / gist:6cc40ca56b2f4e886cc5d7adfa37ef27
Created May 17, 2017 09:22
Redmi Note 4 Global android 6 boot logcat
This file has been truncated, but you can view the full file.
--------- beginning of main
03-12 18:38:02.834 434 434 W auditd : type=2000 audit(0.0:1): initialized
03-12 18:38:08.630 443 443 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
--------- beginning of system
03-12 18:38:08.660 442 442 I vold : Vold 3.0 (the awakening) firing up
03-12 18:38:08.660 442 442 V vold : Detected support for: ext4 vfat
03-12 18:38:08.965 465 465 I BOOT : MSM target '', SoC 'QRD', HwID '293', SoC ver '65536'
03-12 18:38:09.157 516 516 D secureboot: magic: ANDROID-BOOT!
03-12 18:38:09.157 516 516 D secureboot: is_qcom_unlocked: 0
03-12 18:38:09.157 516 516 D secureboot: [*] signature 256
@HighwayStar
HighwayStar / gist:72ef2d458811db00b2e775aa94483297
Created May 17, 2017 09:39
fastboot getvar all Redmi Note 4
(bootloader) version:0.5
(bootloader) token:cJ0WA+zccUjWy9UgR0hfcAAA
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:3818000
(bootloader) variant:QRD eMMC
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) display-panel:
(bootloader) off-mode-charge:0
@HighwayStar
HighwayStar / gist:aa9f70f79455b37d6e594859a37421de
Created May 19, 2017 02:31
mido stock N to source dts diff
--- /dev/fd/63 2017-05-19 01:34:05.181753367 +0800
+++ /dev/fd/62 2017-05-19 01:34:05.181753367 +0800
@@ -336,7 +336,7 @@
phandle = <0x11e>;
qcom,batt-id-range-pct = <0x5>;
- qcom,2508175_bn41hdesay_4100mah_averaged_masterslave_jun27th2016 {
+ qcom,2508175_huaqin_bn41hdesay_4100mah_averaged_masterslave_jun27th2016 {
qcom,batt-id-kohm = <0x52>;
qcom,battery-beta = <0xd6b>;
fw_custom_after_chain_creation() {
# these rules will be loaded after the various input_* and forward_* chains
# are created.
# You can use this hook to allow/deny certain IP protocols or TCP/UDP
# ports before the SuSEfirewall2 generated rules are hit.
true
}
fw_custom_before_port_handling() {
# these rules will be loaded after the anti-spoofing and icmp handling
# and after the input has been redirected to the input_XXX and
FW_DEV_EXT="eth0"
FW_DEV_INT="eth1"
FW_DEV_DMZ=""
FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_DEV=""
FW_MASQ_NETS=""
FW_NOMASQ_NETS=""
FW_PROTECT_FROM_INT="no"
FW_SERVICES_EXT_TCP=""
This file has been truncated, but you can view the full file.
--------- beginning of main
12-29 15:54:10.600 432 432 W auditd : type=2000 audit(0.0:1): initialized
12-29 15:54:13.599 432 432 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
12-29 15:54:13.599 432 432 W auditd : type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
12-29 15:54:13.899 392 392 W ueventd : type=1400 audit(0.0:4): avc: denied { write } for uid=0 name="uevent" dev="sysfs" ino=32277 scontext=u:r:ueventd:s0 tcontext=u:object_r:sysfs_extcharger_supply:s0 tclass=file permissive=0
12-29 15:54:15.139 422 422 W sh : type=1400 audit(0.0:5): avc: denied { search } for uid=0 name="tmp" dev="mmcblk0p56" ino=23 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
12-29 15:54:15.159 422 422 W sh : type=1400 audit(0.0:6): avc: denied { search } for uid=0 name="tmp" dev="mmcblk0p56" ino=23 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir per
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.31-perf-g247719e (buildslave@njbs15) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Apr 4 19:36:08 CST 2017
[ 0.000000] CPU: AArch64 Processor [410fd034] revision 4
[ 0.000000] alternatives: enabling workaround for ARM erratum 845719
[ 0.000000] uncorrect lk log size 0
[ 0.000000] Machine: Kuntao
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: reserved region for node 'other_ext_region@0': base 0x0000000084a00000, size 30 MiB