[SOLVED] Installing TWRP and rooting (Currently CMR & CM 12.1) - Xperia Z1 Compact Q&A, Help & Troubleshooting

Hello everyone, i'm pretty new to software modding (started again yesterday) but i have successfully customized my previous Nexus 4 with Cyanogenmod in the past and other things thanks to very easy guides online.
Now that the guarantee is void, i'd like to mod my Xperia Z1 Compact.
After a lot of tears and Boot Loops™ i finally managed to install Cyanogen Recovery and Cyanogenmod.
Now i'd like to switch to TWRP, as it provides Nandroid backups, which CMR does not, but i can't find any reliable source for this.
The device doesn't show up in the devices list on their website, so i'm really unsure what to do as i don't want to brick my phone :laugh:
Also pretty much same situation with rooting, there are tons of various ways to root the device but the only tool i'd trust (Flashtool) doesn't allow me to root my phone.
Again i don't know which source to trust or what to do...
Any help would be highly appreciated!
Regards, Daniel

SinusStudios said:
Hello everyone, i'm pretty new to software modding (started again yesterday) but i have successfully customized my previous Nexus 4 with Cyanogenmod in the past and other things thanks to very easy guides online.
Now that the guarantee is void, i'd like to mod my Xperia Z1 Compact.
After a lot of tears and Boot Loops™ i finally managed to install Cyanogen Recovery and Cyanogenmod.
Now i'd like to switch to TWRP, as it provides Nandroid backups, which CMR does not, but i can't find any reliable source for this.
The device doesn't show up in the devices list on their website, so i'm really unsure what to do as i don't want to brick my phone :laugh:
Also pretty much same situation with rooting, there are tons of various ways to root the device but the only tool i'd trust (Flashtool) doesn't allow me to root my phone.
Again i don't know which source to trust or what to do...
Any help would be highly appreciated!
Regards, Daniel
Click to expand...
Click to collapse
Rooting with unlocked BL is easy with adb/fastboot. Just download twrp IMG and copy it to /adb folder, and download SuperSU zip file and copy to phone. Then connect phone in fastboot mode, (power off, hold volume up, and connect cable, release volume when you see blue led), and use fastboot command 'fastboot flash recovery [name of twrp file].img'. Now you have recovery. Reboot to recovery and flash SuperSU.
Twrp download - http://forum.xda-developers.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827
SuperSU download - https://www.google.com/url?sa=t&sou...euHCzPuwbF5IscvgA&sig2=3urcTF6yAxkoYwUylGydvA

levone1 said:
Rooting with unlocked BL is easy with adb/fastboot. Just download twrp IMG and copy it to /adb folder, and download SuperSU zip file and copy to phone. Then connect phone in fastboot mode, (power off, hold volume up, and connect cable, release volume when you see blue led), and use fastboot command 'fastboot flash recovery [name of twrp file].img'. Now you have recovery. Reboot to recovery and flash SuperSU.
Twrp download - http://forum.xda-developers.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827
SuperSU download - https://www.google.com/url?sa=t&sou...euHCzPuwbF5IscvgA&sig2=3urcTF6yAxkoYwUylGydvA
Click to expand...
Click to collapse
@levone1 Thank you very much! Everything has worked flawlessly =)

Hi guys. I already flashed the twrp on this thread but; how can i flash another recovery? Do i need to just flash it again the same way i flashed the first recovery? Will it overwrite the old one automatically? Thanks for the answer. I'm just new to this so i just want to make sure.

Maximuous said:
Hi guys. I already flashed the twrp on this thread but; how can i flash another recovery? Do i need to just flash it again the same way i flashed the first recovery? Will it overwrite the old one automatically? Thanks for the answer. I'm just new to this so i just want to make sure.
Click to expand...
Click to collapse
yes. you probably want to flash it in flashmode or with flashfire, ive broken my recovery a couple times now and got it to work again. flashing a recovery image will wipe the recovery partition eg the previous rec

Related

[Q] Recovery doesn't work or not installed?

I'm not sure why but my recovery mode doesn't work, it just show me a little Android with a red signal and no one letter...
My phone is already rooted but I dont remember if I installed a recovery mode or if it was part of the root process, I need to install a "sound fix" zip, but I can't right now...any ideas??? Can I fix it without lose my data?
I think you don't have a custom recovery yet... Flash one and good to go.
Sent from Google Nexus 4 @ crSimple
Yes, you can install or flash and update recovery without losing data.
If proper USB drivers are installed and you can use ADB with the GNexus while is in developer mode, then you are ready.
Download latest CWM Recovery or TWRP Recovery.
Reboot the phone to bootloader mode. If your ROM has it in power option, you can use that to boot into bootloader.
Otherwise with adb: adb reboot-bootloader
On your computer, put above the recovery .img file in same folder as adb and fastboot executables.
then: fastboot flash recovery name-of-recovery-file.img
You will get an OK, success confirmation if all done properly. Now you can boot to recovery. Done.
Is there a simpler way? I'm not very "acquainted" with ADB :/, something more, ADB for X64 is about 480mb! Is that normal or Am I downloading another thing???
Jerber said:
Is there a simpler way? I'm not very "acquainted" with ADB :/, something more, ADB for X64 is about 480mb! Is that normal or Am I downloading another thing???
Click to expand...
Click to collapse
If you have never used ADB tools or ever attempted bootloader commands, it is probably not recommended for you to change stuff around because there may be a chance something can go wrong and you might not have immediate help to restore your phone. Doing these changes are permanent to your phone, so just keep that in mind if you still want to attempt it (eg you don't know how to return it to stock yet).
Personally, I don't recommend all-in-one tools because of the same reason as above, you don't learn anything if you need to do something command related or mess up.
It sounds like your phone is still bootloader locked to stock version of android but you may have have used SuperSU or some root exploit to get root previously.
All you need are 4 things:
Read and understand the guide @efrant posted for newbies: http://forum.xda-developers.com/showthread.php?t=1812959
Universal Naked Driver
ADB lite - ADB with less stuff, around 2MB
CWM or TWRP recovery img file (previous post)
When you think you are ready just post back.
kaijura said:
If you have never used ADB tools or ever attempted bootloader commands, it is probably not recommended for you to change stuff around because there may be a chance something can go wrong and you might not have immediate help to restore your phone. Doing these changes are permanent to your phone, so just keep that in mind if you still want to attempt it (eg you don't know how to return it to stock yet).
Personally, I don't recommend all-in-one tools because of the same reason as above, you don't learn anything if you need to do something command related or mess up.
It sounds like your phone is still bootloader locked to stock version of android but you may have have used SuperSU or some root exploit to get root previously.
All you need are 4 things:
Read and understand the guide @efrant posted for newbies: http://forum.xda-developers.com/showthread.php?t=1812959
Universal Naked Driver
ADB lite - ADB with less stuff, around 2MB
CWM or TWRP recovery img file (previous post)
When you think you are ready just post back.
Click to expand...
Click to collapse
Thanks, I'm gonna read it now!
My GN is on 4.3, with bootloader unlocked and rooted (of course) my intention with CWM is install a soundfix cuz GN has a VERY low sound and I'm missing some calls and sms all time :/
I used to have a Xperia device and I remember that root process and the installation of CWM are very easy in comparison with my GN, I thought it will be easy too.
Jerber said:
Thanks, I'm gonna read it now!
My GN is on 4.3, with bootloader unlocked and rooted (of course) my intention with CWM is install a soundfix cuz GN has a VERY low sound and I'm missing some calls and sms all time :/
I used to have a Xperia device and I remember that root process and the installation of CWM are very easy in comparison with my GN, I thought it will be easy too.
Click to expand...
Click to collapse
Should be simple for you from what is mentioned above.
After installing the drivers and adb, phone connected via usb, Steps 1-3
1. Set your phone to bootloader mode. 2 ways to do it:
A. Turn phone off, VOL+ and - and power button at same time until you see it.
B. Using PC: after adb is installed, use command terminal and go to folder it is installed in and type adb reboot-bootloader
2. In bootloader mode, flash the CWM recovery.
With your recovery .img file located in the same folder as adb and fastboot executables: in the terminal type fastboot flash recovery recovery-clockwork-6.0.4.3-maguro.img (or the toro or toroplus with the CWM image depending on your Galaxy Nexus type).
3. Boot to recovery.
Hit Vol button a few times until you see recovery on the screen while in bootloader mode, press power button to continue.
Don't forget to make a backup of stuff, including your EFS/radio folder.
Try this www.youtube.com/watch?v=foLQCNxroHw&app=desktop&persist_app=1&hl=en-GB&guid=&client=mv-google&gl=RO it's a complete guide but it's for nexus 10. Same thing with the gnex
Thanks a lot guys! I will try to do it!, something more
*I saw another option but I'm not sure if it work with the GN, some people say that a easy way is just download the app "Rom manager" from the Play Store and install the CWM from the app, what do you think about it?
*I have some little problems with stock 4.3 (for example, my bluetooth is useless :S), Do you recommend me switch to a stable CM rom (like the last official 10.2.0)?
Im not hurry for 4.4 or CM11, but I'm not sure if 10.2.0 has some bugs, anyways seems like a better option than the stock 4.3.

[Q] Root for Sony T2 ultra Model #D316

I have looked all over and see some threads overlapping other threads, however I am not finding anything for the D5316 Model. I am running Android 4.4.2 Build Number 19.1.A.0.486 The kernel version is from Thu Jul 17 10:07:21 2014. I would like to root and get recovery on it to try a faster rom and get rid of the Sony bloatware. If you have been successful or I missed a link on how to do that please point me in the correct direction...... Thank you in advance.
Kinz1980 said:
I have looked all over and see some threads overlapping other threads, however I am not finding anything for the D5316 Model. I am running Android 4.4.2 Build Number 19.1.A.0.486 The kernel version is from Thu Jul 17 10:07:21 2014. I would like to root and get recovery on it to try a faster rom and get rid of the Sony bloatware. If you have been successful or I missed a link on how to do that please point me in the correct direction...... Thank you in advance.
Click to expand...
Click to collapse
you can try all root methods available i.e giefroot, rootkitxperia, easy root tool, etc. find them in the cross development section
Chena_22 said:
you can try all root methods available i.e giefroot, rootkitxperia, easy root tool, etc. find them in the cross development section
Click to expand...
Click to collapse
EDIT: Apparently, it's working now. All I had to do was reflash the ftf file in flashtool and it was able to keep the custom recovery and boot the phone past it....go figure.
Thanks for posting this, I am having some trouble myself and it's really frustrating. I am able to flash both CWM and TWRP. I am even able to boot into these recoveries but I cannot get the damn thing to boot past it. Pretty sure it's the kernel but I cannot find a place that will tell me step by step as to getting custom recovery on the model of this phone. I am still on 4.4.2. Can you please point me in the right direction?
bor3d2damax said:
EDIT: Apparently, it's working now. All I had to do was reflash the ftf file in flashtool and it was able to keep the custom recovery and boot the phone past it....go figure.
Thanks for posting this, I am having some trouble myself and it's really frustrating. I am able to flash both CWM and TWRP. I am even able to boot into these recoveries but I cannot get the damn thing to boot past it. Pretty sure it's the kernel but I cannot find a place that will tell me step by step as to getting custom recovery on the model of this phone. I am still on 4.4.2. Can you please point me in the right direction?
Click to expand...
Click to collapse
So you were able to root your d5316?
Kinz1980 said:
So you were able to root your d5316?
Click to expand...
Click to collapse
Yes I was! I can get you the instructions if you want.
bor3d2damax said:
Yes I was! I can get you the instructions if you want.
Click to expand...
Click to collapse
Yes, please do! Also did you get recovery figured out? I am wanting to use xposed.
Kinz1980 said:
Yes, please do! Also did you get recovery figured out? I am wanting to use xposed.
Click to expand...
Click to collapse
Yes,
Basically what you have to do is download Dual Recovery and put it on your SD card or internal storage on the phone. Download Supersu 2.40 and do the same thing. Then go to the CWM recovery thread and download that. Follow the instructions there. Once you finish following the instructions just boot into CWM recovery, then flash Dual Recovery. Reboot the phone and wait until you see the green light. Press the down key once you see the green light. It should take you into TWRP. After that flash Super Su and then you reboot and let it boot all the way, done. Make sure you are bootloader unlocked and have working ADB AND FASTBOOT on your PC
bor3d2damax said:
Yes,
Basically what you have to do is download Dual Recovery and put it on your SD card or internal storage on the phone. Download Supersu 2.40 and do the same thing. Then go to the CWM recovery thread and download that. Follow the instructions there. Once you finish following the instructions just boot into CWM recovery, then flash Dual Recovery. Reboot the phone and wait until you see the green light. Press the down key once you see the green light. It should take you into TWRP. After that flash Super Su and then you reboot and let it boot all the way, done. Make sure you are bootloader unlocked and have working ADB AND FASTBOOT on your PC
Click to expand...
Click to collapse
Let's back up for a second.....
Give me a breakdown one more time from the very beginning.
1.unlock the bootloader
2. Download "dual recovery"and place on sd card
3. Download superuser and place on sd card
4. Install cwm recovery
5. Flash the dual recovery.....why? Is there something wrong with cwm?
6.Flash superuser
At what point is the phone rooted? Does flashing SU do that? I have used tools in the past on other phones. This is my first Sony phone.
If you care to, or the time to...could you please paste the links to each step (assuming I have them all correct or I am not missing something)
I really appreciate you helping this much I was ready to give up on this phone, cause I couldn't get any help! :what::banghead:
just the topic I was looking for!
mind if I follow this? I just bought this phone yesterday. Looking for a way to get Lollipop on it.
I was hoping to get a reply by now. Which model# do you have
I just flashed FXP ASOP 2/23 after I was able to get 2/08 running on the device and now the device won't boot past the android logo. I can get it flashboot mode and rewrite the 3 imgs (boot, system, and user data) however it still won't boot.
Any Ideas?
hoonu said:
I just flashed FXP ASOP 2/23 after I was able to get 2/08 running on the device and now the device won't boot past the android logo. I can get it flashboot mode and rewrite the 3 imgs (boot, system, and user data) however it still won't boot.
Any Ideas?
Click to expand...
Click to collapse
I am just trying to get root and recovery
I was able to get root by doing the following.
Flash the cwm boot.img. You will not be able to boot android but you will be able to boot to recovery.
Flash the dual recovery from cwm. Go ahead and flash supersu zip as well.
Reboot. Wait till you see the green light (not pink) flash and press the volume down button to boot to twrp or volume up to boot phils recovery.
I used twrp. Once in TWRP, I flashed the rooted stock firmware (mainly to restore a fully working boot.img), and reflashed dual recovery from twrp. Also flash the newest supersu zip.
Maybe a easier way, but worked for me.

[Q&A] [RECOVERY][nozomi] TWRP 2.8.5.0 touch recovery [2015-02-12]

Q&A for [RECOVERY][nozomi] TWRP 2.8.5.0 touch recovery [2015-02-12]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [RECOVERY][nozomi] TWRP 2.8.5.0 touch recovery [2015-02-12]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
locked bootloader
m1st3r1 said:
for cwm, there is cwm (and twrp also) for locked bootloader, but it cant flash any kernel (due to locked bootloader). in summary you stuck with stock kernel (that can only be flashed with flashtool or similar tools (if any ) with locked bootloader.
Click to expand...
Click to collapse
Sorry, I'm a bit beginner...
Does this mean that
1. if I use the procedure on page http://teamw.in/project/twrp2/144 in section Download - Stock Kernel:
2. then I can install any ROMs? For example this one? http://forum.xda-developers.com/xperia-s/s-development/rom-naosprom-xperia-s-t2958516
?
Mickey8881 said:
Sorry, I'm a bit beginner...
Does this mean that
1. if I use the procedure on page http://teamw.in/project/twrp2/144 in section Download - Stock Kernel:
2. then I can install any ROMs? For example this one? http://forum.xda-developers.com/xperia-s/s-development/rom-naosprom-xperia-s-t2958516
?
Click to expand...
Click to collapse
Flashing TWRP would require unlocked bootloader. First unlock Your bootloader, then follow the procedure from here.
From Your other post, it turns out You cannot unlock bootloader, so You can flash only sock based ROM's which work on Stock kernel.
Why is there no version 2.8.6.0 for Xperia S?
Hello guys,
I'm just download and install TWRP manager from google play and i'm trying to install the recovery. I'm choosing device name as LT26i but no recovery file is detected.
If i choose device name as "nozomi" i can find everything but my original device name is LT26i.
What to do? Are you suggest to try with nozomi and install the recovery?
Captainlag said:
Hello guys,
I'm just download and install TWRP manager from google play and i'm trying to install the recovery. I'm choosing device name as LT26i but no recovery file is detected.
If i choose device name as "nozomi" i can find everything but my original device name is LT26i.
What to do? Are you suggest to try with nozomi and install the recovery?
Click to expand...
Click to collapse
Nozomi is the code name for LT26i/LT26ii, so You can use it with no problems.
Unable to recovery
I can't flash any recovery file !!!
While I'm trying to install it returns this:
Something is wrong
------------------------
Flashing recovery was
unsuccessful.Either you already
have this recovery installed or
another error has occured.Would
you like to attempt rebooting to
recovery now?
NO YES
Captainlag said:
I can't flash any recovery file !!!
While I'm trying to install it returns this:
Something is wrong
------------------------
Flashing recovery was
unsuccessful.Either you already
have this recovery installed or
another error has occured.Would
you like to attempt rebooting to
recovery now?
NO YES
Click to expand...
Click to collapse
Which method are You following? Try the method from here.
Thank you for your help Mirhawk, but it doesn't work
Captainlag said:
Thank you for your help Mirhawk, but it doesn't work
Click to expand...
Click to collapse
What error are You getting?
Mirhawk said:
What error are You getting?
Click to expand...
Click to collapse
There is no error but I'm trying to reboot in recovery mode and it's immpossible
Captainlag said:
There is no error but I'm trying to reboot in recovery mode and it's immpossible
Click to expand...
Click to collapse
Hope You are pressing volume up button 2-3 times when Sony appears while booting the phone. Also, what ROM are You on?
Mirhawk said:
Hope You are pressing volume up button 2-3 times when Sony appears while booting the phone. Also, what ROM are You on?
Click to expand...
Click to collapse
Of course I'm pressing volume up button 2-3 times ....
My phone is on 6.2.B.1.96 stock with unlocked bootloader
Captainlag said:
Of course I'm pressing volume up button 2-3 times ....
My phone is on 6.2.B.1.96 stock with unlocked bootloader
Click to expand...
Click to collapse
I just wanted to clarify the first point since I have come across some people who didn't follow correct procedure. Glad You are doing it properly.
Ah yes, that is the problem. This method doesn't work on stock firmwares. Use the method from here to get recovery.
Mirhawk said:
I just wanted to clarify the first point since I have come across some people who didn't follow correct procedure. Glad You are doing it properly.
Ah yes, that is the problem. This method doesn't work on stock firmwares. Use the method from here to get recovery.
Click to expand...
Click to collapse
I suppose that i have to follow "method 2", right?
And what to do with the .zip file?
Captainlag said:
I suppose that i have to follow "method 2", right?
And what to do with the .zip file?
Click to expand...
Click to collapse
Method 1. You need recovery for method 2. If You have unlocked bootloader, You can simply flash the DoomKernel too. You can find it here. Use the blue "Download Now" button, and the file has .elf extension. You can flash it via flashtool, it consists of CWM and TWRP and works with stock ROM.
@Mirhawk: Many many thanks !!! :victory:
Finally , I have recovery with Doomkernel.
Thanks a lot and keep moding
I think I messed up my S
Hi
Trying to root my S and install nAOSProm I followed the instructions in the main thread. I successfully unlocked the bootloader and got the device rooted (SuperSU installed and updated in play store), but when attempting to use the TWRP manager to install TWRP I just got an error message that it wasn't successful. I then did this as I read earlier in this thread: fastboot flash boot 2.8.4.1.img. When I started the phone, it immediately boots into the TWRP but I can't get anywhere from there. Impossible to continue to the OS. When I connect it to the computer I just get an exclamation point in the device manager and I can't seem to find the correct drivers (I've installed the FlashTool Xperia Driver Pack). The phone worked perfectly in windows in both normal mode and fastboot previously. Since the phone doesn't have an external memory card, and since I can't transfer any files to it from Windows, I'm stuck in TWRP.
Is it bricked or can I get out of here?
nielsen81 said:
Hi
Trying to root my S and install nAOSProm I followed the instructions in the main thread. I successfully unlocked the bootloader and got the device rooted (SuperSU installed and updated in play store), but when attempting to use the TWRP manager to install TWRP I just got an error message that it wasn't successful. I then did this as I read earlier in this thread: fastboot flash boot 2.8.4.1.img. When I started the phone, it immediately boots into the TWRP but I can't get anywhere from there. Impossible to continue to the OS. When I connect it to the computer I just get an exclamation point in the device manager and I can't seem to find the correct drivers (I've installed the FlashTool Xperia Driver Pack). The phone worked perfectly in windows in both normal mode and fastboot previously. Since the phone doesn't have an external memory card, and since I can't transfer any files to it from Windows, I'm stuck in TWRP.
Is it bricked or can I get out of here?
Click to expand...
Click to collapse
Flash stock firmware ftf using flash mode in flashtool and then follow the instructions from here.
Or else:
Boot Your phone into recovery. Connect it to PC. Right click on the device in Device Manager, select update drivers, "browse my computer", then "let me pick from list" then select the driver similar to "Sony a0109 ADB drivers" (number may vary). Then You will be able connect to phone via adb. Then use following command to push the ROM and gapps to the phone internal memory:
Code:
adb push ROM.zip /sdcard/
adb push gapps.zip /sdcard/
This will copy the the ROM and gapps to phone which You can flash via recovery easily then.
worked perfectly! thanks for your time and help, much appreciated!

From Stock 5.1.1 to Custom 5.1.1

Dear XDA Members,
I currently run stock 5.1.1 (14.6.A.1.236) with no modifications whatsoever and a locked bootloader.
I would like to install a custom rom (PAC-ROM LP-MR1 5.1.1) on my Z1C.
I did some research and these are the steps i came up with:
1. install sdk and drivers
2. unlock bootloader
3. fastboot flash recovery "fota.img" (shouldn't it specify somehow that i need it to be flashed on the fota partition?)
4. factory reset/wipe
5. install custom rom + gapps
Coming from a locked bootloader a fully stock phone is there anything else i need to do like a new bootloader or something?
Also I'll be doing it through Win 10 64bit, I hope that isn't a problem.
Any advice will be highly appreciated.
Thank you very much
ursidae1 said:
Dear XDA Members,
I currently run stock 5.1.1 (14.6.A.1.236) with no modifications whatsoever and a locked bootloader.
I would like to install a custom rom (PAC-ROM LP-MR1 5.1.1) on my Z1C.
I did some research and these are the steps i came up with:
1. install sdk and drivers
2. unlock bootloader
3. fastboot flash recovery "fota.img" (shouldn't it specify somehow that i need it to be flashed on the fota partition?)
4. factory reset/wipe
5. install custom rom + gapps
Coming from a locked bootloader a fully stock phone is there anything else i need to do like a new bootloader or something?
Also I'll be doing it through Win 10 64bit, I hope that isn't a problem.
Any advice will be highly appreciated.
Thank you very much
Click to expand...
Click to collapse
First things first... Root. If you already did that then you're on the right track.
1. If you're not doing major development stuff, don't install the whole sdk. See here - http://forum.xda-developers.com/showthread.php?p=48915118 There may be issues you'll have to work with on newer versions of Windows. I haven't done it on anything later than 7. Keep in mind, though, that you won't need the computer to flash your boot img or rom, but you will need it to unlock the bootloader.
2. -
3. You can do this with an app called Rashr on your phone with root. Just download a recovery img, then open Rashr and follow the instructions.
4-5. Boot into recovery, full wipe, (system data and caches), flash rom zip and gapps zip. Maybe best to not flash more than that at once to start, in case there's a problem and you have no way to figure out what it is.
BTW, PacMan is a great choice. I've been using it for months.
levone1 said:
First things first... Root. If you already did that then you're on the right track.
1. If you're not doing major development stuff, don't install the whole sdk. See here - http://forum.xda-developers.com/showthread.php?p=48915118 There may be issues you'll have to work with on newer versions of Windows. I haven't done it on anything later than 7. Keep in mind, though, that you won't need the computer to flash your boot img or rom, but you will need it to unlock the bootloader.
2. -
3. You can do this with an app called Rashr on your phone with root. Just download a recovery img, then open Rashr and follow the instructions.
4-5. Boot into recovery, full wipe, (system data and caches), flash rom zip and gapps zip. Maybe best to not flash more than that at once to start, in case there's a problem and you have no way to figure out what it is.
BTW, PacMan is a great choice. I've been using it for months.
Click to expand...
Click to collapse
Thanks a lot for your reply.
I was reading on the cyanogen mod wiki how-to for our phone and it doesn't require a prior root.
I did those steps on my xperia m and it worked and i had never rooted it, the only difference is that i flashed cyanogen recovery and install cm12 which basically roots the phone and then flashed fota recovery.
Should i go this way again to gain root or would you recommend an easier root method for my stock build which is the newest.
If you recommend another root method when should it occur? prior unlocking the bootloader or afterwards?
Thanks
If this is your first time unlocking your bootloader, make sure you backup your DRM-Keys! You need to be rooted for that.
They are lost when bootloader gets unlocked. Some features in regards of camera performance are lost for example.
ursidae1 said:
Thanks a lot for your reply.
I was reading on the cyanogen mod wiki how-to for our phone and it doesn't require a prior root.
I did those steps on my xperia m and it worked and i had never rooted it, the only difference is that i flashed cyanogen recovery and install cm12 which basically roots the phone and then flashed fota recovery.
Should i go this way again to gain root or would you recommend an easier root method for my stock build which is the newest.
If you recommend another root method when should it occur? prior unlocking the bootloader or afterwards?
Thanks
Click to expand...
Click to collapse
True, if bl is unlocked, then you can flash the kernel and recovery via fastboot, then flash your rom. You may need the boot.img from your rom zip file. Then use commands 'fastboot flash boot' for the boot img, and 'fastboot flash recovery' for recovery. If you're rooted already, you can just do it on the phone.
levone1 said:
True, if bl is unlocked, then you can flash the kernel and recovery via fastboot, then flash your rom. You may need the boot.img from your rom zip file. Then use commands 'fastboot flash boot' for the boot img, and 'fastboot flash recovery' for recovery. If you're rooted already, you can just do it on the phone.
Click to expand...
Click to collapse
This is fantastic.
Do you think itll be ok to fastboot flash boot boot.img from cm12.1 rom zip then fastboot flash recovery fota.img instead of the cyanogen recovery that comes with cm12.1?
Do you think that might cause an issue?
ursidae1 said:
This is fantastic.
Do you think itll be ok to fastboot flash boot boot.img from cm12.1 rom zip then fastboot flash recovery fota.img instead of the cyanogen recovery that comes with cm12.1?
Do you think that might cause an issue?
Click to expand...
Click to collapse
Should be fine. It's also a 1 second operation to extract boot.img from your rom zip, which you need already downloaded and on your SD card before you flash imgs. You might even be fine without flashing the boot img - can't hurt to try. Just flash the recovery and reboot and see if you get a purple light. Then, volume button changes purple to orange, and you're in recovery. Some recoveries don't work with some kernels, (been my experience).
levone1 said:
Should be fine. It's also a 1 second operation to extract boot.img from your rom zip, which you need already downloaded and on your SD card before you flash imgs. You might even be fine without flashing the boot img - can't hurt to try. Just flash the recovery and reboot and see if you get a purple light. Then, volume button changes purple to orange, and you're in recovery. Some recoveries don't work with some kernels, (been my experience).
Click to expand...
Click to collapse
I now have cm12.1 with cyanogen recovery.
Which recovery is best for our phone, which one do you use?
I can find 2 options:
FOTA TWRP 2.8.6.0 (http://forum.xda-developers.com/sony-xperia-z1-compact/general/fota-twrp-recovery-amami-t2909719)
XZDualRecovery (http://forum.xda-developers.com/showthread.php?t=2647480)
Thanks a lot
ursidae1 said:
I now have cm12.1 with cyanogen recovery.
Which recovery is best for our phone, which one do you use?
I can find 2 options:
FOTA TWRP 2.8.6.0 (http://forum.xda-developers.com/sony-xperia-z1-compact/general/fota-twrp-recovery-amami-t2909719)
XZDualRecovery (http://forum.xda-developers.com/showthread.php?t=2647480)
Thanks a lot
Click to expand...
Click to collapse
I have only used xzdr with stock rom. I think in the past I've had it not work for me on CM, so I just stick to straight twrp by default. I know NUT has always been hard at work and has made steady improvements, so maybe not an issue now. Personally I realized that I only need 1 recovery anyway. There's a newer Twrp here - http://forum.xda-developers.com/crossdevice-dev/sony/twrp-v2-8-6-0-f2fs-z1-z1c-z2-z3-z3c-t3098573
One important fact that has already been probably mentioned is that installing custom roms on your XPERIA will worsen your camera, esp the front one. Keep this in mind.

Problem installing custom roms

Hello, i have a big problem with installing custom roms on Z1C. I have new z1 with unlocked bootloader. I have flashed a few different TWRP. I don't remember how many, but when im choosing rom to install from TWRP its restarting and there is nothing done ;/ My firmware right now is 14.4.A.0.157. In twrp logs are only "full se linux support is present"
yaroszek said:
Hello, i have a big problem with installing custom roms on Z1C. I have new z1 with unlocked bootloader. I have flashed a few different TWRP. I don't remember how many, but when im choosing rom to install from TWRP its restarting and there is nothing done ;/ My firmware right now is 14.4.A.0.157. In twrp logs are only "full se linux support is present"
Click to expand...
Click to collapse
Did you full wipe, (system data and caches)? Coming from KK, I'd say its a good idea.
Yes i've installed many custom roms in many devices Lg l9, l5, Samsung device,s and xperia J without problems here i cant even flash supersu through recovery. I want to install RR5.1.1. can wipe partitions mount them in TWRP but cant install;/
Update: i cant go into fastboot and download mode. When plugging usb with vol + or - red led is blinking and thats all;/
yaroszek said:
Yes i've installed many custom roms in many devices Lg l9, l5, Samsung device,s and xperia J without problems here i cant even flash supersu through recovery. I want to install RR5.1.1. can wipe partitions mount them in TWRP but cant install;/
Update: i cant go into fastboot and download mode. When plugging usb with vol + or - red led is blinking and thats all;/
Click to expand...
Click to collapse
Strange - maybe incompatible recovery issue. Try one of the links here - http://forum.xda-developers.com/showpost.php?p=65996596&postcount=6 Also, do you have updated Sony bootloader with real recovery, or are you using old recovery?
I tried both recoverys from yours links. On both same problem. As I said before, right now i cant even connect my phone to PC through flash mode or fastboot
yaroszek said:
I tried both recoverys from yours links. On both same problem. As I said before, right now i cant even connect my phone to PC through flash mode or fastboot
Click to expand...
Click to collapse
Sounds like a Flashtool/PC companion repair job...
Ok, but Flashtool doesn't recognize phone. I can't power on my phone.
Ok, I will write here what I've done to install custom roms maybe someone will tell me what i've missed or done wrong:
1. root from this link http://forum.xda-developers.com/showthread.php?t=2784900
2. backup TA http://forum.xda-developers.com/showthread.php?t=2642081
3. unlock bootloader from official sony site
4. flashed recovery TWRP 2.8 from http://forum.xda-developers.com/sony-xperia-z1-compact/general/fota-twrp-recovery-amami-t2909719 with boot from http://forum.xda-developers.com/showpost.php?p=56176856&postcount=17
Recovery reboots when i'm trying to flash new rom
5. flashed TWRP3.0 from http://forum.xda-developers.com/sony-xperia-z1-compact/general/fota-twrp-3-0-0-0-amami-t3310794 same reboots when flashing
6 flashed boot from official CM site http://download.cyanogenmod.org/?device=amami and tried flash clean CM12.1
No succes i don't renember what error i had.
My goal is to flash RRemix5.1.1 any help will be appreciated
yaroszek said:
Ok, I will write here what I've done to install custom roms maybe someone will tell me what i've missed or done wrong:
1. root from this link http://forum.xda-developers.com/showthread.php?t=2784900
2. backup TA http://forum.xda-developers.com/showthread.php?t=2642081
3. unlock bootloader from official sony site
4. flashed recovery TWRP 2.8 from http://forum.xda-developers.com/sony-xperia-z1-compact/general/fota-twrp-recovery-amami-t2909719 with boot from http://forum.xda-developers.com/showpost.php?p=56176856&postcount=17
Recovery reboots when i'm trying to flash new rom
5. flashed TWRP3.0 from http://forum.xda-developers.com/sony-xperia-z1-compact/general/fota-twrp-3-0-0-0-amami-t3310794 same reboots when flashing
6 flashed boot from official CM site http://download.cyanogenmod.org/?device=amami and tried flash clean CM12.1
No succes i don't renember what error i had.
My goal is to flash RRemix5.1.1 any help will be appreciated
Click to expand...
Click to collapse
I'm surprised that neither flash mode nor fastboot works anymore just because you flashed some recovery and boot imgs. Usually you have to do something more drastic to cause that. However, if you really can't getbinto flash mode or fastboot, and you can't boot anything, then that petty much eliminates your normal procedures. Possibly there's been hardware damage. Try Sony PC Companion, and choose repair phone option.

Categories

Resources