ivanomonti Expert Licensed User Longtime User Jul 17, 2015 #1 hello guys, I need a hand to my phone has no keyboard and restart working on ... how you can create a command that let me restart the phone ... as a restart !!
hello guys, I need a hand to my phone has no keyboard and restart working on ... how you can create a command that let me restart the phone ... as a restart !!
specci48 Well-Known Member Licensed User Longtime User Jul 17, 2015 #2 Have a look here... specci48 Upvote 0
ivanomonti Expert Licensed User Longtime User Jul 17, 2015 #3 specci48 said: Have a look here... specci48 Click to expand... B4X: Private p As Phone Private Out, Err As StringBuilder Out.Initialize Err.Initialize File.WriteString(File.DirInternal, "reboot.sh", "su -c reboot") p.Shell("sh", Array As String(File.Combine(File.DirInternal, "reboot.sh")), Out, Err) not result :-( not reboot, null Upvote 0
specci48 said: Have a look here... specci48 Click to expand... B4X: Private p As Phone Private Out, Err As StringBuilder Out.Initialize Err.Initialize File.WriteString(File.DirInternal, "reboot.sh", "su -c reboot") p.Shell("sh", Array As String(File.Combine(File.DirInternal, "reboot.sh")), Out, Err) not result :-( not reboot, null
DonManfred Expert Licensed User Longtime User Jul 17, 2015 #4 ivanomonti said: su -c Click to expand... Your device must be ROOTED to call SUPERUSER (su) Upvote 0
ivanomonti Expert Licensed User Longtime User Jul 17, 2015 #5 DonManfred said: Your device must be ROOTED to call SUPERUSER (su) Click to expand... I do not understand, forgive,,, you an example Upvote 0
DonManfred said: Your device must be ROOTED to call SUPERUSER (su) Click to expand... I do not understand, forgive,,, you an example
DonManfred Expert Licensed User Longtime User Jul 17, 2015 #6 https://en.wikipedia.org/wiki/Rooting_(Android_OS) Upvote 0