OSDN Git Service
(root)
/
android-x86
/
external-koush-Superuser.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0018d8cc1c859ece4ceda220f696c080e6cd76cf
[android-x86/external-koush-Superuser.git]
/
Superuser
/
assets
/
install-recovery.sh
1
#!/system/bin/sh
2
mount -orw,remount /
3
mkdir /superuser
4
mount -t tmpfs swap /superuser
5
mount -oro,remount /
6
7
cp /system/xbin/su /superuser
8
chmod 6755 /superuser/su
9
mount -oro,remount /superuser
10
/superuser/su --daemon &