Hi. I have a Xperia Z1 C6903 (honami) and I tried to install Cyanogenmod on it by following this tutorial:
http://wiki.cyanogenmod.org/w/Install_CM_for_honami
What I did:
1. Unlocked bootloader, had no problems with that.
2. Went to fastboot, flashed over Boot.img, after that I couldn't get to recovery (probably because I didn't install it first)
3. Tried another Boot.img for the Free Xperia project, after that my device had a flashing red light.
4. Reflashed the previous CM Boot.img back.
3. I was told to install recovery, so I installed TWRP (Still couldn't get to recovery mode)
http://forum.xda-developers.com/xperia-z1/general/rec-twrp-2-8-6-0-z1-honami-t3074845
Now I've downloaded Flashtool along with a general FTF file, my next plan was to flash the whole thing, but I'm asking if there was something I did wrong and how to fix up this mess?
Right now by going into recovery mode I get stuck at Sony logo, tried waiting 10 minutes but nothing.
EDIT: Tried to fix it by installing Emma, reinstalled stock lollipop ROM, and TA (I think that's recovery) and nothing, can't even see sony logo anymore
EDIT2: Flashed stock ROM with Flashtool, still doesn't work...
Related
Ive been trying to flash cm11 on my Xperia SP but ive run into a problem. Ive managed to root it and install recovery (i cant unlock bootloader so am using a locked bootloader version of cm11.) I went into recovery and did a factory wipe, then tried to flash the cm11 but it said it had failed. So i tried to boot back into the system bu now it gets stuck at the sony logo and i cant get any further. Cant get into recovery or flash mode as flashtool comees up with loads of errors. Dont know what to do next, any ideas? Thanks
EDIT: Nevermind, downloaded sony update program and reflashed back to stock using that. Now to start all over again!
Ok! I am stuck at the sony logo then a screen appears saying that something went wrong while i was updating the device.
all I did was flash a wrong recovery image for my old phone & then this happened
what I tried:
1. tried to update from the flash tool (didn't work)
2. tried the sony PC companion & it didn't work either, it either says that I have modified software that can't be updated or says that my system doesn't have any updates
my phone is ZR C5502, bootloader was unlocked when I flashed the wrong recovery image.
Please help me I need the phone to work
Thanks in Advance
Teeeee said:
Ok! I am stuck at the sony logo then a screen appears saying that something went wrong while i was updating the device.
all I did was flash a wrong recovery image for my old phone & then this happened
what I tried:
1. tried to update from the flash tool (didn't work)
2. tried the sony PC companion & it didn't work either, it either says that I have modified software that can't be updated or says that my system doesn't have any updates
my phone is ZR C5502, bootloader was unlocked when I flashed the wrong recovery image.
Please help me I need the phone to work
Thanks in Advance
Click to expand...
Click to collapse
Did you take the backup of DRM keys and TA partition while unlocking bootloader? Sony PC comp does not support unlocked phones. you will have to restore the DRM keys and TA partition.
If you have lost both of these, then flash custom kernel and stock or AOSP based ROM using flashtool. search in forums for more info
Thank You!
I Had the Backup & tried Relocking the Bootloader but the PC companion couldn't help me, anyway, I flashed a flash custom kernel and stock ROM using flashtool, thank you so much :good:
Hello everybody,
I rooted my Xperia Z1 about 8 months ago in order to install the 5.1.1 update which didn't roll out for my device probably because it was a global version (5.0.1 was the last OTA). I did a clean install with no problems, flashed DualRecovery, SuperSu, and BusyBox was working just fine. Everything was working perfectly.
About 3 months ago, I tried updating BusyBox, only to tell that the update failed (couldn't install in the path it used to be try changing the path), I read and read, and found that the solution was to delete a certain file from root that prevented me from modifying certain folders and their content(even with root access), and then do a clean install in a different path than the former one. However, I couldn't gain root access to my files, no root explorer worked! It bugged me, but I was busy at that time, so I couldn't resolve it.
Few weeks later I tried rebooting into recovery, but no method worked, no apps, no key combination, no adb, nothing at all worked! After 2 hard days I managed to install TWRP recovery using NUTS recovery project. I rebooted several times, and it was still working. I then installed BusyBox with no problems, and everything was back to perfect. Later I decided to install CM 12.1 because I always used on my Samsung Galaxy Nexus and I always loved it. So using my now working recovery, I backed everything up on a USB and then flashed CM 12.1 WITHOUT its recovery along with a GAPPS package.
CM was installed, which then rebooted into its recovery and tried to install the GAPPS package. The GAPPS installation was a fail. CM recovery asked me to try using TWRP to do such installation ( go figure! ); in fact, CM recovery couldn't flash anything besides another CM 12.1 update. After this point I wasn't able in any possible way to enter TWRP nor install it. Even if I want to flash using fastboot I couln't! adb reads my device just fine, and can use it to reboot into flashmode, which doesn't seem to be functioning properly. The blue light turns on but there isn't a thing on the screen, fastboot can't recognize is it and hence I can't flash anything using fastboot.
Should I reflash partitions if this could be done on Z1? ( I did it before on my Nexus ) Can I use Odin? I even doubt I can enter download mode on my phone
Any help would be much appreciated.
Thanks in advance!
Anyone?
No?
Ok! :sad:
Is your bootloader unlocked? To run cm on our z1 you need an unlocked bootloader because cm needs a custom kernel.
You can try Sony companion app or androxydes flashtool in combination with a pre-rooted ftf to reach stock again.
The thing is even Sony flashtool (Emma) is not reading my phone, it detects a device in the USB port, but not the device!
I managed to install TWRP using TWRP Manager app that I downloaded from APKmirror website. I installed GApps and it is working fine right now.
TWRP Manager said that I should have a FOTA recovery or something like that, and if I don't have one then I am installing the recovery on my responsibility.
Still no bootloader or flash mode. Neither Emma nor Odin are identifying the phone. Although my phone lights blue, but the screen shows nothing!
Mohdhamm said:
The thing is even Sony flashtool (Emma) is not reading my phone, it detects a device in the USB port, but not the device!
Still no bootloader or flash mode. Neither Emma nor Odin are identifying the phone. Although my phone lights blue, but the screen shows nothing!
Click to expand...
Click to collapse
AFAIK, Emma hasn't been updated for a LONG time. It will remain defunct with no updates and no support. Use flashtool from androxyde if you want to continue using Sony's stock ROM.
No bootloader or flash mode detection: That usually means the drivers that interfaces with your phone is missing. Search around XDA for the correct fastboot and adb drivers for your PC's OS.
My approach for fixing your issue: Find the right drivers and put a stable Lollipop ROM on your sdcard. If you have fastboot working (make sure you have unlocked bootloader), flash boot image from the Lollipop zip and flash the recovery image found in some Lollipop threads. If everything goes well, your phone will bootloop, but you'll have working recovery. Press Vol Down when the Sony Logo appears on screen to enter TWRP. Since you saved a backup of your phone elsewhere, erase all the partitions (minus sdcard), format them to ext4, and flash the Lollipop ROM from your sdcard.
Hey there.
I'm in need of some help.
Last night, I was installing https://forum.xda-developers.com/z3-compact/orig-development/cr-5-1-carbonrom-t3529766 on my phone, going from stock 6.0.1. The steps I followed were:
First unlocked my bootloader. Phone boots up fine.
Flashed twrp and booted it. On twrp, the zip I was going to use gave me a error 7. Followed the instructions regarding that, and removed the get.prop lines.
Now it flashed without any errors.
Rebooted phone. It's stuck on bootloop (The Sony logo shows up for a split second and then starts again).
Tried relocking bootloader and flashing stock ftf, but it's still stuck on bootloop. Also tried flashing EliteKernelV3 but to no avail.
I have access to flashmode and fastboot, but can't get into recovery nor offline charging. Think messed up my partition table, and I can't figure what to do. Searched a lot on the forum, but usually the similar problems are solved by flashing stock ftf, wich is not happening to me.
Would be really grateful if some could shed some light on my case.
EDIT: I made a TA-backup prior to flashing custom ROM.
juliloko said:
Hey there.
I'm in need of some help.
Last night, I was installing https://forum.xda-developers.com/z3-compact/orig-development/cr-5-1-carbonrom-t3529766 on my phone, going from stock 6.0.1. The steps I followed were:
First unlocked my bootloader. Phone boots up fine.
Flashed twrp and booted it. On twrp, the zip I was going to use gave me a error 7. Followed the instructions regarding that, and removed the get.prop lines.
Now it flashed without any errors.
Rebooted phone. It's stuck on bootloop (The Sony logo shows up for a split second and then starts again).
Tried relocking bootloader and flashing stock ftf, but it's still stuck on bootloop. Also tried flashing EliteKernelV3 but to no avail.
I have access to flashmode and fastboot, but can't get into recovery nor offline charging. Think messed up my partition table, and I can't figure what to do. Searched a lot on the forum, but usually the similar problems are solved by flashing stock ftf, wich is not happening to me.
Would be really grateful if some could shed some light on my case.
EDIT: I made a TA-backup prior to flashing custom ROM.
Click to expand...
Click to collapse
unlock the bootloader after this flash stock ftf , or try flash tool EMMA, and about this :https://forum.xda-developers.com/z3-compact/orig-development/cr-5-1-carbonrom-t3529766 after flash try 'wipe-factory restore' on TWRP
GL
yo7fb said:
unlock the bootloader after this flash stock ftf , or try flash tool EMMA, and about this :https://forum.xda-developers.com/z3-compact/orig-development/cr-5-1-carbonrom-t3529766 after flash try 'wipe-factory restore' on TWRP
GL
Click to expand...
Click to collapse
After I flashed the ROM, I did a factory restore.
Unlocked bootloader, flashed with EMMA, and it is still stuck on bootloop.
Thanks anyway.
juliloko said:
After I flashed the ROM, I did a factory restore.
Unlocked bootloader, flashed with EMMA, and it is still stuck on bootloop.
Thanks anyway.
Click to expand...
Click to collapse
Try flashing an older firmware like KitKat it maybe has the Z3C partition table inside of the ftf,but the MM firmware doesn't.
Dinkec27 said:
Try flashing an older firmware like KitKat it maybe has the Z3C partition table inside of the ftf,but the MM firmware doesn't.
Click to expand...
Click to collapse
Indeed KK has partition table on the ftf, but it is still stuck on bootloader. I guess I'll contact Sony to see if they have a way of fixing it.
Thanks guys!
Hey there!
I am trying to flash TWRP 3.1.1-0 into my Xperia SP using ADB and apparently it cannot find the "recovery" partition. I've found out I can flash into "boot" instead but my question is, is there a way ( or should I even try) to fix this? I've tried Emma but my device is not supported. It's bootloader is unlocked and I am using Lineage OS 7.1
As far as I've searched in the forums ( https://forum.xda-developers.com/xperia-z-ultra/help/recovery-partition-xz-ultra-flashing-t3453568 ), at least for Xperia Z, it means the bootloader I originaly flashed used a "boot" partition instead of "recovery", right?
The final goal of this quest is to relock my bootloader so Sony Companion can reinstall the original firmware and get it as original as possible.
I am new here and, I hope I am posting this in the right section and I did my research right. This forum is so big it is a little overwhelming.
Thanks in advance!
flash recovery into boot
Hi,
I have a similar question: I want to flash LineageOS 14.1 to my Xperia SP Android 4.3 Build 12.1.A.1.205. I have unlock the Bootloader with the Code from developer.sonymobile.com/unlockbootloader
When I want to flash "fastboot flash recovery twrp-3.1.1-0-huashan.img" , it can not find the recovery partition.
Is it really possible to "fastboot flash boot twrp-3.1.1-0-huashan.img"??? After I have done this, I can reboot normally and TWRP will start? Then I will be able to install LineageOS?
Thanks!
FuchsXSP said:
Hi,
I have a similar question: I want to flash LineageOS 14.1 to my Xperia SP Android 4.3 Build 12.1.A.1.205. I have unlock the Bootloader with the Code from developer.sonymobile.com/unlockbootloader
When I want to flash "fastboot flash recovery twrp-3.1.1-0-huashan.img" , it can not find the recovery partition.
Is it really possible to "fastboot flash boot twrp-3.1.1-0-huashan.img"??? After I have done this, I can reboot normally and TWRP will start? Then I will be able to install LineageOS?
Thanks!
Click to expand...
Click to collapse
Yeah that's pretty much where I'm at right now. Whenever I flash TWRP into my Xperia SP using " fastboot flash boot twrp****.img" it works but when the phone boots the TWRP is all that is on the phone. It will not boot into the system. But then, when I install the OS using TWRP, the OS overwrites TWRP and I am back to the old cyanogenmod bootloader.
So answering your questions:
FuchsXSP said:
Is it really possible to "fastboot flash boot twrp-3.1.1-0-huashan.img"???
Click to expand...
Click to collapse
Yeah that's pretty much how it is done. At least on my Xperia SP. ( I love this phone btw XD)
FuchsXSP said:
After I have done this, I can reboot normally and TWRP will start?
Click to expand...
Click to collapse
Yeah it will only boot into TWRP. You probably wont have access to to your system anymore.
FuchsXSP said:
Then I will be able to install LineageOS?
Click to expand...
Click to collapse
Yeah, just press Install, select the file, and swipe that cool looking safety slider and it should be fine. Beware though older versions of LineageOS had some problems with zip signatures, just make sure to have the newest nightly version (07/12/2017 I guess) and you should be fine.
I have to say though, as anything with android modding, do at your own risk =p.
Here is the solution (at least, the one that worked for me)
I had similar problem - my phone was booting either into Lineage or TWRP, but I had to switch these using ADB commands.
Then I found an application in the Google Play store which can repair this. Look for "TWRP Manager (Requires ROOT)" - from Jmz Software. Free version is good enough.
I installed it and then when I tried to select the option to install TWRP, it tried to install, then complained that there is some problem with my configuration and it looks that it has been repaired. (I'm sorry for not repeating exact messages here, I was doing this about month ago, but when you install this application, the rest is quite self - explanatory).
Anyway, try this. Now my Xperia SP is booting flawlessly - Lineage or TWRP, of course "Reboot to Recovery" option in Lineage also is working correctly !
Xperia SP does not have a dedicated recovery partition like most of other Android phones and a newer Xperia variant. To workaround, the developers of this device have been using different ways of implementing recoveries, the latest and working one is by loading the recovery into our FOTAKernel partition, which is a partition that plays an important role during Stock OTA updates.
Since such a partition serve absolute no purpose when you ventured into custom ROMing, the idea of making use of it for recovery is quite neat. This "feature" is Adrian DC's implementation.
To answer to your question, no, you cannot flash a recovery using fastboot (or any other tools that makes use of fastboot). The options provided by the tool is only limited to partition names, not addresses. You can though, download the FOTA zip from the TWRP thread, and then flash them in the recovery (the one that you booted into because it was installed in /boot). Then re-flash the ROM zip so that the boot image of the ROM gets flashed properly.
It works
Hi,
I have success. On my Xperia SP is now LineageOS 14.1
1. Unlock Bootloader via Sony
2. fastboot flash boot twrp-3.1.1-0-huashan.img
3. reboot SP into twrp
4. wipe and install lineagesOS and opengapps
5. reboot
Now, i can access twrp with second recovery mode (FOTA)
Thanks for your help!! :good:
solved !
sorry to need to bump this thread, but i am having similar issues - i have successfully flashed twrp-huashan as shown in the post above, but on rebooting into twrp, wiping and installing adrian's oreo build, i lose access to twrp
attempting to boot to recovery shows a very brief droid on its back, and then tells me to choose to boot to system or recovery, neitherof which get me back to twrp
any suggestions, as i do not understand why this is so
edit : all is revealed !!
[Recovery][OFFICIAL][UBL] TWRP 3.2.1 Touch Recovery for Xperia SP
https://forum.xda-developers.com/xperia-sp/orig-development/recovery-twrp-3-0-0-touch-recovery-t3309938
Xperia z wont go into recoverymode. blue light with black screen
Hi im having a problem with my xperia z. i have rooted it fisrt then unlocked the bootloader but it wont show a recovery screen when i try and go into recovery mode to flash abd install lingeage. it just shows a blue light with black screen every time i try and go into recovery mode. cant seem to install twrp either. what do i do?
Blue light indicating fastboot mode on Sony Xperia Z5
Karimano24 said:
Hi im having a problem with my xperia z. i have rooted it fisrt then unlocked the bootloader but it wont show a recovery screen when i try and go into recovery mode to flash abd install lingeage. it just shows a blue light with black screen every time i try and go into recovery mode. cant seem to install twrp either. what do i do?
Click to expand...
Click to collapse
Well, that's it. The blue light indicates fastboot/recovery mode on the Xperia Z. You can now connect the Xperia to a computer via USB, then run e.g. 'fastboot devices' and it should list your Xperia. Or run 'fastboot flash recovery <image filename>' to flash TWRP onto the Xperia.