-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Milestone
Description
Platform - OSX 10.11.2
Device - Samsung Galaxy S3, Rooted
- Modify asan_device_setup to work on OSX
- TMPDIRBASE=$(mktemp -d -t template)
- TMPDIRBASE=$(mktemp -d)
2) Run ./asan_device_setup --use-su
- TMPDIRBASE=$(mktemp -d)
>> Remounting /system rw
Remounting /dev/block/platform/msm_sdcc.1/by-name/system at /system
Target architecture: arm
>> Pre-L device detected. Setting up app_process symlink.
>> Copying files from the device
>> New installation
>> Generating wrappers
Only in new/: app_process.wrap
Only in new/: asanwrapper
Only in new/: libclang_rt.asan-arm-android.so
>> Pushing files to the device
Installing /system/lib/libclang_rt.asan-arm-android.so 644
4574 KB/s (691152 bytes in 0.147s)
/system/bin/sh: can't create "/system/lib/libclang_rt.asan-arm-android.so/libclang_rt.asan-arm-android.so": No such file or directory
Unable to open /system/lib/libclang_rt.asan-arm-android.so: No such file or directory
Unable to open /system/lib/libclang_rt.asan-arm-android.so: No such file or directory
Installing /system/bin/app_process.wrap 755 u:object_r:system_file:s0
16 KB/s (279 bytes in 0.016s)
/system/bin/sh: can't create "/system/bin/app_process.wrap/app_process.wrap": No such file or directory
Unable to open /system/bin/app_process.wrap: No such file or directory
Unable to open /system/bin/app_process.wrap: No such file or directory
chcon: Could not label /system/bin/app_process.wrap with u:object_r:system_file:s0: No such file or directory
Installing /system/bin/asanwrapper 755 u:object_r:system_file:s0
3 KB/s (71 bytes in 0.020s)
/system/bin/sh: can't create "/system/bin/asanwrapper/asanwrapper": No such file or directory
Unable to open /system/bin/asanwrapper: No such file or directory
Unable to open /system/bin/asanwrapper: No such file or directory
chcon: Could not label /system/bin/asanwrapper with u:object_r:system_file:s0: No such file or directory
>> Restarting shell (asynchronous)
>> Please wait until the device restarts
The device no longer boots. I imagine it's because of the errors in the system/lib paths. The file name is repeated mistakenly.
Reactions are currently unavailable