yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Android Development] Verbato:
AndroPlus, if I may?

Could you please add this genfstab to /sbin in ramdisk.cpio? And remove the fstab.qcom from there? (Yes, it generates a proper fstab, hence the name - also, it's filesystem-independant, so if say /system is formatted as ext4, ext3, ext2 or f2fs, doesn't matter, genfstab makes a proper fstab to fit the filesystem automagically)

If you do, please add "exec /sbin/genfstab.rhine" to init.target.rc (between the lines "start fsckwait" and "mount_all fstab.qcom").

And boy do you spit out kernels fast right now! :P

I can mount /cache as f2fs just fine. No problemo.

I can mount /system as f2fs with a minor hiccup: it randomly reboots from time to time. (turns out the dt.img didn't work for later kernels, building the kernel my self made everything work just fine, apart from...)

I can not mount /data as f2fs. It just won't boot if I format /data as f2fs. Don't know why. Have tried a bunch of options.

Domo arigato! :D
[Xperia Z3 Android Development] Flava0ne:
How come in the last few versions the max overclock frequency was slightly reduced? Is it because of stability issues? Would it be possible to maybe bring it up to 3.5GHz in a future version? ;) I, myself would never leave it at 3.5GHz for everyday use, the stock 2.5GHz is more than good enough for me, but I want to try and make a run on my device at 3.5GHz with 3DMark and PCMark benchmarks.
[Xperia Z3 Android Development] ryanraven:
Is there a settings file you can upload for easier setup?
[Xperia Z3 Android Development] Destroyedbeauty:
Only for the init.d script - the other part is controlable with FauxClock app..
[Xperia Z3 Android Development] ryanraven:
Righto :) did you flash stock .77 or custom .77?
[Xperia Z3 Android Development] Destroyedbeauty:
Pure stock - deodexed, rooted and de-bloated / battery tuned in every possible way! :)
[Xperia Z3 Android Development] ryanraven:
Dude I wish you could link me your rom :') I'm a noobie when it comes to deodexing, I want to debloat my . 77 but had a few force closes last time :') (kinda uninsulated too much) using your configuration now will let my phone settle for a day or so :D
[Xperia Z3 Android Development] Flava0ne:
You might want to check out AndroPlus' Kamome Deodex Tool for 4.4 KitKat. Makes Deodexing a "no brainer". ;)

Just make sure you download v6a
[Xperia Z3 Android Development] AndroPlus:
I just uploaded v26 with it (Z3_AndroPlusKernel_F2FS_v26.zip);)
[Xperia Z3 Android Development] Verbato:
Thanks! Perfect! ;)

(Only a minor correction: the remark, "Added for F2FS" is wrong. It's actually added to generate an fstab.qcom. Like I said, this works for all filesystems, ext4 as well as F2FS)

Edit: So now there is just one last hurdle, /data will not format as f2fs in twrp. I do it through the adb shell. But when I do, the phone refuses to boot. So I guess there is some process around expecting it to be ext4? Don't know what, don't know where, don't know why :P
[Xperia Z3 Android Development] AndroPlus:
I found update commits for F2FS and merged now.

Please download v26a and test it:)
[Xperia Z3 Android Development] Verbato:
Now the remark is correct. ;)

I'm not nit-picky, it's just so anyone who looks at the code understands what it's there for.

But still reboots if /data is formatted as f2fs.

~ # mkfs.f2fs /dev/block/mmcblk0p25

F2FS-tools: mkfs.f2fs Ver: 1.4.0 (2014-09-18)

Info: sector size = 512
Info: total sectors = 24719327 (in 512bytes)
Info: zone aligned segment0 blkaddr: 512
Info: format successful
~ #

And then, boot-loop. As in, Sony-logo (logo.rle) is shown, waits for LED to go from red to pink to off. Then goes black for a second and then red LED, reboot. So something, some where, is expecting /data to be ext4.

Also, in TWRP, I can't format it as F2FS. Formatting from F2FS to ext4 is fine though. So some process is using /data (sdcard? but it's not mounted when I do format to F2FS in TWRP, I adb shell and check, it isn't!) and not letting go, if /data is formatted as ext4. If it's formatted as F2FS I can format it back to ext4 in TWRP without a problem, so what ever process is using /data when formatted as ext4 isn't using it if it's not ext4.

I have grepped and searched and I'm none the wiser. :P

Also, I have googled. A LOT. Not found any help or solution. (if I did I would obviously be celebrating by now :P )

And also, it's not genfstab that is faulty. I have tried and tried and tried a bunch of options for fstab manually. No go.
[Xperia Z3 Android Development] Destroyedbeauty:
Can give you download links to the flashable ZIPS I am using later on (:
[Xperia Z3 Android Development] ryanraven:
That would be great :)
[Xperia Z3 Android Development] User 21:
wont work? :(

Hey guys.

When i flash this Kernel v26, my Phone dies.

Wont Start, just a short Vibration and the led shines 1 sec Red.

Why this?

Im on . 77 Deodex and the Bootloader UL.

&sorry for my bad englisch
[Xperia Z3 Android Development] Verbato:
Hmh. Odd. Try Z3_AndroPlusKernel_F2FS_v26a.zip.
[Xperia Z3 Android Development] User 21:
Thanks for your tips !!

I will try right now.

Hopefully it works (:
[Xperia Z3 Android Development] Verbato:
Good! Let me know if it doesn't work.
[Xperia Z3 Android Development] Guitarfreak26:
Yeah that would be great!
[Xperia Z3 Android Development] User 21:
Dear Verbato

, anyway what I do, my phone bricks.

Now I flashed third time my phone to .77 deodex.

I don't know what to do Anymore :/
[Xperia Z3 Android Development] Verbato:
You do have a D6603? I'll upload a working zip-rom-file of the Norwegian Telenor-version.

Might take an hour or two though.
[Xperia Z3 Android Development] Verbato:
Try this out and see if this will work for you:

http://xdaforums.com/z3/development/d6603-23-0-1-5-77-telenor-norwegian-t3044090
[Xperia Z3 Android Development] darkdevu:
a very good change

Set SELinux to Permissive:good:
[Xperia Z3 Android Development] Destroyedbeauty:
Any chance that you will add latest Dynamic Fsync driver by [MENTION=3332811]faux123[/MENTION] in next release of your kernel? ;)
[Xperia Z3 Android Development] Griffiths_Anna:
Hey I have some troubles with the faux123 enhancement pro.

1) I couldn't change the cpu governor, but the weird thing is I could change almost everything except the cpu governor

2) I couldn't turn on the power suspend, it just keeps turned off..

3) After I opened the faux123 enhancement pro, my z3 would always lag . It was like the fps was being dropped by this app.

Note : I've installed busybox in the system/xbin, fixed the permission in the faux123 enhancement pro, deodexed the rom, and I'm currently using v26

Thanks
[Xperia Z3 Android Development] AndroPlus:
For now I recommend Kernel Adiutor.

Faux's features and apps are full of bugs, sadly...
[Xperia Z3 Android Development] marceldossantos91:
[MENTION=5169444]AndroPlus[/MENTION] i could use some assistance please. The f2fs, having trouble getting it working. I went ahead and copied a nandroid to pc, extracted it, and repacked it with kitchen into a zip, then used twrp and formatted as f2fts on system/cache, however i get errors executing script even if i remove the format option. There is no f2fs compatible roms yet for our Z3 nor any flashable zips of stock roms out there, any advice please on how to get f2fs working with .77 rom? Thanks
[Xperia Z3 Android Development] AndroPlus:
I don't know about how to use/enable F2FS since it's requested and confirmed working by some members.

I just added...
[Xperia Z3 Android Development] marceldossantos91:
Thanks. Just hope someone here could shed some light on getting this working for us lol
[Xperia Z3 Android Development] Destroyedbeauty:
Can you Dynamic Fsync driver by [MENTION=3332811]faux123[/MENTION] in v27, please..? :]
[Xperia Z3 Android Development] AndroPlus:
Will be added in the next version:)

[EDIT]

hehe, I was testing dynamic fsync while I was writing this.
[Xperia Z3 Android Development] GhostLeader:
Kernel Adiutor seems really to be nice.

Which cpu governor are you using at the moment?
[Xperia Z3 Android Development] Destroyedbeauty:
Sweet! Dynamic Fsync is a big performance & battery life increasing addon so! :)
[Xperia Z3 Android Development] AndroPlus:
I'm using Smartass H3, it's good for battery and performance for my use.
[Xperia Z3 Android Development] marceldossantos91:
[MENTION=4598683]Destroyedbeauty[/MENTION], i tried your settings, i managed 6H34min SoT (6% remaining) from full charge as opposed to the 8H3min ive achieved with mine on the exact same usage pattern. On intelliplug UI is also laggy, thanks for the settings lol but my results worsened with lag. For me my settings worked best, thanks anyway! No disrespect intended. I felt i should try and report back
[Xperia Z3 Android Development] ignacio_alberto_Martinez:
Can you put your settings? Thanks.
[Xperia Z3 Android Development] marceldossantos91:
W

Ive posted before but ill post again. First set your screen brightness SIT to around 10%, leave auto brightness and gamma as it was just allow it to dim lower when possible but comfortable enough for you. Smartass H3 governer with mp decision, undervolt -24mv all steps, 2.457ghz cpu max, i/o to row or sio, my cache size is 1024 for internal and 1536 external based on 3ctoolbox pro benchmarks. Gpu to 389mhz governer powersave. Suspend left it at hybrid mode. Use either xposed module boot manager or [MENTION=4970751]Rajeev[/MENTION] 's settings mod to disable unnecessary startup items, remove all bloatware with rtp or titanium and disable any unecessary services. Set location to battery saving also prevents many wakelocks. Thats pretty much it, on avg if i really try hard ill pull 8H out, but since im perma streaming and downloading with wifi on 24/7 aswell and plenty multitasking, my avg SoT is 7H10min. But my record has been 8H3mins. Most importantly without UI lag, i cant stand frame skips lol.
[Xperia Z3 Android Development] ryanraven:
Can't you upload settings file? :) trying a few different set ups
[Xperia Z3 Android Development] marceldossantos91:
Not sure how bro, if u can tell me ill gladly do it, else ive posted the settings i used in fauxclock already :)
[Xperia Z3 Android Development] ryanraven:
You can backup settings in the app :)
[Xperia Z3 Android Development] marceldossantos91:
Here u go bro, https://app.box.com/s/h1f6tuh1j53jsnwguwa573w9cuu772gy

---------- Post added at 12:59 PM ---------- Previous post was at 12:46 PM ----------

Screenshots of my usage today using whatsapp, viber, browsing, and around 2H of streaming @ +3db with faux sound, and about 7 phone calls. https://app.box.com/s/in6slg5cpzfiu1i1uqhgp7lrjxfg86cd, https://app.box.com/s/g1pdwh94yvnj4d4fb02jkh3e7weiuwqi
[Xperia Z3 Android Development] ryanraven:
Damn, settings didn't change :( guess there's a problem with restoring settings from.backup
[Xperia Z3 Android Development] marceldossantos91:
Put the tar in sdcard/ com.teamkang.fauxclock, reboot phone and try again. If it doesnt work just try setting it up manually, look on my previous post :)
[Xperia Z3 Android Development] sekac55:
Great kernel :), but i have seen sometimes when my phone is in deepsleep it reboots, it never reboots in use or when i make calls and display is off, or when is play games, or the phone is under high temperature. I noticed it only because i have Smartwatch, Message (Phone disconected XX:XX hour. Sometimes it reboots sometimes not. I can upload logcat or kmsg / dmesg when it helps ?
[Xperia Z3 Android Development] AndroPlus:
kmsg / dmesg is needed.

What's your settings?
[Xperia Z3 Android Development] Verbato:
Try the shrunken version I just uploaded. I edited the updater-script so it "only" does rm -rf on /data, /cache and /system. Meaning, you can format them as you please. I'd advice you to, just as you have, stay on ext4 for /data still though. I'll probably figure it out later. But for now, try it and see.

(Sorry for the blatant advertising in your thread, AndroPlus, if you want me to I'll remove this post)
[Xperia Z3 Android Development] marceldossantos91:
Thanks! Gonna give it a shot
[Xperia Z3 Android Development] marceldossantos91:
[MENTION=390446]Verbato[/MENTION] it works, however i feel you should warn your users about the script wiping the internal storage aswell. I lost a couple things at least non important not expecting the full wipe. [MENTION=5169444]AndroPlus[/MENTION] his rom works perfect with f2fs, makes a huge speed difference, but may i ask why we cannot use /data as f2fs, is it bugged? Thanks.
[Xperia Z3 Android Development] Verbato:
Ah, yeah, sorry, heads up, I do rm -rf on data as well. I don't have anything on the phone when I test it, so I sort of am dependant on feedback about things like that. Because I know what I do... So to me it's obvious. But yeah, I'll add that. For now. And not do rm -rf on data in the future. Thanks for the feedback! :)

*noted.

Also, /data, have NO idea why it won't work. I have gone through script after script, though they're not really that many, and I can't really see any flaw any where in any of them. It's just... if you format /data as F2FS the phone won't boot. It won't even get past the beginning of the next stage (loading loadscreen and so on).

But yeah, boy is it quick on F2FS!

Right now I have too many things to focus on at once, but at the same time, I really wanted to put this out there so there was at least some small ROM out in the open. Noone seems to want to make one because everyone is waiting for the big five oh. :P
[Xperia Z3 Android Development] Verbato:
Sidenote, but thank you, AndroPlus, for removing the kernels with "F2FS" in their names. I do suppose people would get confused and think that later kernels didn't have F2FS in them and stay away from them. So it is better this way. Thanks! ;)
[Xperia Z3 Android Development] ryanraven:
Best settings for trickster mod?
[Xperia Z3 Android Development] marceldossantos91:
[MENTION=5169444]AndroPlus[/MENTION] i tried synapse but it tells me no UCI detected, i did flash modded UKM in your thread successfully, any advice? Thanks [edit] fashing ukm 3 times seemed to work somehow, thanks
[Xperia Z3 Android Development] ignacio_alberto_Martinez:
[MENTION=5169444]AndroPlus[/MENTION] "Synapse + Universal Kernel Manager" I think it has a bug. creates problems when I disconnect and connect wifi usual in others. I need to restart to connect.

Will be used properly fauxclock?
[Xperia Z3 Android Development] Xandros97:
Its possibile install it in a Lbl?
[Xperia Z3 Android Development] marceldossantos91:
Nope, unlocked only, its flashing a kernel, anytime u flash a kernel u need ubl, however root on lbl and TA backup is now possible, and DRM patch is available for lost DRM keys on unlocked BL to bring back bionz, etc
[Xperia Z3 Android Development] Xandros97:
Yes... But the kernel its possible flash with recovery and lbl
[Xperia Z3 Android Development] AndroPlus:
Only "Stock" kernel.

Read OP before posting.
[Xperia Z3 Android Development] marceldossantos91:
[MENTION=5169444]AndroPlus[/MENTION] http://www.gizmobolt.com/2015/03/16/xperia-z3-23-1-a-0-690-firmware-android-5-0-2-lollipop-update-rolling/
[Xperia Z3 Android Development] AndroPlus:
Happy Lollipop!!

Here's adv stock kernel (with TWRP and disabled ric)

Download

I'm busy now and can't update, so please test it...

[UPDATE]

This doesn't boot.

Maybe new protection (delete non-stock files in init.sony-platform.rc?) is the problem.
[Xperia Z3 Android Development] EricCartmanez:
kernel didn't boot for me but twrp worked, now on stock lollipop rooted :highfive:
[Xperia Z3 Android Development] marceldossantos91:
if i may ask, how did you revert back onto stock after twrp? i also can't get kernel working and i flash via FOTA doesn't boot up twrp, thanks.. [edit] just reflash kernel from flashtool only, great news [MENTION=5169444]AndroPlus[/MENTION], DRM patch is working on L!!
[Xperia Z3 Android Development] EricCartmanez:
well i first flashed the kernel, went into twrp, tried reboot didn't work -> made flashable zip with prf creator flashed zip + modified dual recovery from 5.0 for z3 thread -> booting + restored ta backup everything fine again :highfive

Great news about drm patch now i may reconsider leaving my bl unlocked :D
[Xperia Z3 Android Development] marceldossantos91:
Sorry to get you excited, seems DRM patch and root only works partially. DRM patch works but causes album and walkman to FC, heres whats wierd though, movies work fine, also creates a wierd crash of sound settings everytime. However the patch works i saw the major increase in sharpness on my launcher and videos. Root says you require pro, so i gone ahead and put my pro back on, but now it says its granted, then shows up error, going to check logs on SU shows the commands go through but nothing happens.. On the approved list its also empty. Seems we need to wait for root and DRM again :(
[Xperia Z3 Android Development] EricCartmanez:
root is working fine here with stock kernel and dual recovery installed :highfive: you just need to install both with andros kernel ;)
[Xperia Z3 Android Development] marceldossantos91:
It installs fine, all goes through, got the SU app, etc.. But the actual access is bugged. Like through FX somehow i got system access but on other apps, it shows granted, but su app shows its empty and causes certain apps like my rom toolbox to crash lol..i flashed ftf over and tried again, same results, some commands work like chmod in the log showed fine, but others dont..
[Xperia Z3 Android Development] EricCartmanez:
that's strange :confused: it's working just fine for me... rootbrowser greenify no problems, also adb root access works just fine
[Xperia Z3 Android Development] TapioH:
Installing Lollipop adv kernel with twrp, the stock lollipop refuses to continue booting up. it just hangs on "Sony Xperia" screen..

i can access TWRP though, but its not progressing on boot

edit: Reflashed stock kernel. Couldn't boot up on Androkernel.
[Xperia Z3 Android Development] marceldossantos91:
Wow that is very strange, what did you use to root if i may ask? I tried update-su 2.46
[Xperia Z3 Android Development] EricCartmanez:
here's my procedure: first i flashed nordic ftf which was posted in 5.0 thread(including wipe), then i unlocked my bootloader, flashed [MENTION=5169444]AndroPlus[/MENTION] adv kernel, booted to twrp, installed root -> didn't boot so i created a pre rooted firmware with prf creator, flashed this with supersu 2.46, root didn't work then so i tried to disable ric via adb but this also didn't do it, so i flashed the kernel again installed modified dualrecovery zip found in 5.0 thread flashed prf again and restored ta backup; that's how it's working flawlessy now for me, recovery doesn't work for now but i guess that's only a matter of days till it's patched :)
[Xperia Z3 Android Development] YongJeah:
I would like to use recovery but keep DRM in Lollipop , but how?
[Xperia Z3 Android Development] norrgrd:
I'm not able to choose either hyper or alucard governor. Any tips?
[Xperia Z3 Android Development] Taftus:
I cannot boot with this kernel, it stuck on Sony logo boot. I installed Lollipop with Flashtool and than flash Z3_LPADVStockKernel_v1, I can enter twrp and install drm patch but than it only stuck on Sony logo.
[Xperia Z3 Android Development] marceldossantos91:
Use flashtool and flash over kernel.sin from your ftf, exclude everything else. Phone will boot afterwards
[Xperia Z3 Android Development] AndroPlus:
So here is two new test version...

No recovery included, just disabled ric for now.

If it doesn't boot, the problem is my packing tool.

Enforcing

Permissive

If Sony uploads kernel source, I'll start making MultiROM support kernel before full AndroPlus Kernel.

I can't live without Xposed:p
[Xperia Z3 Android Development] Taftus:
Yes I notice it works by doing so, only thing that cause the Lollipop apps to force close is DRM patch. I patch that and some apps seems to be out of function, after removing everything works fine. I guess we have to wait for new DRM and new root, Rom is still new after all.
[Xperia Z3 Android Development] lamducthien:
can I flash it for z3c?
[Xperia Z3 Android Development] Wasseruhr:
[MENTION=5169444]AndroPlus[/MENTION]: Can you please make this kernel lollipop compatible? :)
[Xperia Z3 Android Development] AndroPlus:
Please ask Sony to publish kernel source for Lollipop
[Xperia Z3 Android Development] Wasseruhr:
[MENTION=5169444]AndroPlus[/MENTION]

I don't know how to contact them... Sorry :)
[Xperia Z3 Android Development] GhostLeader:
I did:

Hi Markus,

Thanks for your email. Could you also post this to our Open Device forum?https://talk.sonymobile.com/t5/Open-Devices/ct-p/OpenDevices

Best regards,

Developer World

_________________________________

Later I will ask in the open device forum
[Xperia Z3 Android Development] norrgrd:
https://github.com/sonyxperiadev/kernel/tree/aosp/AU_LINUX_ANDROID_LA.BF.2.1_RB1.05.00.00.173.012

Edit: sorry saw now that it was for aosp
[Xperia Z3 Android Development] moritz-mobile:
Kernel Source

http://talk.sonymobile.com/t5/Lollipop/Android-5-Kernel-source/m-p/956281#M31

Are they referring to AOSP Kernel Source ?!

looks like it anyway.

---------- Post added at 06:12 PM ---------- Previous post was at 06:01 PM ----------

This might be a way for everyone who is interested in an AndroPlus Kernel for Lollipop [so at least everyone reading this I guess] to express its interest to sony developers!

So please let them know.
[Xperia Z3 Android Development] nolihowell:
Xperia Z3 D6603 23.1.0.A.690

how's the progress for supporting the lollipop firmware?
[Xperia Z3 Android Development] GhostLeader:
Read the last posts and dont be lazy...
[Xperia Z3 Android Development] marceldossantos91:
[MENTION=5169444]AndroPlus[/MENTION] DRM patch for L is released.. Maybe should update OP on steps? I confirmed it works.. Unrelated to the kernel but felt i should inform ;)
[Xperia Z3 Android Development] AndroPlus:
OK... here's working adv stock kernel for Z3 (at least booting and zip install / backup / restore of TWRP)

