yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Android Development] AndroPlus:
So the problem was TrimArea Daemon not running as root?

Good, the rest problem is Xposed's bootloop:)
[Xperia Z3 Android Development] Borz93:
Please, might make for Z2 D6503? Thanks!
[Xperia Z3 Android Development] lamducthien:
Boot on but with black screen with both of kernels
[Xperia Z3 Android Development] atis112:
Yes it was. Have you log about xposed bug?

Maybe later, but I think AndroPlus will make it for Z2. But please upload lollipop kernel.sin from ftf.

Are you on clean 23.1.A.0.690 lollipop rom? If you modified your rom (maybe it will give error if nuts recovery is installed too) try reflash system.sin with flashtool.

I tested these kernels, and worked for me. IM using twrp version now without any problem.
[Xperia Z3 Android Development] Borz93:
Yes, androPlus has done excellent work with advanceKernel to z2. Thanks
[Xperia Z3 Android Development] zmasterq:
Hi I want to flash kernel with TWRP and fastboot cant .. write me command not allowed..any idea ? sorry for my english
[Xperia Z3 Android Development] David_Vaz:
Not working for me, black screen anyone
[Xperia Z3 Android Development] lamducthien:
Yes, I used NUT before to get root, I will try your method and report
[Xperia Z3 Android Development] lamducthien:
Still black screen
[Xperia Z3 Android Development] dylan2610:
Could you update it for compatibility with 5.0?
[Xperia Z3 Android Development] AndroPlus:
Uploaded ADV_stock_LP_v2.

It will disable ric completely (v1 was not enough)

For Xposed bootloop, please make test module if someone can do it.

https://github.com/rovo89/Xposed/issues/31#issuecomment-84591276
[Xperia Z3 Android Development] sfex3best:
Just wondering is it possible to add pen mode or pencil support to your kernel?

I miss this pen mode the z2 supported by default.
[Xperia Z3 Android Development] moritz-mobile:
Worked for me ! D6603 Without any issues.
[Xperia Z3 Android Development] norrgrd:
Hey AndroPlus,

I'm sorry if this is a stupid question but what's the difference of your current LP-kernel vs http://xdaforums.com/z3/development/root-stock-flashable-kernel-23-1-0-690-t3061678 ?
[Xperia Z3 Android Development] AndroPlus:
http://developer.sonymobile.com/dow...rchives/open-source-archive-for-23-1-a-0-690/

Will start making soon
[Xperia Z3 Android Development] AndroPlus:
It supports insecure adb and init.d
[Xperia Z3 Android Development] AndroPlus:
Things are going well and currently porting previous features:)

test version for Z3

For stability I won't cherry pick commit for optimization or FauxSound (I'll test Taiko_control instead) for now.

Another good news is Sony (is going to) merge kernel source for carrier specific model (like Verizon, docomo...) and dual SIM model.

I will try to build kernel for dual SIM model if it get Lollipop update.
[Xperia Z3 Android Development] Aronuser:
Um is the current version compatible to use with multirom lollipop?
[Xperia Z3 Android Development] AndroPlus:
Not yet, as this test version is used to check OC/UV commits works or not on Lollipop.
[Xperia Z3 Android Development] AndroPlus:
Thanks to @serajr, Xposed is getting to work without bootloop!

Official fix will be faster with log:laugh:

http://xdaforums.com/showpost.php?p=59653356&postcount=224
[Xperia Z3 Android Development] marceldossantos91:
[MENTION=5169444]AndroPlus[/MENTION], test version is working as it should, all is fine, except for this one strange bug, the Cpu_freq is set to 2265 by default, trying to push it up with any app such as trickster/faux, causes the min_max frequencies to bug out and it shows min speed and max speed as 2mhz, but even if you set the min to its lowest from there its still bugged till phone is restarted, but the phone doesn't get laggy so my assumption is it doesn't set the cpu freq at all else the whole phone would drop to a terrible lag, so its stuck on 2265mhz, not a major issue, just reporting ;) oh yes.. I can actually pass antutu tests now on LP as opposed to KK rebooting @ 31%
[Xperia Z3 Android Development] Miustone:
No Problems here with CPU freq. settings... Using Kernel Adiutor :p

And thx for fiops and htcp AndroPlus ! Kernel V50 Looks perfect for me ... only thing i miss is making my speakers louder with FauxSound :silly: Best Feature so far :fingers-crossed: but keep up the good work!

BR:cowboy:
[Xperia Z3 Android Development] marceldossantos91:
[MENTION=5169444]AndroPlus[/MENTION] any chance we will see F2FS support again soon for LP? btw something to note if you wanna update OP, here is the riddle to converting to F2FS! http://xdaforums.com/xperia-s/s-development/tutorial-migrate-filesystem-to-f2fs-ext4-t3004755

the answer was as simple as just using rm -rf instead of format:eek: i feel kinda stupid now lol, but worth noting for users that want to use F2FS and cannot understand how the heck to convert to it when your rom zip constantly formats as ext4 after you've formatted to F2FS:p.
[Xperia Z3 Android Development] Destroyedbeauty:
So this kernel is now including Lollipop sources and RAMDISK? :D
[Xperia Z3 Android Development] AndroPlus:
Released v50 - Now supports Lollipop 23.1.A.0.690!

All features except sound control, SELinux Permissive, F2FS support (with genfstab.rhine, it stuck at logo) are included.
[Xperia Z3 Android Development] marceldossantos91:
Thanks Andro, confirmed all features working correctly and well except f2fs, as you mentioned, gets stuck on sony logo if you use system as f2fs, and data still cant format wirh it, only cache working on f2fs atm with the rest ext4.. But thanks for all your hard work getting it working on LP for us xD
[Xperia Z3 Android Development] Gustavo RD78:
[MENTION=5169444]AndroPlus[/MENTION]

you have built a successful custom kernel based on sources lollipop?

I have built, but am having trouble with "baseband and IMEI unknown"

you have faced this problem?

could share their build tools? perhaps my tools the problem...
[Xperia Z3 Android Development] istux:
It works like a charm, great :good::good::good:
[Xperia Z3 Android Development] AndroPlus:
Some changes are needed for ramdisk and kernel cmdline.

(You can unpack my kernel and compare)

I'll make thread for how to build soon.
[Xperia Z3 Android Development] Gustavo RD78:
then surely the problem is cmdline, the ramdisk are equal

I'm curious to know what changed, I was not able to find anywhere
[Xperia Z3 Android Development] AndroPlus:
I posted how to and wrote modified cmdline there

http://xdaforums.com/crossdevice-dev/sony/how-to-build-custom-stock-kernel-linaro-t3066916
[Xperia Z3 Android Development] nolihowell:
Xperia Z3 D6603 23.1.A.0.690

theres seems to be a bug when connecting to pc via msc it crashes all the time using your kernel v 50 plz fix it my friend
[Xperia Z3 Android Development] YongJeah:
init.d not work?
[Xperia Z3 Android Development] AndroPlus:
Added taiko_control in v50a.

See this post to enable / configure:

http://xdaforums.com/showpost.php?p=55765178&postcount=3

No msc problem for me...

init.d isn't included in my kernel.

Please use this zip to enable init.d

http://xdaforums.com/showthread.php?t=2698813
[Xperia Z3 Android Development] ljhsquall:
I will like to try this kernel but want to back up my stock kernel first. I am using twrp, can i create a backup in twrp selecting kernel only? I saw a trim area that is 2mb not sure of that is important. Can anyone advise me?

Thanks!
[Xperia Z3 Android Development] marceldossantos91:
Backup kernel image, thats all you'll need in twrp if you later want to restore it, i always suggest full backup though as a precaution, TA is for your drm keys, i would suggest backing up TA keys if you haven't unlocked your bootloader yet and unlock it before attempting to install the kernel as per the OP.
[Xperia Z3 Android Development] ljhsquall:
Thanks. I already backup my TA using the TA backup tool!
[Xperia Z3 Android Development] Aronuser:
Um, excuse me, does it also support multirom and is recovery accessible?

I just need to be sure, because if I brick my phone now, I don't have a way to recover it because my computer is not here.

Thank you really, for development.
[Xperia Z3 Android Development] AndroPlus:
You can use recovery (TWRP) but MultiROM won't work for now.

My kernel supports kexec, but MultiROM doesn't support Lollipop yet.
[Xperia Z3 Android Development] Aronuser:
Thanks, I couldn't wait and tried it. Its now bricked, but I'm trying to flash advanced lp stock kernel including recovery soon though fastboot, I hope this will fix it.

/Edit

Just in case anyone worries, I fixed the brick ?
[Xperia Z3 Android Development] YongJeah:
taiko_control for speaker boost not work on my 5833
[Xperia Z3 Android Development] AndroPlus:
OK... I'l try to remove speaker boost function from taiko_control.

No one can make sound control for our speaker for now...
[Xperia Z3 Android Development] Guitarfreak26:
I'm gonna flash back to rooted stock lollipop tonight. Does the drm restore patch still work on lollipop?

Thanks
[Xperia Z3 Android Development] agam1308:
Yes, it works and in the easiest way: flash drm patch and wipe cache and dalvik, that's it!

Sorry for my english

Enviado desde mi D5803 mediante Tapatalk
[Xperia Z3 Android Development] Guitarfreak26:
Is that still after flashing ftf, locking bootloader etc
[Xperia Z3 Android Development] YongJeah:
but I wanna boost the Earphone volume when I'm on call. I feel Earphone volume in Lollipop become weaker than in KK
[Xperia Z3 Android Development] Guto ViP:
Can i flash your kernel in my LB Z3 D6643 just using adb flash command?
[Xperia Z3 Android Development] Aronuser:
It's for unlocked bootloader as written in the op
[Xperia Z3 Android Development] kjames2001:
[MENTION=5169444]AndroPlus[/MENTION], great kernel! Thanks.

Any progress on making SELinux permissive on boot? Desperately waiting, cause it's the only thing keeping xposed framework to boot loop.

来自我的 D6603 上的 Tapatalk
[Xperia Z3 Android Development] marceldossantos91:
Just use kernel auditor and set it on boot, works for me just fine.. Its only some modules that cause me to have bootloop, but im using greenify okay
[Xperia Z3 Android Development] kjames2001:
I meant ON BOOT. not after boot.

来自我的 D6603 上的 Tapatalk
[Xperia Z3 Android Development] marceldossantos91:
then use the zip andro provided to enable init.d, and make an init.d script ;)
[Xperia Z3 Android Development] kjames2001:
Thanks, i got init.d enabled, but dont know how to make an init.d script. Downloaded some from nexus 6 forum claiming to work, but gets stuck on boot animation. do you know any script that works?
[Xperia Z3 Android Development] marceldossantos91:
Hmm, i am not entirely sure bro.. I think i had one but im also gonna do testing on my side with them, [MENTION=5169444]AndroPlus[/MENTION] - care to step in with any idea on an init.d script that forces permissive for xposed? ;)
[Xperia Z3 Android Development] AndroPlus:
Not yet possible, even though I tried some modifying...

This is not kernel side way, but maybe it helps understanding when zxz0O0 release source code.

http://xdaforums.com/showpost.php?p=59879026&postcount=3837
[Xperia Z3 Android Development] kjames2001:
Cool, thanks guys, at least now i know its now possible yet.

---------- Post added at 11:27 AM ---------- Previous post was at 11:26 AM ----------

but one thing i dont understand is why xposed work for some people, and not for others. anyone know the reason?
[Xperia Z3 Android Development] Griffiths_Anna:
I still get the net::ERR_NAME_NOT_RESOLVED error when connecting to xda eventhough I have disabled or freeze PrototypeProtection through titanium backup

-__- It's been 2 days

Nevermind ,.. I didn't reboot my z3 after disabling the Prototype

my own fault haha ..

case closed
[Xperia Z3 Android Development] marceldossantos91:
Thanks, was having the same issue and could not understand what the heck was going on :eek:
[Xperia Z3 Android Development] ljhsquall:
Does this kernel come with recovery or I must flash fota recovery?
[Xperia Z3 Android Development] scottjb:
It came with TWRP recovery when I installed it.
[Xperia Z3 Android Development] marceldossantos91:
Those struggling with xposed, try this, i havent tested it, but many tell me it works.. https://play.google.com/store/apps/details?id=com.mrbimc.selinux
[Xperia Z3 Android Development] AndroPlus:
No it won't work since it's changing SELinux after boot, and the cause of problem with Xperia is not SELinux (actually it works with Enforcing).

You'll get no bootloop with deodexed system, so something in /system is causing the problem.
[Xperia Z3 Android Development] EricCartmanez:
if it's really just about deodex'ing maybe it's systemUI? i only have 3 apps deodexed systemui, home and framework-res, since framework doesn't seem to have odex files and i don't think launcher can bootloop the phone, maybe it's a fault in systemui? 'cause for me xposed works like a charm and in xperia xposed thread we also got somewhere near either odex or an app which some of us still have installed, i still have a list of apps i have installed in priv-app and app partition maybe someone could compare it to those of ppl with bootloops :fingers-crossed:
[Xperia Z3 Android Development] Eason85:
Apparently you can enable SEPermissive at boot by installing init.d and making a script for it.

"For this you need to have init.d support.. If you don't have just install it via universal init.d tool available in xda.. (just do a search, u will get it) install universal init.d and activate init.d..

Then go to /etc/init.d directory, create a file and rename it as "08setperm" (without quotes) and add the below lines in the file and save it..

#!/system/sh

setenforce 0

And give full permission (rwxrwxrwx) .. Use root Explorer to edit and give permissions..

Now hard reboot your phone and you can see SELinux is set to "permissive" on boot itself.. "

However I haven't gotten it to work yet as according to xposed logs, SE is still enforced when xposed is loaded. It's a pain to work through because every time I have to restart the phone to test it, I have to spend 15 minutes at 15% battery to rebuild my dalvik. :silly:
[Xperia Z3 Android Development] Eason85:
I'm getting bootloops on this kernel on LP even with wiping cache/dalvik. I had to go back to stock kernel.

edit: got permissible on stock kernel then adb'd:

su

mount -o remount,rw /system

mkdir /system/su.d

echo "#!/system/bin/sh" > /system/su.d/permissive.sh

echo "setenforce 0" > /system/su.d/permissive.sh

echo "0" > /sys/fs/selinux/enforce

chmod 755 /system/su.d/permissive.sh

However amplify is still not working
[Xperia Z3 Android Development] Destroyedbeauty:
Why is latest Intelliplug driver disabled / removed in v51? The Z3 is heating up like hell on the current hotplug drivers included, so :/

Please, add it back in v52 - with additional Faux Lollipop commits / drivers. Please.
[Xperia Z3 Android Development] AndroPlus:
I don't disable/remove intelliplug.

It's your kernel config app's problem, please use Kernel Adiutor.
[Xperia Z3 Android Development] Destroyedbeauty:
Then explain to me why I can't find the /sysfs specific folder that contains the Intelliplug tuneable files? Under /sys/module - there is nothing related to Intelliplug there.

Conflicts with additional hotplug drivers, maybe?
[Xperia Z3 Android Development] AndroPlus:
It's in /sys/kernel.

You'll say why it's isn't in /sys/module, but intelliplug in my kernel is different from Faux's original one.
[Xperia Z3 Android Development] Destroyedbeauty:
Oh, I see. Though.. This creates a hell of problems, because FauxClock is the only app that can tune every part of the Intelliplug driver.. And FC-app is designed to find Intelliplug under the /sys/module sysfs subsection so..
[Xperia Z3 Android Development] Aronuser:
Sounds to me as if it only causes problems when using Faux Clock then, I'd suggest what Androplus said and use Kernel Adiutor then.
[Xperia Z3 Android Development] Destroyedbeauty:
Well, that is maybe an good idea but..

