yashsingh1/xdaforums huggingface dataset:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Thanks! Hopefully you had/are having an amazing day!!

I'm not using NTFS storage devices, but anyway... trying.

Flashing like the same? Twice with FKM or EXKM?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ali.ali0770:
thank you for your work and i solve it by copy my backup to another drive and format the the first drive by phone and then restor the backup

thanks aloot for you ,, great kernel

---------- Post added at 11:14 PM ---------- Previous post was at 11:10 PM ----------

i forget to tell you its not big thing but in software info and kernel version its unavailable

thanks
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] apollo3x:
That's only the case with stock rom. And its a known thing.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Instructions can be found in the OP. If you’re already on my kernel, just flash it over and you’re fine. If coming from another kernel (stock included flash twice) ;)

Thanks, Easter was nice, even though the restrictions changed the way we all know it.

Exactly, but I wouldn’t call it “issue”. It’s just a small cosmetical glitch. :)

the kernel string is too long for asus rom. EXKM, FKM and similar apps will display it correctly :svetius:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Psych0t1c20:
Hey [MENTION=3428502]Freak07[/MENTION] I was wondering if you could add the kcal to the Android 10 kernels since the roms display colors aren't currently working.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] stiffis:
Hey,

I don't know if this is a "hardware" issue, or fixable in the kernel/ROM, but there is one thing that irritates me, and that is when battery is completely drained to 0% and the phone turns off, you can't just plug in the charger and turn it back on.. You have to wait for it charge 2-3% (at least for me.).

I have a "workaround" to either use the sideport, or do a forced reboot, but if the phone is still at 0% when booting up, the phone still just shuts down.. so, is it possible to fix that in the kernel? Not to turn off at 0% when charger is connected? My Samsung Note 8 and 9 didn't turn off at 0% (with charger connected ofc).. :D
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Krishan Avtar Singh:
Phone got hanged after flashing once and rebooting

Hello OP,

I am rooted and latest stable magisk is flashed. I am on Android 10 stable verion. I installed the kernel version 2.0.3 and flahed it using FKM once and rebooted the phone.

Phone got rebooted and when showing the homepage, it got hanged (i though it would be for a few seconds or may be a minute). But after a few minutes I turn the screen off by pressing the power button and now the screen won't turn on. Even it is not getting rebooted after keep pressing the power button (hard reboot). Connecting it to my laptop and the notification light is litting but the phone is not getting recognized. The ASUS logo is still glowing as I set it up long before flashing it.

Please guide me if I did something wrong. :crying:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
It´s not beneficial to both, health and longevity, of the battery to use your phone regularly with a nearly depleted battery. It´s probably a safety precaution from Asus to prevent possible damage over time for the battery.

I try to never drop below 15% on any of my phones.

hey, I don´t know what´s happening for you. Maybe a magisk module you installed is conflicting.

press and hold all 3 buttons simultaneously until you´re in the bootloader, connect your phone to the PC via the side-port and flash back the stock boot.img (will leave you unrooted on stock kernel) or the magisk-patched stock boot.img (will leave you rooted) via fastboot.

You can also try to fastboot boot twrp.img and dirty flash the stock firmware, if TWRP supports it (I don´t use TWRP personally).
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] stiffis:
Hmm, I know that, but it should be possible to boot up from 0% when charger is already connected.. for example in emergency situations..

So nothing to do in/with kernel?

I also try not to drop below 20%, but the battery does not (or shouldn't) take any damage draining from 100% to 0%, just wears a little faster, and will last a little longer if you keep battery between 20 and 80% ;)

One more thing.. After latest kernel-update, (2.0.3) Min. Cpu Frequency on Cluster 1, is stuck at 768MHz.. Can't change it down to 300MHz.. Tried both FX and EX kernel Manager, hmm :rolleyes:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Even if it was related to the kernel I wouldn´t modify this behaviour. But if that´s happening in case the phone is completely switched off, I´d say it is probably also tied to the bootloader. There´s presumably a good reason for this (contrary to Asus or any other OEM I don´t have the means to do any longterm or very broad field testing) and playing with non removable batteries is nothing I want to do.

The min freqs get set dynamically by the system and the kernel, based on input or different scenarios. You were never able to change it to 300mhz on previous versions as well. 2.0.3 was more of a preview/test kernel to fix NTFS and with some work in progress to fine tune boosting.

As you observed correctly this version changed the minfreq of the little cluster to 768mhz indeed, from stock 576mhz. The next "official" release will have it back at 576mhz.

But in the meantime it´s fine. It doesn´t consume more battery, but also doesn´t really provide any performance gain. (unlike 576mhz from 300mhz)

Just a rule of thumb: On more recent SoCs, don´t play with the frequencies. They are controlled by the power hal as well as partially by the kernel and get overwritten dynamically.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] stiffis:
Ok.

Hmm, I was able to use 300MHz on 2.0.0.. :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Hi guys!

Someone have flashed 'Universal GMS Doze' v1.7.7? Could oberwrite something related of the kernel? I just wanna know if it could be help to battery life or just nope [MENTION=3428502]Freak07[/MENTION]
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
I really don´t want to argue :) Even if you are able to set it, the powerhal should overwrite it at a certain point.

However there´s no benefit in doing so (setting the minfreqs to anything lower than 576mhz/710mhz/825mhz). the sd855 is designed by qcom to run at these minimum frequencies if the phone is idling.

However you´re free to set it, to whatever you like if it sticks.

You can change the minfreqs on 2.0.3 via:

sys/module/cpu_input_boost/parameters/cpu_freq_min_x (x being the cluster, little in your case)

I’d advise against magisk modules that alter play services functions or trying to restrict background usage. It often leads to unpredictable issues and does little to no good.

play services are integrated deeply into android, if they want to keep your device awake it will happen nonetheless.

Make sure to not install apps keeping your device awake during idle, don’t install every “crap” app you see floating around, be aware that every messenger, social media app or similar will add a bit to background usage.

Following that guidelines always helped me :svetius:

Sometimes a reboot all few days can clear an app or a service stuck in background.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] uriii13:
Wise words. Particular (and related to this) question: I'm using Instagram, Whatsapp and Telegram. Telegram and Whatsapp are intouchable, but if someone here uses Instagram... would you know how this affect to the battery?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Can´t answer that, only services of those that I use is telegram. But I usually just use the web version, when I´m on my PC :)
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Krishan Avtar Singh:
Hi, Thanks for helping mate. RIght now I flashed the magisk patched stock boot image and the system is working fine. I again tried to flash this kernel using FKM but again the same scenario. Also disabled some magisk modules but no luck. But for now, my phone is in normal condition thanks to you :) . I will wait for the next update of your kernel, maybe that will be flashed without any issue.:fingers-crossed:
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ali.ali0770:
hi

if there is update for the phone is there steps for update and keep the root and kernel ?

thanks
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
unfortunately I have no idea why it would not work for you. I don´t think the next update will change anything in your situation.

2.0.0 and higher is made for the latest stable Android 10 rom.

Did you make sure it wasn´t a bad download and md5 sum matched? It´s unlikely, but might be worth a look.

Remove all scripts tweaks and magisk modules you are using.

Make sure you´re on latest magisk stable.

Dirty flash the firmware.

you can´t keep the kernel if you update the firmware.

I can quickly type down how I do it:

Download the full firmware zip of the update to the root of your internal storage.

Now go to magisk manager, remove all modules and do a reboot. There should be a notification asking you if you want to flash the firmware update. Ignore for now.

Now inside magisk manager choose remove magisk, and then restore images.

After that´s completed choose to flash the firmware update. There will be a notification if you put the firmware.zip in the correct place.

when the firmware update is finished do not reboot!.

Go to magisk manager again, and choose "install". Afterwards "install to inactive slot".

Now do a reboot. You will boot into the updated slot with root being available.

Now you can start to add back your magisk modules if you use any, and lash my kernel.

Remember I need to update my kernel with the update source code from asus to work properly on the updated firmware. And you need to flash it twice again, because you started from stock kernel with verity intact.

If you´re interested in why it works that way, have a read at the following post from my pixel 3 kernel thread, where I explained it more in depth:

https://xdaforums.com/showpost.php?p=81453241&postcount=2554
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] ali.ali0770:
you can´t keep the kernel if you update the firmware.

I can quickly type down how I do it:

Download the full firmware zip of the update to the root of your internal storage.

Now go to magisk manager, remove all modules and do a reboot. There should be a notification asking you if you want to flash the firmware update. Ignore for now.

Now inside magisk manager choose remove magisk, and then restore images.

After that´s completed choose to flash the firmware update. There will be a notification if you put the firmware.zip in the correct place.

when the firmware update is finished do not reboot!.

Go to magisk manager again, and choose "install". Afterwards "install to inactive slot".

Now do a reboot. You will boot into the updated slot with root being available.

Now you can start to add back your magisk modules if you use any, and lash my kernel.

Remember I need to update my kernel with the update source code from asus to work properly on the updated firmware. And you need to flash it twice again, because you started from stock kernel with verity intact.

If you´re interested in why it works that way, have a read at the following post from my pixel 3 kernel thread, where I explained it more in depth:

https://xdaforums.com/showpost.php?p=81453241&postcount=2554[/QUOTE]

i root my device by flash the patch img by fastboot and then install the magisk manger

in your steps you said

(Now inside magisk manager choose remove magisk, and then restore images)

inside magisk do i get reatore images if i flash the stock one by fastboot when i first root ?

if i don't get it can i flash stock images by turn off the phone and then start the device chose remove magisk and complete the steps

sorry if i ask aloot

thank you
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Yes you should have the option to restore stock images the way you rooted.

Just press deinstall/remove inside magisk managers main view.

:svetius:

No idea how to fix it unfortunately. My car doesn’t have Bluetooth so I can’t test it.

Do you mean you can’t connect Bluetooth like the connection itself, or you can’t use media functions without unlocking the device?

Maybe it’s some additional security that was introduced by merging Linux upstream or CAF upstream.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CrisJavicr7:
my experience after two days of use with the kernel is not good if you do not have root the fan does not work the one that comes with the phone (a message appears saying use the phone fan) and if you have root there are problems when it is turned off and it turns on it is like the phone hangs up and you have to restart or reinstall the kernel you have installed everything clean without any application twice as it says in the description, I have to admit when the phone is working it runs smoothly but it is annoying the other day I was playing pubg and I was low on battery, I put the charger and it hung, I started it again and it was still hanging, I had to reinstall the kernel again to make it work.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Freak07:
Read the instructions properly. Step 2 says you need to be on the latest magisk stable. If you’re not rooted you didn’t follow the instructions. Root is needed when you’re using this kernel, so the kernel module for the fan’s driver can be systemlessly replaced.

I can switch my phone on and off with the fan attached just fine. There are no hangs for me.

Fan deactivates when the screen is off and activates when the screen is switched back on quite quickly.

Charging the phone while using the fan, is possible via both usb ports, it reports fast charging and there are no issues on my side.

This doesn’t sound like a kernel problem to me.

However some advice:

Make sure the stock firmware is installed properly. Remove all other magisk modules, scripts, tweaks and sounds mods.

Then follow directions in post number 2 and post number 3, how to report bugs properly.
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] Psych0t1c20:
[MENTION=3428502]Freak07[/MENTION] Do you take requests?
[ASUS ROG Phone II ROMs, Kernels, Recoveries, & Oth] CrisJavicr7:
If for that reason I did a clean installation and the last magisk if the fan works as I mentioned but the problem is that the phone hangs much and much more when it restarts
[Samsung Galaxy A50 Guides, News, & Discussion] redymedan:
Rooting Galaxy A50 Android 9 Pie with TWRP and Magisk ASL3 Firmware for December 1, 2019 Software Update

1. Make sure the bootloader are unlocked, OEM unlock option is grey

2. Enter Download Mode : Turn Power Off. Press and hold Volume Up key + Power Key, When Samsung Logo appears release Power Key only, keep pressing Volume Up key until Android Recovery Mode Appears. Select Reboot to bootloader.

Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!

3. Connect to the phone to computer

4. Flashing TWRP_3.3.1_A50_A505_ASK9_MAGISK_PATCHED.tar as AP in ODIN, then click start.

Magisk is now successfully flashed to your device! Several steps before you can properly use the device.

5. DO NOT SKIP THIS STEP! Press and hold Volume Down + Power Key, when the screen blank quickly press and hold Volume Up + Power key, when Samsung Logo appears release Power key only, keep pressing Volume Up key until TWRP Recovery Mode Appears.

6. Select Wipe -> Format data.

7. Copy multidisabler-samsung-2.2.zip to phone

8. Install multidisabler-samsung-2.2.zip

9. Select Reboot to Recovery

10. Setup the phone

11. Connect the phone to Internet wait for a moment, make sure OEM unlock option is grey

Install Magisk Manager. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device. Done!

Download:

Download Magisk Manager v7.4.0

Download TWRP_3.3.1_A50_A505_ASK9_MAGISK_PATCHED.tar and multidisabler-samsung-2.2.zip

NOTE: If you lost root after restart it, to root it again: enter TWRP recovery and reboot to RECOVERY

Watch this Video:

[YOUTUBE]https://youtu.be/KrH2hh4-nCw[/YOUTUBE]
[Samsung Galaxy A50 Guides, News, & Discussion] tungie17:
Works perfectly on ASK9, thanks!
[Samsung Galaxy A50 Guides, News, & Discussion] JABS_2109:
Hi I am on 4ASK1 this would work for me?
[Samsung Galaxy A50 Guides, News, & Discussion] redymedan:
It may be works, you can try it. I don't test all version of the firmware
[Samsung Galaxy A50 Guides, News, & Discussion] hammohammo:
I did all

But my device is keep restarting itself

