I hereby claim:
- I am dan-v on github.
- I am danvittegleo (https://keybase.io/danvittegleo) on keybase.
- I have a public key whose fingerprint is 7420 3098 13B3 A2A9 AC75 39AF 86E1 0B19 498C F557
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import json | |
import collections | |
try: | |
from urllib.request import urlopen | |
except ImportError: | |
from urllib2 import urlopen | |
CLAYMORE_URL = 'http://localhost:3333/' | |
ETH_TOTAL = 2 |
Here are my note so far as I work through trying to update android-prepare-vendor to work with Android 10.
Work in progress fork is here right now: https://github.com/RattlesnakeOS/android-prepare-vendor/tree/10.0
Using existing oatdump that was built for api-28 as I don't think any repairs are needed (bytecode is not stripped). I just copied same over to api-29 in my forked version of android-prepare-vendor.
Android 10 factory images have a much smaller subset of partitions: boot, system, system_other, vendor. Unsure why this is the case, but in fork of android-prepare-vendor I just have no additional partitions set (e.g. []). This will need to be a configurable option to be backwards compatible.
There are build.prop differences affecting android-prepare-vendor in android 10. I've commited workarounds for each of these in my fork of android-prepare-vendor:
RUNNING: | |
``` | |
export PATH="${BUILD_DIR}/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:${PATH}"; | |
export PATH="${BUILD_DIR}/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:${PATH}"; | |
export PATH="${BUILD_DIR}/prebuilts/misc/linux-x86/lz4:${PATH}"; | |
export PATH="${BUILD_DIR}/prebuilts/misc/linux-x86/dtc:${PATH}"; | |
export PATH="${BUILD_DIR}/prebuilts/misc/linux-x86/libufdt:${PATH}"; | |
ln --verbose --symbolic ${KEYS_DIR}/${DEVICE}/verity_user.der.x509 ${MARLIN_KERNEL_SOURCE_DIR}/verity_user.der.x509; | |
cd ${MARLIN_KERNEL_SOURCE_DIR}; | |
echo PATH=$PATH; |
very-fancy-cleanup-apv-config-json.sh
script for each device against their factory image to cleanup stale entriesdevice=bonito && gzip -cd out/verbose.log.gz | grep 'overriding' | awk -F"\`" '{print $2}' | cut -f1 -d\' | awk -F"out/target/product/${device}/vendor/" '{printf "\"%s\",\n",$2}'