Reflashing GPT partitions on mediatek device - Redmi 9C Questions & Answers

Hi, this is my first post on XDA forums.
While unbricking my hard bricked Redmi 9 device, I am getting this error when running any mtkclient command.
Code:
struct.error: argument out of range
Searching for this error led me to this github issue where the owner mentioned that `That means that your gpt table likely is broken and needs to be reflashed.`. So the question is, how to reflash GPT partition?

Plz halp me

Related

[Q] Urgent help likely hardbrick D:

Hi guys I have a problem, I had in my hands a p7 of an old owner who does not know how he had cleared the imei and the cell did not take more, never mind if it could not restore it I would have used only with wifi but last night in an attempt to insert a hypothetical backup imei think I damaged part of the system and the bootloader because now the phone in question after the restart does not turn any more, and the LED flashes twice green then red twice and twice again green
Any key combination I try not do anything and if I connect it to the PC is detected with an unknown device name in Chinese ._. how can I rearrange the tuttooo ?? you help me prrgo T.T
thanks in advance to everyone I apologize if I had to put it in the post modding but I'm not sure where it belongs thanks
No one can help me?? D:
Do you have adb installed on your pc?
If so, is it working and does it show the serial number of the phone when typing adb devices?
darklife96 said:
No one can help me?? D:
Click to expand...
Click to collapse
Depends on how you were trying to restore imei. Describe step by step what have you done?
i've use 5iromtoolbox on my p7 with root and flash a corrupt imei backup (i think it was of another huawei phone) i don't think it can be bring at hardbrick :'(
P7 keeps imei in other partition than 5iromtoolbox makes backup of. Shortly, if you could make backup with this tool before and then try to restore it, you were just reflash some partition without any affect on imei but and without any consequences for device. But you have flashed partition from absolutely other device...
Blinking led means that some partition is corrupted or even maybe partition table. If it could be some partition that can be reflashed via fastboot, you could have a chance to unbrick it. But it's not.
Now the only way to unbrick it - is full reflash of whole memory using some manufacturer's hardware tool. So you're right, it's hardbricked.
Bring it to service. But I presume they will you offer replace of whole board that is comparable with price of the new device.
yes...there isn't no solution to flash new partition unless hardware flash tool? or ther is a guide to flash it (i think no)?

Need a way to fix efs and i have a secondary note 8

Ok I got a second note 8 in a different color so what I wanted to do was create a backup on my current one and transfer it into the new one which I did but i didn't realize I also restored the efs from my current one and I think I might have messed up my efs since I get no imei or base band unknown. I've read somewhere on xda that its possible to use a primary working efs then restore it to the defective one and then change the imei with adb, but im not sure if thats true. Currently im in the process of trying to download stock rom and refresh it but its not working at all what it does it installs but it gives me an error and reboots a couple of times then launches me to recovery with the message "Failed to verify dmverity hash tree". So now does anyone have any suggestions on what I can do?
Don't think there is a free fix for the note 8 available to the public yet. I'm having a similar error as well (instead failed to mount efs, similar error also caused by efs partition), after doing plently of research here are some links you should looks at.
Note: the model i own is a N950F maybe different to US model = N950U.
Paid solution:
https://forum.xda-developers.com/galaxy-note-8/help/unbrick-methods-t3703767
https://www.facebook.com/baselalzoupi (different guy but claiming to be able to fix it with binary 4 & 3, post in August, should still be first post on profile)
They all claim to be the world first but i believe they are all using the same tools. My research lead me to this:
http://forums.easy-firmware.com/sho...World-SM-G955F-Reset-EFS-Download-Mode-By-EFT (posted by admin, don't think they would false advertise their product)
http://forum.gsmhosting.com/vbb/f1014/first-world-sm-g955f-reset-efs-download-mode-eft-2289317/
I hadn't took the time to get myself an EFT Dongle 1.4.0, but would like know if anyone know if it works?
i know a fix
Omega_300 said:
i know a fix
message me on telegram
---------- Post added at 03:05 PM ---------- Previous post was at 02:51 PM ----------
this is my number +962770036565 only on telegram
ill help u fix it for free
Click to expand...
Click to collapse
more details of my problem on N950F:
stuck in boot animation on stock firmware and combination
error in recovery "E:failed to mount /efs (Invalid argument)"
Bootloader - prenormal state, binary 4 (latest), Download mode works (KNOX 1)
Caused by a non-signed efs.img flashed by odin.
UPDATE-
https://forum.xda-developers.com/ga...ide-fix-n950f-efs-failed-to-mount-dm-t3831184
anyone have a backup for efs n950f/ds exynos

Erased EFS partition / No IMEI / No Mobile Service from running fastboot erase modem

Hello,
I'm in quite the panic, as this is my daily driver.
It has been about 6 years since I have been on the XDA scene, and boy do I feel silly. I made the cardinal sin of not making back ups and plunging into a exciting tutorial on here to enable voLTE on my ROG 2. At some point the requested commands were executed as per the thread:
fastboot erase modemst1
fastboot erase modemst2
Click to expand...
Click to collapse
Since this point, my phone has been completely without service, and after nearly 12 hours of trying numerous fixes, I ask for help of the kind users of XDA once again.
My phone does have the boot loader unlocked, and is rooted. I have tried nearly every IMEI and EFS restore option on here, and even went as far as trying similar QCN and EFS flashes of other phones with the same chipset to no avail.
I believe at this point I need a kind user to upload their EFS partitions, or QCN backups (of course with their information masked) so I may flash my phone and edit my IMEI in the image. Or if anyone else knows of a better method im all ears.
Thank you all in advanced.
i guess someone earlier had a similar issue and was provided with the QCN file.
apollo3x said:
i guess someone earlier had a similar issue and was provided with the QCN file.
Click to expand...
Click to collapse
That would be lovely Thanks for the info.

Unlocking boot of half bricked Z6 L78121 (non PRO, Lite, nor Youth)

Hi Everyone!
This thread is maybe duplicated or the problem solved elsewhere, but there are lot of solutions, didn't helped me out.
So feel free, to link solutions, pobably i didn't tried.
So i bought a chineese Lenovo Z6, model no: L78121, JD20, variant: SM7 UFS.
It came with hieroglyphs .
I tried to searching for corresponding ROM, but every working ROM was chineese-english, and english is half-chineese, without playstore and google apps.
Flashing Global ROM wasn't successful, then i had a suggestion to flash a ROM of Youth, what also didn't worket, about 5 versions.
Later i suspected i need relock the bootloader, and i did.
Now i can't flash other ROMs, and despite i enable OEM bootloader unlock from developer menu, it doesn't affects. It means when i send "fastboot flashing unlock" , or " fastboot oem unlock-go" i got error message, that it not enabled
Code:
FAILED (remote: Flashing Unlock is not allowed)
The serial number is unfrotunatelly lot of ones (11111111111..) when i request from adb, but fastboot knows it well.
I have tried to make unkocked image at https://www.zui.com/iunlock , but still not arrived since 12 hours.
Could you please advice, how to repair, and flash a GLOBAL ROM to this device?
Thanks in advance!
This video can explain, that the problem.
That is the OEM unlocking on the developer menu doesn't affect state of enabling
Basically i would be happy if i could flash an original, GLOBAL ROM for my device, but unfortunaltelly i didn't find any.
The problem, as visible on the video on the link.
Now i need repair IMEI numbers, and serial also. I need the originals shown in the BOX.
Then i need to flash the original ROM.
As i think my first problem may occured by corrupted bootloader, but not 100% sure.
In this case i think my case could be progressed by any of the folowings:
-downloadable original bootloader for L78121 flashable by QFIL, or QPST,
-downloadable original global ROM for L78121 flashable by QFIL or QPST
-downloadable original update.zip for L78121 flashable from SD card by original recovery included bootloader
-advice, how to recover corrupted partition (probably bootloader) which doesn't detects unlocked state of bootloader
-advice, how to force unlocked state detection
-advice, how to recover imei numbers to original (now these are empty)
-advice, how to recover serial under number in
Hi, can anyone share the original global (seller) ROM for this device as I'm struggling to find any English-only ROM.
Here's the sources, if anyone wants to build:
lenovo_l78121_jd20_opensource_11.1.262.tar
drive.google.com
mforce2 said:
Here's the sources, if anyone wants to build:
lenovo_l78121_jd20_opensource_11.1.262.tar
drive.google.com
Click to expand...
Click to collapse
Many thanks!
As i am not expert at building, and at fast searching i didn't found description about how to build ROM from open source, do you have a suggestion, how to build and flash it to the phone, especially, i need overwrite the nvram.
Thanks in advance!
Sorry, I'm also not an expert. I think this will not help too much for your problem as it's just the open source code. For what you need I think it's some closed source stuff and individual settings.
mforce2 said:
Sorry, I'm also not an expert. I think this will not help too much for your problem as it's just the open source code. For what you need I think it's some closed source stuff and individual settings.
Click to expand...
Click to collapse
Today i had some time to play with, and i extracted the .tar file, under a linux virtual machine.
I found in it the README.txt and followed instructions:
run the ./kernel_build.sh , and i ran.
It says, i got the kernel image
out/target/product/jd20/obj/kernel/msm-4.14/arch/arm64/boot
After the build process i really found the created boot folder, but i don't know how to go forward, beacuse QFIL, and QPST seems like cannot working with theese files.
Can someboby help, how to do it?
Thanks!
fastboot flash unlock vbmeta.img
fastboot oem unlock-go
vbmeta.img from "[RECOVERY] TWRP 3.3.1 Lenovo Z6 Pro" XDA thread.
Heyyo @denniss_hun I did try working on L78121 but tbh I gave up due to lack of time and I don't own the device. I made TWRP tree here plus I started work on LineageOS trees for it. The kernel still needs a lot of work and the LineageOS trees too.
Lenovo Z6 (AKA, jd20 L78121)
WIP TWRP and Custom ROM trees. Lenovo Z6 (AKA, jd20 L78121) has 6 repositories available. Follow their code on GitHub.
github.com

Vendor missing

Hopefully someone can help with this or guide me in the right direction.
I have been attempting to recover a k20 pro. At this point it ends with the error 'missing vendor file'.
Is there a way to repair this?
afrokorean said:
Hopefully someone can help with this or guide me in the right direction.
I have been attempting to recover a k20 pro. At this point it ends with the error 'missing vendor file'.
Is there a way to repair this?
Click to expand...
Click to collapse
Flash fastboot ROM with Mi flash tool and you should be good

Categories

Resources