Closed gilmarwsr closed 4 years ago
Are you sure you have libandroidicu.so inside /system/lib64/? Also check if its a symlink because that caused me problems too
No I don't have libandroidicu.so, how can I get the correct libandroidicu.so ? This /system/lib64 I got from original ROM from Samsung Galaxy S8, I checked the ROM and there is no libandroidicu.so.
For me it was inside "/system/apex/com.android.runtime.release/lib64". If you can't find it try to search it through the /system, maybe it's somewhere else. If you still can't find it there probably isn't libandroidicu.so so then you should build it with libicuuc/libicui18n
For more infos: https://source.android.com/devices/architecture/modular-system/runtime
You can use lsof |grep icu.so
to see where it is.
You can use
lsof |grep icu.so
to see where it is. Didn't return any value.
I also tried to find any references to apex in Samsung Galaxy S8 - Android 9 and... nothing. To make sure I'm doing the right search I've downloaded the samsung .tar.md5 file and extracted the whole /system but I didn't find androidicu or any apex reference.
Am I doing anything wrong? I'm using galaxy s8 because its my research device and I will try to do some POC to CVE 2020-8899.
libandroidicu.so does not exist before Android 10. You are using Android 9 which means you have to use libicuuc/libicui18n as written in my previous post. Or you could extract libandroidicu.so from an Android 10 image and try with that.
Thanks IHbib! I've changed -landroidicu to -licuuc and seems to worked. I'm now facing problems with undefined reference to `SkCodec::MakeFromStream but I will check the opened issues.
I've downloaded all the dependencies: Android NDK (r21b) Skia (its awkward but the default references didn't work, I've changed those references, most In Skia, and proceed.. all things apparently fine) Libbacktrace OK Capstone OK
I've get /system/lib64 and /system/bin/linker64 from a Galaxy S8 ROM (G950FXXU6DSK5).
The error: