yashsingh1/xdaforums huggingface dataset:
[Magisk] zgfg:
The phone is not rooted?

Did you really fully uninstall Magisk or just Magisk app (Magisk app is only the UI interface, like a manager)?

As I asked, make sure to pass Basic and Device Integrity by Play Integrity API checker (find on Playstore, you don't need Magisk to install from PlayStore and to test)

But you will not pass if your Bootloader is unlocked (uninstalling Magisk is not enough, you must not have custom ROM and you have to re-lock Bootloader)

Banking and similar apps first of all test Play Integrity - if you don't pass Play Integrity, do not expect your MitID would work
[Magisk] PieKnu:
Magisk is fully uninstalled. I usually have two boot images one stock and one rooted, which I swap around after needs. But I got to lazy and just went unrooted for a while now.

But good that u mention regarding Safety Net. I completely forgot about that part, that an unlocked bootloader makes it fail.

Thanks for your responses.
[Magisk] elvrik:
Hey!

OnePlus 7 Pro | Oxygen 10.3.7.

Please, tell me how to be :C

Magisk was installed, and the Magisk manager (canary) was hidden by a version a little newer than 24314, then it pulled me in the manager itself to click update it, as a result, when it started, there was an endless dash "Update Magisk to complete the installation. Continue?" , and there was no access to it. I deleted it (I didn’t look at the version), now which of the canary / beta / stable I don’t try to install, he doesn’t see any root rights for the phone, that is, it writes that Magisk is not installed. How to be in such a situation?

Also i ll could try to unistall Magisk in TWRP , but i dosent know what a version of Magisk i have rn to use Unistall.zip, and i saw same situation at other forums , but reinstall magisk in TWRP doesnt help , cos hidden version doesnt same as regular , and when you did it it ll look like a 2 magisk at the same time or doesnt work at all :C
[Magisk] J.Michael:
Read a thousand posts. If only to learn what words people use in this thread.

Did you ever have Magisk installed? Stop looking for a way to uninstall Magisk. Look for your hidden Magisk manager app and delete *that*. Try rebooting. That might install a stub app for you -- since you don't know what version of Magisk you installed, noone can tell you for certain what its capabilities are.

Try running "magisk --help" from a command prompt in a terminal window on the phone. That might tell you if you have Magisk installed, and what version.
[Magisk] diehard2013:
folks,

thanks for your advice.

downgrade from alpha to 25.2 was succesful. First, I installed the app (25.2) , then booted into TWR. Finally, I flashed the zip file of 25.2.

One detail I missed was the fact that both managers, alpha and stable, were running simultaneously. I was under the impression that the installation of the stable apk would replace/overwrite the running alpha apk.

I did not wipe the config.

/data/adb/magisk.db remained untouched.

thx again.
[Magisk] Spartacus500:
After today's TB checker app update from Google Play, the app is not working, any solution ?
[Magisk] zgfg:
Just updated TB Checker on two my phones (Canary and Delta), I have everything configured as previously (HMA, etc) and it still works for me (passing all, except Strong and Virtual Integrity - hence, all ok for me)
[Magisk] Spartacus500:
For me, the application does not open at all, as if it detects the zygisk process 🤷
[Magisk] zgfg:
DenyList, Magisk Hide module (find the link, etc, among previous posts)
[Magisk] pndwal:
After updating opened fine for me but on running Play Integrity Check I got:

... Cleared all app data... Seem to get more invasive (annoying) adds now, plus is this new?:

... Selected Don't Allow and ran Play Integrity Check again... All fine now... (Only strongIntegrity and virtualIntegrity red... All green for Root and Xposed checks.)

Suggest clearing data as seems updated app may not play nicely with old config data... PW
[Magisk] m0han:
Updated yesterday to v2.5.5.... after getting Play Store notification. After a while, just ran the app and everything was okay. (Cleared nothing.)
[Magisk] Spartacus500:
I did everything, TB checker still doesn't work, open error, I found this info in the Cat log 🤷
[Magisk] m0han:
But today, got a message saying 'app is not official'. Went to Play Store and updated again to v2.5.7.... All fine now. WTH!
[Magisk] pndwal:
Assuming Play Store is still working fine, are you running Hide My Applist, PrivacySpace or similar Xposed/Magisk modules?... Are you hiding Play Store in any templates, in 'apps invisible' or in other hide lists? PW
[Magisk] Spartacus500:
In HMA, I only have 2 apps hidden in the Google Play Store, Lucky Pacher and HManager, nothing else. I completely do not understand why after today's update of TB checker the application does not work at all, error open app ... Yesterday on the previous version it worked normally 🤔
[Magisk] pndwal:
I'm not clear what "hidden in the Google Play Store" means... As I asked, do you have Play Store itself in any templates or 'apps invisible' lists?...

Clearly from your screenshot, TB Checker can't find Play Store... That's why I suspected app hiding... May be some other mod setting or anomaly on your system also... PW
[Magisk] zgfg:
No ads with AdAway
[Magisk] martyfender:
I had a suspicion this was going to happen.

This was posted in the Delta Telegram group:
[Magisk] Spartacus500:
Now it sees google play store but TB checker still not working 🤕. It remains to wait for the next update, and if there is still an error open TB checker, it remains to completely remove Magisk root and check if this application will start working🤕. Unfortunately, I don't see any other option 🤷.
[Magisk] HippoMan:
Assuming that the TG message is not an April fool's joke ...

This would be very sad news! Magisk Delta seems to be the most reliable and functional version.

Because of the complexities and headaches involved with trying to use later versions of Magisk and Android, I have been holding off on upgrading beyond Android 11, where I can still run TWRP and Magisk 23.0. However, I have been considering going to Android 12 or 13, and Magisk Delta would have been my Magisk choice.

If this situation remains the same on April 2nd, I will have then lost my desire to upgrade.
[Magisk] zgfg:
Past midnight in Japan, Apr 2 - the post is crossed on TG👍
[Magisk] Nergal di Cuthah:
So april fools then? Lol odd joke.
[Magisk] J.Michael:
Please explain "2 apps hidden in the Google Play Store".
[Magisk] m0han:
What version of TB Checker do you have? v2.5.7.r289.a8dd9b9 seems to work fine.
[Magisk] Spartacus500:
The HManager app for the Huawei router and Lucky Patcher is detected as a malicious app in the Google Play store, so I hide these two apps in the HMA for the Google Play store.

I have installed exactly the same version as you, I have open TB checker error all the time... Something is blocking the application from starting, but I have no idea what.
[Magisk] Nergal di Cuthah:
Try without lucky patcher installed it's known to be a factor in root detection (i know it's in HMA but might still be an issue.
[Magisk] martyfender:
I have been visiting with an old friend who lives now in Florida today and didn't even think about the fact that it is indeed, April fool's day, lol!
[Magisk] ASIFPIAL:
Help me out please I already unlocked bootloader and installed custom rom (pixelplus ui), now just want to have root so how to do it?

after extracting pixel plus ui and payload dumper for my device I got no recovery img instead I got this files..image below :

so like what to patch and flash?
[Magisk] jons99:
the boot.img
[Magisk] karimo22:
hey can someone help me here ? is this still alive ?
[Magisk] karimo22:
hey guys i have this useless tablet (fast7 3g) i wanted to run some cammands on it of linux like pkg , curl , sudo , etc but it seems that its only working for shorter commands like service , mv . rm . ls .

i want to install python on it , and run some wireshark commands just like my linux can i do that or not ? i mean i have root access doesn't that mean i have the full access to the kernel hardware :)
[Magisk] dcarvil:
The commands you want to run are not linux kernel commands. You will need to install a linux environment, such as termux (install termux from F-droid, not from the play store). Once you install termux, you can use the pkg command to install curl, tsu (sudo), and other packages.

Android uses a linux kernel, but is not a full linux environment. Termux provides most of the linux environment.
[Magisk] karimo22:
oh i can see now ! okey i will do so thank u
[Magisk] WoKoschekk:
Each single command runs a binary (package) stored in /system/bin or /sbin. Before you can execute e.g. curl you must ensure that you have the coresponding binary (compiled for your CPU) installed in one of the above mentioned directories.

BTW: These dirs representing your shell (which sh).

Android comes with the most common binaries installed needed by the system itself. Particularly the binaries su and sudo are not part of the AOSP and require the installation of Magisk.

Termux, on the other hand, uses its own Shell and package manager. The tools pkg and apt offer you a wide choice of packages that are known from Linux. Also Python, Perl, Java and many more are supported.

Download:

Termux (v0.118.0) on F-Droid

Termux (v0.118.0, github version) on apkmirror
[Magisk] zgfg:
You need to install BusyBox Magisk module - it will install UNiX/Linux utilities (click to Spoiler to open the list):

Spoiler content hidden.

Termux or any other Terminal emulator is just that - terminal emulator where to run the commands but without BusyBox you have very limited set of pre-installed commands (incl but only some of those above)

You said that you already ran some commands - then you don't an additional Terminal emulator app (you can use the same emulator you already did) but install BusyBox from eg Alt Magisk Modules Repo:

Magisk Modules Alternative Repository

An alternative to Magisk-Modules-Repo with fewer restrictions. Now larger than the original! - Magisk Modules Alternative Repository

github.com

Or install Fox manager to more easily search through, download and install modules:

GitHub - Fox2Code/FoxMagiskModuleManager: A module manager for Magisk because the official app dropped support for it

A module manager for Magisk because the official app dropped support for it - Fox2Code/FoxMagiskModuleManager

github.com

For even more commands, install additionally ToyBox (some commands are common to both sets but to have all, install BB and TB):

Spoiler content hidden.

When you download the module(s) - zip file(s), use Magisk app, Modules tab, Install from storage to install the zip, and reboot
[Magisk] pndwal:
I was confused by the above, so found the following definitions:

Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically - additional packages are available using the APT package manager.

https://termux.dev/en/

Termux is an Android terminal application and Linux environment.

https://github.com/termux/termux-app

Nb. It is highly recommended to not install Termux apps from Play Store any more. Termux and its plugins are no longer updated on Google Play Store due to android 10 issues and have been deprecated.

Nb. 2. Termux is apparently broken in Android 12, but there may be workarounds.

BusyBox: The Swiss Army Knife of Embedded Linux

BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.

BusyBox

Toybox combines the most common Linux command line utilities together into a single BSD-licensed executable that's simple, small, fast, reasonably standards-compliant, and powerful enough to turn Android into a development environment. See the links on the left for details.

What is toybox?

Important Note: Toybox author appreciates A Hitchhiker's Guide.

👀 PW
[Magisk] zgfg:
BusyBox and ToyBox Magisk modules:

GitHub - Magisk-Modules-Alt-Repo/BuiltIn-BusyBox: Systemless Magisk module that installs and symlinks BusyBox with its applets to the Magisk built-in busybox binary

Systemless Magisk module that installs and symlinks BusyBox with its applets to the Magisk built-in busybox binary - Magisk-Modules-Alt-Repo/BuiltIn-BusyBox

github.com

GitHub - osm0sis/android-busybox-ndk: Keeping track of instructions and patches for building busybox with the Android NDK

Keeping track of instructions and patches for building busybox with the Android NDK - osm0sis/android-busybox-ndk

github.com

GitHub - Magisk-Modules-Alt-Repo/ToyBox-Ext: Systemless Magisk module for ARMv7 or higher, to install (additional) ToyBox applets

Systemless Magisk module for ARMv7 or higher, to install (additional) ToyBox applets - GitHub - Magisk-Modules-Alt-Repo/ToyBox-Ext: Systemless Magisk module for ARMv7 or higher, to install (additi...

github.com

Of course, one needs some Terminal emulator to run commands, many are available on the PlayStore (and Termux is not the one easiest to configure the paths and use)
[Magisk] WoKoschekk:
No, you don't need this. Magisk comes with an own busybox (/data/adb/magisk/busybox).
[Magisk] WoKoschekk:
@pndwal You should use Termux. Any other terminal app uses the system's shell (/system/bin/sh) but Termux by default uses its own shell or switches with su to the system's shell.

Any other terminal app requires a lot of modules to have e.g. Python or other binaries. For the latest versions of them you have to wait until someone will release a module. Using Termux all you need is pkg install PACKAGE and pkg upgrade.
[Magisk] zgfg:
True, but then you need to call like:

/data/adb/magisk/busybox traceroute

If you install the module, then it installs symlinks to /system/xbin

and you simply call as:

/system/xbin/traceroute

or

traceroute

Particularly, the first module I listed installs exactly those that symlinks:

which traceroute
/system/xbin/traceroute

ls -l /system/xbin/traceroute <
lrwxrwxrwx 1 root root 24 1971-04-28 06:16 /system/xbin/traceroute -> /data/adb/magisk/busybox
[Magisk] pndwal:
Ta... Can you say if note re Termux 'broken in android 12' is a real concern? PW
[Magisk] zgfg:
I personally use:

NetHunter Terminal | Kali NetHunter App Store - Android App Repository for Penetraton Testing and Forensics

Kali Linux command line shell

store.nethunter.com

No problem with A12.

Comes properly installed with paths (no need to tweak them as some have to do when they install Termux).

Just don't use Kali mode, use AndroidSu (starts already in su mode) or Android
[Magisk] WoKoschekk:
That issue is closed on github.com

[Bug]: Android 12 Phantom Processes Killed "[Process completed (signal 9) - press Enter]" · Issue #2366 · termux/termux-app

Edit: Check this comment for solution. Problem description I get a message saying [Process completed (signal 9) - press Enter] at, seemingly, random intervals. Once I press Enter, Termux closes. Th...

github.com
[Magisk] pndwal:
Yeah, I have that too...

I was asking specifically about this Termux issue (seems to be an AOSP bug): #2366, issue tracker, phantom cached and empty processes docs

and workarounds described here: TLDR comment... PW
[Magisk] WoKoschekk:
That's the difference between Termux and any other terminal app:

BusyBox on Termux:

BusyBox Magisk/Magisk Module:

With Termux you are always running the latest versions.
[Magisk] pndwal:
Yeah, closed in Jan 2022 as issue is AOSPs end:

https://github.com/termux/termux-app/issues/2366#issuecomment-1009272526

... An AOSP fix was earlier merged per:

https://github.com/termux/termux-app/issues/2366#issuecomment-994303443

but a workaround is apparently still needed as an updated solution was pinned to issue OP in Sep 2022:

https://github.com/termux/termux-app/issues/2366#issuecomment-1237468220

linking doc here:

https://github.com/agnostic-apollo/...#how-to-disable-the-phantom-processes-killing

... Seems the need depends on Android build, but maybe all A12+ builds need this(?)

👀 PW
[Magisk] WoKoschekk:
Just install it and find it out.
[Magisk] pndwal:
I have it... Only have A11... Wondered if A12+ users still need to take measures... Since readme.md still says it's broken too... PW
[Magisk] dcarvil:
I have not encountered the problem with Termux on my Pixel 3 with LineageOS 19 (Android 12), nor on my Pixel 2XL with LineageOS 20 (Android 13).
[Magisk] Spartacus500:
I removed Magisk root in recovery with uninstall.zip, and nothing completely solved the problem, still TB checker open error ... I have no idea 😔
[Magisk] WoKoschekk:
Flash your stock boot.img. This will unroot your device 100%.
[Magisk] Erfirya:
Can someone help me. What do I do?View attachment 5879317

Edit: it's fixed now
[Magisk] m0han:
The link doesn't work. Since you had sought help here and seem to have fixed it yourself, it would be in the fairness of things that you share the 'fix' here so that others are also enlightened.
[Magisk] Erfirya:
My problem was with LSPosed module. It was displaying "SEPolicy is not loaded properly", "Partially activated" in the manager. The problem was caused by Magisk or a cleared partition. So I had to disable/re-enable the module and reboot. After booting it was fixed.
[Magisk] Feduz:
I've updated my OnePlus 8T (A13) as always to KB2003_11_F.63. But I cannot be able to modify/update the hosts file (via LP to block ads), tried also with terminal but I cannot modify hosts file properties. I've flashed also via Magisk "systemless hosts - unified" by gloeyisk but with no success. Any tips to verify which is the problem?
[Magisk] zgfg:
On A13 and earlier, System is READ-ONLY on the file system level, you can not make any changes on the system partitions

If not familiar with and with the systemless root concept (present in Magisk since 2021 or so), please search, read back, study, there were tons of similar questions and answers

Eg, how AdAway+Systemless hosts mechanism works - no hard changes on the /system/etc/hosts file, Magisk mounts changes on every reboot

Etc, etc. The way how all systemless modules work
[Magisk] Feduz:
I've always used Magisk with systemless, also on A13 until 2 days ago. I think it's changed something
[Magisk] zgfg:
In the first post you wrote:

"But I cannot be able to modify/update the hosts file (via LP to block ads), tried also with terminal but I cannot modify hosts file properties"

That's not systemless approach but hard changes that are not possible on the read-only System As Root (SAR)
[Magisk] Feduz:
yes I've tried also manually to modify (didn't know that was not possible). Then everytime I've used LP that patch/update (I don't know how) the hosts file adding the new lines to block ads, but after this new update seems changed some logic
[Magisk] zgfg:
So again, this Google's concept with read-only System is not new, we all live with that here since 2021 or so (depending on devices, ROMs, Android version, etc). And the corresponding systemless root was introduced to Magisk way back to provide the method to overcome the problem