I disabled ric and SELinux is permissive.

Download

If someone can confirm it's working for their device, I'll create one for Z2/Z3C.

[UPDATE]

Not working: Baseband, TA info reading -> overheat

Thanks, I'll update later.
[Xperia Z3 Android Development] russel5:
[MENTION=3834787]atis112[/MENTION]

i got the same problem with z3c, if i changed srock ramdisk i have notifier that my sim is "broken". In options - about phone - info - CCID - unknown

And camera not working only black screen. [MENTION=5169444]AndroPlus[/MENTION] do you fix this big problem? because selinux permissive or disable not help with this
[Xperia Z3 Android Development] atis112:
I have no idea that what the hell it is... Bootloader status unknown, hw config rev unknown, sim lock status unknow. With AndroPlus's latest kernel for LP, I got imei error too. It was just 'null'... But if I reflesh stock kernel, everything works fine. I hope that sony didn't check kernel hash for modem. I will be angry if we won't be able to use custom kernel with stock firmware....
[Xperia Z3 Android Development] atis112:
Maybe [MENTION=359497]jerpelea[/MENTION] know anything about this problem, you can try to ask him.
[Xperia Z3 Android Development] russel5:
OMFG i fix this sh*t [MENTION=3834787]atis112[/MENTION] i SO LOVE you man, big so big thanks for your logcat!!!!!!!
[Xperia Z3 Android Development] atis112:
Great! How did you fixed it?
[Xperia Z3 Android Development] Wasseruhr:
[MENTION=3834787]atis112[/MENTION] can you please upload the stock kernel?

:)

EDIT: I used [NUT]´s advanced stock kernel :)
[Xperia Z3 Android Development] nayliz:
It boots up, but there is no mobile network found. Turning the device off can only be done by the on/off button/volume up combination.
[Xperia Z3 Android Development] atis112:
I fixed AnroPlus's Lollipop kernel with TWRP: http://xdaforums.com/attachment.php?attachmentid=3221531&stc=1&d=1426935829 selinux enforced, RIC disabled (mount system rw works)

Thank you for the recovery [MENTION=5169444]AndroPlus[/MENTION]

And I uploaded a simple kernel without recovery, just RIC disabled for rw system mount: http://xdaforums.com/attachment.php?attachmentid=3221530&stc=1&d=1426935829

Thank you [MENTION=4688377]russel5[/MENTION] for the solution!