yashsingh1/xdaforums huggingface dataset:
[Magisk] Tabish0099:
Thanks alot its work really thankkfull to you

now is there anyway to reboot device into safemode using twrp because sometimes instead of module we install an app like SE linux switch which may cause bootlop what we can do in that case?

---------- Post added at 11:56 AM ---------- Previous post was at 11:54 AM ----------

And there is any way by which my mbl do not unroot after wiping data because jn my country if i sell my phone as rooted so some users pay higher rates but if i sell a rooted phone to anyone and he just wipe data them root will be removed what can i do?
[Magisk] Tabish0099:
ok i got the method of rebooting into safe mode now the only issue is that how to keep magisk installed after a factory reset
[Magisk] Artim_96:
That's impossible. Or put differently: you'd have to back up /data/adb/ in the running system, do a factory reset, install Magisk and restore the folder in running system. But I'm not sure if you can restore everything
[Magisk] zgfg:
Please be aaware of couple of thiings:

- By installing Magisk, you patch your Boot or Ramdisk partition or how is it named on your phone

- Magisk Manager installs and keeps configuration (modules, SuperSU rights, apps it hides from) in Data partition

Hence:

1) To properly uninstall Magisk, you must do Uninstall from MM app.

If you just reset Data partition, Magisk (root) will remain but you will no more have Manager app to manage the root.

To properly uninstall Magisk after you reset Data, you either have to also flash original Boot/Ramdisk or install MM again and Uninstall Magisk from MM

2) For many phones (depending on manufacturer, phone model, firmware version), OTA may fail if root is installed.

Resetting Data does not help because root changes are still in Boot/Ramdisk.

Even worse, some actions (including OTA - depending on your phone) on rooted phones may result by soft- bricking the phone

3) There are several types of 'Factory reset'. It again depends on your phone and in some cases where from and how you trigger it - it can be only wiping Data, reinstalling Data or up to reinstalling the whole firmware (and it can fail because of root)

In short, it is wrong idea to resell rooted phones. New user must be aware of how to manage Magisk, if and how he has to uninstall Magisk before OTA, what will happen if he goes for Factory reset, etc, etc.

You can either screw them (take money and run with no support - soonerr or later potential buyers will know about) or you will have headackes to support them (imagine if somebody soft bricks the phone, etc).

Btw, what if some banking app or so detects root and declines to run. Do you plan to help your customers (actions needed to do may depend on app - you may not have that app to experiment yourself) or leave them to 'resolve' themselves - as explained above, their Factory resetting attempts may result in even worse problems

Anyway, first of all learn about and experiment yourself with Magisk on your phone to become a seasoned Magisk user, then make a 'business' decision
[Magisk] Tabish0099:
ok just simply tell me which version of magisk install in system partition that do not unroot after factory reset

and i am talking about the users who know about root but cannot root huawei phones because huawei removed bootloader unlock support so they cant unlock bootloader and root phone i can sell them rooted phone ok last thing tell me which version of magisk install in system so it do not unroot after factory reset

---------- Post added at 04:31 PM ---------- Previous post was at 04:29 PM ----------

another reason of installing older version is that systemless xposed did not support magisk v. 19.3 not even simple xposed support it in oreo i always get bootloap after flashing systemless xposed in magisk v. 19.3 in oreo
[Magisk] vonDubenshire:
I just stopped using TWRP it's easier that way
[Magisk] zgfg:
Did you read my post you cited?

Magisk does not patch to System partition.

Investigate by yourself, on your phone and the way how you do it (from stock Recovery, from Android or maybe from TWRP), what does 'Factory reset' mean to you, is it just wiping Data, rewriting Data, rewriting Data and System, reinstalling the whole firmware (much more than Data and System).

Depending on that, Factory Resetting does or does not uninstall Magisk

Most likely, Factory reset wipes or reinstalls only Data (and maybe reinstalls System - but Magisk was not patched to System partition - it means that after Factory reset you will still likely have rooted/patched Boot/Ramdisk, you are just not aware of because you only deleted its 'GUI:' Magisk Manager.

It means that you will not be able yo utilize the root, but OTA or something can still detect that Boot/Ramdisk partition is not original and may fail

Btw, test yourself: install Magisk and Magisk Manager, configure some modules

a) Uninstall MM only

or

b) Wipe Data (Factory reset?)

Then install Magisk Manager again - it will detect that Magisk is still installed.

In case (a) you will even see which spps previously had root access, in case (b) not

If you have Huawei, you may try to do Factory reset (from Settings) or OTA, and most likely it will fail, and in the worst case you can soft-brick your Huawei
[Magisk] Tabish0099:
I read your post but I think you never wiped data after installing Magisk 19.3 I installed Magisk 19.3 and wiped data partition recently just to make sure if root remains or not it booted successfully without any error and I installed magisk manager apk and it showed me no magisk installed so it means Magisk 19.3 remove root after wipe data factory reset and did not cause any error I wiped data many times when I was having older versions of Magisk older versions did not remove root but I want to know that which version of magisk install in data so I could install previous version that did not remove root

---------- Post added at 05:22 PM ---------- Previous post was at 05:15 PM ----------

And I also know how to get rid of soft brick and hard brick so I am not worried about that I used to do many things with my phone always try new things new root apps new firmwares etc that usually soft brick or sometimes hard brick my phone and I always get rid of it so I am not worried about that I just want to install xposed framework (systemless or simple no matter) but it always cause bootloader with magisk v. 19.3 I have encrypted data partition so xposed did not flash with twrp I am looking for older version that may support xposed oreo
[Magisk] martyfender:
Have you tried edxposed?
[Magisk] zgfg:
If you are on Huawei with Oreo, you can try this Xposed - if still available to download.

It was seven months ago, it worked for me (P9, AL10c00 b539 at that time):

https://xdaforums.com/showpost.php?p=78715699&postcount=1349

Don't worry that TWRP does not support encrypted Data, Xposed installs to System and you will only have to manually install XposedInstaller.apk to manage Xposed modules.

However, it brakes SafetyNet

And yes, I wiped Data many times, last time a month ago with Canary v19.4.

That experiment took changing fstab in Vendor to declare that Data partition was no (more) encrypted and wiping Data.

After that, Data is fully readable/writable by TWRP (but empty at the moment).

By some tricks I flashed then from TWRP two update*.zip Data parts from the stock AL10c00 b540 firmware.

Finally I booted to Android, installed Magisk Manager app and it found the old Magisk,:downloaded what it needed and Magisk happily continued to work.

Of course, modules had to be installed again, apps granted root privilege again, apps for Magisk Hide declared again (because wiping Data wiped the database of the previous Magisk installation).

But there was no need to flash the patched Ramdisk again
[Magisk] jcmm11:
I don't remember. Does 19.3 support Q?

Edit: Pixel 3 XL to be exact. IIRC 19.3 supports Q but not on a SAR device, for that I need 19.4. I just need confirmation.

Ok - I got the answer and if anyone else is looking for it I did remember correctly. If you have a system-as-root device you need 19.4
[Magisk] palmbeach05:
Q beta? Search the thread. Android 10? Unknown as full source code has not been released
[Magisk] smartymcfly:
Not that it matters because I don't use Google pay often. The other day I forgot half of wallet at the house and there was no going back to get it, so, I tried to use Google pay and it will not allow me to do so.

Magisk manager passes both checks and has magisk hide activated with any apps related to Google being hidden.

Pixel 3Xl stock +kirisakura with magisk.

Just wanted to leave this here in case I can help. Is there a log I should post?

Before anyone chew''s me out, I am going to the OP now. And will change this if necessary. So I already know how to read and have done so the last 50 or so posts.
[Magisk] Tabish0099:
Yes i tried it booted successfully but it just activated modules and modules shows that they are activated by edxposed but the functionality did not work it just shows that xposed installed but modules did not work i tried many modules with edxposed not even a single module worked

---------- Post added at 05:39 AM ---------- Previous post was at 05:26 AM ----------

I am not talking about wiping data with TWRP in my case if i wipe data with twrp my mobile even does not boot I am talking about wiping data with default EMUI recovery so that data remains encrypted and mobile boot successfully after reading your post i once again wiped data using stock recovery here i found magisk installed but not working it said root need to be fixed anything like that and when i clicked ok it did process for more then 5 minutes and said failed so indirectly root uninstalled after wiping data with stock EMUI recovery

---------- Post added at 05:57 AM ---------- Previous post was at 05:39 AM ----------

Thanks alot man your provided link worked xposed succefully booted I am very thankful to you and also thanks to every one who participated Thanks alot

---------- Post added at 06:02 AM ---------- Previous post was at 05:57 AM ----------

Just for information could anyone tell that if systemless xposed also remove safety net then what's the benifit of systemless xposed and what is the difference between simple and systemless xposed despite of installing and not installing in system directory

Also could anyone tell that what could be the reason for edxposed that it activates modules but modules did not work because edexposed pass safety net status so if it works its a big benefit. Thanks once again for help
[Magisk] Tabish0099:
Again xposed is installed and module is activated but no module is performing its functionality i dont know why i installed gravity box [O] and screen off animation but both did not work
[Magisk] zgfg:
Who knows if Gravity is compatible with EMUI 8.

Besides, old Xposed and its modules are off topic for the Magisk thread :)
[Magisk] Tabish0099:
ok let me check fot other modules
[Magisk] KevMetal:
Huawei will make you cry and your tears won't stop

Buy Xiaomi or Moto or ANYTHING but NOT huawei

i had huawei p smart and was crying the same tears

*every twrp some problem

-one can't backup

-one can't decrypt data

-one can't flash system.img

*i had to use 3 different twrp and use one to flash the other to do what i needed

always bootlooping on 90% of GSI's

the 10% of GSI's that worked bootlooped on Xposed

*forget about getting xposed to work fully with all modules ..you will bootloop and cry

everytime pain when having to flash magisk with pc and everything with pc ..you need to carry a laptop in your pocket to enjoy huawei

huawei is only good for two things

*good price for hardware specs

*good camera

NOTHING ELSE ..

Worst kind of locked down Chinese , try to copy Apple spyware.

death to huawei

:good:

anyway my OT is for a reason

THE ONLY MAGISK working well on huawei is magisk that is by ianmack ..look for it in forums ..

use only pure systemless magisk ..no modules ..just use it for root ..

NO MODULES | NO EXPOSED

~the only way not to cry on huawei~
[Magisk] Rudde:
There is one app I can't get to work with an Unlocked Bootloader and Magisk. It is The Walking Dead: Our World. And I don't know why. Under "Play Protect certification" I am listed as "Device is certified". Magisk report that ctsProfile: true, and basicIntegrity: true. I can get any other app with resitrictions to work, like Pokemon Go, and several banking apps.

But this one app is just stubborn and is even gone from the play store when I have as much as an unlocked bootloader, it will not even show up in the play store. And when I try to sideload it from a working APK backup I took from when my bootloader was locked, it installs fine, but it crash immediately at startup, without any error or warning.

This is on a Samsung Galaxy S10
[Magisk] elliwigy:
too bad u cant cheat the system anymore
[Magisk] Tabish0099:
I tried eggster its work but gravity box, screen off animation is not working it means some xposed modules works and some are not but thanks for help

---------- Post added at 11:53 AM ---------- Previous post was at 11:49 AM ----------

Thanks everyone for helping me i have some other issues regarding bootloader i created a thread but no one replied me on that please look that thread and tell me if you know anything about that

Thread links

https://xdaforums.com/p8lite/general/relock-bootloader-issue-p8-lite-2017-t3961358

https://xdaforums.com/8-lite/help/honor-8-lite-firmware-issue-t3954450
[Magisk] cnjax:
Mods need to step in way too much off topic and discussion of warez
[Magisk] chooks06:
Don't mention warez.. Google if you don't know what it means.

Not blaming you but it's a NO-NO in this forum..
[Magisk] SacredDeviL666:
Thread cleaned/posts edited.

Kindly keep the discussion of warez app such as Lucky patcher out of any threads here.

Thanks

SacredDeviL666.
[Magisk] Tabish0099:
Actually english is not my primary language so kindly use easy word i am unable to understand what are you trying to so what is meant by warez app or if you are saying about staying on topic according to this thread then i apologize for that this will not happen again.
[Magisk] SacredDeviL666:
No worries :highfive:

I have pm'd you the response to avoid further discussion of topic which isn't related to this OP.

Kindly check your pm.

Thanks

SacredDeviL666.
[Magisk] dd721411:
Google and Wikipedia are your friends.

https://en.wikipedia.org/wiki/Warez

"Warez is a common computing and broader cultural term referring to pirated software (i.e. illegally copied, often after deactivation of anti-piracy measures) that is distributed via the Internet."

($#!7 like L*cky P*tcher should never be mentioned on XDA, ever!) :(
[Magisk] martyfender:
Lucky Patcher is warez:

https://en.m.wikipedia.org/wiki/Warez
[Magisk] Danny94:
Is anybody able to help me getting hidden this banking app (I need this app to login into my bank account EDIT It launches the camera to scan an visual code on a computer ENDEDIT):

https://play.google.com/store/apps/details?id=it.raiffeisen.id

When i try to launch the app on pie i get a white screen and a window in browser with a warning root message, sometimes it just crash.

-I tried installing different roms (Nougat, oreo, pie)

-I tried to use unsu script before running magisk

-I used magisk core only

-[Magisk hide is active] Ticked all apps related to google and the app itself in Magisk hide

-Hide magisk manager

-No modules installed

-I did the whole thing on a clean installation (no xposed or similar running or other root apps like titanum etc)

-Have disabled developer options

-Have disabled Usb debugging

-Have deleted all sd card data wich was named like twrp titanum or similar (left android dcim etc)

-Every step i cleared data of the app

-Flashed latest baseband/Firmware now...

-Disabled telephony and SMS permissions for Google service

Can anyone try to run this app or tell me how i can pass it please.

(Pokemon Go, Wizards unite was working and Safety Net passed on both)
[Magisk] martyfender:
I installed this app on one of my Nextbook Ares 8A's, Intel x86, Android 6.0.1 devices and it appears to work, but I can't read it since I and this forum are English only. it did ask for camera permissions and when I press one of the unknown options the camera opens. Is the app for scanning something.

I am on the latest ianmacd unofficial build of Magisk with MM hidden. I also have the UDSbypass script installed. I installed the app and just hid it and it appears to work fine, but as I stated previously, I can't read the language to confirm.

I didn't do any of this stuff except hide MM and the app, before launching the first time.

-[Magisk hide is active] Ticked all apps related to google and the app itself in Magisk hide

-Hide magisk manager

-No modules installed

-I did the whole thing on a clean installation (no xposed or similar running or other root apps like titanum etc)

-Have disabled developer options

-Have disabled Usb debugging

-Have deleted all sd card data wich was named like twrp titanum or similar (left android dcim etc)

-Every step i cleared data of the app

-Flashed latest baseband/Firmware now...

-Disabled telephony and SMS permissions for Google service

This can potentially be a bad idea and can cause many side effects

(with a few exceptions):

"Ticked all apps related to google"

If the developer is using UDS to detect root, then the the UDSbypass script may help you. That is the only major, different thing I can see that I have on my device. I posted a copy of it somwhere in these or other threads, but can't seem to find it.

You can find info on creating the service.d script here.

https://www.didgeridoohan.com/magisk/MagiskHideHidingRoot

If I have time I will try to reupload a copy here I created. I is really easy to make, but some seem to have trouble doing these simple things.

Here is the script. unzip it and place it in /data/adb/service.d and change it's permissions to 777, (755 is probably sufficient) if they are different from that. I use Total Commander to change the file permissions. I have run the script in Mixplorer to give an immediate effect, but you need to reboot to cofirm it is run at boot. I use Rootbeer Fresh, hidden in Magisk, to confirm that the script is working.

If the above does not help, then you have other problems on your rom or device that is out of my expertise. Please let me know if this helps, or not. That way others may benefit, also.

UPDATE: Because I am a somewhat persistent person, I deleted my UDSbypass script and rebooted. When I tried to launch the app, it launched a web page indicating that my device was rooted or jail broken.

No matter what I tried after that allowed the app to run without detecting root, Even an uninstall and reinstall and reboot. It must be saving something persistent on the device or online.
[Magisk] Danny94:
Thank you very much for your detailed post.

May they save the Telephon number online and block future access from it, what a dumb piece of APP.

I just test to open the APP witouth connection and cleared data so it seems they saving something on the device too.

I will try to use the hide script now(it seems it worked for you). May clearing dalvic and cache can help.

Was anyone else successful to hide the app witouth the usdbypass script, may my settings were already enough just got blocked on first use ?

Edit: It does not helped to remove sim and connection.

Edit2: now i have some time to add the script.

EDIT3: IT DOES WORK NOW, passed Rootbeer, removed sim card, cleared dalvic and cache, booted up download from app store while installing disabled wlan, ticked in magisk, run app. Perfect ! Thanks a lot for your help [MENTION=8126387]martyfender[/MENTION]
[Magisk] dope77:
is there an alternative for this retarded edxposed on android pie?

i can't use most of the modules,whenever i install a new mod ,edxposed stops working ,this issue has been around for a while and still not fixed (i know the problem isn't on magisk side).
[Magisk] Strephon Alkhalikoi:
If you mean Xposed, there is an alternative: not using it at all.
[Magisk] lividhen99:
Edxposed is an xposed alternitave that doesn't actually hook I to the system, it just edits certain apps. So if I were to get xhangouts it would only edit the hangouts instead of having to hook into the system proses, break g saftenet. Or wait, it that Tia chi? ?
[Magisk] Tabish0099:
Sorry, It was not in my knowledge that warez apps discussion is not allowed I apologize for it and i will make sure that it will not happen again. I am really sorry For my mistake
[Magisk] hallohallo222:
Hey, I can't install Magisk by Magisk Manager. It says I have unsupported according to the log file. I guess it is because I tried to flash a zip file instead of a .img file? But where do I get the img file for Magisk?

Then I tried to install it in recovery mode, but I can't find the zip files, the storage folder is empty so to say. I also had to type in a password before entering the TWRP menu. For "decryption data". But what is this?

---------- Post added at 11:32 AM ---------- Previous post was at 11:31 AM ----------

Hey, I can't install Magisk by Magisk Manager. It says I have unsupported according to the log file. I guess it is because I tried to flash a zip file instead of a .img file? But where do I get the img file for Magisk?

Then I tried to install it in recovery mode, but I can't find the zip files, the storage folder is empty so to say. I also had to type in a password before entering the TWRP menu. For "decryption data". But what is this?.

---------- Post added at 11:32 AM ---------- Previous post was at 11:32 AM ----------

Hey, I can't install Magisk by Magisk Manager. It says I have unsupported according to the log file. I guess it is because I tried to flash a zip file instead of a .img file? But where do I get the img file for Magisk?

Then I tried to install it in recovery mode, but I can't find the zip files, the storage folder is empty so to say. I also had to type in a password before entering the TWRP menu. For "decryption data". But what is this?.
[Magisk] KevMetal:
1.download stock rom

2.extract with 7zip or similar

3.look for boot.img

4.connect phone to pc with mtp file transfer / usb cable

5 . put boot.img on sd card

6. install magisk manager apk

7. open app and choose boot.img patch as install option

8. after patching file copy to pc

9. download and install adb / fastboot

10. put PATCHED boot.img in fastboot folder

11. on phone boot into twrp

12. choose backup ( location sd ) ( if fail go to mount and mount sd then do )

13. when backup finished choose " reboot" button - option bootloader

14. open cmd window in fastboot / adb

15. run command

fastboot flash boot (name of patched boot).img

*this assumes you unlocked bootloader and authorized pc to install twrp recovery

**you could flash patched boot.img with twrp

install .img file ..select boot partition

#reason i say pc is seems your twrp can't mount /data or that you don't know how to select install .img file in twrp ....
[Magisk] KevMetal:
here check my photos , but really you should explain the problem further / better

do you have fastboot

did you patch and find patched by MM

did you try mounting system & data to see files in twrp

did you select install ".img" etc etc etc
[Magisk] hallohallo222:
Okay, so I had to type in the password I chose for to unlock my display. I could install Magisk now.
[Magisk] go vegan:
Magisk Manager is still causing problems with an app-lock.

This is an Android TV box with minimal security, aside from an app-lock. For obvious reasons, Magisk Manager is under control of the app-lock. When the device is turned on, the app-lock activates, asking for a password to access Magisk Manager.

I know, it's an older version of Android but the box is still great.

Magisk 19.3 (19300)

Magisk Manager 7.3.2 (224)

MINIX NEO U9-H (Android TV box)

Android 6.0.1

Kernel 3.14.29
[Magisk] Didgeridoohan:
You mean the issue where a su request would claim focus? That has been fixed, but only on devices that does not block broadcasts. Magisk runs a test at boot, and if the broadcast is successful the old non-focus way will be used. If the broadcast is blocked, the new way of requesting su is used which will take focus. Not much to do about that...