yashsingh1/xdaforums huggingface dataset:
[Magisk] houston_:
I know, your post is nearly a year old ...

But I found is by using google :)

I want to get rid of entering my code every restart...

How can I decrypt my phone, so it will boot up without asking for my code? And then I check or uncheck the force encryption? (I think I have to uncheck it.. But I miss a step since it still ask for the code)
[Magisk] cubandanger05:
Latest magisk zip 14.6 beta wont allow modules to be installed. Error says it can't extract zip file. I've tried clearing app data, reinstalling magisk and latest apk, but had to revert back to 14.5 to be able to get my modules back. Running OP5T stock oos
[Magisk] मंदार राऊत:
App force stop while using magisk

Device lenovo a6010 os RR5.8.3,ihad try 2 to 3 including latest magisk version all work well only problem is many installed app get force stop is their any solution
[Magisk] Artim_96:
I think you have to wipe /data and flash Magisk with force encryption off of course. But I'm not sure.

But first you should check if that behaviour can be turned off. On my Moto Z play it asked me when seeing up the lock screen method if I want it to ask for it on startup. So you would just have to switch unlock method and switch back and deny that question
[Magisk] ^subash^:
For those who have tez problems, just update to magisk 14.6 and 5.5.0 manager . (Maybe also use hide magisk manager option).
[Magisk] DodoGTA:
Magisk Hide can have certain side-effects on some devices/ROMs or in some cases
[Magisk] Didgeridoohan:
Logs would be nice... Logcat, Magisk debug log (in /data/adb), recovery log, etc...

Logs would be nice... Logcat, Magisk debug log (in /data/adb), recovery log, etc...

Logs would be nice... Logcat, Magisk debug log (in /data/adb), recovery log, etc...

Look for "Apps are force closing" in the troubleshooting guide. If that doesn't work, see my reply to the users above...
[Magisk] Didgeridoohan:
That setting is only useful when installing Magisk, it'll reset when you open the Manager, because it notices that your device is encrypted...

But, on that note: are you absolutely positive that your device isn't encrypted?
[Magisk] bagajohny:
New magisk manager update solves the issue with tez app
[Magisk] Didgeridoohan:
[MENTION=5150393]_alexndr[/MENTION]

https://github.com/topjohnwu/Magisk/commit/1472dbb2918bbd607a609df6989d0ceb34c33049
[Magisk] chubby65:
Same happens here I'm not encrypted but box is still checked
[Magisk] akpe:
Yup, I'm not encrypted, is there any way I can troubleshoot this further?

Here's the magisk log just in case it's useful, I opened it right after I tried disabling the setting: https://pastebin.com/dUMGDnSr

In my ROM tweaks there's a setting (SE Linux Permissive) which enables to run SE Linux on permissive. However it has always been enabled and I didn't have this issue with previous Magisk Manager versions, so I guess it's unrelated.
[Magisk] Fild5x:
Ignore this
[Magisk] biggdevon:
It appears my Magisk Manager is updating correctly (getting notifications and installing successfully) but Magisk itself still says latest version is 14.0 and 14.2 installed.

Any ideas?
[Magisk] Didgeridoohan:
You're on the stable update channel where v14.0 is the latest release. If you want something else, change update channel in the Manager settings.
[Magisk] BurnedDrake:
14.0 is latest stable and and everything above at this point is beta
[Magisk] _alexndr:
Thanks, I didn't know that. I always buy Samsung devices which always differ.. :silly:

Great! Thanks for the info, thanks [MENTION=4470081]topjohnwu[/MENTION] :good:
[Magisk] Daman5202:
Latest magisk stable version 14.0 says /data/magisk isn't setup correctly.

I can't install any module due to this error :(

Log :

- Copying zip to temp directory - Installing ViPER4Android_FX_for_Magisk_v14+-v4.0.zip - Mounting /system, /vendor, /data, /cache ***********************************

! /data/magisk isn't setup properly! ! Please install Magisk v14.0+!

***********************************

Failed! !

Installation failed

EDIT: Issue Solved after flashing latest magisk beta 14.6
[Magisk] eliezerjk90:
I can also confirm the same behaviour.
[Magisk] f3bandit:
Is there a way to patch a custom kernel. Like emotion kernel on the note4?
[Magisk] Watanabe_You:
If you mean using Magisk on a custom kernel then yes.
[Magisk] yaya1889:
I have a issue with my Huawei Mediapad M3 lite 10. After the Update to Magisk Manager 5.5 (the newest Version) the Phone doesnt discover the sim card. Only chance is a Factory to make the sim card working again.
[Magisk] RivolverOcelot:
Can I modify a system file conveniently?I have to reboot to recovery mode when I need to modify /system/etc/hosts. or init.d/*

echo >hosts
sh: can't create hosts: Read-only file system

df hosts
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/sde20 2983632 1035448 1948184 35% /dev/magisk/dummy/vendor/lib/soundfx
mount -o remount,rw /dev/block/sde20
mount: '/dev/block/sde20' not in /proc/mounts
mount -o remount,rw /dev/magisk/dummy/vendor/lib/soundfx
mount: '/dev/magisk/dummy/vendor/lib/soundfx/' not in /proc/mounts

I tried this:

mount --bind /data/home/hosts /system/etc/hosts

the hosts file was covered indeed,but it doesn't work,I can't even resolving localhost and ip6-localhost.
[Magisk] DodoGTA:
Enable "Systemless hosts" option in Magisk Manager
[Magisk] marbertshere:
Thanks for the help everyone. I have an issue with Magisk Manager not updating. I flashed 14.6 in TWRP and everything seemed to go fine except Magisk Manager didn't appear in the app drawer. I had to install an older version to get it working.

Anyway, I tried updating through MM and I tried extracting the APK from the Magisk zip and installing it, but it just says "app failed to install" (in the package installer screen).

How can I troubleshoot this? Thanks in advance.

TL;DR: I'm on beta 14.6 but I can't update to Manager 5.5.0. Just says "package failed to install".
[Magisk] Sytis:
Small question: I own a device which has no root solution or recovery so far (it's an Android TV), so I tried rooting it with Magisk. Therefore I wanted to directly patch the boot.img which I acquired from the firmware zip and know comes my problem: the file is not an image an .img.zip that I'm not able to decompress. Magisk won't allow me to patch this kind of file as expected. Looking into the updater script from my firmware file doesn't really help either as it just calls some kind of method to transform the .img.zip into a .img file. Does someone already had this issue (I was unable to something like this) and maybe knows how to resolve this?
[Magisk] Badger50:
Are you on the beta channel in magisk settings?
[Magisk] devsk:
HTC U11+ - OTA failed after Magisk

I took the option of installing magisk by patching the stock boot image originally. So, I did not touch system or recovery partitions, just flashed the modified stock boot image and I was using the system fine. Then, came the OTA. I flashed the stock boot image back using fastboot and tried to install the OTA. It failed at about 24% and booted me back to the original ROM without the OTA.

So, the question here is why am I not able to take OTA on U11+? Note that this is U11+ which came out with Oreo out of the door. Which means that it has Treble partitioning scheme. Could this be the reason?

Or is it because Magisk is still touch system partition in a some ways? I had the systemless hosts checked.
[Magisk] Didgeridoohan:
Uninstall any installed Manager. Might even have to run the following from a computer:

adb uninstall com.topjohnwu.magisk

After that, install the Manager from the release thread or from the Magisk zip.

Magisk doesn't normally touch /system or /vendor, but any root app you have installed might have. Just mounting /system as rw is enough...
[Magisk] devsk:
That's interesting....I thought it was not possible for any root app to touch the system stock partition. I thought the way Magisk did system-less system was to mount /system as an overlayfs of the original /system in read-only mode and a file backed loop device based read-write partition for storing the changes made to /system. That would be the most straight forward method to disallow any changes, even by root, to the stock system partition.

Why do we allow any app to touch stock /system partition when we have a full control over the system and we have overlayfs? This seems to be a serious issue. How do I tell which app touched the stock /system partition?
[Magisk] DiamondJohn:
SU is SU.

My understanding is that any app with root access (ie SU) has the ability to run shell commands under su which would enable mounting /system as r/w and thereby change the contents. Magisk allows changes that would normally require changes to the system partition to be performed without having to modify the system partition. ie choice, not a complete stopper.
[Magisk] marbertshere:
Yes, I am.

---------- Post added at 02:08 AM ---------- Previous post was at 02:02 AM ----------

I didn't mention it but I did actually start from scratch by uninstalling the manager and flashing the uninstaller zip. But I'll the ADB method. Thanks.
[Magisk] RivolverOcelot:
Thanks much!!I had not seen this option.
[Magisk] DodoGTA:
Something new is coming tomorrow (On Christmas, by the way)... :p
[Magisk] devsk:
That's not how it is supposed to work. The mount point /system should not be pointing straight to the physical system partition (sda5 on U11+) that the operating system sanity checkers check for. The mount point /system should point to a virtual filesystem using overlayfs, and it should be an amalgamation of system partition (sda5) mounted as read-only and a separate loop device keeping track of the writes going into /system mount point.

In this method, if some app did 'mount -o remount,rw /system', it will not write anything to physical system partition (sda5) because /system is rw already.

That's how it should have been implemented by magisk but it looks like /system does point to /dev/block/sda5, the actual physical disk being checked by checkers. Hence if some app does 'mount -o remount,rw /system' temporarily, sda5 is hosed. [MENTION=4470081]topjohnwu[/MENTION]: if you are reading this, please explore the above overlayfs option.
[Magisk] Clark789:
Hello,

i just updated my OP3T from Nougat to Oreo and i installed Magisk 14.5. After everything works, i installed Magisk 14.6 (after i changed to the beta channel). But now after every restart, i have to "allow" all Superusers (BetterbatteyStats, Boeffla Config) new. Sometimes the Superusers are not stored in the Magisk Manger (ver. 5.5.0) and i have to allow them again and then they are stored in the Manager. It's a little bit annoying... Any clues???

Regards and Merry Christmas!

Clark
[Magisk] Didgeridoohan:
Database issue... Try uninstalling the Manager (do it in the app, click Uninstall and then Uninstall App) and reinstalling it (you find the apk for download in the release thread).
[Magisk] dev_freak:
Safety net doesn't pass on my OnePlus One with Tuga Power ROM
[Magisk] kiwigi:
Thanks@ topjohnwu

Absolutely brilliant work from topjohnwu and team and nice Xmas precie for me!

It worked straight off on stock room and kernel.
[Magisk] DawoodSahi:
I flashed magisk v14.0 on my galaxy s6 edge plus (sm g928t). Works perfectly but now when I flash the uninstaller, the phone goes on bootloop
[Magisk] HampTheToker:
I have an issue with Magisk Manager. I'm on Magisk 14.0 with MM 5.4.0 on my OnePlus 3T Open Beta 15 (7.1.1 Nougat). The last 3 releases of MM have installed fine, but they fail to open and I lose root. Everything works fine again after reinstalling MM 5.4.0. Not sure what's going on here.
[Magisk] Spartacus500:
Magisk uninstaller does not restore the stock boot, you need to restore the stock boot backup, and the system will get up.
[Magisk] krijso:
Can you help me can not install Magisk on Galaxy S8 Android Oreo 8.0
[Magisk] yochananmarqos:
The boot.img is backed up when Magisk is installed and restored when it's uninstalled.

Either way, he should indeed try flashing his stock boot.img as the first troubleshooting step.
[Magisk] walid77dz:
Hi,

not working for LENOVO VIBE C2, any help please.

Here is the log installation and my boot image:
[Magisk] Bananosfank06:
Hello I'm having a strange problem with Magisk 14.5. Im using a Xiaomi Mi A1 (with the December update, if that matters). If I grant an app superuser rights for forever, it "forgets" the rights after a couple minutes or a restart. In the Magisk app, the superuser tab is empty, and the superuser logs don't show anything. I'll try to downgrade to 14.4, maybe that'll fix it.

Sorry for my bad english, and thanks in advance :)

Edit: Downgrading fixed it :)
[Magisk] DawoodSahi:
Downloaded the firmware, extracted the boot.img, uninstalled magisk, flashed boot.img, reboot and still loops while magisk is uninstalled. Boots fine when I install magisk 14.0/14.3/14.5. Gets stuck on T Mobile screen on 14.6.
[Magisk] Mikee_L:
Hey, I'm using a Nexus 4 that was previously rooted with SuperSu. I unrooted and had it back to exactly how it was out the box and I was passing safetynet tests. I installed TWRP, created a backup and rebooted. I then installed Magisk Manager, loaded TWRP and installed magisk. The Manager app loads and I am rooted but it now shows that I am failing Safetynet.

Magisk tells me:

ctsProfile: false basicIntegrity: false

a different app tells me:

Safety Net Request: success

Response signature validation: fail (Response payload validation failed)

It is running Android 5.1.1

Anyone know how I can fix this?
[Magisk] Didgeridoohan:
Try v14.6 beta instead.

I'm pretty sure that the Linux kernel on the N4 is just too old to support MagiskHide. It needs to be version 3.8+... Not much to do I'm afraid.
[Magisk] eliezerjk90:
Install safetynetfix module. It should work.
[Magisk] Didgeridoohan:
Doesn't matter if the kernel doesn't have mount namespace support. See my reply above...
[Magisk] Pkt_Lnt:
Uh, no, no it won't due to old kernel. This was posted just above your post.

https://xdaforums.com/showpost.php?p=74957486&postcount=21411
[Magisk] DodoGTA:
Update:

The new thing will come tomorrow (December 26th)

Note: I'm sorry for the delay :p
[Magisk] nathanchance:
What new thing is this?
[Magisk] elfasg73:
root lg k10 2017 m250e???

Hi

I have a question

is it possible to use magisk manager to root lg k10 2017 m250e???

this program needs the stock boot image file in .img format

I extracted .kdz file and finally I get to 3 files

boot.bin

aboot.bin

abootbak.bin

after some searches I found that if I rename .bin to .img ican use the image

but now the main questions are:

1-which of these boot images are the main image for using in magisk manager??

2- Can I use latest version of magisk manager for rooting?
[Magisk] DodoGTA:
Hint: It's not the heavily modified unofficial Magisk build I really want to release (And I even made a conversation with [MENTION=4667597]Didgeridoohan[/MENTION] on Telegram about it)

Hint 2: You should definitely go back to the post by [MENTION=3341206]olivercervera[/MENTION]
[Magisk] Didgeridoohan:
That was you!? :eek: Why did you act like we'd never had any contact before? Dude... Now you're just being creepy...
[Magisk] devsk:
superuser seems to be broken in 14.6. If you disable it for an app, it permanently gets disabled. You can not enable it back. Sometimes, randomly, superuser forgets all apps ("No apps found" under SuperUser tab). It all worked very neatly in 14.5.

Edit: This got fixed with the MM 5.5.1 released just now.
[Magisk] baalzebuub:
Anyone tested 15.0v for timezone issue by the way ?
[Magisk] lywyn:
On LG G5 H850 Unlocked Bootloader. Flashed and the Magisk app works and phhSuperSu does allow root access to apps.

But Systemless Xposed does not work. Tried using the app but it downloads to internal data, moved zip to external SD. In TWRP recovery installed zip and rebooted. App still says Xposed no installed.

Also tried Viper Driver flash and app says not driver.
[Magisk] alexpower:
Only support 5.0+

Magisk will not operate below 5.0

Gesendet von meinem HTC 10 mit Tapatalk
[Magisk] IamIrene:
Hi everyone, so I done flash magisk even with xposed framework on my Samsung Galaxy Note 4 (N910C - Exynos processor)

so far don't have any issue, but how come I can't play Pokemon Go ? already off the toggle but the game still detects me I'm rooted, what wrong ??
[Magisk] mat1jaca:
Hello, I am looking into rooting my SM-J320F (Samsung Galaxy J3 2016) with Magisk, and I am a bit scared about flashing it to my device. I already have TWRP installed to my phone with Stock ROM. Is there any reason for Magisk to brick my phone when I'm flashing it, possibly because of incompatible CPU??
[Magisk] ataraxist:
Install safetynet playground to check. If fail, it means your device is nor properly installed.

https://play.google.vcom/store/apps/details?id=com.cigital.safetynetplayground
[Magisk] Shinegod:
I have a Sony Xperia Z2 pre rooted rom Marshmallow...Anyone has tried Magisk on Sony devices and can tell me if it works?
[Magisk] Mudvayne622:
Ok I'm new to the whole Magisk thing and just want to be able to use Android Pay(finally!) and Pokémon Go on my rooted device. So my question is, can I still use a custom Rom with Magisk? I'm currently running AICP on my Nexus 6 and would like to continue to do so. Sorry for being a noob with Magisk.
[Magisk] Syoenth:
Well, I found it that even if I install the Magisk version of phh superuser on recovery the zip really don't root my phone, I tried to use Root Explorer, but it say my phone isn't rooted, any solution for this? I'm using Beanstalk ROM on a Samsung S3 I9300
[Magisk] TapioH:
Magisk does not work on Xperia devices .That's most likely due to different kind of recovery architecture. Atleast i think so, because the custom recoveries are installed on FOTAkernel partition. But i don't know. I guess some dev could take a look into this and try to create a fixaround for Magisk related to Sony devices.

---------- Post added at 02:18 PM ---------- Previous post was at 02:18 PM ----------

Did you remember to install phh superuser from playstore?
[Magisk] rockerdudelive:
I've been messing with kernels and I still do not have any sensors other than gps. no acceleratoramoter (my screen will no longer rotate etc.)

I'm on n900t on temaseks cm13 rom. I did get magisk to work for anyone wondering. I just don't have my sensors. here are my logs. maybe they will help
[Magisk] Captain_Throwback:
Can you grab a logcat as well?

EDIT: And post your boot.img, both the modified one after Magisk patched it and the stock one from pre-flash, and recovery log if possible.
[Magisk] TapioH:
It should work, just remove all existing SuperSU files and then install systemless phh root in OP
[Magisk] Syoenth:
I did, and nothing :'(
[Magisk] Captain_Throwback:
Not seeing any logs...:rolleyes:
[Magisk] KaMyKaSii:
In any boot on my device screen appears "starting apps" without any optimization, so far so normal. But after giving some reboots, one of them randomly screen appears "optimizing apps x of y", and everything is done very fast, and as Android starts appears that some applications stopped working [Facebook, Messenger, Groups (yes I saw a pattern in it)] and no matter what I do, they do not open. The Xposed also turns off when this happens and I lose root access too (Phh's SuperUser). Only at the next reboot everything returns to normal, but after optimizing all apps again (and now real, as it takes +15mins). So I think the dalvik cache of some applications randomly are corrupted. Does anyone else have the same problem?
[Magisk] ZabiGarma:
Question, how would I perform OTA updates without losing root once I have Magisk+phh's SuperUser?

Thus far, I simply downloaded the factory images package and flashed it with FlashFire.

Considering FlashFire will reroot the phone with SuperSU, I'm not sure it'll work once I'm rooted with Magisk+phh's SuperUser.
[Magisk] raleva:
I have a problem, i have install everything on my lg g4, but when press the toggle to unroot it didnt do anything, and i have granted permission with phh superuser.

Why my phone wont unroot?
[Magisk] joaosa2000:
I installed this and it was successful although i couldnt switch off root. i have Oneplus One ressurrection remix 6.0.1

i tried uninstalling ,magisk(since it was useless) but i got stuck in a boot loop
[Magisk] Meloferz:
Anyone can confirm this? Also is available advance stock kernel for Xperia Z2

Enviado desde mi D6503 mediante Tapatalk
[Magisk] npatelli:
Same issue. I can play Pokemon with xposed uninstalled, but as soon as I install it, the game blocks me :/
[Magisk] tomaasz:
Is it any fix of data mounting issue on Oreo beta S8 in new 15?

Wysłane z mojego SM-N950F przy użyciu Tapatalka
[Magisk] Shtiff1:
Version 15, Manager 5.5.1 seem to install good on XT1254, 6.0.1, stock rom. I was just checking all tabs and etc.... When looking at logs I saw two errors, wondering if they are of any concern?
[Magisk] spiritflare01:
CTS Profile false

Guys

I flashed lineage 14.1 on moto g5 and gapps. Booted fine and working. Copied no-verity-opt-encrypt-5.1.zip and magisk 14.1 to SD and booted in twrp. Flashed no-verity , success. Booted to recovery right after and flashed magisk, no problems.

When I load magisk manager it asks me to upgrade from 14 to 15 which I did.

When I run safety check it says:

Basic integrity: true

Cts profile: false

Any ideas? Should I restart and reflash?

Note: I didn't format data as I don't have an external SD and did not want wipe out the OS and where I had stored both the zip files.
[Magisk] Alucard:
Hello i flashed magisk on umi super android 7 rom but after flashing the phone boots up to a screen that says about encryption,what is that and how to solve it so that i can use magisk?
[Magisk] Mar-cel:
Format userdata
[Magisk] MPeti1:
I've just updated the manager and wanted to update magisk. When i choose direct install the flashing has started but the app crashed. It seems it ran out of memory. Could you please release a hotfix? I have 3 gb of ram so this bug can be serious

Here is the crash log:

java.lang.RuntimeException: An error occurred while executing doInBackground()

at android.os.AsyncTask$3.done(AsyncTask.java:309)

at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)

at java.util.concurrent.FutureTask.setException(FutureTask.java:223)

at java.util.concurrent.FutureTask.run(FutureTask.java:242)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

at java.lang.Thread.run(Thread.java:818)

Caused by: java.lang.OutOfMemoryError: Failed to allocate a 134209548 byte allocation with 16777216 free bytes and 114MB until OOM

at java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:91)

at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:201)

at com.topjohnwu.crypto.ByteArrayStream.readFrom(Unknown Source)

at com.topjohnwu.crypto.ByteArrayStream.readFrom(Unknown Source)

at com.topjohnwu.crypto.SignBoot.verifySignature(Unknown Source)

at com.topjohnwu.magisk.asyncs.InstallMagisk.doInBackground(Unknown Source)

at com.topjohnwu.magisk.asyncs.InstallMagisk.doInBackground(Unknown Source)

at android.os.AsyncTask$2.call(AsyncTask.java:295)

at java.util.concurrent.FutureTask.run(FutureTask.java:237)

... 3 more
[Magisk] Alucard:
I did via twrp but still it opened up to the same encryption page.
[Magisk] Mar-cel:
You mean this page?