Development [RECOVERY][OFFICIAL] TWRP for ASUS ROG Phone 5 & ROG Phone 5S

Search This thread

mikalovtch

Recognized Developer
Nov 14, 2010
291
1,814
27
Moscow
Code:
*** Disclaimer ***

All flashing is done at your own risk!
While nothing from this thread should break your device,
don't come back here blaming anyone if it does!

Introduction

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and

Images



Prerequisites

Installation instructions

Fastboot Install Method:
You will need the platform-tools from the Android SDK on your computer. Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.

Windows users will need proper drivers installed on their computer. You can try the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed

On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
Code:
Code:
adb reboot bootloader
You should now be in fastboot mode.

Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
Code:
Code:
fastboot boot twrp.img

Now you are booted into TWRP, but it is NOT permanently installed. To install it permanently, use the "Flash current TWRP" option in the Advanced menu. This will install the currently booted TWRP permanently to both slots. NOTE: If you were previously rooted, you will need to re-install the root apk/zip as the TWRP install will overwrite it!

Device Changelog

Current version: 3.5.2_11-2:
3.5.2_11-2
  • Common version for all ROG 5 versions.
  • Fixed decryption issue
3.5.2_11-0:

Initial version (Tested only on ROG Phone 5S, need info about ROG Phone 5).



Device Changelog


Known issues

Device-specific
  • USB-OTG not working
  • Battery Status not working

Bug reporting

If you have an issue, the first step is to post a recovery log so we can determine the cause of the issue. This is done in recovery using Advanced -> Copy Log, or adb pull /tmp/recovery.log. Once a log is uploaded we can determine how best to proceed. NOTE: Posts that are reporting bugs or issues without an accompanying recovery log will be ignored! Additionally, providing details about your device setup, including variant, firmware version, and exact steps to reproduce your issue will also be helpful in diagnosing the problem.

If your issue is determined to be a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to contact us via our website. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

Additional Help/Support

Live support is available on Zulip.

Credits

@Freak07 and @Captain_Throwback for advices
@Qtr1st and @danfrid for testing
 
Last edited:
What info do you need for the original?

Code:
# begin common build properties
# autogenerated by build/make/tools/buildinfo_common.sh
ro.system.build.date=Tue Aug 17 23:43:46 CST 2021
ro.system.build.date.utc=1629215026
ro.system.build.fingerprint=asus/WW_I005D/ASUS_I005_1:11/RKQ1.201022.002/18.0840.2107.151-0:user/release-keys
ro.system.build.id=RKQ1.201022.002
ro.system.build.tags=release-keys
ro.system.build.type=user
ro.system.build.version.incremental=18.0840.2107.151-0
ro.system.build.version.release=11
ro.system.build.version.release_or_codename=11
ro.system.build.version.sdk=30
ro.product.system.device=ASUS_I005_1
ro.product.system.model=ASUS_I005D
ro.product.system.name=WW_I005D
ro.product.system.brand=asus
ro.product.system.manufacturer=asus
# end common build properties
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=RKQ1.201022.002
ro.build.keys=release-keys
ro.build.display_build_number=true
ro.build.display.id=RKQ1.201022.002.WW_Phone-18.0840.2107.151-0
ro.build.version.incremental=18.0840.2107.151-0
ro.build.version.sdk=30
ro.build.version.preview_sdk=0
ro.build.version.preview_sdk_fingerprint=REL
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=11
ro.build.version.release_or_codename=11
ro.build.version.security_patch=2021-07-05
ro.build.version.base_os=
ro.build.version.min_supported_target_sdk=23
ro.build.date=Tue Aug 17 23:43:46 CST 2021
ro.build.date.utc=1629215026
ro.build.type=user
ro.build.user=android
ro.build.host=mcrd1-19
ro.build.tags=release-keys
ro.build.flavor=qssi-user
ro.build.system_root_image=false
ro.build.epad.project=
[Build] buildinfo.sh : TARGET_SKU=WW
[Build] buildinfo.sh : ASUS_TARGET_PRODUCT=
ro.vendor.build.fota.version=WW_I005D-18.0840.2107.151-0
ro.product.locale.region=
ro.build.software.version=18_0840_2107_151
ro.vendor.build.software.version=18_0840_2107_151
ro.vendor.build.asus.number=18.0840.2107.151-0
ro.vendor.build.asus.version=18.0840.2107.151
ro.build.product=ZS673KS
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.locale=en-US
ro.wifi.channels=
# Do not try to parse thumbprint
# end build properties

#
# from vendor/asus/system.prop
#
#
# system.prop for ZS673KS
#

# add for beta-userstage
ro.vendor.asus.logupload=0
ro.vendor.asus.beta=0
ro.vendor.confidentiality=0

# end of vendor/asus/system.prop

#
# from vendor/asus/ZS673KS/twinapps/twinapps.prop
#
#
# system.prop for TwinApps
#

#ASUS IMS Carol_Hu: https://android-review.googlesource.com/c/platform/build/+/1417451
external_storage.cross_user.enabled=1
# end of vendor/asus/ZS673KS/twinapps/twinapps.prop

#
# from vendor/asus/ZS673KS/system.prop
#
#
# system.prop for ZS673KS
#

#ASUS BSP Wei ++
persist.sys.hardcoder.name=ta_itf
#ASUS BSP Wei --

#ASUS_BSP Jimmy add for vibration intensity ++
ro.vendor.asus.scale_low_max_amp=84
ro.vendor.asus.scale_none_max_amp=168
#ASUS_BSP Jimmy add for vibration intensity --

#ro.vendor.asus.logupload=0
vendor.display.disable_rounded_corner=0
#vendor.display.enable_rounded_corner=1

vendor.perf.workloadclassifier.enable=true



persist.log.tag.CompositionEngine=E
persist.log.tag.FreeReflect=E
persist.log.tag.BeaconStatManager=E
persist.log.tag.DEBUG_CACHE_UPLOAD_PV=E
persist.log.tag.SharedPreferencesImpl=E
persist.log.tag.DiskCacheProducer=E
persist.log.tag.HippyCore=E
persist.log.tag.MultiplexProducer=E
persist.log.tag.DataSource=E
persist.log.tag.AppStore-DownloadManagerService=E
persist.log.tag.AppStore-AppStoreDownloadManager=E
persist.log.tag.AppStore-NetworkPackageRepo=E
persist.log.tag.AppStore-WallpaperManagerService=E
persist.log.tag.AppStore-OkHttp-LL-getRecommendInstallApps=E
persist.log.tag.AppStore-OkHttp-EL-getRecommendInstallApps=E
persist.log.tag.AppStore-OkHttp-EL-getAppUpdateInfo=E
persist.log.tag.AppStore-OkHttp-LL-getAppUpdateInfo=E
persist.log.tag.AppStore-OkHttp-EL-getConfigItemData=E
persist.log.tag.AppStore-OkHttp-LL-getConfigItemData=E
persist.log.tag.AppStore-OkHttp-EL-getValidPreDownloadPkgs=E
persist.log.tag.AppStore-OkHttp-LL-getValidPreDownloadPkgs=E
persist.log.tag.AppStore-AppStoreDownloadManager=E
persist.log.tag.AppStore-OrderServiceManager=E
persist.log.tag.AppStore-NetworkSwitch=E
persist.log.tag.AppStore-OkHttp-LL-getGameConfig=E
persist.log.tag.AppStore-OkHttp-EL-getGameConfig=E
persist.log.tag.AppStore-OkHttp-EL-getPublicAppByPkgNameList=E
persist.log.tag.AppStore-OkHttp-LL-getPublicAppByPkgNameList=E
persist.log.tag.ANDR-PERF-LM=E
persist.log.tag.QC2C2DEngine=E
persist.log.tag.skia=E
persist.log.tag.GCloud=E
persist.log.tag.threaded_app=E
persist.log.tag.BatteryStatsImpl=E
persist.log.tag.NotificationFilter=E
persist.log.tag.SystemProperties=E
persist.log.tag.BufferQueueProducer=E


# end of vendor/asus/ZS673KS/system.prop

#
# from device/qcom/qssi/system.prop
#
#
# system.prop for qssi
#

rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so
#rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=RUIM,RUIM
DEVICE_PROVISIONED=1
# Set network mode to (NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA, NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA) for 8+8 mode device on DSDS mode
#ro.telephony.default_network=33,33

dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1

#ro.hdmi.enable=true
#persist.speaker.prot.enable=false
qcom.hw.aac.encoder=true
#
# system props for the cne module
#
persist.vendor.cne.feature=1

#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
media.stagefright.thumbnail.prefer_hw_codecs=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
media.settings.xml=/vendor/etc/media_profiles_vendor.xml
#16777215 is decimal sum of supported codecs in AAL
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE DSD MOV MHAS
vendor.mm.enable.qcom_parser=12451582
persist.mm.enable.prefetch=true


#
# system props for the data modules
#
ro.vendor.use_data_netmgrd=true
persist.vendor.data.mode=concurrent

#system props for time-services
persist.timed.enable=true

#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
telephony.lteOnCdmaDevice=1

#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true

#System props for BT
ro.bluetooth.library_name=libbluetooth_qti.so
persist.vendor.btstack.aac_frm_ctl.enabled=true
persist.bluetooth.avrcpversion=avrcp16
persist.vendor.btstack.enable.twsplus=true
persist.vendor.btstack.enable.twsplussho=true

# ASUS BSP Bluetooth: disable SWB
persist.vendor.qcom.bluetooth.enable.swb=false
persist.vendor.qcom.bluetooth.enable.swbpm=false

#system prop for RmNet Data
persist.rmnet.data.enable=true
persist.data.wda.enable=true
persist.data.df.dl_mode=5
persist.data.df.ul_mode=5
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.mux_count=8
persist.data.df.iwlan_mux=9
persist.data.df.dev_name=rmnet_usb0

#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
##property to choose between virtual/external wfd display
persist.sys.wfd.virtual=0


#property to enable HWC for VDS
debug.sf.enable_hwc_vds=1

#property to latch unsignaled buffer
debug.sf.latch_unsignaled=1

# enable tunnel encoding for amrwb
tunnel.audio.encode = true

#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true

# system prop for NFC DT
ro.nfc.port=I2C

#initialize QCA1530 detection
sys.qca1530=detect

#Enable stm events
persist.debug.coresight.config=stm-events

#hwui properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

config.disable_rtt=true

#Bringup properties
persist.sys.force_sw_gles=1
persist.vendor.radio.atfwd.start=true
ro.kernel.qemu.gles=0
qemu.hw.mainkeys=0

# ASUS_BSP "Enable IOT logging"+++
persist.vendor.service.bt.iotinfo.report.enable=true
# ASUS_BSP "Enable IOT logging"---

#Expose aux camera for below packages
vendor.camera.aux.packagelist=org.codeaurora.snapcam

#enable IZat OptInApp overlay
persist.vendor.overlay.izat.optin=rro

# Property for backup NTP Server
persist.backup.ntpServer="0.pool.ntp.org"

#Property to enable Mag filter
persist.vendor.sensors.enable.mag_filter=true

#Partition source order for Product/Build properties pickup.
ro.product.property_source_order=odm,vendor,product,system_ext,system

#Property to enable Codec2 for audio and OMX for Video
debug.stagefright.ccodec=1

#Property to set native recorder's maximum base layer fps
ro.media.recorder-max-base-layer-fps = 60

#Battery Property
ro.charger.enable_suspend = 1

# ASUS_BSP +++
persist.vendor.asus.logcat.filenum=20
# property for csclogtool
logtool.package=com.asus.csclogtool
logtool.class=com.asus.csclogtool.LogService
ro.asus.rog=1
# ASUS_BSP ---
# jack for default log flag

persist.vendor.asus.startlog=0
persist.vendor.sys.downloadmode.enable=0
# ASUS_BSP ---

# ASUS_BSP "Enable IOT logging"+++
persist.vendor.service.bt.iotinfo.report.enable=true
# ASUS_BSP "Enable IOT logging"---

# [ASUS BSP] for Poweroff Alarm Support
ro.vendor.asus.poweroffalarm_support=1

# ASUS_BSP AustinT "FP wakeup property"+++
persist.vendor.asus.fp.wakeup_support=true
persist.vendor.asus.fp.wakeup=false
# ASUS_BSP AustinT "FP wakeup property"---

# ASUS_BSP AustinC Dirac +++
ro.vendor.dirac.acs.controller=gef
ro.vendor.dirac.acs.storeSettings=1
ro.vendor.dirac.acs.ignore_error=0
ro.vendor.dirac.gef.int.did=0xF,0x313,0x2C4
ro.vendor.dirac.gef.ext.did=0xA,0x2D,0x14,0x2C7,0x2C9,0x1F7
ro.vendor.dirac.gef.int.tid=0x10012D00
ro.vendor.dirac.gef.int.mid=0x10012DE0
ro.vendor.dirac.gef.ext.mid=0x10012DE1
ro.vendor.dirac.gef.system_sound=1
ro.vendor.dirac.gef.ins.tid=0x10012D02
ro.vendor.dirac.gef.ins.mid=0x10012DE2
ro.vendor.dirac.gef.ins.did=0xF,0x313,0x2C4
ro.vendor.dirac.gef.ins.appt=0x00011131
ro.vendor.dirac.config=16
ro.vendor.dirac.acs.rotation=true
# ASUS_BSP AustinC Dirac ---

# ASUS_BSP AustinC +++
log.tag.APM_AudioPolicyManager=V
# ASUS_BSP AustinC ---

