We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3cfef commit 830fc75Copy full SHA for 830fc75
native/src/init/getinfo.cpp
@@ -236,6 +236,9 @@ bool check_two_stage() {
236
return true;
237
if (access("/system/bin/init", F_OK) == 0)
238
239
+ // Use the apex folder to determine whether 2SI (Android 10+)
240
+ if (access("/apex", F_OK) == 0)
241
+ return true;
242
// If we still have no indication, parse the original init and see what's up
243
mmap_data init(backup_init());
244
return init.contains("selinux_setup");
0 commit comments