If it hit you just now, then good (or bad) for you - but you will need to read about, learn and to live with that...

Sorry, it's not a short story to explain you now what can you do, etc, in few lines. Everything what is needed can be found in this thread, AdAway thread, etc

Btw, do not use Magisk Canary 25210, you will never make Systemless hosts (and many other modules) to work - but that was also extensively covered in the posts here during the last three weeks
[Magisk] Feduz:
So maybe it's the latest version the problem, is there a procedure to go back to a previous one?
[Magisk] zgfg:
Again, all can be found in the the prev posts in this thread
[Magisk] pndwal:
Without going into detail, 25207 was a bit broken and 25208 worse... some fixes came with 25209 but (livable) issues remain... 25210 was badly broken...

Easy method to roll back (bypass downgrade prevention while retaining root):

Rename 25209 or 25206 .apk to .zip and flash as a module from Magisk App and reboot... Uninstall 25210 Magisk App, then install proper (25209 or 25206) .apk package.

👍 PW
[Magisk] J.Michael:
Try to understand what you are fixing before you try to fix it.

Make sure you are really doing, now, what you used to do.

When you "edit" a hosts file, exactly what file do you edit? The full path matters.

If you used to get away with editing /system/etc/hosts, you will probably have to change your procedure.

If you used to edit /data/adb/adaway/system/etc/hosts and then reboot:

