Phone keeps rebooting on "custom binary blocked by FRP". It's currently on U8 firmware. Flashing full stock firmware doesn't change anything. It was booting on U7 COMBINATION but once i flashed normal U7 it was still "custom binary blocked...".
UART log below. It seems that phone detects stock boot and recovery as custom for some reason. I tried to disable FRP over UART but it doesn't seem to work on this version anymore. Any ideas?
UART log below. It seems that phone detects stock boot and recovery as custom for some reason. I tried to disable FRP over UART but it doesn't seem to work on this version anymore. Any ideas?
Code:
Samsung S-Boot 4.0 for SM-A510F (Mar 28 2019 - 15:28:26 22889496)
EXYNOS7580 EVT 0.2 (Base on ARM CortexA53)
2024MB / 0MB / Rev 4 / A510FXXS8CSC1 / (PKG_ID 0x0) / LOT_ID N4V35 / SHIP /PINRST (0x10000)
__if_pmic_rev_init - MUIC API is not ready!
pmic_enable_peric_dev: system_rev = 0x4
g3d_fuse value : 0
MON: 0x40(0)
MON[0] = (0)[0x32, 0x7c]
MON[1] = (1)[0x15, 0x04]
MON[2] = (2)[0x0d, 0x14]
MON[3] = (3)[0x4c, 0xe8]
MON[4] = (4)[0x4b, 0xf0]
MON[5] = (5)[0x94, 0x6a]
MON[6] = (6)[0x95, 0xce]
MON[7] = (7)[0x0a, 0x00]
[MUIC] muic_register_sm5705_apis
[MUIC] chip_id:0x00 muic_id:0x01 -> matched(sm5705).
[MUIC] print_init_regs
CTL:17 IM1:00 IM2:00 TM1:00 TM2:00 T1:00 T2:08 T3:00 MS1:00 MS2:00 RST:00 RD1:00 RD2:24
sm5705_reset_microusb_ic t1:00 t2:08 t3:00
[MUIC] rev = SM5705(1)
init_multi_microusb_ic Active MUIC 0x01
[MUIC] init MANUAL_SW1: 0x6c
[MUIC] init CONTROL:0x17
[MUIC] init CONTROL:0x17
[MUIC] hv_status INT1:0x01, 2:0x04, 3:0x00
[MUIC] hv_status DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] set_muic_uart_early CONTROL1: 00
Fail to load Secure Payload!! [ret = 2025000]
EL3 monitor information => Built : 10:58:35, Dec 20 2017
mmc_init
cardtype: 0x00000007
SB_MMC_HS_52MHZ_1_8V_3V_IO
mmc->card_caps: 0x00000f11
mmc->host_caps: 0x00000f11
!!!Enter 8 Bit DDR mode.!!!
[mmc] capacity = 30777344
MODEL_NAME:
eMMC_SERIAL_NUMBER:
[Debug Info.]
S-BOOT : VERSION_-+A0
CI 0
blk_bread: MMC mode
- read_bl1
blk_bread_bootsector: MMC mode
Verify_Binary_Signature 0x45820120 3608@0x45810000, 256@0x45820020
pit_check_signature (PIT) valid.
blk_bread: MMC mode
PARAM ENV VERSION: v1.0..
blk_bread: MMC mode
blk_bread_bootsector: MMC mode
blk_getUID: MMC mode
blk_bread: MMC mode
initialize_ddi_data: usable! (1:0x8), warranty reason : (0x0302)
MAGIC_RAM_BASE: aaaaeeae, MAGIC_RAM_BASE2: baeaaaab, ompin: 0
[ldfw] Pass LDFW partition!
[ldfw] read whole CM partition from the storage
blk_bread_bootsectorB: MMC mode in 2nd partition
emmc_bootpart_2_open: 2nd partition open
emmc_bootpart_2_close: 2nd partition close
ldfw: 0th ldfw's version 0x20161024 name : CryptoManagerV20
ldfw: 1th ldfw's version 0x20151006 name : fmp_fw
ldfw: init ldfw(s). whole ldfws size 0x204110
[ldfw] try to init 2 ldfw(s). except 0 ldfw 2 ldfw(s) have been inited done.
[mobi_drv] add: 0x43e54330, size: 14309
MobiCore IDLE flag = 0
MobiCore Driver loaded and RTM IDLE!
[EFUSE] 8 bit read: 0x13
[EFUSE] 2 bit read: 0x0
[EFUSE] 3 bit read: 0x0
[EFUSE] 4 bit read: 0x1
[EFUSE] 5 bit read: 0xff
[EFUSE] NANTIRBK0 bit reading: start
[EFUSE] NANTIRBK0: 8 bit
[EFUSE] 12 bit read: 0x1
[EFUSE] 13 bit read: 0x0
[EFUSE] 14 bit read: 0x1
[EFUSE] 35 bit read: 0x1
[EFUSE] read done. [0]
[EFUSE] read done. [0]
[EFUSE] read done. [0]
[EFUSE] read done. [0]
[EFUSE] SMC Read the 0x0 ...
[EFUSE] SMC Read Count value: 8
[EFUSE] SMC Read the 0x1 ...
[EFUSE] SMC Read Count value: 1
[EFUSE] SMC Read the 0x2 ...
[EFUSE] SMC Read Count value: 0
[EFUSE] SMC Read the 0x3 ...
[EFUSE] SMC Read Count value: 1
(8,19) vs (8,19)
JTAG_LOCK is already enabled in this device.
[EFUSE] This is commercial device.
set_tzpc_secureport: successfully protected 0 3 1
eSE Protection!!
blk_rpmb_open: MMC mode
[RPMB] emmc_rpmb_open:
blk_rpmb_read_data: MMC mode
HMAC compare success !!
RPMB: HMAC:
Get DATA success.
blk_rpmb_close: MMC mode
[RPMB] emmc_rpmb_close:
initialize_secdata_rpmb: usable! (0x52504d42)
DDR SIZE: 2G (0x80000000)
[TMU] CPU:39*C, G3D:35*C, APL:39*C
adc_read_temp temp_adc = 1770, temp = 30
set_float_voltage: battery cv voltage(4350) 0x75
get_vbvolt: REG_RSVD_ID1: 0x00
get_vbvolt: vbvolt: 0x00
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
sm5705_get_charger_status: invalid charger device=800
set_precharge_current: does not need precharge current
set_charger_state: CONTROL REG : 0x5, GPIO_CHARGER_EN : 0
fuelgauge_reg_init_need:SM5705_REG_FG_OP_STATUS(0x10)
fuelgauge_reg_init_need: return 0
fuel_gauge_read_vcell: SM5705_REG_OCV (0x2148)
fuel_gauge_read_vcell: vbat result 0x2159:(VCELL = 4168)
get_vbvolt: REG_RSVD_ID1: 0x00
get_vbvolt: vbvolt: 0x00
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
sm5705_get_charger_status: invalid charger device=800
check_fuelgauge_powered: cnt=15, vcell=4168, chg_state=0
set_charger_state: CONTROL REG : 0x5, GPIO_CHARGER_EN : 0
get_vbvolt: REG_RSVD_ID1: 0x00
get_vbvolt: vbvolt: 0x00
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
sm5705_get_charger_status: invalid charger device=800
PMIC_ID(S2MPU03) = 0x02
PMIC_STATUS1 = 0x13 PWRON JIGONB MR1B
PMIC_STATUS2 = 0x10 RTC1SE
PMIC_PWRONSRC = 0x01 PWRON
PMIC_OFFSRC = 0x10 PWRHOLD
PMIC_INT1 = 0x02 PWRONR
PMIC_INT2 = 0x10 RTC1S
PMIC_INT3 = 0x00
PMIC_RTC_CTRL = 0x02
PMIC_RTC_SMPL = 0x03
RTC TIME: 2015-01-02 08:59:20(0x20)AM
s5p_check_keypad: 0x0
s5p_check_reboot_mode: INFORM3 = 0 ... skip
PLL_CPU = 806MHz PLL_APL= 806MHz PLL_MEM0= 825MHz
PLL_MEDIA = 667MHz PLL_BUS = 800MHz PLL_USB = 50MHz
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
board_uart_rustproof muic_jig: 1, pmic_jigonb: 0
-user build & not FAC
[MUIC] rustproof mode Enabled
PMUDBG_CENTRAL_SEQ_STATUS : 0x0
PMUDBG_CENTRAL_SEQ_MIF_STATUS : 0x0
PMUDBG_CPU_CPU0_STATUS : 0x0
PMUDBG_CPU_CPU1_STATUS : 0x0
PMUDBG_CPU_CPU2_STATUS : 0x0
PMUDBG_CPU_CPU3_STATUS : 0x0
PMUDBG_APL_CPU0_STATUS : 0x0
PMUDBG_APL_CPU1_STATUS : 0x0
PMUDBG_APL_CPU2_STATUS : 0x0
PMUDBG_APL_CPU3_STATUS : 0x0
PMUDBG_CPU_L2_STATUS : 0x0
PMUDBG_APL_L2_STATUS : 0x0
PMUDBG_CPU_NONCPU_STATUS : 0x0
PMUDBG_APL_NONCPU_STATUS : 0x0
s5p_check_upload: MAGIC(0xAAAAEEAE), RST_STAT(0x10000)
[MUIC] get_adc_value ADC:1c
s5p_check_upload: debug level is LO! (mask: 0xC0)
0x4f4c: MRST enabled
s5p_check_upload: disable dump_gpr
s5p_check_download: 0
mach_board_main: recovery set!(0x80000)
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
get_vbvolt: REG_RSVD_ID1: 0x00
get_vbvolt: vbvolt: 0x00
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
sm5705_get_charger_status: invalid charger device=800
check_pm_status: non chargable jig, bypass check power
scr_draw_image: draw 'logo.jpg'...
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
blk_bread: MMC mode
read 'logo.jpg'(74965) completed.
LoadJPEG took 178 msec
41, 0, 13, 0x410013
lcd_panel_init: 1
mipi-dsi driver(CMD mode) has been probed.
decon-int: ver0, max win3, command mode, hw trigger
single dsi mode
decon0 registered successfully
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
init_fuelgauge: get_jig : 1
init_fuelgauge: connected_jig: 1, ret : 0x51
init_fuelgauge: diff_ver: 0, version : 0x5
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
init_fuelgauge: JIG is Connected or Version is different. F/G Reset !!!
set_charger_state: CONTROL REG : 0x5, GPIO_CHARGER_EN : 1
fuelgauge_sw_reset:SM5705_REG_FG_OP_STATUS(0x1)
sm5705_fuelgauge_sw_reset
set_charger_state: CONTROL REG : 0x5, GPIO_CHARGER_EN : 0
fuelgauge_reg_init_need:SM5705_REG_FG_OP_STATUS(0x1)
fuelgauge_reg_init_need: return 1
init_fuelgauge: F/G Initializing Start(version:0x5)
Initialization_routine: SM5705 FG sm5705_fuelgauge_reg_init start!!
[MUIC] attached_device DEV_TYPE1:0x00, 2:0x08, 3:0x00
[MUIC] attached_device INTR1:0x00, 2:0x00
Initialization_routine: RCE write RCE0 = 0x20 : 0x4e1
Initialization_routine: RCE write RCE1 = 0x21 : 0x3e6
Initialization_routine: RCE write RCE2 = 0x22 : 0x1d7
Initialization_routine: DTCD write DTCD = 0x23 : 0x1
Initialization_routine: RS write RS = 0x24 : 0x51
Initialization_routine: VIT_PERIOD write VIT_PERIOD = 0x1a : 0x3506
Initialization_routine: TABLE write table[0][0] = 0xa0 : 0x1400
Initialization_routine: TABLE write table[0][1] = 0xa1 : 0x1b33
Initialization_routine: TABLE write table[0][2] = 0xa2 : 0x1cdd
Initialization_routine: TABLE write table[0][3] = 0xa3 : 0x1d6e
Initialization_routine: TABLE write table[0][4] = 0xa4 : 0x1d89
Initialization_routine: TABLE write table[0][5] = 0xa5 : 0x1de4
Initialization_routine: TABLE write table[0][6] = 0xa6 : 0x1e41
Initialization_routine: TABLE write table[0][7] = 0xa7 : 0x1e7a
Initialization_routine: TABLE write table[0][8] = 0xa8 : 0x1ed5
Initialization_routine: TABLE write table[0][9] = 0xa9 : 0x1f69
Initialization_routine: TABLE write table[0][10] = 0xaa : 0x1fb3
Initialization_routine: TABLE write table[0][11] = 0xab : 0x1fe3
Initialization_routine: TABLE write table[0][12] = 0xac : 0x2082
Initialization_routine: TABLE write table[0][13] = 0xad : 0x20ff
Initialization_routine: TABLE write table[0][14] = 0xae : 0x226d
Initialization_routine: TABLE write table[0][15] = 0xaf : 0x2400
Initialization_routine: TABLE write table[1][0] = 0xb0 : 0x0
Initialization_routine: TABLE write table[1][1] = 0xb1 : 0x2d
Initialization_routine: TABLE write table[1][2] = 0xb2 : 0xce
Initialization_routine: TABLE write table[1][3] = 0xb3 : 0x146
Initialization_routine: TABLE write table[1][4] = 0xb4 : 0x270
Initialization_routine: TABLE write table[1][5] = 0xb5 : 0x42f
Initialization_routine: TABLE write table[1][6] = 0xb6 : 0x713
Initialization_routine: TABLE write table[1][7] = 0xb7 : 0x967
Initialization_routine: TABLE write table[1][8] = 0xb8 : 0xbb6
Initialization_routine: TABLE write table[1][9] = 0xb9 : 0xd75
Initialization_routine: TABLE write table[1][10] = 0xba : 0xe9f
Initialization_routine: TABLE write table[1][11] = 0xbb : 0xfc9
Initialization_routine: TABLE write table[1][12] = 0xbc : 0x10ed
Initialization_routine: TABLE write table[1][13] = 0xbd : 0x12ac
Initialization_routine: TABLE write table[1][14] = 0xbe : 0x1664
Initialization_routine: TABLE write table[1][15] = 0xbf : 0x166a
Initialization_routine: RS_MIX_FACTOR = 0x47a, RS_MAX = 0x3800, RS_MIN = 0xa4, MIX_RATE = 0x503, MIX_INIT_BLANK = 0x4
Initialization_routine: VOLT_CAL = 0x8000, CURR_offset = 0x0, p_curr_cal = 0x86, n_curr_cal = 0x80
Initialization_routine: SM5705_REG_MISC 0x90 : 0x60
Initialization_routine: LAST CTRL VALUE = 0x1 : 0xc400
Initialization_routine: LAST PARAM CTRL VALUE = 0x13 : 0xf
calculate_iocv: iocv_status_read = addr : 0x2f , data : 0x116
calculate_iocv: iocv_l_max=0x2143, iocv_l_min=0x2142, iocv_l_avg=0x2142, lb_v_set=0x2143, roop_max=6
calculate_iocv: ioci_l_max=0xfffffe8d, ioci_l_min=0xfffffe8a, ioci_l_avg=0xfffffe8c, lb_i_set=0x0, i_offset=0x82, sign_i_offset=0
calculate_iocv: iocv_c_max=0x2142, iocv_c_min=0x2142, iocv_c_avg=0x2142, cb_v_set=0x2142, cb_last_index=5
calculate_iocv: ioci_c_max=0xfffffe8c, ioci_c_min=0xfffffe8a, ioci_c_avg=0xfffffe8b, cb_i_set=0xfffffe8b, i_offset=0x82, sign_i_offset=0
Initialization_routine: SM5705_REG_IOCV_MAN = 0x2e : 0x2143
fuel_gauge_read_vcell: SM5705_REG_OCV (0x2143)
fuel_gauge_read_vcell: vbat result 0x2143:(VCELL = 4157)
fuel_gauge_read_current: current result 0x8175:(CURR = -182)
fuel_gauge_read_ocv: ocv result 0x2143:(OCV = 4157)
fuel_gauge_read_soc: soc result 0x5678:(SOC = 86)
adc_read_temp temp_adc = 1766, temp = 30
blk_bwrite: MMC mode
Set debug level to low(4f4c)
DMV: Successfully informed TZ of boot mode: Recovery
load_kernel: loading boot image from 190464..
blk_bread: MMC mode
kernel size = 0xf49800, ramdisk size = 0x5a3000
dt_size:649216, dt_actual:649216
blk_bread: MMC mode
Verify_Binary_Signature 0x45820120 22591520@0x40204800, 256@0x45820020
Kernel Image
Verify_Binary_Signature: failed.(-18022398)
pit_check_signature (RECOVERY) invalid.
[TIMA trusted boot]: SEANDROID ENFORCING
Set invalid sign flag
No need to update kernel type.
update_frp_image_lock_value: Status for RECOVERY image is already custom
update_frp_lock_value: Status of ALL image official
blk_bread: MMC mode
challenge_size is 4d 77
blk_bread: MMC mode
Custom binary blocked by FRP Lock.