But if i booted to system no problems happened but the root access lost
[Samsung Galaxy A50 Guides, News, & Discussion] jasoncardeira:
You have to downgrade magisk to the version 19.3 because the TWRP is patched with magisk 20.1 (unusable version for the a50)
[Samsung Galaxy A50 Guides, News, & Discussion] SuizShaw:
is there a compatible version of TWRP for the new released Android 10 A50 update yet?
[8125, K-JAM, P4300, MDA Vario General] TiGuy82:
Hi,

I have a QTek 9100 and I activate Wifi and log in to Live Messenger everything works OK, but if the phone goes standby the wifi disconnect and it log off my Live Messenger. How can I fix it?

I have WM6.1 Pro.

Regards,

Sergio

P.S.: Sorry for my bad english.
[8125, K-JAM, P4300, MDA Vario General] open_source:
despite the fact that my god dammned wifi is not able to establish a stable connection, it's normal, not a fault. GPRS stays connected, Wifi disconnects when switching to "stand by"
[8125, K-JAM, P4300, MDA Vario General] TiGuy82:
Is it possible to make it always connected even in standby mode?
[8125, K-JAM, P4300, MDA Vario General] charly_mx:
Well the only "fix" is that you tweak the power settings in order to prevent the automatic turn off of your device. However the energy consuption for maintainning the wifi on will make a full battery to be drain in 3~2.5hrs.

So i guess its not a good idea to have the wifi on.
[8125, K-JAM, P4300, MDA Vario General] TiGuy82:
Thanks for your information! Sometimes I need to have MSN logged in for about 1hour, I think is not so bad for the battery life time :)

How Can I tweak? Can you help me?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] LuK1337:
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Instructions :

Download the latest build and gapps

Reboot to recovery

Flash the latest build and gapps

Reboot

Downloads :

Builds : https://download.lineageos.org/natrium

Reporting Bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

XDA:DevDB Information

[ROM][OFFICIAL][natrium][10] LineageOS 17.1, ROM for the Xiaomi Mi 5s Plus

Contributors

LuK1337

Source Code: https://github.com/LineageOS

ROM OS Version: Windows 8 Mobile

Version Information

Status: Testing

Created 2020-01-01

Last Updated 2020-06-16
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] BigFatTony:
OpenGapps 10 are stable now!

Thank you, LuK! I'm enjoying LOS 17 already. Dirty flashing worked flawlessly.

To others who wanna try this ROM: OpenGapps for Android 10 are currently in beta and can be downloaded here: https://sourceforge.net/projects/opengapps/files/arm64/beta/

EDIT: OpenGapps 10.0 are not beta anymore! Download them on the ususal website: https://opengapps.org/
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] paranoia_gu:
Thank you, LuK!
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] NatriumLink:
Finally an Android 10 rom ver of LineageOS will try this later.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] hyymaidou:
Thank you very much, Luk, for another big step for the mi5s/plus!
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] S YILDIRIM:
Thanks a lot. You're keeping this phone alive!
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] TheJags:
Thanks a million, Luk :good:

Great way to start 2020 :cool:
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] TheJags:
Any issues...

Those who have installed this rom already, care to comment on any issues... also how's battery life? Thanks alot.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] BigFatTony:
Battery is similar as LOS16, haven't used it for long yet though!

Split screen is not working. Is anyone else experiencing this issue? #Edit: It's working, actually. It just works differently. Bug or feature?

Other than that, everything seems normal.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] TheJags:
Many thanks for the quick reply. Few questions please...

1, In your earlier post you said, "Dirty flashing worked flawlessly". So you just flashed this 17.0 over LOS 16.0 through TWRP, and then before rebooting, you flashed OpenGapps beta for Android 10 (that you have linked), right?

2, Any issues with Magisk 20.1 or 20.2 (if you have it installed)?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] BigFatTony:
1) Exactly.

2) I don't use Magisk, sorry.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] TheJags:
Thanks alot :)
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
NFC works?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] BigFatTony:
yep!
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] amosy33:
my wifi is not working
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] UsernameNotRecognized:
My wifi works fine so far.

The only issue I have is a force close whenever I try to open expanded desktop (Settings>Display), anyone else?

Not sure if ROM, but some other things crash too:

Digital wellbeing

Wallpaper (sometimes)
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] amosy33:
keep running into trouble with my wifi

could you tell me which Gapps you flash please?

I flash the stock
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
1. The face in lock doesn't appear in the smart lock menu(usually with this gapps package does)

2. I can't use any third app laucher with the gestures, and the stock one it is not modifiable enough

Someone can help me?

Edit. I'm using lawnchair 2, when I install a Gcam (every version) the launcher crash
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] hyymaidou:
When will mokee be available for android 10?

Lineage17 seems to be working well