Recovery/Root question - Xperia Z3 Compact Q&A, Help & Troubleshooting

Hello,
im a new owner of Z3C, and because i had Samsung, i never had issues in downloading recoveries (*img files) and fastbooting them via cmd. Then make my own decisions which ROMs/Kernels/Mods i use. Now i only unlocked bootloader (which was easier than i thought). Now i want to fastboot some custom recovery. I found one and only from DooMLoRD´s CWM-Based recovery; thing is, im not flashing recovery itslef, but kernel too. I need FW version 23.0.A.2.105 - v01, i have the newest available; 23.1.A.1.28.
Now i have a quite mess in this whole thing. Where can i find img* recovery (TWRP nor CWM not have it)? Can anyone help me, give advice? Much appreciated!

I hope u made a backup of ur drm keys.
Recoverys avaible: http://forum.xda-developers.com/showthread.php?t=3014208

An easier way would be ( since you have Unlocked Bootloader ) is to download any CM 11 or 12 ROM and extract boot.img file there. That kernel contains CWM Recovery which you can fastboot flash via CMD if you have Android SDK installed or via Flashtool ( the one made by Androxyde )

Related

[Q] stock 4.2.2 - how to root ?

Can someone please help with this ?
I'm want to flash the stock recovery in order to receive the 4.2.2 OTA update (currently I have the stock 4.1.2 + root + TWRP + S-OFF)
Can someone guide me please, what stock recovery do I need to flash and where should I grab it from ?
I've found only this link http://forum.xda-developers.com/showthread.php?t=2158763
Not sure if is the right recovery but the download link from there is broken
Any idea if I need to be S-OFF or ON in order to receive the OTA ?
That's old thread. Run either a ruu or Mike's stock. Be sure u have stock recovery as well.
Sent from my HTC One
where can I have the stock recovery ? (I can't find it)
- Ok after a lot of digging around I've found a stockrecovery.img file , so I've flashed that like this: fastboot flash recovery stockrecovery.img
- the spooky part after doing this was that I was unable to enter into recovery anymore , the screen alway remained in Entering Recovery and that was it ... maybe someone explain why ?
- then I've locked the bootloader like this: fastboot oem lock
- then I've installed a RUU for Europe (also found out here after diggin around) which actually downgraded my firmware to an older version
- after downgrade I've received an OTA update to a newer firmware - did that
- then after I've received the 4.2.2 OTA update , finaly
- then I've performed a bootloader unlock
- then I've flashed a TWRP recovery image in order to root the device
Now here comes the issue, after flashing the TWRP recovery image, while entering into the TWRP recovery I'm not able to click on any menu , is like the touch screen does not take any input so I'm unable to install the SU binaries
Has anyone encountered this issue ?
How did you root your stock 4.2.2 device ?
Reflashed the CWM recovery (instead of TWRP) as somebody recommend it and it worked - now I have root, too.
dinoc said:
Reflashed the CWM recovery (instead of TWRP) as somebody recommend it and it worked - now I have root, too.
Click to expand...
Click to collapse
Hi there,
i have the exact same problem, the screen wont register touches. How do i reflash CMW? im a noob
You are going to flash it in the same manner you did with the TWRP.
You put your phone into fastboot then issue a command like :
fastboot flash recovery cwm_image_name
You should search for a cwm recovery image file.
And you need to have the bootloader unlocked
After update to 4.2.2 TWRP wont recocnize touch due to the driver update.
Here is a modified version of TWRP where touch work with 4.2.2 OTA
Download and rename it to howdoyouwant.img then
fastboot flash recovery howdoyouwant.img
fastboot erase cache

[Q] Unable to boot into recovery to install CWM or TWRP

Hello people.I am a noob to rooting phones.I recently rooted my Sony Xperia ZR running stock rom , Kitkat 4.4.2
I used Towelroot by Geohotz to root the phone and have unlocked the bootloader with the official procedure of unlocking bootloaders
I would like to install TWRP or CWM custom recovery but i am unable to since i cant boot into recovery.
I tried quick boot and the hardware combinations but in vain
build number : 10.5.A.0.230
kernel : 3.4.0-perf-g32ce454
*********
I have now been able to flash the clockworkmod zip using flashify still ahvent been able to get into recovery mode
http://nut.xperia-files.com
Download the latest version for the ZR, and be sure to get the one that has 'installer' in its name. Extract and run install.bat and there you go - the latest PhilZ touch and TWRP. In fact, this is the only way I know of to get TWRP above 2.6.3.0 for the ZR.
The xperia ZR(c5502) is a great phone but a pain in the ass when it comes to finding anything on custom recovery for it. Does the dual boot work on unlocked bootloader cos mine is.

Do I have to flash TWRP everytime using Flashtool if I need to access it?

Newbie to the 'Dark Side of the Android World' and just curious.
well, after rooting your phone you only need to flash custom recovery once then you can access it as many times as you want
Your question is a little bit weird. Can you link me to a place of reference? Or at least explain what you are actually wanting to do?
Flashing TWRP is a one-time action, once flashed it remain on your Xperia SP. However, FlashTool doesn't offer flashing TWRP to other partitions via fastboot other than the "boot" partition. So far, the only way to correctly flash TWRP is via a recovery.
If you indeed flashed TWRP image via FlashTool, then you are actually putting TWRP into your boot partition, and this makes your device to only boot into TWRP infinitely until you flash a ROM (which will of course again override the boot partition).
The reason why I asked is because this method of accessing recovery is posted in my custom ROM guide, so I want to know if you get this kind of idea from my guide.
Thanks

[SOLVED] c5502 5.1.1 Stuck on black blank screen, Unlocked bootloader, No recovery!

Hello Xperia ZR users,
I had dual recovery i flashed RR M and RR N rom's in a single day. the next day i restored stock rom which i have backup approximately 5.30 gb it took so much time to boot whole 60 percent charging had been gone so i flashed stryflex mm rom for sony look but again i thought to use stock rom so this time i restored stock backup rom through otg pendrive because my external storage got write permissions problem when i installed stryflex! but now also same happened device taking so much time to boot and i thought to flash rr nougat but i wiped everything through dualrecovery and i removed battery as dualrecovery not showing anything in otg pendrive now there is also no recovery available to flash anything!
Xda user Robin guided me to flash stock rom through firmtool but ended with errors in xperia firmtool log file!
So now i am having black blank screen! no recovery unlocked bootloader! i had installed adb drivers through flashtool drivers and also installed other universal adb drivers but pc is not showing my device in adb devices list in command prompt! My device is showing in Device manager as ADB interface! when i connected my phone through fastboot mode !
Please help me!
SOLUTION : If u are using custom roms and want to go back to stock rom 5.1.1 ?! and while flashing are u experiencing blank screen after a successful flash through flashtool or experiencing any errors in flashtool while flashing?! Well there are two methods to flash stock roms! Successfully!!
Method 1 : whatever the custom rom you are in! Just flash the stock 5.1.1 rom in your phone through flashtool but with other pc! Yes other pc, pc with no drivers installed regarding adb! Try out your friends laptop or pc! Don't forget to install flashtool, fastboot and your xperia model drivers through flashtool drivers exe file! which is located in c drive!! Also install adb setup file that install all drivers all over pc! And just flash the stock 5.1.1 rom through flashtool! There are 99.99999% chance that stock rom will be successfully flashed in your phone! If this doesn't work!! It's your bad luck and its definitely pc problem not your phone! Then just follow method 2 to flash the rom!
Method 2 : flash the twrp img through flashtool (use any flashtool version!) by entering into fastboot mode and select flash the kernel option and select the twrp img file in your pc (i mean u have to download the twrp 3.0.3 img and use it ! ) twrp will be successfully installed in ur phone and then flash the stock jellybean 4.1.2 version the download link is available below! it is an ftf file convert the ftf file into zip file and then flash through recovery! that's it u will be booted to stock jb firmware and it will ask to factory reset on first boot press yes option it will take few minutes and then it will be booted to jb rom!! restore drm keys if u have the backup and update the os through xperia companion!! or else flash the 5.1.1 zip through recovery!
Note: only flash the jb rom i tested flashing kitkat it doesn't worked!
Stock jellybean firmware Link:
https://forum.xda-developers.com/showthread.php?t=2384512
PRFCreator tool:
https://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
I uploaded a flashtool log file ! Please help!!
Delta solution
I was also stuck with same error, I Banged my head in all forums with all rookie answers.
Why this problem occurs?
Ans: Because the user has installed Marshmallow or Nougat ROM on Lollipop. Even if you try to
come back on Lollipop stock, it won't accept the TA partition and won't go further (Although CM 10/11/12/13/14 or ASOP 10/11/12/13/14 RR-M/N WORKS without ERROR, but I assume user is hungry for STOCK 5.1.1 LOLLIPOP).
So, what's the solution, either you need backup of your TA partition OR - and if you haven't like me. Nothing to worry. You just need Stock JellyBean ROM (THIS IS IMPORTANT).
My solution will 100 percent work (Its Brahmastra ).
Step 1) download https://forum.xda-developers.com/showthread.php?t=2384512
Step 2) download flash tool version which is mentioned in the above link , I used 0.9.11. Version 0.9.19.8 is HELL - You will never succeed with this version)
Step3) flash... Even if you encounter error [17] no worries, if no error, still no worries (If you get error after TA partation is done...you are through, if you encounter before TA partition, it is worrisome)
Step 4) fastboot -i 0x0fce oem unlock 0xxxxxxxxxxxxxxx69
Step 5) fastboot flash boot boot. Img (twrp or PhilZ recovery) or STEP 8)
Step 5) download customized 5.1.1 by chippa
Step 6) goto TWRP (Recovery) and install customized , NO CMW recovery
Step 7) beer for me, go to STEP 10
Step 8) use flash tool to install C5502_10.7.A.0.222_1273-5765_R1E
Step 9) It boots after 3 sec
step 10) go to step 7 (beer loop mode)
If you go to SONY service centre, those M*F* will say, your screen is damaged, because once you push power button, it vibrates and goes to blank screen.
OR
You have locked your bootloader and you simply need to unlock the bootloader in ( STEP 4 ) and you will start with normal BOOT procedure.
How to unlock the bootloader?
Ans: http://www.cyanogenmods.org/forums/topic/unlock-bootloader-android-phone-using-fastboot/
OR
Relock bootloader (boot), then unlock bootloader (boot the device)
Cheers,
Dr. Lamda
Ok man thanks for your help! I am really surprised that someone gave me the solution! Well, i think i repaired my device! I don't know exactly what i did was correct or wrong few days before i installed a universal adb driver that repaired the driver in pc although there was an existing adb driver! And then i installed an old adb setup because i found that new adb not works sometime! And then through flashtool ver 0.9.23. something , i flashed the twrp 3.0.3 img by fastboot mode it installed successfully! And then i just flashed a rr nougat rom through recovery. I seen so many errors while wiping and flashing rom and gapps! But phone rebooted successfully! After that i see that selinux is set to enforcing rr nougat rom and i can't go to recovery mode so i same flashed twrp img through flashtool but it only rebooting to twrp i pulled off battery and booted again it was successfully booted to ROM!
Hey! Can i flash customised 5.1.1 through recovery ?! as now i am in nougat !
sandeepxperia said:
Ok man thanks for your help! I am really surprised that someone gave me the solution! Well, i think i repaired my device! I don't know exactly what i did was correct or wrong few days before i installed a universal adb driver that repaired the driver in pc although there was an existing adb driver! And then i installed an old adb setup because i found that new adb not works sometime! And then through flashtool ver 0.9.23. something , i flashed the twrp 3.0.3 img by fastboot mode it installed successfully! And then i just flashed a rr nougat rom through recovery. I seen so many errors while wiping and flashing rom and gapps! But phone rebooted successfully! After that i see that selinux is set to enforcing rr nougat rom and i can't go to recovery mode so i same flashed twrp img through flashtool but it only rebooting to twrp i pulled off battery and booted again it was successfully booted to ROM!
Hey! Can i flash customised 5.1.1 through recovery ?! as now i am in nougat !
Click to expand...
Click to collapse
Yes! you can go back to 5.1.1 by the above procudure
If you want to revert back from RR - N to stock firmware then use flashtool-0.9.18.4 and first flash stock 4.4.4 firmware/ boot then flash stock 5.1.1 firmware.
Lλmdα said:
Yes! you can go back to 5.1.1 by the above procudure
Click to expand...
Click to collapse
so i can flash the customised 5.1.1 rom by chippa through twrp recovery, right?
moly.maji , i love u brooooooo with your help what i did was i downloaded a jelly bean 4.1.2 rom and flashed through twrp 3.0.3 recovery by converting the ftf file to zip file (thanks to my other bro xda member robin for telling the info about prf creator pc software tool that converts ftf to zip) and it was successfully booted to jellybean stock rom !
and i am saying to whoever facing to flash the stock rom after updating the device to custom roms to prevent any errors to return to stock 5.1.1 firmware while flashing through flashtool it may be driver related errors in pc or any error just use the flashtool for flashing the twrp img! only by going to fastboot mode and then select flash the kernel option through that select the twrp img that's it within seconds the twrp will be installed in your phone and through twrp recovery flash the jellybean 4.1.2 rom ! i tested flashing kitkat but failed! so flash only jellybean rom!! that's it your phone will boot to jb rom and then if u have backup of drm keys restore and update the os through xperia companion or flash the 5.1.1 rom through recovery that's it !!
my device cant be detected and refused to go into fastboot or Recovery mode
is there any way?

Please help me unbrick my Z3C, I can only get Fastboot working.

Well, I was poking around where I shouldn't have been and I think I flashed the wrong kernal to my phone. It's just getting a blank screen but I can get into fastboot mode to flash things. I had unlocked the bootloader before I soft bricked it but I flashed a newer version of TWRP and can't get it to open to that so either there's a TWRP issue or the bootloader isn't unlocked. When I attempted to unlock it again it did say "already rooted".
I'm on Linux and can't seem to get Flashtool working in either mode so that's not going to fix me. Is there a way to flash an entire rom via fastboot? I know I would need an ISO versus a ZIP file right?
Anyway, please help, this sucks and I'm at the end of my rope trying new things and don't want to make this any worse.
Anything, just point me in the right direction, I need this thing working ASAP.
Don't worry
There is no problem!
I had the same problem because i try to flash on a locked bootloader. But it is easy to unlock and to flash whatever you want.
But for you, you can flash the right version of recovry and then you can install a rom.
If you just want your smartphone to work, you can flash an official rom (with flashtool). (only official rom can be entirely flash with flashtool).
I hope you understand me
Maybe you can try @munjeni's xflasher:
https://forum.xda-developers.com/crossdevice-dev/sony/dev-xflasher-command-line-flasher-t2986634
Please read OP carefully - its an very powerfull flasher....
OR
Just flash an Kernel (via fastboot) with integrated TWRP - I would recomend Adv Stock for your purpose.
Adv. Stock Kernel https://forum.xda-developers.com/z3-compact/development/kernel-advanced-stock-kernel-t3346328
or
EliteKernel https://forum.xda-developers.com/z3-compact/development/kernel-elitekernel-v1-t3427549
After that flash any ZIP you like...

Categories

Resources