[Q] Sony to CM flash process - Xperia Z2 Q&A, Help & Troubleshooting

Hi all,
It's been a few months since I have last programmed my phone, and I do believe it's time for a refresh! I have forgotten some details... so I have a few questions regarding the flashing process.
I currently have the Sony lollipop stock ROM on (customized myself and with root etc) but I wish to go back to a CM based ROM. I have a custom recovery already installed, so basically I was just wondering whether I could just go to recovery, wipe all data, install CM & kernel and boot, or would I need to push files from fast boot via the PC?
I know it's a bit of a silly question, but it's been a while and I rather confirm which is the correct way before I spend unnecessary time recovering my phone through flash tool...
If someone could let me know quickly that'd be great! and thanks in advance people!
Alex

IF your bootloader is unlocked, you can download the CM 12 zip, wipe data and flash it through recovery.
IF your bootloader is locked, you will have to unlock it first, then flash CM from recovery
Sent from my Xperia Z2 somewhere in Norway
---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------
If your bootloader is locked, you can still flash stock based ROMS though, without unlocking it. CM is not based on stock ROM, therefore you need unlocked bootloader
Sent from my Xperia Z2 somewhere in Norway

Skanin said:
IF your bootloader is unlocked, you can download the CM 12 zip, wipe data and flash it through recovery.
IF your bootloader is locked, you will have to unlock it first, then flash CM from recovery
Sent from my Xperia Z2 somewhere in Norway
---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------
If your bootloader is locked, you can still flash stock based ROMS though, without unlocking it. CM is not based on stock ROM, therefore you need unlocked bootloader
Sent from my Xperia Z2 somewhere in Norway
Click to expand...
Click to collapse
It is unlocked, should have specified that earlier, my bad!
Thanks for the reply, saves me the time and effort flashing from scratch

Related

[Q] Xperia neo wont turn on

So basically I tried to flash Ice Cream Sandwich onto my neo. I cant find the exact thread I used now but I remember flashing the kernel then installing the .zip. Then the phone would either get stuck in a continous boot loop for freeze on the xperia logo.
I then tried different kernels which none worked, then I used a different rom which didnt work and then I managed to install the ftf file for the original rom on my neo which was MT15i_4.0.A.2.368_HK , when I turned my phone on I was asked to update so I did and my phone turned off and it wont turn on at all. It is rooted and I had unlocked the boot loader.
Thanks for the help.
You unlocked your BL via official way, sony's page, right? And then you did OTA update, and because of that now you have brick.
Follow this thread and you will fix your phone: http://forum.xda-developers.com/showthread.php?t=1126358
Now, about ICS, unless you tell us which zip you flashed we can't help you much.
---------- Post added at 01:02 AM ---------- Previous post was at 12:39 AM ----------
ICS for Neo users
If you wanna ICS, download from here: http://forum.xda-developers.com/showpost.php?p=24916638&postcount=117
and get flashtool from here: http://forum.xda-developers.com/showthread.php?t=920746
NOTE: for ICS firmwares, after selecting firmware, make sure "No Final Verification" is marked.
after that,
ROOT: http://forum.xda-developers.com/showthread.php?t=1601038
CWM: http://forum.xda-developers.com/showthread.php?t=1364509
and then flash this patch from CWM: http://forum.xda-developers.com/showpost.php?p=25010109&postcount=5
Thanks yo
Madfysh said:
You unlocked your BL via official way, sony's page, right? And then you did OTA update, and because of that now you have brick.
Follow this thread and you will fix your phone: http://forum.xda-developers.com/showthread.php?t=1126358
Now, about ICS, unless you tell us which zip you flashed we can't help you much.
---------- Post added at 01:02 AM ---------- Previous post was at 12:39 AM ----------
If you wanna ICS, download from here: http://forum.xda-developers.com/showpost.php?p=24916638&postcount=117
and get flashtool+fix from here(links at the bottom of post): http://forum.xda-developers.com/showpost.php?p=24901560&postcount=109
after that,
ROOT: http://forum.xda-developers.com/showthread.php?t=1601038
CWM: http://forum.xda-developers.com/showthread.php?t=1364509
and then flash this patch from CWM: http://forum.xda-developers.com/showpost.php?p=24710606&postcount=75
Click to expand...
Click to collapse
Thanks so much, it worked when the official ics comes out for the neo will I be able to update without problems?
Kevinjs said:
Thanks so much, it worked when the official ics comes out for the neo will I be able to update without problems?
Click to expand...
Click to collapse
You never said how you unlocked your BL.
Now after you flashed that fix your phone is being recognized as neo, so I'm not sure what would pc companion do when it see your neo with ICS, as it knows there is no ICS for neo.
Anw, just follow XDA and you will have instructions
My bad people, above patch from emannxperia for Neo will work, but it have some tweeks inside of it. So if you wanna clean build.prop
Flash this zip trough CWM
http://www.4shared.com/zip/5Oalh6Pn/Neo_ICS_562_patch.html
http://www.mediafire.com/?svoke878283dcqd
Now I edited post#2 with correct link.
Madfysh said:
You unlocked your BL via official way, sony's page, right? And then you did OTA update, and because of that now you have brick.
Follow this thread and you will fix your phone: http://forum.xda-developers.com/showthread.php?t=1126358
Now, about ICS, unless you tell us which zip you flashed we can't help you much.
---------- Post added at 01:02 AM ---------- Previous post was at 12:39 AM ----------
ICS for Neo users
If you wanna ICS, download from here: http://forum.xda-developers.com/showpost.php?p=24916638&postcount=117
and get flashtool+fix from here(links at the bottom of post): http://forum.xda-developers.com/showpost.php?p=24901560&postcount=109
after that,
ROOT: http://forum.xda-developers.com/showthread.php?t=1601038
CWM: http://forum.xda-developers.com/showthread.php?t=1364509
and then flash this patch from CWM: http://forum.xda-developers.com/showpost.php?p=25010109&postcount=5
Click to expand...
Click to collapse
Thanks dude i was looking for that days ago!

[Q] flashing CWM to xperia u with recoverX

Hi,
i have a rooted xperia u with a LOCKED bootloader. I want to flash a custom rom to my phone, and after hours of reading, i figure that flashing CWM and using ROM manager is the easiest method, because to the best of my understanding, that method allows me to do everything with the app interface, without having to mess about in the recovery much, and since im a noob, id rather stick to the app interface.
Since i cant install CWM from rom manager itself as my device isnt supported, can i use recoverX to install CWM to my phone which has a locked bootloader, and then use rom manager to flash a custom rom?
Just install cwm.. Rom manager Is not required.. Just use cwm to flash zips.. It has a ui of its own.. And flash custom Roms which are for locked bootloader!!
---------- Post added at 07:32 PM ---------- Previous post was at 07:29 PM ----------
Use this to install cwm http://forum.xda-developers.com/showthread.php?t=1948455

Bootloader locked and Custom rom

So it seems like phone which is updated to official Lollipop is bootloader locked and root and stuff not available
whats the scene with kitkat phones.
can we install custom roms. main recovery or rely on safestrap?
can we install all the available roms for i545 or specifics only
Im going to buy one tomorrow either this or i9505, so want to pick better one
faheemakbar18 said:
So it seems like phone which is updated to official Lollipop is bootloader locked and root and stuff not available
whats the scene with kitkat phones.
can we install custom roms. main recovery or rely on safestrap?
can we install all the available roms for i545 or specifics only
Im going to buy one tomorrow either this or i9505, so want to pick better one
Click to expand...
Click to collapse
If you buy a Samsung Galaxy S4 SCH-I545 phone with Lollipop 5.0.1 or later installed or take the OTA update to Lollipop 5.0.1 or later, you will be locked into the OC1 bootloader. Since there still is not a ROOT exploit available for OC1, you will not be able to ROOT, revert to a previous level ROM or load a custom ROM with OC1.
If the phone has KitKat NK4 Bootloader or prior is a workaround to update to Lollipop 5.0.1 and stay on the NK4 Boot Loader
http://forum.xda-developers.com/gal...-to-update-to-i545oc1-5-0-1-keeproot-t3096558
Using this process will allow you to ROOT and install other ROMS.
With KitKat NK4 Bootloader or prior you can use Odin to revert back to the NC5 Bootloader, Root, install Safestrap and flash any Safestrap compatible ROM for the I545.
FYI, I use the Empty Galaxy Rom http://forum.xda-developers.com/galaxy-s4-verizon/development/rom-empty-galaxy-v1-5-t2968567 It has no Samsung or Verizon Bloat and has excellent battery life.
I figured out how to unlock my recovery on rooted sch-i545 on of1 5.0.1
---------- Post added at 11:39 AM ---------- Previous post was at 11:27 AM ----------
Run script: system/bin/uncrypt
In root explorer make sure and mount r/w.
Find : system/bin
At the bottom of the bin file find
uncrypt press and choose exicute script.
The phone will auto boot into stock recovery.... Choose to reboot and your recovery will be permanently unlocked.
Feel free to shut off and boot to recovery as many times as you like. Now install custom recovery, roms, xposed framework and so on
rebelknight84 said:
I figured out how to unlock my recovery on rooted sch-i545 on of1 5.0.1
---------- Post added at 11:39 AM ---------- Previous post was at 11:27 AM ----------
Run script: system/bin/uncrypt
In root explorer make sure and mount r/w.
Find : system/bin
At the bottom of the bin file find
uncrypt press and choose exicute script.
The phone will auto boot into stock recovery.... Choose to reboot and your recovery will be permanently unlocked.
Feel free to shut off and boot to recovery as many times as you like. Now install custom recovery, roms, xposed framework and so on
Click to expand...
Click to collapse
If only it were this easy! Unfortunately, I fear following this advice may hard-brick my phone!! :crying:
---------- Post added at 09:34 AM ---------- Previous post was at 09:31 AM ----------
jwhistler said:
If only it were this easy! Unfortunately, I fear following this advice may hard-brick my phone!! :crying:
Click to expand...
Click to collapse
Having said that... both OC1 and OF1 have root exploits. Once that is accomplished, you can flash TWZ modified ROMS using Fireflash. See here... http://forum.xda-developers.com/galaxy-s4-verizon/development/stang5litre-ediition-5-0-t3132555
rebelknight84 said:
I figured out how to unlock my recovery on rooted sch-i545 on of1 5.0.1
---------- Post added at 11:39 AM ---------- Previous post was at 11:27 AM ----------
Run script: system/bin/
Click to expand...
Click to collapse
I recommend you edit your post and remove this 'guide' as it is not true
Yes please no one do this. This information is incorrect.
Sent from my stang5litre Edition 5.0 v3

HELP: Soft (hopefully brick) after trying to install the latest OS.

I would really appreciate assistance.
I followed the steps in http://forum.xda-developers.com/xper...8-pre-t3205929 and my phone will not start.
I don't currently have the ability to try flashing an FTF but I will be attempting to do so once I get home from work - I will try flashing https://www.androidfilehost.com/?fid=24052804347818113.
Prior to having this issue, I had a fully rooted 5.0.2 that was fully functional.
Will I need to first install Kitkat to root my phone or will I be able to flash the FTF and keep the existing root? I could follow http://forum.xda-developers.com/xper...5-0-2-t3094094 instead?
If someone could give me a quick guide as to what I need to do at this point to have fully functional root again, I would really appreciate it.
Unlocked or locked bootloader?
Locked.
I just had exactly the same problem with the same rom - really a waste of time. Ended up downloading through Xperifirm and building both 4.4.4 and 5.1.1 roms myself. Wasted a lots of time restoring lost data also.
You have to go back to Kit Kat, install dual recovery then flash the latest prerooted Lollipop. Just use the more tested roms for C6833 if you can't build one yourself.
---------- Post added at 01:10 PM ---------- Previous post was at 01:05 PM ----------
You can also just flash the stock ftf without having to wipe all the data, in order to back up or recover everything you want.
tnthd2 said:
I just had exactly the same problem with the same rom - really a waste of time. Ended up downloading through Xperifirm and building both 4.4.4 and 5.1.1 roms myself. Wasted a lots of time restoring lost data also.
You have to go back to Kit Kat, install dual recovery then flash the latest prerooted Lollipop. Just use the more tested roms for C6833 if you can't build one yourself.
---------- Post added at 01:10 PM ---------- Previous post was at 01:05 PM ----------
You can also just flash the stock ftf without having to wipe all the data, in order to back up or recover everything you want.
Click to expand...
Click to collapse
Can you show the step of solving this problem.
There's already thread with detailed guide for rooting 5.0.2 (in the OP also):forum.xda-developers.com/xperia-z-ultra/general/guide-root-z-ultra-stock-lollipop-5-0-2-t3094094.
There's also a better instruction here: techbeasts.com/2015/04/18/root-xperia-z-ultra-c6802-c6833-c6806-14-5-a-0-242-5-0-2-lollipop-firmware/
For rooting 4.4.4, just install the NUT's dualrecovery which will root it, no need for a separate step. For 5.1.1, if you want to build the flashable zip, get the ftf from the androidhost link above, or use Xperifirm.
So here are the steps:
.Download the 4.4.4 ftf (for C6833 will work) and flash it using flashtool.
.Install dualrecovery using the install.bat.
.Get a tested prerooted zip for 5.1.1 and flash in TWRP.
.Or download stock 5.1.1 ftf to build a prerooted flashable zip with PRFCreator then flash in TWRP.
Good luck.
tnthd2 is correct, you have to follow the instructions exactly.
it took me two goes flashing the 5.1.1. prerooted .zip and then the FTF, the first time I got a boot loop.

Need help with a ROM

Hey guys, I have an Xperia Z2 D6503 with Android 5.1.1 FW 23.4.A.1.200 non-rooted with LB
I saw this ROM -----> http://forum.xda-developers.com/xperia-z2/development/rom-z2-264-stock-rooted-deodexed-t3276227
In the instructions it only says to flash it from recovery and wipe data, and since it's stock based, i was wondering if i needed to root my phone or install a special recovery before flashing this room
Thanks in advance
You don't need to root, but you do need to unlock your boot loader to be able to flash anything that isn't flashed with Sony's own tools and have their signatures.
You migt need to load a different recovery (i.e. twrp or cwm). I can't say for sure.
dont forget to save drm keys first..... I really miss the sony camera, i didnt save the keys and now the camera performance is not as good as before. Tbh u will prefer the stock more.
azam_ said:
dont forget to save drm keys first..... I really miss the sony camera, i didnt save the keys and now the camera performance is not as good as before. Tbh u will prefer the stock more.
Click to expand...
Click to collapse
Did you try using the drm restoration zip?
guys don't mislead. All you need is to downgrade to 23.1.A.1.28, root it via KingRoot and install XZ Dual Recovery. No unlock bootloader required
Mokiwipeout said:
Did you try using the drm restoration zip?
Click to expand...
Click to collapse
i didnt know about the drm keys at the time i unlocked. So its gone forever
---------- Post added at 09:39 PM ---------- Previous post was at 09:38 PM ----------
Bruce666 said:
guys don't mislead. All you need is to downgrade to 23.1.A.1.28, root it via KingRoot and install XZ Dual Recovery. No unlock bootloader required
Click to expand...
Click to collapse
Last i checked 5.1 was not supported on kingroot, and not many custom roms can be used on locked bootloader. He asked about a new rom.
azam_ said:
i didnt know about the drm keys at the time i unlocked. So its gone forever
---------- Post added at 09:39 PM ---------- Previous post was at 09:38 PM ----------
Last i checked 5.1 was not supported on kingroot, and not many custom roms can be used on locked bootloader. He asked about a new rom.
Click to expand...
Click to collapse
He asked about a stock rom. He doesn't need to unlock his bootloader. He can simply downgrade and root then install recovery and flash that stock deodexed rom. Only CM and AOSP based roms need unlocked bootloader. All the sony stock based roms can install in a LB..
---------- Post added at 07:36 AM ---------- Previous post was at 07:32 AM ----------
DeX_17 said:
Hey guys, I have an Xperia Z2 D6503 with Android 5.1.1 FW 23.4.A.1.200 non-rooted with LB
I saw this ROM -----> http://forum.xda-developers.com/xperia-z2/development/rom-z2-264-stock-rooted-deodexed-t3276227
In the instructions it only says to flash it from recovery and wipe data, and since it's stock based, i was wondering if i needed to root my phone or install a special recovery before flashing this room
Thanks in advance
Click to expand...
Click to collapse
My friend. .
Follow this instructions
First download 23.1.A.1.28 ftf and flash it using flashtool. Or download any kitkat ftf and flash it via flashtool. Then root it and install NUT dual recovery. Then move the rom u want to flash to ur phone and enter recovery. Wipe data factory reset and flash rom. Then reboot.. Thats it. U don't need to unlock ur bootloader..
If u don't know how to downgrade u can simply see a YouTube video. There is lot of tutorials available in xda or YouTubes.
U can't root 5.1.1 directly if u are on a LB. So follow my method and enjoy a stock deodexed rom..
Here is a rooting method
http://forum.xda-developers.com/showthread.php?t=3171219
Rajeev said:
He asked about a stock rom. He doesn't need to unlock his bootloader. He can simply downgrade and root then install recovery and flash that stock deodexed rom. Only CM and AOSP based roms need unlocked bootloader. All the sony stock based roms can install in a LB..
---------- Post added at 07:36 AM ---------- Previous post was at 07:32 AM ----------
My friend. .
Follow this instructions
First download 23.1.A.1.28 ftf and flash it using flashtool. Or download any kitkat ftf and flash it via flashtool. Then root it and install NUT dual recovery. Then move the rom u want to flash to ur phone and enter recovery. Wipe data factory reset and flash rom. Then reboot.. Thats it. U don't need to unlock ur bootloader..
If u don't know how to downgrade u can simply see a YouTube video. There is lot of tutorials available in xda or YouTubes.
U can't root 5.1.1 directly if u are on a LB. So follow my method and enjoy a stock deodexed rom..
Here is a rooting method
http://forum.xda-developers.com/showthread.php?t=3171219
Click to expand...
Click to collapse
@Rajeev
hi bro,
just one question:
i unlocked my BL but i am on stock ROM (and of course i saved my DRM-keys before )
So relocking my device will bring back the bravia engine etc?
Or is a complete reinstall after relocking needed?
thx
moonryder said:
@Rajeev
hi bro,
just one question:
i unlocked my BL but i am on stock ROM (and of course i saved my DRM-keys before )
So relocking my device will bring back the bravia engine etc?
Or is a complete reinstall after relocking needed?
thx
Click to expand...
Click to collapse
Simply restore ur DRM key using TA backup tool. Make sure u don't have a custom kernel installed
Rajeev said:
He asked about a stock rom. He doesn't need to unlock his bootloader. He can simply downgrade and root then install recovery and flash that stock deodexed rom. Only CM and AOSP based roms need unlocked bootloader. All the sony stock based roms can install in a LB..
---------- Post added at 07:36 AM ---------- Previous post was at 07:32 AM ----------
My friend. .
Follow this instructions
First download 23.1.A.1.28 ftf and flash it using flashtool. Or download any kitkat ftf and flash it via flashtool. Then root it and install NUT dual recovery. Then move the rom u want to flash to ur phone and enter recovery. Wipe data factory reset and flash rom. Then reboot.. Thats it. U don't need to unlock ur bootloader..
If u don't know how to downgrade u can simply see a YouTube video. There is lot of tutorials available in xda or YouTubes.
U can't root 5.1.1 directly if u are on a LB. So follow my method and enjoy a stock deodexed rom..
Here is a rooting method
http://forum.xda-developers.com/showthread.php?t=3171219
Click to expand...
Click to collapse
Ooooh ok, thank you so much man <3
DeX_17 said:
Ooooh ok, thank you so much man <3
Click to expand...
Click to collapse
Happy to help u
Rajeev said:
He asked about a stock rom. He doesn't need to unlock his bootloader. He can simply downgrade and root then install recovery and flash that stock deodexed rom. Only CM and AOSP based roms need unlocked bootloader. All the sony stock based roms can install in a LB..
---------- Post added at 07:36 AM ---------- Previous post was at 07:32 AM ----------
My friend. .
Follow this instructions
First download 23.1.A.1.28 ftf and flash it using flashtool. Or download any kitkat ftf and flash it via flashtool. Then root it and install NUT dual recovery. Then move the rom u want to flash to ur phone and enter recovery. Wipe data factory reset and flash rom. Then reboot.. Thats it. U don't need to unlock ur bootloader..
If u don't know how to downgrade u can simply see a YouTube video. There is lot of tutorials available in xda or YouTubes.
U can't root 5.1.1 directly if u are on a LB. So follow my method and enjoy a stock deodexed rom..
Here is a rooting method
http://forum.xda-developers.com/showthread.php?t=3171219
Click to expand...
Click to collapse
Why KitKat? 23.1.A.1.28 is 5.0.2 and is rootable.
Bruce666 said:
Why KitKat? 23.1.A.1.28 is 5.0.2 and is rootable.
Click to expand...
Click to collapse
I already mentioned about 1.28 my friend.. . KK is another choice only..
Rajeev said:
I already mentioned about 1.28 my friend.. . KK is another choice only..
Click to expand...
Click to collapse
ooops right, my mistake, sorry my friend

Categories

Resources