Kernel Adiutor can't fully control Intelliplug, what I know. Threshold value is limited to 1000 by an example.

Godly frustrating..

[MENTION=5169444]AndroPlus[/MENTION]
[Xperia Z3 Android Development] scottjb:
Has anyone tied v50 or v51 on the latest Z3 Compact ROM, 23.1.A.0.726 or will we need a new version of the kernel?
[Xperia Z3 Android Development] gibihr:
It's working fine!
[Xperia Z3 Android Development] nolihowell:
Xperia Z3 D6603

bro do you care to support 23.1.A.0.726 bcoz i haven't update to that version but already downloaded the firmware via sony pc companion plz do support so tnx.
[Xperia Z3 Android Development] AndroPlus:
As always, please ask Sony to publish kernel source code soon.

I can't support without kernel source code.
[Xperia Z3 Android Development] sekac55:
It is only carrier update I use v51 on 23.2A.0.278 everything ok. no need of update.
[Xperia Z3 Android Development] istux:
23.1.A.0.690 and 23.1.A.0.726 share the same kernel, so v50 is fine for both ;)
[Xperia Z3 Android Development] Gustavo RD78:
kernel fw 690 and 726 are the same

In 278 rom and kernel are different, there are changes in the camera, then it is not advisable to use a different kernel, because the camera will not work

278 has this app than earlier versions did not exist that needs to be analyzed
[Xperia Z3 Android Development] sekac55:
I have D6603, no problems everything ok camera too. V51
[Xperia Z3 Android Development] scottjb:
Thanks all. I now have 726 running with v51 kernel and the DRM repair.
[Xperia Z3 Android Development] DCground:
Problem with and Antutu and Web browser!

I have a D6603 on Lollipop .690 NCB with DRM functions restored and with androplus kernel v51. Everything works great except I can't install Antutu either by Playstore or manual apk install. I get an error "somc policy" and it instantly uninstalls itself. I looked for a solution and so far I haven't been able to find one.

The other issue I have is on Chrome and Firefox. For some reason I can't access the XDA website, but every other site works just fine.

Any help would be greatly appreciated or if anyone can point me in the right direction, that would also be super.

Cheers

Derek
[Xperia Z3 Android Development] scottjb:
That is strange. I don't typically use Chrome or Firefox on my mobile but I tried Chrome to access the xda forums and had no problem. Hope someone has an answer for you.
[Xperia Z3 Android Development] Gustavo RD78:
Look this

http://xdaforums.com/showthread.php?p=59625417
[Xperia Z3 Android Development] DCground:
Antutu problem solved!

Fantastic!!!!!! That worked. Much much much appreciated. :):):)
[Xperia Z3 Android Development] marceldossantos91:
Guys, disable prototypeprotection for XDA, it fixes it. I used rom toolbox to disable it (its an app), reboot, issue fixed..
[Xperia Z3 Android Development] Crosslife:
Flashed V50 over 23.1.A.0.726 and the phone became very very laggy. Had to remove it. Don't know why....
[Xperia Z3 Android Development] nolihowell:
Xperia Z3 D6603

bro as i tried to restore my backup of lollipop 23.1.A.0.690 firmware with your kernel the misc under storage is not showing anymore i think the internal storage is broken. should i reflash your kernel or just wiped cache/dalvik-cache with your kernel already being used"?
[Xperia Z3 Android Development] nolihowell:
Xperia Z3 D6603

since i flashed the v51 kernel onto the 23.1.A.0.726 firmware the misc under storage setting keeps disappearing and i dont have a working internal storage. How to fix this? but everything else works fine.
[Xperia Z3 Android Development] AndroPlus:
v52 is up.

Removed bricked hotplug due to instability and added temporary solution for Xposed bootloop.

From now on, alucard hotplug is enabled by default.

No support for .726 since no kernel source for .726.

It's strange, I didn't touch patch about internal storage.

I don't know how to fix it.
[Xperia Z3 Android Development] Crosslife:
Is there support for 23.2.A.0.278?

Thx
[Xperia Z3 Android Development] nolihowell:
Xperia Z3 D6603

bro just recreated a prerooted firmware 23.1.A.0.690 with you v52 kernel but the misc settings under storage options is missing so no internal storage available.
[Xperia Z3 Android Development] chunlianghere:
would it be good if you put it in 1st post that no support yet for .726 as there is no kernel source. thanks! tis will help those who r under .726 firmware
[Xperia Z3 Android Development] danny the great:
Can I use it with official sony android 5.0.2?and does the kernel support qualcomm quick charge 2.0?
[Xperia Z3 Android Development] danny the great:
Can add quick charge 2.0 enable for the kernel?
[Xperia Z3 Android Development] darth_waldi:
Whats wrong with that kernel or my z3?

when flash this kernel v52 for d6603 23.1.A.0.690 i have bootloops on sony logo and dual recovery dont work?

v32 on kitkat works normal only i have problems on lp :(

please help ;)
[Xperia Z3 Android Development] Alhaddad:
my phone is getting hot on v52.. i think it's the alucard hotplug... other than that, everything is great
[Xperia Z3 Android Development] Nizzay!:
When I flash this kernel on a cleanly installed stock based ROM, I get stuck in boot loop. Before flashing the kernel I wiped dalvik and cache yet the issue still persists. I'm on unlocked bootloader too. Any idea how to fix this?
[Xperia Z3 Android Development] sekac55:
I have noticed overheating, and i have have found why. [MENTION=5169444]AndroPlus[/MENTION] Alucard hotplug is enable by default but MPDecision too. I have disabled MPDecision and now only Alucard is on. My battery is now better and the device is cooler. I think Alucard was with MpDecision in conflict. Can you look deeper on that ?
[Xperia Z3 Android Development] GhostLeader:
V52 is for me the first kernel since a very long time without any Reboots, great work.

But something is strange: If you delete dalvik cache and cache and do a reboot, the Z3 becomes really HOT and drains 10% of battery while its creating app cache.
[Xperia Z3 Android Development] Griffiths_Anna:
Overall the v52 is awesome, but I have this annoying problem, everytime I open an app, it would always reload itself, I mean not everytime, I don't know the exact time but apparently after 5 minutes .. Is it just me? Or anyone else having this problem?
[Xperia Z3 Android Development] Alhaddad:
Never had this issue, it seems to be caused by something else, but not the kernel..

Try formatting cache/dalvik
[Xperia Z3 Android Development] raviboy100:
how is the battery life on this kernel, and does the standard settings such as colour enhancement, stamina mode, DSEE still work?
[Xperia Z3 Android Development] AndroPlus:
I didn't test with battery apps but it looks like battery life is longer now.

All standard features will work, but you can't use color enhancement since DRM key will be wiped when you unlock bootloader.

I found a patch for DRM key related features, but it didn't work.

http://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
[Xperia Z3 Android Development] wind0zer:
I havent installed any kernel OC software yet, to test the governor etc.

I used to have separate governors for screen on and screen off, while using Htc Nexus One few years ago. With nowadays phones IMHO, speed or responsiveness isn't the most important thing.... probably added features or benefits like support for a file-system, support for knock on feature (already Z3 feature), perhaps even better battery if possible.
[Xperia Z3 Android Development] iBuzman:
I think that mod requires deodex? I will try it sooner or later when I can get around to deodexinbg (Kanome tool) and am happy to wipe data (another requirement of the mod).
[Xperia Z3 Android Development] raviboy100:
does this mean that all drm related functions can be restored sooner or later, or am i dreaming too much now ?
[Xperia Z3 Android Development] harfot:
Sorry to disturb your dream, but is not possible at the moment. To backup DRM keys youe need root with locked bootloader but for now root is only possible by destroying the keys (and you cannot get them back).