TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.96k stars 741 forks source link

compiled twrp not booting #797

Open muralivijay opened 7 years ago

muralivijay commented 7 years ago

i have compiled twrp from omni 6x and cm 13 sources ....... after completed .. iam tying test to my device .... also tried diffrent version of twrp still twrp not booting,,, here is my log .. please help

bionic_open_tzdata: couldn't find any tzdata when looking for Asia/Calcutta! 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.2-0- on Sat Nov 26 10:05:38 2016 (pid 147) TW_NO_REBOOT_BOOTLOADER := true TW_NO_CPU_TEMP := true I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled TW_HAS_DOWNLOAD_MODE := true I:Found brightness file at '/sys/devices/40260000.sprd_pwm_bl/backlight/sprd_backlight/brightness' I:Got max brightness 255 from '/sys/devices/40260000.sprd_pwm_bl/backlight/sprd_backlight/max_brightness' I:TWFunc::Set_Brightness: Setting brightness control to 255 I:LANG: en Starting the UI... setting DRM_FORMAT_RGBX8888 and GGL_PIXEL_FORMAT_RGBX_8888 cannot find/open a drm device: No such file or directory 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 double buffered active fb swap failed: Invalid argument framebuffer: 0 (720 x 1280) ioctl(): blank: Invalid argument ioctl(): blank: Invalid argument Using fbdev graphics. active fb swap failed: Invalid argument active fb swap failed: Invalid argument TW_SCREEN_BLANK_ON_BOOT := true ioctl(): blank: Invalid argument ioctl(): blank: Invalid argument 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/splash.xml' directly I:Checking resolution... I:Scaling theme width 1.500000x and height 1.600000x, offsets x: 0 y: 0 I:Loading resources... I:Loading variables... I:Loading mouse cursor... I:Loading pages... I:Loading page splash I:Switching packages (splash) active fb swap failed: Invalid argument => Linking mtab => Processing recovery.fstab I:Processing '/boot' I:Processing '/recovery' I:Processing '/data' I:Processing '/system' I:Processing '/misc' I:Processing '/cache' I:Processing '/modem' I:Find_Partition_Size: Failed to open '', (No such file or directory) E:Unable to find partition size for '/modem' I:Processing '/external_sd' I:Created '/external_sd' folder. I:Using automatic handling for /data/media emulated storage device. I:Setting up '/data' as data/media emulated storage. I:Created '/sdcard' folder. I:mount -o bind '/data/media' '/sdcard' process ended with RC=0 I:Backup folder set to '/data/media/0/TWRP/BACKUPS/ERA4G416FA059458' I:Settings storage is '/data/media/0' Updating partition details... I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0 I:Data backup size is 3494MB, free: 1433MB. ...done I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0 I:Unmounting main partitions...

Partition Logs: /boot | /dev/block/mmcblk0p16 | Size: 15MB Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img Primary_Block_Device: /dev/block/mmcblk0p16 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

/recovery | /dev/block/mmcblk0p19 | Size: 15MB Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img Primary_Block_Device: /dev/block/mmcblk0p19 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

/data | /dev/block/mmcblk0p23 | Size: 5334MB Used: 3494MB Free: 1433MB Backup Size: 3494MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage Symlink_Path: /data/media/0 Symlink_Mount_Point: /sdcard Primary_Block_Device: /dev/block/mmcblk0p23 Length: -16384 Display_Name: Data Storage_Name: Internal Storage Backup_Path: /data Backup_Name: data Backup_Display_Name: Data Storage_Path: /data/media/0 Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files MTP_Storage_ID: 65538

/system | /dev/block/mmcblk0p17 | Size: 1646MB Used: 1449MB Free: 197MB Backup Size: 1449MB Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent Primary_Block_Device: /dev/block/mmcblk0p17 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

/misc | /dev/block/mmcblk0p20 | Size: 1MB Flags: IsPresent Primary_Block_Device: /dev/block/mmcblk0p20 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

/cache | /dev/block/mmcblk0p18 | Size: 143MB Used: 0MB Free: 143MB 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/mmcblk0p18 Display_Name: cac Storage_Name: cac Backup_Path: /cache Backup_Name: cache Backup_Display_Name: cac Storage_Path: /cache Current_File_System: ext4 Fstab_File_System: ext4 Backup_Method: files

/modem | | Size: 0MB Flags: Can_Be_Backed_Up Primary_Block_Device: /dev/block/platform/sdio_emmc/by-name/modem Display_Name: Modem Storage_Name: Modem Backup_Path: /modem Backup_Name: modem Backup_Display_Name: Modem Storage_Path: /modem Current_File_System: emmc Fstab_File_System: emmc Backup_Method: dd

/external_sd | /dev/block/mmcblk1p1 | Size: 15170MB Used: 3061MB Free: 12108MB Backup Size: 3061MB Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage Primary_Block_Device: /dev/block/mmcblk1p1 Alternate_Block_Device: /dev/block/mmcblk1 Display_Name: Micro SD Storage_Name: Micro SD Backup_Path: /external_sd Backup_Name: external_sd Backup_Display_Name: Micro SD Storage_Path: /external_sd Current_File_System: vfat Fstab_File_System: vfat Backup_Method: files MTP_Storage_ID: 65537

I:Loading package: TWRP (/data/media/0/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/pl.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/it.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/el.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly parsing languageFile parsing languageFile done I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly I:Checking resolution... I:Scaling theme width 1.500000x and height 1.600000x, offsets x: 0 y: 0 I:Loading resources... I:Failed to load image from indeterminate013, error -1 I:Loading variables... I:Loading mouse cursor... I:Loading pages... I:Including file: /twres/portrait.xml... I:PageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly I:Loading resources... I:Loading variables... I:Loading mouse cursor... I:Loading 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 flash_sleep_and_reboot I:Loading page flashimage_confirm I:Loading page clear_vars I:Loading page reboot_system_routine 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/0/TWRP/BACKUPS/ERA4G416FA059458' 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. I:Boot command: `ã&Ü¥:JgvßØÝ÷¾HGýxÏ3„à<Ëþ­ I:Boot status: ¿OæÐ’ã´·õ²Óhž¬G0ï¨œhv÷Oì曶 E:Bad boot message "šð¼_m\­ßê(’ãjxÎ?’ÿ»" Startup Commands: ro.cm.build.version.plat.rev=0 ro.cm.build.version.plat.sdk=6 ro.cm.device=era4g ro.cm.display.version=13.0-20161126-UNOFFICIAL-era4g ro.cm.version=13.0-20161126-UNOFFICIAL-era4g ro.cm.releasetype=UNOFFICIAL ro.hw.cam.res=2M,5M ro.hw.has.bt=yes ro.hw.has.gps=yes ro.hw.has.key=yes ro.hw.has.led=no ro.hw.has.sim=yes ro.hw.has.wifi=yes ro.hw.has.gsensor=yes ro.hw.has.lsensor=yes ro.hw.has.psensor=yes ro.hw.has.backlight=yes ro.hw.lcd.res=720,1280 ro.sf.lcd_width=54 ro.sf.lcd_height=96 ro.sf.lcd_density=240 ro.adb.qemud=1 ro.adb.secure=1 ro.com.google.gmsversion=6.0_r8 ro.com.google.clientidbase=android-Xolo ro.com.android.dateformat=dd-MM-yyyy ro.com.android.dataroaming=false ro.com.android.wifi-watchlist=GoogleGuest ro.frp.pst=/dev/block/platform/sdio_emmc/by-name/persist ro.ril.hsxpa=1 ro.ril.gprsclass=10 ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html ro.wcn.hardware.product=marlin ro.boot.

pushkar2gr8 commented 6 years ago

same issue but in my case SOC is spreadtrum and other operations like sideload and shell related ops are working fine but not display i think the buffer is too small for display driver