yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Android Development] rogermontane:
How do you install xposed?

(i've root with supersu 2.65, and when i flash xposed79-23-arm i've a lot of crashes and phone reboots. Any special tip?

Thanks in advance.

EDIT: solved. Flash xposed first, flash supersu 2.65, wipe cache/dalvik. Reboot. Working :D
[Xperia Z3 Compact Android Development] FcukBloat:
using latest supersu 2.67 here (as suggested by [MENTION=3903113]nelvinchi[/MENTION] ) and no problems at all with xposed ;)
[Xperia Z3 Compact Android Development] nelvinchi:
System partition info.....

All - after a favour....

Have noticed a difference with the system partition on my phone compared with [MENTION=4695495]moly82[/MENTION] 's phone....

My is on partition mmcblk0p23 and is 2.5GB

Moly82's is on partition mmcblk0p24 and is 2GB

It would be appreciated if you could post your system partition info and which ROM version you are running and how you flashed (ftf with flashtool, custom zip file, etc)

A great app for checking your partition is DiskInfo - it's on the Play Store or you can download it from here: https://drive.google.com/open?id=0ByiRDGEZGQHzSVU4bnlmUVRjSGs

Many thanks!

---------- Post added at 08:53 PM ---------- Previous post was at 08:50 PM ----------

Does this work for anybody:

Switch off your phone, keep holding the volume down key, then hold the power key till it vibrates, release power key, and after a few seconds release volume down key.

Works for me!
[Xperia Z3 Compact Android Development] FcukBloat:
Mhm doesn't seem to work for me, btw i can reboot to recovery easily after enabling advanced reboot in gravity box :o

Edit: really hope you can produce something nice for us to play with! :)
[Xperia Z3 Compact Android Development] simonwil:
I followed this guide to install concept and mine is the same as Moly82's. Volume down does nothing special in my case.
[Xperia Z3 Compact Android Development] TimTaylorX:
Hi there, i unlocked the bootloader and installed this TRWP thing. Now i got a reboot **** like this:

https://www.youtube.com/watch?v=IWnaeZ6oB5g

Whats going on here...i cant do anything the phone reboots to hell and back...
[Xperia Z3 Compact Android Development] cattolicboy:
Battery at 1%???
[Xperia Z3 Compact Android Development] Cypher_01:
This is what I call a great and complete tutorial, thx [MENTION=4708091]istux[/MENTION]! :)

One tiny improvement suggestion:

Step 15 says "Enter fastboot mode via PC".

One can enable USB debugging and enter fastboot mode via

adb reboot bootloader

or, as I did, turn off the device, press and hold vol.up and plug in the USB cable.

I suggest to change this step to the holding vol.up way.

Confirmed, works for me.
[Xperia Z3 Compact Android Development] TimTaylorX:
That is not the point of the problem :confused: The reboot thing is the problem...

Edit:

Ok i managed it to get in TWRP, but i cant do anything really, cause TWRP cant mount anything :rolleyes:
[Xperia Z3 Compact Android Development] wheeliemonster:
Hi - how did you solve Google Play Services force close please?

Thanks
[Xperia Z3 Compact Android Development] Matteo Mazzu:
Just by wiping cache and dalvik cache! After it went everything fine for me :)

---------- Post added at 06:41 PM ---------- Previous post was at 06:37 PM ----------

Anyone know how to go back to Lollipop? I tried by wiping everything in TWRP and flashing AiO Rom of [MENTION=4695495]moly82[/MENTION], but I gained just bootloops. Even by flashing any Rom LP or KK with Sony Flash on the pc worked... I'm stuck on MM :confused:
[Xperia Z3 Compact Android Development] FcukBloat:
had similar problems in the past, think the problem is system is not correctly writable because of mm.. ;) you can allow modifications for system in twrp, but if it still fails flashing a stock ftf fw via flashtool fixed things here and then i could flash whatever i wanted..strange for you didn't work ;)
[Xperia Z3 Compact Android Development] AfroMetal:
Flash clean, official LP. With radio, bootloader and stuff. The .iso files.
[Xperia Z3 Compact Android Development] Matteo Mazzu:
But when I tried using the pc program Flash it didn't work. I got stuck in a bootloop. And even when trying the .iso file of KK.
[Xperia Z3 Compact Android Development] FcukBloat:
did you select wipe user data??
[Xperia Z3 Compact Android Development] Matteo Mazzu:
Yes, in fact I can't understand why it didn't work flashing a stock ftf, like I always did by the way. When I have time I'll try again.
[Xperia Z3 Compact Android Development] AfroMetal:
I see that I am gonna regret getting Sony's device after my Nexus 4... Why new Nexuses have to be so expensive and/or big.
[Xperia Z3 Compact Android Development] Matteo Mazzu:
Yes yes, I'm sure! Just the Internal memory I didn't wipe!

---------- Post added at 02:17 PM ---------- Previous post was at 02:15 PM ----------

I come from a Nexus 4, and I don't regret it at all actually! :)
[Xperia Z3 Compact Android Development] AfroMetal:
Don't you miss how easy it was to do anything with your N4? For what I see Sony Z3c needs a lot of attention with all that DRMs, bootloader unlock, relock and stuff. Is it relatively easy to flash custom, keep DRM, use newest Android (M for now, before official... when will it come?), keep all functionality. I'm gonna miss Android M if it can't be used on Z3c without losing camera quality as I use it a lot.
[Xperia Z3 Compact Android Development] Cypher_01:
Compared to all the other manufacturers Sony is very developer friendly. At least they give us the ability of unlocking the bootloader without workarounds.

Nobody is happy with that DRM stuff, but even without the keys the camera quality is much better than all Nexus cameras. And you get the functionality back anyway with DRM restore. Flashing one additional zip isn't that much work.
[Xperia Z3 Compact Android Development] cattolicboy:
Today I have tried to update to the last 3536 build, but after restoring the full backup I made at point 19, and relock the bootloader, It wasn't possible to get ota update (I get this message: "Incremental system update cannot be installed when dm-verity is disabled").

Same thing happend also if I installed right away the 3027 ftf.

So, I repeated again all the long procedure starting from 2157 build and everythig went ok.
[Xperia Z3 Compact Android Development] Cypher_01:
Oh no, I was hoping I can avoid that.

I ran into the same issue and had to update from 2157 all the way up again. :(

For now, there seems to be no workaround.

The photo shows what I see after restoring the untouched backup made in step 19.
[Xperia Z3 Compact Android Development] cattolicboy:
Yeah, exactly the same situation here.

But I have taken the chance to update twrp to the 3.0 version...
[Xperia Z3 Compact Android Development] Cypher_01:
Same here, but with unlocked bootloader we could have done this anyway, with or without update or update-problems. ;)
[Xperia Z3 Compact Android Development] cattolicboy:
Sorry, I don't get what you mean: to get the updates, the bootloader must be locked....

...or your matter was about the twrp update?
[Xperia Z3 Compact Android Development] Cypher_01:
Sorry, not well worded. ;) (no native speaker)

I mean, we could have done the TWRP update anyway, independent of the Rom update.

I just mentioned the unlocked bootloader, because I was thinking back about the time when I was going with a factory locked bootloader and working DRM keys. The good thing was, that I didn't have to worry about a working DRM restore patch, but the bad thing was, that updating the Rom almost everytime affected the recovery and sometimes also vice versa. In the early days of our beloved Xperia Z3 Compact we didn't even have a recovery partition. Now it's almost like a Nexus. :)
[Xperia Z3 Compact Android Development] dulexetina:
No need to be LB to receive the OTA update,just don't root the phone or install custom recovery. I updated with LB stock 3027 ftf...
[Xperia Z3 Compact Android Development] cattolicboy:
So, do you mean that getting rid of SU and twrp would be enough to get the ota update (regardless of the bootloader state)?
[Xperia Z3 Compact Android Development] dulexetina:
Do a full backup with TWRP,flash 3027 via Flashtool,power on the device and update OTA to latest concept,flash recovery via fastboot and then restore your data and flash super su and xposed(if you like it).Good luck flashing ;) Let me know does it works for you too
[Xperia Z3 Compact Android Development] cattolicboy:
Appreciate you trying to help, but you didn't understand, I have already updated to 3536 starting (again) from 2157.

Already tried that and it wasn't working ("Incremental system update cannot be installed when dm-verity is disabled").
[Xperia Z3 Compact Android Development] istux:
Quite strange :rolleyes:

DRM verity fails if you haven't relocked before updating!
[Xperia Z3 Compact Android Development] cattolicboy:
Yes I know, very strange. As I said before, regardless of the bootloader state, that message appear.

Have you tried to update to the last build starting from the clean 3027 backup?
[Xperia Z3 Compact Android Development] istux:
Actually I haven't tried yet.

I'm on stock at the moment and I have no time to play with my device lately. But I will, for sure ;)
[Xperia Z3 Compact Android Development] adz63:
stuck on waiting for device in cmd tried run as admin and normal. fastboot mode is enabled on phone

fixed
[Xperia Z3 Compact Android Development] adz63:
cant uninstall bloatware with titanium or anything else now. the apps just come back . tried the setting to permissive route still dont work
[Xperia Z3 Compact Android Development] eymentuna:
xperia z3 compact ( 6.0.1 marshmallow xposed framework ) help
[Xperia Z3 Compact Android Development] Raymen03:
Have the same message as the post 53 as was the fault have solved stuck to the instructions

Please help me
[Xperia Z3 Compact Android Development] leonardobg7:
Thank you so much. Worked perfectly.

DRM and improved the quality of the photographs and others. I'm using build 3536. The root also worked very well. Congratulations for the post.

But I wanted to install the Xposed, but the framework to link flash is unavailable. Could you send it again?

Thank you very much.
[Xperia Z3 Compact Android Development] varxx:
Can I get all the way to 3536 with this method?

So, when the OP says "What you get: Last Concept MM version", can we assume that you really can get all the way to 3536 following the steps in the original post?

Reading through the thread, I see that at least one person has apparently done so, though I also see that a few people may have hit a roadblock.

Thanks.
[Xperia Z3 Compact Android Development] taaviu:
Followed step yesterday and no problem updating to latest version.
[Xperia Z3 Compact Android Development] varxx:
Excellent! Thank you, taaviu, and another thanks to istux for the tutorial. The trail is much easier to walk if someone has already cleared it.
[Xperia Z3 Compact Android Development] FcukBloat:
guys, anyone here running concept on unlocked BL and using the ext sd formatted as internal?

if so, can you see the sd in twrp? cause after formatting the extsd as internal, I can't see/access it anymore in twrp, so can't flash anything I had in it etc :silly::confused::(

EDIT: it seems I can see the internal sd... in data/media/0... well better than nothing! :o
[Xperia Z3 Compact Android Development] bastardociccio:
I tried this method, but after I locked the bootloader (step 3-5) the phone not boot ... it rest in pace

:confused:

I have to flash 3027 via Flashtool and then continue:

(step 6-7)

(step 11-20)

but this time i didn't make a backup that i can't use...

Did someone have the same experience ?

:eek:
[Xperia Z3 Compact Android Development] cattolicboy:
Didn't you read the previous posts?
[Xperia Z3 Compact Android Development] baxxter106:
I updated few days ago. But i made a mistake by choosing the wrong backup in twrp (result was nothing happened anymore - phone stayed off). So i started from scratch with the ftf file and then all the updates i received... At the end - now - i have an up-to-date 35xx version plus twrp 3.0 plus drm plus root plus xposed v80... Recovered my data partition and anything works fine. Thanks again for this thread!

PS: i never use Win...flashtool works fine with Linux
[Xperia Z3 Compact Android Development] mkkyah:
no super su after flashing

Hi,

Thanks for this tutorial and additional info from all.

I have fallowed everything with success and tested a "data" restore to clean backup, that worked fine, too.

The only difference I have used was to flash boot.img of ConceptMM.2178.zip file to have a Twrp that I can reach without pc.

But I have a question: I did flash Supersu 2.65 from OP link (and DRM fix), but after the boot I don't see any Super Su app. Titanium backup says "boot access: ok" but there is no "grant boot access" prompts and no super su app.

Is this normal?

I did try that a few times with same result and than decided to install Supersu from Play(but flashed supersu from recovery, too) Now everything seems to me normal, I see no problems. Is that unnecessary or did I ruined something in background?
[Xperia Z3 Compact Android Development] BlueZ-:
Guys, you can go to recovery simply by using the xposed module "advance power menu+"

Inviato dal mio D5803 utilizzando Tapatalk
[Xperia Z3 Compact Android Development] Luke_Hero:
Didn't work

Didn't work for me. DRM keys still aren't restored, camera still sucks. Even tried using TA Partition backup/restore software (as I backed up my keys before I broke the TA) and that just soft bricked my phone.

Also, is anyone else having issues saving images? When I take a photo it cannot be deleted, then when I exit and come back to view it, it's corrupt and broken. I'm not sure it ever took and saved it.
[Xperia Z3 Compact Android Development] alonsoe:
Hi all, first at all, sorry for my english, second if i cant unlock my bootloader i can flash the rom without the root and recovery option? only the stock concept rom?

Thx
[Xperia Z3 Compact Android Development] mrrflagg:
[MENTION=4695495]moly82[/MENTION] With your unlocked bootloader and DRM restore do you notice that flashtool doesn't recognise your your device? I went to relock my device and it says your device cannot be officially unlocked
[Xperia Z3 Compact Android Development] FcukBloat:
what you mean with my unlocked bootloader? you meant with my rom?
[Xperia Z3 Compact Android Development] mrrflagg:
I mean are you using concept on an unlocked bootloader with DRM restore? And if so do you notice that flashtool doesn't recognise your device?
[Xperia Z3 Compact Android Development] FcukBloat:
yeah I'm on concept with unlocked bl, root, drm fix etc :o dunno about flashtool, rarely use it i even use twrp for locking and unlocking the bl :o
[Xperia Z3 Compact Android Development] meisanerd:
What Operating System are you using? If you are Windows 10, the drivers are a bit of work to get installed as you have to disable signature verification to get them installed, otherwise Flashtool will not see your phone.
[Xperia Z3 Compact Android Development] mrrflagg:
Recently upgraded to 10 so that could be my issue. I'll have another play around. I don't use flashtool often so I wasn't sure. Thank you both. [MENTION=4695495]moly82[/MENTION] how do you use twrp to unlock and relock bootloader?
[Xperia Z3 Compact Android Development] boojay:
Hmm weird, I ran into the same problem, but then saw your solution. However, when I check data/media/0 all there is is an empty TWRP folder. Strange, it seems I can only access the phone's native internal memory and not the formatted SD as internal, so all my flashable zip files are currently unavailable in recovery.
[Xperia Z3 Compact Android Development] FcukBloat:
you have to copy them in data media 0 manually, i too could see only the empty twrp folder at the beginning (that folder will get populated if you make a backup from twrp from example)
[Xperia Z3 Compact Android Development] boojay:
Gotcha, that's actually what I ended up doing. Like you said before, so many workarounds!
[Xperia Z3 Compact Android Development] Nurmi_CEO:
Like this poster, and the poster above. Ran into the exact same issue. This is my first time after the initial setup after I was already to go to relock bootloader and update. However, I get the same error and the "dm-verity disabled" so it won't update.

Have there been any solutions? These posts were from a month ago.

Thanks

---------- Post added at 12:28 PM ---------- Previous post was at 12:26 PM ----------

Same thing here. Any solution since you posted?
[Xperia Z3 Compact Android Development] istux:
Have you relocked before trying the new update?
[Xperia Z3 Compact Android Development] Nurmi_CEO:
Yes. I followed the steps exactly.

I confirmed this by trying again, and instead of relock, the unlock option comes up.

Also, right after the relock I thought I toasted my phone. Wouldn't turn on. After monkeying and playing with it, it FINALLY turned on.
[Xperia Z3 Compact Android Development] istux:
That's the point. Did you restore entirely (data included) the old backup before relocking?
[Xperia Z3 Compact Android Development] Nurmi_CEO:
I restored the backup I made in step 19, including data (I believe I did anyway, that's the default setting correct?)

Also, I should note when I did get to that step to restore the original backup "Restore the full backup you made at point 19 above (at your first installation) OR, if you already did an update in the past, just restore the last full backup of the last clean system" I tried twice to restore, but ended up with an error=255 and failed, there were some words behind it but I forgot.....but I realized that I was trying to backup an OLD backup, and my backup that was supposed to be restored was stored on the microsd instead of the internal memory. I selected the correct backup and then proceeded on.

Maybe I'll have to start from scratch and try again.
[Xperia Z3 Compact Android Development] lipalok:
Is it possible to have AOSP-like icons in settings app?
[Xperia Z3 Compact Android Development] mj084:
Any other point than compare-pictures to know that DRM Restore fix was successfull?

Maybe security test with diagnostic app?
[Xperia Z3 Compact Android Development] snaky90:
In the "ALL NEXT UPDATES in the future"

Official updates works with twrp recovery or how to flash the update ?
[Xperia Z3 Compact Android Development] marshalpear:
Thank you for this OP. Greatest ROM I've ever used. Great battery life, great speed, awesome looks. Even though I screwed my phone while messing with the layers once, still went back to this ROM following all your instructions from scratch. Awesome!
[Xperia Z3 Compact Android Development] snaky90:
What recovery have you used ?
[Xperia Z3 Compact Android Development] Sprudeldudel:
Does this work coming from cm12.1, with DRM already lost?
[Xperia Z3 Compact Android Development] taaviu:
Twrp

---------- Post added at 11:28 PM ---------- Previous post was at 11:28 PM ----------

Yes
[Xperia Z3 Compact Android Development] boojay:
I just ran into an interesting problem, I'm currently on 3536 and was looking to use this method to update to 3550, but as I went to backup my data only through TWRP, I noticed I only have 3.8 GB of internal memory left while my data backup would require more than 7 GB. I had formatted my 128 GB micro SD to serve as internal, but for whatever reason, it's not being recognized or accessible while in TWRP despite me having plenty of free space on it.

Any ideas or workarounds I can use? I don't think there's a whole lot I can remove from the non-removable 16 GB internal storage to free up enough space to perform the backup.
[Xperia Z3 Compact Android Development] FcukBloat:
after formatting the extsd as internal, from twrp u can only see the "real" internal memory, located in data media 0, as extsd used as internal memory is encrypted. do your backup to data media 0
[Xperia Z3 Compact Android Development] boojay:
Right, except there's only 3.8 GB of internal left. I don't think I'm storing much on the 16 GB internal as it's mostly just system files, some zips that I'm planning to flash after updating Concept, as well as the full backup we were instructed to perform in one of the steps in the OP should we look to update without losing data in the future, otherwise it doesn't look like I'll be able to free up enough space to store the data only backup (need 7.2 GB).
[Xperia Z3 Compact Android Development] boojay:
Just as an update, I tried using/mounting USB OTG in recovery as a workaround, but wasn't able to check the box in TWRP.
[Xperia Z3 Compact Android Development] istux:
Try with the last twrp version 3.0 https://dl.twrp.me/z3c/
[Xperia Z3 Compact Android Development] boojay:
Cool beans, will try that when I get home from work this evening. Thanks!
[Xperia Z3 Compact Android Development] marshalpear:
Why the quote? :D
[Xperia Z3 Compact Android Development] boojay:
LOL! So here's the funny thing, I just tried installing TWRP 3.0 and still wasn't able to mount USB OTG, but lo and behold, I can access my SD card now! When I go into Mount and click on Select Storage, my SD card - Adopted Storage is now accessible, so kudos to the TWRP team! No more workarounds.

Edited: There's no need to mount, the ability to select adoptable storage is simply an option now, which is awesome.
[Xperia Z3 Compact Android Development] aidaz:
Hello, I have been searching through the threads, but have not found any clues. Decided to ask here. Is it possible to root Android 6.0 MM concept rom on LOCKED BL?
[Xperia Z3 Compact Android Development] FcukBloat:
no

---------- Post added at 12:13 PM ---------- Previous post was at 12:11 PM ----------

great! here neither I could see the adopted storage with the 3.0 twrp recovery I used, but with this one it works great! thanks for reporting and also [MENTION=4708091]istux[/MENTION] for pointing it! :good::p
[Xperia Z3 Compact Android Development] tsmr:
Hi guys,

My knowledge of ROMs and rooting isn't the best so please bare with me if this question seems dumb. And before anyone says, I have read this thread (and countless others) but would like some clarification.

I've always wanted to install CyanogenMod to my Z3 Compact because my car, an E46 BMW has not been able to pair with my phone since 4.2.2 when a change to bluetooth.default.so was made - Cyanogenmod has the fix.

Is this post saying that if the phone is rooted and a custom ROM is installed, I'm still able to maintain my camera quality which previously was limited due to the loss of DRM'd software? This was the only thing that ever stopped me rooting my Z3 as camera quality is of high importance to me.

I've been using an iPhone 5s since my screen smashed last month and I planned to buy an iPhone 6s this weekend but if it seems I can use the Z3 Compact for all purposes then I will definitely get the screen repaired tomorrow!

Thanks in advance.

This is a link explaining the Bluetooth issue I'm talking about.
[Xperia Z3 Compact Android Development] istux:
Wrong section of the forum mate, post your question here: http://xdaforums.com/z3-compact/help

;)
[Xperia Z3 Compact Android Development] tsmr:
Okay thanks, will do! :)
[Xperia Z3 Compact Android Development] HvdW:
Yesterday I did the trick.

Quite happy with root because now I have more control using Greenify, Bootmanager and Xposed

Battery life now seems endless.

The reverse side is that low light picture quality is not improved despite the DRM functions repair
[Xperia Z3 Compact Android Development] istux:
Have you wiped all data before flashing the drm fix?
[Xperia Z3 Compact Android Development] pavholm:
After restoration of a backup phone didn't turn on the button, but only through the menu of a fastboot. And updating writes about DM-verity.

I did everything according to the instruction, only for Z3, TWRP 3 from shoey63.