Comments (4)
Undocumented dex2oat --abort-on-hard-verifier-error
(https://android.googlesource.com/platform/build/+/android-7.0.0_r4/core/dex_preopt_libart.mk#111) flag is causing issues with some APKs when pre-compiled at host level. Removing that flag and comparing oatdump from original ODEX and regenerated ODEX doesn't reveal any issues of code flow differences.
Looking for alternatives to circumvent this without modifying AOSP makefile.
from android-prepare-vendor.
AOSP compilation is successfully completed for supported targets. Now testing images against supported devices to ensure that repaired bytecode is working as expected.
from android-prepare-vendor.
Added support for OS X after building platform/art
targeting MAC host tools. Since current Nougat upstream has broken MAC host support at this commit, a small edit had to be introduced to allow oatdump to work under MAC host:
anestisb@blackbird:[art]: git diff
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc
index 72c0cea..c6a833e 100644
--- a/runtime/oat_file.cc
+++ b/runtime/oat_file.cc
@@ -141,7 +141,7 @@ OatFileBase* OatFileBase::OpenOatFile(const std::string& elf_filename,
std::string* error_msg) {
std::unique_ptr<OatFileBase> ret(new kOatFileBaseSubType(location, executable));
- ret->PreLoad();
+ // ret->PreLoad();
if (!ret->Load(elf_filename,
oat_file_begin,
from android-prepare-vendor.
No issues so far after testing for couple of days with N5x & N6p Nougat builds. Mark as good to go until further notice.
from android-prepare-vendor.
Related Issues (20)
- Audio not working in crosshatch HOT 3
- oatdump dependencies download failed HOT 2
- Bytecode repair fails for a Google Nexus factory image HOT 3
- Setup wizard HOT 2
- product.img already appears to be generated by AOSP and ends up as a duplicate
- include files for product.img for full configuration similar to vendor.img
- sargo (Pixel 3a) support HOT 15
- eSIM manager crashes on sargo HOT 7
- 'dexrepair' command not found HOT 2
- No valid OS found HOT 4
- syntax error, unexpected QQSTRING_START with jq 1.3 from Ubuntu 14.04 repos HOT 1
- cannot verify dl.google.com's certificate HOT 1
- API 29 support (Android 10.0) HOT 18
- 404 causes download-nexus-image.sh to always report ToS accept failure HOT 1
- Nexus ToS accept request failed - Images download failed HOT 2
- ext4fuse command not found HOT 1
- How to unlock bootloader in custom rom evolution x HOT 1
- download_nexus_image.sh error Image URL not found HOT 2
- Stuck in bootloader HOT 20
- Doesn't work with Python3.7 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-prepare-vendor.