FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

Advanced Stock Kernel and TWRP for Xperia X Compact

1,522 posts
Thanks Meter: 3,655
 
Post Reply Email Thread
I made advanced stock kernel and TWRP for Xperia X Compact.
I don't have X Compact, so there will be no further update.
Please don't ask for update.

Advanced stock kernel
-For 34.1.A.1.198
-ric, dm-verity disabled
-DRM patch from tobias.waldvogel
-SELinux Permissive
-Load recovery from recovery (FOTAKernel) partition
Download:
https://drive.google.com/open?id=0B0...l9xbEFxN1N1Vkk

TWRP 3.0.2
-Fully supports decryption

Download:
https://drive.google.com/open?id=0B0...1ZGbzBBMTdyRnM

1. Reboot into recovery or bootloader
2. Extract boot.img from zip and run this command in fastboot mode:
fastboot flash boot boot.img

If you have no recovery, you also need to flash recovery by this command:
fastboot flash recovery TWRP-3.0.2-2-F5321.img

3. Reboot
4. Done!

* Press volume up or down key when LED is orange to enter into recovery

Kernel source:
https://github.com/AndroPlus-org/and...e/34.1.A.1.198

Device tree for TWRP:
https://github.com/AndroPlus-org/and...vice_sony_kugo

PayPal:
https://www.paypal.com/cgi-bin/websc...=S2LALLRARKTKC

Credit:
tobias.waldvogel for awasome DRM patch,
nilezon for boot script
Snow_Basinger for testing
and big thanks to other people involved including Sony and TeamWin
The Following 15 Users Say Thank You to AndroPlus For This Useful Post: [ View ] Gift AndroPlus Ad-Free
 
 
19th September 2016, 03:38 PM |#2  
Senior Member
Thanks Meter: 25
 
More
Quote:
Originally Posted by AndroPlus

I made advanced stock kernel and TWRP for Xperia X Compact.
I don't have X Compact, so there will be no further update.
Please don't ask for update.

Advanced stock kernel
-For 34.1.A.1.198
-ric, dm-verity disabled
-DRM patch from tobias.waldvogel
-SELinux Permissive
-Load recovery from recovery (FOTAKernel) partition
Download:
https://drive.google.com/open?id=0B0...l9xbEFxN1N1Vkk

TWRP 3.0.2
-Fully supports decryption

Download:
https://drive.google.com/open?id=0B0...WJsVGZTc0ZhZUE

1. Reboot into recovery or bootloader
2. Extract boot.img from zip and run this command in fastboot mode:
fastboot flash boot boot.img

If you have no recovery, you also need to flash recovery by this command:
fastboot flash recovery TWRP-3.0.2-2-F5321.img

3. Reboot
4. Done!

* Press volume up or down key when LED is orange to enter into recovery

Kernel source:
https://github.com/AndroPlus-org/and...e/34.1.A.1.198

Device tree for TWRP:
https://github.com/AndroPlus-org/and...vice_sony_kugo

PayPal:
https://www.paypal.com/cgi-bin/websc...=S2LALLRARKTKC

Credit:
tobias.waldvogel for awasome DRM patch,
nilezon for boot script
Snow_Basinger for testing
and big thanks to other people involved including Sony and TeamWin

this is only for unlocked bootloader?
19th September 2016, 03:38 PM |#3  
AndroPlus's Avatar
OP Senior Member
Flag Kyoto
Thanks Meter: 3,655
 
Donate to Me
More
Quote:
Originally Posted by x10isrooted

this is only for unlocked bootloader?

yes.
30th September 2016, 11:22 PM |#4  
Senior Member
Thanks Meter: 28
 
More
I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?
1st October 2016, 03:29 AM |#5  
AndroPlus's Avatar
OP Senior Member
Flag Kyoto
Thanks Meter: 3,655
 
Donate to Me
More
Quote:
Originally Posted by mesajoejoe

I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?

To root, just install SuperSu zip in TWRP (search it)
The Following 3 Users Say Thank You to AndroPlus For This Useful Post: [ View ] Gift AndroPlus Ad-Free
1st October 2016, 10:39 AM |#6  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by mesajoejoe

I've unlocked the bootloader and have access to recovery. Am I able to root this thing then?

So I think you unlocked the boot loader using the service delivered by Sony, correct? Okay...

But how did you deal with the DRM security keys (TA partitions)? If I get that right within the TA partition there might be some key information which could affect advanced camera functionality? Did you get a backup of the TA partition before unlocking the bootloader?

Thank you for support!
1st October 2016, 11:08 AM |#7  
AndroPlus's Avatar
OP Senior Member
Flag Kyoto
Thanks Meter: 3,655
 
Donate to Me
More
Quote:
Originally Posted by fl3xx

So I think you unlocked the boot loader using the service delivered by Sony, correct? Okay...

But how did you deal with the DRM security keys (TA partitions)? If I get that right within the TA partition there might be some key information which could affect advanced camera functionality? Did you get a backup of the TA partition before unlocking the bootloader?

Thank you for support!

You don't need to backup TA (at least when you are using) since DRM patch solves camera functionality problem.
1st October 2016, 02:38 PM |#8  
Senior Member
Thanks Meter: 560
 
More
has anyone tested this? It basically means we can:

1. unlock the bootloader
2. flash twrp recovery
3. flash this kernel
4. flash superuser
and we have a rooted x compact with working drm (at least some of it).

Is that correct?
2nd October 2016, 08:18 AM |#9  
Senior Member
Thanks Meter: 28
 
More
Quote:
Originally Posted by charliebigpot

has anyone tested this? It basically means we can:

1. unlock the bootloader
2. flash twrp recovery
3. flash this kernel
4. flash superuser
and we have a rooted x compact with working drm (at least some of it).

Is that correct?

In theory yes. Though I cannot flash the superuser zip, nor can I mount anything in TWRP at the moment. Before unlocking boot loader and flashing this, I flashed UK for fingerprint sensor so that may be the reason. Tomorrow I plan on testing more.

Sent from my HTC 10
The Following 2 Users Say Thank You to mesajoejoe For This Useful Post: [ View ] Gift mesajoejoe Ad-Free
2nd October 2016, 08:33 AM |#10  
Senior Member
Thanks Meter: 560
 
More
Quote:
Originally Posted by mesajoejoe

In theory yes. Though I cannot flash the superuser zip, nor can I mount anything in TWRP at the moment. Before unlocking boot loader and flashing this, I flashed UK for fingerprint sensor so that may be the reason. Tomorrow I plan on testing more.

Sent from my HTC 10

Good luck and keep us posted!
2nd October 2016, 08:30 PM |#11  
Senior Member
Thanks Meter: 28
 
More
Quote:
Originally Posted by charliebigpot

Good luck and keep us posted!

No luck. It won't install the superuser.zip. In TWRP everything is red, can't mount anything. Can't see internal SD from TWRP, can't format anything. I went back to Customized US from xperifirm and re-flashed kernel and TWRP. Not sure what to do.
The Following 2 Users Say Thank You to mesajoejoe For This Useful Post: [ View ] Gift mesajoejoe Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes