Problem statement
From the terminal, I connected to my STB using ADB connect IP address of the STB and after executing ADB root, I tried executing ADB remount. I was stuck with the below error message in my terminal.
Android 9 userdebug version execute ADB remount appear:
remount of the / superblock failed: Permission denied
remount failed
Pre-requisite:
The first thing is you need to carry out the below pre-requisite setup,
- Need to have a laptop either Mac or windows with ADB installed or in case it's not installed get it downloaded from ADB but if you have windows well and good.
- USB to USB Male( Male -2- Mable cable).
- One end of the USB is connected to the STB USB port (White Color port) and then another end is connected to your laptop USB port.
- After the above setup is completed, from your command prompt or terminal type adb devices, if it lists the device connected with its serial number that means your connection setup is perfect.
Solution
First thing from the terminal type below command
adb reboot fastboot //This will reboot your STB
fastboot flashing unlock // After STB reboots and you see the google android preloader, run this command
fastboot reboot //After the above command execute this.
Next
adb root //After STB reboots and you see the google android preloader, run this command
adb disable-verity //Immediately after that run this command
adb reboot //Immediately after that run this command
Last //disable Selinux and mount dir
adb root //After STB reboots and you see the google android preloader, run this command
adb shell setenforce 0 //Immediately after that run this command
adb remount //Immediately after that run this command
After the last set of commands you could see the remount works successfully,
now either reboot your STB ie adb reboot
adb root
, even if the device is rooted. Are you sureadb root
worked?adb shell
, then typesu -
. If your rooting process was successful, you should see a popup on your device asking to approve the su request − and having confirmed that, your shell prompt should switch from a$
to a#
.