flashtool Loader.sin errors - Xperia Z2 Q&A, Help & Troubleshooting

Updating to 5.1.1 from 5.0.2, after flash pre-rooted zip and proceed to flash others using flash tool, loader.sin error encounter
1/052/2015 01:52:02 - INFO - Processing loader.sin
01/052/2015 01:52:02 - INFO - Checking header
01/052/2015 01:52:02 - ERROR - Processing of loader.sin finished with errors.
01/052/2015 01:52:02 - INFO - Ending flash session
01/052/2015 01:52:02 - ERROR -
01/052/2015 01:52:02 - ERROR - Error flashing. Aborted
01/052/2015 01:52:03 - INFO - Device connected in flash mode
Have tried changing cable, reinstall driver, reinstall flashtool but non work, my last suspect is windows 10.... anyone know any others fix?

Wait a sec, what firmware are you trying to flash?
What do you mean by after flash pre-rooted zip?

I'm flashing 23.4.A.0.546.
Using pre-rooted system zip flash from recovery (full wipe ...), then flashing the kernal + basement using flashtool
Download the pre-rooted file and ftf from this Thread http://forum.xda-developers.com/xperia-z2/general/ftf-cutomized-23-1-0-726-cda-1281-9809-t3082166
The problem stuck on flashtool with error posted on top.

Ok, got it. I suggest flashing a full pre-rooted zip with kernel and everything. I successfully updated my Z2 this way. I made my own zip with prf creator and flashed it without wiping data, only cache. This way you won`t lose any personal data.

I have no access to recovery. Usually i also made my own zip with everything, but reach home late this evening, kinda lazy so just grab on web.
I always do full wipe though, give it a fresh start.

What do you mean by no access to recovery? You don`t have any recovery installed? I understand that you want a fresh start, no problem with that.

The pre-root zip is come with recovery, although during start up the LED does flash in RED, but pressure volumn up/down won't get me in recovery

Download the pc installer for recovery and install it again. By default if installation is successful it will boot into recovery.

My device is in bootloop now, can't install when USB debugging is on default off.
It reboot everytime finish optimized app and starting android

That`s bad. Have you tried flashing a stock FTF? Flash 4.4.4 or 5.0.2, root it, get recovery and flash a prerooted 5.1.1 zip. This is the only way I can think of.
Worst case scenario, try a repair with PC companion, hopefully it won`t update your phone.
---------- Post added at 08:27 PM ---------- Previous post was at 08:26 PM ----------
Windows 10 should not be an issue.

I have tried it all, from 4.4 to 5.0.2 to 5.1.1 ftf, all is the same issue. Repair with PC companion also stuck .
Been doing this quite a lot of times in previous upgrade, first time encounter this... going to rest now, getting a windows 7 PC and tried it out tomorrow. Thanks man

Download the firmware using xperifirm, go to the folder of the downloaded files and delete the fwinfo file. Then make a ftf in flash tool using this link http://www.gizmobolt.com/2015/04/08/how-to-download-lollipop-firmware-via-xperiafirm-tool/ . Make sure to delete the file I mentioned above otherwise your ftf will not flash. hope it helped you bud.
Thanks,
Mohamed

This way is equivalent to remove loader.sin from FTF package. I have tried it and flashtool will pop for device selection, using it's own loader.sin file. The flashing fail at the same issue anyway.
I just use Windows 7 PC give it another try, no problem and flashing is almost done.
Thanks everyone for help.

Yer as above, when ya download the ftf in xperifirm make sure to remove the fwinfo xml file, also go into flashtool folder, firmwares and delete the file that gets stored there too after a failed flash, this has been present since 5.02, still no idea what this file is for.

Related

[Q] Restore Bricked x10

Hi There,
I’m wondering if anybody would be able to help me restore my bricked x10a (Telecom – New Zealand).
I was updating my phone from one wolf rom to another (Wolf_xperia 6.0.0.0s to ulBlDoom) . The rom worked but I was having issues flashing the doomkernel in order to get wifi. I tried to recover my old rom and bricked my phone. Now the phone locks at the sony erricson screen and I can’t enter recovery.
I’m unable to use SEUS or PC companion to revert back to stock as they say that my software is up to date (SEUS)/no software is available (PCC) and they do not give me the option to repair the phone.
I’ve attempted flashing several of the stock roms (and a few others) but flashtool gives the following errors. The closest I’ve got is with the US Generic 2.3.3 firmware, others fail at flashing kernel.sin or flashing loader.
13/049/2011 10:49:20 - INFO - Searching Xperia....
13/049/2011 10:49:20 - INFO - Found at USB\VID_0FCE&PID_ADDE\5&8E70AF1&0&2
13/049/2011 10:49:20 - INFO - Start Flashing
13/049/2011 10:49:21 - INFO - VER="r8A033";DATE="20100928";TIME="12:04:00";
13/049/2011 10:49:21 - INFO - Flashing loader
13/049/2011 10:49:22 - INFO - Device connected in flash mode
13/049/2011 10:49:25 - INFO - PROT_VER="02";DATE="20091222";TIME="15:39:00";VER="R4A024";CXC="1226-2250";TYPE="S1_LOADER";UNIQUE_DEV_ID="08572CA366314A97AD75DFA24CACB44D4D714BA6";SEC_LOCK_STATUS="LOCKED";OTP_DATA="4BBD770047140402094804304905157DF0C32000";IMEI="35942003202880";AID_VERSION="0004";EROM_AID="0001";LOADER_AID="0001";SW_AID="0001";CUST_AID="0001";SIM_LOCK_AID="0001";HWCONF_AID="0001";PROD_AID="0000";ACTIVE_LOADER_AID="0001";MAN_ID="002C";DEV_ID="00B3";SIN_VER="0001";AID_TAMP="NOT_TAMPERED";MAX_PKT_SZ="00010000";AUTH_LEVEL="NONE";AUTH_MET="0001";CARD_PRESENT="YES";CARD_SIZE="GB";CARD_DATA="";LOADER_ROOT="S1_Loader_Root_f851";EROM_ROOT="S1_EROM_Root_b15e";SW_ROOT="S1_SW_Root_ac12";CUST_ROOT="S1_Cust_Root_5789";SIM_LOCK_ROOT="S1_SL_Root_f20d";HW_CONF_ROOT="S1_HWConf_Root_ee5d";
13/049/2011 10:49:27 - INFO - Flashing kernel.sin
13/049/2011 10:49:30 - INFO - Flashing amss_fs.sin
13/049/2011 10:49:30 - INFO - Flashing dsp1.sin
13/049/2011 10:49:37 - INFO - Flashing fota1.sin
13/049/2011 10:49:38 - INFO - Flashing fota0.sin
13/049/2011 10:49:39 - INFO - Flashing amss.sin
13/049/2011 10:49:51 - INFO - Flashing cache.sin
13/049/2011 10:49:51 - INFO - Flashing system.sin
13/052/2011 10:52:28 - ERROR - Error flashing. Aborted
13/052/2011 10:52:28 - INFO - Now unplug the device and power it on
13/052/2011 10:52:28 - INFO - Then go to application settings
13/052/2011 10:52:28 - INFO - turn on Unknown Sources and Debugging
I’m wondering if there’s something I’m doing wrong to not be able to flash roms or if it may be possible to flash enough information for SEUS/PC Companion to recognise that the software needs to be updated.
Any help you could give me would be great, searching hasn’t provided me with any success.
Kind Regards,
Povotron
You tried to unlock the bootloader before updating to "ulBlDoom"?
No, I'd unlocked it previously for the earlier wolf rom I had. I just installed the ulBlDoom rom from xrecovery. Was this where I made my amateur mistake?
Any ideas where to go from here?
1. launch s1tool
restore BL
2. Download latest FlashTool 0.5.3.0
3. Flash stock ROM, get root, xrec and unlock BL by FlashTool
4. Flash custom ROM or custom Kernel and custom ROM (exclude kernel in FlashTool settings) or flash custom kernel, reboot to xRec and install custom zip with ROM
I hope your phone hasn't sim lock?
Sorry for my english
TangVLD said:
1. launch s1tool
restore BL
2. Download latest FlashTool 0.5.3.0
3. Flash stock ROM, get root, xrec and unlock BL by FlashTool
4. Flash custom ROM or custom Kernel and custom ROM (exclude kernel in FlashTool settings) or flash custom kernel, reboot to xRec and install custom zip with ROM
I hope your phone hasn't sim lock?
Sorry for my english
Click to expand...
Click to collapse
Don't need xrec if you are planning to unlock BL, just root, unlock then flash custom kernel.
aR_ChRiS said:
Don't need xrec if you are planning to unlock BL, just root, unlock then flash custom kernel.
Click to expand...
Click to collapse
Please, read again my post. I never said that xrec is necessary for unlock BL.
xrec need for stock ROM for them, who wants install a custom ROM by xrec-custom zip
TangVLD said:
1. launch s1tool
restore BL
2. Download latest FlashTool 0.5.3.0
3. Flash stock ROM, get root, xrec and unlock BL by FlashTool
4. Flash custom ROM or custom Kernel and custom ROM (exclude kernel in FlashTool settings) or flash custom kernel, reboot to xRec and install custom zip with ROM
I hope your phone hasn't sim lock?
Sorry for my english
Click to expand...
Click to collapse
You, kind sir, are a gentleman and a scholar.
I needed a different version of the S1 tool to get the restore option which allowed me to flash a stock rom without error. I now have the medium overclock ulbldoom working well. I had some errors flashing the kernal again but it seemed that a couple of repeat attempts was all it needed.
Thanks for all your help.
you are welcome)
perhaps this works for my problem forum.xda-developers.com/showthread.php?t=1388476
let me try this trick...
wish me luck
Sent from my X10i using Tapatalk
Good luck)
still not work. im downloaded FWs from forum.xda-developers.com/showthread.php?t=936733 (generic ver2.3.3 build 75 and 2.1 build 435) and forum.xda-developers.com/showthread.php?t=936733 (global generic 2.3.3 build 75)
Sent from my X10i using Tapatalk

How to flash ICS(noob guide)

1. Download FTF needed http://www.mediafire.com/?o4v5ttaqsjhv3aq
2. Download Flashtool http://www.4shared.com/file/Ot3fyDJf/flashtool-0670-windows.html
3.install flashtool , install the drivers inside the flashtool
4. put the FTF you downloaded in the firmware folder where the flashtool is installed
5. Enable usb debuggin and switch off your phone
6.click on the FLASH icon on flashtool window,choose flashmode
7. if you want to keep your apps and data, uncheck wipe cache and data,its better if you check it but you will lose your data
8.follow the onscreen instructions , it will tell you when and how to connect your phone
9. you will get error at 99%, but your phone will start in ICS...
10. Enjoy
i am not responsible if you do it wrong
new links :1.http://www.mediafire.com/?7ik510cq7cy2p62
2.http://www.mediafire.com/?9dera4tes44pa7d
if you feel it was worth reading hit the thanks button
darky22 said:
1. Download FTF needed http://www.mediafire.com/?o4v5ttaqsjhv3aq
2. Download Flashtool
http://www.4shared.com/file/Ot3fyDJf/flashtool-0670-windows.html
3.install flashtool , install the drivers inside the flashtool
4. put the FTF you downloaded in the firmware folder where the flashtool is installed
5. Enable usb debuggin and switch off your phone
6.click on the FLASH icon on flashtool window,choose flashmode
7. if you want to keep your apps and data, uncheck wipe cache and data,its better if you check it but you will lose your data
8.follow the onscreen instructions , it will tell you when and how to connect your phone
9. you will get error at 99%, but your phone will start in ICS...
10. Enjoy
new links :1.http://www.mediafire.com/?7ik510cq7cy2p62
2.http://www.mediafire.com/?9dera4tes44pa7d
if you feel it was worth reading hit the thanks button
Click to expand...
Click to collapse
Uncheck wipe data is enough to preservere data. Wipe cache should be rather enabled.
voyteckst said:
Uncheck wipe data is enough to preservere data. Wipe cache should be rather enabled.
Click to expand...
Click to collapse
ok i should have mentioned that
I have unlocked bootloader with nightelf kernel + CWM. Do I need stock kernel to flash this ROM? Is it rooted?
sasa3342 said:
I have unlocked bootloader with nightelf kernel + CWM. Do I need stock kernel to flash this ROM? Is it rooted?
Click to expand...
Click to collapse
u can have other kernel like of nightelf and this fw is not prerooted,but if you have cwm u can use this to root
http://forum.xda-developers.com/showpost.php?p=24834920&postcount=26
no my phone will not restart in ICS i got an error, sony and then error, and i cant flash the kernel in fastboot mode :S
i have unlocked bl
Pandemic said:
no my phone will not restart in ICS i got an error, sony and then error, and i cant flash the kernel in fastboot mode :S
i have unlocked bl
Click to expand...
Click to collapse
In my case
I flashed, didn't boot, tried many times, but still didn't boot
So i flashed night elf kernel through fastboot, entered recovery wiped everything
Then it booted normally!
Hope it helped
Aarush said:
In my case
I flashed, didn't boot, tried many times, but still didn't boot
So i flashed night elf kernel through fastboot, entered recovery wiped everything
Then it booted normally!
Hope it helped
Click to expand...
Click to collapse
yeah but when i rename the kernel to boot.img and then the comment then says it error, what did you did ?
explain bro
Edit: never mind, i stay on supercharged 62 and relock my bl again.
Hi all, i was on stock 4.0.2.A.0.62, flashed just as said in first post, unchecked wipe data and everything is just awsome, works like a charm for now.
I can't thank you enough for your instructions guys!
Just 2 questions:
1. How to take screenshot on ICS
2. There is no Sony Contact widget?
TNX a lot!
Hi all, i was on stock 4.0.2.A.0.62, flashed just as said in first post, unchecked wipe data and everything is just awsome, works like a charm for now.
I can't thank you enough for your instructions guys!
Just 2 questions:
1. How to take screenshot on ICS
2. There is no Sony Contact widget?
TNX a lot!
Click to expand...
Click to collapse
u can press the vol Down and power button a few seconds to take screenshot
Find me at Gtalk
Sent from my fast Neo V
Sorry for my bad English...
ICS update via PC Companion on unlocked bootloader & custom kernel
I have unlocked bootloader with custom kernel (nightelf) on my phone. Can I update neo V via PC Companion without consequences?
sasa3342 said:
I have unlocked bootloader with custom kernel (nightelf) on my phone. Can I update neo V via PC Companion without consequences?
Click to expand...
Click to collapse
Depends on the way you unlocked boot loader,so what method you used?
Anyway why don't u flash with Flashtool ?
I don't know... Just asking.
Official method, via SE unlocking bootloader site.
sasa3342 said:
I don't know... Just asking.
Official method, via SE unlocking bootloader site.
Click to expand...
Click to collapse
Then you cannot use pc companion till you relock boot loader
How to re-lock boot loader
http://forum.xda-developers.com/showthread.php?t=1134335
I followed these instructions:
1. Download FTF needed http://www.mediafire.com/?o4v5ttaqsjhv3aq
2. Download Flashtool http://www.4shared.com/file/Ot3fyDJf...0-windows.html
3.install flashtool , install the drivers inside the flashtool
4. put the FTF you downloaded in the firmware folder where the flashtool is installed
5. Enable usb debuggin and switch off your phone
6.click on the FLASH icon on flashtool window,choose flashmode
7. if you want to keep your apps and data, uncheck wipe cache and data,its better if you check it but you will lose your data
8.follow the onscreen instructions , it will tell you when and how to connect your phone
9. you will get error at 99%, but your phone will start in ICS...
10. Enjoy
And i got this:
15/008/2012 05:08:56 - INFO - Flashing adsp.sin
15/008/2012 05:08:59 - INFO - Flashing amss_fs_haida.sin
15/008/2012 05:08:59 - INFO - Flashing kernel.sin
15/009/2012 05:09:02 - INFO - Flashing fota1.sin
15/009/2012 05:09:03 - INFO - Flashing fota0.sin
15/009/2012 05:09:04 - INFO - Flashing apps_log.sin
15/009/2012 05:09:04 - INFO - Flashing amss.sin
15/009/2012 05:09:14 - INFO - Flashing cache.sin
15/009/2012 05:09:14 - INFO - Flashing system.sin
15/011/2012 05:11:34 - ERROR - ERR_SEVERITY="MAJOR";ERR_CLASS="MEMORY_CLASS";ERR_STATIC="HASH_VER";ERR_DYNAMIC="Final data verification failed";
15/011/2012 05:11:34 - ERROR - Error flashing. Aborted
Solution?
sasa3342 said:
I followed these instructions:
1. Download FTF needed http://www.mediafire.com/?o4v5ttaqsjhv3aq
2. Download Flashtool http://www.4shared.com/file/Ot3fyDJf...0-windows.html
3.install flashtool , install the drivers inside the flashtool
4. put the FTF you downloaded in the firmware folder where the flashtool is installed
5. Enable usb debuggin and switch off your phone
6.click on the FLASH icon on flashtool window,choose flashmode
7. if you want to keep your apps and data, uncheck wipe cache and data,its better if you check it but you will lose your data
8.follow the onscreen instructions , it will tell you when and how to connect your phone
9. you will get error at 99%, but your phone will start in ICS...
10. Enjoy
And i got this:
15/008/2012 05:08:56 - INFO - Flashing adsp.sin
15/008/2012 05:08:59 - INFO - Flashing amss_fs_haida.sin
15/008/2012 05:08:59 - INFO - Flashing kernel.sin
15/009/2012 05:09:02 - INFO - Flashing fota1.sin
15/009/2012 05:09:03 - INFO - Flashing fota0.sin
15/009/2012 05:09:04 - INFO - Flashing apps_log.sin
15/009/2012 05:09:04 - INFO - Flashing amss.sin
15/009/2012 05:09:14 - INFO - Flashing cache.sin
15/009/2012 05:09:14 - INFO - Flashing system.sin
15/011/2012 05:11:34 - ERROR - ERR_SEVERITY="MAJOR";ERR_CLASS="MEMORY_CLASS";ERR_STATIC="HASH_VER";ERR_DYNAMIC="Final data verification failed";
15/011/2012 05:11:34 - ERROR - Error flashing. Aborted
Solution?
Click to expand...
Click to collapse
Did u try to boot?
Find me at Gtalk
Sent from my fast Neo V
Sorry for my bad English...
wilsonchuchu said:
Did u try to boot?
Find me at Gtalk
Sent from my fast Neo V
Sorry for my bad English...
Click to expand...
Click to collapse
yeah, it boots in ics , mentioned in the thread
darky22 said:
yeah, it boots in ics , mentioned in the thread
Click to expand...
Click to collapse
Yes, i tried to boot... and stuck in boot loop
sasa3342 said:
Yes, i tried to boot... and stuck in boot loop
Click to expand...
Click to collapse
Try to flash night-elf kernel then go tp cwm to wipe data
Find me at Gtalk
Sent from my fast Neo V
Sorry for my bad English...
sasa3342 said:
Yes, i tried to boot... and stuck in boot loop
Click to expand...
Click to collapse
Night Elf's RC2 kernel

unable to flash kernels, firmware, phone travels back in time

Hello there xda comunity,
I am facing a big problem with my xperia p.
Running stock ROM, stock firmware 6.2.A.1.100, rooted my phone by doomlord method and ulocked bootloader not via flashtool, but via other flashtool provided in unlock guidance on official sony website.
everything was working fine until I installed One Power Guard and it totally messed up my phone. Apps started to force close randomly (contacts,album,messages,android.acore etc.) showing annoying popups every single second making me unable even to answer a phone call.
and here comes to problem. I was trying to restore to factory settings, but after a reboot, phone seems to recover into some point without any reason or my permission and everything is as it was before restart. Even if I uninstall some app or take a photo and I reboot, the app is back and photo nowhere.
I was trying to flash new kernel via flashtool, but it says TOO MANY BAD BLOCKS and end with a failure, so it seems like that particular partition is damaged somehow and I cant get over it. I managed to mount my internal storage, so I was able to see it as mass storage on my desktop pc and tried to format and repair bad sectors. Test outcome said, there is no problem. I was very surprised when I reboted phone, all data was still there, so no format really happened.
when I try to flash new firmware, everythings go ok until it comes to the point READING DEVICE INFORMATION. It stucks there for eternity.
I have installed all drivera provided with flashtool and I am able to smoothly go to fast boot mode or flashmode but it is all I can really do, because as I said I cant flash kernel, nor firmware.
So what am I supposed to do? Any help?
hi
so if u can go fastboot u can flash kernel...bcuz system is not loaded and phone partially off
u unlocked bl so pcc never again till u relock it lil advice loll
same thing for flashmode so or else u flash an ftf wich gonna clean the phone or u flash a custom kernel with cwm from there u wipe cache partition, dalvik cache , data factory reset then u go to mount ...u format system and caches u go back flashtool and flash an clean ftf
when u there at ftf flash untick TA partition on right side and final verification
take another custom kernel maybe u took one corrupted it could be te reason of that
sent with my perfexperia P using tapatalktak 2
Alx31TLse said:
hi
so if u can go fastboot u can flash kernel...bcuz system is not loaded and phone partially off
u unlocked bl so pcc never again till u relock it lil advice loll
same thing for flashmode so or else u flash an ftf wich gonna clean the phone or u flash a custom kernel with cwm from there u wipe cache partition, dalvik cache , data factory reset then u go to mount ...u format system and caches u go back flashtool and flash an clean ftf
when u there at ftf flash untick TA partition on right side and final verification
take another custom kernel maybe u took one corrupted it could be te reason of that
sent with my perfexperia P using tapatalktak 2
Click to expand...
Click to collapse
not really
when I try to relock my bootloader, or to flash new firmware, it always looks like this
15/048/2013 19:48:42 - INFO - Selected LT22i(P) / xperia.cz / relock_bootloader
15/048/2013 19:48:42 - INFO - Preparing files for flashing
15/048/2013 19:48:42 - INFO - Please connect your device into flashmode.
15/048/2013 19:48:48 - INFO - Device connected in flash mode
15/048/2013 19:48:48 - INFO - Opening device for R/W
15/048/2013 19:48:48 - INFO - Reading device information
it stuck at reading device information 4ever
this how it looks when i try to flash kernel
15/057/2013 19:57:05 - INFO - Device connected in fastboot mode
15/057/2013 19:57:14 - INFO - Selected kernel (boot.img or kernel.sin): C:\2\nemesis.elf
15/057/2013 19:57:14 - INFO - HotBooting selected kernel
15/057/2013 19:57:14 - INFO - FASTBOOT Output:
creating boot image...
creating boot image - 5791744 bytes
downloading 'boot.img'...
(bootloader) USB download speed was 21691kB/s
OKAY [ 0.278s]
booting...
FAILED (remote: Wrong range:0x10008000-0x1058d687. Ok:0x00000000-0x05efffff)
finished. total time: 0.286s
15/057/2013 19:57:16 - INFO - Device disconnected
I was trying different kernel...always the same :crying:
hum wich option r u choosing in flashtool?
for fw and kernel tell me what u choosin step by step please
then do u still have a cwm installed?
sent with my perfexperia P using tapatalktak 2
Alx31TLse said:
hum wich option r u choosing in flashtool?
for fw and kernel tell me what u choosin step by step please
then do u still have a cwm installed?
sent with my perfexperia P using tapatalktak 2
Click to expand...
Click to collapse
for FW
flashtool > bootmode chooser > flashmode
then I choose FW e.g. 6.2.A.1.100 Central Europe or 6.1.1.B1.54 Sony
I exclude TA and final verification and the result is always the same it stucks at READING DEVICE INFORMATION
for kernel
flashtool > bootmode chooser > fastboot mode
here I was trying both methods - Selecet kernel to HotBoot | Select kernel to flash, none of them works
I found myself unable to relock bootloader via flashtool
it says my device cannot be unlocked, but it already is unlocked and device can be unlocked as it says on service menu (right now it says bootloader unlocked = yes)
I think that I somehow messed up my partitions or deleted partition table....Is there some way to rebuilt device partitions, so I am able to flash again? The number of bad blocks (error when trying to flash kernel) is the exact number of all blocks on my sdcard.
I Think that rebuilding device partition table is the solution, but idk how.....
skynetko said:
for FW
flashtool > bootmode chooser > flashmode
then I choose FW e.g. 6.2.A.1.100 Central Europe or 6.1.1.B1.54 Sony
I exclude TA and final verification and the result is always the same it stucks at READING DEVICE INFORMATION
for kernel
flashtool > bootmode chooser > fastboot mode
here I was trying both methods - Selecet kernel to HotBoot | Select kernel to flash, none of them works
I found myself unable to relock bootloader via flashtool
it says my device cannot be unlocked, but it already is unlocked and device can be unlocked as it says on service menu (right now it says bootloader unlocked = yes)
I think that I somehow messed up my partitions or deleted partition table....Is there some way to rebuilt device partitions, so I am able to flash again? The number of bad blocks (error when trying to flash kernel) is the exact number of all blocks on my sdcard.
I Think that rebuilding device partition table is the solution, but idk how.....
Click to expand...
Click to collapse
Then sorry bro i have no clue! i would like to say if u still have access to cwm; format everything in mounts and storage and make data/factory reset...
maybe someone else gonna give u more ideas...when u have troubles u flash ftf and everythings come back but u, u are deep into it!
i assume too the rom doesn t load...cuz u can still flash an ftf in zip file from cwm

flashtool takes long to extract kernel.elf from kernel.sin file

I want to flash TWRP recovery to my phone using the instructions in this thread : http://forum.xda-developers.com/xperia-u/p-development/recovery-twrp-2-7-0-0-touch-recovery-t2688925 .
I downloaded the stock firmware 6.1.1.B.1.54 and extracted it.
I then downloaded flashtool version 0.9.19.8 for my Arch linux.
I select tools -> sin editor and then I browse to kernal.sin file, I select extract data.
here is a screenshot of what I end up with :
http://postimg.org/image/az41yiutz/
That's it, it stops at that point "Starting data extraction".
I check the folder where kernel.sin is and I don't see any kernel.elf.
I closed flashtool and started the process again.
It's the same and it has taken almost an hour now.
I patched flashtool to the latest version and tried again, still the same.
I also tried runing flashtool from terminal, because flashtool is started by java any "possible errors" are not thrown on the terminal(I guess it's redirected to the textarea in the flashtool Window).
does extraction take that long ? if not what can I do ?
Some notes:
I downloaded the firmware instead of getting it straight from my phone because my phone is not rooted and I read I can't get boot.img without rooting it.
I'm not willing to connect my phone or root it in order to get boot.img, the reason for this is easy : I want TWRP so that I can root xD xD, other rooting ways may exist but TWRP is cool anyway and I found rooting instructions on howtogeek(a website that I like) and they say to use TWRP so that's the way I'm gonna use.
If there is a bug in flashtool where can I report it ? I didn't find anything in flashtool's homepage.

Flashtool not working after lineage/magisk

Hello,
I made the mistake of installing Magisk trying to deal with safetynet. Now my tablet won't root (on lineageOS) and won't boot if I flash again the patched stock boot.ini and recover the previously working stock backup. Most worrying, flashtool won't work. Can anyone help with this flashtool error?
Code:
26/019/2017 06:19:05 - INFO - Selected Bundle for Sony Xperia Z2 Tablet(SGP512). FW release : 23.5.A.1.291. Customization : VMo FR/DE/AT/CH/BE/NL/PL
26/019/2017 06:19:05 - INFO - Preparing files for flashing
26/019/2017 06:19:24 - INFO - Please connect your device into flashmode.
26/019/2017 06:19:31 - INFO - Device connected in flash mode
26/019/2017 06:19:31 - INFO - Opening device for R/W
26/019/2017 06:19:31 - INFO - Device ready for R/W.
26/019/2017 06:19:31 - INFO - Reading device information
26/019/2017 06:19:31 - INFO - Phone ready for flashmode operations.
26/019/2017 06:19:31 - INFO - Opening TA partition 2
26/019/2017 06:19:32 - INFO - Current device : Unknown: Jul 24 2016/19:28:59 - CB5126LP0H - Unknown: Jul 24 2016/19:28:59 - Unknown: Jul 24 2016/19:28:59 - GENERIC_23.5.A.1.291
26/019/2017 06:19:32 - INFO - Closing TA partition
26/019/2017 06:19:32 - INFO - Start Flashing
26/019/2017 06:19:32 - INFO - Processing loader.sin
26/019/2017 06:19:32 - INFO - Checking header
26/019/2017 06:19:32 - INFO - Flashing data
26/019/2017 06:19:33 - INFO - Loader : S1_Root_9c84 - Version : MSM8974AB_27 / Boot version : S1_Boot_MSM8074AB_LA3.0_M_3 / Bootloader status : ROOTED
26/019/2017 06:19:33 - INFO - Max packet size set to 512K
26/019/2017 06:19:33 - INFO - USB buffer size set to 512K
26/019/2017 06:19:33 - INFO - Parsing boot delivery
26/019/2017 06:19:33 - INFO - Ending flash session
26/019/2017 06:19:33 - ERROR - null
26/019/2017 06:19:33 - ERROR - Error flashing. Aborted
I'm guessing the issue is somewhat related to the "INFO - Current device : Unknown: " part of the log, anyone? I have a backup of the TA partition, if that helps.
I am having the exact same problem. I installed a Lineage OS rom and I think it had magisk pre compiled in it so that was installed too. I have tried multiple FTF's, 2 different computers (Windows 10 and 7), different drivers, usb ports. It is driving me crazy and I am still trying different things.
I am still able to install different roms, however I am getting random reboots so that is why I want to restore FTF then re flash rcstar's Lineage OS rom as recommended.
I always do full Wipes, even tried internal storage Wipe once hoping that would fix my random reboot problem, but it hasn't. Also most new roms won't even work on my tablet (Castor Windy) due to the setup crashing bug.
Edit:
Also I have used Flashtool before, successfully, on this tablet and it has worked before. But not anymore...
I have installed a 5.1.1 Rom for now and it is stable thankfully.
Install latest flashtool, it will install the room you selected no matter what kind of tft it was, make sure you selected the correct tft. and if it doesnt work, install a stock rom for the devices via TWRP, to solve the problem, I saw once who was deodexed and rooted on 6.0.1 android version flashable zip. Hope it works
kiukirimas said:
Install latest flashtool, it will install the room you selected no matter what kind of tft it was, make sure you selected the correct tft. and if it doesnt work, install a stock rom for the devices via TWRP, to solve the problem, I saw once who was deodexed and rooted on 6.0.1 android version flashable zip. Hope it works
Click to expand...
Click to collapse
Hi thanks for the reply.
I have the latest flashtool installed. Also tried different versions. It will not flash any tft no matter what. I have tried multiple including the same exact one I used before.
I haven't been able to find any flashable zips for a stock rom.
I repeat. I have used flashtool before on my tablet and it has worked. It will not work after flashing the latest 7.1.2 Lineage ROM by rcstarr. I am almost certain this is a problem with the tablet and has nothing to do with computer, drivers, files on the computer, ect.
Edit:
I guess I should also mention that I can root and flash roms no problem. And they boot just fine (other than the new 7.0+ builds that give me random reboots) I just can't use flashtool.
Edit again:
Hey OP. I found a flashable zip. I don't think its completely stock but its close. You can try flashing this and then try Flashtool if you want:
https://mega.nz/#!VcxGyRZK!U4NqLOSeg1X_3KNC1_xXm2WnH4_i2OoZ6NwuyaIR6Hw
I am staying on 5.1.1 PAC Rom unless it becomes unstable so I haven't tested it.
Crwys said:
Hi thanks for the reply.
I have the latest flashtool installed. Also tried different versions. It will not flash any tft no matter what. I have tried multiple including the same exact one I used before.
I haven't been able to find any flashable zips for a stock rom.
I repeat. I have used flashtool before on my tablet and it has worked. It will not work after flashing the latest 7.1.2 Lineage ROM by rcstarr. I am almost certain this is a problem with the tablet and has nothing to do with computer, drivers, files on the computer, ect.
Edit:
I guess I should also mention that I can root and flash roms no problem. And they boot just fine (other than the new 7.0+ builds that give me random reboots) I just can't use flashtool.
Edit again:
Hey OP. I found a flashable zip. I don't think its completely stock but its close. You can try flashing this and then try Flashtool if you want:
https://mega.nz/#!VcxGyRZK!U4NqLOSeg1X_3KNC1_xXm2WnH4_i2OoZ6NwuyaIR6Hw
I am staying on 5.1.1 PAC Rom unless it becomes unstable so I haven't tested it.
Click to expand...
Click to collapse
Ok, I have exactly the same symptoms - flashtool worked with my tablet until I installed LineageOS. I assumed it was Magisk that broke it, but could be wrong. I might try a flashable rom to see if it allows flashtool to work again. In the mean time, I'm going to try restoring the TA partition, as I had a backup done before unlocking the bootloader.
I was able to reflash and run LineageOS now, but with safetynet broken, and some instability.
Same Problems here - now im on ACIP and its for me the best rom But if i want one day back to real stock, the problem is still there... someone have any ideas?
Ok I ended up trying the flashable zip I shared and it didn't work. The file flashed successfully but was stuck in bootloop. I tried flashtool anyways but same issue.
Restoring the TA worked for me. At least flashtool is right now flashing my SGP512!
If you were prevident enough to do a TA backup, all you need is to have root on the tablet and do the following (linux, windows should be similar):
Change to the TA.img directory
Type the commands in bold as-is
adb push TA-18062016.img "/data/local/tmp/TA.img"
(replace TA-18062016.img with the name of your TA image backup)
create a file named restore.sh with the following content (adapted from the old tarestore.sh by DevShaft here):
Code:
#!/system/bin/sh
pl=`ls /dev/block/platform`
for p in $pl
do
platform=$p
break
done
tamd5=`md5sum /dev/block/platform/$platform/by-name/TA`
echo ""
echo "old TA MD5:\n$tamd5"
tamd5=`md5sum /data/local/tmp/TA.img`
echo ""
echo "TA file MD5:\n$tamd5"
dd if=/data/local/tmp/TA.img of=/dev/block/platform/$platform/by-name/TA &> /dev/null
tamd5=`md5sum /dev/block/platform/$platform/by-name/TA`
echo ""
echo "New TA MD5:\n$tamd5"
adb push "restore.sh" "/data/local/tmp/restore.sh"
adb shell "chmod 777 /data/local/tmp/restore.sh"
adb shell
su
/data/local/tmp/restore.sh
That should fix your TA and re-lock your bootloader. After that, flashtool should work again, and you'll be able to flash the stock tft
PS: my Z2 tablet just finished booting into stock ROM, showing the setup wizard now, so it works. I'll see what safetynet shows, before wiping it all again, unlocking boot, and trying LineageOS again.
Wow that's awesome. Good for you.
I don't have a TA backup or even know what that is lol. I've been on Verizon phones for quite some time now. So my Android knowledge of root, roms, ect. Is pretty limited. Hopefully I can flash a TA zip maybe?
Thanks for keeping us updated.
Crwys said:
Wow that's awesome. Good for you.
I don't have a TA backup or even know what that is lol. I've been on Verizon phones for quite some time now. So my Android knowledge of root, roms, ect. Is pretty limited. Hopefully I can flash a TA zip maybe?
Thanks for keeping us updated.
Click to expand...
Click to collapse
Check the thread I linked (here). Unfortunately, you needed to do the backup before unlocking the bootloader, and the TA is specific to your tablet....
jbbandos said:
Check the thread I linked (here). Unfortunately, you needed to do the backup before unlocking the bootloader, and the TA is specific to your tablet....
Click to expand...
Click to collapse
Well damn that sucks. Guess I'll be stuck on Pac Rom for a while then, (maybe forever Lol) at least it runs well.
Thanks again for contributing to this thread.
What a strange thing, I have been able to flash Lineage 7.1 many times on my SGP521, and always be able to get back to stock via Flashtool, I want to know if anyone having this problem owns this model of Z2 tablet, so I can be able to share the stock rom I got, flasheable by CWM.
kiukirimas said:
What a strange thing, I have been able to flash Lineage 7.1 many times on my SGP521, and always be able to get back to stock via Flashtool, I want to know if anyone having this problem owns this model of Z2 tablet, so I can be able to share the stock rom I got, flasheable by CWM.
Click to expand...
Click to collapse
I have the SGP512, but anyway, with this issue flashing stock via the recovery doesn't seem to fix it. The only way I got it to flash again with the flash tool was to recover the TA partition.
Thank you for taking an interest but i have the sgp511
Hey I got exactly the same problem with my SGP521. I installed lineageOS and after that, my tablet did random reboots every 3- 10 minutes. I got pretty annoyed by that and tried another rom. Problem still existed. So I wanted to get back to Stock Rom with the flashtool. But I get "error: null" right after I plug the tablet with Volume Down. I mean... The tablet is unusable for me, when it reboots 130 times a day.
Is there still no solution?
Flashtool 0.9.15 works well! This is solution for SGP521
Psylou said:
Hey I got exactly the same problem with my SGP521. I installed lineageOS and after that, my tablet did random reboots every 3- 10 minutes. I got pretty annoyed by that and tried another rom. Problem still existed. So I wanted to get back to Stock Rom with the flashtool. But I get "error: null" right after I plug the tablet with Volume Down. I mean... The tablet is unusable for me, when it reboots 130 times a day.
Is there still no solution?
Click to expand...
Click to collapse
Just relock your bootloader via flashtool, and install a brand new stock rom via lfashtool too.
I have the exact same problem. 2 days spent on it, I don't how to fix it.
"Parsing boot delivery” then Aborted.
SP-05F. docomo. Now even the firmware from XperiFirm.exe cannot be installed with flashtool 0.9.23.2.
All drivers setup.
I used TWRP to install AICP.
The tab now only could get in system normally, but WIFI doesn't work either.
You should try Flashtool 0.9.15. It works with my Z2 Tablet SGP521.
I have random reboots on my z2 tablet 16gb wifi only, after flashing carbon rom. Any solution ?

Categories

Resources