My android mobile is accidentally broken. And the usb debugging is set to off. If I can enable it I could use it through visor in PC. But can't do it now. :( I don't have OTG supported too. My android version is 7.0 Nougat. The manufacturer is Symphony LiteTel. Model: Symphony LiteTel - LT4502 Is there any way? :(

  • 1
    The Android version is important, therefore thanks for including this info. However every Android device can be seen as unique, therefore you should additionally name the manufacturer and the exact model name of your device. Otherwise the answer is just "may be".
    – Robert
    Commented Dec 26, 2020 at 12:03
  • @Robert, I've added those information. Could you please check?
    – Encrypted
    Commented Dec 26, 2020 at 13:25
  • I thought may be your device has an MTP chip which allows to flash a custom firmware with pre-enabled adb. But your phone seems to be very special not even find some detailed tech specs. Hence this won't work - sorry.
    – Robert
    Commented Dec 26, 2020 at 13:51
  • :sob: @Robert thank you.
    – Encrypted
    Commented Dec 26, 2020 at 14:14
  • Related: Can I enable USB debugging using adb? // Broken screen while debug mode was disabled. How can I re-enable adb? // Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen and probably more in the resp. "related" sections, as this is a question coming up frequently.
    – Izzy
    Commented Dec 27, 2020 at 2:07

1 Answer 1


you can't do much because device has locked bootloader

well. so spoken, you can't do much wrong and can try something stupid ;) basically adb can be enabled by modifying boot or system partition. but locked bootloader means no modifications allowed.

some older devices have no protection for flashing modified partitions, only avb/dm-verity will deny boot in such case.

however, Magisk is able to by-pass dm-verity in some cases. most likely you will brick your device with this method, but give it a try (you can repair it by restoring official partitions)

  • download latest platform-tools

  • get a flash tool for your device. for Spreadtrum/Unisoc chipset it's SPD Upgrade Tool (make sure you download latest version)

  • install Spreadtrum USB drivers

  • download stock ROM according to your current android version / build number (you can check from fastboot)

    fastboot devices
    fastboot getvar all
  • in UpgradeDownload.ini (SPD_Upgrade_Tool) change the following flags

    Repartition = 0
    ShowOtherPage = 1
    CanEdit = 1
    CanSelect = 1
  • extract the stock ROM and find the boot.img (you will patch) and the userdata.img (you must delete) in SPD ImageFiles/_DownloadFiles

1. Magisk root + enable usb-debugging + by-pass dm-verity

  • unpack the boot.img with any ramdisk tool
    (i recommend AIK unpackimg.bat)

  • modify default.prop to enable adb
    (use Notepad++ for correct line ending LF)

  • repack ramdisk/kernel and copy image-new.img to any android device (android 7.0 recommended)

  • install Magisk Manager and patch the image file with settings "keep AVB/dm-verity" and "keep force encryption"

  • goto settings - about device - tap build number 7x (seven) times and enable usb-debugging in developer options

  • open cmd.exe, navigate to platform-tools folder and copy magisk_patched.img back to PC

    adb devices
    adb pull /sdcard/Download/magisk_patched.img

2. now comes the tricky part. you must flash that file to your broken device (boot partition). that is untested and may fail

  • open SPD Upgrade Tool - Settings - Main Page. uncheck all entries that do not apply to boot partition

  • especially make sure all entries related to "Erase" or "UserData" are removed. you only want to flash boot (not to confuse with uboot)

  • select magisk_patched.img from platform-tools folder and replace the original boot.img in the proper entry

  • Power off your device. connect your device. start the flashing process


finally, reboot your device and check adb connection

adb devices

if no adb connection that means the bootloader does not allow modified partitions and your device is bricked now

unbrick by flashing the original boot.img (see step 2)

make sure never flash userdata you will lose all data

  • xda-developers.com/scrcpy-control-android-on-pc
    – alecxs
    Commented Dec 26, 2020 at 23:14
  • 1
    thank you so much for your contribution. I don't know if I could do this or not. But I'll try.
    – Encrypted
    Commented Dec 27, 2020 at 9:22
  • can confirm this method works 100% for Lenovo Tab 7 Essential (TB-7304F) and Cubot King Kong B-1 (X511) both with MTK SP Flash Tool
    – alecxs
    Commented Dec 28, 2020 at 22:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .