-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asan_device_setup error bricks phone #6
Comments
Couldyou provide some more info?
Does it help to do asan_device_setup --revert ? |
Yikes. We don't actually modify |
Saw a similar problem today with NDK 11 and the I've tested this on Android 4.4.4 on a Sony Z1C and subsequently with a custom ROM (also Android 4.4.4). The old script (without the useful |
I was using NDK 11 as well. Device was a Samsung Galaxy S3, android version 4.4.2 It's honestly silly that we need a rooted device to access a lot of useful debugging tools, but there's no official support for rooting. I'd even settle for bringing back rooted dev only phones. |
Does this only happen with I'm not quite sure how this script could make a device unrecoverable even after reflashing... All it does is modify the system and data partitions. |
So, I was able to render a Nexus 5 (KTU84P) unbootable, but I was also able to recover it. By reflashing. Looks like this isn't unique to |
Looks like this was actually fixed by llvm-mirror/compiler-rt@bd58cbc The version of clang we shipped was a couple months before that CL. So, this will be fixed in r12, but given that this is pretty damn harmful I'm going to see if I can rig our build to include a newer |
Okay, a fix is checked in for r11b. |
r11b is live with the fix: http://developer.android.com/ndk/downloads/index.html#download |
Platform - OSX 10.11.2
Device - Samsung Galaxy S3, Rooted
2) Run ./asan_device_setup --use-su
The device no longer boots. I imagine it's because of the errors in the system/lib paths. The file name is repeated mistakenly.
The text was updated successfully, but these errors were encountered: