Error : java illegal on adb shell sm set strength adoptable true - Zenfone 2 Laser Q&A, Help & Troubleshooting

Hello
I have an android ze500kl M
I try to enter the command "adb shell sm set-force adoptable true"
This puts me at end of line "error : java illegal"
what to do ? Thank you for your answers !

Related

ROOT

Hi all,
until yesterday when i type "su" via terminal emulator or adb, the system correctly swtich to root with "#"
today...
$ su
su
su: unknown id: root
whoami
whoami: unknown uid 2000
Any ideas ?????????
Thanks!!!
Pius
p.s.
HTC SAPPHIRE/MAGIC TIM (ITALY) born rooted!
up......
pius said:
Hi all,
until yesterday when i type "su" via terminal emulator or adb, the system correctly swtich to root with "#"
today...
$ su
su
su: unknown id: root
whoami
whoami: unknown uid 2000
Any ideas ?????????
Thanks!!!
Pius
p.s.
HTC SAPPHIRE/MAGIC TIM (ITALY) born rooted!
Click to expand...
Click to collapse

adb SU

Hi,
Just a little help for me please, I try to launch some adb command with SU
In my little head, I have think translate your code with the SU call before
Code:
adb shell uname -r
become
Code:
adb shell su uname -r
With the first command, all is good I have my answer, with the su first I have
Code:
Permission Denied
I have a DESIRE (bravo) rooted and S-OFF, what did I do wrong ?
The Linux su expects a user name as parameter, not a command. As far as I can see, the Android su simply ignores this parameter. If you want su to execute a command, use the -c option, like in
Code:
su -c uname -r
This causes su to execute "uname -r" as root, after that it returns immediately, so you're back at the user level you've been before. This might not be what you expect, but that's how it works.
Your permission error: Try a single su command, without any arguments or options. If it also returns a permission error, you're not rooted. It should ask you at the mobile's display for permission if you're rooted and you are doing that for the first time.
Thx U dude, U R the one

Adb Shell

can someone please help i cant get adb shell command to work, i can adb push/pull or reboot and all commands work fine but adb shell returns /system/bin/sh: adb: not found
please help i have shield 2017 and at a loss what to do

Adb Shell on shield 2017

folks can someone with a new shield clarify if adb shell works on 2017 version
i can adb commands such as reboot/push/pull but when open shell and try to send specific shell commands such as hide leanback launcher i get errors such as below
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell pm hide com.google.android.leanbacklauncher
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
Im wrecking my head if its an issue with me or a general issue, so can someone please check
thanks

Guide to root 8227 head units

1. Go to build description
2. Press 4 times to unlock Developer menu
3.Enable Debugging and OEM unlock
4. Plug USB cable to PC with ADB installed
5. Do ADB Devices and verify that your unit has a serial number
6. at the ADB prompt, go ADB shell
7. Make sure you have a Arm7 "su" inside your ADB folder.
8. At the adb shell prompt, type "[email protected]"
9. Type "su" , you should see "alps5000#"..that means you have superuser privileges now
10. type "remount"
11. type "exit"
12. type "adb push su /system/bin"
type "adb push su /system/xbin"
type "adb push su /vendor/bin"
13. type "adb chmod 0677 su /system/bin"
14. type " adb shell setenforce 0"
15. type " adb reboot system"
Now check if you have permanent root when the unit reboots..
codecxbox said:
7. Make sure you have a Arm7 "su" inside your ADB folder.
8. At the adb shell prompt, type "[email protected]"
9. Type "su" , you should see "alps5000#"..that means you have superuser privileges now
10. type "remount"
11. type "exit"
12. type "adb push su /system/bin"
type "adb push su /system/xbin"
type "adb push su /vendor/bin"
13. type "adb chmod 0677 su /system/bin"
14. type " adb shell setenforce 0"
15. type " adb reboot system"
Now check if you have permanent root when the unit reboots..
Click to expand...
Click to collapse
Or you can just install TWRP and root it in one go from there
problem with the FF-5000 is that system and vendor partitions are read only..you can upload twrp but youll get cannot modify errors..you need to unlock and remount these partitions first with the passworded su and then you can modify with twrp..the 9213ja is another type of software, its already userdebugged from stock, its partitions are already R/W from factory
Why complicate things so much OP? A much simpler way is to install TWRP recovery and then root, ViperFx and anything else u might want.

Categories

Resources