yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] Snp Mania2:
sorry bro [MENTION=4300205]olokos[/MENTION]

btw if you have some good time, we will waiting for you to support custom kernel for [MENTION=4311238]SuperLamic[/MENTION] ROM which already huge update.. hehehe

thanks as always for your hard work :) :) :)
[Xperia Z1 Android Development] olokos:
Thank you guys for all the journey we've had together. I got a Samsung Galaxy S8+ now and I will develop for that in the nearest future. It made me sad that something I worked on for 11 hours each day for 2 days only got used by 40 people and just 3 reached out to me. My phone is slowly ending its life with eMMC wear going bad and it's just simply time to move on.

Thanks to everybody, I hope to see you on S8+ forums guys, cheers! :)
[Xperia Z1 Android Development] andron k:
Thank for you work!
[Xperia Z1 Android Development] BlackSoulxxx:
Ah too bad, im just getting started to rebuild stuffs for honami :p:p Same as you, i got my S8+ and XZP and had no plan for giving my head back. But my Z1 refuses to die :silly::silly:

Well, looks like Im the only one that make kernel for stock ROM Z1...
[Xperia Z1 Android Development] olokos:
I still hate the fact that you cloned all of my git code, including my custom build script along with my own idea of rebuilding ramdisk on every build, threw tons of patches on top of it and called it yours without even mentioning that you actually used my kernel as a base... Not to mention even asking me for permission, which would be a nice thing to do, you know.

I could've just made that guide about unlocking bands not crediting anybody but myself, even tho it was your work, thats what you did basically and it's still quite hard to understand for me...
[Xperia Z1 Android Development] BlackSoulxxx:
Yeah, I was stupid back then. But now I dont :silly::silly:
[Xperia Z1 Android Development] ArchEnemy':
Thank You

Thanks for everything you have done for our Honami devices. take care captain~ o7
[Xperia Z1 Android Development] Snp Mania2:
All your hard work is worth more for us, seeing how old this device is and can look dashing thanks to your expertise, you're one of the most friendly developers to us as users, we greatly respect your decision and it's hard to see one big developer like you choose To leave this great device. Hopefully we get someone who can continue the kernel developers in the future.. Thanks so much man, god bless u, bye :crying::crying::good:
[Xperia Z1 Android Development] olokos:
Thanks a lot man, this means a lot to me. <3
[Xperia Z1 Android Development] Snp Mania2:
you still really want to make this Z1 perform's great, give us another update that maybe the last.. Thanks man! Is very touched for me ahahaha.. :crying: :)
[Xperia Z1 Android Development] olokos:
I promised SuperLamic that I will get my kernel to work with his ROM. It already boots, but there's no Wifi or reception. I'm working on it right now, I want to get it fully working, so it will be the final push. :)
[Xperia Z1 Android Development] Animeshkr.:
Thnku for the support
[Xperia Z1 Android Development] Snp Mania2:
Wow amazing finally, just waiting for completly working.., ahh I can't really say a word of separation to let you go, very heavy and very forced to say the word of separationing.But thanks for all your support so far till now,u still amazing.. :crying:

If possible, i hope you always support us with this device from behind, keep monitor here..So like a your name is always there as Special kind of HERO :highfive::good:
[Xperia Z1 Android Development] TheDeamonGamer:
Do you mean that you want to make it compatible with this rom? https://xdaforums.com/xperia-z1/development/rom-lineageos-14-1-unofficial-t3628209
[Xperia Z1 Android Development] olokos:
Thanks man. Well, I must say that I am considering using my S8+ as a daily driver and Z1 as a development device purely. Your words are awesome, one of the best I've got on xda. <3