#ASUS_BSP : Anakin use ACCY generation 5
vendor.asus.accy_gen=5
# end of device/qcom/qssi/system.prop

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.treble.enabled=true
ro.vendor.build.asus.sku=WW
vendor.camera.asus.system=1
vendor.camera.expTimeMax=0
vendor.camera.cam6.crop_region=2:0,0,4160,3120;4:828,621,3332,2499
vendor.camera.preview_beauty=4:1;1:1;2:1;3:1;5:1;6:1
vendor.camera.preview_portrait=4:0;1:1;2:0;3:0
vendor.camera.cam4.video_fps=HD@60,FHD@60,4K@60
vendor.camera.cam1.video_fps=HD@60,FHD@60
vendor.camera.cam2.video_fps=HD@60,FHD@60,4K@30
vendor.camera.cam3.video_fps=HD@30,FHD@30
vendor.camera.cam6.video_fps=HD@60,FHD@60,4K@30
vendor.camera.dual_bokeh=4:0;1:0;2:0;3:0;5:1
vendor.camera.lens_type=4:standard;1:standard;2:wide-angle;3:macro;5:virtual;6:sat
vendor.camera.use_frame_processor=0
vendor.camera.ai_scene_mode=4:1;1:1;2:1;3:1;6:1
vendor.camera.undistortion.preview=4:0;1:0;2:1;3:0;6:1
vendor.camera.undistortion.video=4:0;1:0;2:0;3:0
vendor.camera.capture.override_max_digital_zoom=4:8;1:8
vendor.camera.cam4.stream_list=1P/2Y/1J
vendor.camera.cam1.stream_list=1P/2Y/1J
vendor.camera.cam4.exposure_time_range=100000,32000000000
vendor.camera.cam1.exposure_time_range=100000,32000000000
vendor.camera.cam2.exposure_time_range=100000,16000000000
vendor.camera.cam3.exposure_time_range=100000,16000000000
vendor.camera.cam0.eis.sup_list=4K@30,FHD@60,FHD@30,HD@30
vendor.camera.cam4.eis.sup_list=8K@30,4K@60,4K@30,FHD@60,FHD@30,HD@30
vendor.camera.cam1.eis.sup_list=FHD@60,FHD@30,HD@30
vendor.camera.cam2.eis.sup_list=4K@30,FHD@60,FHD@30,HD@30
vendor.camera.cam3.eis.sup_list=FHD@30,HD@30
vendor.camera.cam6.eis.sup_list=8K@30,4K@60,4K@30,FHD@60,FHD@30,HD@30
vendor.camera.fovc=0:0;1:0;2:0;3:0;4:1;5:0;6:0
vendor.camera.night=4:1;1:0;2:1;3:0;6:1
vendor.camera.aux.packagelist=org.codeaurora.snapcam,android,com.android.systemui
net.bt.name=Android
ro.vendor.qti.va_aosp.support=1
 
  • Like
Reactions: zinou213

mikalovtch

Recognized Developer
Nov 14, 2010
291
1,814
27
Moscow
What info do you need for the original?

Code:
# begin common build properties
# autogenerated by build/make/tools/buildinfo_common.sh
ro.system.build.date=Tue Aug 17 23:43:46 CST 2021
ro.system.build.date.utc=1629215026
ro.system.build.fingerprint=asus/WW_I005D/ASUS_I005_1:11/RKQ1.201022.002/18.0840.2107.151-0:user/release-keys
ro.system.build.id=RKQ1.201022.002
ro.system.build.tags=release-keys
ro.system.build.type=user
ro.system.build.version.incremental=18.0840.2107.151-0
ro.system.build.version.release=11
ro.system.build.version.release_or_codename=11
ro.system.build.version.sdk=30
ro.product.system.device=ASUS_I005_1
ro.product.system.model=ASUS_I005D
ro.product.system.name=WW_I005D
ro.product.system.brand=asus
ro.product.system.manufacturer=asus
# end common build properties
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=RKQ1.201022.002
ro.build.keys=release-keys
ro.build.display_build_number=true
ro.build.display.id=RKQ1.201022.002.WW_Phone-18.0840.2107.151-0
ro.build.version.incremental=18.0840.2107.151-0
ro.build.version.sdk=30
ro.build.version.preview_sdk=0
ro.build.version.preview_sdk_fingerprint=REL
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=11
ro.build.version.release_or_codename=11
ro.build.version.security_patch=2021-07-05
ro.build.version.base_os=
ro.build.version.min_supported_target_sdk=23
ro.build.date=Tue Aug 17 23:43:46 CST 2021
ro.build.date.utc=1629215026
ro.build.type=user
ro.build.user=android
ro.build.host=mcrd1-19
ro.build.tags=release-keys
ro.build.flavor=qssi-user
ro.build.system_root_image=false
ro.build.epad.project=
[Build] buildinfo.sh : TARGET_SKU=WW
[Build] buildinfo.sh : ASUS_TARGET_PRODUCT=
ro.vendor.build.fota.version=WW_I005D-18.0840.2107.151-0
ro.product.locale.region=
ro.build.software.version=18_0840_2107_151
ro.vendor.build.software.version=18_0840_2107_151
ro.vendor.build.asus.number=18.0840.2107.151-0
ro.vendor.build.asus.version=18.0840.2107.151
ro.build.product=ZS673KS
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.locale=en-US
ro.wifi.channels=
# Do not try to parse thumbprint
# end build properties

#
# from vendor/asus/system.prop
#
#
# system.prop for ZS673KS
#

# add for beta-userstage
ro.vendor.asus.logupload=0
ro.vendor.asus.beta=0
ro.vendor.confidentiality=0

# end of vendor/asus/system.prop

#
# from vendor/asus/ZS673KS/twinapps/twinapps.prop
#
#
# system.prop for TwinApps
#

#ASUS IMS Carol_Hu: https://android-review.googlesource.com/c/platform/build/+/1417451
external_storage.cross_user.enabled=1
# end of vendor/asus/ZS673KS/twinapps/twinapps.prop

#
# from vendor/asus/ZS673KS/system.prop
#
#
# system.prop for ZS673KS
#

#ASUS BSP Wei ++
persist.sys.hardcoder.name=ta_itf
#ASUS BSP Wei --

#ASUS_BSP Jimmy add for vibration intensity ++
ro.vendor.asus.scale_low_max_amp=84
ro.vendor.asus.scale_none_max_amp=168
#ASUS_BSP Jimmy add for vibration intensity --

#ro.vendor.asus.logupload=0
vendor.display.disable_rounded_corner=0
#vendor.display.enable_rounded_corner=1

vendor.perf.workloadclassifier.enable=true



persist.log.tag.CompositionEngine=E
persist.log.tag.FreeReflect=E
persist.log.tag.BeaconStatManager=E
persist.log.tag.DEBUG_CACHE_UPLOAD_PV=E
persist.log.tag.SharedPreferencesImpl=E
persist.log.tag.DiskCacheProducer=E
persist.log.tag.HippyCore=E
persist.log.tag.MultiplexProducer=E
persist.log.tag.DataSource=E
persist.log.tag.AppStore-DownloadManagerService=E
persist.log.tag.AppStore-AppStoreDownloadManager=E
persist.log.tag.AppStore-NetworkPackageRepo=E
persist.log.tag.AppStore-WallpaperManagerService=E
persist.log.tag.AppStore-OkHttp-LL-getRecommendInstallApps=E
persist.log.tag.AppStore-OkHttp-EL-getRecommendInstallApps=E
persist.log.tag.AppStore-OkHttp-EL-getAppUpdateInfo=E
persist.log.tag.AppStore-OkHttp-LL-getAppUpdateInfo=E
persist.log.tag.AppStore-OkHttp-EL-getConfigItemData=E
persist.log.tag.AppStore-OkHttp-LL-getConfigItemData=E
persist.log.tag.AppStore-OkHttp-EL-getValidPreDownloadPkgs=E
persist.log.tag.AppStore-OkHttp-LL-getValidPreDownloadPkgs=E
persist.log.tag.AppStore-AppStoreDownloadManager=E
persist.log.tag.AppStore-OrderServiceManager=E
persist.log.tag.AppStore-NetworkSwitch=E
persist.log.tag.AppStore-OkHttp-LL-getGameConfig=E
persist.log.tag.AppStore-OkHttp-EL-getGameConfig=E
persist.log.tag.AppStore-OkHttp-EL-getPublicAppByPkgNameList=E
persist.log.tag.AppStore-OkHttp-LL-getPublicAppByPkgNameList=E
persist.log.tag.ANDR-PERF-LM=E
persist.log.tag.QC2C2DEngine=E
persist.log.tag.skia=E
persist.log.tag.GCloud=E
persist.log.tag.threaded_app=E
persist.log.tag.BatteryStatsImpl=E
persist.log.tag.NotificationFilter=E
persist.log.tag.SystemProperties=E
persist.log.tag.BufferQueueProducer=E


# end of vendor/asus/ZS673KS/system.prop

#
# from device/qcom/qssi/system.prop
#
#
# system.prop for qssi
#

rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so
#rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=RUIM,RUIM
DEVICE_PROVISIONED=1
# Set network mode to (NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA, NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA) for 8+8 mode device on DSDS mode
#ro.telephony.default_network=33,33

dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1

#ro.hdmi.enable=true
#persist.speaker.prot.enable=false
qcom.hw.aac.encoder=true
#
# system props for the cne module
#
persist.vendor.cne.feature=1

#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
media.stagefright.thumbnail.prefer_hw_codecs=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
media.settings.xml=/vendor/etc/media_profiles_vendor.xml
#16777215 is decimal sum of supported codecs in AAL
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE DSD MOV MHAS
vendor.mm.enable.qcom_parser=12451582
persist.mm.enable.prefetch=true


#
# system props for the data modules
#
ro.vendor.use_data_netmgrd=true
persist.vendor.data.mode=concurrent

#system props for time-services
persist.timed.enable=true

#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
telephony.lteOnCdmaDevice=1

#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true

#System props for BT
ro.bluetooth.library_name=libbluetooth_qti.so
persist.vendor.btstack.aac_frm_ctl.enabled=true
persist.bluetooth.avrcpversion=avrcp16
persist.vendor.btstack.enable.twsplus=true
persist.vendor.btstack.enable.twsplussho=true

# ASUS BSP Bluetooth: disable SWB
persist.vendor.qcom.bluetooth.enable.swb=false
persist.vendor.qcom.bluetooth.enable.swbpm=false

#system prop for RmNet Data
persist.rmnet.data.enable=true
persist.data.wda.enable=true
persist.data.df.dl_mode=5
persist.data.df.ul_mode=5
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.mux_count=8
persist.data.df.iwlan_mux=9
persist.data.df.dev_name=rmnet_usb0

#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
##property to choose between virtual/external wfd display
persist.sys.wfd.virtual=0


#property to enable HWC for VDS
debug.sf.enable_hwc_vds=1

#property to latch unsignaled buffer
debug.sf.latch_unsignaled=1

# enable tunnel encoding for amrwb
tunnel.audio.encode = true

#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true

# system prop for NFC DT
ro.nfc.port=I2C

#initialize QCA1530 detection
sys.qca1530=detect

#Enable stm events
persist.debug.coresight.config=stm-events

#hwui properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

config.disable_rtt=true

#Bringup properties
persist.sys.force_sw_gles=1
persist.vendor.radio.atfwd.start=true
ro.kernel.qemu.gles=0
qemu.hw.mainkeys=0

# ASUS_BSP "Enable IOT logging"+++
persist.vendor.service.bt.iotinfo.report.enable=true
# ASUS_BSP "Enable IOT logging"---

#Expose aux camera for below packages
vendor.camera.aux.packagelist=org.codeaurora.snapcam

#enable IZat OptInApp overlay
persist.vendor.overlay.izat.optin=rro

# Property for backup NTP Server
persist.backup.ntpServer="0.pool.ntp.org"

#Property to enable Mag filter
persist.vendor.sensors.enable.mag_filter=true

#Partition source order for Product/Build properties pickup.
ro.product.property_source_order=odm,vendor,product,system_ext,system

#Property to enable Codec2 for audio and OMX for Video
debug.stagefright.ccodec=1

#Property to set native recorder's maximum base layer fps
ro.media.recorder-max-base-layer-fps = 60

#Battery Property
ro.charger.enable_suspend = 1

# ASUS_BSP +++
persist.vendor.asus.logcat.filenum=20
# property for csclogtool
logtool.package=com.asus.csclogtool
logtool.class=com.asus.csclogtool.LogService
ro.asus.rog=1
# ASUS_BSP ---
# jack for default log flag

persist.vendor.asus.startlog=0
persist.vendor.sys.downloadmode.enable=0
# ASUS_BSP ---

# ASUS_BSP "Enable IOT logging"+++
persist.vendor.service.bt.iotinfo.report.enable=true
# ASUS_BSP "Enable IOT logging"---

# [ASUS BSP] for Poweroff Alarm Support
ro.vendor.asus.poweroffalarm_support=1

# ASUS_BSP AustinT "FP wakeup property"+++
persist.vendor.asus.fp.wakeup_support=true
persist.vendor.asus.fp.wakeup=false
# ASUS_BSP AustinT "FP wakeup property"---

# ASUS_BSP AustinC Dirac +++
ro.vendor.dirac.acs.controller=gef
ro.vendor.dirac.acs.storeSettings=1
ro.vendor.dirac.acs.ignore_error=0
ro.vendor.dirac.gef.int.did=0xF,0x313,0x2C4
ro.vendor.dirac.gef.ext.did=0xA,0x2D,0x14,0x2C7,0x2C9,0x1F7
ro.vendor.dirac.gef.int.tid=0x10012D00
ro.vendor.dirac.gef.int.mid=0x10012DE0
ro.vendor.dirac.gef.ext.mid=0x10012DE1
ro.vendor.dirac.gef.system_sound=1
ro.vendor.dirac.gef.ins.tid=0x10012D02
ro.vendor.dirac.gef.ins.mid=0x10012DE2
ro.vendor.dirac.gef.ins.did=0xF,0x313,0x2C4
ro.vendor.dirac.gef.ins.appt=0x00011131
ro.vendor.dirac.config=16
ro.vendor.dirac.acs.rotation=true
# ASUS_BSP AustinC Dirac ---

# ASUS_BSP AustinC +++
log.tag.APM_AudioPolicyManager=V
# ASUS_BSP AustinC ---

