TA backup failed on SO-0H! - Xperia Z5 Q&A, Help & Troubleshooting

Hello all !
After countless reading and attempts I have not been able to backup my TA partition using any of the tools, especially Backup TA V2. I have Docomo SO-01H with Bootloader unlock allowed: yes. I downgraded to two MM roms and a Lolipop rom (flashed ftf specific to SO-01H), tried using the tool so many times but it always gives errors such as:
dirtycow failed
Error during dirtycow, please reboot and try again.
Pulling image
remote object '/data/local/tmp/TA_SO-01H_BH905YWV54_Sun0526-20192.img' does not exist
Cleaning up
TA Backup Failed!! Please reboot and try again.
NOTE: If you are running Android Nougat, you need to downgrade to use this tool.
Press any key to continue . . .
Sometimes it shows 'sorry, ta dump is not safe...'
I have USB Debugging and unknown sources checked. I also tried using Flashtool but it gave me two files, 1.ta and 2.ta and i dont know what to do with them. both files are aound 135 kb only.
Please help!
Edit: the title should be read as TA backup failed on SO-01H!
This is my first post, inconvenience is regretted.

Related

Urgent help required..bricked x10i

Hi Friends,
I have X10i, which was accidentally bricked last month. I have tried various options but couldn't find a solution.
Thorough analysis suggested that of all other failed methods...I found these clues..
when I use flasher tool from wotan to flash my mobile it says
ERROR: file header write failed.
few google searches suggested that this might be an issue where "NAND RAM" might be corrupted...
But, while flashing my phone with flashtool, I get a message that kernel.sin was flashed however i'm unable to flash "loader.sin" in my phone,
so if i'm not worng, please correct..if i'm........ if 'm able to flash kernel into my phone that means my NAND ram is not corrupt (no hardware problem)?
here some senior member has posted that
http://forum.xda-developers.com/showthread.php?t=1457458
how to flash a GalaxyS2, for the same problem, however ODIN doesn't work for Xperia X10i.
Looking out for suggestion, other than using the phone as paperweight...
Thanks in advance
u can try boot sin files using fastboot.
i think commands are:
fastboot flash boot kernel.sin
fastboot flash userdata userdata.sin
fastboot flash system system.sin
fastboot reboot
Click to expand...
Click to collapse
U get sin files after unpack ftf file with rom

[SOLVED] SM-G930FD: DRK error + locked bootloader = bricked phone?

Hi all,
After screwing up my efs partition, I was finally able to make my phone boot with a stock ROM by installing TWRP and no-verity-opt-encrypt (none of the other options in this guide worked).
But it seems after re-installing the stock ROM the "OEM unlock" option was disabled somehow and after powering off my phone it didn't boot again because of TWRP. I reinstalled the stock ROM, but the DRK error is back.
So:
- I can't boot the stock ROM because I'm getting the DRK error.
- I can't install TWRP and no-verity-opt-encrypt because OEM unlock is disabled.
Any idea about what I can try to fix it? Or am I completely screwed up?
EDIT: I forgot to mention that I still can flash and boot Combination ROM, but there's no way to unlock the bootloader from there as far as I know.
EDIT 2: Solution
I don't fully understand your post, let's make something clear:
Flashing stockrom via Odin/KIES gives you the DRK Error after/while booting
You currently can not flash TWRP, as OEM Lock is on
You currently do not have TWRP because you flashed the stockrom
You do not have a Backup of your /efs partition
AFAIK things like the IMEI are stored in the EFS partition, and it really isn't a good idea to do anything with it unless you have a backup
jaannnis said:
I don't fully understand your post, let's make something clear:
Flashing stockrom via Odin/KIES gives you the DRK Error after/while booting
You currently can not flash TWRP, as OEM Lock is on
You currently do not have TWRP because you flashed the stockrom
You do not have a Backup of your /efs partition
AFAIK things like the IMEI are stored in the EFS partition, and it really isn't a good idea to do anything with it unless you have a backup
Click to expand...
Click to collapse
Hi jaannnis, thanks for your reply.
Yes, everything you say is correct.
Regarding the third point, I had TWRP, but I replaced it with the stock bootloader after the phone stopped booting with TWRP due to OEM being locked.
I thought I had a backup of my EFS partition, but it turned out to be corrupted somehow. But even if I had a valid backup of the EFS partition, how can I restore it with a locked bootloader?
Anyway, the IMEI is not an issue. Actually, after my EFS partition became corrupt, I was still able to use restore the IMEI using Combination ROM and then boot the stock ROM using no-verity-opt-encrypt and use the phone to connect to the network with the correct IMEI.
Solved!
OK, I managed to solve it!
I solved the steps in this post in a Spanish forum.
These are the steps for those who don't speak Spanish:
Install Combination ROM and check the IMEI is correct by typing *#06# in IME as explained in the XDA post by CuBz90 mentioned before.
Untar BL and AP from stock ROM and tar them again containing only cm.bin and sboot.bin in BL and boot.img and system.img in AP. This somehow allowed to boot the stock ROM bypassing the DRK error but with some parts missing like Recovery or Google Apps.
That's anyway enough to be able to enable "OEM unlock".
After unlocking OEM, I was able to flash a full stock ROM and TWRP.
Apply no-verity-opt-encrypt from TWRP as explained in the XDA post mentioned before
is it easy for you to upload BL and AP which you created because I don't know how to create them as you write.
greeceeeee said:
is it easy for you to upload BL and AP which you created because I don't know how to create them as you write.
Click to expand...
Click to collapse
I think you should usually use a stock rom specific to your phone because of the modem drivers and all that stuff, but for this purpose any version may work since you don't actually need to make phone calls and it's only for unlocking the OEM.
If you use Windows, you can use 7-zip to untar the AP and BL files included in the stock rom and tar new ones with the files I mentioned.
I did this almost five months ago and I no longer have the AP and BL files I used, but I still have a copy of the stock rom for my phone (G930FXXS1DQHM_G930FOJV1DQEB_XSG).
I will try to pack the special AP and BL files again and upload them, but it can take ages with my upload speed. It won't probably finish before tomorrow.
Edit: here it is: https://chuso.net/tmp/G930FXXS1DQG4_G930FOJV1DQEB_XSG_nodrk.zip
https://forum.xda-developers.com/general/general/solved-bypass-frp-lock-drk-error-t3779082
Try this method it will help tou a lot
Has anyone tried this method and has it worked on anyone apart from u with the same firmware on G930F/FD?

[GUIDE] How to restore IMEI permanently after using factory flash

Warning
i m not responsible if any thing went wrong with your phone
use this guide at your own risk
and this guide is only for restoring your lost IMEI during the flashing procees
it is not for changing your imei
this guide is for those users who have used "factory flash.bat"
And lost their phone IMEI & Persist partition
flash tissot_images_7.8.23_7.1 firmware using edl via mi flash
(to boot your phone to edl
boot it to fastboot and give the command "fastboot oem edl")
after flashing process is completed
just press and hold power key of the phone until you feel vibration
and let the phone to boot to normal
_____________________________________________________________________________________________________________________
if your persist partition is currupted
than you will notice that your phone will automatically reboots in under 60 seconds
_____________________________________________________________________________________________________________________
to restore persist partition download persist.img
reboot phone to twrp
and copy persist.img file to root of phone storage
now open terminal in twrp and give the following command
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
this will restore your persist partition and fixes the issue of reboot
______________________________________________________________________________________________________________________
now to restore your imei
first download the following files
qualcomm_diag_driver.zip
MI A1 QCN AND PERSIST
imei to hex converter
hex editor
NEW QCN AND PERSIST
and
QPST
______________________________________________________________________________________________________________________
Restoring IMEI​
now search for qcn edit guide on xda
convert your imei to hex using imei converter
and replace the required value with yours
now switch on the phone
and type *#*#717717#*#*
this will enable diag port of your phone
open qpst software download tool
go to restore tab
browse the ports and select qualcomm hs-usb diagnostics
browse xQCN file and select your modified file
enable allow phone mishmatch
click on start and wait for the process to be completed
when the status shows that "Restore is completed"
restart your phone
and your imei is now restored
_____________________________________________________________________________________________________________________
NOTE:
in the case you if your imei is not restored using above steps
than you need to wipe EFS and repeat the process from begening
to wipe your EFS use the following commands in twrp terminal
dd if=/dev/zero of=/dev/block/mmcblk0p14
dd if=/dev/zero of=/dev/block/mmcblk0p15
_____________________________________________________________________________________________________________________
thankss
Shared on telegram, thanks!
I'm not using qcn
not edl mode using
1. Flashing 7.8.23
2. 7.8.23 root ( patched_boot.img flashin using fastboot mode )
3. Usb diag mode on (dialler open trying or adb using su diag mode open )
4. Dualwriteimei using and restart phone aaaand booom imei restore (dualwriteimei is youtube searching only small size program and very very best )
5.Phone fastboot mode on and 8.1.10 rom flashing and booom
New telegram link:
https://t.me/joinchat/G1MMfkc6EbEZL-62Ii5YmA
thats not permanen, at last for me, maybe work on 7.8.23, but after update via ota or fastboot, after reboot or reset factory on setting imei unknow again
my solution right now, using custom rom, with august security and push modem file from latest stock rom for update baseband
It works, but if you want to update whole system, you have to backup partitions modemst1, modemst2 or EFS in TWRP, after you backup that, flash the new oreo firmware without data, if dont starts, recover the EFS and try again, if dont, do factory reset and if you haven't IMEI yet, restore de EFS, the problem here is, if you restart your EFS would be corrupted, so you have to restore the EFS and force update to the lastest update with EFS already installed, if youre lucky your EFS never be corrupted again
In my case everything is working fine
No issue upon updating or restoring
than so much raj bro 100% working method
I followed this procedure some time ago and haven't had issues. However today I flashed a new Oreo image and suddenly my IMEI was 0 again.
I restored my EFS partition using TWRP and now everything is fine again, except that my smallband version is back to 953_GEN_PACK-1.... which I think is the version that shipped with tissot_images_7.8.23_7.1. I wonder if it's a problem to run with an older smallband version?
Someone there who can help me fixing my IMEI? I have pushed the "flash_factory.bat"-button...
Mi A1 is working and rooted, no 30sec boot loop anymore, but QPST recognize my mobile just for secondes.
I'm holding my IMEIs in hand but unable to get them into QCN sinced days.
i was Restored persist.img via twrp terminal but my phone still restaring continously
raaz1431994 said:
Warning
i m not responsible if any thing went wrong with your phone
use this guide at your own risk
and this guide is only for restoring your lost IMEI during the flashing procees
it is not for changing your imei
this guide is for those users who have used "factory flash.bat"
And lost their phone IMEI & Persist partition
flash tissot_images_7.8.23_7.1 firmware using edl via mi flash
(to boot your phone to edl
boot it to fastboot and give the command "fastboot oem edl")
after flashing process is completed
just press and hold power key of the phone until you feel vibration
and let the phone to boot to normal
_____________________________________________________________________________________________________________________
if your persist partition is currupted
than you will notice that your phone will automatically reboots in under 60 seconds
_____________________________________________________________________________________________________________________
to restore persist partition download persist.img
reboot phone to twrp
and copy persist.img file to root of phone storage
now open terminal in twrp and give the following command
dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
this will restore your persist partition and fixes the issue of reboot
______________________________________________________________________________________________________________________
now to restore your imei
first download the following files
qualcomm_diag_driver.zip
MI A1 QCN AND PERSIST
imei to hex converter
hex editor
NEW QCN AND PERSIST
and
QPST
______________________________________________________________________________________________________________________
Restoring IMEI​
now search for qcn edit guide on xda
convert your imei to hex using imei converter
and replace the required value with yours
now switch on the phone
and type *#*#717717#*#*
this will enable diag port of your phone
open qpst software download tool
go to restore tab
browse the ports and select qualcomm hs-usb diagnostics
browse xQCN file and select your modified file
enable allow phone mishmatch
click on start and wait for the process to be completed
when the status shows that "Restore is completed"
restart your phone
and your imei is now restored
_____________________________________________________________________________________________________________________
NOTE:
in the case you if your imei is not restored using above steps
than you need to wipe EFS and repeat the process from begening
to wipe your EFS use the following commands in twrp terminal
dd if=/dev/zero of=/dev/block/mmcblk0p14
dd if=/dev/zero of=/dev/block/mmcblk0p15
_____________________________________________________________________________________________________________________
if anyone have any issue in editing qcn to write your imei
plz join the telegram group Qualcomm IMEI Solution
thankss
Click to expand...
Click to collapse
Thanks Boss for your help
i was Restored persist.img via twrp terminal but my phone still restaring continously.....wht should i do???
Please Tell me boss.....i a totaly helpless
Can anyone please make a video tutorial regarding this fix or any referral video?
It'll be great help for me. I would really appreciate if anyone of you do this for me or users like us. PLEASE
?
imu hasib said:
it'll be great help for me. I would really appreciate if anyone of you do this for me or users like us. Please
?
Click to expand...
Click to collapse
after flashing rom and fixing persist, root your phone using twrp and magisk then use qpst , otherwise does not work
---------- Post added at 10:16 AM ---------- Previous post was at 09:54 AM ----------
fayshal_ahamed said:
thanks boss for your help
i was restored persist.img via twrp terminal but my phone still restaring continously.....wht should i do???
Please tell me boss.....i a totaly helpless
Click to expand...
Click to collapse
follow the steps and root your phone then connect with qualcomm drivers in qpst , restore qcn file created for ur imei,
THANK U @raaz1431994 UR SOUTION WORKED 4 ME
Solved it. Thank you, RAAZ MALHOTRA You are one of a kind!
Byramklc said:
I'm not using qcn
not edl mode using
1. Flashing 7.8.23
2. 7.8.23 root ( patched_boot.img flashin using fastboot mode )
3. Usb diag mode on (dialler open trying or adb using su diag mode open )
4. Dualwriteimei using and restart phone aaaand booom imei restore (dualwriteimei is youtube searching only small size program and very very best )
5.Phone fastboot mode on and 8.1.10 rom flashing and booom
Click to expand...
Click to collapse
Can You help me with that?
Or any one can help me to restore my stupid imei?
I dont understend 1# method
and your method dont work for me...
Im sooo stupid kiddo :crying::crying::crying:
Bro my telegram @Byramklc add me
Sent from my Mi A1 using XDA Labs
While I did finally manage to restore my IMEI, I found your "guide" really confusing.
You should without a doubt write it better, so people might understand it better as well.
I've been doing custom Android stuff for around 10 years. While I have never developed anything, I have gotten as far as to the point to where I have had to edit files and input hex.
You should _really_ mention when and how you use the files you provided.
You should also provide the "how-to" on editing the files.
I finally got it to work, but I had to read three different guides before I got it.
Still.. Thanks
Can someone confirm that PSN and FSN will missing if using flash_factory ?? (FSN&PSN can be found on *#*#6484#*#* Version Information)
hello guys ,thanks for the guide, i've restored my imei but the mobile data network still wont work, what it can be?
EDIT: I've resolved by using a newer version of qpst software, the 2.7.472.4 one
I managed to get IMEI back wifi and bluetooth working but sim network lost.
Sent the mobile to service center and they changed the motherboard.
Is this the only solution.......
---------- Post added at 06:28 AM ---------- Previous post was at 06:26 AM ----------
were you able to restore sim network as well???????
If yes pls write a complete guide with all the tools and files used

How to Restore TA and Relock bootloader (dirty cow)

can someone help me how to restore TA relock bootloader, I have searched in various threads but the tutorial is difficult to understand like adb shelll is done when twrp,?
and I have a TA backup using dirty cow,
My phone os Nougat
Thankss
tumincm said:
can someone help me how to restore TA relock bootloader, I have searched in various threads but the tutorial is difficult to understand like adb shelll is done when twrp,?
and I have a TA backup using dirty cow,
My phone os Nougat
Thankss
Click to expand...
Click to collapse
1.Put your ta buckup image file anywhere in your phone.
2.boot to twrp
3.connect to pc
3.type
adb shell dd if=<ta image path> of=/dev/block/bootdevice/by-name/TA
using adb
4. when it done, your phone will not boot. connect to pc flashmode and restore using xperia companion or flashtool

[SOLVED] Nokia 3 Re-locked bootloader

Hi everybody,
A few days ago, I found a way to restore my Nokia 3, because it was dead (at least, I thought that). I flashed the ROM through brom mode, so it's working again. But there's a problem. After I made it up and running, I tried to root it and install TWRP, but I had a few errors, and when I reflashed it, accidentally formatted everything (SP Flash Tool Format all+download). Soo, I lost IMEI, and SN too. I successfully reflashed nvram partition, but I can't restore IMEI, and SN. I found the real SN from a previously opened CMD prompt, but I don't have an idea how to restore it. Unfortunately, with formatting everything, I also locked back the bootloader too, moreover I don't have a real SN on the device (123456789ABCDEF) so I can't unlock it through fastboot. I also made a ROM file for WwR to extract the ROM, so I have the nvdata, nvram, protect1, protect2 and other partitions (attached a picture of them), that 've been copied before fully wiping the device. I was wondering about, is it possible to reflash some partitions to get back the IMEI and SN, and with the real SN on the device unlock the bootloader again?
gurtnyi said:
Hi everybody,
A few days ago, I found a way to restore my Nokia 3, because it was dead (at least, I thought that). I flashed the ROM through brom mode, so it's working again. But there's a problem. After I made it up and running, I tried to root it and install TWRP, but I had a few errors, and when I reflashed it, accidentally formatted everything (SP Flash Tool Format all+download). Soo, I lost IMEI, and SN too. I successfully reflashed nvram partition, but I can't restore IMEI, and SN. I found the real SN from a previously opened CMD prompt, but I don't have an idea how to restore it. Unfortunately, with formatting everything, I also locked back the bootloader too, moreover I don't have a real SN on the device (123456789ABCDEF) so I can't unlock it through fastboot. I also made a ROM file for WwR to extract the ROM, so I have the nvdata, nvram, protect1, protect2 and other partitions (attached a picture of them), that 've been copied before fully wiping the device. I was wondering about, is it possible to reflash some partitions to get back the IMEI and SN, and with the real SN on the device unlock the bootloader again?
Click to expand...
Click to collapse
have you been able to fix it?
mvikrant97 said:
have you been able to fix it?
Click to expand...
Click to collapse
Fortunately yes, reflashed protect1, protect2, proinfo partitions from a full phone backup made earlier with WWR MTK (I guess that was its name)
For everybody, who's reading this cause having the same problem:
Instead of trying that as a method (you can, but do it on your own risk), write me a dm and I'll try to preapare some instructions for you iny free time.
Ps.: proinfo contains the SN, so with a hex editor, I was able to check my SN and I could probably rewrite it too.

Categories

Resources