[TWRP][E6653/E6603] 2.8.7.0 and Stock Rootable Kernel [2015-11-15]

Search This thread

bazhip

Senior Member
Mar 27, 2010
58
59
Minneapolis
Thanks goes to @nilezon for giving me the rundown, as it is all from his repos, save for a couple of things to make it work for the Z5 instead.
(Yes, your bootloader has to be unlocked)

Kernel is based on firmware version 32.0.A.6.152

There is two versions of the kernel: one with a recovery script, and one without.

The one with the recovery script will allow you to boot into recovery during your phone's startup process.

To enter recovery:
Boot up your phone like normal. Wait for the LED status light to turn amber. Once that happens, start pressing the volume buttons a few times. This will take you into the recovery menu.

The one without the recovery script does not have this option. This means that your phone will boot up a few seconds faster than the one with it.

Xposed: The Camera 2.0.apk plays nicely with Xposed now. No need to deoxed it manually!

Anyways:

TWRP
https://goo.gl/k9PiFV - TWRP 2.8.7.0

KERNELS
https://goo.gl/wzUAv4 - With recovery script, flashable zip file
https://goo.gl/8LTc9l - No recovery script, .img file that must be flashed through fastboot

For the recovery:
Code:
fastboot boot recovery.img
to just boot into it to flash a zip
OR
Code:
fastboot flash recovery.img
to flash it (although, you will need to do fastboot boot recovery the first time to get into it)

Kernel:
Code:
fastboot flash boot z5_stock_fixed_fixed.img
- For the .img file

The blues are oranges instead, like his, but it is kinda cute.

Have fun.
 
Last edited:

Ben36

Senior Member
Jun 8, 2012
8,257
2,868
Technically you can flash the boot.img in the recovery ?
 

yannik~

Senior Member
Oct 17, 2013
78
19
Thanks, bazhip.
Can you provide the modified source and a quick run through on how to compile it on github?
 

bazhip

Senior Member
Mar 27, 2010
58
59
Minneapolis
Thanks, bazhip.
Can you provide the modified source and a quick run through on how to compile it on github?

The kernel or TWRP? I'm kinda busy though so I'm not sure when I'll get around to it. If you want, look at the dirty ROOT thread for nizelion and my posts. I was pretty vocal about the process and what I was doing, as it was my first time ever doing it. You should be able to follow it, I think.
 
  • Like
Reactions: zacharias.maladroit

winkhant

Senior Member
Oct 31, 2012
57
0
Thanks goes to @nilezon for giving me the rundown, as it is all from his repos, save for a couple of things to make it work for the Z5 instead.

(Yes, your bootloader has to be unlocked)

Anyways:
https://goo.gl/k9PiFV - TWRP 2.8.7.0
https://goo.gl/8LTc9l - Kernel that I compiled that allows root

This isn't flashable, only bootable:
Code:
fastboot boot recovery.img

Kernel:
Code:
fastboot flash boot z5_stock_fixed_fixed.img

The blues are oranges instead, like his, but it is kinda cute.

Have fun.

Can it be use on E6683
Build no - 32.0.A.6.152
 

bazhip

Senior Member
Mar 27, 2010
58
59
Minneapolis
It's fairly easy to make it bootable.
Modify your boot.img ramdisk using this code and instructions:
https://github.com/jackfagner/twrp-sony-recovery-boot-script

Then just flash the recovery with fastboot.

Is there anything that needs to be changed with the recovery script to work on the Z5? I threw it into my kernel and followed the directions to a tee and I get a bootloop. I saw @AndroPlus made a kernel too using your script, so I flashed it to see if it worked and it was fine. I unpacked his boot.img and looked at it and the structure was the exact same. After hitting my head against a wall for a while, I tried repacking his just to make sure I wasn't crazy. The file size between his initial boot.img and the repacked one was a few KB different, and when I repack his, it bootloops too. So then I made sure mkboot tools were working fine and I unpacked/repacked my initial kernel, and it boots just fine.

Then I tried breaking it down:

I took my kernel, unpacked/repacked and it was fine. Then I copied over the bootrec folder, repacked, and it was fine. Then I made sure the symlink was working, so I:
Code:
mv init init.real
ln -s init.real init
and it booted just fine.
Then I did the final
Code:
rm init
ln -s /bootrec/init.sh init
and repacked, and it bootloops forever :( Any ideas about what is happening?

The only thing I can think of is that I messed up the symlink some how, but I dont know why AndroPlus's works before repacking and not after. Bleh :/

EDIT: **** everything. I ended up using SuperRs kitchen instead. That worked just fine. Noooo idea why mkbootimg_tools failed me.
 
Last edited:

MeX_DK

Senior Member
Jan 10, 2011
857
40
41
Fredericia
And this is confirmed as working on the Z5 ?. because I have waited for root for this for some time now, and if it works I will be a happy man.
 

bazhip

Senior Member
Mar 27, 2010
58
59
Minneapolis
And this is confirmed as working on the Z5 ?. because I have waited for root for this for some time now, and if it works I will be a happy man.

This is not an exploit, if that is what you are asking. As stated in OP, you need to unlock your bootloader first. The kernel is merely the stock kernel with the security features disabled, which allows you to be able to flash SuperSU. But yes, it works.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 43
    Thanks goes to @nilezon for giving me the rundown, as it is all from his repos, save for a couple of things to make it work for the Z5 instead.
    (Yes, your bootloader has to be unlocked)

    Kernel is based on firmware version 32.0.A.6.152

    There is two versions of the kernel: one with a recovery script, and one without.

    The one with the recovery script will allow you to boot into recovery during your phone's startup process.

    To enter recovery:
    Boot up your phone like normal. Wait for the LED status light to turn amber. Once that happens, start pressing the volume buttons a few times. This will take you into the recovery menu.

    The one without the recovery script does not have this option. This means that your phone will boot up a few seconds faster than the one with it.

    Xposed: The Camera 2.0.apk plays nicely with Xposed now. No need to deoxed it manually!

    Anyways:

    TWRP
    https://goo.gl/k9PiFV - TWRP 2.8.7.0

    KERNELS
    https://goo.gl/wzUAv4 - With recovery script, flashable zip file
    https://goo.gl/8LTc9l - No recovery script, .img file that must be flashed through fastboot

    For the recovery:
    Code:
    fastboot boot recovery.img
    to just boot into it to flash a zip
    OR
    Code:
    fastboot flash recovery.img
    to flash it (although, you will need to do fastboot boot recovery the first time to get into it)

    Kernel:
    Code:
    fastboot flash boot z5_stock_fixed_fixed.img
    - For the .img file

    The blues are oranges instead, like his, but it is kinda cute.

    Have fun.
    2
    Hey,
    Nobody has succeeded to make a build of the kernel for the dual sim version?
    According to the README file, it's should be just a single parameter different to single SIM version. But I guess the reason we cannot get such one is simply because only few people have that device.

    I have tried to learn how to build a kernel by looking on AndroPlus' Github repo. But soon I just realized that my skill level isn't even close.

    ---------- Post added at 11:26 PM ---------- Previous post was at 11:18 PM ----------

    Same here, did you guys find a way for better camera pictures?

    I've unlocked my BL but hasn't get a root yet. My feeling is that only the image quality in low-light condition will be effect by losing DRM. More specifically, now I got much more color noise compare to before.

    Pictures in daylight seem just as good as before.

    I saw somebody's said the part lost with DRM is the de-noise functionality, and I've got the same result.

    To me it won't be a quite big problem because for some reason I usually have my camera with me.
    2
    I had already seen, I try to do in a week for the E6633 and E6683.
    Creates a simple kernel I think I can do it.
    These are the changes that will ask me problem.

    By looking into Sony's README file, (like this one: https://github.com/DooMLoRD/android_kernel_sony_msm8994/blob/sony_sources/README_Xperia), the Dual version has different configuration with single SIM version.

    My one is E6683 so I'm waiting for the same kernel as you. But unlike you, I can't even boot with the latest bazhip's build (the previous one can boot but no SD card). And because I have only one SIM card by now so I can't test whether the dual mode work or not.

    Does TWRP work okay? I will build one for the dual sim, but I don't know if I need to rebuild twrp or not.
    1
    For unlocked bootloaders?

    Sent from my Sony Xperia Z5