Restoring stock ROM - Xperia Z3 Q&A, Help & Troubleshooting

Apologies for dumb questions but I am really newbie with Sony phones (I know my way around HTCs though).
I have the Xperia Z3 Dual (D6633). After some reading, I've managed to unlock bootloader, installed TWRP recovery and rooted the phone.
My wife somehow locked the phone without memorizing password and the brightest idea I've had was to perform factory reset. Accidentally, I have managed to perform a full wipe, wiping everything except mSD card (I have experience with CWM recoveries but not with TWRP). I did not backup software before accidental wipe.
Phone obviously wont boot but I am having hard time to get to recovery as well, phone just hangs with TWRP recovery logo on the screen.
The first step I intend to perform is to try to re-flash recovery again a go from there.
My intention is to restore stock ROM using Flashtool and d6633_23.0.f.1.74_1288-7362_r8b_ru.ftf
I've read how to enter appropriate boot mode, however, I am not sure witch one to choose for Flashtool to work. BTW, is it possible to restore stock software using Sony PC Companion software?
Can anyone point me in a right direction? A simple guide to follow to in order to get out of this tough situation?

Download your desired firmware and install latest flash tool on your computer.
Copy the downloaded firmware on to the flash tool folder which can be found on your C drive.
Hold volume up and power together till your phone vibrates thrice (power shut down)
Now open flash tool, select flash mode and then your firmware. Now press start.. You will see animation there asking you to connect your device.
Hold your phone's "down volume button" and connect it to the computer. Flash tool will recognize the device and starts flashing. Wait for it to finish.
Boot your device and you are good to go!

creative70 said:
Download your desired firmware and install latest flash tool on your computer.
Copy the downloaded firmware on to the flash tool folder which can be found on your C drive.
Hold volume up and power together till your phone vibrates thrice (power shut down)
Now open flash tool, select flash mode and then your firmware. Now press start.. You will see animation there asking you to connect your device.
Hold your phone's "down volume button" and connect it to the computer. Flash tool will recognize the device and starts flashing. Wait for it to finish.
Boot your device and you are good to go!
Click to expand...
Click to collapse
Success! Thank you for your hand holding.
Order of steps to get the phone to flash mode was slightly different in my case though. When I pressed volume up and power key the device did not react. Repeating the same process with USB cable inserted worked. When pressing volume down the phone was tying to get to recovery but then it hanged there. In the end when Flashtool asked me to connect the phone, I've kept pressing volume down key with phone turned off and inserted USB cable and it got recognized and software got flashed in the end. BTW, Flashtool does't contain drivers for Z3 yet, therefore I've installed drivers for Z1 / Z2 in addition to flashmode and fastboot drivers.
Currently I am updating software trough Sony Update and then I will check if bootloader is still unlocked ant will try to get to recovery. If no luck I will reflash recovery.
Thank you again!
P.S. I've noticed that there are slightly different application included in this ROM. FTF file in these forums is a slightly different version that came with my phone originally. It might be useful to get more versions of FTFs for D6633 model uploaded...

Related

[Q] Bootloader Bricked

My phone is Sony Xperia M2 (Single Sim) D303
I'm on android 4.4.2 and booted Doomlord kernel which was for android 4.3 So my phone got stuck in a loop. After factory reset(hoping it would work ) i can't enter fastboot mode. hoping for advice on how to enter fastboot mode and on someone with Sony Xperia M2 kernel so i can restore boot the stock kernel. Or on some other advice to help me get my phone working again. Right now im getting "device unauthorized" and can't even enter adb commands.
Flash tool doesn't recognise phone. It'd be helpful if someone even knows how to shut down the phone.
I got CWM recovery. So no longer got CWM but can now get into fastboot. Still no ADB and im stuck on Sony image.
Please help me.Thanks in advance.
Have you tried what I suggested in this thread?
Crim Soukyuu said:
Have you tried what I suggested in this thread?
Click to expand...
Click to collapse
My phone is a black screen right now. Can't shut it down,reboot, use adb commands, fastboot or anything. I'm worried if the power reaches 0% it could not even start up again. I'll try it tough, but really looking for diffrent options right now. I would try and flash it but i need to turn phone on and off for flash. I currently can't even do that. Phone doesn't start in flash mode. Maybe i should give it to someone for repairs but it'd probably cost me well over 200$.
I also need some MTP (i think thats it) drivers... Kinda strange don't know what im doing but sometimes i got the drivers and sometimes i don't
flashtool has all drivers needed from what I know. If you want to access phone data, MTP is the protocol used, and that should work out of the box.
Also, to flash the ftf you can use flashmode, so even if fastboot doesn't work, maybe flashmode will.
How do you know the phone is on btw? The only thing I to fix it is to flash ftf in flashmode, but you could wait if someone else has another idea.
Crim Soukyuu said:
flashtool has all drivers needed from what I know. If you want to access phone data, MTP is the protocol used, and that should work out of the box.
Also, to flash the ftf you can use flashmode, so even if fastboot doesn't work, maybe flashmode will.
How do you know the phone is on btw? The only thing I to fix it is to flash ftf in flashmode, but you could wait if someone else has another idea.
Click to expand...
Click to collapse
The phone has a red light on and the screen is lighted black. I tried flashmode but i need to turn phone on and off for it to enter flashmode... I can't do that becouse buttons don't work for some reason. And i had all the drivers but since factory reset i lost them all (don't know how it works) well i got em all back without the MTP and can't install it with flashtool tried already. Also can't enter adb commands. It's like the phone is stuck on end of a loop. It's not looping the logo it's just stuck on the black screen after the logo and doesn't budge like an Iron Brick.
Answer
if you have kernel with CWM you can download flashable zip with rom and just copy zip to sdcard a then flash it in CWM.
korusas said:
My phone is Sony Xperia M2 (Single Sim) D303
I'm on android 4.4.2 and booted Doomlord kernel which was for android 4.3 So my phone got stuck in a loop. After factory reset(hoping it would work ) i can't enter fastboot mode. hoping for advice on how to enter fastboot mode and on someone with Sony Xperia M2 kernel so i can restore boot the stock kernel. Or on some other advice to help me get my phone working again. Right now im getting "device unauthorized" and can't even enter adb commands.
Flash tool doesn't recognise phone. It'd be helpful if someone even knows how to shut down the phone.
I got CWM recovery. So no longer got CWM but can now get into fastboot. Still no ADB and im stuck on Sony image.
Please help me.Thanks in advance.
Click to expand...
Click to collapse
Maybe you can try this,
1. Turn Power button and Vol Up, until first vibrate, keep hold it, and you will feel three times vibration. Now your device is off.
2. Open Flashtool, enter flash mode (push Vol Down and connect your device), reflash your ftf (if you are using DoomLord kernel that supposed to be 4.4.2 ftf), after flash is done, disconnect the cable and redo #1 (above).
3. Push Vol Up and connect your device to enter fastboot mode.
4. After that, go flash DoomLord Boot Kernel. When finished, disconnect your cable, but do not turn on your device yet.
5. Turn on and repeatedly push Vol Down to enter Recovery, go to install from sd card, and install SuperSU-Update.zip file (you must already have SuperSu-update.cip in your external sd)
6. After install supersu, you should go to advanced and choose power off instead of reboot it.
7. Do #2 again, but this time, when choosing the ftf, keep in mind that only kernel and loader to be flash (untick only for Cache, Data and Kernel). And do flash.
8. Turn on your device, and now your 4.4.2 is rooted.
darmank said:
Maybe you can try this,
1. Turn Power button and Vol Up, until first vibrate, keep hold it, and you will feel three times vibration. Now your device is off.
2. Open Flashtool, enter flash mode (push Vol Down and connect your device), reflash your ftf (if you are using DoomLord kernel that supposed to be 4.4.2 ftf), after flash is done, disconnect the cable and redo #1 (above).
3. Push Vol Up and connect your device to enter fastboot mode.
4. After that, go flash DoomLord Boot Kernel. When finished, disconnect your cable, but do not turn on your device yet.
5. Turn on and repeatedly push Vol Down to enter Recovery, go to install from sd card, and install SuperSU-Update.zip file (you must already have SuperSu-update.cip in your external sd)
6. After install supersu, you should go to advanced and choose power off instead of reboot it.
7. Do #2 again, but this time, when choosing the ftf, keep in mind that only kernel and loader to be flash (untick only for Cache, Data and Kernel). And do flash.
8. Turn on your device, and now your 4.4.2 is rooted.
Click to expand...
Click to collapse
does this work cause my xperia m2 dual is bricked after the logo it just turns blank

Fix any samsung android stucked at boot screen!

Hi guys in today's topic iam going to tell you that how you can fix any Samsung android phone that is stucked at booting screen.
It doesn't matter that in which point of boot you phone is stucked. It usually happen when you do something wrong while rooting, flashing, modifying, etc with your device. Do worry with the help of this post you will definitely fix your device. And if you have any questions you can comment down below.
So for fixing you device you have to flash a new firmware on your device using Odin.
**Firmware is a file or zip that contains all the partitions of you device.
**Odin is a flash tool that is use to flash firmware files on any Samsung.
1) Download Samsung usb driver from here and install it.
2)Now download Odin 3.07 from here and extract it on you pc. ( There are latest versions available for Odin but i recommend to use this 3.07 version because i think its easy to use and understand.
3) Then download you Samsung device firmware from here.
Now let's start the flashing process!
1) Remove you phone battery and reinsert if you haven't already. If you device battery is non-removable then it's ok.
2) Now press volume down+ home+ power button to boot into download mod.
3) Press volume up key to continue.
4) Now go to your pc and start odin.
5) Then connect your android device to your pc through usb cable. It's better to use the original usb cable that comes with your device.
6) After your device connected you can see "added" message in the Odin message box.
7) Now make sure that Auto reboot and f. time reset is checked and everything is unchecked. It's important!!!!
8) Then click on "PDA" and select the tar.md5 file (Stock firmware) that you have downloaded.
9) And then just click on start to start the flashing process.
** It will take some time to flash and just sit back don't touch your phone or usb.
10) After that you will see a reset or pass message in Odin. You can now disconnect your phone.
11) After that you phone will boot it will take some time to boot for the first time.
12) Sometimes phone still don't start after flashing the stock firmware because the phone has some corrupt data and cache. So if this happen to you the just go to recovery by pressing volume up+ home+ power and then just factory reset your device and clear the cache and then click on reboot.
** In some device when you clear cache fron recovery it doesn't clear it and just reboot the device automatically. If this happen to then the its totally fine.
After that your phone will definitely boot and fixed!!!
So now you can use your device again.
**You can also check my video tutorial!

Dragon Touch M7 [TWRP][Root]

The Mod edit sales link removedis a cheap generic 7" tablet powered by the MediaTek MT8127 SOC. It runs Android 5.0. It's old an hasn't been sold in a while, but maybe someone will still find this useful.
I used the excellent AIO-TWRP-Compiler Script by @yuweng to build this recovery.
Flashing Instructions
To flash this TWRP recovery image you will need SP Flash Tool, along with the rest of the stock rom files. M7-KD-HT-V2-MT-E-5.0-20150909 is the latest firmware. Unlocking the bootloader and using fastboot is not necessary.
In SP Flash Tool, go to the Download tab and select the scatter file MT8127_Android_scatter.txt from the stock firmware.
Select Firmware Upgrade mode. Do not use Format All + Download mode. This will brick your device.
Click the location for the RECOVERY partition. Choose the TWRP image.
Click Download.
Plug in the tablet and push the reset button on the back.
Booting Recovery
The M7 has no physical volume buttons, so you cannot enter the bootloader menu when you turn it on. Instead, you must connect it to a computer and then do
Code:
adb reboot recovery
After your device is rooted, you can download an app like this one to allow you to reboot into recovery mode. As a last resort, you can crack open the case. There are solder pads on the back side of the motherboard next to the HDMI port where the volume buttons could have been installed. Shorting the VOL + pad to the ground plane while pushing the power button will allow you to get into the bootloader.
Rooting
Install SuperSU in recovery, as you would any other device.
Downloads
M7 TWRP Recovery Image
TWRP Device Tree
Too damn funny that I'm following this guide. And an hour into I realize you wrote it. What to do in case of memory mismatch error? hahahaha
lol, hi Mike. It means you have a tablet with a different memory setup and you need a different ROM for it. I don't think we ever found a ROM that works with those.

Hardbricked

So I wanted to install a custom rom and my steps were:
1. install official twrp app
2. root my phone
3. download the newest twrp for xperia L
4. Flashed the newly downloaded TWRP
Then the phone turned off and almost doesn't respond. The only thing it does is vibrate when i hold down the power button, and flash red and green when i hold down the volume- button while connected via usb to my pc. My question is - why? I thought i did everything correctly. Can anything be done at this point?
scvz said:
So I wanted to install a custom rom and my steps were:
1. install official twrp app
2. root my phone
3. download the newest twrp for xperia L
4. Flashed the newly downloaded TWRP
Then the phone turned off and almost doesn't respond. The only thing it does is vibrate when i hold down the power button, and flash red and green when i hold down the volume- button while connected via usb to my pc. My question is - why? I thought i did everything correctly. Can anything be done at this point?
Click to expand...
Click to collapse
This is normal and your way is somehow wrong, because Stock ROM doesn't support newer TWRP's. you shuold use them only if you already have a custom ROM installed. Also make sure you have unlocked your boot-loader (search the forum for more help)
First,check that if your phone can boot to fastboot mode and PC can detect it. (using adb command: adb devices ).
Then, You may use the method 3 of flashing twrp, mentioned HERE. (you should be familiar with adb & fastboot, and have installed the phone drivers to windows)
This post may also be helpful.
In any case, to get back to Stock ROM, use This post

Question No Download Mode - bricked S21+

Hi,
I've managed to brick my S21+, after a mistake during flashing of a newer twrp version with Odin.
I basically placed the (patched) stock AP file in the AP slot instead of the TWRP tar, and the vbmeta_disabled_R.tar in the userdata slot.
After reboot, I got a boot loop, and I am not able to boot to recovery or to download mode as before when using the key-combo.
Previous to this flashing, I had the TWRP 3.6 and Lineageos 19 GSI for about 6 months, with no issues.
My question - how can I get to Download mode now? and is it possible that I ran over my recovery?
Is it possible that the download mode is no longer available due to the AP flashing (no BL, CSC files)?
Appreciate any suggestion and help!
connect it to the PC and do the combination that you did before, that is volume up and volume down pressed at the same time, that same thing happened to me, when I wanted to update twrp better install the stock first and then the new recovery, so you take advantage of updating the firmware of the phone and the new recovery
Strangely, the recovery entry or download does not work without being connected, so I recommend you better install the magisk to enter the recovery from there, otherwise you will have to do that process when you want to update or install custom roms
CallmeNeos503 said:
Strangely, the recovery entry or download does not work without being connected, so I recommend you better install the magisk to enter the recovery from there, otherwise you will have to do that process when you want to update or install custom roms
Click to expand...
Click to collapse
Thanks for your reply!
the key-combo in S21x are with USB plugged to PC, otherwise recovery cannot be reached, unless using ADB command. I have tried this many times since the wrong Odin flash occurred, but nothing happens except from reboot, warning screen (about unofficial software) and reboot again.
Even previous to the bricking, typically in order to get to download mode in this device, you need to go through recovery first and then select download mode. Alternatively, adb reboot download command, but neither are now an option.
So my last resort was a USB-JIG device to get to download mode - but I don't know of any such device for a USB-C connection.
Anyone here has experience with that? or can direct me to such a device for the newer Samsung models?
Thanks!
Wl40WaBL9hQcjo said:
CallmeNeos503 said:
connect it to the PC and do the combination that you did before, that is volume up and volume down pressed at the same time, that same thing happened to me, when I wanted to update twrp better install the stock first and then the new recovery, so you take advantage of updating the firmware of the phone and the new recovery
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Thanks for your help! - indeed the PLUS and MINUS volume keys with the usb cable plugged in gets you directly to d/l mode. I just tried it with the power key all the time, as in previous models, and that got me nothing.
Issue solved!

Categories

Resources