Hovatek Forum MOBILE Android Repair IMEI on Sony Xperia
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


Repair IMEI on Sony Xperia

Repair IMEI on Sony Xperia

Pages (2): Previous 1 2
4qx
4qx
4qx
Junior Member
19
23-05-2022, 08:11 PM
#11



Thank you @MaxPayne. I really appreciate your taking the time to help, no one else I tried asking on different sites helped (and in some cases they were just deleting the post). The setprop commands you provided enabled diag mode, though the phone kept reconnecting after each executed command for some reason. I also tried installing Magisk module twice but I'm not sure if it worked because it doesn't show in Modules tab. Anyway, QFIL, QPST and EFS' NV Tools can all connect to my phone through its COM port now and I attempted IMEI restorations, but none of my attempts worked. Here's what I tried:

Backing up the .qcn in different ways via QFIL, QPST and NV Tools; editing the IMEI using NV Tools and Qualcomm IMEI Rebuilder, then checking that the file actually got edited and contained proper IMEI; restoring the qcn with QPST and QFIL (backup and restore with and without Muti-Sim option). In spite of attempting all these variations, the phone keeps persistently showing the broken IMEI via Settings and *#06# dial code after rebooting. Curiously enough, in case of trying to write the correct IMEI with NV Tools, there's an error reading "NV_ERR_READ_ONLY_NV_ITEM", as opposed to QFIL and QPST which simply show success messages.

Once again... any advice?
This post was last modified: 23-05-2022, 08:20 PM by 4qx.
maxpayne
maxpayne
maxpayne
Contributor
2,873
26-05-2022, 09:14 AM
#12
(23-05-2022, 08:11 PM)4qx Thank you @MaxPayne. I really appreciate your taking the time to help, no one else I tried asking on different sites helped (and in some cases they were just deleting the post). The setprop commands you provided enabled diag mode, though the phone kept reconnecting after each executed command for some reason. I also tried installing Magisk module twice but I'm not sure if it worked because it doesn't show in Modules tab. Anyway, QFIL, QPST and EFS' NV Tools can all connect to my phone through its COM port now and I attempted IMEI restorations, but none of my attempts worked. Here's what I tried:

Backing up the .qcn in different ways via QFIL, QPST and NV Tools; editing the IMEI using NV Tools and Qualcomm IMEI Rebuilder, then checking that the file actually got edited and contained proper IMEI; restoring the qcn with QPST and QFIL (backup and restore with and without Muti-Sim option). In spite of attempting all these variations, the phone keeps persistently showing the broken IMEI via Settings and *#06# dial code after rebooting. Curiously enough, in case of trying to write the correct IMEI with NV Tools, there's an error reading "NV_ERR_READ_ONLY_NV_ITEM", as opposed to QFIL and QPST which simply show success messages.

Once again... any advice?

Can you somehow get a QCN backup from a working phone? How did your phone lose IMEI? Have you flashed the latest firmware for your region / build / variant?
4qx
4qx
4qx
Junior Member
19
28-05-2022, 08:30 AM
#13
(26-05-2022, 09:14 AM)maxpayne Can you somehow get a QCN backup from a working phone?

Sadly, no.
(26-05-2022, 09:14 AM)maxpayne How did your phone lose IMEI?

Wiped something I shouldn't have by accident.
(26-05-2022, 09:14 AM)maxpayne Have you flashed the latest firmware for your region / build / variant?
Yes, 47.2.B.5.38 (Android 9) for SO-02K from ftf.andro.plus

I've been testing a bunch of ROMs: 47.1.F.1.105 and 47.1.B.0.542 (Android 8), HavocOS v4.15 (Android 11) and Lineage 19.1 v1.3 (Android 12), but on those ROMs I wasn't even able to activate Diag mode and open the phone's COM port. Pretty lucky that I just happened to have been on 47.2.B.5.38, otherwise I would have thought that even enabling Diag mode is impossible. Ultimately I flashed back to 47.2.B.5.38 and since several guides online suggested that in order to remove the IMEI write protection some partitions must first be removed, after backing up here's what I did:

Entered twrp to erase modemst1, modemst2, fsg partitions via these commands dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1[b] and delete persist and modem, powered off, entered flash mode and flashed the stock ROM's persist and modem via Newflasher v20 (adb's fastboot refused to flash them). As a result, NV Tools responds to every IMEI write command with success, but without any actual result, and QFIL and QPST refuse to backup or restore anything.

I also discovered the following:
- To enable or disable Diag mode, Xperia has to be put in [b]No data transfer
USB mode and these commands are needed:
adb shell
su
setprop persist.sys.usb.config diag,serial_cdev,rmnet,adb

- Qualcomm Smartphone Write IMEI Tool and WriteIMEI are equally unable to write in the IMEI

Any suggestions are... welcomed.
maxpayne
maxpayne
maxpayne
Contributor
2,873
31-05-2022, 04:37 PM
#14
(28-05-2022, 08:30 AM)4qx Any suggestions are... welcomed.

It appears finding an NV backup is the way
4qx
4qx
4qx
Junior Member
19
01-06-2022, 12:13 AM
#15



Hmm. Is it possible to edit modemst1 and 2 .img files?
maxpayne
maxpayne
maxpayne
Contributor
2,873
03-06-2022, 02:21 PM
#16
(01-06-2022, 12:13 AM)4qx Hmm. Is it possible to edit modemst1 and 2 .img files?

I don't think this will do much good as we have nothing to compare with. I might be wrong though. Under your Settings screen, what do you have under Software version and Custom version? I think you need to flash the right cust.
SE Tool appears to support this model
This post was last modified: 03-06-2022, 02:22 PM by maxpayne.
4qx
4qx
4qx
Junior Member
19
03-06-2022, 06:44 PM
#17
(03-06-2022, 02:21 PM)maxpayne Under your  Settings screen, what do you have under Software version and Custom version? I think you need to flash the right cust.
There's nothing labeled Software version or Custom version unfortunately. App info on Settings says version 9, don't think that's what you're after though

(03-06-2022, 02:21 PM)maxpayne I don't think this will do much good as we have nothing to compare with.
I'm open to trying though

(03-06-2022, 02:21 PM)maxpayne SE Tool appears to support this model
Great. How could I use this SE Tool?
maxpayne
maxpayne
maxpayne
Contributor
2,873
04-06-2022, 07:05 AM
#18
(03-06-2022, 06:44 PM)4qx Great. How could I use this SE Tool?

Its a paid tool . You can look it up
4qx
4qx
4qx
Junior Member
19
07-06-2022, 12:56 AM
#19
It won't open past the splash, "SETOOL2 SMARTCARD NOT FOUND"
Sheikh Sb
Sheikh Sb
Sheikh Sb
Newbie
1
26-04-2023, 02:29 PM
#20



(12-05-2022, 10:34 PM)4qx
(03-05-2022, 02:54 PM)maxpayne
(02-05-2022, 12:57 AM)4qx XZ1 Compact / SO-02K

Do you have root on the phone?

Yes! Sorry about the delayed response

Can you please guide how you root your sony phone????
Pages (2): Previous 1 2
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram