Post Reply

[VRTHEME][TEMPLATE] EVilTheme

OP aureljared

31st January 2015, 12:37 PM   |  #91  
Junior Member
Flag Naberezhnye Chelny
Thanks Meter: 8
 
22 posts
Join Date:Joined: Apr 2014
More
@aureljared
I am ready to help as tester
31st January 2015, 12:40 PM   |  #92  
aureljared's Avatar
OP Senior Member
Flag Quezon City
Thanks Meter: 470
 
713 posts
Join Date:Joined: May 2013
More
Quote:
Originally Posted by knski

@aureljared
I am ready to help as tester

Yes, I will post the test ZIP in a while.

Sorry everyone for being inactive, I haven't had much time for development as much as I used to. But the code for EVilTheme is at GitHub if you want to help out.
31st January 2015, 01:29 PM   |  #93  
aureljared's Avatar
OP Senior Member
Flag Quezon City
Thanks Meter: 470
 
713 posts
Join Date:Joined: May 2013
More
@knski here's v1.5.1b2: Link

Commits since v1.5.1b: Part 1 Part 2
31st January 2015, 01:49 PM   |  #94  
Junior Member
Flag Naberezhnye Chelny
Thanks Meter: 8
 
22 posts
Join Date:Joined: Apr 2014
More
@aureljared
with b2 not working too
Code:
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__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 2.8.4.0 on Sat Jan 31 12:34:35 2015
 (pid 175)
BOARD_HAS_NO_REAL_SDCARD := true
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
TW_INCLUDE_CRYPTO := true
I:TW_BRIGHTNESS_PATH := /sys/class/leds/lcd-backlight/brightness
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
Starting the UI...Pixel format: 1080x1920 @ 32bpp
Pixel format: RGBX_8888
Not using qualcomm overlay, 'msmfb44_90301'
framebuffer: fd 3 (1080 x 1920)
blacklisting bma250 input device
=> Linking mtab
=> Processing recovery.fstab
I:Processing '/boot'
I:Processing '/cache'
I:Processing '/data'
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:mount '/data/media' '/sdcard' process ended with RC=0
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:Processing '/devlog'
I:Created '/devlog' folder.
I:Processing '/misc'
I:Processing '/recovery'
I:Processing '/system'
I:Processing '/usb-otg'
I:Created '/usb-otg' folder.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/HT34WW900505'
I:Settings storage is '/data/media/0'
Updating partition details...
I:Data backup size is 1056MB, free: 24793MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Unmounting main partitions...


Partition Logs:
/boot | /dev/block/mmcblk0p33 | Size: 16MB
   Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img 
   Primary_Block_Device: /dev/block/mmcblk0p33
   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/mmcblk0p36 | Size: 629MB Used: 10MB Free: 619MB Backup Size: 10MB
   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/mmcblk0p36
   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: ext4
   Backup_Method: files

/data | /dev/block/mmcblk0p37 | Size: 26206MB Used: 1056MB Free: 24793MB Backup Size: 1056MB
   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/0
   Symlink_Mount_Point: /sdcard
   Primary_Block_Device: /dev/block/mmcblk0p37
   Crypto_Key_Location: /dev/block/platform/msm_sdcc.1/by-name/extra
   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: 65537

/devlog | /dev/block/mmcblk0p22 | Size: 19MB Used: 4MB Free: 15MB Backup Size: 4MB
   Flags: Can_Be_Mounted Can_Be_Wiped IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0p22
   Display_Name: devlog
   Storage_Name: devlog
   Backup_Path: /devlog
   Backup_Name: devlog
   Backup_Display_Name: devlog
   Storage_Path: /devlog
   Current_File_System: ext4
   Fstab_File_System: ext4
   Backup_Method: files

/misc | /dev/block/mmcblk0p19 | Size: 0MB
   Flags: IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0p19
   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/mmcblk0p34 | Size: 15MB
   Flags: IsPresent Can_Flash_Img 
   Primary_Block_Device: /dev/block/mmcblk0p34
   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/mmcblk0p35 | Size: 1826MB Used: 939MB Free: 887MB Backup Size: 939MB
   Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent 
   Primary_Block_Device: /dev/block/mmcblk0p35
   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 Wipe_Available_in_GUI 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

I:Loading package: TWRP (/script/ui.xml)
I:Load XML directly
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading zip theme
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:PageSet::CheckInclude loading filename: ''
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 settings
I:Loading page timezone
I:Loading page screen
I:Loading page vibrate
I:Loading page theme_settings
I:Loading page theme_swap
I:Loading page theme_splash
I:Loading page theme_splash_info
I:Loading page theme_splash_select_img
I:Loading page theme_splash_select_jpg
I:Loading page theme_splash_flash
I:Loading page theme_splash_flash_done
I:Loading page theme_splash_flash_image_confirm
I:Loading page theme_splash_flash_image
I:Loading page theme_splash_flash_image_done
I:Loading page install
I:Loading page install_image
I:Loading page flash_confirm
I:Loading page queueview
I:Loading page flash_aromafm_confirm
I:Loading page flash_image_confirm
I:Loading page flash_image_confirm_f
I:Loading page flash_image_info
I:Loading page add_zip
I:Loading page flash_zip
I:Loading page flash_aromafm_zip
I:Loading page flash_image
I:Loading page flash_done
I:Loading page flash_image_done
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 reboot
I:Loading page filecheck
I:Loading page themecheck
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 wipe_confirm_action
I:Loading page wipe_action_page
I:Loading page wipe_action_complete
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page backup_action_complete
I:Loading page restore
I:Unable to open '/data/media/0/TWRP/BACKUPS/HT34WW900505'
I:Unable to open '/data/media/0/TWRP/BACKUPS/HT34WW900505'
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 deletebackup
I:Loading page restore_run
I:Loading page restore_confirm_action
I:Loading page restore_action_page
I:Loading page restore_action_complete
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page decrypt
I:Loading page trydecrypt
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 filemanagercomplete
I:Loading page advanced
I:Loading page fixpermissions
I:Loading page advanced_confirm_action
I:Loading page advanced_action_page
I:Loading page advanced_action_complete
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page installsu
I:Loading page lock
I:Loading page about
I:Loading page console
I:Loading page menu_install
I:Loading page menu_sort_install
I:Loading page menu_sort_restore
I:Loading page menu_sort
I:Loading page dialog_storage
I:Loading page dialog_storage_install
I:Loading page dialog_storage_backup
I:Loading page dialog_storage_restore
I:Loading page dialog_storage_mount
I:Loading page dialog_encryption1
I:Loading page dialog_encryption2
I:Loading page dialog_folder
I:Loading page dialog_folder_install
I:Loading page dialog_settheme
I:Loading page dialog_offset
I:Loading page dialog_reset
I:Loading page dialog_reset_theme
I:Loading page dialog_remove_theme
I:Loading page dialog_warning
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.cm.device=m7
ro.cm.display.version=11-20150113-UNOFFICIAL-m7
ro.cm.version=11-20150113-UNOFFICIAL-m7
ro.cm.releasetype=UNOFFICIAL
ro.adb.qemud=1
ro.com.google.clientidbase=android-google
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.com.android.wifi-watchlist=GoogleGuest
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.boot.dq=PASS
ro.boot.lb=1
ro.boot.cid=GOOGL001
ro.boot.mid=PN0712000
ro.boot.emmc=true
ro.boot.mode=recovery
ro.boot.ddrmid=(0x3)
ro.boot.nledhw=0
ro.boot.carrier=GOOGLE
ro.boot.keycaps=qwerty
ro.boot.selinux=permissive
ro.boot.baseband=4T.30.3218.21
ro.boot.hardware=qcom
ro.boot.pagesize=2048
ro.boot.serialno=HT34WW900505
ro.boot.devicerev=3
ro.boot.bootloader=1.54.0000
ro.boot.efuse_info=3NSL
ro.boot.batt_poweron=good_battery
ro.emmc=0
ro.twrp.boot=1
ro.twrp.version=2.8.4.0
ro.wifi.channels=
ro.allow.mock.location=1
ro.board.platform=msm8960
ro.build.id=KVT49L
ro.build.date=Tue Jan 13 07:36:29 UTC 2015
ro.build.date.utc=0
ro.build.host=ded1.ktechnology.net
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=dees_troy
ro.build.display.id=cm_m7-eng 4.4.2 KVT49L a3c1fa8eb7 test-keys
ro.build.product=m7
ro.build.selinux=1
ro.build.version.sdk=19
ro.build.version.release=4.4.2
ro.build.version.codename=REL
ro.build.version.incremental=a3c1fa8eb7
ro.build.description=cm_m7-eng 4.4.2 KVT49L a3c1fa8eb7 test-keys
ro.build.fingerprint=htc/cm_m7/m7:4.4.2/KVT49L/a3c1fa8eb7:eng/test-keys
ro.build.characteristics=default
ro.config.ringtone=Orion.ogg
ro.config.alarm_alert=Hassium.ogg
ro.config.notification_sound=Argon.ogg
ro.kernel.android.checkjni=1
ro.secure=0
ro.carrier=unknown
ro.cmlegal.url=http://www.cyanogenmod.org/docs/privacy
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.name=m7_google
ro.product.board=m7
ro.product.brand=htc
ro.product.model=One
ro.product.device=m7
ro.product.locale.region=US
ro.product.locale.language=en
ro.product.manufacturer=HTC
ro.baseband=4T.30.3218.21
ro.bootmode=recovery
ro.hardware=qcom
ro.revision=128
ro.serialno=HT34WW900505
ro.9kramdump=0
ro.bootloader=1.54.0000
ro.debuggable=1
ro.modversion=11-20150113-UNOFFICIAL-m7
ro.rommanager.developerid=cyanogenmod
ro.factorytest=0
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
usb.vendor=0bb4
usb.product.adb=0c02
usb.product.mtpadb=0f87
init.svc.adbd=running
init.svc.healthd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.chargeled=running
init.svc.choice_fn=restarting
init.svc.set_permissive=stopped
twrp.crash_counter=0
dalvik.vm.stack-trace-file=/data/anr/traces.txt
persist.sys.dun.override=0
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib=libdvm.so
persist.sys.dalvik.multithread=false
persist.sys.root_access=1
persist.sys.recovery_update=false
service.adb.root=1
keyguard.no_require_sim=true
recovery.perf.mode=0

I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: u:object_r:media_rw_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/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/HT34WW900505'
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'
__bionic_open_tzdata: couldn't find any tzdata when looking for SAUST-3SAUDT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:TWFunc::Fixup_Time: Pre-fix date and time: 2015-01-31--15-34-40
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: Date and time corrected: 2015-01-31--15-34-39
I:Enabling MTP during startup
I:Starting MTP
I:Get_Max_FileSize::maxFileSize: 17592186044416
twrp addStorage /data/media/0, mtpstorageid: 65537, maxFileSize: 17592186044415
I:Get_Max_FileSize::maxFileSize: 17592186044416
Starting MTP
MTP Enabled
I:Switching packages (TWRP)
I:Starting command line thread
created new mtpserver object
adding internal storage
MtpStorage id: 65537 path: /data/media/0
MtpServer::run fd: 438
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing '/sdcard/Download/Repair.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
line 43 col 1: syntax error, unexpected BAD
1 parse errors
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/Repair.zip'
Error flashing zip '/sdcard/Download/Repair.zip'
Updating partition details...
I:Data backup size is 1056MB, free: 24793MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
E:request read returned -1, errno: 5, exiting MtpServer::run loop
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing '/sdcard/Download/eviltheme-1.5.1b2.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
about to run program [/sbin/busybox] with 3 args

DO NOT EDIT ANYTHING BELOW
THIS SECTION.

