For the Cecotec Conga models 3090, 3290, 3390, 3490, 3590, 3690, 3790 & 4090 it's possible to change the original adb shell login script1 to avoid any password request at all.
- a Conga 3x90 or 4090 model (of course!)
- a USB to microUSB cable
- a computer with ADB installed (guide)
Edit a new adb_shell script file with the following contents:
#!/bin/sh
export ENV='/etc/adb_profile'
exec /bin/sh "$@"
and change its attributes to be rwxrw-rw-
:
PC:~ armando$ chmod 755 adb_shell
Connect your Conga to your PC using the micro-usb conector in the front (the one bellow the rubber-tap):
and execute the following commands:
PC:~ armando$ adb pull /bin/adb_shell adb_shell.original # create a backup of the original file
PC:~ armando$ adb push -a adb_shell /bin/adb_shell
If everything was ok, you can now execute the following command
PC:~ armando$ adb shell
and you'll get a root-console session directly (without typing any password)
Footnotes
-
Original adb shell script
/bin/adb_shell
:
↩#!/bin/sh export ENV='/etc/adb_profile' if [ $1 = '-' ];then /bin/login elif [ $1 = '-c' ];then /bin/login -c "$2" else /bin/login fi