if you forgot, and tried to edit /system/etc/hosts, just go back to doing it the right way

if you did exactly that this time, and it's not working, read about the Magisk versions that are not working -- *now* is the time to "roll back" Magisk

What is "LP", and what does it have to do with Adaway?
[Magisk] diehard2013:
wasn't /sbin removed from android a few years ago?

IIRC, android 10.
[Magisk] zgfg:
Should be /system/xbin or /system/bin
[Magisk] m0han:
It's that P@tch3r you'd be very 'Lucky' to get away with on XDA.
[Magisk] karimo22:
i don't know what i did but the console outputs this when i do "ls" command i think i missed with some busyox settings and i don't rememeber how any help please

it adds ←[1;32m to all directories and files and end each one with a close ←[m
[Magisk] WoKoschekk:
Yes, that's right. But regarding to this question here

and due to the fact that this tablet is running Android 5.1, the /sbin folder is still relevant.
[Magisk] J.Michael:
(Excuse me while I spit three times to ward off the evil eye.)

Apparently I made up "Adaway" after reading @Feduz's post. Which just changes my question slightly. What does the app which must not be named have to do with the hosts file?
[Magisk] m0han:
My guess is 'using it to modify the hosts file'. I think I've seen a video somewhere.
[Magisk] J.Michael:
Where are you typing "ls"?

It looks like you have instructed your system that you are using an ANSI terminal (maybe a VT100), but you have not set your terminal to that mode, so it is trying to display the escape sequences that are being output with each line.

Those sequences are coloring the output. There is an option (or a dozen options) on the "ls" command to display different types of files in different colors.

There is very little anyone can do if you disavow any knowledge of exactly with what you messed. If you are running in a terminal emulator, try looking in the menu of the terminal emulator window to see if you can find where to select the type of terminal. Start with "xterm", then try others until it looks better. Or try to find a "restore defaults" option in the terminal emulator window, or in the terminal emulator itself. Or just uninstall and reinstall your terminal emulator. (I don't know where that will leave you if you have created files in the terminal emulator's personal file space -- they might be deleted, or just orphaned because you no longer have permission to access them.)
[Magisk] J.Michael:
I don't find references to using it to patch a hosts file. The tutorial I found describes patching an app to make that app stop showing ads -- not quite the same thing.

I'll wait for @Feduz to say whether he ever had Magisk.
[Magisk] HippoMan:
Those are ANSI codes to colorize the output. The left-pointing arrow represents the ESC character.

I don't know specifically about busybox's ls, but I know that you can make an alias like ls='ls --color=no' in Ubuntu and Debian and most linuxes. Busybox probably accepts something similar.

Try man ls for more info.

Alternatively, if you want the colors, you can do export TERM=xterm-color or export TERM=xterm-256color in your terminal session. If your terminal emulator honors that, then those ANSI sequences will colorize the output of ls.