Yes, certainly. I am working with SuperLamic directly. :)
[Xperia Z1 Android Development] DarksTor:
Very2 thank you.. For all ur hard work for support this old z1, I cannot say anything except it, now we are just waiting [MENTION=4311238]SuperLamic[/MENTION] awaken his device that having broken
[Xperia Z1 Android Development] Snp Mania2:
Yeah Exactly, you know that's my wish Man.. Big Thanks! I can't be patient for yours best work in future, keep on here with YOUR Z1.. :fingers-crossed:
[Xperia Z1 Android Development] olokos:
I appreciate it man, thank you, hopefully it will be done this month.
[Xperia Z1 Android Development] olokos:
Finally a version for SuperLamic's ROM!

RIL might not work, that means all calling functionalities, but it might be good for other developers, I havent done anything in RIL yet

Apart from that, I expect everything to work perfectly.

[MENTION=4675360]tomascus[/MENTION] maybe you could take a look at what's wrong there?

Of course it's not .apk, you need to rename it to boot.img
[Xperia Z1 Android Development] tomascus:
Sounds like a job for [MENTION=4311238]SuperLamic[/MENTION] :laugh:
[Xperia Z1 Android Development] Snp Mania2:
Woah.. You did it man..

with something new "Software CRC Control" which i dont knowing yet, what is that hehe.. Well,the kernel very special thats booting in Nougat

-Simcard is gone

-in sound control for headphone gain left/right set '20' when the music play next song he is back to '0' cannot holding the set value.

-Camera seems not fully working good, in night room touch focus have a flash lights on,if so will can't take a picture.. Also camera can't take a photos.. just a stand still after press cam button or taping button!

-While thats all..

Overall the kernel performance is good, don't care for battery consuming its depends a lot, always believe as long as you stay here all will be allright!

Thanks man [MENTION=4300205]olokos[/MENTION] for your hard work :)
[Xperia Z1 Android Development] olokos:
I've been working closely with [MENTION=4311238]SuperLamic[/MENTION] on that. I can try to look into camera and soundcontrol but we need to get RIL working first, so that simcard would work fine. I'll see what I can do, but any help on that matter would be awesome.
[Xperia Z1 Android Development] Mr saxobeat:
The kernel supports KCAL?
[Xperia Z1 Android Development] olokos:
I did implement it ages ago, I've heard it's buggy for some, but worked perfectly fine for me.
[Xperia Z1 Android Development] Mr saxobeat:
Any news about RIL working in the new kernel? :D
[Xperia Z1 Android Development] olokos:
I'm still kind of working on that. I was slowly losing hope as nobody who I contacted could/wanted to help and I could not figure it out by myself.

I contacted [MENTION=4120742]munjeni[/MENTION] as he got RIL working in stock though and it's highly possible that with a bit of his help I'll get it done. Just as I was losing all the hope.

BTW. I still can't push myself over tripping Knox on s8+, so if university won't crush me, then I might continue development. If I get RIL done, that is.

I'm basically balancing between hope on RIL, creating apps and tripping Knox to bring some awesome stuff to S8+.
[Xperia Z1 Android Development] Mr saxobeat:
Lucky S8+ users..

I hope University won't crush you :D

As soon as you provide a new kernel i will test it on Carbon rom (btw did you try it? It's an awesome rom by [MENTION=5258151]drakonizer[/MENTION] did you build it to only boot with lineage or it can boot on other naogut roms?

Good job, and NEVER lose hope :D
[Xperia Z1 Android Development] solved:
"no mirrors" for 8.3 on afh?

yeah okay, seems to be a problem with afh .. damn
[Xperia Z1 Android Development] olokos:
It has knox tho, so I'm afraid to unlock it yet. I didn't even know there's a rom that works well other than lineage. It's highly possible that if my kernel works on lineage then it might work on carbon aswell. Never tried it myself though. Didn't expect any other nougat to pop up for Z1.

Never had this problem with afh, so I'm surprised you did. I get 4 different mirrors on AFH right now.
[Xperia Z1 Android Development] Ohhdayumm:
It seems like this kernel is not working with mxrom I'm gonna have to change my rom to test this since I'm running mxrom
[Xperia Z1 Android Development] Ohhdayumm:
hey man you have a issue with CPU being locked at 1881mhz cause mine is and I cant change govenors or CPU mhz
[Xperia Z1 Android Development] Cresqo:
The bootlooping issue should be because you disabled sony RIC
[Xperia Z1 Android Development] olokos:
I got them. Sorry for the late response, but I've had a hell of a night. I'll see them now.

Not really buddy. Just use kernel adiutor.

Thanks for the heads up. That might make sense. I'll compile a RIC enabled kernel. Pretty weird that a romrom would bootloop if RIC is disabled in kernel, but well, worth a try.
[Xperia Z1 Android Development] olokos:
I asked some more experienced people. Disabling RIC has nothing to do with bootloop. If somebody gets a bootloop, could you then flash a new kernel and give me Last_kmsg log? That way I could check what could've possibly gone wrong on your device.

If you still want to try RIC Enabled kernel then Here it is with RIC Enabled
[Xperia Z1 Android Development] dhana999:
thanks now booting my c6903 :D
[Xperia Z1 Android Development] dhana999:
Sorry bro it's a mistake
[Xperia Z1 Android Development] olokos:
Well, I'd say it sounds at least fishy. You might have something wrong as Emma should really detect your phone with correct drivers. Please see my post before and provide me with last_kmsg. Check the boot.img hashes. It's quite possible that you got a corrupt download.

So my kernel works for you, right? Did you download the regular one or ric enabled one? Did it work for you before? If it did not then what have you changed to get it working for you?

It's all very weird as for me the kernel works everytime and I haven't had a single boot issue, even during development.
[Xperia Z1 Android Development] Ohhdayumm:
Its working right now and im not sure which version im using lol I just clicked the download in the first post and used it. BTW using dstrickerz1 ROM :)
[Xperia Z1 Android Development] olokos:
Glad to hear it. First post contains the latest ric disabled version, thus the one you want ?
[Xperia Z1 Android Development] Ohhdayumm:
The kernel is working fine but the only battery drain is from this powermanagerservice.display it keepsy phone from sleeping do you have any idea of what this is?
[Xperia Z1 Android Development] olokos:
Wiped
[Xperia Z1 Android Development] olokos:
I did investigate powermanager.display wakelock. It's meant to be there. It's there exactly as long as your screen is on.

That's my battery life going on right as I'm writing this post. Looks pretty neat to me. http://imgur.com/a/PrIKs

https://m.reddit.com/r/nexus6/comments/2xa1em/powermanagerservicewakelocksdisplay_what_are_they/

This looks pretty darn good especially since I couldn't get this level of battery life ever before on my Z1. Can't wait to get more reports. My kernel settings are in the second post. BTW. I changed kernel compression to XZ instead of lzma or gzip so kernel size dropped by 2 megabytes. I will implement intelliplug before the next kernel release.

Stay tuned ��

PS. I'll also do my best to update kernel to the .236 source before V5 release.
[Xperia Z1 Android Development] Farsiris:
Its Only For Unlocked Bootloader? Or can I use this on my Z1 running MX Rom 7.8 and with locked Bootloader?
[Xperia Z1 Android Development] tomascus:
all custom kernels require unlocked bootloader, so unfortunately you can't use this :(
[Xperia Z1 Android Development] DavideSony:
sorry guys, i don't understand... the kernel not work with the rom i'm actually using in my z1 ( mx rom ). When there is the new version? ps sorry for my bad english
[Xperia Z1 Android Development] [Fenix]:
[MENTION=4300205]olokos[/MENTION]

Tried your kernel with RockZ1 rom and also with stock (.236) and it boot :victory:

Now i'm configuring it. Keep up the good work bro, hope to see new version coming up :highfive: :good:
[Xperia Z1 Android Development] dhana999:
Yes I'm downloaded ric enabled kernel and it's boot smoothly no bootloop
[Xperia Z1 Android Development] Nemeziz 56th:
The first one kernel, why I have now a reason to open my bootloader.

Im on 5.1 Stock.

But I don't will lost the Sony software (Lowlight improvement,Screen Enhanced)

Can someone give me a fix, so that I don't lose the features?
[Xperia Z1 Android Development] olokos:
Glad to hear it works well. To anybody that gets a bootloop:

1. Flash my kernel

2. Get it to bootloop

3. At the moment it gets stuck or anything hold power up and power, phone will shutdown and vibrate.

4. Flash any other kernel. Could be even stock.

5. Boot to system

6. Get last_kmsg log and upload it here.

To get last_kmsg log on your device you need to :

Open terminal app

Enter "su" to get root privileges

Enter "cat /proc/last_kmsg > /sdcard/last_kmsg.txt" to save current log.

Close terminal app.

To save last_kmsg log with adb shell you need to run "adb shell cat /proc/last_kmsg > /path/where/save/last_kmsg.txt" from command line on your pc. You can of course just move it from internal phone memory anywhere else.
[Xperia Z1 Android Development] jonke11:
When we will have v5? Waiting because I want better battery life on MX ROM...
[Xperia Z1 Android Development] DavideSony:
how much screen on time you can do with mx rom and this kernel?
[Xperia Z1 Android Development] jonke11:
I didn't tested this kernel, because I've read that it's not working with mx rom, so Iam waiting for more approvals about this kernel and mx rom.

By the way, it's my battery stats with advanced kernel

Sorry for reddish screen, I use twilight, it's better for eyes when Iam using my phone at night
[Xperia Z1 Android Development] DavideSony:
About hours of screen on time?
[Xperia Z1 Android Development] jonke11:
Ow sorry. About 3 hours, not a lot ?
[Xperia Z1 Android Development] DavideSony:
ok,thanks. Good results
[Xperia Z1 Android Development] olokos:
Here's my battery life.

http://m.imgur.com/a/PrIKs

If you want it working on mx rom then send me that last_kmsg log. I've posted how to do that a page or two back. I never tried any custom rom with my kernel, but I've got reports it works great with rockz1 rom

If you want mx rom working with my kernel, get me last_kmsg.. I'm not interested in mx rom and I definitely will not get rid of my current rom just to get the log that you guys can easily get by yourself, for me to fix it. All further posts "mx rom no work" will be ignored from now on until anybody gets me logs. This might very well be caused by dirty hacks in mx rom, completely irrelevant to my kernel.
[Xperia Z1 Android Development] olokos:
New kernel version released! Enjoy! :D
[Xperia Z1 Android Development] vipkumar90:
Wow something worth to try on z1
[Xperia Z1 Android Development] arvinaquio:
good day mates, I am curious about this custom kernel and I want to try flashing it but unfortunately, I am new to flashing kernel. May I ask somebody to post steps on how to flash it. I am aware and familiar that I need to unlock my bootloader. I'll be glad for the help! Thank you..
[Xperia Z1 Android Development] vipkumar90:
Not working on stock rom.....didn't even start after flashing this....dnt knw if I had done something wrong...can anybody assures if this working on stock or not????
[Xperia Z1 Android Development] arvinaquio:
Did you unlock your bootloader before flashing it?
[Xperia Z1 Android Development] BlackSoulxxx:
Nice [MENTION=4300205]olokos[/MENTION]

F2FS supported?

Will try it on MX ROM, dont know if it works. And building a version with UberTC 6 (just for fun) :)
[Xperia Z1 Android Development] olokos:
Lol. That's really weird. I'll flash completely stock rom when I get back home and fix it.

There's no f2fs yet, but I'll add it at some point.
[Xperia Z1 Android Development] vipkumar90:
Thanks hope u will fix the issue asap...we will w8
[Xperia Z1 Android Development] arvinaquio:
mates, I am new to custom kernels, I flashed this alongside .236 stock firmware. After flashing nothing changes or any additional kernel manager or kernel menu for setting preferences. Do I still need to download such things to utilized the stated features of the custom kernel? thanks in advance for you help.
[Xperia Z1 Android Development] tomascus:
Unrelated but I think prima module gives compile errors with gcc6, good luck though. Also gotta fix up some other code for it to even compile with gcc5 and gcc6.

---------- Post added at 07:21 PM ---------- Previous post was at 07:20 PM ----------

You have his custom boot logo showing at boot right? If you download Kernel Auditor you should see the new features.
[Xperia Z1 Android Development] arvinaquio:
---------- Post added at 07:21 PM ---------- Previous post was at 07:20 PM ----------

Yes mate, I'm done for everything and enjoying the kernel. I read researches and like what you advised, I figured out that I need to install the Kernel Auditor app. anyway, thank you for your informative response. At least I'm now familiar on how custom kernel works. Once it drains the current charge, I'll monitor the battery consumption if it works nicely with dStriker SP001 ROM.

By the way, may I ask how this kernel comparable to dooms?
[Xperia Z1 Android Development] tomascus:
Doom's kernel isn't for lollipop :P just read the features list and compare, or compare their github repos if you really really want to know the differences.
[Xperia Z1 Android Development] vipkumar90:
Any news on update and fix for stock!!!
[Xperia Z1 Android Development] olokos:
It works perfectly fine with stock 14.6.A.1.236 firmware. I flashed it specifically just to make sure. It bootloops with MX Rom. I'll see what can be done there.
[Xperia Z1 Android Development] nemesisexsp:
I can confirm this! Working great with stock ROM.
[Xperia Z1 Android Development] arvinaquio:
Yes it works nicely on stock .236 firmware. Please investigate regarding bootloops with MX ROM. Currently running with dStrikers SP001 and it plays great with a lot of battery steroids. lol!

Thank you for your great kernel sir!
[Xperia Z1 Android Development] Ohhdayumm:
Hello one question i see you have added new features in v5 will those be in v4 too cause i am still using (.368 )?
[Xperia Z1 Android Development] GudduAmbi052829:
How will it work on RockZ1LP ?
[Xperia Z1 Android Development] olokos:
V5 = v4 + v5 features

V4 =v4 features

There's no reason to flash v4. V5 is much better. I just left v4 so I could easily access every version if my kernel when opening this thread. I think if v4 worked then v5 should also work. At least I'm using .216 rom (modified to my needs) and it works well with v5.

It should work fine as it works good on dstrikers,but you tell me. You can always flash back stock kernel at any time. I think only mx rom has some weird hacks.
[Xperia Z1 Android Development] GudduAmbi052829:
testing it currently

will let you know about its compatibility with RockZ1LP

:) thanks dev
[Xperia Z1 Android Development] nemesisexsp:
Please share more info. What ROM are you using? What's the firmware version? Are you sure your bootloader is unlocked?
[Xperia Z1 Android Development] Ohhdayumm:
So would the only way to use the new v5 is to flash stock (.236)?
[Xperia Z1 Android Development] tomascus:
[MENTION=4300205]olokos[/MENTION], think I found the issue, looks like wp_xperia_mod crashing on bootup.

<6>[ 8.047226] wp_xperia_mod: Defeat system write protect version 0.1
<6>[ 8.047239] wp_xperia_mod: by flar2 / MohammadAG
<6>[ 8.063063] Hooking function 0xbf008000 with 0xbf008000
<1>[ 8.063077] Unable to handle kernel paging request at virtual address bf008000
<1>[ 8.063087] pgd = c4bec000
<1>[ 8.063093] [bf008000] *pgd=04b89811, *pte=04a8f4df, *ppte=04a8f65e
<0>[ 8.063111] Internal error: Oops: 80f [#1] PREEMPT SMP ARM
<4>[ 8.063119] Modules linked in: wp_mod(O+) byeselinux(O)
<4>[ 8.063135] CPU: 2 Tainted: G W O (3.4.0-OK_Kernel_v5-g11a8170 #103)
<4>[ 8.063148] PC is at mem_text_write_kernel_word+0x28/0x48
<4>[ 8.063157] LR is at mem_text_write_kernel_word+0x1c/0x48

Maybe try rebuild module here https://github.com/balika011/wp_mod ??

Seriously guys, messages like "it doesn't boot" does not help at all.

Also, why are you using super old toolchain gcc version 4.7.4 (crosstool-NG linaro-1.13.1+bzr2694 - Linaro GCC 2014.06 - Cortex-A15 ?

O.O
[Xperia Z1 Android Development] olokos:
Thanks a lot mate although there's nothing like wp mod or byeselinux in my kernel at all. I simply disabled ric in defconfig without any hacks. I think there's some problem when you already have those modules in your system and then those modules try to disable something that doesn't exist. I'm not sure how to go around that... Enabling RIC isn't a good idea I think.

I'm using this old toolchain as it's pretty snappy and stable like hell. I haven't had a single kernel panic since first build.
[Xperia Z1 Android Development] tomascus:
Haha yea I was gonna mention that, should probably add it as a heads up for those who used the dual recovery tool which automatically installs those modules incase you get bombarded with "it doesn't work" thousands more times :p
[Xperia Z1 Android Development] olokos:
Do you have any idea where these modules are getting installed to? /system/lib? I could just create a zip for people to install in case of a bootloop/crash on boot.
[Xperia Z1 Android Development] tomascus:
system/lib/modules

Just also need a way to restore, because if they stop using your kernel, recovery access will probably stop working.
[Xperia Z1 Android Development] olokos:
Well, a way to restore would be flashing xzdr recovery again. There's no point having those libs if on unlocked bootloader anyway.
[Xperia Z1 Android Development] arjun5463:
Sounds awesome Anyway you could make one for z1 compact amami too bro
[Xperia Z1 Android Development] 15israellai:
My first reaction seeing the boot image: are you f**king kidding with me -_- but thanks man! so far so good. will return for more details and results - can't really judge right now since my phone is basically blank (just unlocked bootloader).
[Xperia Z1 Android Development] olokos:
I could, but it would be a blind try. I wouldn't be sure if it'll boot or what would work and what wouldn't since I don't own the amami.

That bootimage represents my face when I started building the kernel and I had all sorts of problems + I had a terrible buildscript, so I had to repack stock boot.img with my kernel image every new build. :rolleyes: It's all good now. Just a few keystrokes and my kernel is built and booting within 2 minutes. :victory:

On the other hand I simply don't really have any idea for a bootimage, if you have some graphics skills then contact me. :)
[Xperia Z1 Android Development] T/-_j@$:
phn doesnt boot on rockz1LP rom !!

when i press and hold power button to start the phn , phn vibrates and that's it nothing happens !!
[Xperia Z1 Android Development] GudduAmbi052829:
its working absolutely fine with rockz1lp
[Xperia Z1 Android Development] T/-_j@$:
can you tell me how you flashed ?
[Xperia Z1 Android Development] olokos:
Please check previous posts. There are some xzdr recovery for LB leftovers that propably stop it from booting as it's trying to disable ric which isn't even enabled, few posts back there are exact files mentioned that have to be deleted.

TWRP 3.0.0.0 RELEASED!

Guess what? I had to try it! :D

http://d-h.st/Oa3X

You can try it too, just download the new kernel above and flash it as usual! :)

It's not yet multirom TWRP, but it is fully working TWRP 3.0.0.0. Am I the first in the Z1 section with kernel that has TWRP 3.0.0.0?

I hope to add double tap to wake with deep sleep and f2fs, but that will take time :P
[Xperia Z1 Android Development] GudduAmbi052829:
when will the next update come ?

and yup, with a sony boot image :)