yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Original Android Development] mrrocketdog:
thanks for the build. will report back.:good:
[Xperia Z5 Compact Original Android Development] Ermann123:
Decryption

Hi!

Any hope for working de-/en-cryption of this certain twrp?
[Xperia Z5 Compact Original Android Development] Mmmiku:
I flashed Nordic (152) version thru FlashTool.
[Xperia Z5 Compact Original Android Development] Tommy-Geenexus:
Oh dang, you're right, i misread the numbers, that explains everything.
[Xperia Z5 Compact Original Android Development] Mmmiku:
I'm glad I could give you a hand.
[Xperia Z5 Compact Original Android Development] eilsel.:
any way of getting xposed to work yet?
[Xperia Z5 Compact Original Android Development] nilezon:
It works, but Camera and Album are crashing.

Please keep this thread on topic.

There is an Xposed thread in the Q&A section.
[Xperia Z5 Compact Original Android Development] shafiq01:
very interesting [MENTION=811738]nilezon[/MENTION] this twrp project and it's very tempting to unlock my bl (i already have the code)

But regarding loss of the damn DRM stuff, what do you honestly think it affects really?

i know, i know, it's somehow covered already sort of in many other threads, including the one i started myself 2 months ago :D

I mean if i read on sony unlock page, then the loss only seem to scope myxperia?

in EU it's just a regulatory that vendors shall offer protection options, since they offer myxperia, but frankly i don't care about that s..t hehe..

But the Camera, hold on, oh man! that's a bummer if i loose low light capabilities, noise and the new and very fast focus.

And not to mention display (x-reality/super vivid) and sound stuff perhaps also.

Since i did the same on a few Z1C's and Z3C's, i was to fast unlocking the BL back then. i don't regret, since it's allways fun to develop.

See, i normally happen to get the prototype devices quite early. can't mention anymore hehe

But right now i'm testing a 6.0 build and that firmware is build as 'userdebug'

But i was able to do 'adb root' and 'adb remount' adb dm-verity wasn't nessecary or it actually said not valid command

I've tried several outdated solutions now from xda and ended up with a mix of adb commands.

but sadly, no luck achieving root on locked BL yet.

I'm thinking wouldn't it be possible to achieve root access with locked BL on a 'userdebug' build? if so!

Please elaborate, what steps could be taken to achieve that?

I've already tried 'adb push su' to different system dir's and so i did with Superuser.apk and busybox also

Afterwards i chmod'd permissions to 644 for Superuser.apk, 755 for busybox & 6755 for su

moved it to system/app and other dir's and i see supersu.apk installed. but it doesn't come up with the prompts, when launching supersu on device.

perhaps i could pull the build.prop and edit ro.secure=1 to ro.secure=0 and push back to root and chmod it to 644 and mv to root/system

And perhaps other stuff too? and build a script maybe, wuhuu!!

hehe... i feel i don't know what i'm doing, but at the same time i think i'm somehow on right track, you know that feeling :)

---------- Post added at 11:01 PM ---------- Previous post was at 10:44 PM ----------

soory, this is quite interesting news for 6.0

http://www.xda-developers.com/chainfire-releases-root-for-android-6-0-without-modifying-system/
[Xperia Z5 Compact Original Android Development] nilezon:
First off, if you have a (Sony signed) marshmallow test build for Z5 or Z5C - you have to share it.

There's no excuses

. Bros (XDA members) before hoes (Sony).

Secondly, I have no universal rooting method at hand. But according to this post you might be able to use some locked adb commands after enabling "non-secure ADB" on userdebug builds.

And thanks for the link to Chainfire's new marshmallow rooting method. Will be interesting to read. :good:

Finally, I avoid the unlock-or-not-debate.

I bought my Z5C because my Nexus 6 grew to large (yes, over time) and the new Nexus 5X had crappy specs. My priorities are good AOSP support, and OEM specific software tweaks don't interest me. I prefer shooting my photos in RAW format and enhance them in my computer instead. And the camera sensor is better than the one in Nexus 6 anyway.

With this being said, I would love it if the "to unlock or not unlock" threads

and posts

would stay in the general section of this forum.
[Xperia Z5 Compact Original Android Development] yannik~:
Maybe you can provide some info on how he would backup/extract the installed firmware to post it here?

From my understanding, if the userdebug firmware is signed and can therefore be flashed by everyone with locked bootloader, it may be possible to achieve root on locked bootloader this way. If that succeeds, it may even be possible to backup TA from the rooted firmware, then unlock bootloader and install whatever non-signed rom and restore TA afterwards.
[Xperia Z5 Compact Original Android Development] thewade:
I use Zombie-b3 kernel.

How do I boot into TWRP without fastboot? Orange LED does not light up.
[Xperia Z5 Compact Original Android Development] nilezon:
You can't. Zombie kernel lacks recovery support.
[Xperia Z5 Compact Original Android Development] kevinwu128:
just curious, anyone close to root without unlocked bootloader? if not, i'm going to unlock and root tomorrow :D
[Xperia Z5 Compact Original Android Development] TheEndHK:
I just bought Z5c yesterday and already considering to unlock BL. So, I just need to flash twrp and flash supersu to get root? The real problem is I need a deodexed rom to working on my own mods but in other threads, you mentioned deodexed rom not booting? what the heck... Can you try deodex it again?

This is my way to get a deodexed rom on PC at this time I still got BL locked when I try to do modding. First using XperiaFirm to get stock firmware and used flashtool to extract the system.bin to system.ext4 partition, use ext2explore to load the .ext4 image and real extracting the odex files now.

http://xdaforums.com/android/software-hacking/script-app-joeldroid-lollipop-batch-t2980857#post57678832

At last, I run JoelDroid Lollipop Batch Deodexer and it seems successfully deodexed all /system files.

http://xdaforums.com/showthread.php?t=2713329

In the past, I was playing around Kamome tool(from AndroPlus) for KK, it is a easy script to deodex and flash back the rom but sure it won't work on 5.1.1
[Xperia Z5 Compact Original Android Development] nilezon:
New version uploaded!

The kernel and recovery are now based on Sony kernel 32.0.A.6.152.
[Xperia Z5 Compact Original Android Development] thewade:
Thanks for your work. Why USB-OTG doesn't support ?
[Xperia Z5 Compact Original Android Development] abunhyan:
Hi

I bought sz5 compact modle E5803 .. Is This TWRP is compatible with it?

any one can help

Thanks
[Xperia Z5 Compact Original Android Development] TheEndHK:
Why no OTG? It won't auto detect but you can ask it to detect in USB connectivity on settings.
[Xperia Z5 Compact Original Android Development] thewade:
USB-OTG in TWRP-recovery runs on my Galaxy S3 and Nexus 5, but does not mounted on the my Sony Z5 Compact.
[Xperia Z5 Compact Original Android Development] TheEndHK:
OTG in TWRP doesn't necessary working on all phones, I think it'll need dev to put some more effort on it and make it to enable. My HTC One S got no OTG in TWRP too.
[Xperia Z5 Compact Original Android Development] nilezon:
I have fixed the distorted colors and adjusted some power management to lower temps.

New version will be uploaded tomorrow.
[Xperia Z5 Compact Original Android Development] nilezon:
Yes, probably, if you just boot it using:

fastboot boot recovery.img

I don't think flashing the recovery and boot image will work very well though.
[Xperia Z5 Compact Original Android Development] nilezon:
New version uploaded!

The kernel and recovery are still based on Sony kernel 32.0.A.6.152.

I have done a few tweaks to lower CPU temp in recovery mode and somehow the distorted colors got fixed as well.
[Xperia Z5 Compact Original Android Development] Daniehabazin:
Thanks for all the work, a little suggestion, how about putting the changelog in the first post?
[Xperia Z5 Compact Original Android Development] littledude565:
Has anyone experienced a loss in camera quality after rooting with this? Like on the z3
[Xperia Z5 Compact Original Android Development] rolo143:
I want to root my device but you are saying that the colors are a bit distorted so I don't know, can you please upload screenshots or something? Also my model is E5803 and the firmware version is 32.0.A.5.12

Will this root method work with my model and firmware version? Maybe I'll have to wait a little more until the colors are fixed or until an easier and more safe method is available for this phone...
[Xperia Z5 Compact Original Android Development] NPK06:
The colors are weird only in recovery. It works totally fine otherwise. TWRP had orange hues instead of the normal blue, but it got fixed. Don't know it it'll work with the E5803, though.
[Xperia Z5 Compact Original Android Development] littledude565:
Is it possible to root if I'm on 32.0.A.6.152?

cheers
[Xperia Z5 Compact Original Android Development] --jenana--:
yes, with an unlocked bootloader.
[Xperia Z5 Compact Original Android Development] Tree4ever:
I am very interested in this,too.:cyclops:
[Xperia Z5 Compact Original Android Development] NPK06:
Yes, you will lose camera quality, as mentioned before on a lot of other posts.
[Xperia Z5 Compact Original Android Development] rolo143:
Would this work in the model E5803 too?
[Xperia Z5 Compact Original Android Development] thewade:
This TWRP supports encryption Android? Four hours hanging inscription "Trying Decryption with your password".
[Xperia Z5 Compact Original Android Development] nilezon:
Obviously not. I have not tested it yet.
[Xperia Z5 Compact Original Android Development] TheEndHK:
32.0.A.6.200 just released for Z5c on XperiFirm. Plz test it. Thanks :D:D:D
[Xperia Z5 Compact Original Android Development] camaro322hp:
Pardon the rookie question, but after installing this, root can be achieved by flashing SuperSU in TWRP, correct?
[Xperia Z5 Compact Original Android Development] NPK06:
That is correct. :)
[Xperia Z5 Compact Original Android Development] thewade:
Is it possible to somehow fix it? :(
[Xperia Z5 Compact Original Android Development] nilezon:
I'm sure it is, but I'm running short on time right now. Sorry.

If someone else finds the solution, please let me know.
[Xperia Z5 Compact Original Android Development] rolo143:
Pls can someone test this recovery in the model e5803? I want to install a recovery for my model but don't wanna mess it up. Or will we have to wait for another method to install recovery in my model?

Btw I'm running the latest firmware version for this phone 32.0.A.6.200

thanks
[Xperia Z5 Compact Original Android Development] asuraaaa:
Hello,

Pardon the rookie question, Should we unlock the bootloader? In other smartphone this was necessary.

Regards
[Xperia Z5 Compact Original Android Development] nilezon:
TWRP requires an unlocked bootloader, yes.
[Xperia Z5 Compact Original Android Development] asuraaaa:
Are there official method of unlocking? Or the warranty expires?
[Xperia Z5 Compact Original Android Development] orrorin:
Please, please search, http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
[Xperia Z5 Compact Original Android Development] un1ty:
Just got my Z5 compact today, unlocked bootloader through official Sony lines. (wow that took long on first boot!)

flashed the recovery and boot provided by you, and so far, works flawlessly!

after this i flashed the prerooted firmware, and still, so far so good.

Recovery is still intact, and wiping functions work!

i will keep you posted as updates come :)
[Xperia Z5 Compact Original Android Development] acabreram:
This work on 5803? Thanks!
[Xperia Z5 Compact Original Android Development] un1ty:
Why wouldnt you just use the one provided in the Z3 compact forum? then you are certain it will work!
[Xperia Z5 Compact Original Android Development] rolo143:
I want to know this too. Have someone flashed this on a e5803 model?

Also... If I have latest firmware 32.0.A.6.200 will it work too?
[Xperia Z5 Compact Original Android Development] Arturiuz!:
this works on e5803 model with latest .200 firmware..coz that's what i have now & currently using this great work of [MENTION=811738]nilezon[/MENTION]! very big thanx & credits to him! cheers!

anyways,here's how i did it(pretty much as what OP instructed but to be detailed):

- unlock your device's bootloader.download the .zip posted in OP.

- extract the .zip you downloaded then place the boot.img & recovery.img in adb folder in your PC,wc is inside or under C:\ .

- open command prompt: (Shift + right click then choose 'opent command prompt here').

- connect phone through USB cable & make sure correct drivers are installed as well.

- in command prompt,type in first 'adb devices'..it should tell you that the phone is connected & recognized.

- then type in 'adb reboot bootloader'.the phone will boot in fastboot mode & you'll see a blue light lit up.

- then type in 'fastboot devices'..will also tell you that phone is recognized.then type in these commands:

fastboot flash boot boot.img

fastboot flash recovery recovery.img

- then type in 'fastboot reboot'..phone will reboot & when you see an amber/yellow light,press either the volume up or down a few times then the phone SHOULD now enter TWRP recovery.that's it..& good luck!

also big thanx to [MENTION=6300794]Joeisgood99[/MENTION] for his works on AOSP builds for Z5C thread!you might also want check it out!click this link:

http://xdaforums.com/showthread.php?t=3226266
[Xperia Z5 Compact Original Android Development] rolo143:
THANK YOU!!! Finally, I was able to root my Z5 Compact. Woo-hoo! Man, I'm so excited right now! [emoji2]
[Xperia Z5 Compact Original Android Development] Arturiuz!:
congratulations and welcome to the club!lol..
[Xperia Z5 Compact Original Android Development] acabreram:
Excellent bro! is xposed working fine?
[Xperia Z5 Compact Original Android Development] Arturiuz!:
yep!but i noticed get fc on camera if switched to panorama mode and i cant see the options under it's settings.dont know really if that's causing it,tbh!
[Xperia Z5 Compact Original Android Development] ds980x:
Could someone link me the latest working adb/fastboot files for Z5C please. I've rooted my Z5C a couple weeks ago and all was good and today I enabled Ultra Stamina Mode because we had a powercut and it corrupt most of the device when deactivated lol nothing fixed it so had to restore and now my fastboot drivers aren't working as when I try to flash TWRP it keeps saying "waiting for device" even though OEM Unlock and Debugging are enabled with device plugged into PC same time as VOL DOWN pressed still says waiting for device...

Samsungs are so much easier :P thanks.
[Xperia Z5 Compact Original Android Development] ds980x:
FIXED!

Thanks to a recently big Windows 10 update, it messed a few apps up, sony drivers were one of them... Trying to install them again failed so I restarted PC with disabled driver signature enforcement and the drivers installed ok, fastboot picked up my device, flashed TWRP now I got ROOT :) I hope others with this specific problem with Windows 10 update corrupting apps and drivers helps figure out how to fix this issue.
[Xperia Z5 Compact Original Android Development] Sopur:
To understand correctly: I have first to install the newest firmware, then ad this patch with TWRP?

How can I get the newest firmware on a rooted device? PC Companion always says the server is not reachable... (since a few days)

Kind regards

Sopur
[Xperia Z5 Compact Original Android Development] Arturiuz!:
not that i know of.. 'coz i installed recovery after i updated the firmware to latest .200 thru OTA. later on i realized i should have checked this forum before updating.. but it still worked when i tried to install this! ;):thumbup:
[Xperia Z5 Compact Original Android Development] Sopur:
You updated a rooted device OTA?
[Xperia Z5 Compact Original Android Development] Arturiuz!:
nope! that's impossible! lol.. what i meant was,i had updated my phone OTA with stock .152 fw(if i recall exactly the fw version) to .200 fw version,then had it rooted & flashed this recovery & everything..
[Xperia Z5 Compact Original Android Development] :
It seems as though flashing this on .200 has some video playback issues. Rebooting fixes it temporarily, but after what seems like a random amount of time, it comes back.

Edit: Works fine on everything else though, no issues with recovery.
[Xperia Z5 Compact Original Android Development] Sopur:
Argh, I now was abke to download the update (PC companion) but it did not me do the update, because I have modified software?!? I thougt, Sony takes it easy, if I root my phone??

BR

Sopur

Gesendet von meinem E5823 mit Tapatalk
[Xperia Z5 Compact Original Android Development] Arturiuz!:
what fw version u currently at,.152?if so & if u've unlocked ur device,PCC would definitely show that message..but if u upgrade your fw to latest .200 thru Flashtool,just download it from Xperifirm.
[Xperia Z5 Compact Original Android Development] sheraro:
after new way to recover drm fonctionalities on UB I decided to unlock and root my z5c , but what's the proper order to do that ? (I'm on .200 fw)

also is it ok to flash this .152 recovery on a .200 fw ? and will I be rooted then or do I need to flash superuser (what link?) after that ? so many questions lol
[Xperia Z5 Compact Original Android Development] TheEndHK:
http://xdaforums.com/z5-compact/orig-development/kernel-zombie-t3224735/page11

I've been told every step in the other thread eariler, go find out yourself.
[Xperia Z5 Compact Original Android Development] sheraro:
thanks but didn't find those steps in that thread ! help !
[Xperia Z5 Compact Original Android Development] TheEndHK:
http://xdaforums.com/z5-compact/help/root-xperia-z5c-t3295246
[Xperia Z5 Compact Original Android Development] Fargo_Zoidberg:
What a nice guy you are.
[Xperia Z5 Compact Original Android Development] mbutash:
Curious if anyone else has validated the encrypted phone bit does or does not work. Mine is currently encrypted, as a desired feature, and looking to root now that the drm issue is somewhat worked around. I just don't want to end up with an unbootable phone because I can't go forward or backward without an os on it.

Not sure how much encryption here is tied directly to something like the bootloaders, drm, or any core component that would prevent me from getting directly into the device upon doing a bootloader unlock.

Thanks in advance!
[Xperia Z5 Compact Original Android Development] MystereT:
hello

i initialy installed this recovery on previous firmware then encrypted my device.

I then upgraded firmware to latest. Now i face the recovery endless start.

Device not blocked as we can start normal mode, but i can't root :(
[Xperia Z5 Compact Original Android Development] Arturiuz!:
assuming you just came from .152 firmware version to .200,have you tried wiping cache/dalvik cache after installing?or perhaps have made a backup prior to encrypting?if so,try to restore the backed up one then update(no encryption)then install/flash the .img's as/the usual..it should work then!i did it that way:update thru OTA > flash img's > then reboot(i didn't even had it backed up!lol)..also,do you uappen to have the SuperSU.zip?flash it thru recovery,but first make sure system is mounted in recovery..
[Xperia Z5 Compact Original Android Development] MystereT:
Mmm trying to make a cache wipe i made apparently a factory :/ So I guess my problem is going to be fixed by itself...
[Xperia Z5 Compact Original Android Development] sheraro:
after flashing this recovery (recovery.img only) and restarting my led doesn't blink in amber (or any color) till it boots normaly ! flashed 3 times without success ! using "fastboot boot recovery.img" I managed to flash supersu but still no recovery after reboot ! ps : I flashed zombi kernel before it
[Xperia Z5 Compact Original Android Development] TheEndHK:
Then try flash "kernel 32.0.A.6.152 (v2) (10.11.15)" on your .200 rom with the TWRP first, followed to flash supersu, at last flash back the zombi kernel. Report here.

I originally was using this method bcoz at that time the zombi kernel .200 kernel wasn't even out. If this still not working, your rom have some problem plz reinstall it.
[Xperia Z5 Compact Original Android Development] sheraro:
can someone share stock E5823 fw .200 kernel, I need it to test this method
[Xperia Z5 Compact Original Android Development] puiatmp:
Hello, i download the last version but cant unzip file on windows using winrar. Any clue ???
[Xperia Z5 Compact Original Android Development] Arturiuz!:
if you have tried downloaded the zip through your phone,extract it using a file manager,say for example,Root Explorer(wc i use),it's easier that way..then you know what to do next! ;)
[Xperia Z5 Compact Original Android Development] puiatmp:
Hey.

I use 7zipper on my phone and works !!!

This boot.img and recovery.img ll work on 32.0.A.6.200 ??

Tks.
[Xperia Z5 Compact Original Android Development] Arturiuz!:
YEP! i guarantee you that! check this:

http://xdaforums.com/showthread.php?p=64511551
[Xperia Z5 Compact Original Android Development] puiatmp:
Thank u very much !!!

Tks my friend... :D

Rooted, all bloatware removed and all running good... :cool:

Tks for your help. :good:

Cya.
[Xperia Z5 Compact Original Android Development] Arturiuz!:
glad i was able to help! :thumbup:
[Xperia Z5 Compact Original Android Development] Oxoacid:
How to fix the date on backup folders? It's always in January 1970 O.o
[Xperia Z5 Compact Original Android Development] Radeon1337:
Are you going to build TWRP 3.0.0 for the Z5C? :fingers-crossed:
[Xperia Z5 Compact Original Android Development] Joeisgood99:
[MENTION=2006838]Radeon1337[/MENTION]

It might just be a matter of changing

revision="android-5.1"

to

revision="android6.0"

for android_bootable_recovery on the manifest. If nilezon doesn’t have time atm to update manifest you can easily remove-project and add omnis android_bootable_recovery revision="android6.0" on your local. See if that works and let us know!

Would twrp 3.0 work on a 5.1 device branch/repo? Reading some of the comments in the commits for TWRP 3.0 I think it might be....But then again I cant code very well and Iv bricked my phone twice in the past two days.

Speaking of bricking my device. The boot.img and recovery.img supplied by the OP work great. (thanks a bunch [MENTION=811738]nilezon[/MENTION]) But when I init the repo and build TWRP using only projects in omni manifest and [MENTION=811738]nilezon[/MENTION] 's local manifest (follow instructions in OP) my device wont boot after flashing. It freezes at splash screen and the he power button doesn’t work. I had to wait for phone to go dead before I could restart in bootloader and re flash. Anyone else had the same experience after compiling TWRP as per OP?

Cant figure out what Im doing wrong

EDIT: Yep, confirmed. Just re synced all sources. The recovery.img works fine but the boot.img bricks my phone? It also wont compile without vendor/qcom/ (from sony or omnirom) added to local manifest which isnt in the OP.

Anyone else have these issues? Has anyone else got a working set up different to the OP. OP are the remote sources up to date??

Any help appreciated.
[Xperia Z5 Compact Original Android Development] nilezon:
Sorry, I am not able to bjuild TWRP 3 at the moment.

I might do some building when (if?) Sony releases Marshmallow.

Regarding the boot.img, you need to pack the zImage you compile with the stock ramdisk.
[Xperia Z5 Compact Original Android Development] TheEndHK:
Is that TWRP3 a must for Marshmallow?
[Xperia Z5 Compact Original Android Development] Joeisgood99:
Hi [MENTION=811738]nilezon[/MENTION]

Thanks for the reply:

But now I’m confused.

When following your build instructions below..