#ASUS_BSP : Anakin use ACCY generation 5
vendor.asus.accy_gen=5
# end of device/qcom/qssi/system.prop

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.treble.enabled=true
ro.vendor.build.asus.sku=WW
vendor.camera.asus.system=1
vendor.camera.expTimeMax=0
vendor.camera.cam6.crop_region=2:0,0,4160,3120;4:828,621,3332,2499
vendor.camera.preview_beauty=4:1;1:1;2:1;3:1;5:1;6:1
vendor.camera.preview_portrait=4:0;1:1;2:0;3:0
vendor.camera.cam4.video_fps=HD@60,FHD@60,4K@60
vendor.camera.cam1.video_fps=HD@60,FHD@60
vendor.camera.cam2.video_fps=HD@60,FHD@60,4K@30
vendor.camera.cam3.video_fps=HD@30,FHD@30
vendor.camera.cam6.video_fps=HD@60,FHD@60,4K@30
vendor.camera.dual_bokeh=4:0;1:0;2:0;3:0;5:1
vendor.camera.lens_type=4:standard;1:standard;2:wide-angle;3:macro;5:virtual;6:sat
vendor.camera.use_frame_processor=0
vendor.camera.ai_scene_mode=4:1;1:1;2:1;3:1;6:1
vendor.camera.undistortion.preview=4:0;1:0;2:1;3:0;6:1
vendor.camera.undistortion.video=4:0;1:0;2:0;3:0
vendor.camera.capture.override_max_digital_zoom=4:8;1:8
vendor.camera.cam4.stream_list=1P/2Y/1J
vendor.camera.cam1.stream_list=1P/2Y/1J
vendor.camera.cam4.exposure_time_range=100000,32000000000
vendor.camera.cam1.exposure_time_range=100000,32000000000
vendor.camera.cam2.exposure_time_range=100000,16000000000
vendor.camera.cam3.exposure_time_range=100000,16000000000
vendor.camera.cam0.eis.sup_list=4K@30,FHD@60,FHD@30,HD@30
vendor.camera.cam4.eis.sup_list=8K@30,4K@60,4K@30,FHD@60,FHD@30,HD@30
vendor.camera.cam1.eis.sup_list=FHD@60,FHD@30,HD@30
vendor.camera.cam2.eis.sup_list=4K@30,FHD@60,FHD@30,HD@30
vendor.camera.cam3.eis.sup_list=FHD@30,HD@30
vendor.camera.cam6.eis.sup_list=8K@30,4K@60,4K@30,FHD@60,FHD@30,HD@30
vendor.camera.fovc=0:0;1:0;2:0;3:0;4:1;5:0;6:0
vendor.camera.night=4:1;1:0;2:1;3:0;6:1
vendor.camera.aux.packagelist=org.codeaurora.snapcam,android,com.android.systemui
net.bt.name=Android
ro.vendor.qti.va_aosp.support=1
Because I don't have device, I need someone to test it. Currently it was tested only on ROG Phone 5S. I sent it to one guy who has ROG Phone 5, when he will tell me that it works, I will upload build here.
 

Madbullben

Senior Member
Feb 23, 2013
102
13
Hi, just installed twrp, and boots into it first time, but if I restart the recovery it reverts back to the original version. Am I missing something?

I'm using the tencent version with ww rom
 

TiklMiPickles

Senior Member
Mar 22, 2016
205
53
Hi, just installed twrp, and boots into it first time, but if I restart the recovery it reverts back to the original version. Am I missing something?

I'm using the tencent version with ww rom
Did you actually install it or just boot into it? Once you are in twrp, you have to use twrp to install the recovery img. fastboot boot twrp.img only boots from the image, it doesn't install it.
 

Madbullben

Senior Member
Feb 23, 2013
102
13
Did you actually install it or just boot into it? Once you are in twrp, you have to use twrp to install the recovery img. fastboot boot twrp.img only boots from the image, it doesn't install it.
I just booted into it, I hadn't done twrp for a while and forgot that it needed to be installed as well.

Do we have the other file or do we use the normal twrp.img and place on to our phone and flash it within twrp?
 

TiklMiPickles

Senior Member
Mar 22, 2016
205
53
Hi, just installed twrp, and boots into it first time, but if I restart the recovery it reverts back to the original version. Am I missing something?

I'm using the tencent version with ww rom
NVM, I can't even get 'fastboot boot twrp.img' to work, so I obviously don't know what I'm talking about. The fastboot command doesn't see my phone in bootloader mode, then when I go into fastbootd like I did to root, it doesn't have the 'boot' command.
 

TiklMiPickles

Senior Member
Mar 22, 2016
205
53
I just booted into it, I hadn't done twrp for a while and forgot that it needed to be installed as well.

Do we have the other file or do we use the normal twrp.img and place on to our phone and flash it within twrp?
You can just install the .img file usually. How did you manage to get fastboot to use the boot command? I'm plugged into the side port, but in the fastboot mode, it doesn't have the boot command, then in the bootloader mode fastboot doesn't see the phone at all.
 

Madbullben

Senior Member
Feb 23, 2013
102
13
You can just install the .img file usually. How did you manage to get fastboot to use the boot command? I'm plugged into the side port, but in the fastboot mode, it doesn't have the boot command, then in the bootloader mode fastboot doesn't see the phone at all.
Do you have USB debugging on and allowed the computer to use it? Otherwise I'm not too sure.

Turned on USB debugging, plugged my phone into the side port, allowed pc to use it when the popup came up, then followed the instructions.

Also just learned that if you flash the twrp. Img when you first do it it'll replace the system so don't do that.
 

TiklMiPickles

Senior Member
Mar 22, 2016
205
53
Do you have USB debugging on and allowed the computer to use it? Otherwise I'm not too sure.

Turned on USB debugging, plugged my phone into the side port, allowed pc to use it when the popup came up, then followed the instructions.

Also just learned that if you flash the twrp. Img when you first do it it'll replace the system so don't do that.
Yes and yes, tried on both my personal and work computer. Tried using both universal drivers and the drivers released by Asus specifically. Unless I'm in fastbootd mode, 'fastboot devices' comes back empty. Super weird.
 

TiklMiPickles

