I am trying to get android_id with bare c/c++.
What I tried is
- Execution of "settings get secure android_id"
- Read /data/data/com.android.providers.settings/databases/settings.db
Both requires permission whereas with JNIEnv no permission required to do so.