i have formatted the system ....please help :'( - Xperia Z2 Q&A, Help & Troubleshooting

please help urgently :'(
i have flashed system UI mod which seems to be corrupted
phone gave a message of system UI error
so in recovery ..i went to advanced format then formatted system and cache etc
pressed reboot and message of are you sure to reboot ..no OS
i rebooted and screen stuck at the first black screen and could not shut down or restart :'(

good day,
If your bootloader is unlocked you can flash recovery via fastboot mode and in recovery flash a rom of your choice. If bootloader locked you'll have to go the flashtool way and if I may ask why did you reboot a systemless phone?

Hayeni said:
good day,
If your bootloader is unlocked you can flash recovery via fastboot mode and in recovery flash a rom of your choice. If bootloader locked you'll have to go the flashtool way and if I may ask why did you reboot a systemless phone?
Click to expand...
Click to collapse
thanks for your gentle reply
i have bought it new then I did root and recovery
i don't know if bootloader locked or not cause i don't even know what does it mean
forgive me as i'm a newbie
i rebooted it while it is systemless cause i'm reckless
where can i got the recovery to flash
my mobile is z2 6503

Ok check under Xperia Z2 General for FTF Z2 stock firmwares and download one of them. After that download and install the latest flashtool, which will assist you with installing the FTF firmware.

You can use Xperia Companion app on your computer to perform a software repair. Install the latest version of Xperia companion app from the Sony site. Once it's installed, open it and click software repair. It will ask you to connect the phone in flash mode in due time; at that point connect to your PC with a USB cable while pressing the Volume Down button. The Companion app will download the stock rom and flash it on its own. You just have to wait until the process is over. This will delete all the data on your device though.

Related

[Q] Bootloader, dont understand

Hi,
I unlock bootloader in sony xperia u in official way throught sony. I have sony xperia U naturally, everything went good, i have unlocked bootloader but phone looks like without root rom manager, superuser and other apps say i havent got root, where can be mistake?
I unlocked bootlader from official B.3.184
Boot loader unlock doesn't give root?
Must be done yourself
Get a recovery
And flash kernel with auto root
Sent from a Galaxy far far away.
and this is other problem, i use recoverx to flash clockword mod recovery, it flash cwm and reboot phone, but i cannot go into recovery, i try push volume + button when phone is starting but nothing, i try reboot in recovery too in rom manager app but it writes "an error occurred while attempting to run privilileged commands....
I think it would be better if you flashed an auto rooting kernel, check the dev section for the U I think there may be one or two. If you would consider yourself a bit of a beginner check the Xperia S dev section and there's a great Info thread by DooMLoRD. I advise you read that as it'll answer all of your questions
yes i know that flash kernel with root should be best decision, but i cannot reboot into recovery, i think it can be problem with this new firmware which i describe below, no other solution i dont find. When i try unlock bootloader again it says that i have unlocked bootloader yet, but i cant flash older firmware, because phone still goes from flashmode after some seconds, i try it with sony pc companion, and with flashtool too, both cannot flash older firmware. So i have unlock bootloader but without root i cant flash older firmware and have no solution great one
flash a kerbel trough fastboot with fastboot flash boot kerbel.elf
Sent from my Xperia S using xda app-developers app
so finally have root acces, but can not go into recovery, try reboot from rom manager to recovery, unsuccesful, try press volume up button when phone is starting unsuccesful, i dont know when is problem still....

[Z2,Z3] Root and recovery stock 5.1.1 264 ROM no data loss - proper easy way

Rooting and romming Sony devices is a little harder than most android devices, some things work a little different. The scattered info doesn't make this any easier either. I had to find this out the hard way, softbricked my Xperia in the process, but I finally did it. I see that there still are people that wish to root stock 5.1.1 and that there are no unified proper instructions to do this so here is my process and guide. Good luck.
There are many ways to do this, but it includes flashing your Xperia to earlier firmware then rooting and installing the recovery and then flashing back the newest firmware, so I made this little guide to make things easier for Sony newcomers. This process should be compatible with Z1, Z2 and Z3(c) - but ofcourse its made for Z2, for Z1 and Z3 download recovery files for your model respectively.
You won't loose any of your data on your stock ROM if you do this correctly.
You'll need a Windows PC, 7, 8.1, 10. (Mac and Linux are also supported)
1. Root your Z with Kingroot.apk v4.6 and v4.8 work flawlessly. Just download and install as normal apk and hit the big blue button. You have to have internet connection for this to work. It will root your Z automatically after cca. 2m.
Kingroot app is basically a super su app from a different developer. Congrats, you now have root.
2. To install a recovery do not use any flashing apps by TWRP or similar, it wont work. We will use XDZR.
XZDR is Xperia Z Dual Recovery, its basically Philz recovery and TWRP recovery flashed together. You enter Philz holding vol up and TWRP holding vol down when powering up your xperia. * Search for NUT's dual recovery for more info.
Download the recovery from here:
http://nut.xperia-files.com/path/XZDualRecovery
(Download the correct .zip for your Xperia model).
3. Download the. zip to your PC.
4. Connect your phone via USB after you have enabled USB debugging on your xperia. If you have correct Sony drivers installed your PC will recognize your device and a dialog will pop up on your phone (about allowing USB debugging from this PC). Allow the access.
5. Unpack the zip you downloaded to a random folder on your PC. Here run the install.bat if you're on a Win PC. Bat will run and here you just choose the first option, type 1 and follow the on screen instructions, keep an eye on your phone, it will pop up a couple of yes - no dialogs. Allow the access and ADB access and wait, it will be fast.
When you reboot you will see a green LED light up while SONY splash is shown, this is when you hold up or down for one of the two recoveries.
Down is for TWRP and up is for Philz.
6. Download superSU from here:
https://download.chainfire.eu/696/SuperSU/
Boot to system again and now you can unroot your phone trough Kingroot app (general settings) and then reboot to recovery again and flash the file from this link, you will get the super su app and super su binaries and this way you're fully rooted and will have dual recovery for your full flashing pleasure.
* Remember that you first need to unroot and uninstall Kingroot app and then flash Super su, otherwise you risk a bootloop or just not functional root access.
* Do not flash newer TWRP or any recovery or youll loose your recovery.
* I am not responsible if something goes wrong with your device.
And thats it, you have your data intact, stock 5.1.1 ROM, fully functional root access with super su and two recoveries, intact BL and DRM keys and you can flash almost anything that supports LB (locked bootloader).
Hey.
I have a few questions.
Does installing recovery void the warranty? Can the XZDualRecovery be uninstalled easily? Can I still update to Marshmallow via official update when it comes out when I have recovery installed on my phone?
Thanks!
cha0zine said:
Hey.
I have a few questions.
Does installing recovery void the warranty? Can the XZDualRecovery be uninstalled easily? Can I still update to Marshmallow via official update when it comes out when I have recovery installed on my phone?
Thanks!
Click to expand...
Click to collapse
I think that Sony does void warranty if you do an "unauthorized software changes" and changing software in any other way than trough OTA is unauthorized by Sony, so yes. But you can completely restore your device to factory state by flashing an official FTF image trough flashtool and restore Sonys recovery and basically get your warranty back.
If you follow the above steps installation of XZDR is quite easy and fast.
You will be able to update to official MM by flashing MM FTF image trough flashtool and restore your phone to "official" software state. But with XZD recovery you will be able to flash leaked MM from beta program even sooner and easier.
This guide does not unlock your BL and does nothing irreversible to your phone * providing you do everything correctly.
Thanks for answering! Much appreciated!
can you back up the drm keys through this method?
jeebarbas said:
can you back up the drm keys through this method?
Click to expand...
Click to collapse
Rooting with this method wont unlock your boot loader so there is no need for that, your DRM keys wont be touched.
5ageman said:
Rooting with this method wont unlock your boot loader so there is no need for that, your DRM keys wont be touched.
Click to expand...
Click to collapse
Thank you for replying. sorry, im such a noob but after flashing su and subinaries do i need to update the su binaries or i could jsut leave it as it is?
jeebarbas said:
Thank you for replying. sorry, im such a noob but after flashing su and subinaries do i need to update the su binaries or i could jsut leave it as it is?
Click to expand...
Click to collapse
You can leave it as is, you will have full root functionality. Of course you can also update binaries to have up to date bug fixes and security patches, update trough normal method works fine.
@5ageman Hi. Thanks for the tutorial. I m a noob in this rooting stuff. Last night i rooted my phone Xperia Z2 5.1.1 using kingroot bcos i was scared of rooting with some other steps and bricking my phone. But then i realized that xposed wont install unless i have custom recovery. But i m quiet confused with few things related to root even after reading so many posts. So just need to know what exactly recovery is. Like when i restart my phone and then press vol up or down key what will exactly happen? Is this something like safe mode and some other mode in laptops??
talkativetaurus said:
@5ageman Hi. Thanks for the tutorial. I m a noob in this rooting stuff. Last night i rooted my phone Xperia Z2 5.1.1 using kingroot bcos i was scared of rooting with some other steps and bricking my phone. But then i realized that xposed wont install unless i have custom recovery. But i m quiet confused with few things related to root even after reading so many posts. So just need to know what exactly recovery is. Like when i restart my phone and then press vol up or down key what will exactly happen? Is this something like safe mode and some other mode in laptops??
Click to expand...
Click to collapse
Recovery is actually closest to BIOS in PC terms although its much more. Xperia Z2 has no recovery by default, you'll need to flash it manually. See step 2. And only then you can eter recovery. By pressing vol down when the green LED lights up you will enter TWRP a custom recovery made by Team Win Recovery Project. Nothing will happen if you do nothig, you wont accidentaly wipe or brick your Z2. If unsure what to do next just tap the reboot button and then system to reboot to system as nothing happened. Go step by step, no hurry.
@5ageman thanks alot for ur answer. Now my doubt is clear.
But i have few more questions related to ur tut.
1- i have already rebooted my phone a number of times after rooting it. Like for some other purpose and not for recovery or super su. So will the tut work for me as i read somewhere that one need not restart the phone after rooting using kingroot and install recovery directly. Or if it was for some other device i dont remember.
2 - According to the end of step 5 and step 6, does that mean that i have to download super su from chainfire while i m still in recovery mode? And once agn in the system after uninstalling kingroot and rebooting in recovery do i have to install SuperSU in the recovery mode? If yes then how?
3- last question. Entering recovery is just vol down button or power + vol down both.
Once again sorry for such basic questions but i m completely new in the world of rooting plus i want to make sure i know what i m doing.
Thanks for ur patience. Appreciate.
talkativetaurus said:
@5ageman thanks alot for ur answer. Now my doubt is clear.
But i have few more questions related to ur tut.
1- i have already rebooted my phone a number of times after rooting it. Like for some other purpose and not for recovery or super su. So will the tut work for me as i read somewhere that one need not restart the phone after rooting using kingroot and install recovery directly. Or if it was for some other device i dont remember.
2 - According to the end of step 5 and step 6, does that mean that i have to download super su from chainfire while i m still in recovery mode? And once agn in the system after uninstalling kingroot and rebooting in recovery do i have to install SuperSU in the recovery mode? If yes then how?
3- last question. Entering recovery is just vol down button or power + vol down both.
Once again sorry for such basic questions but i m completely new in the world of rooting plus i want to make sure i know what i m doing.
Thanks for ur patience. Appreciate.
Click to expand...
Click to collapse
1. You cannot install recovery directly from the system on Z2 like on other phones, Z2 has no recovery partition. This can only be done with unlocked bootloader. Just make sure you have a working root access with Kingroot and USB debugging enabled when you connect your Z2 to a PC.
2. Download superSU from chainfire while still in system, then reboot to recovery and flash it trough recovery. It's a flashable zip. Before booting to recovery unroot your phone trough Kingroot app. SuperSU zip will flash su binaries and the app to system partition automatically and will root your phone again. Rooting trough Kingroot is done only to flash the recovery, then its deleted.
3. After you successfully install tge recovery when you power on your Z2 it will vibrate and flash green LED on sony bios logo. Then you hold down vol down key until led flashes purple. Afterward it will boot to recovery.
5ageman said:
1. You cannot install recovery directly from the system on Z2 like on other phones, Z2 has no recovery partition. This can only be done with unlocked bootloader. Just make sure you have a working root access with Kingroot and USB debugging enabled when you connect your Z2 to a PC.
2. Download superSU from chainfire while still in system, then reboot to recovery and flash it trough recovery. It's a flashable zip. Before booting to recovery unroot your phone trough Kingroot app. SuperSU zip will flash su binaries and the app to system partition automatically and will root your phone again. Rooting trough Kingroot is done only to flash the recovery, then its deleted.
3. After you successfully install tge recovery when you power on your Z2 it will vibrate and flash green LED on sony bios logo. Then you hold down vol down key until led flashes purple. Afterward it will boot to recovery.
Click to expand...
Click to collapse
@5ageman Thanks for ur reply. but i have few more things to say..
1- no i didnt mean in the system. What i read was that when u root with kingroot u r nt suppose to reboot until u install recovery. Otherwise it might cos prbs and nt install SuperSU.
2- What does flashable exactly mean. Is it nt just installing? I dload the superSU from chainfire while in the system and install in the recovery, right? Where will i find the zip to install it? (sorry... Had to ask)
3- i think i got that...i ll knw that exactly when i try it...lol
talkativetaurus said:
@5ageman Thanks for ur reply. but i have few more things to say..
1- no i didnt mean in the system. What i read was that when u root with kingroot u r nt suppose to reboot until u install recovery. Otherwise it might cos prbs and nt install SuperSU.
2- What does flashable exactly mean. Is it nt just installing? I dload the superSU from chainfire while in the system and install in the recovery, right? Where will i find the zip to install it? (sorry... Had to ask)
3- i think i got that...i ll knw that exactly when i try it...lol
Click to expand...
Click to collapse
1. You wont face any issues if you reboot, but you dont have to. Just plug your phone to PC while your phone is in android. Yes you download in system and then install - flash in recovery by tapping "install" and then you navigate to supersu.zip and select it and then swipe to flash it. The supersu.zip will be there where you download it, most likely on internal storage in download folder.
2. Flashable means its installed trough recovery - its flashed as opposed to being installed normally in android system.
So is it safe to root my Z2 with this? I have 15.1.1 264 stock rom, is this safe?
nemanja899 said:
So is it safe to root my Z2 with this? I have 15.1.1 264 stock rom, is this safe?
Click to expand...
Click to collapse
If you follow the guide correctly and know basic android rooting and romming then yes its safe, I rooted my Z2 the same exact way. 5.1.1 264

E5553 Bricked,Rooted and Unlocked BL

as title says, it was all going fine till i flashed a zip that 'contains camera app from motorola portable zip...' and my phone is now stuck at sony logo. i was using it with twrp recovery by bigrammy. now i am stuck at the middle of nowhere cause my phone is rooted and have custom kernel so flashtool cant relock bootloader. And this is why pc companion wont repair the phone..
Please help me ASAP... what should i do ?
gsser said:
as title says, it was all going fine till i flashed a zip that 'contains camera app from motorola portable zip...' and my phone is now stuck at sony logo. i was using it with twrp recovery by bigrammy. now i am stuck at the middle of nowhere cause my phone is rooted and have custom kernel so flashtool cant relock bootloader. And this is why pc companion wont repair the phone..
Please help me ASAP... what should i do ?
Click to expand...
Click to collapse
Just try boot to recovery using the buttons and restore your TWRP backup (I assume you did do a backup at some point)
bigrammy said:
Just try boot to recovery using the buttons and restore your TWRP backup (I assume you did do a backup at some point)
Click to expand...
Click to collapse
Didnt took a backup but, wiped all system etc (except emmc) and voila! Flashtool recognized device and relocked bootloader, then i did a repair from new xperia companion tool. Now i customizing my phone

Accidentally deleted the OS

So, I accidentally deleted my OS through TWRP recovery while I was trying to clear the cache. Now the device is stuck at the Xperia logo and I can't even access TWRP anymore. I can't get flashtool to recognize my device either. I don't know what to do. Is my device doomed? Any help would be really appreciated.
BiscuitCache said:
So, I accidentally deleted my OS through TWRP recovery while I was trying to clear the cache. Now the device is stuck at the Xperia logo and I can't even access TWRP anymore. I can't get flashtool to recognize my device either. I don't know what to do. Is my device doomed? Any help would be really appreciated.
Click to expand...
Click to collapse
I also deleted everything on my Z2 a couple of weeks ago and thought it was dead, but my PC detected my Z2 in fastboot immediately.
Check your drivers and try with a different USB cable; maybe other PC?...
Enter fastboot mode and then flash a kernel with TWRP.
brother,
For locked bootloaders the TWRP is a part of the ROM. never do a wipe system in TWRP with Locked bootloader.
but don't worry and be sure your device isn't dead at all. just follow the below steps in the link in order to use flashtool and flash your phone, I recomend using the old following version of flashtool http://www.flashtool.net/downloads_windows_prev.php
http://www.gizmobolt.com/2015/04/09...z3-23-1-a-0-690-ftf-using-flashtool-manually/
OP has found the solution himself, thread closed.

Help me unbrick

Im the most stupid person alive because
I didn't unlock my bootloader
I installed xzrecovery witch is a app that installs twrp
Then in twrp i wiped every thing
Then I tried to install a rom witch didn't work
Then i trend the phone off when i tried to do so twrp said your device is not rooted do you want to install super su i said yes the phone is now stuck on sony logo
Pliz help
aliamiri70007 said:
Im the most stupid person alive because
I didn't unlock my bootloader
I installed xzrecovery witch is a app that installs twrp
Then in twrp i wiped every thing
Then I tried to install a rom witch didn't work
Then i trend the phone off when i tried to do so twrp said your device is not rooted do you want to install super su i said yes the phone is now stuck on sony logo
Pliz help
Click to expand...
Click to collapse
You wiped everything and now there is no rom installed so its not going past the sony logo. You have two options.
1. Unlock bootloader if you want to run a custom rom.
2. Flash stock rom to go back to stock.
and how to flash stock rom , you need to have the flashtool , put your phone in donwloadmode ( volumne down + plug in the usb cable ) and then flash the stock rom of sony ( you can find the method on how to do it on google ) its simple and then you decide out of 2 options above from last post
Since your bootloader isn't unlocked your can use Sony Companion Software to repair your phone. When you click update there is a repair option. Select repair and hook up the phone in flashmode. Make sure your ZU is atleast 50% charged.
thanks for replying everyone i tried the flashtool stock rom installation and i got boot loop now i tried two different ftf files but they both result in boot loop what am i doing wrong?
aliamiri70007 said:
thanks for replying everyone i tried the flashtool stock rom installation and i got boot loop now i tried two different ftf files but they both result in boot loop what am i doing wrong?
Click to expand...
Click to collapse
can you flash the stock rom again and copy paste the log here in a code quote like this one:
Code:
write here
And what is your model? C6833 etc..
What stock rom did you download?
Which drivers did you use?
And which version of flashtool did you use?
And lastly what settings did you use when flashing the stock rom? All options included so ALL partitions being flashed. And none excluded.
Screenshots is always good help .
for locked bootloader http://support.sonymobile.com/fr/xperia-companion/
for unlocked bootloader https://developer.sonymobile.com/open-devices/flash-tool/
Thanks I didn't check the wipe section wich causes bootloader thanks again to everyone who helped
aliamiri70007 said:
Thanks I didn't check the wipe section wich causes bootloader thanks again to everyone who helped
Click to expand...
Click to collapse
You're welcome

Categories

Resources