[Please help] phone fails to boot if I modify system.bin in any way
[Please help] phone fails to boot if I modify system.bin in any way
(09-09-2018, 03:22 PM)fuzwiron Hi, I have a MediaTek MT6735M based Android device. (Haier G50)
I used Miracle Box to read the whole EMMC and back it up in my computer, which allows me to flash the same files with the same software in case something goes wrong.
What I want is to modify system.bin (which is ext4 partition and can be read with 7zip or mounting in linux) and do various things (like removing bloatware and rooting it).
My process of modifying it is mounting it in Linux using "sudo mount -t ext4 -o loop system.bin /adr", then doing things, and unmounting it and then flashing it using Miracle Box.
The problem is that after flashing, the phone is stuck on boot screen. No animations.
Even if I just mount that image in linux, don't modify/remove/add any files and unmount it, it still breaks.
I can boot into recovery, do root integrity check and it will show all the files in system partition and if I don't modify anything as stated in previous sentence, it actually passes the root integrity check. (I also tried doing factory reset via recovery and it didn't help)
Any kind of help would be appreciated.
(09-09-2018, 11:42 PM)ALBA All you have to do is to flash different firmware which has not been modified.No, I want to modify it and remove things and add root and etc.
(09-09-2018, 11:42 PM)ALBA Please can you tell as your device full name and build number?
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MRA58K
ro.build.display.id=G50-H01-S014
ro.build.version.incremental=1492698137
ro.build.version.sdk=23
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=6.0
ro.build.version.security_patch=2017-02-05
ro.build.version.base_os=
ro.build.date=2017年 04月 20日 星期四 22:24:02 CST
ro.build.date.utc=1492698242
ro.build.type=user
ro.build.user=xc-buildsrv39
ro.build.host=xc-buildsrv39
ro.build.tags=release-keys
ro.build.flavor=full_rlk6735m_65u_c_m0-user
ro.product.model=G50
ro.product.brand=Haier
ro.product.name=G50
ro.product.device=HM-G551-FL
ro.product.board=
# 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.manufacturer=Haier
ro.product.locale=en-US
ro.wifi.channels=
ro.board.platform=mt6735m
# ro.build.product is obsolete; use ro.product.device
ro.build.product=rlk6735m_65u_c_m0
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=full_rlk6735m_65u_c_m0-user 6.0 MRA58K 1492698137 release-keys
ro.build.fingerprint=Haier/G50/HM-G551-FL:6.0/MRA58K/1468140006:user/release-keys
ro.build.characteristics=default
ro.wland.oem=xc
ro.wland.platform=MTK
ro.wland.version=MRA58K release-keys
ro.com.google.clientidbase=android-haier
ro.com.google.clientidbase.ms=android-haier
ro.com.google.clientidbase.yt=android-haier
ro.com.google.clientidbase.am=android-haier
ro.com.google.clientidbase.gmm=android-haier
ro.mtp.label=G50
ro.ptp.label=G50
ro.wifi.tether.ssid=G50
ro.wifi.tether.password=
ro.wifi.direct.name=G50
ro.bluetooth.name=G50
ro.internal.storage.name=G50
ro.photo.maker.name=Haier
ro.photo.model.name=G50
ro.product.internal_version=G50-H01-S014_20170420
ro.config.ringtone=Dancing.mp3
ro.config.notification_sound=lovely.mp3
ro.config.alarm_alert=Cesium.ogg
persist.sys.timezone=Europe/London
ro.secret.regulatory.info=*#07#
# end build properties
#
# from device/reallytek/rlk6735m_65u_c_m0/system.prop
#
#
# system.prop for generic sdk
#
rild.libpath=mtk-ril.so
rild.libargs=-d /dev/ttyC0
# MTK, Infinity, 20090720 {
wifi.interface=wlan0
# MTK, Infinity, 20090720 }
# MTK, mtk03034, 20101210 {
ro.mediatek.wlan.wsc=1
# MTK, mtk03034 20101210}
# MTK, mtk03034, 20110318 {
ro.mediatek.wlan.p2p=1
# MTK, mtk03034 20110318}
# MTK, mtk03034, 20101213 {
mediatek.wlan.ctia=0
# MTK, mtk03034 20101213}
#
wifi.tethering.interface=ap0
#
ro.opengles.version=196608
wifi.direct.interface=p2p0
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=256m
# USB MTP WHQL
ro.sys.usb.mtp.whql.enable=0
# Power off opt in IPO
sys.ipo.pwrdncap=2
ro.sys.usb.storage.type=mtp,mass_storage
# USB BICR function
ro.sys.usb.bicr=yes
# USB Charge only function
ro.sys.usb.charging.only=yes
# audio
ro.camera.sound.forced=0
ro.audio.silent=0
ro.zygote.preload.enable=0
# temporary enables NAV bar (soft keys)
#qemu.hw.mainkeys=0
ro.kernel.zio=38,108,105,16
#ro.kernel.qemu=1
#ro.kernel.qemu.gles=0
#ro.boot.selinux=disable
ro.sf.lcd_density=196
# performance
ro.mtk_perf_simple_start_win=1
ro.mtk_perf_fast_start_win=1
ro.mtk_perf_response_time=1
ro.operator.optr=CUST
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.ringtone_sim2=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.carrier=unknown
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=256m
ro.mediatek.chip_ver=S01
ro.mediatek.version.release=alps-mp-m0.mp1-V2.39.1_rlk6735m.65u.c.m0
ro.mediatek.platform=MT6735
ro.telephony.sim.count=2
persist.radio.default.sim=0
persist.radio.multisim.config=dsds
persist.gemini.sim_num=2
ro.gemini.smart_sim_switch=false
ril.specific.sm_cause=0
bgw.current3gband=0
ril.external.md=0
ro.sf.hwrotation=0
curlockscreen=0
ro.mediatek.gemini_support=true
persist.radio.fd.counter=15
persist.radio.fd.off.counter=5
persist.radio.fd.r8.counter=15
persist.radio.fd.off.r8.counter=5
drm.service.enabled=true
fmradio.driver.enable=1
ril.first.md=1
ril.flightmode.poweroffMD=1
ril.telephony.mode=0
dalvik.vm.mtk-stack-trace-file=/data/anr/mtk_traces.txt
mediatek.wlan.chip=CONSYS_MT6735
mediatek.wlan.module.postfix=_consys_mt6735
ril.read.imsi=1
ril.radiooff.poweroffMD=0
ro.frp.pst=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/frp
ro.sys.usb.storage.type=mtp,mass_storage
ro.mediatek.version.branch=alps-mp-m0.mp1
ro.mediatek.version.sdk=4
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=6.0_r5
ro.com.google.clientidbase=alps-full_rlk6735m_65u_c_m0-{country}
ro.com.google.clientidbase.ms=alps-full_rlk6735m_65u_c_m0-{country}
ro.com.google.clientidbase.yt=alps-full_rlk6735m_65u_c_m0-{country}
ro.com.google.clientidbase.am=alps-full_rlk6735m_65u_c_m0-{country}
ro.com.google.clientidbase.gmm=alps-full_rlk6735m_65u_c_m0-{country}
ro.mtk_gemini_support=1
persist.radio.gemini_support=1
ril.current.share_modem=2
ro.mtk_audio_profiles=1
ro.mtk_audenh_support=1
ro.mtk_besloudness_support=1
ro.mtk_bessurround_support=1
ro.mtk_wapi_support=1
ro.mtk_bt_support=1
ro.mtk_wappush_support=1
ro.mtk_agps_app=1
ro.mtk_voice_unlock_support=1
ro.mtk_voice_contact_support=1
ro.mtk_audio_tuning_tool_ver=V1
ro.mtk_wlan_support=1
ro.mtk_gps_support=1
ro.mtk_omacp_support=1
ro.mtk_search_db_support=1
ro.mtk_dialer_search_support=1
ro.mtk_dhcpv6c_wifi=1
ro.have_aacencode_feature=1
ro.mtk_fd_support=1
ro.mtk_oma_drm_support=1
ro.mtk_cta_drm_support=1
ro.mtk_widevine_drm_l3_support=1
ro.mtk_eap_sim_aka=1
ro.mtk_fm_recording_support=1
ro.mtk_audio_ape_support=1
ro.mtk_flv_playback_support=1
ro.mtk_send_rr_support=1
ro.mtk_emmc_support=1
ro.mtk_tetheringipv6_support=1
ro.mtk_shared_sdcard=1
ro.mtk_enable_md1=1
ro.mtk_flight_mode_power_off_md=1
ro.mtk_pq_support=2
ro.mtk_miravision_support=1
ro.mtk_miravision_image_dc=1
ro.mtk_wifi_mcc_support=1
ro.mtk_thumbnail_play_support=1
ro.mtk_bip_scws=1
ro.mtk_world_phone_policy=0
ro.mtk_perfservice_support=1
ro.mtk_cta_set=1
ro.mtk_mobile_management=1
ro.mtk_antibricking_level=2
ro.mtk_cam_mfb_support=0
ro.mtk_lte_support=1
ro.mtk_rild_read_imsi=1
ro.sim_refresh_reset_by_modem=1
ro.mtk_passpoint_r1_support=1
ro.mtk_bg_power_saving_support=1
ro.mtk_bg_power_saving_ui=1
ro.have_aee_feature=1
ro.sim_me_lock_mode=0
ro.mtk_dual_mic_support=0
ro.mtk_is_tablet=0
ro.mtk_voice_extension_support=1
wfd.dummy.enable=1
ro.mediatek.project.path=device/reallytek/rlk6735m_65u_c_m0
persist.mtk.wcn.combo.chipid=-1
service.wcn.driver.ready=no
service.wcn.coredump.mode=2
ro.com.android.mobiledata=false
persist.radio.mobile.data=0,0
persist.meta.dumpdata=0
ro.mtk_hetcomm_support=1
ro.mtk_md_sbp_custom_value=18
mtk.vdec.waitkeyframeforplay=1
ro.xc_number_min_match=7
persist.sys.dalvik.vm.lib.2=libart
dalvik.vm.isa.arm64.variant=cortex-a53
dalvik.vm.isa.arm64.features=default
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
ro.lovelyfonts_support=1
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
# begin fota properties
ro.fota.platform=MTK6735_6.0
ro.fota.type=phone
ro.fota.app=5
ro.fota.oem=xchengtech6735_6.0
ro.fota.device=G50
ro.fota.version=G50-H01-S014_20170420
ro.fota.version.display=G50-H01-S014
# end fota properties
ro.expect.recovery_id=0x77ac8342b3a0fbbcc2473b69bb9e6a9475b230ee000000000000000000000000
(10-09-2018, 01:35 AM)EMMANUS Why not use this method for the rooting, https://www.hovatek.com/forum/thread-21427.html after which you can remove bloatware
(10-09-2018, 12:34 AM)fuzwiron(09-09-2018, 11:42 PM)ALBA All you have to do is to flash different firmware which has not been modified.No, I want to modify it and remove things and add root and etc.
(09-09-2018, 11:42 PM)ALBA Please can you tell as your device full name and build number?
here is a build.prop file that contains pretty much everything
Code:# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MRA58K
ro.build.display.id=G50-H01-S014
ro.build.version.incremental=1492698137
ro.build.version.sdk=23
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=6.0
ro.build.version.security_patch=2017-02-05
ro.build.version.base_os=
ro.build.date=2017年 04月 20日 星期四 22:24:02 CST
ro.build.date.utc=1492698242
ro.build.type=user
ro.build.user=xc-buildsrv39
ro.build.host=xc-buildsrv39
ro.build.tags=release-keys
ro.build.flavor=full_rlk6735m_65u_c_m0-user
ro.product.model=G50
ro.product.brand=Haier
ro.product.name=G50
ro.product.device=HM-G551-FL
ro.product.board=
# 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.manufacturer=Haier
ro.product.locale=en-US
ro.wifi.channels=
ro.board.platform=mt6735m
# ro.build.product is obsolete; use ro.product.device
ro.build.product=rlk6735m_65u_c_m0
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=full_rlk6735m_65u_c_m0-user 6.0 MRA58K 1492698137 release-keys
ro.build.fingerprint=Haier/G50/HM-G551-FL:6.0/MRA58K/1468140006:user/release-keys
ro.build.characteristics=default
ro.wland.oem=xc
ro.wland.platform=MTK
ro.wland.version=MRA58K release-keys
ro.com.google.clientidbase=android-haier
ro.com.google.clientidbase.ms=android-haier
ro.com.google.clientidbase.yt=android-haier
ro.com.google.clientidbase.am=android-haier
ro.com.google.clientidbase.gmm=android-haier
ro.mtp.label=G50
ro.ptp.label=G50
ro.wifi.tether.ssid=G50
ro.wifi.tether.password=
ro.wifi.direct.name=G50
ro.bluetooth.name=G50
ro.internal.storage.name=G50
ro.photo.maker.name=Haier
ro.photo.model.name=G50
ro.product.internal_version=G50-H01-S014_20170420
ro.config.ringtone=Dancing.mp3
ro.config.notification_sound=lovely.mp3
ro.config.alarm_alert=Cesium.ogg
persist.sys.timezone=Europe/London
ro.secret.regulatory.info=*#07#
# end build properties
#
# from device/reallytek/rlk6735m_65u_c_m0/system.prop
#
#
# system.prop for generic sdk
#
rild.libpath=mtk-ril.so
rild.libargs=-d /dev/ttyC0
# MTK, Infinity, 20090720 {
wifi.interface=wlan0
# MTK, Infinity, 20090720 }
# MTK, mtk03034, 20101210 {
ro.mediatek.wlan.wsc=1
# MTK, mtk03034 20101210}
# MTK, mtk03034, 20110318 {
ro.mediatek.wlan.p2p=1
# MTK, mtk03034 20110318}
# MTK, mtk03034, 20101213 {
mediatek.wlan.ctia=0
# MTK, mtk03034 20101213}
#
wifi.tethering.interface=ap0
#
ro.opengles.version=196608
wifi.direct.interface=p2p0
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=256m
# USB MTP WHQL
ro.sys.usb.mtp.whql.enable=0
# Power off opt in IPO
sys.ipo.pwrdncap=2
ro.sys.usb.storage.type=mtp,mass_storage
# USB BICR function
ro.sys.usb.bicr=yes
# USB Charge only function
ro.sys.usb.charging.only=yes
# audio
ro.camera.sound.forced=0
ro.audio.silent=0
ro.zygote.preload.enable=0
# temporary enables NAV bar (soft keys)
#qemu.hw.mainkeys=0
ro.kernel.zio=38,108,105,16
#ro.kernel.qemu=1
#ro.kernel.qemu.gles=0
#ro.boot.selinux=disable
ro.sf.lcd_density=196
# performance
ro.mtk_perf_simple_start_win=1
ro.mtk_perf_fast_start_win=1
ro.mtk_perf_response_time=1
ro.operator.optr=CUST
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.ringtone_sim2=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.carrier=unknown
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=256m
ro.mediatek.chip_ver=S01
ro.mediatek.version.release=alps-mp-m0.mp1-V2.39.1_rlk6735m.65u.c.m0
ro.mediatek.platform=MT6735
ro.telephony.sim.count=2
persist.radio.default.sim=0
persist.radio.multisim.config=dsds
persist.gemini.sim_num=2
ro.gemini.smart_sim_switch=false
ril.specific.sm_cause=0
bgw.current3gband=0
ril.external.md=0
ro.sf.hwrotation=0
curlockscreen=0
ro.mediatek.gemini_support=true
persist.radio.fd.counter=15
persist.radio.fd.off.counter=5
persist.radio.fd.r8.counter=15
persist.radio.fd.off.r8.counter=5
drm.service.enabled=true
fmradio.driver.enable=1
ril.first.md=1
ril.flightmode.poweroffMD=1
ril.telephony.mode=0
dalvik.vm.mtk-stack-trace-file=/data/anr/mtk_traces.txt
mediatek.wlan.chip=CONSYS_MT6735
mediatek.wlan.module.postfix=_consys_mt6735
ril.read.imsi=1
ril.radiooff.poweroffMD=0
ro.frp.pst=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/frp
ro.sys.usb.storage.type=mtp,mass_storage
ro.mediatek.version.branch=alps-mp-m0.mp1
ro.mediatek.version.sdk=4
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=6.0_r5
ro.com.google.clientidbase=alps-full_rlk6735m_65u_c_m0-{country}
ro.com.google.clientidbase.ms=alps-full_rlk6735m_65u_c_m0-{country}
ro.com.google.clientidbase.yt=alps-full_rlk6735m_65u_c_m0-{country}
ro.com.google.clientidbase.am=alps-full_rlk6735m_65u_c_m0-{country}
ro.com.google.clientidbase.gmm=alps-full_rlk6735m_65u_c_m0-{country}
ro.mtk_gemini_support=1
persist.radio.gemini_support=1
ril.current.share_modem=2
ro.mtk_audio_profiles=1
ro.mtk_audenh_support=1
ro.mtk_besloudness_support=1
ro.mtk_bessurround_support=1
ro.mtk_wapi_support=1
ro.mtk_bt_support=1
ro.mtk_wappush_support=1
ro.mtk_agps_app=1
ro.mtk_voice_unlock_support=1
ro.mtk_voice_contact_support=1
ro.mtk_audio_tuning_tool_ver=V1
ro.mtk_wlan_support=1
ro.mtk_gps_support=1
ro.mtk_omacp_support=1
ro.mtk_search_db_support=1
ro.mtk_dialer_search_support=1
ro.mtk_dhcpv6c_wifi=1
ro.have_aacencode_feature=1
ro.mtk_fd_support=1
ro.mtk_oma_drm_support=1
ro.mtk_cta_drm_support=1
ro.mtk_widevine_drm_l3_support=1
ro.mtk_eap_sim_aka=1
ro.mtk_fm_recording_support=1
ro.mtk_audio_ape_support=1
ro.mtk_flv_playback_support=1
ro.mtk_send_rr_support=1
ro.mtk_emmc_support=1
ro.mtk_tetheringipv6_support=1
ro.mtk_shared_sdcard=1
ro.mtk_enable_md1=1
ro.mtk_flight_mode_power_off_md=1
ro.mtk_pq_support=2
ro.mtk_miravision_support=1
ro.mtk_miravision_image_dc=1
ro.mtk_wifi_mcc_support=1
ro.mtk_thumbnail_play_support=1
ro.mtk_bip_scws=1
ro.mtk_world_phone_policy=0
ro.mtk_perfservice_support=1
ro.mtk_cta_set=1
ro.mtk_mobile_management=1
ro.mtk_antibricking_level=2
ro.mtk_cam_mfb_support=0
ro.mtk_lte_support=1
ro.mtk_rild_read_imsi=1
ro.sim_refresh_reset_by_modem=1
ro.mtk_passpoint_r1_support=1
ro.mtk_bg_power_saving_support=1
ro.mtk_bg_power_saving_ui=1
ro.have_aee_feature=1
ro.sim_me_lock_mode=0
ro.mtk_dual_mic_support=0
ro.mtk_is_tablet=0
ro.mtk_voice_extension_support=1
wfd.dummy.enable=1
ro.mediatek.project.path=device/reallytek/rlk6735m_65u_c_m0
persist.mtk.wcn.combo.chipid=-1
service.wcn.driver.ready=no
service.wcn.coredump.mode=2
ro.com.android.mobiledata=false
persist.radio.mobile.data=0,0
persist.meta.dumpdata=0
ro.mtk_hetcomm_support=1
ro.mtk_md_sbp_custom_value=18
mtk.vdec.waitkeyframeforplay=1
ro.xc_number_min_match=7
persist.sys.dalvik.vm.lib.2=libart
dalvik.vm.isa.arm64.variant=cortex-a53
dalvik.vm.isa.arm64.features=default
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
ro.lovelyfonts_support=1
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
# begin fota properties
ro.fota.platform=MTK6735_6.0
ro.fota.type=phone
ro.fota.app=5
ro.fota.oem=xchengtech6735_6.0
ro.fota.device=G50
ro.fota.version=G50-H01-S014_20170420
ro.fota.version.display=G50-H01-S014
# end fota properties
ro.expect.recovery_id=0x77ac8342b3a0fbbcc2473b69bb9e6a9475b230ee000000000000000000000000
(10-09-2018, 07:17 AM)ALBA For the modification , it you own way.. We only want your device to come back to it normal mod...
You can get the stock ROM from here
But you have to login or register to access the file from needrom.
(10-09-2018, 02:15 AM)fuzwiron thanks I'll give it a try but I still wanna be able to do other modifications on it if i need to in future
(10-09-2018, 12:39 PM)juvette rename boot.img and system.bin to .img then try Assayyed kitchen https://www.hovatek.com/forum/thread-20497.html