mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 10:35:26 +00:00
Change block detection method
This commit is contained in:
parent
834c16485c
commit
f07e7571ab
@ -291,7 +291,7 @@ public class MagiskManager extends Application {
|
||||
if (Utils.isValidShellResponse(res)) {
|
||||
bootBlock = res.get(0);
|
||||
} else {
|
||||
blockList = shell.su("ls -d /dev/block/mmc* /dev/block/sd* 2>/dev/null");
|
||||
blockList = shell.su("find /dev/block -type b | grep -vE 'dm-0|ram|loop'");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user