Skip to content

Instantly share code, notes, and snippets.

@neoblackxt
neoblackxt / GitConfigHttpProxy.md
Created November 9, 2019 10:51 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@neoblackxt
neoblackxt / oatdump_unquicken.patch
Created September 28, 2019 06:10 — forked from anestisb/oatdump_unquicken.patch
oatdump vdex unquicken
project art/
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index a8ab7c6..2bb04a2 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -442,7 +442,7 @@ void CompilerDriver::CompileAll(jobject class_loader,
// We do not decompile a RETURN_VOID_NO_BARRIER into a RETURN_VOID, as the quickening
// optimization does not depend on the boot image (the optimization relies on not
// having final fields in a class, which does not change for an app).
@neoblackxt
neoblackxt / art_9.0_oatdump_cdex.patch
Created September 28, 2019 06:10 — forked from anestisb/art_9.0_oatdump_cdex.patch
Patch for Android Pie ART oatdump to convert CompactDex to StandardDex before exporting
diff --git a/oatdump/Android.bp b/oatdump/Android.bp
index 71e276d..3d50229 100644
--- a/oatdump/Android.bp
+++ b/oatdump/Android.bp
@@ -35,6 +35,7 @@ art_cc_binary {
shared_libs: [
"libart",
"libart-compiler",
+ "libart-dexlayout",
"libart-disassembler",
@neoblackxt
neoblackxt / repositories
Created September 28, 2019 06:07 — forked from ysrotciv/repositories
repositories for sbt user in the wall
[repositories]
local
nexus-aliyun:http://maven.aliyun.com/nexus/content/groups/public
oschina:http://maven.oschina.net/content/groups/public/
repo2:http://repo2.maven.org/maven2
jboss:http://repository.jboss.com/maven2/
sonatype:http://repository.sonatype.org/content/groups/public/
ibiblio:http://mirrors.ibiblio.org/pub/mirrors/maven2/org/acegisecurity/
oschina-ivy:http://maven.oschina.net/content/groups/public/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
sbt-releases-repo: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
@neoblackxt
neoblackxt / art_9.0_compact_dex_converter.patch
Created September 14, 2019 06:34 — forked from anestisb/art_9.0_compact_dex_converter.patch
Cdex to Dex converter utility using AOSP ART libdexlayout
diff --git a/dexlayout/Android.bp b/dexlayout/Android.bp
index 33ba58f..f3b2a7e 100644
--- a/dexlayout/Android.bp
+++ b/dexlayout/Android.bp
@@ -74,6 +74,13 @@ cc_defaults {
],
}
+cc_defaults {
+ name: "compact_dex_converter_defaults",

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@neoblackxt
neoblackxt / README-Template.md
Created September 2, 2019 03:50 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites