Posts: 55
Threads: 5
Joined: Dec 2017
Reputation:
0
Who made it? Which person or company? There are lot of unknown things such as authentication file. So little information about it on internet. There is help in program which mentions Security Download, SCERT file, certification file, authenitication file...
Where can I get these files? How can I flash my phone with my previously backed up files? I used MTK Droid Tool to make scatter file for my lg x150 (bello 2). But I cannot flash them using spflashtool. My scatter file is improperly loaded, even when i put it in same folder with all flash files i made, all properly named.
But flashing works with one another firmware from lg x155, which is almost same as my phone.
Actually my scatter file displays properly in spflashtool when i put it only with system.img, but not when all files are there.
But when I use lg x155 flash files it is displayed properly and flashes properly. Difference is that their files are called system-sign.img and similar.
They also have checksum.ini and much more files...
I noticed that spflashtool looks for these files when i supply it with system.img and bootloader.bin only:
checksum.ini, preloader-sign.bin, preloader-verified.bin.
I used procmon by sysinternals to detect that.
So can anyone explain why i cannot flash files i backed up properly, and why is there so little information about signing, verification and security on internet for spflashtool or firmwares...?
When I try to flash using my firmware as I said it does not even load scatter file properly. It displays all zeroes as size for addresses. Sometimes it does when i use only scatter file and system.img, but still doesn't flash. I used latest versions of all tools from androidmtk.org
Please can somebody explain? How to make auth files or something like that?
See my 3 attachments below.
I've heard something about unlocking bootloader, is it helpful in my case? Also these security settings mentioned in spflashtool help files don't exist in spflashtool!
(This post was last modified: 20-01-2018, 08:12 PM by
nijazxp.
Edit Reason: added 3 attachments
)
Posts: 55
Threads: 5
Joined: Dec 2017
Reputation:
0
I made them one by one, these are all made by myself, using spflashtool 5.1744, downloaded from androidmtk.com. I made scatter file using mtk droid tool 2.5.3 also downloaded from androidmtk.com. And yes I watched all your videos on youtube and guides here. Also read all androidmtk.com articles. But nothing works. I also cannot extract any img file i made (using ext4unpacker and mtk extractor). My spflashtool doesn't load scatter file properly. Here is pic. Or maybe problem is that i should have backed them up using mtk droid tool??? I backed them up using spflashtool readback method, and made sure all bytes size and linear start address are ok, as written in scatter file.
I now noticed you said in that tutorial "For newer devices (Lollipop and Above) and Mediatek Chipsets, use the Miracle Box method". But when I download and open miracle box loader it just freezes at loading (skull) screen. If I click on it it closes. I am using windows 10. Should I try os lower than win 10?
(This post was last modified: 16-12-2017, 10:49 PM by
nijazxp.)
Posts: 55
Threads: 5
Joined: Dec 2017
Reputation:
0
I will try miracle box on windows xp or 7 when I can. I have already fully disabled windows defender and have no antivirus. Mtk droid tool shows yellow button and when i click root option appears which ask should i use already installed root or not, and in bot cases it stops working during rooting. My phone is already rooted. I used spflashtool readback to make all my files, i entered linear start address and size in hex values to backup each file. I read info from my scatter file made by mtk droid tool. Mtk droid tool is able to only make scatter file, but not to make backup because of root problem.
I noticed problem is in bootloader, although I think I made it right. Scatter file is not loaded because of bootloader. That is what procmon observed. Somebody said preloader is needed even when we only want to flash some other, one only file, like system.img. Bootloader needs to be present.
When I put lg x155 preloader with my files, my scatter loads properly. But it cannot flash any of my files because it is asking for verified flash files, because preloader is of that type. If I had normal preloader I would be able to flash normal files (those without -sign and similar words).
I can only do 3 things:
- flash downloaded firmwares of lgx155 or lgx160 on my lgx150, ones with "-sign" files as many times as i want
- backup my firmware as many times as i want, by loading downloaded scatter file that comes with firmware files in folder, backup works in that case, but i will only of course backup this lgx155, no longer x150 which i want, but i doubt that even their preloader will work when not signed (when backed up)
- install different os and try miraclebox
Ther is no difference in preloader info in scatter file in my and their scatter file. Only difference is file names, and this info at beggining of file:
project: MTDTtest
project: v10
Try my scatter file and bootloader and you will se it doesn't show up properly.
Here's what is displayed when i use their preloader with my flash files. It asks for signed type of flash files because bootloader is that way.
I packed preloader in zip file, for you.
Can I somehow remove sign header from their preloader using some hex editor...hmm...?
Or add sign header from their system.img and other files to my?
Is signed file same as normal file with header added, so its only few more bytes which can be removed?
Or is sign file completely converted or encrypted file?
I am sure i made my preloader backup properly. When I used readback i used these settings:
linear_start_addr: 0x0
partition_size: 0x880000
That is what i put to backup in hex.
I did not make mistake there.
When converted to decimal its:
linear_start_addr: 0
partition_size: 8912896
And yes my preloader size is exactly 8,912,896 bytes
I know what I am doing.
Oh, their preloader size is 116,568 bytes! Much less than my! I thought it is supposed to be larger because of sign header or something.
I uploaded their (working) preloader also. See preloader v10.zip
I found something about signing at: wiki.archlinux.org/index.php/Secure_Boot
Maybe if i signed my other files they would work. It's weird why preloader works which is wrong size (different than scatter file says), while one that is right size doesn't work!
I think my phone maybe accepts only signed files?
And no , ticking other files when scatter file doesn't work, doesn't work, buttons disabled...
You can see in pics that I only ticked bootloader and system, but it is same with all other files.
(This post was last modified: 19-12-2017, 04:47 PM by
nijazxp.)