[General Questions and Answers] ppppp44:
PLS HELP: Mi Pad 2 Bricked, Micro Sdcard undetected, unable to Flash w/ twrp or adb

Hello Guys,

I too have a bricked Mi Pad 2 problem and I am desperate for some professional advice:

So I managed to brick my new Xiaomi Mi Pad 2 and make a huge mess along the way.

Currently it is in a bootloop with Custom Recovery installed (twrp 3.0). It all started after I flashed the China developer rom in sake of rooting, and failed to install or flash Gapps. So decided to flash back the stock Miui V7.2.1.0.KXFMIDA_20160129.0000.14_4.4 (Global) from twrp, hoping I would still have the custom recovery after flashing so I could re-root on the stock rom.

Then Bootloop started. So I just started trying everything I could, inc. flashing system.img and boot.img and stock recovery image separately hoping I could somehow restore to factory settings. When all else failed I tried wiping and formatting everything using fastboot adb shell, hoping to flash the rom with adb after or sideload adb. Now I can't flash anything.

When I try to flash a zip using the fastboot adb shell: fastboot flash update update.zip or fastboot flash boot update.zip (I named the stock rom update.zip). I get errors and the process fails.

When I try to reformat/wipe Microsd card and/or repair it with twrp, nothing works. I pasted the log below.

Nothing works. I hope I can recover the system from this mess. All I wanted was a stable global rom with root access and was too impatient to wait for Xiaomi to approve my oem unlock request.

Please help guys...

Thanks in advance! Thank you guys...

Here is the twrp log.

__bionic_open_tzdata: couldn't find any tzdata when looking for Asia/Shanghai!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

Starting TWRP 3.0.0-0 on Sun Apr 24 22:21:54 2016

(pid 2223)

BOARD_HAS_NO_REAL_SDCARD := true

RECOVERY_SDCARD_ON_DATA := true

TW_NO_USB_STORAGE := true

TW_INCLUDE_CRYPTO := true

I:Found brightness file at '/sys/devices/pci0000:00/808622C1:01/i2c-1/i2c-LP855600:00/backlight/lcd-backlight/brightness'

I:Got max brightness 255 from '/sys/devices/pci0000:00/808622C1:01/i2c-1/i2c-LP855600:00/backlight/lcd-backlight/max_brightness'

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:LANG: en

Starting the UI...setting DRM_FORMAT_BGRA8888 and GGL_PIXEL_FORMAT_BGRA_8888

Skipping drm graphics -- not present in build tree

fb0 reports (possibly inaccurate):

vi.bits_per_pixel = 32

vi.red.offset = 16 .length = 8

vi.green.offset = 8 .length = 8

vi.blue.offset = 0 .length = 8

setting GGL_PIXEL_FORMAT_BGRA_8888

single buffered

RECOVERY_BGRA

framebuffer: 0 (1536 x 2048)

Using fbdev graphics.

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:Loading package: splash (/twres/splash.xml)

I:Load XML directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly

I:Checking resolution...

I:Scaling theme width 1.422222x and height 1.066667x, offsets x: 0 y: 0

parsing languageFile

parsing languageFile done

I:Loading resources...

I:Loading variables...

I:Loading mouse cursor...

I:Loading pages...

I:Loading page splash

I:Switching packages (splash)

=> Linking mtab

=> Processing recovery.fstab

I:Processing '/boot'

I:Processing '/cache'

I:Processing '/factory'

I:Processing '/config'

I:Created '/config' folder.

I:Processing '/data'

I:Setting up '/data' as data/media emulated storage.

I:mount -o bind '/data/media' '/sdcard' process ended with RC=0

I:mount -o bind '/data/media' '/sdcard' process ended with RC=0

I:Processing '/misc'

I:Processing '/recovery'

I:Processing '/system'

I:Processing '/usb_otg'

I:Created '/usb_otg' folder.

I:Processing '/external_sd'

I:Created '/external_sd' folder.

I:Backup folder set to '/data/media/TWRP/BACKUPS/A3P40EB1BD82'

