Accidentally deleted system files - Xperia M2 D2305 - Sony Xperia M2

Hi,
I'm using lollipop previously and tried to root my device. I tried to follow the instructions on how to root it by unlocking Boot Loader. I accidentally deleted all the system files in recovery mode. Unfortunately, I don't have any back ups. Now my device is just restarting and stuck in Sony logo. I can still boot to recovery mode. I tried to flash the latest ftf but flashing always fail. Is there any way where I can install the OS since in recovery it says that OS is not installed. I'm using TWRP recovery. Many thanks for those who will help. I will really appreciate it.

Cliff0rd said:
Hi,
I'm using lollipop previously and tried to root my device. I tried to follow the instructions on how to root it by unlocking Boot Loader. I accidentally deleted all the system files in recovery mode. Unfortunately, I don't have any back ups. Now my device is just restarting and stuck in Sony logo. I can still boot to recovery mode. I tried to flash the latest ftf but flashing always fail. Is there any way where I can install the OS since in recovery it says that OS is not installed. I'm using TWRP recovery. Many thanks for those who will help. I will really appreciate it.
Click to expand...
Click to collapse
just flash via flashtool

FTF can only be flashed via Flashtools as far as I'm aware it also restores the original stock recovery so you lose your recovery too
Just install Flashmode, Fastboot, and phone drivers (Phone driver can be installed using Sony PC Companion or going to device manager and manually doing it)
Then put your phone into flashmode and then open flashtools select flashmode and then put the ftf file in your directory where it can detect the file usually in documents .flashtool / firmware and then select the file to flash and wait
Don't untick/tick any wipe or not wipe box and just keep pressing yes unless you have a reason to press no

Related

Xperia J - Please Help About Cyanogen Mod 10 FXP209

Hi everyone...
I need help about putting CM 10 to my Xperia J [ST26i]
My Xperia came with 11.0.A.7.5 firmware.
First thing I do is Unlocking Bootloader - which is successfull...
Second is trying to Root it...
So I have downgraded to 11.0.A.3.28_WE firmware then rooted it.
Then I decided to put a CM10 FXP 209...
Everything is continued without problem...
Untill I'm on writing "boot.img" to my ST26i...
I've tried CMD and Flashtool but both says "Device must be rooted, are you root?" or something like that...
But my device is already rooted on 11.0.A.3.28_WE firmware...
Do this have to be rooted on 11.0.A.7.5 firmware?
Also I have tried to do it via manuel.
I was install CWM and enter it wiped device, but CWM can't find zip file to install or update.
I was copied with both names "blablablaFXP209.zip" and "update.zip"...
Then CWM is freezed and my device stucked at black screen.
After that I have installed 11.0.A.3.28_WE firmware again and rooted it...
What should I do now?
Do I have to unlock bootloader again?
1 more thing to ask...
I have a Xperia ArcS too, can I change the IMEI...
Thanks who all helped...
LuciferTR said:
Hi everyone...
I need help about putting CM 10 to my Xperia J [ST26i]
My Xperia came with 11.0.A.7.5 firmware.
First thing I do is Unlocking Bootloader - which is successfull...
Second is trying to Root it...
So I have downgraded to 11.0.A.3.28_WE firmware then rooted it.
Then I decided to put a CM10 FXP 209...
Everything is continued without problem...
Untill I'm on writing "boot.img" to my ST26i...
I've tried CMD and Flashtool but both says "Device must be rooted, are you root?" or something like that...
But my device is already rooted on 11.0.A.3.28_WE firmware...
Do this have to be rooted on 11.0.A.7.5 firmware?
Also I have tried to do it via manuel.
I was install CWM and enter it wiped device, but CWM can't find zip file to install or update.
I was copied with both names "blablablaFXP209.zip" and "update.zip"...
Then CWM is freezed and my device stucked at black screen.
After that I have installed 11.0.A.3.28_WE firmware again and rooted it...
What should I do now?
Do I have to unlock bootloader again?
1 more thing to ask...
I have a Xperia ArcS too, can I change the IMEI...
Thanks who all helped...
Click to expand...
Click to collapse
you have to flash boot.img before the rom
and why did you flashed it if you installed succesfully FXP?
what are you trying to flash?
bornlivedie said:
you have to flash boot.img before the rom
and why did you flashed it if you installed succesfully FXP?
what are you trying to flash?
Click to expand...
Click to collapse
There is misunderstanding.
I do all the prepares successfully, but I can't flash the FXP...
Cause I can't flash the "boot.img"...
There is always says "Device must be rooted! Are you root..."
LuciferTR said:
There is misunderstanding.
I do all the prepares successfully, but I can't flash the FXP...
Cause I can't flash the "boot.img"...
There is always says "Device must be rooted! Are you root..."
Click to expand...
Click to collapse
and you are trying to do this via fastboot?
IE: fastboot flash boot boot.img
Yes, I have used fastboot and Flashtool...
I'm following those steps [From FreeXperia] :
1.Device Unlocking
All info regarding unlocking procedure is on SONY website
2.Copy update on phone
a.copy update
copy update-xxx-xxx-xxx.zip coresponding to your device to sdcard
b.copy GAPPS
due to legal rules gapps are not provided into main rom
google for gapps package and copy on sdcard
3.Flash CM kernel
a. extract boot.img from zip file
b. power off device
c. press volume up (2012 devices) / menu (2011 devices)
d. plug usb and blue led will be lit
e. on computer type in same folder where you have boot.img
fastboot flash boot boot.img
fastboot reboot
!!! you have to have fastboot.exe in same folder !!!
4.Boot into recovery
while FXP logo is displayed (and lights are lit) press several times volume up to enter CWM (recovery)
5.Flash ROM
to update main rom select
a.Install zip from sdcard
b.choose zip from sdcard
c.select your update (copied at step 2)
to flash gapps redo steps a-c and select gapps package
!!! use gapps version designed for your android version !!!
6.Wipe device
from cm9 device wipe is necessary only at first flash or when you switch cm version
!!! if after boot you experience ForceClose then is recomended to reboot to recovery and wipe device
7.Partition format
is not recomended to format your partitions unless you are advised to do otherwise
8.reboot and enjoy...
But every time, stucked on 3rd step....
Always says "Device must be rooted. Are you root?"...
LuciferTR said:
Yes, I have used fastboot and Flashtool...
I'm following those steps [From FreeXperia] :
1.Device Unlocking
All info regarding unlocking procedure is on SONY website
2.Copy update on phone
a.copy update
copy update-xxx-xxx-xxx.zip coresponding to your device to sdcard
b.copy GAPPS
due to legal rules gapps are not provided into main rom
google for gapps package and copy on sdcard
3.Flash CM kernel
a. extract boot.img from zip file
b. power off device
c. press volume up (2012 devices) / menu (2011 devices)
d. plug usb and blue led will be lit
e. on computer type in same folder where you have boot.img
fastboot flash boot boot.img
fastboot reboot
!!! you have to have fastboot.exe in same folder !!!
4.Boot into recovery
while FXP logo is displayed (and lights are lit) press several times volume up to enter CWM (recovery)
5.Flash ROM
to update main rom select
a.Install zip from sdcard
b.choose zip from sdcard
c.select your update (copied at step 2)
to flash gapps redo steps a-c and select gapps package
!!! use gapps version designed for your android version !!!
6.Wipe device
from cm9 device wipe is necessary only at first flash or when you switch cm version
!!! if after boot you experience ForceClose then is recomended to reboot to recovery and wipe device
7.Partition format
is not recomended to format your partitions unless you are advised to do otherwise
8.reboot and enjoy...
But every time, stucked on 3rd step....
Always says "Device must be rooted. Are you root?"...
Click to expand...
Click to collapse
R u sure that ur device is rooted
Sent from my ST21i using xda app-developers app
Yes, Yes and Yes...
I have successfuly unlocked the bootloader and downgraded to older firmware...
Sucessfully Rooted and SupeUser is installed...
But stuck at the writing "boot.img"...
Tried Windows XP SP3, Windows 7 32Bit and 64 Bit...
Tried with Command Line and FastBoot...
Any other idea?
Bro when u downgraded u have to once again unlock the boot loader !! Check if it works !!
Sent from my ST26i using xda app-developers app
I have tried that one too...
Suspected that and tried "Unlock Bootloader again...
Nope it's not unlocking second time just hangs on in command line.
Also, my problem is happened before that one...
SOLVED
- I have fully wiped the device.
- Updated, then downgraded and rooted.
- Unlocked BootLoader with Key AGAIN...
After that proccess successfuly booted the CM 10...
I hope that info helps someone else too...
Thankls all who interested...

[Q]Need help for various problems faced during rooting and flashing stuff in Xperia E

I decided to root my mom's Xperia E and put CM10 in it. So I began. I first rooted with cydia impactor and put supersu manually and installed binaries. It was successfully rooted. Now when I unlocked my bootloader I faced a bootloop, so I flashed stock ftf and then rooted again. So now I have a rooted and bootloader unlocked xperia e. Then I decided to install cwm. I tried to do it using cmd prompt but everytime it would show <waiting for device> and then nothing happens (I booted in fastboot mode). After that I decided to put zeus kernel. In the download section, confusion started as there were 2 versions, for cwm and TWRP respctively, I tried the cwm one and flashed it using flashtool but then my phone's UI was like gone. I was only able to open settings app. So I decided to flash stock FTF and keep it in stable state for now. So what do I need to do to install cm10?
Thanks in advance
When it says <waiting for device> just follow these steps:
1.Turn off the phone
2.power off button + volume UP
3.wait to finish flash
If it dosn't work reinstall drivers.
AvinabaDalal said:
I decided to root my mom's Xperia E and put CM10 in it. So I began. I first rooted with cydia impactor and put supersu manually and installed binaries. It was successfully rooted. Now when I unlocked my bootloader I faced a bootloop, so I flashed stock ftf and then rooted again. So now I have a rooted and bootloader unlocked xperia e. Then I decided to install cwm. I tried to do it using cmd prompt but everytime it would show <waiting for device> and then nothing happens (I booted in fastboot mode). After that I decided to put zeus kernel. In the download section, confusion started as there were 2 versions, for cwm and TWRP respctively, I tried the cwm one and flashed it using flashtool but then my phone's UI was like gone. I was only able to open settings app. So I decided to flash stock FTF and keep it in stable state for now. So what do I need to do to install cm10?
Thanks in advance
Click to expand...
Click to collapse
Nothing much if you flashed Stock FTF recently then just flash Zues Kernel the CWM one, make sure you have the proper drivers to flash using flashtool.
Then boot up and go into recovery and flash the CM10.zip. Then you will need to flash the CM10 kernel. Its usually inside the ZIP named "boot.img"

(Q) Wiped everything and left with no OS or backups.

Hello,
I wiped everything during a ROM change. My device will still go into Fastboot and TWRP. Is there a way to push it trought fastboot or adb. How can i fix this problem?
What recovery are you using? If you're using TWRP you can just connect your phone to your PC while in TWRP and copy a ROM zip across. Or you could flash the stock images with fastboot, see section 8 of my guide thread for instructions on that.
timmaaa said:
What recovery are you using? If you're using TWRP you can just connect your phone to your PC while in TWRP and copy a ROM zip across. Or you could flash the stock images with fastboot, see section 8 of my guide thread for instructions on that.
Click to expand...
Click to collapse
I tried to flash the stock images. Everything went fine and smooth but when i tried to reboot it get stucks in de "One plus powered by android " boot animation. I can still enter Recovery ( it went back to stock unrooted i guess) and fastboot.

[Completed] [Q] Z Ultra 6833 CWM Help

So I was trying to install cyanogenmod on my phone as I was tired of waiting for Sony to update it to lollipop. I've done this on all of my older Samsung phones. So this is what I did:
1: Tried to install CWM using XZU recovery. It restarted my phone but would not boot into recovery mode.
2: Realized I need to root my phone so I rooted it. I have root access in apps except I can't install the binarys in supersu because the stock recovery option does not work and CWM doesn't either.
3. I then thought maybe I need to unlock the bootloader so I unlocked it and tried step 1 again but with the same outcome.
So essentially I am at a point where I can't install the binary in SuperSU due to the recovery being corrupt. I also can't install CWM due to not having the binarys for root installed. Is there away for me to get out of this mess?
Yes I realize I shouldn't have did it in the order that I did but I did it based on a few documentations that I saw that did not state I needed any of that and on past experience on different phones I was able to go straight to CWM.
gizmo1992 said:
So I was trying to install cyanogenmod on my phone as I was tired of waiting for Sony to update it to lollipop. I've done this on all of my older Samsung phones. So this is what I did:
1: Tried to install CWM using XZU recovery. It restarted my phone but would not boot into recovery mode.
2: Realized I need to root my phone so I rooted it. I have root access in apps except I can't install the binarys in supersu because the stock recovery option does not work and CWM doesn't either.
3. I then thought maybe I need to unlock the bootloader so I unlocked it and tried step 1 again but with the same outcome.
So essentially I am at a point where I can't install the binary in SuperSU due to the recovery being corrupt. I also can't install CWM due to not having the binarys for root installed. Is there away for me to get out of this mess?
Yes I realize I shouldn't have did it in the order that I did but I did it based on a few documentations that I saw that did not state I needed any of that and on past experience on different phones I was able to go straight to CWM.
Click to expand...
Click to collapse
Hello,
You need to do the following.
1. Root Your Device.
2. Unlock Boot loader.
3. Download CM12.
4. Open Its Zip And Extract Kernel.
5. Download Flashtool.
6. Use Flashtool To Flash Kernel.
7. Reboot Into Recovery And Flash ROM
Sent from my AO5510 using XDA Premium 4 mobile app
Men_in_black007 said:
Hello,
You need to do the following.
1. Root Your Device.
2. Unlock Boot loader.
3. Download CM12.
4. Open Its Zip And Extract Kernel.
5. Download Flashtool.
6. Use Flashtool To Flash Kernel.
7. Reboot Into Recovery And Flash ROM
Sent from my AO5510 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Flashtool doesn't see my phone. I know that I have my phone in the right mode because it has the blue LED and I know I have the correct drivers because it shows them in Device Manager as well as I had to put it in this mode to unlock the boot loader in the first place.
Nevermind flashtool randomly saw my phone. Going to try and install the new kernal. Will update
So here is what I finally did to get CM12.
1 I used Sony's flashtool to install the stock image and start over.
2 I then used the SP flashtool to install CWM kernel
3 I then installed CM12 in CWM and all is good

Unable to boot into Custom Recovery (TWRP 2.8.5.9) on Xperia Z3 (D6603 )

Background, I downgraded my firmware to 23.0.a.2.93, rooted with locked bootloader using giefroot v3, then installed NUT's Z3-lockeddualrecovery2.8.3-RELEASE.installer, after which I flashed 5.0.2 to preserve root.
Now my phone refuses to boot into TWRP (skips it altogether, I've tried booting into recovery from app like Flashify, TWRP manager and also using adb command). Phone restarts, but never boots into recovery, and goes straight to the android system. I know I have it installed because TWRP manager shows that it is installed, but when I try to flash a .zip file phone just restarts and nothing happens. I wanted to flash xposed's .zip file, otherwise it won't work.
So my question is, what could be the problem? I reinstalled NUT's dualrecovery several times, still no results.
Seriously, have you been on another planet lately? Sorry for sounding a bit harsh.
It's a known issue that Dual recovery isn't still available for Lollipop.

Categories

Resources