yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact General] ivanmemento:
Hello, please can you tell me why i have flashed it and there is no led light after logo sony and it doesn't appear in twrp tool, i think i have something wrong in the partition :/ can somebody help ? the flashing say ok sending ok flashing etc ....but nothing works and no led at all at the boot; I have dstriker rom like another user, i see a boot.img with all features, if it is last stock kernel can be flashed?

I have tryed the second code to flash with fastboot and it result in enter to twrp but it say red error system cannot be modified, there's something stupid that i don0t see, please very thanks if you find my mistake

thanks in advance
[Xperia Z1 Compact General] Nubiko:
TWRP 3.0.2-1 is for z1c ?
[Xperia Z1 Compact General] Nash123:
Yes. But only if you have kitkat.
[Xperia Z1 Compact General] bratusm:
And how to install it if you have LP? :confused:
[Xperia Z1 Compact General] Nash123:
Edit: Sorry for the confusion. 3.0.2-1 is the version for marshmallow (and maybe lollipop?). The custom version by derf elot for my test was 3.0.2-1-cm11.

Derf elot mentioned it probably needs customized files to work with the various androidversions.

Why don't you just try the 3.0.2-1 version without installing it but only by booting into it with fastboot?
[Xperia Z1 Compact General] Yokurt815:
I use the TWRP 3.0.2 version from below with CM12.1. Works fine with encryption (PIN).
[Xperia Z1 Compact General] :
I use android stock with dualrecovery. How can i Update on twrp 3.0.2? I cannot Access my encrypted data with twrp 2.xxx.

Thank you for your help!
[Xperia Z1 Compact General] frauhottelmann:
If you've already updated your bootloader to the version with real recovery then it's just fastboot flash recovery recovery.img ...
[Xperia Z1 Compact General] :
Hmm okay. I dont know if i have a real bootloader. I just flashed this image: http://xdaforums.com/sony-xperia-z1-compact/general/stock-14-6-1-236-customized-lollipop-5-t3264557

before i was on CM12.1. ... Can i flash a real bootloader without loosing data?

fastboot flash recovery recovery.img wont change a thing - thats what i tried in first place ...
[Xperia Z1 Compact General] frauhottelmann:
You can only get it through Sony's flash tool. I don't think it's possible without data loss.

Maybe start the recovery through fastboot boot recovery.img. Do a backup of the encrypted partition and copy it to your pc. Then flash the latest stock ROM with the Sony tool (you get the new boot loader). Then flash the real recovery with fastboot flash recovery recovery.img and restore the backup. But no guarantee that that would work...
[Xperia Z1 Compact General] derf elot:
Does flashing to FOTA not work with stock? e.g. flash to FOTAKernel, instead of recovery
[Xperia Z1 Compact General] AlexandreVegetaroux:
I did the same. Fota flashing via rashr don't works. Or I have to choose to flash kernel and not recovery in rashr? Does anybody experiences in flashing recovery with rashr?
[Xperia Z1 Compact General] Nubiko:
flash through rasr like recovery, everything is OK!

http://rapid.ufanet.ru/27791809
[Xperia Z1 Compact General] AlexandreVegetaroux:
Ok, thank you. Now I have strange behaviour. I can't get in recovery via normal volume up our down. I have to press power and volume down, after that is a short vibration , the phone turns on and bit into recovery.

Even if I choose the option in several apps to boot into recovery it don't works.

Strange
[Xperia Z1 Compact General] giriz1c:
Hello... Can anyone help me updating latest TWRP. what r d steps to update... rite now im in old one 2.8 and i want to update it to 3.0.2. i have xperia z1 compact with stock rom Locked bootloader.
[Xperia Z1 Compact General] Turbopuschel:
I need some help with converting my partitions to f2fs, which this recovery supports according to the first post. I can choose to change the file system (I tried data partition first) to f2fs but after that there are immediately error messages saying "failed to mount /data" and "unable to ... (unfortunately forgot what exactly). Anyway, trying to mount manually afterwards or repairing file system do not help.

I use this kernel: http://xdaforums.com/sony-xperia-z1...kernel-exfat-support-mtkcamera-dirty-t3388396 which according to its name supports f2fs.
[Xperia Z1 Compact General] Yokurt815:
I guess you need to post the logcat with the error messages, they should give a hint what's wrong.
[Xperia Z1 Compact General] derf elot:
Hi,

are you using the TWRP from the OP or one of my builds with enabled decryption? The reason I'm asking is because i made some changes to the fstab file. If anything though, my changes should improve f2fs mounting and not break it.
[Xperia Z1 Compact General] Turbopuschel:
I'm using OP's TWRP. Also if that matters anyhow, I'm using real recovery.
[Xperia Z1 Compact General] aivip:
Thanks
[Xperia Z1 Compact General] mkdmc:
I flashed Dirty Unicorns MM rom.

Now how should I flash twrp?

I should use

fastboot flash FOTAKernel Z1C-twrp-3.0.2.img

or

fastboot flash recovery Z1C-twrp-3.0.2.img

?
[Xperia Z1 Compact General] Turbopuschel:
As it says in the OP that depends on if you have the new bootloader with real recovery partition. And I think that depends on if you flashed the newest stock rom (I think version 14.6.A.1.236) from Sony via their flash tool EMMA in the past.
[Xperia Z1 Compact General] EpicLPer:
How would I go back to stock to get the bootloader? Besides, is there any other way of checking what version I already have?
[Xperia Z1 Compact General] Turbopuschel:
For question one download EMMA from http://software.sonymobile.com/emma/emma_setup. Unfortunately you also need the put the file "customization.ini" from this zip file: http://dl-developer.sonymobile.com/tools/Flash_tool_for_Xperia_7.zip into the installation directory prior to starting EMMA or else you need to register for using it. Then use EMMA to flash the newest stock rom. That will also get you the new bootloader.

For question two I unfortunately don't know a way.
[Xperia Z1 Compact General] optimumpro:
I am not sure that this build can do any data decryption, as you need several flags in a device tree to build encryption support... You have to have at least the following:

TW_INCLUDE_L_CRYPTO := true

TARGET_HW_DISK_ENCRYPTION := true

TARGET_HW_KEYSTORE := true

TW_CRYPTO_KEY_LOC := "footer"

And you also need to provide for offset in data partition in twrp.fstab:

length=-16384
[Xperia Z1 Compact General] derf elot:
Indeed, one in OP doesn't decrypt. But feel free to try my build :)

Actually, the latest build is this one: https://www.androidfilehost.com/?fid=24533103863142425
[Xperia Z1 Compact General] optimumpro:
I have honami and I use my own recovery, but your trees do contain the appropriate flags. Cheers...
[Xperia Z1 Compact General] ConradB:
(SOLVED)

I want to flash TWRP 3.0.2 on my Z1c (D5503) Device.

I saved the TA Partition and unlocked the bootloader

How to flash TWRP?

What is the right way, 1 or 2?

1.) fastboot flash FOTAKernel Z1C-twrp-3.0.2.img

OR

If you have new bootloader for open devices(with real recovery partition)

2.) fastboot flash recovery Z1C-twrp-3.0.2.img

Actually is 14.4.A.0.157 installed.

I want to flash as next the AICP ROM.

Where can i see if the Device has the NEW or OLD Bootloader?

EDIT: I flashed with Emma the actually .236 and installed TWRP 3.0.2 with fastboot flash recovery.

When the device starts there ist no purple light to enter the Recovery. Is that correct?

I can enter the Recovery with Power Button and Volume- when it starts.

EDIT: ALL PROBLEMS are solved. I can hit recovery after purple light and AICP is running.

Thx for this wonderfull Recovery :D
[Xperia Z1 Compact General] optimumpro:
Twrp 3 does not support data decryption. The OP confuses encrypted backup with data encryption where your phone is actually encrypted. Twrp 3 will never have support for decrypting data on lollipop, because the crypto module it has is based on MM and yet it can't even decrypt most MM devices. It doesn't even know your phone is encrypted. Moreover, if you ever do factory reset on TWRP 3, you will not be able to encrypt your device, because your data partition will not only be formatted, but also resized leaving no space for cryptofooter, at least for rhine devices. You will have to manually shrink your data via adb.
[Xperia Z1 Compact General] -Vinne2-:
big THANKS for the TWRP! Finally flashed it :D Thank you!

P.S. But hey, why did I have to read whole topic, all post until the last one, just to extract the simple information on how to enter the TWRP? :/ This should be written in the first post… :(
[Xperia Z1 Compact General] Nash123:
I did some reading in XDA-threads and came to the following results regarding recoveries for Z1 compact (or most xperias) in general and specific to TWRP.

As I understand there are THREE methods for implementing recoveries with Sony Z1 compact.

- Oldest is some ramdisk within bootpartition (or something like that). Therefore we had to "flash boot" instead of "flash recovery"

- Then there was the use of the FOTAKernel partition which became obsolete, as with custom roms there was no need for OTA updates from Sony. Needs to be flashed with "flash FOTAKernel"

- Last but not least Sony decided in 2015 to allow real recovery. This one needs to be "activated" with Emma, the Sony flashing tool. First there was a single modified TA-partition update in Emma. Later the open recovery was implemented within the official firmwares by Sony. BUT as I saw yesterday, firmware 270 did not allow flashing of real recovery, whereas version 236 does. So beware! Flashing of the recovery works with "flash recovery" in fastboot.

Now regarding TWRP.

I needed a version, which allows decryption of data-partition. Sidenote: My (new) ROM is AICP 11 for amami.

TWRP 3.0.2 by derfelot works with decryption in real recovery (press & hold volume button, power on), whereas it does not work within the alternate recovery (pressing power on while not pressing volume buttons, then press volume when notification LED lights up). No idea, why. (TWRP 3.0.2-1 does not work for me with decryption, btw. With no recovery-method. But depends on the ROM I guess)

So in conclusion I am happy to have working decryption within real recovery. Seems the various TWRPs need to be customized to work with the various methods and probably with the used ROM also.

The only thing I don't understand if it is possible to flash different recoveries or if the real recovery (but with less capabilities) is used even when gaining access by pressing volume when notification LED lights up.

Tried flashing different recoveries to FOTAKernel partition. But no success. Boot images with specific recoveries only work with the corresponding ROMs.

So far my understanding. Please feel free to correct me :)

Edit: BTW. With "decryption" I mean gaining access to data partition on the fly in TWRP, not decrypting the partition so it will be decrypted forever.
[Xperia Z1 Compact General] SpiritCroc:
When you're pressing the volume button after pressing the power button, the ROM decides what will boot. In AICP for amami, there's a built in TWRP which will boot, and because I don't have added the encryption stuff to the device tree, decryption won't work.

If you want to use encryption in recovery with AICP, real recovery is required at the moment. I don't know whether I will try to add encryption capabilities to inbuilt recovery of AICP, because it's not a priority for me.

Boot partition is part of the ROM you flash btw.
[Xperia Z1 Compact General] alaaawi:
hi mate how r u ?

can u please help me with the steps , i need to get the new Bootloader with the real recovery and then i want to flash the AICP android 7
[Xperia Z1 Compact General] ConradB:
I flashed with Emma the actually .236 (new Bootloader is included) and installed TWRP 3.0.2 with fastboot flash recovery.

You can enter the Recovery with Power Button and Volume- when it starts.
[Xperia Z1 Compact General] adimcx:
Hi! Someone please help me to use TWRP recovery on KitKat. :)

If I flash the version .236 with Emma and use "fastboot flash recovery Z1C-twrp-3.0.2.img", everything it works just fine by entering the recovery mode using the volume- and power button.

But I want to stay on KitKat and I can't manage to have a working recovery.

Using Flashtool I can flash the firmware version 14.4.A.0.157, next TWRP is flashed successfully using "fastboot flash FOTAKernel Z1C-twrp-3.0.2.img", but I can't find a way to enter the recovery mode. I have tried pressing volume- or volume+, both volume buttons, during power on, before power on, etc. Nothing works and there is no led light during power on the phone.

There is something I'm doing wrong? :confused:

Thanks!
[Xperia Z1 Compact General] levone1:
Did you try 'fastboot flash recovery'? What is the message in cmd when you flash? Also, for stock rom, you really can't go wrong with Nut xzdr, (however, I can't honestly say I remember using it on KK).
[Xperia Z1 Compact General] adimcx:
Thanks for your help. ;)

As you can see, I got the message that flashing TWRP succeeded with no error, using both methods: RECOVERY or FOTA.

How to enter to the recovery, if there is no led light and the method of pressing the volume- and power on is not working? :confused:

p.s. I have tried also NUT's XZDR, but unfortunately does not work for KitKat. :(
[Xperia Z1 Compact General] levone1:
Probably not compatible with KK. Test it out with TWRP 2.8 - https://mega.co.nz/#!3gRwGZiK!sXMsMx1GGwUVkTCCsr8ntZekCE-o-hB4DDp6wlhVQqA If that works then I guess it's just the version...

---------- Post added at 01:01 PM ---------- Previous post was at 12:25 PM ----------

There's also this, (from this thread) - http://xdaforums.com/showpost.php?p=67268044&postcount=50.

Also, if you have updated bootloader, you could try power off> press and hold volume down + power. Again, not sure about KK...
[Xperia Z1 Compact General] adimcx:
Thanks for your help and all the tips. ;)

I give up on trying to use TWRP with KitKat firmware and I have used the Cyanogenmod method, who is very easy to use, KitKat compatible, and I got a working CWM recovery in just a few seconds:

https://wiki.cyanogenmod.org/w/Install_CM_for_amami

Best regards!
[Xperia Z1 Compact General] xpil:
I need your help in the following question. I have an Z1C with open bootloader, rooted, and the your real recovery twrp installed. I can boot to real recovery with volume down-power buttons. The problem is that I cannot boot to recovery from any program that supports boot to recovery, like rom manager twrp manager etc....

In addition, since I have installed kryptonian 5.1.1, I tried to used the reboot recovery from kryptonian and it DID NOT succeed. In all occasions it reboots to system.

Is there any way around it?
[Xperia Z1 Compact General] knv01:
You are right, but i suppose, these "boot to recovery" buttons are for the original "real" recovery from Sony. I never succeded too, to boot there. For what it is so important for you? As a workarround you can flash an normal dual-recovery on top, where you can boot in from NDRUtils.
[Xperia Z1 Compact General] r4x2t7:
Help I can not flash twrp 。。。。TWRP APP tell me flash failed. use kingroot because I give supersu it show su document is.taking up. my English is very broken. Sorry
[Xperia Z1 Compact General] bkanatd:
I don't updated Twrp 3.x my phone. What is the latest z1c twrp release? My phone is rooted and unlock bootloader. Twrp release 2.8

I try twrp manager,rash,flashify I don't make it. Pls help
[Xperia Z1 Compact General] jho55:
You can flash a new version inside TWRP. Select image instead of zip. Here you can find TWRP 3.1.1.0: https://xdaforums.com/sony-xperia-z...neageos-12-1-z1c-current-sec-patches-t3614936
[Xperia Z1 Compact General] bkanatd:
see don't problem but reboot volume down twrp open 2.8 release :((
[Xperia Z1 Compact General] nhicko95:
use vol up
[Xperia Z1 Compact General] bkanatd:
I choice vol up open cwm recovery. Only use vol down twrp is open.
[Xperia Z1 Compact General] rajdude:
I am happy to report that I just used this procedure on a Z1c and it worked ! :D

Had me scratching my head over how to go into TWRP though, I was expecting a light and vol + .....instead this one needs=

"press and hold VOL - (down volume) and hold down power key until the phone vibrates once."
[Xperia Z1 Compact General] Joline:
Hi folks,

I've just unlocked the bootloader (and checked this later in the running system using the magic phone code). The device is running with the XZDualRecovery - PhilZ Touch and CWM and TWRP (2.8.7.0.) sinces a long time (don't remember how I've flashed that). Now I want to update the TWRP to 3.x but this does not work. :(

I've started the device in flash mode (blue led) and run that commands:

fastboot flash FOTAKernel Z1C-twrp-3.0.2.img
target didn't report max-download-size
sending 'FOTAKernel' (13324 KB)...
OKAY [ 0.420s]
writing 'FOTAKernel'...
OKAY [ 0.880s]
finished. total time: 1.300s

fastboot flash recovery Z1C-twrp-3.0.2.img
target didn't report max-download-size
sending 'recovery' (13324 KB)...
OKAY [ 0.420s]
writing 'recovery'...
OKAY [ 0.880s]
finished. total time: 1.300s

Seems to be ok (less than a second for 12MB??? Maybe.).

But when I try to enter the recovery mode (after PowerOn press Vol- until purple led), always the old TWRP 2.8.7.0 starts up. :(

I tried also to update the TWRP in itself, but the installed version won't let me flash the recovery partition, only the kernel (???).

Is there anybody who could give me a hint?

[edit]

When the phone is off:

- when I press and hold (min. 10sec) PowerOn + Vol+ -> nothing happens

- when I press and hold PowerOn + Vol- -> the phone starts the Android system

To enter the TRWP (XZDualRecovery - PhilZ Touch) I do the following: after PowerOn when the green led appears I have to press Vol- until the purple led comes up.
[Xperia Z1 Compact General] jho55:
Maybe this helps you as well: https://xdaforums.com/showpost.php?p=77371160&postcount=460
[Xperia Z1 Compact General] Joline:
Unfortunately not. When I start with PowerOn and Vol- together, the Android system starts. :(

---------- Post added at 11:38 AM ---------- Previous post was at 11:25 AM ----------

Here I've found an advise about the new bootloader: "to have permanent recovery your bootloader must be unlocked and you need to enable that recovery mode in bootloader!"

The bootloader is unlocked. But how can I enable the recovery mode in bootloader? On other phones sometimes there is a setting like "OEM unlooking" in the developer settings. But not on my phone. Do I need flashing the "D5503_openbootloader.ftf" and how can I do this?

---------- Post added at 12:06 PM ---------- Previous post was at 11:38 AM ----------

Meanwhile I've flashed the "D5503_openbootloader.ftf" using the flashtool and afterwards again flashed the recovery but no success. There is still the old XZDualRecovery when I enter the recovery mode. :(
[Xperia Z1 Compact General] Joline:
Problem solved!!! :) I went the hard way.

1. Backing up my System and flashing the ROM provided by EMMA (This was the key!!! I assume there was something wrong with the existing installation.)

2. Boot the Android system and allow USB debug mode

3. Reboot in Bootloader and flashed the recovery image (from this thread)

4. Turned off the device

5. Booted up fine in TWRP 3.2.2. ;)
[Nexus 7 (2013) Q&A] Hammerfest:
Bought a used Nexus 7 for a family member, happens its a 32GB LTE edition... ok, neat!

Not planning to use the LTE portion, but wanting to put PureNexus on it at least, BUT, for the life of me CANNOT get it to work!

Now, for the last 2+ years I have always used WUG's toolkit, always worked fine for my personal Nexus 10 tablet, but not here... I even tried good old manual commands, still no joy and all I was trying was to get TWRP loaded?!

After a good 30min fooling around I noticed that when in bootloader, everything looks correct but the BOOTLOADER VERSON shows FLO-04.05, is that normal? I know thats the NON LTE version, so if its NOT, how can I fix this? Im getting the feeling thats why I cannot seem to flash the DEB Recovery...

Yet the total image restore from google didnt change this :X

I tried a few google search's, finding others with a similar issue, but no resolution, can anyone throw me a life preserver?

Thanks!
[Nexus 7 (2013) Q&A] k23m:
Your bootloader is fine, note the files in original factory image:

\razorg-mmb29v\bootloader-deb-flo-04.05.img

\razorg-mmb29v\flash-all.bat

\razorg-mmb29v\flash-all.sh

\razorg-mmb29v\flash-base.sh

\razorg-mmb29v\image-razorg-mmb29v.zip

\razorg-mmb29v\radio-deb-deb-z00_2.44.0_0213.img
​

What's the message when you try to "flash the DEB Recovery" manually?
[Nexus 7 (2013) Q&A] Hammerfest:
I was getting the completed messaging...

BUT, I found out some lovely things and managed to fix it... This unit suffers from the wonderful GROUNDING issue, and the OG usb cable that came with it is also borked...

My primary phone is my GNote4 and using its cable I was able to fastboot the recovery (again, same message), but this time when I rebooted the unit into recovery from bootloader, it actually was TWRP!

The things I want to txt this seller...
[Nexus 7 (2013) Q&A] Hammerfest:
grounding issue with no hope in sight now... le sigh~

2 more days of frustration before I throw it in the trash
[Gionee M2] szone26:
Unable to update or download any apps from Google Play Store with mobile data. (With WiFi it's working fine.) I have working high speed mobile data. I have tried few solutions available. Like clear data and cache of play store and even hard reset!!! But problem is still there. I have checked mobile data is not restricted for any app. Google play store working fine with WiFi and mobile data working good with other apps, But not together. Called Google, called ISP, called gionee still no luck. Help plz
[Gionee M2] mohd zaid01010:
No problem if you have gionee m2 version 4.2.2 so you have to be upgraded to 4.4.2 (KitKat) if you are already on this version you have to root your device correctly and go to your ctr recovery and install SuperSU this will erase your problem.
[MDA III, XDA III, PDA2k, 9090 ROM Development] ibisit:
i have just downgraded from WM6 to WM2003SE (o2 XDA offical rom 1.40 for AUS) and i cannot sync the device.

i have completely set the device back to it's original state, ext rom, main rom, radio rom. it works fine.

i receive an error when i try to sync with my laptop.. (which it used to sync with when i put WM6 on the device).

the error is - cannot verify the version of activesync on your device, a program such as a firewall may be blocking a port activesync uses to connect to your device, you may need to upgrade to a more recent version or activesync

i have removed activesync, deleted all the registry entries, folders and files relating to activesync that i could find. reinstalled activesync, still no luck.

-> i can get the device to sync with my desktop without any problems (i never used the desktop to sync to it when WM6 was installed)

however all my data is on the laptop.

Any ideas ?
[MDA III, XDA III, PDA2k, 9090 ROM Development] sunish:
what version of activsync are you using??

i think with WM2003SE an older version of activsync is required.
[MDA III, XDA III, PDA2k, 9090 ROM Development] ibisit:
i'm using activesync 4.5 and it has worked before..

it's like the laptop still thinks it's WM6..

the PDA will sync on the desktop (which i don't use) but won't sync on the laptop which has all my data.

Does anybody know what the value of the registry entry under

HKLM/software/microsoft/windows CE services/version should be ??