Remove Orange state on Qualcomm devices?
Remove Orange state on Qualcomm devices?
undefined8 FUN_00030b38(void)
{
char cVar1;
int iVar2;
ulonglong uVar3;
char *pcVar4;
undefined8 uVar5;
uint local_24;
longlong local_20;
longlong local_18;
local_18 = DAT_000fc8d0;
local_20 = 0;
local_24 = 0;
cVar1 = FUN_00024968();
if (((cVar1 != '\0') || (iVar2 = FUN_0005b190(0xffffffff,"logo"), iVar2 < 0)) ||
(uVar3 = FUN_0001fbd0("/security","validate_logo_disabled"), (uVar3 & 1) != 0)) {
uVar5 = 1;
goto LAB_00030b64;
}
uVar3 = FUN_000a972c(0x1000,0x20,&local_20,&local_24);
if ((uVar3 & 1) == 0) {
pcVar4 = "Failed in loading logo for validation\n";
goto LAB_00030bf8;
}
if (local_20 == 0) {
pcVar4 = "%a: Invalid logo data buffer!\n";
LAB_00030c0c:
FUN_00043fa8(0,pcVar4,"ssm_validate_logo");
LAB_00030c1c:
uVar5 = 0;
}
else {
if (local_24 < 0x1221) {
pcVar4 = "%a: invalid logo data size!\n";
goto LAB_00030c0c;
}
uVar3 = FUN_0002bfa0(1,&DAT_000d06ec,0x208);
if ((uVar3 & 1) == 0) {
pcVar4 = "logo image boot validation error\n";
LAB_00030bf8:
FUN_00043fa8(0,pcVar4);
goto LAB_00030c1c;
}
uVar3 = FUN_00030c98(local_20 + (ulonglong)local_24 + -0x1020,0);
if ((uVar3 & 1) == 0) {
pcVar4 = "logo footer error\n";
goto LAB_00030bf8;
}
uVar5 = 1;
}
if (local_20 != 0) {
FUN_00017290();
}
LAB_00030b64:
if (DAT_000fc8d0 == local_18) {
return uVar5;
}
/* WARNING: Subroutine does not return */
FUN_000589b8();
}
(10-02-2024, 02:08 AM)rei20 Hi all,
I read this thread that works for Mediatek https://www.hovatek.com/forum/thread-31664.html
...
fastboot oem cdms
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
(12-02-2024, 01:54 PM)maxpayneCode:fastboot oem cdms
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Have you tried these commands
(12-02-2024, 10:55 PM)rei20(12-02-2024, 01:54 PM)maxpayneCode:fastboot oem cdms
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Have you tried these commands
Those are for fixing dm-verity corruption on MTK devices, I asked for Qualcomm.
On Motorola there's a secret command to disable verity " fastboot oem ssm_test 10 1" but it's blocked on normal fastboot. Maybe you need a special tool from Moto.
You can see the hidden commands here: https://xdaforums.com/t/my-new-kane-boot...s.4349861/
fastboot reboot fastboot
fastboot flash --slot=all abl IN20XX_abl.img