[Xperia Z2 Q&A, Help & Troubleshooting] jobhda:
HELLO XDA DEV community .

guyst , i accidentally wiped everything from my xperia z2 , even the system . ive tried to install a stock rom but no good .

here's the error i get on flashtool :

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

30/013/2018 15:13:50 - ERROR - (Devices.java:106) - root : this bundle is not valid

30/014/2018 15:14:46 - ERROR - (Devices.java:106) - root : this bundle is not valid

30/014/2018 15:14:46 - INFO - (Bundle.java:283) - Adding loader.sin to the bundle

30/014/2018 15:14:46 - INFO - (BundleEntry.java:38) - Streaming from file : C:\Users\ayoub\.flashTool\devices\D65XX\loader.sin

30/014/2018 15:14:46 - INFO - (Bundle.java:319) - Creating torrent file : C:\Users\ayoub\.flashTool\firmwares\D6503_23.5.A.1.291_R6D_1281-2115.ftf.torrent

30/014/2018 15:14:46 - INFO - (Bundle.java:335) - Torrent file creation finished

30/014/2018 15:14:46 - INFO - (createFTFJob.java:27) - Bundle creation finished

30/014/2018 15:14:54 - DEBUG - (Bundle.java:80) - Creating bundle from ftf file : C:\Users\ayoub\.flashTool\firmwares\D6503_23.5.A.0.575_R3D_1281-9709.ftf

30/014/2018 15:14:54 - DEBUG - (Bundle.java:97) - Added this entry to the bundle list : loader.sin

30/014/2018 15:14:54 - DEBUG - (Bundle.java:80) - Creating bundle from ftf file : C:\Users\ayoub\.flashTool\firmwares\D6503_23.5.A.1.291_1281-9709.ftf

30/014/2018 15:14:54 - DEBUG - (Bundle.java:97) - Added this entry to the bundle list : loader.sin

30/014/2018 15:14:54 - DEBUG - (Bundle.java:80) - Creating bundle from ftf file : C:\Users\ayoub\.flashTool\firmwares\D6503_23.5.A.1.291_R6D_1281-2115.ftf

30/014/2018 15:14:54 - DEBUG - (Bundle.java:97) - Added this entry to the bundle list : loader.sin

30/014/2018 15:14:59 - ERROR - (Devices.java:106) - root : this bundle is not valid

30/014/2018 15:14:59 - INFO - (MainSWT.java:1223) - Selected Bundle for Sony Xperia Z2 (D6503). FW release : 23.5.A.1.291_R6D. Customization : 1281-2115

30/014/2018 15:14:59 - INFO - (Bundle.java:422) - Preparing files for flashing

30/014/2018 15:14:59 - DEBUG - (Bundle.java:432) - Created the prepared folder

30/014/2018 15:14:59 - DEBUG - (Bundle.java:341) - Saving entry loader.sin to disk

30/014/2018 15:14:59 - DEBUG - (BundleEntry.java:42) - Streaming from jar entry : loader.sin

30/014/2018 15:14:59 - DEBUG - (Bundle.java:345) - Writing Entry to C:\Users\ayoub\.flashTool\firmwares\prepared\loader.sin

30/014/2018 15:14:59 - INFO - (FlashJob.java:34) - Please connect your device into flashmode.

30/015/2018 15:15:09 - INFO - (MainSWT.java:153) - Device connected in flash mode

30/015/2018 15:15:09 - INFO - (USBFlashWin32.java:20) - Opening device for R/W

30/015/2018 15:15:09 - INFO - (X10flash.java:643) - Reading device information

30/015/2018 15:15:09 - DEBUG - (USBFlashWin32.java:55) - Reading packet from phone

30/015/2018 15:15:09 - DEBUG - (USBFlashWin32.java:65) - IN : CommandID : 1 / Flags : false,false,false / Data length : 1081 / Data CRC32 : [CC, 49, CC, CD]

30/015/2018 15:15:09 - DEBUG - (X10flash.java:650) - PROT_VER="04";VER="S1_Boot_MSM8974AB_LA3.0_M_3";S1SBL_VER="MSM8974AB_26";ID="1277-2049";TYPE="S1_BOOT";ACTIVE_COMP_AID="0004";MAX_PKT_SZ="00010000";IGNORE_CRC="HDR,DATA";DEF_SEC="ON";HWCONF_AID="0004";LOADER_AID="0004";BOOT_AID="0004";NO_SUB_SYSTEMS="0001";OTP_DATA_1="01000400";OTP_LOCK_STATUS_1="LOCKED";UNIQUE_DEV_ID_1="0CC610FD";IDCODE_1="107B80E1";S1_ROOT="S1_Root_9c84,S1_Root_Test_b316";MSN="BH915MPE16";HW_CONFIG_VER="0006";HW_CONFIG_INFO="HWC_Shinano_Com_003";SEC_STATE="HWC_Shinano_Com_003";IMEI="35560906237026";PROD_ID="0001";GLOB_SEC="0000";PHONE_ID="0000:35560906237026";HW_CONFIG="S1_Boot:0004:0013,S1_Loader:0004:000B,S1_SW:0005:0013,S1_RPMFW:0005:0013,S1_Cust:0004:0013,S1_ELabel:0004:0013,S1_SL:0004:0043,S1_ModemOS2:0005:0023,S1_ModemSW:0005:0013,S1_FOTA:0005:0023,S1_RIC:0005:0123,S1_HexagonSW2:0005:0023,S1_GPS2:0005:0023,S1_RIVA2:0005:0023,S1_Video2:0005:0023,S1_SDI2:0005:0023,S1_ETS:0005:0013,S1_RAMETS:0005:000B,S1_TZExec2:0005:00A3,S1_RLock:0004:0223";ROOTING_STATUS="ROOTED";PLF_ROOT_1="573BA40C7848CC15D672D2ECB560B257CE58FC364B00874BF31973E733339F7C";

---------------------------------------------------------------------------------------------------------------------------------------------------------------------