yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact General] Rekoil:
I know what GPT and MBR are, I'm just wondering how you're interacting with the map on mmcblk0. Are you running gdisk on the phone itself, or are you just dd'ing the first blocks of mmcblk0, modifying them on the computer and writing them back?

Also, this whole thing about protecting noob users I don't buy. Give ample warning and if they break their phones then tough ****, nobody learns anything if we're all being treated like a piece of glass.

I did ask that initially, haven't had time to check it out myself so an answer to that would be appreciated as well.
[Xperia Z1 Compact General] Riyal:
"dd" command on linux won't alter the partition table though... Like you can't dd a 2gb dump into a 1gb partition it would mess up the content of the dump cause allocated data on a disk is scattered throughout random blocks. And yes the only way to alter it is thru gdisk, gparted, fdisk,fsdisk or there might be some other programs other than I mentioned.
[Xperia Z1 Compact General] Rekoil:
No but if you run "dd if=/dev/mmcblk0 of=gpt.img count=10" you'll get the first 10 blocks of mmcblk0, which should contain the partition map. That's what I was referring to. Or are you simply running gdisk on the phone itself?
[Xperia Z1 Compact General] munjeni:
http://manual.aptosid.com/en/part-gdisk-en.htm
[Xperia Z1 Compact General] munjeni:
Flashtool... submenu file -> switch pro, than submenu advanced -> trim area -> backup

Gdisk... you can find gdisk tool for arm by searching xda! I not going to post dangerous tool since I have deleted them! You no need these tool trust me! :)
[Xperia Z1 Compact General] munjeni:
Probably yes!
[Xperia Z1 Compact General] munjeni:
I dont know what is diferencie between /dev/block/mmcblk0XX and /dev/block/platform/msm_sdcc.1/by-name/PARTITION_NAME but I think there is diferencie since thats platform implementation for disk management on msm sdcc ... all partitions is labeled by "name", everybody use platform path instead of using standard /dev/blocl/mmcblk0 path! My sugestion to you is do not play with your phone internal memory if you want your phone no dead, forget gdisk and mmcblk0, playing with them is danger for your phone!
[Xperia Z1 Compact General] Rekoil:
Yeah I'm not planning on doing anything (especially not now that my screen is cracked and touch stopped working :(...) I was just wondering.
[Xperia Z1 Compact General] elzhekache:
Hard brick Sony Xperia Z1 Compact

Hello! I really need your help ..I have hard brick Sony Xperia Z1 Compact,button near the SIM card does not work, flash mode and fast boot mode does not work,bootloader unlocked,hard brick occurred from the fact that I made a backup in TWRP (system\data\trim) of the firmware CyanogenMod 11\4.4 kitkat and after restore this backup on new firmware D5503_14.3.A.0​.757_sony.ftf..

In connecting to usb - red LED flashes,in the program s1tool I select flash - FlashTool Package - file firmware D5503_14.4.A.0.108_PCT_Sony.ftf without files system.sin and userdata.sin,after connect testpoint to gnd and press testpoint ready,computer detect Z1 compact,but when I click the button "ready"again, I hear audio on the computer off and then connect the device Z1 compact,and then the process ends with error (see screenshot)..

My question is - what am I doing wrong? Which file should I use in the program s1tool?I used Windows 7 ultimate 32..

Very much hope for your help and understanding, thanks in advance..
[Xperia Z1 Compact General] elzhekache:
Its normal connection testpoint to gnd???

I see in Device Manager on the computer - SEMC Flash Device after connection as this photo
[Xperia Z1 Compact General] elzhekache:
I need (.SIN_FILE_SET) for program s1tool for Sony Z1 compact...sorry for flood
[Xperia Z1 Compact General] munjeni:
Sorry I can not help you since all my files for flashing gone :( Probably you have no right s1tool, or probably you missing something, sorry I can not help since it was few month back and I forgot everything related to these repairings, sorry!
[Xperia Z1 Compact General] Riyal:
Hi! I'm not sure but isn't sin_file_set the same as a ftf file? Both of them can be opened using any zip program like 7zip. Perhaps you can download and rename a ftf and use it? I'm not sure though haven't played with any of these since 2011 so likely I'm wrong.
[Xperia Z1 Compact General] munjeni:
Probably he bricked his trim area? If that is true than probably his phone will remain bricked! :( Only way (not tested) to unbrick (first thing he need before full unbrick) his trim area is to make ftf file which will contain ta.img, but ta.img can not be DD method backup (mean ta backuped by trim area partition dump maded by dd command), he must have ta.img maded by flash tool since only flash tool can make these ta.img speciific format! If he have no ta.img maded by flash tool than probably hi must convert his ta backup to these specific format, I can not help in that since never converted that and have no idea how to convert that, he must analyse by self. Bricking trim area is very dangerous and probably phone get totaly bricked without a way for unbricking (I never done that so I can not confirm for sure these thing)! His errors in s1tool flashing procedure probably coming up with reason (trim area brick)?
[Xperia Z1 Compact General] Riyal:
I'm not sure though but I know someone who helped me mess with the trim area back in the Sony Erricson days. His name is

Alejandrissimo

http://xdaforums.com/member.php?u=3484087
[Xperia Z1 Compact General] munjeni:
Hi confirmed me about ta brick.
[Xperia Z1 Compact General] Alan Revuelta:
So what dowe have to do? I need my Z1c back, please.
[Xperia Z1 Compact General] ToMMeK-1982:
I really need your help!

I did a misstake too, yesterday!

I wanted to have the resurection mod on my Z1C and tried it this way:

Bootlader was lockt!! :eek:

coppyed the zip files on my phone

started cwm Backup on my SD Card

Whiped cache etc.

installed Zip files...

Reboot...

DEAD

Redlight flashes on charging, if I connect to my PC I only see for a short moment Red and Green LED ...DEAD

Fastboot still Works.

Can I fix this via Test Points? Then I need your Help, plaese! :crying:

Edit: :LOL: My Z1C was continouisly in Flash mode but no green LED ... so Flashed stock ROM, installed recovery, run Backup .... And I was the happest guy in town ... Maybe the stupidest, too :rofl:
[Xperia Z1 Compact General] sidahmxd:
Tutorial??

I hard bricked my xperia z1c by flashing an official firmware. I had cyanogenmod before, so basically, the phone doesn't turn on and i took off the battery and everything basically. It flashes red without a battery plugged into my PC but when charging with a battery on my wall, the LED is green. It won't turn on or go into flash mode so I can't use Sony Companion or any updating software. My computer always recognizes ADB driver but it says it fails. So can someone please give me step by step on how to do this/ I'm pretty sad because I just got this phone about a month ago and my warranty just ran out so if someone could do a step by step tutorial like this: http://xdaforums.com/showthread.php?t=2646405 or a YouTube tutorial, I'd be very happy. :)
[Xperia Z1 Compact General] munjeni:
Proably you have flashed Xperia Z1 rom instead of Z1 Compact rom! Simptoms is black screen but your pc recognise usb device. You no need test point! Simple reinstall Sony PC Companion, reboot your pc, than disconnect usb cable from your phone, than press and hold at the same time volume up + power button until your phone vibrate 3 times, than download an ftf file for Z1 Compact, than install flash tool, than start flashtool software, flash your ftf file, when flash tool ask you to enter into flash mode you need to press and hold volume down button and connect usb cable after that, after that your phone will start flashing. Hope this help.
[Xperia Z1 Compact General] Alan Revuelta:
What do I do once the phone is opened?
[Xperia Z1 Compact General] Destroyedbeauty:
What are those 2 doing / having for functionality?
[Xperia Z1 Compact General] sidahmxd:
It's fixed now

Thank you! This worked for my phone! I really thought I was screwed.
[Xperia Z1 Compact General] munjeni:
I have create a tool for unbricking, you can download from the first post!
[Xperia Z1 Compact General] coolkoushik07:
Hi bro can u please mirror the download link? I cant dwnld from mega.. Thanks in advance..

Sent from my Xperia Z1 Compact
[Xperia Z1 Compact General] dvb80:
for some reason your tool dose not work when i try to flash my phone with it.
[Xperia Z1 Compact General] munjeni:
Windows version? Installed flastool drivers? If you are on Windows > XP you must run tool as administrator...! What is a error mesage? If tool have problem with Windows permissions than you can run s1tool directly as admin from your desktop folder caled fw, all packages is extracted to these folder so you can flash your phone without using my tool, tool is just helper application! :)
[Xperia Z1 Compact General] dvb80:
Here is the log file..thank
[Xperia Z1 Compact General] munjeni:
First of all, if you bricked your TRIM AREA you must know there is no way to repair your phone (you can repair but without my help, since I have no idea how you can inject your ta backup into an sin format, sin files is signed and nobody can modify them, so there is no way to make sin file of your TA.backup).

Seccond, is your phone model realy Sony Xperia Z1 Compact? Check that! This files is for Z1C only!

If your phone is not TA bricked than there is a chance to repair them. Probably usb drivers is missing or something, I have no idea by now. Enter your phone without battery into test point mode, double check in your windows pc device manager in section "universal serial bus controllers" something like sony flash device, double click on them and see in section "device instance id" what is pci/ven and dev and let me know(allso let me know if there is warning triangle about missing drivers). Your phone must be propertly detected by your pc and you must see them propertly in device manager! If there is a yellow triangle than probably usb drivers is not installed corectly.
[Xperia Z1 Compact General] dvb80:
yeah my phone is a sony xperia z1 compact,the trim area is bricked.
[Xperia Z1 Compact General] aigaming:
How the hell you managed to brick trim area?:(
[Xperia Z1 Compact General] dvb80:
I made a back up with my old broken xperia z1 compact which included the trim area from the broken phone before it got damage from water.. so when i try to flash my new xperia z1 compact with my old back up that i made from my old phone,i made the mistake of flashing my new phone trim area.:(
[Xperia Z1 Compact General] munjeni:
That is a bad, realy bad.

If you have no ta backup of the your new phone your phone is definitelly dead without any way to repair them!
[Xperia Z1 Compact General] munjeni:
I have found some threads about bricked trim area (TA) ... it is possible to restore ta backup(of course if you have original ta backup)! I will make tool soon! ;)
[Xperia Z1 Compact General] munjeni:
removed
[Xperia Z1 Compact General] munjeni:
Tool for unbricking TA partition is done, read this -> http://xdaforums.com/showpost.php?p=56571705&postcount=314, enjoy!
[Xperia Z1 Compact General] Incarius:
Hi guys,

Does anyone know how to make .SIN_FILE_SET from .SIN files?

I have the following files and i want to create an SEMC package to flash with S1 Tool

userdata_S1-SW-LIVE-5CA3-PID1-0002-MMC.sin

system_S1-SW-LIVE-5CA3-PID1-0002-MMC.sin

amss_fs_1_S1-MODEMSW-LIVE-5CA3-PID1-0002-MMC.sin

amss_fs_2_S1-MODEMSW-LIVE-5CA3-PID1-0002-MMC.sin

amss_fs_3_S1-MODEMSW-LIVE-5CA3-PID1-0002-MMC.sin

simlock.ta

Please someone help my Z.
[Xperia Z1 Compact General] Incarius:
Would you be having update.xml for FSP and APPSW packages to flash using s1tool. ?
[Xperia Z1 Compact General] munjeni:
Just add files into ZIP archive and rename zip archive to SIN_FILE_SET :) You must add update.xml file into zip if you using folowing files (probably other sin files need to be in update.xml but I do't know what xml tags is for other files):

<?xml version="1.0" encoding="utf-8"?>
<UPDATE>
<NOERASE>apps_log_S1-SW-LIVE-6732-PID1-0005-MMC.sin</NOERASE>
<SYSTEMPARTITIONIMAGE>partition-image_S1-SW-LIVE-6732-PID1-0005-MBR.sin</SYSTEMPARTITIONIMAGE>
<BOOT>boot.zip</BOOT>
</UPDATE>

boot folder compress into boot.zip and allso add to the package (or remove boot line from update.xml. DO NOT FLASH simlock.ta since you will break your mobile network (if something goes wrong you will hard brick your phone, only jtag will be able to repair them)... my sugestion is skip all ta files if you do not know what you have doing!
[Xperia Z1 Compact General] drbiggy:
hi, my phone is brickes, red led flashing when charging and no flash or fastboot possible.

since it just went of and i dont know what caused the brick, can this tool help me? or do i have to know the brick reason
[Xperia Z1 Compact General] Samson Thelion:
Hello munjeni! Thank you for your great contribution and all your work. I'm mostly following your threads (because I own Z1c) and I can't find thread about s1 bootloader.... I wanted to ask is there any hope for unlocking bootloader with status NO?
[Xperia Z1 Compact General] mosespl:
K

From which carrier do you have your phone? I have from orange and find thread that in orange center I can force employer to unlock bootloader and I have status no in my case. Tomorrow I check this because android is in free licence and if I cannot unlock my bootloader I can't use every option of pure android and can't avoid my sony warranty with this argument orange have to change status of bootloader. I will check this

And s1 thread is in cross Sony development

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact General] Samson Thelion:
Hi! Carrier is T-Mobile (Croatia).
[Xperia Z1 Compact General] mosespl:
Hmm strange because t-mobile in Poland doesn't has permanent lock on bootloader. I compare today with my friend z1c from Poland t-mobile and he has unlock allowed: yes

Wysłane z mojego D5503 przy użyciu Tapatalka
[Xperia Z1 Compact General] bbmt22:
error while uploading final HDR block

i tried s1tool to repair it after connecting testpoint but i got a message saying " MINOR ERROR [ 0x80080021_, err: 0017 ] --------- error while uploading final HDR block"
[Xperia Z1 Compact General] loplop4:
Hi, do you have any solution for a damaged TA.img of Z3, i already have a TA backup, but cant restore because my phone is hard bricked because i flash an edited TA to it, and its now detected as semc device

thanks
[Xperia Z1 Compact General] VTSS:
Hi, there!

I have done this stuff, but my phone still doesn't work correctly.

This part from setool looks strange

23.08.2015 17:34:16 package not contains ACPU files.

23.08.2015 17:34:16 Processing update files

23.08.2015 17:34:16 PROCESSING: 01.ta

23.08.2015 17:34:16 MINOR ERROR [ Open_TA_failed, err: 001D ]

23.08.2015 17:34:16 PROCESSING: 02.ta

23.08.2015 17:34:30 Writing TA var 0002/084F/0049

23.08.2015 17:34:30 Writing TA var 0002/1324/000A

So I flashed TA(.757) and firmware by flashtool(.757 official)

I turned on my phone and I was seeing how touch screen doesn't work(but it works)

I decided to flash another rom by flashtool, but it always get error after flashing loader.sin

Any ideas how fix it?
[Xperia Z1 Compact General] loplop4:
is there any new version of setool that support Z3
[Xperia Z1 Compact General] loplop4:
any news about Z3 ?
[Xperia Z1 Compact General] kirifanz:
brick

I say at once "I do not know much English !"

Today after a firmware MX Roma,my phone stopped awake. When z1c is starting we can see black screen and then a couple seconds turns purple, if you hold the lower volume button , the machine will go into recovery , but did not see anything , was trying to do for TestPoint , but it is impossible at mikroyusb not looking for a PC and do not charge. Help pliz !:confused::confused:
[Xperia Z1 Compact General] superdroid xtereme:
Hey guys can you plz help me to unbrick my z1 c6902..i don't know how to find the test point or anything..and i don't know how to fix my phone..only thing i know is that my z1 is hard bricked..plz help me fix this..plz provide a step by step guide with pictures if you guys don't mind...plz help me
[Xperia Z1 Compact General] Norph:
Z1c

Hmm I finally found hope to save my hard bricked Z1c after flashed a faulty recovery I guess?

Since I can't enter fastboot nor flashmode I find this way might help me out, but I do have some question,

as the picture shows on the first post the motherboard of the z1c looks blue while the one I have has a green motherboard. Secondly I am getting an error about "A device attached to the system is not functioning." when I am using s1 tool, when I plugged in my z1c I did made sure I was in emergency mode since it didnt have red blinking light when I plugged in my phone to the PC.

Any help is very much appreciated, and sorry english is not my native language. :(

Edit : I wonder if this means I succeeded or not O.O
[Xperia Z1 Compact General] ranomdfail:
Ive done all the right steps yet whenever i press flash it is forever waiting for the phone? i have drivers and things, whether theyre the right ones i am not sure?
[Xperia Z1 Compact General] baris27:
Maybe it is because of operating system I had same issue on win10 but when I tried it on winXp its ok

D5503 cihazımdan Tapatalk kullanılarak gönderildi
[Xperia Z1 Compact General] joosedeg:
It works in xperia z1
[Xperia Z1 Compact General] SIMBIOS:
link not working

bro please help the link is not working update it please bro
[Xperia Z1 Compact General] munjeni:
Hi, the link working perfectly! Try with google chrome if you have ie!
[Xperia Z1 Compact General] SIMBIOS:
I have a Sony xperia z1 compact 1 and half year old 1 day after going on a trip the battery had drained, after returning home i left it plugged in over Night but the next day it would turn on, then i tried using sus but it didn't work, no flashmode no fastboot nothing , when i plug my phone into pc it shows usb input devices connected, when I try to repair phone using sus, i connect the phone when it asks to connect it, then it shows installing drivers, from then onwards, there is sound that we hear when we remove usb devices it plays on everu 3 or 4 seconds

And what is a trim area backup
[Xperia Z1 Compact General] toanvd:
Hello,

i faced this error when i try to flash with s1 tool :

MINOR ERROR [ 0x80080021_, err: 0017 ]

error while uploading final HDR block

Break.

FINISHED

Elapsed:104 secs.

Can you help me and tell what is wrong?

Thank you in advance :)
[Xperia Z1 Compact General] munjeni:
use this tool -> http://xdaforums.com/showpost.php?p=56571705&postcount=314 for MINOR ERROR
[Xperia Z1 Compact General] toanvd:
Hi munjeni,

thank you for your advice.

Can I use the TA.img from another phone (same model Z1 compact D5503)? Or do I need to have done my backup (that I missed to do ) and it means it's dead?

(I got these 2 files ta.emmc.win & ta.emmc.win.md5 from TWRP backup, is it enough to rename it to TA.img?)

Thank you for your help and answer already :)
[Xperia Z1 Compact General] toanvd:
Maybe do I need to convert and/or rename this "ta.emmc.win" file first?
[Xperia Z1 Compact General] hndr_haryanto:
Xperia E3 Dual

Sorry for wrong forum device, but there no one forum for my E3 Dual (D2212). My phone just brick last week, can't flash using Flashtool. Did this tutorial can help? Thank you
[Xperia Z1 Compact General] munjeni:
I don't have idea if that is your TA but I know you need TA of the your phone! Never use ta from another phone since it will lock your mainboard permanently!
[Xperia Z1 Compact General] toanvd:
Hello munjeni,

It's the twrp backup from my phone. I think it's the trim area part of the full backup done with recovery twrp. Can I rename the extension?
[Xperia Z1 Compact General] munjeni:
I never used any tool for backing up my TA, I done that using dd Linux command, so I can't tell you if these yours ta is realy ta backup! Double check what you restore since you have only one chance to break your motherboard! I can't help you more with this, simple follow this thread carefully
[Xperia Z1 Compact General] SIMBIOS:
i tried ur tool but it nade no difference for me .The red light still blinking
[Xperia Z1 Compact General] SIMBIOS:
can someone tell me where i can get soemthing to flash using s1 flashtool my phone is not booting up like u said.can u tell me how i can flash my stock using s1 tool and it says one error open TA failed thx alot
[Xperia Z1 Compact General] munjeni:
If it says can't open ta it mean your device trim area (TA) is allready fully bricked so motherboard is dead and no way repair them
[Xperia Z1 Compact General] BPaul:
Hi, I got here...

MINOR ERROR [ 0x801E003F_, err: 0017 ]

Welcome to S1 tool.
That is small and crippled subset of SETOOL2 service tool.

SELECT FIRMWARE PACKAGES
YOU CAN SELECT SEVERAL PACKAGES WITH CTRL BUTTON
CHECKING PACKAGES ...

DETACH USB CABLE FROM PHONE
REMOVE BATTERY FROM PHONE
ATTACH TESTPOINT
PRESS "READY", THEN ATTACH USB CABLE TO PHONE

will use Sahara protocol ...
REMOVE TESTPOINT NOW, THEN PRESS "READY"

PROCESSING ...
SERIAL NUMBER : AD168E05
HARDWARE ID : 04000100E1007B00
HASH :49109A8016C239CD8F76540FE4D5138C87B2297E49C6B30EC31852330BDDB177
Emergency loader uploaded ...

RUNNING S1_PRELOADER VER "LOADER_RELEASE_MSM8974_23_4_AID_4"
LOADER AID: 0004
DEVICE ID: 058E16AD
FLASH ID: "0015/01000001"
LOADER VERSION: "LOADER_RELEASE_MSM8974_23_4_AID_4"

WRITING PACKAGES ...
Processing package
C:\Users\Paul\Desktop\amami_testpoint.SIN_FILE_SET

MINOR ERROR [ 0x801E003F_, err: 0017 ]
error while uploading final DATA block
Break.
FINISHED
Elapsed:38 secs.
[Xperia Z1 Compact General] SIMBIOS:
how does TA get bricked i did absolutely nothing with my phone , will a motherboard replacement fix it
[Xperia Z1 Compact General] munjeni:
Use right TA.img backup (don't use it from other phones since if you break ta you can't repair phone than) and convert it to file syn set using this http://xdaforums.com/showpost.php?p=56571705&postcount=314 , and don't wory your phone can be repaired with s1tool! After you fix trim area use flastool to reflash the rest (in case allowed, but if not than use this Z1C_hard_brick_repair.exe )

In case you buy working motherboard as I done for my phone allready, was lucky and got it with locked ta and working marlin keys :)
[Xperia Z1 Compact General] nereloyka13:
i install s1 emergency it is done but i cant restart my phone i cant start fatsboot how can i install firmware
[Xperia Z1 Compact General] munjeni:
You don't need fastboot! You need flashmode (power+voldown)! Use flastool and follow ftf flashing procedure!
[Xperia Z1 Compact General] SIMBIOS:
can someone send me thare ta partition which can i flash

my pphone is already dead so no trouble in trying

---------- Post added at 11:20 PM ---------- Previous post was at 11:17 PM ----------

can someone send me their ta partition so i can flash it ,my phone is dead so it doesnt hurt to try thx
[Xperia Z1 Compact General] munjeni:
Don't waste your free time with something like that, it will NEVER work! Instead it will damage your mainboard!
[Xperia Z1 Compact General] SIMBIOS:
so what should i do now?

i have no back ups
[Xperia Z1 Compact General] munjeni:
Nobody can do. Only mainboard change.
[Xperia Z1 Compact General] toanvd:
Edzus, can you tell me where you get the 2 files you talked about : "01.ta", "02.ta" ?

Edit : I tested your procedure, and it works (the 01.ta and 02.ta files are generated with the ta_gen tool and included directly in the generated TA_unbrick.SIN_FILE_SET file at the end, then select it in the s1tool.exe instead of amami_testpoint.SIN_FILE_SET) !! You saved me and my phone !! Thank you a lot !!
[Xperia Z1 Compact General] nereloyka13:
i dont understand your post please write again