Commit e7ea8c2
committed
Q Preview 1 compatiblity
On several older Android versions we needed to relocate app_process to
prevent it from being executed in a restricted SELinux context, but this
causes the "Error finding namespace of apex: no namespace called
runtime" linker error on Q Preview 1. Running app_process straight from
/system/bin (and daemonizer from /data/.../lib) works fine however on
QP1, so we just skip relocating altogher for now.
Closes Chainfire#41 parent 7863f45 commit e7ea8c2
File tree
2 files changed
+45
-8
lines changed- librootjavadaemon/src/main/java/eu/chainfire/librootjavadaemon
- librootjava/src/main/java/eu/chainfire/librootjava
2 files changed
+45
-8
lines changedLines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
286 | 309 | | |
287 | 310 | | |
288 | 311 | | |
289 | 312 | | |
290 | 313 | | |
291 | 314 | | |
292 | 315 | | |
| 316 | + | |
293 | 317 | | |
294 | 318 | | |
295 | 319 | | |
| |||
301 | 325 | | |
302 | 326 | | |
303 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
304 | 332 | | |
305 | 333 | | |
306 | 334 | | |
| |||
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
80 | 88 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
84 | 93 | | |
85 | 94 | | |
86 | 95 | | |
87 | | - | |
| 96 | + | |
88 | 97 | | |
89 | 98 | | |
90 | 99 | | |
| |||
0 commit comments