EVilTheme v1.5
- Mounting filesystems
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/mmcblk0p37 on /data failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/mmcblk0p36 on /cache failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
mount: can't find /preload in /etc/fstab
run_program: child exited with status 1
- Extracting new files
minzip: Extracted file "/system/app/placeholder"
minzip: Extracted file "/system/framework/placeholder"
minzip: Extracted file "/system/priv-app/placeholder"
minzip: Extracted file "/data/app/placeholder"
minzip: Extracted file "/data/sec_data/placeholder"
- Extracting theme engine
minzip: Extracted file "/tmp/busybox"
minzip: Extracted file "/tmp/cleanup.sh"
minzip: Extracted file "/tmp/installtheme.sh"
minzip: Extracted file "/tmp/zip"
minzip: Extracted file "/tmp/zipalign"
- Extracting theme files
minzip: Extracted file "/sdcard/vrtheme/data/sec_data/placeholder"
minzip: Extracted file "/sdcard/vrtheme/preload/symlink/system/app/placeholder"
minzip: Extracted file "/sdcard/vrtheme/system/app/placeholder"
minzip: Extracted file "/sdcard/vrtheme/system/framework/placeholder"
minzip: Extracted file "/sdcard/vrtheme/system/priv-app/SystemUI/SystemUI.apk/classes.dex"
minzip: Extracted file "/sdcard/vrtheme/system/priv-app/SystemUI/SystemUI.apk/res/layout/status_bar.xml"
minzip: Extracted file "/sdcard/vrtheme/system/priv-app/SystemUI/SystemUI.apk/resources.arsc"
minzip: Extracted file "/sdcard/vrtheme/system/priv-app/placeholder"
- Setting permissions for engine
about to run program [/tmp/installtheme.sh] with 1 args
sh: : unknown operand
/tmp/installtheme.sh: line 80: syntax error: unexpected "("
run_program: child exited with status 2
about to run program [/tmp/cleanup.sh] with 1 args
- Cleaning up
sh: : unknown operand
ls: /sdcard/vrtheme/flags/*.apk: No such file or directory
mv: can't rename '/sdcard/vrtheme/backup': No such file or directory

************************
In case of bootloop, connect your
phone in ADB and execute
/system/xbin/restore-vr
thru adb shell, or make your own
flashable zip and run the above
script in updater-script.
************************

- Unmounting filesystems
unmount of /preload failed; no such volume
script result was [Please reboot your device.]
Please reboot your device.
I:Legacy property environment disabled.
Updating partition details...
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:Data backup size is 1056MB, free: 24792MB.
I:sending message to remove 65537
E:error sending message to remove storage 65537
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:mount '/data/media/0' '/sdcard' process ended with RC=0
I:Set page: 'flash_done'
I:operation_end - status=0
I:Set page: 'rebootcheck'
I:Copying file /cache/recovery/log to /cache/recovery/last_log
Rebooting...
31st January 2015, 02:22 PM   |  #95  
aureljared's Avatar
OP Senior Member
Flag Quezon City
Thanks Meter: 470
 
713 posts
Join Date:Joined: May 2013
More
Quote:
Originally Posted by knski

@aureljared
with b2 not working too

I think I know where I actually messed up
Code:
about to run program [/tmp/installtheme.sh] with 1 args
sh: : unknown operand
/tmp/installtheme.sh: line 80: syntax error: unexpected "("
run_program: child exited with status 2
about to run program [/tmp/cleanup.sh] with 1 args
- Cleaning up
sh: : unknown operand
ls: /sdcard/vrtheme/flags/*.apk: No such file or directory
mv: can't rename '/sdcard/vrtheme/backup': No such file or directory
I forgot that arrays are not supported in POSIX sh, sorry

Try this last ZIP: Link
Please remember to remove all placeholder files in the ZIP before flashing.
31st January 2015, 08:04 PM   |  #96  
Junior Member
Flag Naberezhnye Chelny
Thanks Meter: 8
 
22 posts
Join Date:Joined: Apr 2014
More
@aureljared
I am sorry that I could not immediately answer...
This last build work, but kill my rom - impossible boot rom
While I can not understand why...
Do not worry, I still can recover, but I need to simulate again this error
The Following User Says Thank You to knski For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
eviltheme, flash, recovery, theme, vrtheme
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes