How to Downgrade kernel version of Lineage os 17 - Xiaomi Redmi S2 Questions & Answers

Hey all, so I iflashed lineageos 17 4.9 kernel by mistake. It slightly heats up my device .
Can I downgrade to 3.18 safely?
If so, how??
Safe to dirty flash this?
https://forum.xda-developers.com/redmi-s2/development/rom-lineageos-17-1-t4042045
One more question:
Some of my apps shows root detection with 4.9 version then crashes but I haven't rooted.
I tried a lotta methods: flashed magisk uninstaller, flashed installer then uninstaller and even use magisk hide feature with magisk installed but none works. Is this because the ROM that I'm using is in Testing Phase? Also it shows SE Linux disabled.
https://forum.xda-developers.com/redmi-s2/development/rom-lineageos-17-1-t4103145
Sorry for not looking properly into description, I'm new to all this stuff

Do clean flash or u can try other roms with 4.9 kernel other rom dosent have this prblm

mohitdabas07 said:
Do clean flash or u can try other roms with 4.9 kernel other rom dosent have this prblm
Click to expand...
Click to collapse
Sorry for late response, i clean flashed n and switched to Cs 3.18, but thanks anway.
So far im liking the os. There is one problem though, Root detection in certain apps problem still persists even though device not rooted. Anyway to solve this problem?
Thanks.

sk971 said:
Sorry for late response, i clean flashed n and switched to Cs 3.18, but thanks anway.
So far im liking the os. There is one problem though, Root detection in certain apps problem still persists even though device not rooted. Anyway to solve this problem?
Thanks.
Click to expand...
Click to collapse
Root it by magisk and use magisk hide

mohitdabas07 said:
Root it by magisk and use magisk hide
Click to expand...
Click to collapse
Ok, i flashed magisk 20.4, then installed magisk manager 7.5.1 and from settings activated Magisk Hide, but root detection still occurs and app crashes after that.
IDK why?
Tapping on safety net check stats on magisk manager shows both ctsprofile n basicintegrity to "true".
Do i have to encrypt my phone to fix this problem? Its disabled atm.

Related

Anyone else's stock US U11 fail SecureNet safety check out of the box?

My device is failing and as a result I am unable to setup Android Pay. Is anyone else seeing this on their phone?
Same issue
I'm rooted with Magisk and I pass.... so that's very odd
Just got an OTA that fixed it.
tw1tch175 said:
Just got an OTA that fixed it.
Click to expand...
Click to collapse
Sprint or unlocked U11 ?
I guess unlocked to get an OTA this fast...
Howling Wolf said:
Sprint or unlocked U11 ?
I guess unlocked to get an OTA this fast...
Click to expand...
Click to collapse
Yeah, unlocked. It seemed like a day zero ota that rolled out a bit late, it didn't update my monthly security but after it I had an update to my headphone dac and Assistant app.
heslo.rb26 said:
I'm rooted with Magisk and I pass.... so that's very odd
Click to expand...
Click to collapse
How did you do it? I flashed TWRP and Magisk, and then flashed the stock recovery, and I am failing safety net...
HTCdev to unlock bootloader
Flash TWRP
Flash Magisk
Boom, pass SafetyNet no worries
EDIT: Just read Google has passed an update to SafetyNet and it no longer passes with Magisk V12. Apparently V13 fixes this, will flash soon and report back
heslo.rb26 said:
HTCdev to unlock bootloader
Flash TWRP
Flash Magisk
Boom, pass SafetyNet no worries
EDIT: Just read Google has passed an update to SafetyNet and it no longer passes with Magisk V12. Apparently V13 fixes this, will flash soon and report back
Click to expand...
Click to collapse
Let us know
ticklemepinks said:
Let us know
Click to expand...
Click to collapse
Currently not working for me but I didn't flash the stock boot.img before I flashed the new Magisk so that is probably my issue there. Don't really have the time to mess with it currently so it will have to wait. If anyone else manages to get it working, feel free to update us
EDIT: Got off my ass and uninstalled Magisk, flashed the original boot.img and removed the Magisk Manager. Then I restarted the handset and flashed the Magisk v13 beta.... Pass SafetyNet checks no worries!
heslo.rb26 said:
HTCdev to unlock bootloader
Flash TWRP
Flash Magisk
Boom, pass SafetyNet no worries
EDIT: Just read Google has passed an update to SafetyNet and it no longer passes with Magisk V12. Apparently V13 fixes this, will flash soon and report back
Click to expand...
Click to collapse
I figured that out last night too after spending an hour wondering what I did wrong. Enabling Core-only mode on v12 also works, but you get no modules which is kind of pointless. I will try flashing V13.
EDIT:
Just flashed V13, and it still doesn't work.
@heslo.rb26 How did you get it to work?
ryanyz10 said:
I figured that out last night too after spending an hour wondering what I did wrong. Enabling Core-only mode on v12 also works, but you get no modules which is kind of pointless. I will try flashing V13.
EDIT:
Just flashed V13, and it still doesn't work.
@heslo.rb26 How did you get it to work?
Click to expand...
Click to collapse
Uninstalled Magisk
Flashed the stock boot.img
Rebooted and uninstalled Magisk Manager
Back to Recovery and flashed the new Magisk
.....
Profit
heslo.rb26 said:
Uninstalled Magisk
Flashed the stock boot.img
Rebooted and uninstalled Magisk Manager
Back to Recovery and flashed the new Magisk
.....
Profit
Click to expand...
Click to collapse
I think it might have failed because I flashed a module. Don't think you can do that in the current beta and still pass the new safety net.
That could very well be the issue, currently only using Magisk for root, no modules
I had SafetyNet working with v12 but then on the next reboot it failed. I upgraded to Magisk v13 and again it worked for one reboot. Also looks like the OTA is for unlocked models only (not Sprint)... anyone got any others ideas?

SafetyNet Check in magisk failing

I have a rooted OP6 on 5.1.9. An app I want to use (blind) can somehow detect the fact that I'm rooted and won't let me use the app despite root being hidden from it in Magisk Hide. Upon investigating, I discovered my SafetyNet check in Magisk is failing.
It worked when I originally rooted it a few days ago. I do not have custom recovery or xposed.
Any ideas why safetynet check could be failing or how to go about troubleshooting it?
quantumcity said:
I have a rooted OP6 on 5.1.9. An app I want to use (blind) can somehow detect the fact that I'm rooted and won't let me use the app despite root being hidden from it in Magisk Hide. Upon investigating, I discovered my SafetyNet check in Magisk is failing.
It worked when I originally rooted it a few days ago. I do not have custom recovery or xposed.
Any ideas why safetynet check could be failing or how to go about troubleshooting it?
Click to expand...
Click to collapse
I had the same problem I uninstalled Xposed framework rebooted now the the safetynet check is Ok
airdi1 said:
I had the same problem I uninstalled Xposed framework rebooted now the the safetynet check is Ok
Click to expand...
Click to collapse
As I mentioned in the post, I do not have Xposed framework
quantumcity said:
I have a rooted OP6 on 5.1.9. An app I want to use (blind) can somehow detect the fact that I'm rooted and won't let me use the app despite root being hidden from it in Magisk Hide. Upon investigating, I discovered my SafetyNet check in Magisk is failing.
It worked when I originally rooted it a few days ago. I do not have custom recovery or xposed.
Any ideas why safetynet check could be failing or how to go about troubleshooting it?
Click to expand...
Click to collapse
What version of Magisk did you flash? Flash Magisk 16.4 only. Older versions don't support the OnePlus 6 and flashing newer versions has caused many weird problems. Flash Magisk uninstaller, reboot to TWRP, then flash Magisk 16.4. Once it gets going it will tell you that it can update the Magisk version. Let it update that way. Flashing newer versions causes many weird problems bit letting it update always seems to work.
run the uninstaller magisk .zip then check if safety net passed, might be something unrelated?
im on 5.1.9 with SN passing with TWRP and Magisk
tabletalker7 said:
What version of Magisk did you flash? Flash Magisk 16.4 only. Older versions don't support the OnePlus 6 and flashing newer versions has caused many weird problems. Flash Magisk uninstaller, reboot to TWRP, then flash Magisk 16.4. Once it gets going it will tell you that it can update the Magisk version. Let it update that way. Flashing newer versions causes many weird problems bit letting it update always seems to work.
Click to expand...
Click to collapse
I have magisk 16.7
virtyx said:
run the uninstaller magisk .zip then check if safety net passed, might be something unrelated?
im on 5.1.9 with SN passing with TWRP and Magisk
Click to expand...
Click to collapse
How do I do that? Do you have a link to this zip?
quantumcity said:
I have magisk 16.7
Click to expand...
Click to collapse
Google "Magisk uninstaller". Flash that file in TWRP. Then reboot to recovery. Then flash Magisk 16.4
quantumcity said:
How do I do that? Do you have a link to this zip?
Click to expand...
Click to collapse
its in the magisk official thread.
virtyx said:
its in the magisk official thread.
Click to expand...
Click to collapse
Yes
So for me, the safety net check passes in the Magisk app but I am not able to access Google tez which tells me that my device is rooted or custom ROM has been changed. Using Magisk v 16.0
16.4... notice the 4
Just fyi I'm on 5.19 and using Magisk 16.0 and safety net passes just fine. Use Google pay daily and play store shows certified.
I hide everything Google related in magisk hide just to be sure
Eric214 said:
16.4... notice the 4
Click to expand...
Click to collapse
I know. What I meant is safety net passes everywhere except for Google Tez app. Don't know why!
I have attached the screenshots below. And I understand that I'm using Magisk 16.0
skr975 said:
I know. What I meant is safety net passes everywhere except for Google Tez app. Don't know why!
Click to expand...
Click to collapse
Do you have it hidden in Magisk? Google Pay works here if you hide it.
Okay, so I have uninstalled magisk, don't have root, and I still can't use google pay, install netflix, use my bank's app, etc.
No root, no magisk, no xposed, no custom recovery.
How can I figure out why all these apps won't work?
quantumcity said:
Okay, so I have uninstalled magisk, don't have root, and I still can't use google pay, install netflix, use my bank's app, etc.
No root, no magisk, no xposed, no custom recovery.
How can I figure out why all these apps won't work?
Click to expand...
Click to collapse
In playstore / settings are you uncertified? After unlocking bootloader I was and couldn't use Google pay. I flashed magisk and it was still uncertified so I cleared playstore app data. Now the phone says certified and Google pay works for me.
I suggest you flash 16.4 magisk and clear app data in playstore to see if you can get them working. Also you will need a different app than magisk manager to check safety net ATM as it will come back with "invalid response"
Sent from my OnePlus6 using XDA Labs

after each reboot, phone says; there's an internal problem with your device...

I used for a while HAVOC-OS, I completely cleaned my device then flashed Stock OXygen OS 5.1.11, so no TWRP and magisk on device but bootloader is still unlocked.
Next step, I temporrarely booted into TWRP 3.2.1.0-Enchilada.img, then installed TWRP 3.2.1.-enchilada.zip and also Magisk 16.7.zip. Phone booted fine, but I got a notification saying ( There is an internal problem with your device. Contact manufacturer for details). But the phone works fine, and the storage data is correct, but this notification appears after each reboot.
What did I do wrong ? and what should I do to make this notification go away, please let me know.
abati said:
I used for a while HAVOC-OS, I completely cleaned my device then flashed Stock OXygen OS 5.1.11, so no TWRP and magisk on device but bootloader is still unlocked.
Next step, I temporrarely booted into TWRP 3.2.1.0-Enchilada.img, then installed TWRP 3.2.1.-enchilada.zip and also Magisk 16.7.zip. Phone booted fine, but I got a notification saying ( There is an internal problem with your device. Contact manufacturer for details). But the phone works fine, and the storage data is correct, but this notification appears after each reboot.
What did I do wrong ? and what should I do to make this notification go away, please let me know.
Click to expand...
Click to collapse
Use Magisk uninstaller and then install Magisk 16.4. Let Magisk update from there.
tabletalker7 said:
Use Magisk uninstaller and then install Magisk 16.4. Let Magisk update from there.
Click to expand...
Click to collapse
Amazing, it worked ! thnx bro
abati said:
Amazing, it worked ! thnx bro
Click to expand...
Click to collapse
Now keep a copy of Magisk 16.4 on hand. It has always worked on OP6 and many other versions of Magisk cause weird problems. Just let the Magisk manager update things from here.
tabletalker7 said:
Now keep a copy of Magisk 16.4 on hand. It has always worked on OP6 and many other versions of Magisk cause weird problems. Just let the Magisk manager update things from here.
Click to expand...
Click to collapse
17.1 seems fine. I haven't had any problems with it. 16.7 was the culprit.
Barsky said:
17.1 seems fine. I haven't had any problems with it. 16.7 was the culprit.
Click to expand...
Click to collapse
Did you install 17.1 or did you let 16.4 update to 17.1? On the Oreo builds 16.4 was the only one guaranteed to work right, but I was on the Pie betas when I got my hands on 17.1
tabletalker7 said:
Did you install 17.1 or did you let 16.4 update to 17.1? On the Oreo builds 16.4 was the only one guaranteed to work right, but I was on the Pie betas when I got my hands on 17.1
Click to expand...
Click to collapse
This was a clean install of open beta straight to 17.1.
Barsky said:
This was a clean install of open beta straight to 17.1.
Click to expand...
Click to collapse
Yeah the OP installed 5.1.11. He is still on Oreo. He needs 16.4
hi. i have the same pop up msg after a clean install of 17.1 from here - https://forum.xda-developers.com/gr...om-lineageos-17-0-galaxy-grand-prime-t4034919. magisk was not preinstalled on this rom.
my phone specs - samsung galaxy grand prime
sm-g530h - A.P - XXS2BRLI
CP - XXU2BPB2
MSM - 8916
i tried removing assert line from udater script and reflashed ( clean install again). but the pop p appears still. any ideas how to get rid of it? thank you in advance.

Soft reboot after installing magisk modules. Phone is OOS latest stable & encrypted

Soft reboot after installing magisk modules. Phone is OOS latest stable & encrypted
Guys, I will never post a new thread to xda if I ain't doing research for at least 1 day and found a solution. But here I am, so please read this.
Just bought OP6 yesterday, updating to latest stable Pie OOS 9.0, unlock the bootloader, install blu_spark twrp, magisk 17.1 (but haven't install the modules at this point), then reboot just fine like my other magisk rooted phone. HAVEN'T DECRYPT my OP6 until this post.
Now this where it began. I install BUNCH OF MODULES, KEEP REBOOT TO TWRP and ASK FOR MY PASSWORD TO DECRYPT which I did with the pattern I set, and IT DECRYPT just fine. But when I try to REBOOT TO SYSTEM, IT KEEPS REBOOTING TO TWRP AGAIN . The way I fix this is to uninstall then REINSTALL MAGISK 17.1. BOOT JUST FINE, just minus that modules
I try to INSTALL just ONE MODULE, same things happen. The way I fix it is same as before.
Anyone has this same problem? Should I decrypt my phone with this tutorial https://forum.xda-developers.com/oneplus-6/how-to/test-decryption-t3818775 in order to have Magisk modules work?
bramhc said:
Guys, I will never post a new thread to xda if I ain't doing research for at least 1 day and found a solution. But here I am, so please read this.
Just bought OP6 yesterday, updating to latest stable Pie OOS 9.0, unlock the bootloader, install blu_spark twrp, magisk 17.1 (but haven't install the modules at this point), then reboot just fine like my other magisk rooted phone. HAVEN'T DECRYPT my OP6 until this post.
Now this where it began. I install BUNCH OF MODULES, KEEP REBOOT TO TWRP and ASK FOR MY PASSWORD TO DECRYPT which I did with the pattern I set, and IT DECRYPT just fine. But when I try to REBOOT TO SYSTEM, IT KEEPS REBOOTING TO TWRP AGAIN . The way I fix this is to uninstall then REINSTALL MAGISK 17.1. BOOT JUST FINE, just minus that modules
I try to INSTALL just ONE MODULE, same things happen. The way I fix it is same as before.
Anyone has this same problem? Should I decrypt my phone with this tutorial https://forum.xda-developers.com/oneplus-6/how-to/test-decryption-t3818775 in order to have Magisk modules work?
Click to expand...
Click to collapse
Maybe it's the modules your installing. ALOT of people have modules installed on this phone without this issue. Don't Decrypt data because it's not necessary.
yldlj said:
Maybe it's the modules your installing. ALOT of people have modules installed on this phone without this issue. Don't Decrypt data because it's not necessary.
Click to expand...
Click to collapse
Okay man. I just figured out some modules just don't work. Cause I can install Camera2Api and some kernel modules with Magisk.
Modules that always crash to install are James DSP, Audio Modification Library, and Viper4Android from official Magisk repo
bramhc said:
Okay man. I just figured out some modules just don't work. Cause I can install Camera2Api and some kernel modules with Magisk.
Modules that always crash to install are James DSP, Audio Modification Library, and Viper4Android from official Magisk repo
Click to expand...
Click to collapse
I'm using VIPER4AndroidFX 1.7.5 materialized just fine. I have magisk 17.2
yldlj said:
I'm using VIPER4AndroidFX 1.7.5 materialized just fine. I have magisk 17.2
Click to expand...
Click to collapse
Okay. Will try now. Thanks
EDIT: Confirmed. Viper4android works. Maybe it's James DSP that hasn't been updated to work with Pie. Cheers.

wifi(after rooting with magisk)

I can't figure out why my wifi won't work after rooting with magisk, I go into settings and turn on the wifi, and it either won't turn on, or settings crash entirely, please help
And to top it off, if I use adb commands to turn it on, arb crashes
What phone model do you have, and what version are you on? Did you flash the right modified boot image for your device? When I converted my phone to international my WiFi didn't work until I updated and patched the kernel in magisk. Try installing a custom kernel or if youre not updated try updating and follow a guide to keep root after update.
Is the modified boot.img only for the Tmobile variant or all? If its for all, i get some saying you dont have to do that anymore.
explosivequack said:
What phone model do you have, and what version are you on? Did you flash the right modified boot image for your device? When I converted my phone to international my WiFi didn't work until I updated and patched the kernel in magisk. Try installing a custom kernel or if youre not updated try updating and follow a guide to keep root after update.
Click to expand...
Click to collapse
I flashed the correct boot image, because the internet and texting service is still working, just not calling and wifi, i havent done anything with the kernel yet
Did you resolve this issue & magisk working as I have wifi & sim issues when installing magisk, when twrp & 10.0.4 is installed alone everythings fine, just with magisk the issues arise.
NHNXDA said:
Did you resolve this issue & magisk working as I have wifi & sim issues when installing magisk, when twrp & 10.0.4 is installed alone everythings fine, just with magisk the issues arise.
Click to expand...
Click to collapse
This may not be your problem, but when that happened to me I had forgotten to disable all magisk modules before installing an update. I had to restore from backup, disable all magisk modules, and reinstall the update. Then I was able to reenable the modules and everything was fine.
davidk21770 said:
This may not be your problem, but when that happened to me I had forgotten to disable all magisk modules before installing an update. I had to restore from backup, disable all magisk modules, and reinstall the update. Then I was able to reenable the modules and everything was fine.
Click to expand...
Click to collapse
Strangely I installed again & all worked fine, weird but true.
No modules installed but thanks for the reply anyway.
10.0.5 installed, now twrp kills wifi & network icons are a mess, reinstalling stock OOS fixes this, twrp can be installed but everytime it leaves with wifi not turning on & con mess.
Which inturn magisk wont work properly as twrp messed up the network side.

Categories

Resources