I:Settings storage is '/data/media'

I:Decrypt adopted storage starting

I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly

Updating partition details...

I:Data backup size is 291MB, free: 146MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'auto'

I:Unable to mount '/external_sd'

I:Actual block device: '', current file system: 'vfat'

...done

I:Unmounting main partitions...

Partition Logs:

/boot | /dev/block/mmcblk0p9 | Size: 32MB

Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img

Primary_Block_Device: /dev/block/mmcblk0p9

Display_Name: Boot

Storage_Name: boot

Backup_Path: /boot

Backup_Name: boot

Backup_Display_Name: Boot

Storage_Path: /boot

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/cache | /dev/block/mmcblk0p12 | Size: 247MB Used: 0MB Free: 247MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent

Primary_Block_Device: /dev/block/mmcblk0p12

Display_Name: Cache

Storage_Name: Cache

Backup_Path: /cache

Backup_Name: cache

Backup_Display_Name: Cache

Storage_Path: /cache

Current_File_System: ext4

Fstab_File_System: auto

Backup_Method: files

/factory | /dev/block/mmcblk0p3 | Size: 5MB Used: 0MB Free: 5MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped IsPresent

Primary_Block_Device: /dev/block/mmcblk0p3

Display_Name: Factory

Storage_Name: Factory

Backup_Path: /factory

Backup_Name: factory

Backup_Display_Name: Factory

Storage_Path: /factory

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

/config | /dev/block/mmcblk0p2 | Size: 3MB Used: 0MB Free: 3MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up IsPresent

Primary_Block_Device: /dev/block/mmcblk0p2

Display_Name: config

Storage_Name: config

Backup_Path: /config

Backup_Name: config

Backup_Display_Name: config

Storage_Path: /config

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

/data | /dev/block/mmcblk0p13 | Size: 439MB Used: 291MB Free: 146MB Backup Size: 291MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage

Symlink_Path: /data/media

Symlink_Mount_Point: /sdcard

Primary_Block_Device: /dev/block/mmcblk0p13

Crypto_Key_Location: /factory/userdata_footer

Display_Name: Data

Storage_Name: Internal Storage

Backup_Path: /data

Backup_Name: data

Backup_Display_Name: Data

Storage_Path: /data/media

Current_File_System: ext4

Fstab_File_System: auto

Backup_Method: files

MTP_Storage_ID: 65537

/misc | /dev/block/mmcblk0p4 | Size: 6MB

Flags: Can_Be_Backed_Up IsPresent

Primary_Block_Device: /dev/block/mmcblk0p4

Display_Name: Misc

Storage_Name: Misc

Backup_Path: /misc

Backup_Name: misc

Backup_Display_Name: Misc

Storage_Path: /misc

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/recovery | /dev/block/mmcblk0p10 | Size: 32MB

Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img

Primary_Block_Device: /dev/block/mmcblk0p10

Display_Name: Recovery

Storage_Name: recovery

Backup_Path: /recovery

Backup_Name: recovery

Backup_Display_Name: Recovery

Storage_Path: /recovery

Current_File_System: emmc

Fstab_File_System: emmc

Backup_Method: dd

/system | /dev/block/mmcblk0p11 | Size: 619MB Used: 568MB Free: 50MB Backup Size: 568MB

Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent

Primary_Block_Device: /dev/block/mmcblk0p11

Display_Name: System

Storage_Name: System

Backup_Path: /system

Backup_Name: system

Backup_Display_Name: System

Storage_Path: /system

Current_File_System: ext4

Fstab_File_System: ext4

Backup_Method: files

/usb_otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Removable Is_Storage

Primary_Block_Device: /dev/block/sda1

Alternate_Block_Device: /dev/block/sda

Display_Name: USB-OTG

Storage_Name: USB-OTG

Backup_Path: /usb_otg

Backup_Name: usb_otg

Backup_Display_Name: USB-OTG

Storage_Path: /usb_otg

Current_File_System: auto

Fstab_File_System: auto

Backup_Method: files

MTP_Storage_ID: 65538

/external_sd | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB

Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage

Primary_Block_Device: /dev/block/mmcblk1p1

Display_Name: MicroSD

Storage_Name: MicroSD

Backup_Path: /external_sd

Backup_Name: external_sd

Backup_Display_Name: MicroSD

Storage_Path: /external_sd

Current_File_System: vfat

Fstab_File_System: vfat

Backup_Method: files

MTP_Storage_ID: 65539

I:Loading package: TWRP (/script/ui.xml)

I:Load XML directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/script/ui.xml' directly

I:Loading package: TWRP (/data/media/TWRP/theme/ui.zip)

I:Loading zip theme

I:Loading package: TWRP (/twres/ui.xml)

I:Load XML directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly

I:Checking resolution...

I:Scaling theme width 1.422222x and height 1.066667x, offsets x: 0 y: 0

parsing languageFile

parsing languageFile done

I:Loading resources...

I:Loading variables...

I:Loading mouse cursor...

I:Loading pages...

I:PageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly

I:Loading included resources...

I:Loading included variables...

I:Loading mouse cursor...

I:Loading included pages...

I:Loading page main

I:Loading page main2

I:Loading page install

I:Loading page flash_confirm

I:Loading page flash_zip

I:Loading page flash_done

I:Loading page flashimage_confirm

I:Loading page clear_vars

I:Loading page confirm_action

I:Loading page action_page

I:Loading page singleaction_page

I:Loading page action_complete

I:Loading page filecheck

I:Loading page rebootcheck

I:Loading page wipe

I:Loading page advancedwipe

I:Loading page formatdata

I:Loading page formatdata_confirm

I:Loading page checkpartitionlist

I:Loading page partitionoptions

I:Loading page refreshfilesystem

I:Loading page selectfilesystem

I:Loading page backup

I:Loading page backup_options

I:Loading page backupname1

I:Loading page backupname2

I:Loading page backupencryption

I:Loading page backupencryption2

I:Loading page checkbackuppassword

I:Loading page backup_run

I:Loading page restore

I:Unable to open '/data/media/TWRP/BACKUPS/A3P40EB1BD82'

I:Loading page restore_read

I:Loading page restore_decrypt

I:Loading page try_restore_decrypt

I:Loading page restore_select

I:Loading page renamebackup

I:Loading page restore_run

I:Loading page mount

I:Loading page usb_mount

I:Loading page usb_umount

I:Loading page system_readonly_check

I:Loading page reboot

I:Loading page system_readonly

I:Loading page settings

I:Loading page settings_timezone

I:Loading page settings_screen

I:Loading page settings_vibration

I:Loading page settings_language

I:Loading page advanced

I:Loading page partsdcardsel

I:Loading page partsdcardcheck

I:Loading page partsdcard

I:Loading page htcdumlock

I:Loading page lock

I:Loading page filemanagerlist

I:Loading page filemanageroptions

I:Loading page choosedestinationfolder

I:Loading page filemanagerrenamefile

I:Loading page filemanagerrenamefolder

I:Loading page filemanagerchmod

I:Loading page filemanagerconfirm

I:Loading page filemanageraction

I:Loading page decrypt

I:Loading page decrypt_pattern

I:Loading page trydecrypt

I:Loading page terminalcommand

I:Loading page sideload

I:Loading page fixcontexts

I:Loading page installsu

I:Loading page slideout

I:Loading page select_storage

I:Loading page select_language

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Switching packages (TWRP)

SELinux contexts loaded from /file_contexts

Full SELinux support is present.

Startup Commands:

ro.sf.lcd_density=320

ro.adb.secure=0

ro.com.android.dateformat=MM-dd-yyyy

ro.com.android.dataroaming=true

ro.frp.pst=/dev/block/by-name/android_persistent

ro.ufo.use_coreu=1

ro.ufo.use_msync=1

ro.boot.selinux=permissive

ro.boot.hardware=latte

ro.boot.serialno=A3P40EB1BD82

ro.boot.bootreason=unknown

ro.gnss.sv.status=true

ro.spid.gps.pmm=disabled

ro.spid.gps.RfType=GL_RF_4752_BRCM_EXT_LNA

ro.spid.gps.FrqPlan=FRQ_PLAN_26MHZ_2PPM

ro.twrp.boot=1

ro.twrp.version=3.0.0-0

ro.wifi.channels=

ro.allow.mock.location=1

ro.board.platform=gmin

ro.build.id=LMY47I

ro.build.date=2016.02.14

ro.build.date.utc=1441958843

ro.build.host=R420-1

ro.build.tags=dev-keys

ro.build.type=userdebug

ro.build.user=jenkins

ro.build.flavor=latte-user

ro.build.display.id=LMY47I

ro.build.product=cht_ffd

ro.build.version.sdk=22

ro.build.version.release=5.1

ro.build.version.codename=REL

ro.build.version.incremental=V7.1.5.0.LACCNCL

ro.build.version.all_codenames=REL

ro.build.description=latte-user 5.1 LMY47I V7.1.5.0.LACCNCK release-keys

ro.build.fingerprint=Xiaomi/latte/latte:5.1/LMY47I/V7.1.2.0.LACCNCK:user/release-keys

ro.build.characteristics=tablet,nosdcard

ro.radio.noril=yes

ro.config.ringtone=Ring_Synth_04.ogg

ro.config.alarm_alert=Alarm_Classic.ogg

ro.config.notification_sound=pixiedust.ogg

ro.dalvik.vm.isa.arm=x86

ro.dalvik.vm.native.bridge=libhoudini.so

ro.enable.native.bridge.exec=1

ro.secure=0

ro.zygote=zygote64_32

ro.carrier=unknown

ro.modules.location=/system/lib/modules

ro.product.cpu.abi=x86_64

ro.product.cpu.abilist=x86_64,x86,armeabi-v7a,armeabi,arm64-v8a

ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi

ro.product.cpu.abilist64=x86_64,arm64-v8a

ro.product.name=latte

ro.product.board=latte

ro.product.brand=Xiaomi

ro.product.model=MI PAD 2

ro.product.device=latte

ro.product.locale.region=US

ro.product.locale.language=en

ro.product.manufacturer=Xiaomi

ro.baseband=unknown

ro.bootmode=unknown

ro.hardware=latte

ro.opengles.version=196609

ro.revision=0

ro.serialno=A3P40EB1BD82

ro.telephony.default_network=9

ro.bootloader=unknown

ro.debuggable=1

ro.factorytest=0

drm.service.enabled=true

log.tag.CWS_CELLCOEX_MGR=DEBUG

log.tag.CWS_CELLCOEX_HANDLER=DEBUG

net.bt.name=Android

net.change=net.bt.name

sys.usb.config=adb

sys.mdmcli.jarPath=/system/framework/com.intel.internal.telephony.MmgrClient.jar

sys.mdmcli.className=com.intel.internal.telephony.mmgr.MmgrModemStatusMonitor

sys.charger.connected=1

sys.powerctl.no.shutdown=1

init.svc.adbd=stopping

init.svc.healthd=running

init.svc.ueventd=running

init.svc.recovery=running

init.svc.watchdogd=running

init.svc.thermal_lite=running

rild.libpath=librapid-ril-core.so

twrp.crash_counter=0

twrp.action_complete=0

wifi.interface=wlan0

config.disable_cellcoex=0

dalvik.vm.isa.x86.features=default

dalvik.vm.isa.x86_64.features=sse4_2,aes_in,popcnt,movbe

dalvik.vm.heapsize=348m

dalvik.vm.lockprof.threshold=500

dalvik.vm.dex2oat-Xms=64m

dalvik.vm.dex2oat-Xmx=512m

dalvik.vm.heapmaxfree=8m

dalvik.vm.heapminfree=512k

dalvik.vm.heapstartsize=16m

dalvik.vm.heapgrowthlimit=200m

dalvik.vm.stack-trace-file=/data/anr/traces.txt

dalvik.vm.image-dex2oat-Xms=64m

dalvik.vm.image-dex2oat-Xmx=64m

dalvik.vm.heaptargetutilization=0.75

persist.sys.usb.config=mtp,adb

persist.sys.dalvik.vm.lib.2=libart.so

persist.sys.country=CN

persist.sys.language=zh

persist.sys.timezone=Asia/Shanghai

persist.tel.hot_swap.support=true

persist.core.enabled=0

persist.intel.ogl.debug=/data/ufo.prop

persist.intel.ogl.username=Developer

persist.intel.ogl.dumpdebugvars=1

persist.service.apklogfs.enable=1

persist.ril-daemon.disable=0

service.adb.root=1

service.cellcoexmgr.rtcoex=1

keyguard.no_require_sim=true

I:Copying file /cache/recovery/log to /cache/recovery/last_log

tw_get_context got selinux context: u:object_r:system_data_file:s0

I:Got default contexts and file mode for storage files.

I:Attempt to load settings from settings file...

I:Loading settings from '/data/media/TWRP/.twrps'.

I:Backup folder set to '/data/media/TWRP/BACKUPS/A3P40EB1BD82'

I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'auto'

I:Unable to mount '/external_sd'

I:Actual block device: '', current file system: 'vfat'

__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly

parsing languageFile

parsing languageFile done

I:Translating partition display names

I:Backup folder set to '/data/media/TWRP/BACKUPS/A3P40EB1BD82'

I:Enabling MTP during startup

I:Starting MTP

Starting MTP

I:sending message to add 65537 '/data/media' 'Internal Storage'

I:Message sent, add storage ID: 65537

MTP Enabled

I:Check_Lifetime_Writes result: '0'

I:Switching packages (TWRP)

I:Set page: 'system_readonly'

created new mtpserver object

MtpServer::run fd: 18

mtppipe add storage 65537 '/data/media'

MtpStorage id: 65537 path: /data/media

I:Is_Mounted: Unable to find partition for path '/vendor'

I:operation_start: 'Toggle System Mount'

I:operation_end - status=1

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Switching packages (TWRP)

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'install'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'sideload'

I:Set page: 'advanced'

I:Set page: 'sideload'

I:Set page: 'action_page'

I:operation_start: 'Sideload'

Starting ADB sideload feature...

I:Disabling MTP

BOARD_HAS_NO_REAL_SDCARD := true

RECOVERY_SDCARD_ON_DATA := true

TW_NO_USB_STORAGE := true

TW_INCLUDE_CRYPTO := true

I:Found brightness file at '/sys/devices/pci0000:00/808622C1:01/i2c-1/i2c-LP855600:00/backlight/lcd-backlight/brightness'

I:Got max brightness 255 from '/sys/devices/pci0000:00/808622C1:01/i2c-1/i2c-LP855600:00/backlight/lcd-backlight/max_brightness'

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:LANG: en

Cancelling ADB sideload...

I:Signaling child sideload process to exit.

I:Killing child sideload process.

I:Waiting for child sideload process to exit.

Restarting adbd...

I:Starting MTP

Starting MTP

I:sending message to add 65537 '/data/media' 'Internal Storage'

I:Message sent, add storage ID: 65537

I:Set page: 'action_complete'

I:operation_end - status=1

created new mtpserver object

MtpServer::run fd: 19

mtppipe add storage 65537 '/data/media'

MtpStorage id: 65537 path: /data/media

I:Set page: 'clear_vars'

I:Set page: 'advanced'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'wipe'

I:Set page: 'advancedwipe'

I:Set page: 'action_page'

I:operation_start: 'Format'

I:wipe list '/external_sd;'

I:wipe_path '/external_sd'

Formatting Micro SDCard using mkfs.fat...

No device specified!

Usage: mkfs.fat [-a][-A][-c][-C][-v][-I][-l bad-block-file][-b backup-boot-sector]

[-m boot-msg-file][-n volume-name][-i volume-id]

[-s sectors-per-cluster][-S logical-sector-size][-f number-of-FATs]

[-h hidden-sectors][-F fat-size][-r root-dir-entries][-R reserved-sectors]

[-M FAT-media-byte][-D drive_number]

[--invariant]

[--help]

/dev/name [blocks]

mkfs.fat 3.0.28 (2015-05-16)

mkfs.fat process ended with ERROR: 1

Unable to wipe Micro SDCard.

Unable to wipe /external_sd.

Updating partition details...

I:Data backup size is 291MB, free: 146MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'auto'

I:Unable to mount '/external_sd'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'action_complete'

I:operation_end - status=1

I:Set page: 'clear_vars'

I:Set page: 'advancedwipe'

I:checkpartitionlist list '/external_sd;'

I:checkpartitionlist part_path '/external_sd'

I:Set page: 'checkpartitionlist'

I:getpartitiondetails list '/external_sd;'

I:getpartitiondetails part_path '/external_sd'

I:Set page: 'partitionoptions'

I:Set page: 'confirm_action'

I:Set page: 'action_page'

I:operation_start: 'Repair Partition'

Repairing Micro SDCard using fsck.fat...

I:Repair command: /sbin/fsck.fat -y

usage: /sbin/fsck.fat [-aAbflrtvVwy] [-d path -d ...] [-u path -u ...]

device

-a automatically repair the filesystem

-A toggle Atari filesystem format

-b make read-only boot sector check

-d path drop that file

-f salvage unused chains to files

-l list path names

-n no-op, check non-interactively without changing

-p same as -a, for compat with other *fsck

-r interactively repair the filesystem (default)

-t test for bad clusters

-u path try to undelete that (non-directory) file

-v verbose mode

-V perform a verification pass

-w write changes to disk immediately

-y same as -a, for compat with other *fsck

/sbin/fsck.fat -y process ended with ERROR: 2

Unable to repair Micro SDCard.

I:Set page: 'action_complete'

I:operation_end - status=1

I:Set page: 'clear_vars'

I:Set page: 'partitionoptions'

I:Set page: 'advancedwipe'

I:Set page: 'wipe'

I:Set page: 'formatdata'

I:Set page: 'formatdata_confirm'

I:Set page: 'action_page'

I:operation_start: 'Format'

I:sending message to remove 65537

mtppipe remove storage 65537

I:Message sent, remove storage ID: 65537

failed with error: -1

flash_image /factory/userdata_footer /dev/zero process ended with ERROR: 255

E:Unable to wipe '/data' -- unknown file system 'auto'

Unable to format to remove encryption.

I:mount -o bind '/data/media' '/sdcard' process ended with RC=0

I:sending message to add 65537 '/data/media' 'Internal Storage'

I:Message sent, add storage ID: 65537

mtppipe add storage 65537 '/data/media'

MtpStorage id: 65537 path: /data/media

Updating partition details...

I:Data backup size is 291MB, free: 146MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'auto'

I:Unable to mount '/external_sd'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'action_complete'

I:operation_end - status=1

I:Set page: 'clear_vars'

I:Set page: 'formatdata'

I:Set page: 'wipe'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'mount'

I:Unable to mount '/external_sd'

I:Actual block device: '', current file system: 'vfat'

I:Unable to mount '/external_sd'

I:Actual block device: '', current file system: 'vfat'

I:Unable to mount '/external_sd'

I:Actual block device: '', current file system: 'vfat'

I:Set overlay: 'select_storage'

I:Set overlay: ''

I:Set page: 'clear_vars'

I:Set page: 'mount'

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'auto'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'settings'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'backup'

I:operation_start: 'Refreshing Sizes'

Updating partition details...

I:Data backup size is 291MB, free: 146MB.

I:Unable to mount '/usb_otg'

I:Actual block device: '', current file system: 'auto'

I:Unable to mount '/external_sd'

I:Actual block device: '', current file system: 'vfat'

...done

I:operation_end - status=0

I:Set page: 'backup'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'install'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'confirm_action'

I:Set page: 'action_page'

I:operation_start: 'Copy Log'

I:Copying file /tmp/recovery.log to /data/media/recovery.log