Home > Mobile >  How to open the root access to the android device into a serial port and/dev/input/event0
How to open the root access to the android device into a serial port and/dev/input/event0

Time:11-22

I now it is time the adb chmod -r 777 equipment,
But every time to restart the machine to perform once, can't do products

CodePudding user response:

Write an APP on radio monitoring, boot the adb command line at a time

CodePudding user response:

//boot
If (intent. GetAction (). The equals (" android. Intent. Action. BOOT_COMPLETED "))
{
CurrTime String shellCommand="date" + + "\ n busybox hwclock - w \ n";
ShellUtils.Com mandResult result=ShellUtils. ExecCommand (shellCommand, true, true);
L.e (" school: "+ result. The result +" "+ result. SuccessMsg +" "+ result. The errorMsg);
}


Android ShellUtils - Shell related tools

CodePudding user response:

[q ink_s uote=reference 2 floor response:]//boot
If (intent. GetAction (). The equals (" android. Intent. Action. BOOT_COMPLETED "))
{
CurrTime String shellCommand="date" + + "\ n busybox hwclock - w \ n";
ShellUtils.Com mandResult result=ShellUtils. ExecCommand (shellCommand, true, true);
L.e (" school: "+ result. The result +" "+ result. SuccessMsg +" "+ result. The errorMsg);
}


Android ShellUtils - Shell related tools


My phone did not boot can execute this command?
Can you inside the shell of adb root,

I am now the adb is sent by computer command in the past

CodePudding user response:

reference 1st floor ink_s response:
write a APP on radio monitoring, computer adb command line


Can the root?

CodePudding user response:

reference 4 floor Jacky_Lu response:
Quote: reference 1st floor ink_s response:
write a APP on radio monitoring, computer adb command line


Can you root


Computers can APP we can, you can have a try, the two are the same

CodePudding user response:


Many of my ADB commands are carried out within the APP, silent installation, screenshots record screen, school, restart, can

CodePudding user response:

This is to look at the system, and some can perform some can not,

CodePudding user response:

Could you tell me in which device? Bother direct messages pushed,

refer to 6th floor ink_s response:
my lot of ADB commands are carried out within the APP, silent installation, screenshots record screen, school, restart, can

CodePudding user response:

that's where you should, you devices you what android devices even though the root, but the serial no supreme authority, then the change in the android code execution adb will not take effect, and what is a serial port of the terminal, see if they have any solution, such as document

CodePudding user response:

figure sent you a wrong, ha ha

CodePudding user response:

refer to the second floor ink_s response:
//boot
If (intent. GetAction (). The equals (" android. Intent. Action. BOOT_COMPLETED "))
{
CurrTime String shellCommand="date" + + "\ n busybox hwclock - w \ n";
ShellUtils.Com mandResult result=ShellUtils. ExecCommand (shellCommand, true, true);
L.e (" school: "+ result. The result +" "+ result. SuccessMsg +" "+ result. The errorMsg);
}


Android ShellUtils - Shell related tools

This is what I give root shell classes have no reaction

CodePudding user response:

Finally make circuit board manufacturer to modify the kernel open access
  • Related