yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 / 6X Questions & Answers] Aerobatic:
IMHO there occurred valuable reason to have "jasmine" with unclocked bootloader: many "loyal" users of "jasmine" got their phones bricked with infamous January patch (10.0.3.0), while those who had unclocked bootloader could easily flash back more-or-less stable 10.0.2.0.
[Xiaomi Mi A2 / 6X Questions & Answers] iluvatrix:
For those that have unlocked bootloader and critical and remain on the stock ROM is your Playstore Play Protect Certification Device is Certified or Uncertified?
[Xiaomi Mi A2 / 6X Questions & Answers] iluvatrix:
Thanks. Do you find any restrictions in downloading any sort of apps from playstore?
[Magisk] yathomasi:
I updated magisk 15.1 to magisk 18.0 but now the root is not detected as there is no prompt dialog in any apps that tries to access root privilege.

I updated using magisk manager 6.1.0(recommended method). Root didn't work.Then I tried uninstalling and flashing from TWRP.Nothing happens.

So I completely uninstalled and rolled back to magisk 15.1.

That works but I want to use a module that requires magisk >15.3 . So I need that update.

When app tries to access root log reports error

Magisk : write failed with 32: Broken pipe

Complete Log:

02-03 23:08:23.891 2032 2032 I Magisk : * Creating /sbin overlay

02-03 23:08:23.957 2034 2034 I Magisk : Magisk v18.0(18000) daemon started

02-03 23:08:23.968 2034 2035 I Magisk : ** post-fs-data mode running

02-03 23:08:23.968 2034 2035 I Magisk : * Initializing Magisk environment

02-03 23:08:24.018 2034 2035 I Magisk : * Mounting mirrors

02-03 23:08:24.020 2034 2035 I Magisk : mount: /sbin/.magisk/mirror/system

02-03 23:08:24.020 2034 2035 I Magisk : link: /sbin/.magisk/mirror/vendor

02-03 23:08:24.020 2034 2035 I Magisk : bind_mount: /sbin/.magisk/mirror/bin

02-03 23:08:24.021 2034 2035 I Magisk : * Setting up internal busybox

02-03 23:08:24.265 2040 2040 I Magisk : Magisk v18.0(18000) logger started

02-03 23:08:24.416 2034 2035 I Magisk : * Mounting /data/adb/magisk.img

02-03 23:08:24.469 2034 2035 I Magisk : * Running post-fs-data.d scripts

02-03 23:08:24.469 2034 2035 I Magisk : * Running module post-fs-data scripts

02-03 23:08:24.469 2034 2035 I Magisk : * Loading modules

02-03 23:08:24.547 2034 2055 I Magisk : * Starting MagiskHide

02-03 23:08:24.547 2034 2055 I Magisk : hide_utils: Hiding sensitive props

02-03 23:08:24.547 2034 2055 I Magisk : hide_list add: [com.google.android.gms.unstable]

02-03 23:08:24.644 2034 2055 I Magisk : hide_list rm: [com.google.android.gms.unstable]

02-03 23:08:24.700 2034 2055 I Magisk : hide_list add: [com.google.android.gms/.droidguard.DroidGuardService]

02-03 23:08:25.421 2034 2222 I Magisk : ** late_start service mode running

02-03 23:08:25.422 2034 2222 I Magisk : * Running service.d scripts

02-03 23:08:25.426 2034 2222 I Magisk : * Running module service scripts

02-03 23:09:13.944 2034 2055 I Magisk : proc_monitor: com.google.android.gms/.droidguard.DroidGuardService PID=[5087] ns=[4026533771]

02-03 23:09:45.854 2034 2055 I Magisk : proc_monitor: com.google.android.gms/.droidguard.DroidGuardService PID=[6240] ns=[4026533760]

02-03 23:10:09.865 2034 2055 I Magisk : proc_monitor: com.google.android.gms/.droidguard.DroidGuardService PID=[8455] ns=[4026533737]

02-03 23:12:59.931 2034 2055 I Magisk : proc_monitor: com.google.android.gms/.droidguard.DroidGuardService PID=[12427] ns=[4026533693]

02-03 23:13:10.484 12566 12566 E Magisk : write failed with 32: Broken pipe

02-03 23:13:34.599 12704 12704 E Magisk : write failed with 32: Broken pipe

02-03 23:13:47.188 13294 13294 W Magisk : su: request rejected (10160->0)
[Magisk] GeorgeDachamp:
try removing magisk from battery optimization in android settings, then rebooting??
[Magisk] yathomasi:
all the permission are given also updated to latest one STILL NOT WORKING

updated magisk manager to 7.0 and magisk to 18.1. Same issue

Also app is put in not optimized list in battery optimization

and in performance optimization app is allowed to run in background, allow the system to wake up and allowed to be awakened by other application.
[Magisk] Didgeridoohan:
No idea what your device is, so can't say if this is applicable or not, but make sure that the Manager isn't installed to external/adoptable storage. That has been known to cause quite a few issues...
[Magisk] fixxxer0:
mine wont work either on pixel 2 xl, coming from 18.0

downloads the apk for 7.0.0, says it needs additional setup and then fails. i flashed 18.1 so that is working, its just the manager thats giving me problems.
[Magisk] ArlenCheng:
same things happened on my oneplus 6t... after install magisk manager 7.0.0, it need addition setup but setup fails, when flashed 18.1 in magisk, it wrote unable to unpack boot
[Magisk] GeorgeDachamp:
Just make sure there is an exception under power saving in the battery settings
[Magisk] fixxxer0:
not sure what happened, but it seems to have fixed itself?

i did remove the old manager, and remove all my modules, and several reboots... cant say exactly which one fixed the problem.
[Magisk] ArlenCheng:
OMG, IT WORKS! AFTER SETTINGS, IT CAN DIRECT BOOT IMAGE!:fingers-crossed:
[Magisk] GeorgeDachamp:
Sweet happy it worked out for you
[Magisk] khalisz:
Thank you so much !!! it worked for me too !!!! :highfive::victory::laugh::good:
[Magisk] yathomasi:
I don't find options for power saving and to put the app on exception on battery settings in my phone running Android Nougat
[Magisk] GeorgeDachamp:
It's only for Oreo
[Magisk] x_berzerker:
hey fellas check this out:

if you have root but magisk is not prompting, under settings choose to hide magisk manager by repacking it with a random package name.

this fixed for me.
[Magisk] witampanstwa_:
Did this, disabled the battery optimisation, rebooted a couple of times; still doesn't work (magisk 19.3, magisk manager 7.3.2, htc desire 820, stock android 6.0.1)
[Magisk] rootkitty:
This worked for me as well!
[Magisk] DarkAndBlue:
I know its a bit late but I had the same problem and I fixed it by enabling the "Display pop-up windows while running in the background" option in the app settings.
[Magisk] mark2410:
im having the same problem but none of the suggested fixed here have worked. any further suggestions????
[Magisk] petarl:
That one fixed it for me on Android 9.
[Magisk] Errick27:
Im on 4.2.2 android

Installed it via patched boot img on adb

Facing same issue

I dont see any battery settings on settings app

Trying to uninstall and install app,just same

Help plz
[Magisk] ALGNON:
For anyone with su permission denied/ request rejected the best I was able to come up with so far on my 4.4.2 device with TWRP was to manually edit the magisk.db file on another rooted device first using SQLiteMaster then placing it in the data/adb folder in TWRP. First I used "adb shell dumpsys package your-package-name" to show the correct uids on the device of root apps. Then in SQ added some new rows then entered those userid(uid) and package names, policy 2, until 0, logging 1, notification 1. Also works for com.android.shell. I placed the new magisk.db file immediately after reflashing magisk 20.4 over while 7.1.1 manager was still installed(forgot it was repackaged then got two magisks new one saying magisk was not installed, deleted both and installed latest 7.5.1 again was all up to date). Will still have to replace manually again to add more root apps or magiskhide items and redo for updates, but at least it's simple once root apps have permission and its not supersu/kingroot.
[Magisk] zgfg:
magisk.db can be simply edited from MiXplorer (to e.g. grant root access to a new app if there are problems with Magisk mngr/app not poping-up the root grant request):
[Xperia Z2 Android Development] raschad:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/

Features

I/O Schedulers (these were actually added in upstream kernel source)

BFQ

CFQ

DEADLINE

FIOPS

NOOP

ROW [DEFAULT]

ZEN

CPU hotplugs: intelli_plug (ENABLED BY DEFAULT)

CPU thermal control: intellithermal (ENABLED BY DEFAULT)

Governors

conservative

elementalX

intelliactive

interactive

ondemand

powersave

performance

zzmoove [DEFAULT, profile: 3 (ybatext)]

CPU

Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).

Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).

Support userspace CPU voltage controlling

GPU

Support for Adreno Idler algorithm, reduce high GPU frequencies usage for better battery performance

Support for Simple GPU Algorithm

Memory

Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)

Support for Kernel Samepage Merging (KSM).

Support for zRAM compression algorithm (updated to upstream Linux 4.8)

Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM

Other tweaks and optimizations

Init.d support

Support Faux Sound Control (use Faux Sound app to set audio gain profiles)

Optimized Integer SQRT. for upto 3x faster operation.

OVERCLOCKED CPU to 2,7GHz GPU to 657MHz

Westwood TCP congestion algorithm (small boost on network speed)

Hacked swappiness up to 200 by using hacks from Samsung kernel sources (default swappiness is 130)

SELinux Permissive (for V4A and etc...)

Disabled some battery-hogging WAKELOCKS

Support zswap for better memory compression

Download

Source code: https://github.com/Raschad/android_kernel_sony_msm8974-1

XDA:DevDB Information

RZ Kernel, Kernel for the Sony Xperia Z2

Contributors

raschad, remilia15

Kernel Special Features:

Version Information

Status: Beta

Beta Release Date: 2019-02-03

Created 2019-02-03

Last Updated 2019-02-03
[Xperia Z2 Android Development] minhduongtrung:
Tks!
[Xperia Z2 Android Development] nesan95:
Thank you for supporting our Z2 device

Exfat formatted SD Card not working. (Please Fix it ASAP)

Can you add Quick Charge.
[Xperia Z2 Android Development] Persiastar:
Thanks for your work

But I can't see zzmove and Inteliavtive in kernel auditor

Also interactive is default governor

I changed to ondemand because with interactive games becomes laggy and slow

---------- Post added at 08:48 PM ---------- Previous post was at 08:46 PM ----------

There is an option in battery section in kernel auditor,you can enable quick charge
[Xperia Z2 Android Development] xperia1-2:
Can you give me the specific adjustment parameters of the auditor? I will not adjust it for the first time, I want to adjust it according to your plan.:p
[Xperia Z2 Android Development] xperia1-2:
Sir, can you send out your kernel-tune version? I found that the kernel tuning downloaded from the Google market is a bit out of tune with the tutorials you sent.:silly:
[Xperia Z2 Android Development] aelfinn:
When I flashed this over a fresh RR7 install, there definitely was no zzmove governor, and the default gov was interactive. How would that be possible?
[Xperia Z2 Android Development] raschad:
It may have been deleted. This was in the first versions
[Xperia Z2 Android Development] nesan95:
It's not Quick Charge. QC is different from fast charge And the fast charge is not working properly (700mA-1100mA) this is what I got from the lock screen. I am using Anker 24W power adapter.

Before RR Pie I was using RR Oreo with QC 2.0 mod kernel (https://xdaforums.com/xperia-z2/development/mod-enable-quick-charge-2-0-t3784333) And The mA rate was 1000-1700.

I flashed the same kernel on RR Pie which I was used in RR Oreo it was successfully booted and Quick Charge worked like on RR Oreo but hotspot and USB Tethering not working so I flashed back to RZ Kernel.

That's why I am asking the developer to add QC 2.0. I know it's difficult but it's possible. Sorry for my bad English. Thank you. :) [MENTION=6812097]raschad[/MENTION]
[Xperia Z2 Android Development] Persiastar:
Im not professional but i tell my settings

With this kernel and aex rom battery life and charging is really good

For extremely saving battery,Conservative Governor is good

I always set it to ondemand for gaming and daily use

With interactive i noticed lag in games

The multicore powersaving option can be set to Aggressive for better battery saving

I also set cpu frequency to 2265 MH,more than this my device getting very high temperature

Another thing,when you wanna play games or heavy apps,make sure all 4 cores is online,i always turn off mpdecision in cpu hotplug section and turn on or off the cores manually because i noticed bad behavior with mpdecision on,or i use another

Hopefully in this kernel mpdecision is off by default
[Xperia Z2 Android Development] aelfinn:
I’m not sure I’m following you there: which “versions” do you mean? v3.5 is the first one for the Z2 you have published here, right? In any case, that’s the version I have got, and the info in the OP refers to that version, doesn’t it?
[Xperia Z2 Android Development] Persiastar:
Oh sorry my mistake
[MENTION=6812097]raschad[/MENTION] in cpu hotplug section,intelli-plug is absent
[Xperia Z2 Android Development] vikash1994b:
Im able to charge at 1500-1600ma using samsung fast charger, here is a screenshot. Btw im on AEX with rz kernel v3.5
[Xperia Z2 Android Development] nesan95:
Yes you are right. I bought a new QC 3.0 charger. I got the same result and Quick Charging also working :). Here is the evidence.
[Xperia Z2 Android Development] kecao:
Root

Does it needs root?

Thanks.
[Xperia Z2 Android Development] vikash1994b:
To flash on Android pie rom, NO

But to change kernel settings via kernel auditor then Yes
[Xperia Z2 Android Development] kecao:
Thank a lot.
[Xperia Z2 Android Development] bad.a55:
Is it enough to flash from TWRP?
[Xperia Z2 Android Development] koraymers:
yeap
[Xperia Z2 Android Development] dorinel01:
Hi everyone, any solution for external sd card? I have “deteriorated sd card” error even it work in twrp recovery.
[Xperia Z2 Android Development] NOCUL:
guys are having slow charging thru dock charger? coz mine is slow. by the way i'm on rz kernel 3.5
[Xperia Z2 Android Development] rizky_zulfikar:
where is the option? i can't find it on aex rom
[Xperia Z2 Android Development] -kOS-:
HI! I tried to use the Faux Sound app but i get FC in AEX Pie, anyone tried Faux and this kernel on other ROM for the Z2? Thank you!
[Xperia Z2 Android Development] Persiastar:
You need Kernel Auditor App and root

In Battery Section in Kernel Auditor there is a option called fast charge,you can enable it
[Xperia Z2 Android Development] dorinel01:
Will be fine ext SD card support.
[Xperia Z2 Android Development] Dash_k:
I think it's rom related

I'm flashing RZ in carbon Oreo and there was no issue

And app can detect my SD card as well

Waiting some one to confirm
[Xperia Z2 Android Development] dorinel01:
With Extended Pie only I have SD card, when I flash the kernel It's gone.
[Xperia Z2 Android Development] @kitokit:
Can someone share their settings in kernel auditor...tia
[Xperia Z2 Android Development] koraymers:
default settings working well and flawlews actually. give a chance and just try

I use kernel almost 4 days without root, right now I started think about why people are getting root access after rootless 4 day
[Xperia Z2 Android Development] vahii2110:
anyone can tell me all of your settings? i'm using Z2 only for Facebook, Messenger, Instagram, Youtube, Chrome, not gaming

i hope these apps will enough for 3GB RAM (without reloading apps)

sorry for my bad english

thanks for reading!
[Xperia Z2 Android Development] grestri:
built-in ant+ support

What about support of built-in ant+? It looks that currently is not supported. Is this a matter of kernel or ROM?
[Xperia Z2 Android Development] TrollAcrg:
Is quick charge 2.0 supported?
[Xperia Z2 Android Development] oscar_16:
Please nougat
[Xperia Z2 Android Development] raschad:
Need to test

RZ 3.5 for Nougat
[Xperia Z2 Android Development] oscar_16:
Thank you my bro [emoji7]
[Xperia Z2 Android Development] saltylemondrops:
After flashing this kernel, Sony logo appears with red then purple light, after a while phone resets and loops. Re-flashing stock kernel gets phone back to normal. Phone is on aicp_sirius_n-12.1-UNOFFICIAL-20180329 by [MENTION=5565404]Hafyzy[/MENTION] .
[Xperia Z2 Android Development] Scarr3:
Bad behavior when at high temps (cores shutting down). I need a solution to throttle frequencies instead of shutting cores down to maintain safe temps. I was trying to play with core control, vdd restriction and temp throttle with no success. There are some files at /proc/device-tree/soc/qcom,msm-thermal that have some weirds values if u compare to an example in this documentation

https://android.googlesource.com/ke...n/devicetree/bindings/arm/msm/msm_thermal.txt

And I don't know what to do with that.

Please share your thoughts.

Btw the kernel is awesome, overclock works like a charm, zram etc, really good job!
[Xperia Z2 Android Development] 0098mmilada:
does the kernel add option in setting?where can i manage them?? help me
[Xperia Z2 Android Development] The BLION Corp.:
Did you install kernel adiutor ?
[Xperia Z2 Android Development] TZTL:
When I install this to carbon rom 8.1video gets corrupted. Any fix for this
[Xperia Z2 Android Development] Senseilol:
HALP

i am trying to install this thing with the pixel experience rom can somebody please pm or copy pasta here DETAILED guide on how to do this since im lost af rn
[Xperia Z2 Android Development] ticktock666:
Download the zip from first post, use the pie edition.

Reboot to recovery, either from your power menu of it had the option, or by restarting your phone then pressing Vol down button when the led turns purple, or turn off your phone off completely then hold Vol down button and the power button until the phone vibrates.

Once you're in recovery, click install, find the zip file you downloaded, and flash. I recommend wiping cache after finishing too.
[Xperia Z2 Android Development] ThxAndBye:
Is it possible for this kernel to support SELinux Enforcing to be able to use Google Pay with it?

Every time I try to set SELinux to enforcing, it fails with an error. (using SELinuxModeChanger from F-Droid)

With the kernel from AICP 14.0 (pie) SELinux Enforcing and GPay work just fine for me.
[Xperia Z2 Android Development] 0LDST4R:
Thanks [MENTION=6812097]raschad[/MENTION] for this kernel.

Is someone using this kernel with the Pie CarbonROM from Drakonizer?

If so, could you report about your experience?

Thanks in advance..
[Xperia Z2 Android Development] SAMAN 5949:
I USE and wifi problem plz help
[Samsung Galaxy Note 9 Questions & Answers] gwest04:
Hello, I am wondering if safe strap will be available for the note 9 u versions. Doesn't that work with locked boot loaders so we can still have custom ROMs and mods?
[Samsung Galaxy Note 9 Questions & Answers] bober10113:
have you had a Samsung Qualcomm chiped device since the last 5 years?
[Samsung Galaxy Note 9 Questions & Answers] gwest04:
Sprint note 5
[Samsung Galaxy Note 9 Questions & Answers] bober10113:
so yeah probably you have alot of catching up to do.

basically put, safe strap exploit is no more. and the future of using it again to root/custom recovery a QC snapdragon is looking bleak since the s8( root worked for only 3 or 4 months)

of course you could do yourself a favor and just get an international version instead. But note 9 development is slowing down.. it never got off to the same point as the previous models did.
[Samsung Galaxy Note 9 Questions & Answers] gwest04:
Ok thanks for explaining
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] outlawbiker:
I have kept my Note 8 on samfail since its first days. Eventually I have given up hope on any further development or custom firmware options. Now out of frustration I am ready to pull the plug and just go to stock and get OTA updates and be done with it. I used to use root for so many things, mostly blocking ads, using certain apps that needed root, and just to have options and more control over the device that I own. I have stopped looking for anything or trying to stay on top of this device for at least a year, so I dont know what else there is to do with it. Ad blocking these days seems to block everything useful and I would have to whitelist so many things for it and no simple solution like the way it used to be. Now they make rooting impossible and want to charge over a grand for a new smartphone! ugh,end of rant.

Basically my Note 8 is no longer the swiss army knife that previous rooted smartphones have been for me, and I am not using anything currently that need root that i can think of. I dont know if i will ever need root. I have waited this out thinking in the future that I may need to be rooted but I just dont know anymore. Is there any point of keeping this Note 8 rooted anymore? No TWRP, no xposed,no cfw,seems like a waste to me.
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] DesperateScorpion:
Bump...
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] SubwayChamp:
I´m on bootloader v5 so I couldn`t root it but not missing it at all. In this scenario with no development for snapdragon variant no much to play with. You´ll finally lost updates and security patches and the worst of all probably the best android version with pie.
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] outlawbiker:
I cant find any apps that need to have root permissions anymore that are useful to me,and now it seems root just breaks apps because of that stupid safety net check.
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] Eudeferrer:
I am on the same boat. I was waiting for future development, but the lack of it, the 80% battery and so many other things just frustrated the hell out of me. I basically want 3minit battery and Titanium backup in my devices so that when it comes time to twitch devices, I don't have to spend a day or two setting it up app by app. Other than that you are right. Not too many other apps are needed. I switched to a Pixel 3Xl to get unlocked bootloader and root. Now I'm happy with it. Stock Android seems a bit raw and unfinished at first but it does grow on you with time.

Sent from my Pixel 3 XL
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] Araltd:
I absolutely feel the pain of the OP. I have a S8+ on SamFail bootloader v1. I recently had the option to buy a Note 8 (bootloader v5) and couldn't decide if I wanted to switch from the semi-root of samfail'd S8+ to a stock Note 8...? Like the OP my main use is AdAway and one or two other apps that require root... I'm not sure what options are available for ad-blocking on non-rooted devices and how well they work? but that's a big one for me.

Sadly for USA variant (bootloader locked) devices the rooting/rom'ing party is over. And unless you want to stay a generation behind buying a international Exynos F model is expensive... (last years models are still expensive but usually about half of whatever the current series is)
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] OffDatGoGo:
I just gave up with root on my Note 8 about 2 weeks ago. Ad blocking is missed dearly. Just like others mentioned here, the gains for ditching root on snapdragon notes seem to be worth it. My root experience on this device just ain't the same as other devices I've rooted. My next note will be an exynos device for sure. If you don't mind setting up each app all over again I think going back to stock is good...as much as I hate to say it and be "regular". The extra 20% battery is noticeable in my daily usage too.
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] Ace42:
If you're concerned about ads why haven't you tried adhell?
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] OffDatGoGo:
Thanks. Didn't know about AdHell. I quickly learned of SABS too. I'll be looking into both very soon.