8 2022
Hi there,

Is anyone know how to sleep, shutdown and reboot the LeMaker Guitar using a command line on Android?

This is a nice app, works just with a click: ... lications.quickboot

Edited by sghazagh at Sep 28, 2016 14:57

If you want to develop an application yourself, you need to access the shell to issue a command.
For doing that and for doing what you are looking for, you normally need ROOT access to your device.
You should grab the standard input of the SU process just launched and write down the command there, otherwise you are running the commands with the current UID.
Try something like this:
  1. try{
  2.     Process su = Runtime.getRuntime().exec("su");
  3. .
  4. .
  5. .
  6.     su.waitFor();
  7. }catch(IOException e){
  8.     throw new Exception(e);
  9. }catch(InterruptedException e){
  10.     throw new Exception(e);
  11. }
Copy the Code

If you want, you can use this library available in GITHUB: "" to access to ROOT from your app.
That's from Chainfire and you can add it to your gradle file:

  1. dependencies {
  2.     compile 'eu.chainfire:libsuperuser:1.0.0.+'
  3. }
Copy the Code

See the samples in their GIT and see how you can access shell by this library. Then you can issue any command you would like from you app.

For example, you can use AsyncTask and do it in background:
  1. suAvailable = Shell.SU.available();
  2. if (suAvailable) {
  3. suVersion = Shell.SU.version(false);
  4. suVersionInternal = Shell.SU.version(true);
  5. suResult = String[] {
  6. "su -c 'svc power reboot recovery'  "              //Ex. Reboot to Recovery, Tested on Android 5.0 and 6.0.1
  7. });
Copy the Code

If not, and only need an application, then try the one 'actkk200' is recommended. There are couple of others which you can find in Google Play Store too.

Hope it helps

busybox reboot -p

gadai bpkb mobil gadai bpkb mobil di pegadaian gadai bpkb
jasa pembuatan website  jasa website  
jual komputer bekas terima komputer bekas terima lelang komputer bekas
lelang komputer bekasterima server bekas jakarta
web hosting hosting murah
hosting murah unlimited hosting
jasa pembuatan website jasa web jasa website
jasa websitejasa pembuatan website jasa buat website
jasa pembuatan website surabayajasa website surabaya jasa pembuatan website
jual komputer bekas jual beli komputer bekas terima komputer bekas kantor terima beli komputer bekas beli komputer bekas warnet jual laptop bekas
pinjaman dana tunai pinjaman dana dana tunai jaminan bpkb mobil
jaminan bpkb mobil gadai bpkb mobil cepat gadai bpkb mobil di pegadaian
jual obat aborsi obat aborsi
obat aborsi jual obat aborsi jual obat aborsi ampuh
obat aborsi jual obat aborsiobat penggugur kandungan
sedot wc surabaya sedot wc sidoarjo sedot wc
jual obat aborsi kandungan jual obat aborsi ampuh</br>
jasa pembuatan website jasa website jasa web
jasa seo jasa seo website
gadai mobil tanpa bpkb gadai mobil di pegadaian
daftar harga pipa pipa pvc sni pipa limbah pipa hdpe pipa air bersih
jasa penerbitan bank garansi jakarta jasa surety bond jakarta
obat aborsi jual obat aborsi obat aborsi cytotec
asuransi mobil asuransi mobil terbaik
mesin crushermesin stone crusher stone crusher
best steam cleaner
pagar brc jual pagar brc
jual obat aborsi surabayajual obat aborsi semarang jual obat aborsi karawang
jual obat aborsi jual cytotec obat aborsi asli
gadai bpkb mobil gadai bpkb mobil di pegadaian gadai bpkb
madu hutan madu hutan sumatera
cara menggugurkan kandungan menggugurkan kandungan penggugur kandungan
obat aborsijual obat aborsi
gadai mobil gadai mobil tanpa bpkb gadai mobil perorangan
gadai mobil cepat

Your blog is astoundingly enchanting and informative.I feel that it is to take in on an especially fundamental dimension more vital. Not simply that, it likewise helped me in broadening single learning.
Dehradun Escorts
Dehradun Escorts Service
Dehradun Call Girls

I was examining a part of your substance on this site and I envision this site is extremely instructive! Keep including.  
Delhi Escorts

The mind-boggling article it was noteworthy, I like to examine such kind of articles, there I kept running over piles of information and it was very helpful and educational for me eventually this site ideal for my knowledge I need.  
Call Girl in Delhi
Sexy Bhabhi Whatsapp Number

You have to log in before you can reply Login | Sign Up

Points Rules