Skip to content

Instantly share code, notes, and snippets.

View npjohnson's full-sized avatar
🏠
Working from home

Nolen Johnson npjohnson

🏠
Working from home
View GitHub Profile
$ adb shell getprop
[agpsd.dev_path]: [/dev/ttyACM4]
[agpsd.socket_path]: [/dev/socket/at_pal]
[ap.interface]: [wlan0]
[cci.persist.backup]: [T2]
[dalvik.vm.dexopt-flags]: [m=y]
[dalvik.vm.heapgrowthlimit]: [128m]
[dalvik.vm.heapsize]: [448m]
[dalvik.vm.heapstartsize]: [12m]
[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
From c89c0e55f900284842ed52fb7ab51b71869d2dbc Mon Sep 17 00:00:00 2001
From: Nolen Johnson <johnsonnolen@gmail.com>
Date: Fri, 2 Feb 2018 19:35:49 -0500
Subject: [PATCH] nash: Add Moto Mod hotplug support
* This is hackier than I'd like, but should do the job.
Change-Id: I7db290013782cfd280ab0fc2fae8dd17a29de186
---
rootdir/Android.mk | 8 ++++++++
#!/bin/sh
# Copyright 2012 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@ECHO OFF
:: Copyright 2012 The Android Open Source Project
::
:: Licensed under the Apache License, Version 2.0 (the "License");
:: you may not use this file except in compliance with the License.
:: You may obtain a copy of the License at
::
:: http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable law or agreed to in writing, software
sudo apt install policycoreutils
. build/envsetup.sh
lunch $romtag_$codename-$buildflavor
adb shell dmesg | audit2allow -p out/target/product/$codename/root/sepolicy