Home Forum Blog Private Support Courses Archive
Our courses are now on YouTube! Start Watching
Hovatek Forum OPERATING SYSTEMS Android Online TWRP builder Build Failed

Online TWRP builder Build Failed

Online TWRP builder Build Failed

True_Gamer4959
True_Gamer4959
True_Gamer4959
Enthusiastic Member
6
22-08-2026, 07:10 PM
#1



So I tried it and sadly got a build failed
Its an LG k40s(X430bmw) android 9
WorkID: yAifIUPklh7CVPq3aA3l
https://gofile.io/d/6b0a9e36-695a-45e5-9...3165eca0cb
hovatek
hovatek
hovatek
Administrator
51,020
23-08-2026, 05:56 AM
#2
(22-08-2026, 07:10 PM)True_Gamer4959 So I tried it and sadly got a build failed
Its an LG k40s(X430bmw) android 9
WorkID: yAifIUPklh7CVPq3aA3l

I see you used a boot image. Does this model have a recovery partition (recovery.img)? If yes, use that instead

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
True_Gamer4959
True_Gamer4959
True_Gamer4959
Enthusiastic Member
6
23-08-2026, 04:15 PM
#3
(23-08-2026, 05:56 AM)hovatek
(22-08-2026, 07:10 PM)True_Gamer4959 So I tried it and sadly got a build failed
Its an LG k40s(X430bmw) android 9
WorkID: yAifIUPklh7CVPq3aA3l

I see you used a boot image. Does this model have a recovery partition (recovery.img)? If yes, use that instead

Sadly there isn't a recovery, only boot_a and boot_b
Code:

GPT Table: ------------- proinfo:            Offset 0x0000000000080000, Length 0x0000000000300000, Flags 0x0000000000000000, UUID f57ad330-39c2-4488-b09b-00cb43c9ccd4, Type EFI_BASIC_DATA nvcfg:              Offset 0x0000000000380000, Length 0x0000000002000000, Flags 0x0000000000000000, UUID fe686d97-3544-4a41-21be-167e25b61b6f, Type EFI_BASIC_DATA nvdata:              Offset 0x0000000002380000, Length 0x0000000004000000, Flags 0x0000000000000000, UUID 1cb143a8-b1a8-4b57-51b2-945c5119e8fe, Type EFI_BASIC_DATA metadata:            Offset 0x0000000006380000, Length 0x0000000002000000, Flags 0x0000000000000000, UUID 3b9e343b-cdc8-4d7f-a69f-b6812e50ab62, Type EFI_BASIC_DATA nvram:              Offset 0x0000000008380000, Length 0x0000000004000000, Flags 0x0000000000000000, UUID 5f6a2c79-6617-4b85-02ac-c2975a14d2d7, Type EFI_BASIC_DATA misc2:              Offset 0x000000000c380000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 4ae2050b-5db5-4ff7-d3aa-5730534be63d, Type EFI_BASIC_DATA ftm:                Offset 0x000000000cb80000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 1f9b0939-e16b-4bc9-bca5-dc2ee969d801, Type EFI_BASIC_DATA spare1:              Offset 0x000000000d380000, Length 0x0000000000480000, Flags 0x0000000000000000, UUID d722c721-0dee-4cb8-838a-2c63cd1393c7, Type EFI_BASIC_DATA frp:                Offset 0x000000000d800000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID e02179a8-ceb5-48a9-3188-4f1c9c5a8695, Type EFI_BASIC_DATA para:                Offset 0x000000000e000000, Length 0x0000000000080000, Flags 0x0000000000000000, UUID 84b09a81-fad2-41ac-0e89-407c24975e74, Type EFI_BASIC_DATA expdb:              Offset 0x000000000e080000, Length 0x0000000001400000, Flags 0x0000000000000000, UUID e8f0a5ef-8d1b-42ea-2a9c-835cd77de363, Type EFI_BASIC_DATA spare2:              Offset 0x000000000f480000, Length 0x0000000000380000, Flags 0x0000000000000000, UUID d5f0e175-a6e1-4db7-c094-f82ad032950b, Type EFI_BASIC_DATA protect1:            Offset 0x000000000f800000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 1d9056e1-e139-4fca-0b8c-b75fd74d81c6, Type EFI_BASIC_DATA protect2:            Offset 0x0000000010000000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 7792210b-b6a8-45d5-91ad-3361ed14c608, Type EFI_BASIC_DATA seccfg:              Offset 0x0000000010800000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 138a6db9-1032-451d-e991-0fa38ff94fbb, Type EFI_BASIC_DATA persist:            Offset 0x0000000011000000, Length 0x0000000003000000, Flags 0x0000000000000000, UUID 756d934c-50e3-4c91-46af-02d824169ca7, Type EFI_BASIC_DATA efuse:              Offset 0x0000000014000000, Length 0x0000000000080000, Flags 0x0000000000000000, UUID a3f3c267-5521-42dd-24a7-3bdec20c7c6f, Type EFI_BASIC_DATA eksst:              Offset 0x0000000014080000, Length 0x0000000000080000, Flags 0x0000000000000000, UUID 8c68cd2a-ccc9-4c5d-578b-34ae9b2dd481, Type EFI_BASIC_DATA encrypt:            Offset 0x0000000014100000, Length 0x0000000000080000, Flags 0x0000000000000000, UUID 6a5cebf8-54a7-4b89-1d8d-c5eb140b095b, Type EFI_BASIC_DATA persist_lg:          Offset 0x0000000014180000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID a0d65bf8-e8de-4107-3494-1d318c843d37, Type EFI_BASIC_DATA p_persist_lg:        Offset 0x0000000014980000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 46f0c0bb-f227-4eb6-2fb8-66408e13e36d, Type EFI_BASIC_DATA power:              Offset 0x0000000015180000, Length 0x0000000002800000, Flags 0x0000000000000000, UUID fbc2c131-6392-4217-1eb5-548a6edb03d0, Type EFI_BASIC_DATA mpt:                Offset 0x0000000017980000, Length 0x0000000002000000, Flags 0x0000000000000000, UUID e195a981-e285-4734-2580-ec323e9589d9, Type EFI_BASIC_DATA fota:                Offset 0x0000000019980000, Length 0x0000000000a00000, Flags 0x0000000000000000, UUID e29052f8-5d3a-4e97-b5ad-5f312ce6610a, Type EFI_BASIC_DATA rct:                Offset 0x000000001a380000, Length 0x0000000000100000, Flags 0x0000000000000000, UUID 9c3cabd7-a35d-4b45-578c-b80775426b35, Type EFI_BASIC_DATA els:                Offset 0x000000001a480000, Length 0x0000000001000000, Flags 0x0000000000000000, UUID e7099731-95a6-45a6-e5a1-1b6aba032cf1, Type EFI_BASIC_DATA carrier:            Offset 0x000000001b480000, Length 0x0000000003380000, Flags 0x0000000000000000, UUID 8273e1ab-846f-4468-99b9-ee2ea8e50a16, Type EFI_BASIC_DATA md1img_a:            Offset 0x000000001e800000, Length 0x0000000006400000, Flags 0x0000000000000000, UUID d26472f1-9ebc-421d-14ba-311296457c90, Type EFI_BASIC_DATA spmfw_a:            Offset 0x0000000024c00000, Length 0x0000000000100000, Flags 0x0000000000000000, UUID b72ccbe9-2055-46f4-67a1-4a069c201738, Type EFI_BASIC_DATA scp_a:              Offset 0x0000000024d00000, Length 0x0000000000600000, Flags 0x0000000000000000, UUID 9c1520f3-c2c5-4b89-4282-fe4c61208a9e, Type EFI_BASIC_DATA sspm_a:              Offset 0x0000000025300000, Length 0x0000000000100000, Flags 0x0000000000000000, UUID 902d5f3f-434a-4de7-8889-321e88c9b8aa, Type EFI_BASIC_DATA lk_a:                Offset 0x0000000025400000, Length 0x0000000000100000, Flags 0x0000000000000000, UUID bece74c8-d8e2-4863-fe9b-5b0b66bb920f, Type EFI_BASIC_DATA logo_a:              Offset 0x0000000025500000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID ff1342cf-b7be-44d5-5ea2-a435addd2702, Type EFI_BASIC_DATA laf_a:              Offset 0x0000000025d00000, Length 0x0000000002800000, Flags 0x0000000000000000, UUID a4da8f1b-fe07-433b-cb95-84a5f23e477b, Type EFI_BASIC_DATA boot_a:              Offset 0x0000000028500000, Length 0x0000000002800000, Flags 0x0000000000000000, UUID c2635e15-61aa-454e-409c-ebe1bdf19b9b, Type EFI_BASIC_DATA dtbo_a:              Offset 0x000000002ad00000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 4d2d1290-36a3-4f5d-b4af-319f8ab6dcd8, Type EFI_BASIC_DATA tee_a:              Offset 0x000000002b500000, Length 0x0000000000500000, Flags 0x0000000000000000, UUID fdce12f0-a7eb-40f7-5083-960972e6cb57, Type EFI_BASIC_DATA vbmeta_a:            Offset 0x000000002ba00000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 0fbbafa2-4aa9-4490-8389-5329328505fd, Type EFI_BASIC_DATA spare3:              Offset 0x000000002c200000, Length 0x0000000000600000, Flags 0x0000000000000000, UUID a76e4b2f-31cb-40ba-6a82-c0cb0b73c856, Type EFI_BASIC_DATA md1img_b:            Offset 0x000000002c800000, Length 0x0000000006400000, Flags 0x0000000000000000, UUID f54ac030-7004-4d02-8194-bbf982036807, Type EFI_BASIC_DATA spmfw_b:            Offset 0x0000000032c00000, Length 0x0000000000100000, Flags 0x0000000000000000, UUID c4c310e2-4a7e-77d3-1848-61e2d8bb5e86, Type EFI_BASIC_DATA scp_b:              Offset 0x0000000032d00000, Length 0x0000000000600000, Flags 0x0000000000000000, UUID 3734710f-0f13-1ab9-4c73-12a08ec50837, Type EFI_BASIC_DATA sspm_b:              Offset 0x0000000033300000, Length 0x0000000000100000, Flags 0x0000000000000000, UUID 85a5b02f-3773-18b3-4910-718cde95107e, Type EFI_BASIC_DATA lk_b:                Offset 0x0000000033400000, Length 0x0000000000100000, Flags 0x0000000000000000, UUID 6fce83a6-5273-4748-4511-c205ebb4b8ad, Type EFI_BASIC_DATA logo_b:              Offset 0x0000000033500000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 3645e6a3-a7e3-19b2-4149-172c10190eef, Type EFI_BASIC_DATA laf_b:              Offset 0x0000000033d00000, Length 0x0000000002800000, Flags 0x0000000000000000, UUID f60b92b4-0e2f-91b6-4afb-2d0b643bab4b, Type EFI_BASIC_DATA boot_b:              Offset 0x0000000036500000, Length 0x0000000002800000, Flags 0x0000000000000000, UUID d05cedfe-20b7-68b3-f259-4fe25317f2fc, Type EFI_BASIC_DATA dtbo_b:              Offset 0x0000000038d00000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 54060b67-fa74-5c82-1661-44821e54dced, Type EFI_BASIC_DATA tee_b:              Offset 0x0000000039500000, Length 0x0000000000500000, Flags 0x0000000000000000, UUID c0a128fb-59d1-0a9e-e8f0-ea3d36a9d658, Type EFI_BASIC_DATA vbmeta_b:            Offset 0x0000000039a00000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID f5f5a7f8-f8ec-3ba1-c9cb-4e2a7cbc7d07, Type EFI_BASIC_DATA srtc:                Offset 0x000000003a200000, Length 0x0000000000800000, Flags 0x0000000000000000, UUID 736d618a-5b79-530b-ac9d-895339690613, Type EFI_BASIC_DATA spare4:              Offset 0x000000003aa00000, Length 0x0000000000600000, Flags 0x0000000000000000, UUID a2342ac6-4c40-b02c-4f51-e90d46f93454, Type EFI_BASIC_DATA vendor_a:            Offset 0x000000003b000000, Length 0x0000000032000000, Flags 0x0000000000000000, UUID 339d6f74-bcb8-f02b-4a69-ae0152bcadc0, Type EFI_BASIC_DATA system_a:            Offset 0x000000006d000000, Length 0x00000000be000000, Flags 0x0000000000000000, UUID 2cd122a3-6142-31a9-8812-cb60fbead9be, Type EFI_BASIC_DATA vendor_b:            Offset 0x000000012b000000, Length 0x0000000032000000, Flags 0x0000000000000000, UUID c09b7bd1-5e46-450c-d597-adf4072a8d6b, Type EFI_BASIC_DATA system_b:            Offset 0x000000015d000000, Length 0x00000000be000000, Flags 0x0000000000000000, UUID 448a65b8-a5d4-bdb0-ebdd-bf4ea3ceafc6, Type EFI_BASIC_DATA product_a:          Offset 0x000000021b000000, Length 0x000000004d000000, Flags 0x0000000000000000, UUID b1b1e374-8c7f-b48a-75d5-ce0ca20f1183, Type EFI_BASIC_DATA product_b:          Offset 0x0000000268000000, Length 0x000000004d000000, Flags 0x0000000000000000, UUID 24d37dd4-caf8-1a6e-45be-89e4b0705843, Type EFI_BASIC_DATA OP_a:                Offset 0x00000002b5000000, Length 0x0000000015800000, Flags 0x0000000000000000, UUID 37957b10-67ef-1440-3b89-6200484311b6, Type EFI_BASIC_DATA OP_b:                Offset 0x00000002ca800000, Length 0x0000000015800000, Flags 0x0000000000000000, UUID 441c978b-5309-1faa-913c-32c5f087e9ae, Type EFI_BASIC_DATA userdata:            Offset 0x00000002e0000000, Length 0x0000000466b80000, Flags 0x0000000000000000, UUID 575fb526-8d23-61c4-fed5-e9e040eb0741, Type EFI_BASIC_DATA flashinfo:          Offset 0x0000000746b80000, Length 0x0000000001000000, Flags 0x0000000000000000, UUID d8bbfddf-8e4c-8cf5-e3ca-fc4f02e1c49a, Type EFI_BASIC_DATA Total disk size:0x0000000747b84200, sectors:0x0000000003a3dc21
This post was last modified: 23-08-2026, 04:19 PM by True_Gamer4959.
hovatek
hovatek
hovatek
Administrator
51,020
23-08-2026, 05:27 PM
#4
(23-08-2026, 04:15 PM)True_Gamer4959 Its an LG k40s(X430bmw) android 9
....

The problem was from Bootctrl. I made an adjustment
Work ID: IKxjsLo6vFb1lqqdKADu
Try this and let me know how it goes
This post was last modified: 23-08-2026, 05:27 PM by hovatek.

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
True_Gamer4959
True_Gamer4959
True_Gamer4959
Enthusiastic Member
6
23-08-2026, 10:36 PM
#5

Mediatek Course Mediatek Course


(23-08-2026, 05:27 PM)hovatek
(23-08-2026, 04:15 PM)True_Gamer4959 Its an LG k40s(X430bmw) android 9
....

The problem was from Bootctrl. I made an adjustment
Work ID: IKxjsLo6vFb1lqqdKADu
Try this and let me know how it goes

After installing this on my active slot, it boots fine into a safe password, that I don't know but any password will tell its right but requires a wipe, after the restart, it keeps on a bootloop
hovatek
hovatek
hovatek
Administrator
51,020
23-08-2026, 11:19 PM
#6
(23-08-2026, 10:36 PM)True_Gamer4959 After installing this on my active slot, it boots fine into a safe password, that I don't know but any password will tell its right but requires a wipe, after the restart, it keeps on a bootloop

Share a picture of the screen showing the password mode.
You should have tried fastboot boot first instead of fastboot flash.
Anyway, fixing it isn't a problem. You just need to get into bootloader, then flash the stock boot image.
Alternatively, you could use SP flash tool.
This post was last modified: 23-08-2026, 11:23 PM by hovatek.

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
True_Gamer4959
True_Gamer4959
True_Gamer4959
Enthusiastic Member
6
24-08-2026, 02:11 AM
#7
(23-08-2026, 11:19 PM)hovatek
(23-08-2026, 10:36 PM)True_Gamer4959 After installing this on my active slot, it boots fine into a safe password, that I don't know but any password will tell its right but requires a wipe, after the restart, it keeps on a bootloop

Share a picture of the screen showing the password mode.
You should have tried fastboot boot first instead of fastboot flash.
Anyway, fixing it isn't a problem. You just need to get into bootloader, then flash the stock boot image.
Alternatively, you could use SP flash tool.

https://ibb.co/5Wkt5Rv1
https://ibb.co/ZpRwtCKQ
Also this phone and other cheap LG phones don't have fastboot
I'm using mtkclient instead
hovatek
hovatek
hovatek
Administrator
51,020
30-08-2026, 06:41 AM
#8
(24-08-2026, 02:11 AM)True_Gamer4959 heap LG phones don't have fastboot
I'm using mtkclient instead

it says:



Quote:Decoding not performed

The password entered is correct, but the data is corrupted.
To continue using your smartphone, you need to reset it to its original settings. When you set up your smartphone after the reset, you will be able to restore all the data that was backed up to your Google Account.
Restore phone

Quote:Secure boot

Enter the password to unlock. 30/30 attempt(s) remaining.
To change the settings, go to Security settings.

You either do a factory reset or flash back the stock boot.img so you can move important stuff.
This post was last modified: 30-08-2026, 06:44 AM by hovatek.
Attached Files
.jpg
translate_1.jpg
Size: 93.53 KB / Downloads: 40
.jpg
translate_2.jpg
Size: 86.34 KB / Downloads: 38

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
True_Gamer4959
True_Gamer4959
True_Gamer4959
Enthusiastic Member
6
31-08-2026, 05:55 PM
#9
(30-08-2026, 06:41 AM)hovatek
(24-08-2026, 02:11 AM)True_Gamer4959 heap LG phones don't have fastboot
I'm using mtkclient instead

it says:



Quote:Decoding not performed

The password entered is correct, but the data is corrupted.
To continue using your smartphone, you need to reset it to its original settings. When you set up your smartphone after the reset, you will be able to restore all the data that was backed up to your Google Account.
Restore phone

Quote:Secure boot

Enter the password to unlock. 30/30 attempt(s) remaining.
To change the settings, go to Security settings.

You either do a factory reset or flash back the stock boot.img so you can move important stuff.

already did that, then when it reboots, it wipes data, like if that modified boot file couldn't do this
Also shouldn't the boot file be like 40mb? like the original file
hovatek
hovatek
hovatek
Administrator
51,020
31-08-2026, 05:59 PM
#10
(31-08-2026, 05:55 PM)True_Gamer4959 ..
Also shouldn't the boot file be like 40mb? like the original file

It could vary

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)