Senior Member
Mar 22, 2016
205
53
Figured it out. It was a faulty driver that worked in fastbootd mode but not the bootloader for whatever reason. Manually updated the drivers in device manager and it all works now.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Code:
    *** Disclaimer ***
    
    All flashing is done at your own risk!
    While nothing from this thread should break your device,
    don't come back here blaming anyone if it does!

    Introduction

    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and

    Images



    Prerequisites

    Installation instructions

    Fastboot Install Method:
    You will need the platform-tools from the Android SDK on your computer. Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.

    Windows users will need proper drivers installed on their computer. You can try the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed

    On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
    Code:
    Code:
    adb reboot bootloader
    You should now be in fastboot mode.

    Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
    Code:
    Code:
    fastboot boot twrp.img

    Now you are booted into TWRP, but it is NOT permanently installed. To install it permanently, use the "Flash current TWRP" option in the Advanced menu. This will install the currently booted TWRP permanently to both slots. NOTE: If you were previously rooted, you will need to re-install the root apk/zip as the TWRP install will overwrite it!

    Device Changelog

    Current version: 3.5.2_11-2:
    3.5.2_11-2
    • Common version for all ROG 5 versions.
    • Fixed decryption issue
    3.5.2_11-0:

    Initial version (Tested only on ROG Phone 5S, need info about ROG Phone 5).



    Device Changelog


    Known issues

    Device-specific
    • USB-OTG not working
    • Battery Status not working

    Bug reporting

    If you have an issue, the first step is to post a recovery log so we can determine the cause of the issue. This is done in recovery using Advanced -> Copy Log, or adb pull /tmp/recovery.log. Once a log is uploaded we can determine how best to proceed. NOTE: Posts that are reporting bugs or issues without an accompanying recovery log will be ignored! Additionally, providing details about your device setup, including variant, firmware version, and exact steps to reproduce your issue will also be helpful in diagnosing the problem.

    If your issue is determined to be a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to contact us via our website. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

    Additional Help/Support

    Live support is available on Zulip.

    Credits

    @Freak07 and @Captain_Throwback for advices
    @Qtr1st and @danfrid for testing
    7
    Here's my trip around the sun;

    Downloaded the file twrp-3.5.2_11-2zs673ks.img and renamed it to just twrp.img. (So it's easier to type in CMD).
    Placed it on the root of my C: Drive where I keep all my flash files.

    Shut down phone, Then Volume up and power to go to fastboot mode. That's the screen where it shows some options like Power On, Recovery Mode and Reboot. Just stay there, dont select anything.

    Connected the cable via side USB port and executed the following commands;

    0023.png


    First command to check connectivity, second command is to boot to TWRP.
    No flashing !! remember always; new TWRP cannot be flashed through fastboot because recovery is a part of the existing partition, not a separate one like it used to be on Android 8 and below.

    Once you execute the above command, be patient. Your phone will come back to bootloader screen making it look like it failed. Just wait, it will reboot again and it will go to TWRP. Now you can enter you pin code, and enter the recovery.
    I flashed a kernel, I cleared my dalvik cache .. everything went well.




    Now if you want to keep TWRP permanent;

    Copy the twrp.img to your phone memory, preferably downloads folder of the phone, and follow the above steps mentioned - again up to entering TWRP.

    In TWRP, select advanced, and you will see the below screen -

    Screenshot_2021-09-16-07-36-25 (Medium).png


    Select the option - Install Recovery Ramdisk and it will ask where your TWRP.img is, and point it to the file you earlier saved in the phone / downloads folder. This will flash TWRP within the kernel making it permanent along with your kernel.

    That's it, reboot and enjoy.

    EDIT : How to get to TWRP again;
    From CMD - send adb reboot recovery or
    shut down phone, Volume UP + Power .. In bootloader press volume down until you see recovery mode, and then press the power button once to select it.
    4
    ZS673KS version I was just trying out anything this one booted but didn't ask for a pw
    Thanks. I'm building updated kernel at the moment. Will upload test image when twrp will be built.
    3
    Flashing a custom kernel doesn't affect TWRP or Magisk.

    Flashing a custom kernel also won't install / restore Magisk. The custom builds are meant to retain Magisk, but don't actually perform any of the installation.

    You can install TWRP over a custom kernel and the kernel will remain, but Magisk will be gone and need to be reinstalled. At this point, the app will only allow you to patch a supported image (img / tar, but also supports win without saying it) and the custom kernels include none of those. This means you need a Magisk recovery zip or need a backup of the kernel to patch with Magisk.

    You can also install a custom kernel over TWRP, but you would need to already have Magisk patched in after installing TWRP or install it after the kernel (see above).

    TL;DR

    Edit: there was an even easier way

    Have a copy of Magisk apk, the kernel zip from this thread, and the twrp image (just in case) on your sdcard.
    Boot TWRP and do Advanced -> Flash current TWRP
    Install Magisk through TWRP
    Reboot to system
    Install the kernel zip

    You'll have all three installed and running