Skip to content

Instantly share code, notes, and snippets.

View elektroschmock's full-sized avatar

Kim elektroschmock

  • Winnenden / Germany
View GitHub Profile
@elektroschmock
elektroschmock / AdbCommands
Created April 30, 2020 19:49 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
From 4a321aab3ae17677d298428f0e121759e9765913 Mon Sep 17 00:00:00 2001
From: Elektroschmock <[email protected]>
Date: Wed, 15 Apr 2020 23:25:27 +0200
Subject: [PATCH] shamu: sepolicy: Add initial sepolicy for IRQ balancer
Change-Id: Id8fb2bc13b116061c0c4e86eb262fc7c894f2672
---
sepolicy/file.te | 2 ++
sepolicy/file_contexts | 2 ++
sepolicy/genfs_contexts | 1 +
:/ $ su
:/ # dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.108-ga71c062 (kim@kim-VirtualBox) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #42 SMP PREEMPT Sat Apr 13 20:05:08 CEST 2019
[ 0.000000] CPU: ARMv7 Processor [513f06f1] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine: Qualcomm APQ 8084 (Flattened Device Tree), model: Motorola APQ 8084 Shamu
C:\Users\Kim>fastboot flash recovery E:\00_CM_OUT\twrp-3.2.3-J4-shamu.img
target reported max download size of 536870912 bytes
sending 'recovery' (13630 KB)...
OKAY [ 0.436s]
writing 'recovery'...
OKAY [ 0.366s]
finished. total time: 0.803s
C:\Users\Kim>adb shell
Microsoft Windows [Version 10.0.17134.523]
(c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\Kim>fastboot
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
LineageOS Version: '15.1-20190115-UNOFFICIAL-shamu'
Build fingerprint: 'google/shamu/shamu:7.1.1/N6F27M/4299435:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 510, tid: 510, name: netmgrd >>> /system/bin/netmgrd <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 00000000 r1 000001fe r2 00000006 r3 00000008
r4 000001fe r5 000001fe r6 bed86944 r7 0000010c
r8 00000000 r9 00000012 sl a9dce22c fp bed86fec
09-28 14:46:28.750 2492 2775 I Finsky : [220] com.google.android.finsky.contentfilterui.o.a(6): Received content filters request from com.google.android.videos
09-28 14:46:28.760 3920 3978 I PrimesTesting: GserviceFlagsSupplier.get()
09-28 14:46:28.775 1690 1690 W ChimeraUtils: Non Chimera context
09-28 14:46:28.775 1690 1690 W ChimeraUtils: Non Chimera context
09-28 14:46:28.823 1690 1701 I zygote : Background concurrent copying GC freed 29461(2MB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 7MB/14MB, paused 97us total 113.007ms
09-28 14:46:28.845 750 2833 W ActivityManager: Background start not allowed: service Intent { cmp=com.google.android.apps.messaging/.shared.datamodel.action.execution.ActionExecutorImpl$EmptyService } to com.google.android.apps.messaging/.shared.datamodel.action.execution.ActionExecutorImpl$EmptyService from pid=3499 uid=10124 pkg=com.google.android.apps.messaging
09-28 14:46:28.847 3499 3499 W BugleDataModel: service started without protection. DataModel.star
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
Starting TWRP 3.2.1-0-84e16158-dirty on Mon Jan 19 12:43:16 1970
(pid 230)
BOARD_HAS_NO_REAL_SDCARD := true
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:LANG: en
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 3.2.1-0-2af13795 on Wed Jan 14 11:17:12 1970
(pid 224)
BOARD_HAS_NO_REAL_SDCARD := true
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
BLOCK DEVICE PARTITION NAME SIZE (KiB) MOUNT POINT FSTYPE
-------------- ---------------- ------------ ------------- --------
mmcblk0p1 modem 114688 /firmware ext4
mmcblk0p2 metadata 16384
mmcblk0p3 sbl1 384
mmcblk0p4 sdi 56
mmcblk0p5 sec 16
mmcblk0p6 ddr 32
mmcblk0p7 aboot 1024
mmcblk0p8 rpm 256