Hello There, Guest! Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enabling ADB on the InnoTV
#2
On the latest version of firmware, they have changed the boot image, so you are no longer root when connecting with adb.
You get a prompt like:
127|shell@android:/ $ su
su: permission denied

I did the following to re-enable root once I found it had been disabled.

Dump the boot.img with

sudo dd if=/dev/sdb of=innotvboot.img skip=49152 count=24576
(the 49152 and 24576 are calculated from the table in the first post 0xA000 + 0x2000 = 0xC000 (49152) and 0x6000 = 24576)

I then used a program called imgRePackerRK to unpack the image.

imgRePackerRK innotvboot.img

this will then make a folder called innotvboot.img.dump/ramdisk.dump
go there and edit the default.prop file

change the following lines from:
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0

persist.sys.usb.config=none

to:
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1

persist.sys.usb.config=adb


and save the file.

To repack:
imgRePackerRK Innoboot.img.cfg
(notice the .cfg at the end)

To re-flash:

sudo dd if=iinnotvboot.img bs=512 obs=512 seek=49152 of=/dev/sdb

Re-insert SD, and reboot Smile

127|root@android:/ # cat default.prop
...
...
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
ro.build.root.date=Wed Jun 17 16:37:22 CST 2015
persist.sys.usb.config=adb
root@android:/ #

Mick
Reply


Messages In This Thread
Enabling ADB on the InnoTV - by is0-mick - 03-28-2016, 03:30 AM
RE: Enabling ADB on the InnoTV - by is0-mick - 04-04-2016, 10:18 AM
RE: Enabling ADB on the InnoTV - by jlonghi324 - 01-07-2017, 10:51 AM
RE: Enabling ADB on the InnoTV - by JJ Millen - 01-13-2017, 02:16 AM
RE: Enabling ADB on the InnoTV - by is0-mick - 01-14-2017, 01:19 PM
RE: Enabling ADB on the InnoTV - by kim - 01-22-2017, 11:12 AM
RE: Enabling ADB on the InnoTV - by rudeboy - 12-28-2017, 03:05 AM
RE: Enabling ADB on the InnoTV - by titruf - 10-10-2019, 08:47 AM
RE: Enabling ADB on the InnoTV - by wrongDaD - 05-07-2020, 08:32 AM
RE: Enabling ADB on the InnoTV - by Adderly - 08-06-2022, 11:25 AM
RE: Enabling ADB on the InnoTV - by Adderly - 08-28-2022, 08:46 AM

Forum Jump: