yashsingh1/xdaforums huggingface dataset:
[Xperia Z Android Development] shoey63:
Note: This is for unlocked bootloader Xperia Z with stock LP only. It Will not work with CM, AOSP, Omni, Slim etc. etc.
[Xperia Z Android Development] marcoplo:
works well...no problems what so ever:D
[Xperia Z Android Development] tusher3365:
IT worked brother :D

thanks a lot
[Xperia Z Android Development] nabeelahmad909:
how to remove fake.apk extension?
[Xperia Z Android Development] shoey63:
Edit the filename to boot.img
[Xperia Z Android Development] jindal_bharat:
if its stock kernel then why we need it as it is already included in stock rom
[Xperia Z Android Development] shoey63:
Stock kernel has no recovery, so you can't flash anything. This has TWRP.
[Xperia Z Android Development] muphetz:
Its mean stock with TWRP recovery.. :confused:
[Xperia Z Android Development] shoey63:
Yup, title amended accordingly.
[Xperia Z Android Development] jindal_bharat:
ok :good:
[Xperia Z Android Development] xarive:
Thanks. Would you mind share how you did this?
[Xperia Z Android Development] Paduretu Ionut:
Nice work, thanks! Anyone knows if i get bootloop if i flash the Xposed arm zip trough twrp?
[Xperia Z Android Development] yashkadam0012:
when i unlock bootloader my my Bravia engine 2 not working ????
[Xperia Z Android Development] seba112:
Yes, BE2 not working on UB.
[Xperia Z Android Development] wrtease5865:
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 .
[Xperia Z Android Development] zahid86:
Thanks

Nice work Thanks buddy
[Xperia Z Android Development] comax70:
After flash... Os not installed noo??
[Xperia Z Android Development] shoey63:
If you mean will flashing the boot.img wipe the rom, answer is no.
[Xperia Z Android Development] shoey63:
Used flashtool to unpack and mkbootimg to re-pack. So kernel (zImage) itself is totally unmodified.
[Xperia Z Android Development] CosmicDan:
That was quick. Thanks!

Sent via Tapatalk on my Xperia Z
[Xperia Z Android Development] CosmicDan:
Oh, in case anybody is wondering - Xposed works fine, and so does GravityBox for LP. In fact unlike stock KK firmware, everything I've tried so far in Gravitybox works (but YMMV, I don't use everything of course). Nice work Sony!

EDIT: QuickSettings tiles do not work, and I can find no alternative :( Still, this is my new daily.
[Xperia Z Android Development] comax70:
I have serajr lollipop work fine
[Xperia Z Android Development] CosmicDan:
Yes so do I, but it doesn't have anything which GravityBox LP can already do. It's only a matter of time before a stock-based ROM comes though, maybe eXistenZ :)
[Xperia Z Android Development] Nimadroid:
how to make this kernel

hi my friend

can you tell me how to make this kenel?

i want to make a kernel for z ultra
[Xperia Z Android Development] shoey63:
If you post the kernel.sin from the LP ftf here, I can do it for you if you like.

Otherwise, use flashtool to extract kernel.sin to kernel.elf, then extract kernel elf to ramdisk.cpio and zImage. And then swap them into an Omnirom boot.img using android image kitchen by Osm0sis.
[Xperia Z Android Development] TrueFriend-cz:
Where i can download stock LP rom for yuga?
[Xperia Z Android Development] shoey63:
Look in the "general " section.
[Xperia Z Android Development] Nimadroid:
TNX MAN FOR YOUR HELP

i can only decomperes kernel.sin

i can't recompile it back
[Xperia Z Android Development] shoey63:
Try this and let me know how it goes. Rename the attachment to boot.img and fastboot it.

View attachment 3328738
[Xperia Z Android Development] Nimadroid:
once again thanks man :D

i download it now

and try to hotboot by flashtool

can it breack my phone? :confused:
[Xperia Z Android Development] shoey63:
Nah, worst that can happen is it won't boot, in which case simply reflash original kernel.sin only with flashtool. (untick wipes and tick other partitions to exclude except kernel)

By the way you need to "select kernel to flash " not "hotboot" if using flashtool to flash a boot.img.
[Xperia Z Android Development] Nimadroid:
can i post it on z ulta Thread???
[Xperia Z Android Development] shoey63:
Sure. Test it first though, and tell them where you got it;)
[Xperia Z Android Development] Nimadroid:
i test it after deleting my locked boot duall recovry

and check twrp work fine or not

i will change boot logo also
[Xperia Z Android Development] shoey63:
Ok, just remember, bootloader must be unlocked before flashing.
[Xperia Z Android Development] Nimadroid:
tnx man

i know it:)
[Xperia Z Android Development] seijidinzuala:
The rooting part doesn't work for me., SU binary needs to be updated but I cannot update it. It fails. :(
[Xperia Z Android Development] shoey63:
Try http://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip, particularly if you have used kingroot.
[Xperia Z Android Development] zakitheracer:
Can this kernel be used for flashing Stock .454 ROM?
[Xperia Z Android Development] shoey63:
If you have an unlocked bootloader, you can fastboot the boot.img and flash whatever you like, including .454 roms (provided they are in .zip format) ;)
[Xperia Z Android Development] zakitheracer:
Yup that was my main question

Thanks [emoji16]
[Xperia Z Android Development] seijidinzuala:
Works perfect! Thank you. :angel:
[Xperia Z Android Development] Paduretu Ionut:
Can you make this with Nut's dual recovery? or at least with philz touch?
[Xperia Z Android Development] Panaroma:
to whom it may concern ^^

https://youtu.be/tZ7Wax1FEDs

Have a nice day and thanks for the Kernel! working awesome ;)
[Xperia Z Android Development] inbed247:
thank you

I flashed this using rashr. with the new update (thanks Sony),and root and xposed framework, my phone now feels complete!!
[Xperia Z Android Development] shoey63:
Will look into it later
[Xperia Z Android Development] shoey63:
[MENTION=5444833]Paduretu Ionut[/MENTION]

Try this. It has Philz recovery only. As usual, rename it boot.img and fastboot it, or use Rashr app:good:

Edit: It works, but backup to exfat sdcard is slow, need to add the texfat module :p

View attachment 3332558
[Xperia Z Android Development] Paduretu Ionut:
Thank you, kind sir!
[Xperia Z Android Development] LosserKlosser:
Accidently flashed the PhilZ one, without considering I was on LB. Softbricked my Z something bad :D
[Xperia Z Android Development] shoey63:
Nasty feeling isn't it? Way out is hard power off (power + volume up till three vibrations), then flash kernel only, without wipes using flashtool ;)
[Xperia Z Android Development] LosserKlosser:
Yeah, it sucked - but I kept my calm. But I was close to panic at one point :D

I did just that and luckily no data was lost.

Sendt fra min C6603 med Tapatalk
[Xperia Z Android Development] aum1080p:
GoodJob!

Very Easy! Thanks bro. :highfive:
[Xperia Z Android Development] shoey63:
Opening post updated to include Philz 6.59.0 (with texfat module added for fast backup to exfat formatted external sdcard)
[Xperia Z Android Development] Avatecer:
thanks mate, it works.

i'm waiting for cwm actually.. but thanks this helps a lot
[Xperia Z Android Development] shoey63:
Actually Philz IS cwm 6.0.5.1. Just with more features. Don't think I'll bother with the old deprecated version of cwm. Doesn't backup and restore properly on LP anyway.
[Xperia Z Android Development] LosserKlosser:
I'm not a dev so I have no clue how you do this magic - but I can't help but wonder why is it harder to make a kernel with recovery for locked bootloader than it is to make it for unlocked bootloader?

It seems that it is causing some headache for the devs here with the bootloop and all. I'm not pushing anyone for a solution but not being into programming and developing at all I don't get what the big difference is.

Would you care to explain just in broad terms?
[Xperia Z Android Development] shoey63:
Basically, with LB you can't modify the kernel at all, otherwise it won't boot, as it breaks Sony's signature verification. But with UB, there are no such restrictions, so you can do whatever you like to the ramdisk, etc.

Also LP has selinux enforcing, which makes it harder for LB Dev's to use their system hacks.
[Xperia Z Android Development] muphetz:
Its mean,,UB more safety than LB if you want try Amazing ROM out there,..:D,,
[Xperia Z Android Development] ak1984:
Only for unlocked bootloader? I have locked but worka fine!
[Xperia Z Android Development] deliler:
hi how can you do this?
[Xperia Z Android Development] ak1984:
I don't know. I flash the stock 10.6.A.0.454 HK. Flash over fastboot mode and this works...
[Xperia Z Android Development] deliler:
please send your android version and entering recovery screen capture bro many people waiting recovery for LB
[Xperia Z Android Development] kingvortex:
Are you sure your bootloader is locked? The bootloader won't even allow you to flash a boot image when it's locked. You will get a "Command not allowed" error.

Look in the service menu (enter *#*#7378423#*#* in the dialler and look Service info -> Configuration).
[Xperia Z Android Development] shoey63:
If you can enter recovery, then the flash worked meaning your bootloader is unlocked.

If you can't enter recovery, the flash failed (even though you may have thought it succeeded), due to bootloader being locked. See above post to check your bootloader status.
[Xperia Z Android Development] Aby2012:
Installed Philz recovery and it worked like a charm....thanks a lot my friend
[Xperia Z Android Development] Oxydeme:
Sir sir,

Isn't there a way to disable Sony's signature verif?

and a way to bypass the selinux enforcing?

How did dev do by the past with LBs?

As many others I'm currently waiting as I got a LB can can't unlock it ^^'
[Xperia Z Android Development] deliler:
hi bro my bl locked but whoover install xzdualrecovery It has encountered a bootloop problem. which version you used? pls give me a link and and screens thanks
[Xperia Z Android Development] Oxydeme:
A

Bro if you use XZDualR with LB and LP it's normal your bootloop;

XZDualRecov or TWR or CWM isn't actually ready or working for LP unfortunately :/

Only recov for UB is currently working on LP

Try repairing your phone or reflash something via Flashtool,

If you wanna flash LP via recov, do it on KK, I used a recov on KK in order to flash a LP rom (Rajeev thanks again for the rom)

As I said, Recov for LB on LP isn't yet ready, Devs are working hard to resolve it right now
[Xperia Z Android Development] comax70:
Is possible make zip flash for this?
[Xperia Z Android Development] comax70:
Shure don t have problem for restore backup maybe twrp have problem sd internal after restore
[Xperia Z Android Development] shoey63:
Yes, but how would you flash it without first using fastboot to flash a boot.img with recovery?
[Xperia Z Android Development] shoey63:
I always backup to external sd card, but backup /restore to internal shouldn't be a problem. Just be sure not to fully wipe internal memory beforehand .
[Xperia Z Android Development] deliler:
hi thank you for answer. im currently LB 4.4.4 kitkat with rooted rom. i dont want BL unlocking because drm keys removed and camera is bad capture. im searching LB with recovery :( i never unlock BL before but i wanna install Lollipop rom with recovery :(
[Xperia Z Android Development] shoey63:
Guys, this thread is about stock kernel plus recovery for UB. I have no plans to develop recovery for LB. That is being done by [NUT]. Please post your LB recovery questions in the appropriate thread.

This one, for example http://xdaforums.com/showthread.php?p=40977606

Or start a thread in Q&A.

Thank you.
[Xperia Z Android Development] LosserKlosser:
Philz won't read my 64 GB SD card. Is there a size limit on Philz? TWRP works just fine.

Sendt fra min C6603 med Tapatalk
[Xperia Z Android Development] fjvaz1995:
Recovery for Xperia ZL(C6502)

Can u make this recovery work for xperia zl

i have tried a lot with recoveries for the zl but no success

You can tell me if u need any files

I'll be there to help

Thank You in advance

Keep up the good work
[Xperia Z Android Development] shoey63:
I don't own a 64 bit SD card so I can't test. Can't mount or invisible? Try reformat to Exfat.
[Xperia Z Android Development] shoey63:
I will need to look at the kernel.sin. Post it here and I will see if it's possible
[Xperia Z Android Development] LosserKlosser:
Can't mount.

I will try to reformat to exFat but first I need to make a backup of it. I will report back.

BTW, the problem is there in Nuts dual recovery as well.

Sendt fra min C6603 med Tapatalk
[Xperia Z Android Development] fjvaz1995:
Here are the files u asked for

https://drive.google.com/file/d/0B-ZeCznMEwqUWmxLd293NVhmbmM/view?usp=sharing
[Xperia Z Android Development] LosserKlosser:
It seemed that a re-format of the sd-card in windows to exFat made it possible for PhilZ to read the card. Which is strange because I used PhilZ to format the card in exFat when I first got it. However, I'm on PhilZ now - I feel more at home here, thank you very much for your work.
[Xperia Z Android Development] shoey63:
Yes, thats what I need. You prefer TWRP or Philz?
[Xperia Z Android Development] fjvaz1995:
TWRP
[Xperia Z Android Development] shoey63:
Ok, here you go. Multirom TWRP for you (had issues compiling regular one). Should still do the job though. Rename it to boot.img, flash it, and let me know how it goes :good:

View attachment OdinUBboot.img.apk
[Xperia Z Android Development] shoey63:
[MENTION=5111503]Nimadroid[/MENTION]

Try this one. I think I fixed it. Rename to boot.img and flash it. (Test first if you plan to release it)

View attachment 3350824
[Xperia Z Android Development] fjvaz1995:
Thnx bro u are just awesome

The recovery works and the phone boots up really well

Thanx a lot.

I havent tried all the option's in the recovery ,but i bet they will work.

Any issues i'll let u know.

Also can u plz post this recovery in the xperia ZL forum

Ppl will be more than happy to hear abt it

Thank You again :fingers-crossed::good:
[Xperia Z Android Development] shoey63:
That's ok. Happy to help. Just ignore the multirom options for now. Stock kernel doesn't support it. Backup and restore should work fine though :)
[Xperia Z Android Development] Nimadroid:
yesssss

tnx a lot again man

i test it soon :D :o :) ;)
[Xperia Z Android Development] galaxyvn:
Would you please give me md5 checksum of these .img files? I have bad internet connection. Thank you :D
[Xperia Z Android Development] shoey63:
boot.img.apk (TWRP) 6d9f2ab382b3a28ec7b8ac656a675acd

Philzboot.img.apk afe05687157578038e81c0b57b50f186

Save, rename to boot.img and flash.
[Xperia Z Android Development] adize:
I wonder if this kernel will work on Xperia ZR
[Xperia Z Android Development] shoey63:
Post the kernel.sin from the LP ftf and I'll see if I can make one.
[Xperia Z Android Development] adize:
Thank you so much. I'll post it ASAP.
[Xperia Z Android Development] adize:
I just extracted the kernel.sin from lollipop ftf using WinRAR. Is that okay or there is a proper way of extracting it?

anyway, here it is. Just remove the .apk extension :)
[Xperia Z Android Development] shoey63:
Ok. I'll see what I can do with it :thumbup:
[Xperia Z Android Development] shoey63:
Flashable zip for Xperia Z (Yuga) here.

View attachment twrp.zip
[Xperia Z Android Development] shoey63:
[MENTION=5685487]adize[/MENTION]

Try this for Xperia ZR (Dogo). Usual deal. re-name to boot.img and flash it. Let me know if it works.

View attachment dogotwrp.img.apk
[Xperia Z Android Development] shoey63:
[MENTION=5111503]Nimadroid[/MENTION]

Here's another one for you to test for Xperia ZU (Togari). Let me know if it fixes read only system issue.

As per usual, rename to boot.img and flash.

View attachment 3362249
[Xperia Z Android Development] Nimadroid:
Hi my friend

Tnx for your work

OK I test and I tell you :D
[Xperia Z Android Development] demon2112:
Wauw this is confusing...

Which one is for our Z and wich for.ZR?

I need a .zip for my Z with multi rom wich one doe i need? Hahaha
[Xperia Z Android Development] adize:
AWESOMENESS OVERLOAD. :D

It worked!! Thanks man! [MENTION=4675598]shoey63[/MENTION]
[Xperia Z Android Development] Rajeev:
Why confusing dude ? Both boot.img from OP download is for Xperia Z only.. And are u sure this kernel will support multi rom?
[Xperia Z Android Development] shoey63:
Flashable zip in this post.

http://xdaforums.com/showthread.php?p=61333304

Can't be used for primary rom though. Kecec patch not included yet.
[Xperia Z Android Development] demon2112:
[MENTION=4970751]Rajeev[/MENTION]

I know there is no kexec butt wanna "restock" to your rom to confirm or unconfirm zombie kernel video breakness hahahah
[Xperia Z Android Development] kingvortex:
Seriously, you need to stop blaming that kernel for every issue you're having with a custom rom. So far you've asked about the wrong model number being displayed, apps being shown as incompatible in the Play Store and video playback being broken, all with zero logs provided in a development thread.

Now you're mentioning these "issues" in a totally unrelated thread. Nobody else is having those issues with that kernel. Please stop. Thanks.
[Xperia Z Android Development] demon2112:
Deleted
[Xperia Z Android Development] kingvortex:
This is off topic in here, so this will be the last time I respond to you on this as it's disrespectful to shoey63 to fill his thread with off topic stuff.

Nobody else, including others using the same rom as you, are having that problem with that kernel. You can't keep immediately assuming every issue with a custom rom is kernel related, especially when the rom isn't even stable yet as evidenced by the bug fix releases being pushed out daily (no bad thing, but it means don't blame other factors for problems).

Also, please try and keep a respectful tone. This is a development site, not a free for all on Facebook. Thanks. :)
[Xperia Z Android Development] demon2112:
Indeed resprect....to this thread you disrespected it by bringing your frustration is here, i apoligize i didnt had my koffie yet,

And if i had a question,im asking it,just like everyone else
[Xperia Z Android Development] comax70:
Is possible have kernel recovery philips touch flashable?

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Android Development] Rajeev:
Philips? Its PhilZ dude ;)
[Xperia Z Android Development] comax70:
Philips??? Nooo hahaaaa[emoji13]

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Android Development] shoey63:
Philz, Philip's, PhilZ flashable zip will be uploaded later;)
[Xperia Z Android Development] Rajeev:
I like that.. :D
[Xperia Z Android Development] Nimadroid:
tnx my friend i test soon and feedback As per usual :good: :D
[Xperia Z Android Development] shoey63:
FLASHABLE ZIPS

TWRP 2.8.7.0

PhilZ 6.59.0
[Xperia Z Android Development] pxrave:
could you add tap 2 wake to your kernel? ;) because its like stock but locked in standard
[Xperia Z Android Development] shoey63:
Well, the screen supports it, but not the stock kernel. I will need to build the kernel from scratch and cherry-pick the dt2w commit. Then it's no longer a pure stock kernel, which is the purpose of this thread. I will build one later, but meanwhile you could flash zombie kernel, which has it implemented.

You can get it here http://xdaforums.com/showthread.php?p=61142688
[Xperia Z Android Development] iffiscb:
Not working on c6603 rooted with kingroot

I flashed the boot.img (philzboot) via flashtool (fastboot) it returned the error command not allowed and phone stuck in reboots, finally reflashed the stock rom to clear the mess.
[Xperia Z Android Development] kingvortex:
Is your bootloader unlocked? "Command not allowed" suggests that it's locked.
[Xperia Z Android Development] iffiscb:
That's the problem, my apologies, yes the bootloader is locked, well I'll unlock it and try again.

One thing morr when boot.img has been provided that would install the kernel and recovery both then why shared the recovery zip too? Only flashing the boot.img isn't enough to get the recovery?
[Xperia Z Android Development] kingvortex:
The zips are simply for people that already have a custom recovery. :)
[Xperia Z Android Development] shoey63:
^^

Correct. But if flashing for the first time, and wanting the latest recovery, simply extract the boot.img from the zip and flash it ;)
[Xperia Z Android Development] Door 555:
Thanks.
[Xperia Z Android Development] agha_jo0n:
Hi [MENTION=4675598]shoey63[/MENTION]

Can you please provide this kernel for xperia z1 build. 270!?

( i mean advance kernel with recovery)

Thank you
[Xperia Z Android Development] shoey63:
Provide kernel.sin and I will see what I can do
[Xperia Z Android Development] agha_jo0n:
Here you are

http://d-h.st/ArW8

Thank you so much

If possible and exist please give a instruction for this,if not, not problem

Thank you again
[Xperia Z Android Development] shoey63:
Ok, you need:-

*kernel.sin

*ramdisk-recovery.cpio

(Get recovery.twrp.cpio.lzma out of installer zip from http://nut.xperia-files.com/ for your device. Extract to recovery.twrp.cpio and rename to ramdisk-recovery.cpio.)

*Flashtool

*Android Image Kitchen

*A custom boot.img for your device.

What you need to do:-

*Use AIK to unpack the boot.img

*Use flashtool to extract the kernel.sin to kernel.elf. Then use flashtool to unpack kernel.elf. The 2 files you need are kernel.elf.Image (rename to boot.img-zImage) and kernel.elf.ramdisk.gz (extract to kernel.elf.ramdisk and rename to ramdisk.cpio)

*Your splitted boot.img in AIK will be 2 folders. ramdisk and split_img. Substitute boot.img-zImage in the split_img folder with the one you prepared in the previous step.

*Now substitute the ramdisk-recovery.cpio in ramdisk/sbin with the one you prepared earlier.

*Do the same with ramdisk.cpio in ramdisk/sbin.

*Repack.

*Fastboot flash boot image-new.img

*Done

Edit: See if this works View attachment ZL270.img.apk

Edit 2: It's for Z1 (Honami) Rename it to boot.img and flash it.
[Xperia Z Android Development] agha_jo0n:
[MENTION=4675598]shoey63[/MENTION]

Thank you in advance,i will try and report back

Thank you again
[Xperia Z Android Development] agha_jo0n:
Worked like charm on z1, i flash rockz1rom without any problem,thank you so much [MENTION=4675598]shoey63[/MENTION]
[Xperia Z Android Development] ryanstephney:
Do I flash with flashtools?
[Xperia Z Android Development] agha_jo0n:
You can do it,both files for flash with fastboot,or flash zip with recovery provided,read the FIRST post
[Xperia Z Android Development] shoey63:
Advanced Stock Kernel boot.img with TWRP 2.8.7.0 recovery (unlocked bootloaders only) for 10.7.A.0.222 can be downloaded from here https://www.androidfilehost.com/?fid=24052804347811669

Just fastboot it;)
[Xperia Z Android Development] ahmadzxc:
ok thanks for the kernel

but what about root ?

only flash super su ??

or i have to do any thing else?
[Xperia Z Android Development] shoey63:
To root, download Chainfires latest flashable zip from Here.

Then reboot and press press volume up when blue LED turns on to enter TWRP recovery, and flash the zip from the stored location.

Edit: in TWRP "mount " menu, make sure system read only box in bottom left corner is not ticked.
[Xperia Z Android Development] xkeita:
TWRP for Xperia ZL 5.1.1? :D :fingers-crossed:
[Xperia Z Android Development] shoey63:
Sure. I started a new thread for ZL

Check it out and report there if it works :fingers-crossed:
[Xperia Z Android Development] neildalal:
Please can you make one for XZR also. It would make things way easier......

Updated to 5.1.1 last week but still unrooted....

You could download the kernel from this post

http://xdaforums.com/xperia-zr/general/flashable-xperia-zr-5502-lollipop-5-1-1-t3199917

Thanks in advance :)
[Xperia Z Android Development] shoey63:
Alright, I'll see what I can do
[Xperia Z Android Development] shoey63:
ZERO omnirom love for your device! (I need it to make TWRP)

I'll try and make a device tree tomorrow, and give you something to test :)
[Xperia Z Android Development] neildalal:
Ok great ?
[Xperia Z Android Development] shoey63:
Build is up. New thread Here

Please test and report if working:fingers-crossed: