Join us on Tl   Wh

Hovatek Forum DEVELOPMENT Android [Please help] Help, when building firmware for Doro Liberto 820 mini i get error

[Please help] Help, when building firmware for Doro Liberto 820 mini i get error

[Please help] Help, when building firmware for Doro Liberto 820 mini i get error

Intelinsidecomputer
Intelinsidecomputer
Intelinsidecomputer
Techie Member
47
28-11-2024, 02:30 PM
#1



Hi, i wanted to make custom roms and recoveries while also unbrick my obscure Doro Liberto 820 Mini, so i contacted Doro A.B support. They gave me an 5 GB (Compressed) File with everything. So i took device config and turned into somewhat weirdly looking device soirce.
Grabbed kernel, added some changes and also published. But now with firmware. I asked them for it and they sent firmware for ckt72_w_kk which bricked my phone completely (no power, vibration, charging screen). Then i asked them for ckt72_w_lca which was the second model, found in the file package they sent me. But when asked for firmware they did not want to recompile everything again, nor tell how to fix that error. 


In short, i need to fix error that says “Error 1 no rule to make target “new” and “clean””, when runned “./mk ckt72_w_lca bm_new pl” command into the terminal.

Also how i will need to reflash the preloader because i get error 4032 on sp flash tools and when used mtkclient it just stucks and then gives error. 

Here are the xda forum link for both files package and sources:

https://xdaforums.com/t/road-to-getting-...l.4704220/
maxpayne
maxpayne
maxpayne
Intern
4,059
28-11-2024, 03:32 PM
#2
(28-11-2024, 02:30 PM)Intelinsidecomputer Also how i will need to reflash the preloader because i get error 4032 on sp flash tools and when used mtkclient it just stucks and then gives error. 
..

You have mentioned several problems but I think the most pressing is unbricking the phone.
Error 4032 (Enable DRAM fail) points at corrupted preloader, connecting incorrectly or incompatible firmware
5069 (no space) points at incompatible firmware. Refer to https://www.hovatek.com/forum/thread-439.html
You should have made a full dump before flashing.

You said you made an ADB backup. Did it contain boot or recovery images?
This post was last modified: 28-11-2024, 03:33 PM by maxpayne.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Intelinsidecomputer
Intelinsidecomputer
Intelinsidecomputer
Techie Member
47
28-11-2024, 03:46 PM
#3
(28-11-2024, 03:32 PM)maxpayne
(28-11-2024, 02:30 PM)Intelinsidecomputer Also how i will need to reflash the preloader because i get error 4032 on sp flash tools and when used mtkclient it just stucks and then gives error. 
..

You have mentioned several problems but I think the most pressing is unbricking the phone.
Error 4032 (Enable DRAM fail) points at corrupted preloader, connecting incorrectly or incompatible firmware
5069 (no space) points at incompatible firmware. Refer to https://www.hovatek.com/forum/thread-439.html
You should have made a full dump before flashing.

You said you made an ADB backup. Did it contain boot or recovery images?
Only Recovery image, also i would rather focus on fixing the error because without any firmware i can not fix it.
Intelinsidecomputer
Intelinsidecomputer
Intelinsidecomputer
Techie Member
47
28-11-2024, 04:12 PM
#4
(28-11-2024, 03:32 PM)maxpayne
(28-11-2024, 02:30 PM)Intelinsidecomputer Also how i will need to reflash the preloader because i get error 4032 on sp flash tools and when used mtkclient it just stucks and then gives error. 
..

You have mentioned several problems but I think the most pressing is unbricking the phone.
Error 4032 (Enable DRAM fail) points at corrupted preloader, connecting incorrectly or incompatible firmware
5069 (no space) points at incompatible firmware. Refer to https://www.hovatek.com/forum/thread-439.html
You should have made a full dump before flashing.

You said you made an ADB backup. Did it contain boot or recovery images?
I flashed the firmware they sent and it bricked the device completely. Now i am trying to compile the lca model
maxpayne
maxpayne
maxpayne
Intern
4,059
06-12-2024, 12:00 AM
#5



(28-11-2024, 02:30 PM)Intelinsidecomputer Also how i will need to reflash the preloader because i get error 4032 on sp flash tools and when used mtkclient it just stucks and then gives error. 

Run the commands

Code:

. build/envsetup.sh
lunch

and share the output.
I take it you've cloned AOSP source and copied the device's source to /device directory
This post was last modified: 06-12-2024, 12:11 AM by maxpayne.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Intelinsidecomputer
Intelinsidecomputer
Intelinsidecomputer
Techie Member
47
06-12-2024, 06:05 AM
#6
(06-12-2024, 12:00 AM)maxpayne
(28-11-2024, 02:30 PM)Intelinsidecomputer Also how i will need to reflash the preloader because i get error 4032 on sp flash tools and when used mtkclient it just stucks and then gives error. 

Run the commands

Code:

. build/envsetup.sh
lunch

and share the output.
I take it you've cloned AOSP source and copied the device's source to /device directory
i think i need to build with makeMtk file in complete-build-package. The things in devices folder are missing kernel configs and vendors. And what that command will build?Also the firmware they sent me were built using these files, so i don't think its their fault, its my device. Also my device is Teslo Locked (UK Carrier). Does this inpact anything?

I will
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,491
07-12-2024, 06:14 AM
#7
Before building check your pc requirements because low ram and internet speed will either slow down the build or give u error when syncing the tree
Intelinsidecomputer
Intelinsidecomputer
Intelinsidecomputer
Techie Member
47
07-12-2024, 08:18 AM
#8
(07-12-2024, 06:14 AM)kelvinchinedu Before building check your pc requirements because low ram and internet speed will either slow down the build or give u error when syncing the tree

Okay i fixed my phone, with the same firmware they sent, by holding + button before connecting, but for building, THIS IS NOT AOSP!!!. It works bit different, and is for mediatek devices only. I will extract the zip file using linux and try again, maybe some "makefile" got replaced that contained everything when extracted using windows.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt