[KERNEL][5.0.2][10.6.A.0.454][ADVANCED STOCK WITH RECOVERY](UB Only) - Xperia Z Android Development

Pure stock kernel for unlocked bootloaders with TWRP 2.8.6.0 or Philz 6.59.0 recovery.
Edit: TWRP 2.8.7.0 available in flashable zip at end of OP.
Created using flashtool and mkbootimg.
Rename boot.img.apk to boot.img and fastboot it to have stock kernel with TWRP.
OR
Rename Philzboot.img.apk to boot.img and fastboot it to have stock kernel with Philz.
To root, download Chainfires latest flashable zip from Here.
Then reboot and press press volume up when blue LED turns on to enter TWRP/Philz recovery, and flash the zip from the stored location.
Tested, and working.
Enjoy :good:
View attachment boot.img.apk
View attachment Philzboot.img.apk.
FLASHABLE ZIPS
TWRP 2.8.7.0
PhilZ 6.59.0

shoey63 said:
Pure stock kernel for unlocked bootloaders with latest TWRP 2.8.6.0 recovery.
Remove FAKE .apk extension and fastboot it.
To root, press volume up when blue LED turns on during reboot to enter TWRP recovery ,and flash Chainfires latest flashable zip from Here
Philz will be added upon request.
Tested, and working.
Enjoy :good:
Click to expand...
Click to collapse
Can i flash this on aosp rom
---------- Post added at 06:52 PM ---------- Previous post was at 06:50 PM ----------
Where is download link

delete please

Note: This is for unlocked bootloader Xperia Z with stock LP only. It Will not work with CM, AOSP, Omni, Slim etc. etc.

works well...no problems what so ever

IT worked brother
thanks a lot

tusher3365 said:
IT worked brother
thanks a lot
Click to expand...
Click to collapse
how to remove fake.apk extension?

nabeelahmad909 said:
how to remove fake.apk extension?
Click to expand...
Click to collapse
Edit the filename to boot.img

shoey63 said:
Note: This is for unlocked bootloader Xperia Z with stock LP only. It Will not work with CM, AOSP, Omni, Slim etc. etc.
Click to expand...
Click to collapse
if its stock kernel then why we need it as it is already included in stock rom

jindal_bharat said:
if its stock kernel then why we need it as it is already included in stock rom
Click to expand...
Click to collapse
Stock kernel has no recovery, so you can't flash anything. This has TWRP.

jindal_bharat said:
if its stock kernel then why we need it as it is already included in stock rom
Click to expand...
Click to collapse
Its mean stock with TWRP recovery..

muphetz said:
Its mean stock with TWRP recovery..
Click to expand...
Click to collapse
Yup, title amended accordingly.

shoey63 said:
Yup, title amended accordingly.
Click to expand...
Click to collapse
ok :good:

Thanks. Would you mind share how you did this?

Nice work, thanks! Anyone knows if i get bootloop if i flash the Xposed arm zip trough twrp?

when i unlock bootloader my my Bravia engine 2 not working ????

Yes, BE2 not working on UB.

works as op said .no problems and backed up my phone and rebooted to lp no problem and has root to with recovery .nice work op thanks .

Thanks
Nice work Thanks buddy

After flash... Os not installed noo??

Related

[Q] Help for Recovery before install Paranoid 4.4

Hello,
I want to install Paranoid Android 4.4
My Z1 C6903 is in Stock rom 14.3.A.0.757 rooted, TA backup done and bootloader unlocked with stock recovery.
Now i'm a little bit lost, what should I do ?
1/ Install a custom recovery (TWRP or CWM) that I pick up separately and after install Paranoid 4.4
or
2/ Just follow the flashing instruction from Paranoid ? (does the boot.img include a custom recovery ?)
Thanks for the help ! (and sorry for my english.)
Jayce1981 said:
Hello,
I want to install Paranoid Android 4.4
My Z1 C6903 is in Stock rom 14.3.A.0.757 rooted, TA backup done and bootloader unlocked with stock recovery.
Click to expand...
Click to collapse
There is no such thing as stock recovery on xperia phones
Now i'm a little bit lost, what should I do ?
1/ Install a custom recovery (TWRP or CWM) that I pick up separately and after install Paranoid 4.4
or
2/ Just follow the flashing instruction from Paranoid ? (does the boot.img include a custom recovery ?)
Thanks for the help ! (and sorry for my english.)
Click to expand...
Click to collapse
Flash the boot.img using fastboot, then flash the update.zip using recovery
Thanks for the answer, I thinked that every android phone have a recovery.
Flash the boot.img using fastboot, then flash the update.zip using recovery
Click to expand...
Click to collapse
Which recovery is it in the boot.img ? TWRP ? CWM ?
Jayce1981 said:
Thanks for the answer, I thinked that every android phone have a recovery.
Click to expand...
Click to collapse
Xperia devices do not have a stock recovery, trust me.
Which recovery is it in the boot.img ? TWRP ? CWM ?
Click to expand...
Click to collapse
I have no idea, flash it and see, or just decompile the boot.img and see.
gregbradley said:
Xperia devices do not have a stock recovery, trust me. I have no idea, flash it and see, or just decompile the boot.img and see.
Click to expand...
Click to collapse
I've just flashed my Z1 with PA 4.4. It works perfectly !! Thanks for the advice. :good:
FYI, the recovery is CWM.
Last request : Is it possible to have stock camera app (from Z1 or Z2) into the PA 4.4 rom ?
No

[Q] Do we have TWRP Recovery?

Hi,
Would like to know if we have TWRP Recovery for Xperia SP Huashan (C5303) with Unlocked Bootloader.
Thank you.
You can get it yes look for the recovery threads in the development section for kernels with it built in (UL BL only) or theres a version for LBL.
Dude, search function...
http://forum.xda-developers.com/showthread.php?t=2649923
Also works on ULB
Or flash a kernel which has TWRP recovery installed. Eg. Doomkernel v13
Gamm86 said:
Dude, search function...
http://forum.xda-developers.com/showthread.php?t=2649923
Also works on ULB
Or flash a kernel which has TWRP recovery installed. Eg. Doomkernel v13
Click to expand...
Click to collapse
Hi Dude,
Have you tried that yourself on Unlocked Bootloader?
Cause the last time i tried that, it didn't work.
It's just black screen whenever i enter into recovery.
Oblox said:
You can get it yes look for the recovery threads in the development section for kernels with it built in (UL BL only) or theres a version for LBL.
Click to expand...
Click to collapse
sorry, can you provide me the link?
erkasmoter said:
Have you tried that yourself on Unlocked Bootloader?
Click to expand...
Click to collapse
A few months back I tried it (on ULB) and it worked.
Anyway, if you have unlocked your bootloader, simply flashboot a kernel which has TWRP included.
Both Doomlord and Williams have it. Depending on the ROM you're on, download one of these.

[Recovery] [CWM v6.0.5.1 x64bit] Lollipop Compatible!

The official, ever popular CWM v6.0.5.1 recovery for our 64bit Lollipop is at last here!​
Instruction to flash this recovery -
1. Extract downloaded 'cwm_recovery_yu_x64' in the fastboot folder
2. Boot into fastboot.
3. Type into cmd
"fastboot -i 0x1ebf flash recovery cwm_recovery_yu_x64.img" without the quotes and hit enter.
4. You just installed CWM on your lollipop.
OR
You can use flashify to flash this recovery if you are already on Lollipop.
Attention - Don't flash this on 32bit, this is ONLY for 64BIT
BUGS? None, everything works!​
Download link -​ https://drive.google.com/file/d/0B_Dd-va66GscQlp2SWFfMkx0ZTA/view?usp=sharing
And....Don't forget to press thanks​.
Reserved for fun
please update the download link as a clickable one...
ujilraj said:
please update the download link as a clickable one...
Click to expand...
Click to collapse
Done
I am in twrp recovery how to flash this cwm recovery need to go back to stick recovery or just flash over it using flashiy
m_rajaganesh said:
I am in twrp recovery how to flash this cwm recovery need to go back to stick recovery or just flash over it using flashiy
Click to expand...
Click to collapse
Just flash it from flashify or from fastboot
@parasthakur37 Did you build this from CWM source, or is just busybox included in the original stock recovery with verifications removed?
Thanks And, why don't you post screenshots and source if it's built from source??
And, is this different from [RECOVERY] CWM-based Recovery v6.0.5.1 for Yureka
GokulNC said:
@parasthakur37 Did you build this from CWM source, or is just busybox included in the original stock recovery with verifications removed?
Thanks And, why don't you post screenshots and source if it's built from source??
And, is this different from [RECOVERY] CWM-based Recovery v6.0.5.1 for Yureka
Click to expand...
Click to collapse
Go fukc yourself, motheryaar!
parasthakur37 said:
Go fukc yourself, motheryaar!
Click to expand...
Click to collapse
And that's how you answer to a person who asks you politely.
Thank you gentleman
GokulNC said:
And that's how you answer to a person who asks you politely.
Thank you gentleman
Click to expand...
Click to collapse
Don't write thank you, press it motheryaar!

How can i install a kernel?

I've been trying to find how to install a kernel for a few days but i couldn't find any good and updated source. I'm thinking of installing latest helium to my device. Can anyone help me?
ExclusiveBFS said:
I've been trying to find how to install a kernel for a few days but i couldn't find any good and updated source. I'm thinking of installing latest helium to my device. Can anyone help me?
Click to expand...
Click to collapse
Through any recovery is the most easy way, but you have to unlock bootloader first.
Do you even know what it does?
Bigrrd225 said:
Do you even know what it does?
Click to expand...
Click to collapse
Yeah, I do. I just didn't want to flash it and take risk. I must have learned details
HUEguy said:
Through any recovery is the most easy way, but you have to unlock bootloader first.
Click to expand...
Click to collapse
My bootloader is unlocked. And I have the twrp. Thanks!
ExclusiveBFS said:
Yeah, I do. I just didn't want to flash it and take risk. I must have learned details
My bootloader is unlocked. And I have the twrp. Thanks!
Click to expand...
Click to collapse
Then just flash the .zip file via TWRP. Simple. Of course you'll need a ROM compatible with helium otherwise you'll be stuck in a bootloop.
Also goes without saying that you should take a nandroid backup via TWRP first in case something goes wrong.
Edit : When you say you have TWRP, is it part of your current kernel or you flashed it in your FOTA kernel partition via Rashr or something? If its the former then flashing Helium would overwrite TWRP and you could wind up without a working recovery cause I don't think Helium comes with any. Might want to flash TWRP in your FOTA partition with Rashr before you proceed.
XenolithicYardZone said:
Then just flash the .zip file via TWRP. Simple. Of course you'll need a ROM compatible with helium otherwise you'll be stuck in a bootloop.
Also goes without saying that you should take a nandroid backup via TWRP first in case something goes wrong.
Edit : When you say you have TWRP, is it part of your current kernel or you flashed it in your FOTA kernel partition via Rashr or something? If its the former then flashing Helium would overwrite TWRP and you could wind up without a working recovery cause I don't think Helium comes with any. Might want to flash TWRP in your FOTA partition with Rashr before you proceed.
Click to expand...
Click to collapse
I was on latest candy5, i flashed adrian dc's twrp from recovery but now I'm installing the stock ftf, I will try carbon lp rom. When the installation completed, I will flash adrian dc's twrp again. Then I will flash the helium kernel with twrp. Is there a problem with that? Should I install twrp with rashr?
ExclusiveBFS said:
I was on latest candy5, i flashed adrian dc's twrp from recovery but now I'm installing the stock ftf, I will try carbon lp rom. When the installation completed, I will flash adrian dc's twrp again. Then I will flash the helium kernel with twrp. Is there a problem with that? Should I install twrp with rashr?
Click to expand...
Click to collapse
If you're gonna flash stock firmware via Flashtool then your FOTA recovery will be wiped out. How are you gonna flash TWRP & Carbon LP rom when you don't have a recovery in the first place?
http://forum.xda-developers.com/xperia-sp/development/recovery-twrp-3-0-0-touch-recovery-t3309938
The recovery from the above thread is flashable but you still need an working recovery on your device to be able to do it right? What you can do it use the fastboot bootable image and install whatever you want if you're gonna go stock.
Actually you only need Rashr if you wanna stay stock but still want a working recovery.
XenolithicYardZone said:
If you're gonna flash stock firmware via Flashtool then your FOTA recovery will be wiped out. How are you gonna flash TWRP & Carbon LP rom when you don't have a recovery in the first place?
http://forum.xda-developers.com/xperia-sp/development/recovery-twrp-3-0-0-touch-recovery-t3309938
The recovery from the above thread is flashable but you still need an working recovery on your device to be able to do it right? What you can do it use the fastboot bootable image and install whatever you want if you're gonna go stock.
Actually you only need Rashr if you wanna stay stock but still want a working recovery.
Click to expand...
Click to collapse
I guess I couldn't explained my situation well. I installed carbon rom just now, and flashed gapps. I didn't check if carbon comes with a recovery but if it comes, I'm going to flash adrian dc's twrp through stock recovery. That's what I'm asking, is there a difference between using rashr to install twrp or flashing through recovery.
ExclusiveBFS said:
I guess I couldn't explained my situation well. I installed carbon rom just now, and flashed gapps. I didn't check if carbon comes with a recovery but if it comes, I'm going to flash adrian dc's twrp through stock recovery. That's what I'm asking, is there a difference between using rashr to install twrp or flashing through recovery.
Click to expand...
Click to collapse
Carbon provides CM recovery. Flash TWRP only through recovery, don't use Rashr.
ExclusiveBFS said:
I guess I couldn't explained my situation well. I installed carbon rom just now, and flashed gapps. I didn't check if carbon comes with a recovery but if it comes, I'm going to flash adrian dc's twrp through stock recovery. That's what I'm asking, is there a difference between using rashr to install twrp or flashing through recovery.
Click to expand...
Click to collapse
The recovery that comes with Carbon is most probably Cyanogen recovery which will not let you flash unsigned zip files like custom kernels & roms, SuperSU, Xposed, etc.
Its the reason why people install a recovery in their FOTA partitions because installing new kernels or roms (which include their own kernel) wipes out the previous recovery since Xperia phones esp older one's like ours don't have a separate recovery partition - the recovery is part of the kernel so it gets replaced by whatever came (or didn't) with the new kernel or rom. Atleast that's how it works to the best of my knowledge.
With fastboot, you could boot the device into TWRP recovery using the twrp-3.0.0-rX-boot-huashan.img file and the command "fastboot boot *filename*.img". This way its just temporary and doesn't permanently flash anything. Once in the recovery, flash the rom, kernel, recovery and you are done. That's how I did it on my Mi4i though you might want to confirm but since the description next to it says fastboot bootable, I guessing it works on the same principal.
Edit : If the kernel creator says no Rashr then its no Rashr.
XenolithicYardZone said:
The recovery that comes with Carbon is most probably Cyanogen recovery which will not let you flash unsigned zip files like custom kernels & roms, SuperSU, Xposed, etc.
Its the reason why people install a recovery in their FOTA partitions because installing new kernels or roms (which include their own kernel) wipes out the previous recovery since Xperia phones esp older one's like ours don't have a separate recovery partition - the recovery is part of the kernel so it gets replaced by whatever came (or didn't) with the new kernel or rom. Atleast that's how it works to the best of my knowledge.
With fastboot, you could boot the device into TWRP recovery using the twrp-3.0.0-rX-boot-huashan.img file and the command "fastboot boot *filename*.img". This way its just temporary and doesn't permanently flash anything. Once in the recovery, flash the rom, kernel, recovery and you are done. That's how I did it on my Mi4i though you might want to confirm but since the description next to it says fastboot bootable, I guessing it works on the same principal.
Edit : If the kernel creator says no Rashr then its no Rashr.
Click to expand...
Click to collapse
I find that flashing TWRP from CM recovery and then Helium from TWRP is much simpler than flashing TWRP as a kernel in the boot partition, then flashing the rom again and the kernel.
Tomoms said:
Carbon provides CM recovery. Flash TWRP only through recovery, don't use Rashr.
Click to expand...
Click to collapse
I flashed helium v5 for lollipop through twrp 3.0.0 and rebooted. It's not booted yet, i'm waiting for 2 minutes and the screen is black. Is it normal?
Tomoms said:
I find that flashing TWRP from CM recovery and then Helium from TWRP is much simpler than flashing TWRP as a kernel in the boot partition, then flashing the rom again and the kernel.
Click to expand...
Click to collapse
Wait hang on, CM recovery lets you flash custom zip files now without moaning about file verification? Since when?
Yes that's why I asked him to temporarily boot up with the TWRP img and then flash whatever he liked from it but hey if you can flash stuff via CM recovery now then that's one less step to worry about.
Also why no Rashr? I haven't used it in a while that's why I am asking.
---------- Post added at 05:10 PM ---------- Previous post was at 05:07 PM ----------
ExclusiveBFS said:
I flashed helium v5 for lollipop through twrp 3.0.0 and rebooted. It's not booted yet, i'm waiting for 2 minutes and the screen is black. Is it normal?
Click to expand...
Click to collapse
You mean black screen after the Sony splash screen? Is that rom compatible with Helium?
XenolithicYardZone said:
Wait hang on, CM recovery lets you flash custom zip files now without moaning about file verification? Since when?
Yes that's why I asked him to temporarily boot up with the TWRP img and then flash whatever he liked from it but hey if you can flash stuff via CM recovery now then that's one less step to worry about.
Also why no Rashr? I haven't used it in a while that's why I am asking.
---------- Post added at 05:10 PM ---------- Previous post was at 05:07 PM ----------
You mean black screen after the Sony splash screen? Is that rom compatible with Helium?
Click to expand...
Click to collapse
First, yes it lets you flash custom zip files, that's what I was trying to tell I always used cm recovery to install twrp
And I haven't used rashr before, I didn't know how to use it. So I flashed it with cm recovery and perfectly installed.
About helium, my phone finally booted after 9 minutes, how I scared
ExclusiveBFS said:
First, yes it lets you flash custom zip files, that's what I was trying to tell I always used cm recovery to install twrp
And I haven't used rashr before, I didn't know how to use it. So I flashed it with cm recovery and perfectly installed.
About helium, my phone finally booted after 9 minutes, how I scared
Click to expand...
Click to collapse
Sorry man didn't know that CM recovery lets you do that now. Been out of the loop for a while.
Lol yeah I can relate but as long as you can see a splash screen, you're good and when you don't, Flashtool is your light in the darkness :victory:
ExclusiveBFS said:
I flashed helium v5 for lollipop through twrp 3.0.0 and rebooted. It's not booted yet, i'm waiting for 2 minutes and the screen is black. Is it normal?
Click to expand...
Click to collapse
The reboot button is broken on TWRP. Causes black screen for a long time. You must always use the Power off option instead.
XenolithicYardZone said:
Sorry man didn't know that CM recovery lets you do that now. Been out of the loop for a while.
Lol yeah I can relate but as long as you can see a splash screen, you're good and when you don't, Flashtool is your light in the darkness :victory:
Click to expand...
Click to collapse
CM recovery lets you flash signed zip, and TWRP is provided in a signed zip, while even though Helium is provided in a signed zip, it can't be flashed.
Tomoms said:
The reboot button is broken on TWRP. Causes black screen for a long time. You must always use the Power off option instead.
CM recovery lets you flash signed zip, and TWRP is provided in a signed zip, while even though Helium is provided in a signed zip, it can't be flashed.
Click to expand...
Click to collapse
@Tomoms, @XenolithicYardZone Thanks for all your help, I used more than 10 roms so far but never used a custom kernel before. You two helped me a lot
Tomoms said:
The reboot button is broken on TWRP. Causes black screen for a long time. You must always use the Power off option instead.
CM recovery lets you flash signed zip, and TWRP is provided in a signed zip, while even though Helium is provided in a signed zip, it can't be flashed.
Click to expand...
Click to collapse
Yeah kinda guessed it was signed cause in all my time flashing roms, I have never known CM recovery to allow the flashing of unsigned zips. So why doesn't it work with Helium if its signed?
ExclusiveBFS said:
@Tomoms, @XenolithicYardZone Thanks for all your help, I used more than 10 roms so far but never used a custom kernel before. You two helped me a lot
Click to expand...
Click to collapse
Your welcome man. As a famous author once said, "Help will always be given at XDA to those who ask for it. "
XenolithicYardZone said:
Yeah kinda guessed it was signed cause in all my time flashing roms, I have never known CM recovery to allow the flashing of unsigned zips. So why doesn't it work with Helium if its signed?
Click to expand...
Click to collapse
Because CM recovery sucks
Tomoms said:
Because CM recovery sucks
Click to expand...
Click to collapse
True that!

Why TWRP deleted after booting?

I flashed latest TWRP with fastboot command on CMD.
TWRP works but after I reset the TWRP was deleted and I can get STOCK recovery.
I can boot up TWRP only if I connect my device to computer and use command FASTBOOT BOOT RECOVERY.IMG
Why?
If u flashed a rom,.then before booting you must flash the root file or a custom kernel in order to keep the TWRP.
Unleashed by my rooted OP3T on 8.0
I do not flashing another rom, only new open beta versions and flash files.
saarxee said:
I do not flashing another rom, only new open beta versions and flash files.
Click to expand...
Click to collapse
New open beta is another Rom buddy.
Unleashed by my rooted OP3T on 8.0
But I dont need custom kernel and root.
saarxee said:
But I dont need custom kernel and root.
Click to expand...
Click to collapse
You have to flash at least Magisk/SuperSU or custom kernel in order to keep TWRP intact after each reboot. Not sure about modified stock kernels with dm-verity and forceencrypt disabled, they may work too.
This is the nature of stock ROM.
saarxee said:
But I dont need custom kernel and root.
Click to expand...
Click to collapse
OOS enforces encryption and restores the stock recovery when you reboot your phone.
Custom ROMs, custom kernels, and Magisk all prevent that from happening.
If you want plain OOS (stable or Open Beta) and keep TWRP, then use Xennet's patched boot image. See https://forum.xda-developers.com/on...y-force-encryption-op3t-t3688748/post74155053
Sent from my OnePlus3T using XDA Labs
I flashed magisk on TWRP and TWRP deleted again after restart.
What can I do?
Reflash your current ROM via TWRP and flash Magisk right after ROM without restarting
Today I flashed open beta 24 and after that Magisk and wipe dalvik and restart recovery and I got stock recovery and dont TWRP.
saarxee said:
Today I flashed open beta 24 and after that Magisk and wipe dalvik and restart recovery and I got stock recovery and dont TWRP.
Click to expand...
Click to collapse
Like I said, use Xennet's patched boot image.
Sent from my OnePlus3T using XDA Labs
What to do about this file? flash it and install TWRP again? or only flash it and restart to recovery?
Why I need to change my boot file? If my device dont booting up after the flash?
saarxee said:
Why I need to change my boot file? If my device dont booting up after the flash?
Click to expand...
Click to collapse
Because stock will always revert to stock recovery.
If the device doesn't boot, then you're using an incompatible boot image
(it seems that Magisk/SuperSU isn't enough)
I flashed this boot patched image and choose restart to recovery and stock recovery again...
I have the same problem - twrp gets erased after booting in OS Since beta 24
I don't know guys what's wrong with your devices, I'm using Open Beta 24 with custom kernel and TWRP boots everytime.
I use stock kernel, maybe that is the clue.
Viktorrr said:
I use stock kernel, maybe that is the clue.
Click to expand...
Click to collapse
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
gizahNL said:
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
Click to expand...
Click to collapse
Correct, as I pointed out in this post https://forum.xda-developers.com/oneplus-3t/help/twrp-deleted-booting-t3769867/post76049932
Sent from my OnePlus3T using XDA Labs
gizahNL said:
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
Click to expand...
Click to collapse
BillGoss said:
Correct, as I pointed out in this post https://forum.xda-developers.com/oneplus-3t/help/twrp-deleted-booting-t3769867/post76049932
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
OP said that it didn't work:
I flashed this boot patched image and choose restart to recovery and stock recovery again...
Click to expand...
Click to collapse

Categories

Resources