Installing Magisk 17.1


Recommended Posts

Can anyone tell me how I install this?

 

I usually click "direct install" or something but now it gives me an option to "patch boot img file" (which then asks me to find a file?) or "download zip", of which I don't then know how to install it from there.

 

Cheers

Link to comment
https://www.neowin.net/forum/topic/1371990-installing-magisk-171/
Share on other sites

sounds like the phone is still locked down.

 

I'd double check the bootloader is unlocked and that a custom recovery (preferably TWRP) is installed.

 

if the direct install is still failing then you can install Magisk through your custom recovery; the zip file can be downloaded from the XDA thread :)

 

https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

 

They even have a nice guide if you'd like to check it out:

https://www.xda-developers.com/how-to-install-magisk/

 

 

 

been just been getting back to rooting myself recently on a couple devices and I gotta say I like Magisk a lot better than SuperSU. seems a lot more stable overall and some nice extra features built in.

Hmm.

I appear to have lost root access at some point.

*sigh* - now time to relearn how to gain it again!

 

It's what annoys me because the guides online don't correspond to my phone.

 

For example, when booting into TWRP (which is out of date anyway!), I don't have the option to view the files on the device, and so can't select the downloaded magisk zip file.

 

Can't update the TWRP because when I type whatever I need to into Powershell, it says "waiting for device", which is great.  But when booting into Fastboot then it says "error: cannot lad twrp..."

 

I remember why I try not to bother with this stuff...

Edited by Sir Topham Hatt

what device you have? updating TWRP is super easy and then you can go from there

 

you can either update TWRP through fastboot and cmd prompt or it can be updated directly inside TWRP by switching the flash option from .zip to .img

if using fastboot there are specific drivers needed for windows. especially if using windows 10 as the official adk drivers don't work on 10

 

once i know your device i can usually find you the right version pretty easily

 

 

 

edit: though if your TWRP install isn't too old you should be able to just flash the Magisk.zip file and it will restore root. only if the flash fails would you really need to update TWRP :)

 

I'm using a one plus 3t.

 

I can use powershell and it recognises the device (using adb devices), so I guess my adb is working okay?

But I have no idea what to type to update twrp or flash magisk.

 

Tried updating twrp in the official twrp app but it just fails, I guess because I'm not rooted.

 

Tried to enter twrp recovery but it then can't find the magisk zip to install. 

 

I guess downloading the latest twrp recovery.img then patching the latest magisk to that wouldn't work? 

But then I still need to somehow install it on the phone but recovery didn't recognise the internal memory (photos, apps, videos), only the system memory, so not sure how to install new twrp. 

Edited by Sir Topham Hatt

You'll need to download the magisk.zip file onto your phone. I usually just put it in the usual downloads folder

 

Then in twrp in the flash menu you should be able to browes to the folder you saved the zip to.

 

The same thing goes for updating TWRP; once in the flash menu you should see a button to switch to img and then you can select your saved TWRP.img to flash

 

If you need help this guide has great step by step for both installing through TWRP or through fastboot.

 

This is the same guide I posted above

https://www.xda-developers.com/how-to-install-magisk/

 

P.s. I hate messing with fastboot sometime because even if it detects your phone you may not have the right version of the driver installed if using the official adk drivers ...

This is where we have the problem.

 

When in the twrp recovery, it doesn't recognise any folders, apart from those that the system uses (sdcard folder is empty!).

 

So I can't browse to the /downloads/ folder to flash the magisk zip. 

 

But I can't use a root explorer to put the file in the system section somewhere because I'm not rooted.

Edited by Sir Topham Hatt

there should be a switch drive button to select your SD card but if that for whatever reason is not working TWRP also allows mounting a USB drive if you have an OTG cable.

 

if that doesn't work we can look into fixing your fastboot drivers; you may just need to update the drivers if you haven't in a long time to support the confirm connection dialog on the phone.

could also try fastboot from within TWRP (in the advanced menu); may cooperate better then when booted into Android

Well when in recovery, I swipe to say I'm happy for changes, go to "install" which shows the folder "sdcard" but it's empty.

Going up a level shows lots of folders - all empty.

Clicking on "select storage" shows "internal storage 0Mb" and "USB-OTG 0Mb", the latter of which doesn't do anything.

 

I can connect it to my PC and use ADB to control it (IE, it recognises there's a phone attached and I used it to reboot into fastboot).

now that is odd indeed.

 

looking over at XDA I found a thread that is exactly your situation | if you didn't post this then it may be a known issue.

 

it sounds like a factory reset is required to correct the issues; worth looking over the thread at least, some users seem to have some ideas on it over there :)

 

https://forum.xda-developers.com/oneplus-3t/help/root-update-twrp-fishy-happening-t3839585

 

edit: someone had a great idea on the thread that may work for you; you can boot directly into the new TWRP img file without installing it; try this to see if it's still unable to read your directories.

 

Quote

 

Oh, ok, I thought that the system is broken too. That's ok then, your memory chip is fine.
Can you boot an up-to-date TWRP from fastboot and try to access data?
Try with

Code:


fastboot boot twrp-3.2.3-0-oneplus3.img

 

 

if you can actually see your files after booting into the newer version then you can perform your flashes and continue as normal.

 

 

it sounds like this is a common issue on the device if using encryption

On 9/12/2018 at 3:29 PM, Brandon H said:

looking over at XDA I found a thread that is exactly your situation 

It's me also ?
I did that thing of panicking and posting everywhere (well, two places!).  But a combination of you explaining more simply has helped.
Managed to boot to the latest TWRP, then use that to install magisk, which then enabled root again, so I could update to the latest TWRP!
Now doing a Titanium Backup for good measure!

 

Although the experience did make me think seriously about the OnePlus 6T... however I'll see how things like the battery go as I dropped it a few months ago and have noticed the battery is a fair bit not as great.
Although it's still under warranty so could always send it back I suppose.

If you are in TWRP and it's not listing folders (Does it just list them all as random characters?) then your phone is encrypted, that's why it's not rooted also most likely. You'll need to install a version of TWRP that allows you to enter your encryption pin.

 

Reboot into fastboot mode and then connect the phone to your computer.

 

If you already have adb like you said then you should also have fastboot.

 

The command for flashing the TWRP zip is "fastboot flash recovery <filename>" where <filename> is the name of the particular TWRP version zip you downloaded. The zip has to be in the same folder as fastboot obviously. 

 

To be honest, if you're having encryption problems you might just have to back up the contents of the phone and do a full wipe and reinstall your rom, make sure you get a decrypt compatible TWRP version this time though.


When I do a full wipe I usually :

 

  1. Back up all contents using Filezilla Client on my computer and an app on the phone called FTPServer Pro
  2. Perform this command in fastboot : "fastboot -w" - That performs a full data wipe
  3. Go into TWRP which should now allow access because the fastboot wipe removes encryption too, wipe all the other partitions
  4. Reboot back into TWRP or go into fastboot and flash the TWRP version I want using the method I gave you above
  5. Flash the rom again

If you want to keep the contents of the phone decrypted when you're in TWRP there's a zip you should look up called noverity but just be aware anyone who has the phone could do so also and have full access to the contents.

Edited by PsYcHoKiLLa
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • The laptop in the bedroom is an Acer with i7-10510U CPU. Acer's website states they will not be upgrading it so I had little choice other than disable secure boot. I know next to nothing on these matters so hopefully it will be fine.
    • GitHub removes manual model selection from Copilot free and student plans by Karthik Mudaliar GitHub is removing the ability to manually select an AI model from its Copilot Free and Student plans, making its automatic routing system the default and only way to choose a model. This means users on these tiers will no longer be able to deliberately select a particular OpenAI, Anthropic, Google, or Microsoft model for a task. In its announcement, GitHub said Copilot Auto will dynamically choose what it considers the best model for each request. Free and Student accounts will retain access to models from multiple families, although the available selection will continue to depend on the restrictions attached to each plan. GitHub did not identify a fixed pool of models that Auto will always use, and its documentation warns that model availability can change over time. GitHub describes Auto as more than a random fallback system. On supported surfaces, its task-optimization technology evaluates the complexity of a request alongside real-time information about model health and availability. Straightforward prompts can be routed to faster and less expensive models, while more demanding coding tasks may be sent to higher-cost reasoning models. The company says this approach should reduce rate limiting, latency, and failed requests. Auto generally selects one model along natural prompt-caching boundaries rather than repeatedly switching models during a session, as GitHub found that mid-session changes increased costs without producing sufficient improvements in output quality. Users can still check which model generated a response. In Copilot Chat, the information appears when hovering over an answer, while Copilot CLI and the Copilot cloud agent display the selected model alongside their output. Auto is available in Copilot Chat, Copilot CLI, and the cloud agent, with the exact implementation and release status varying between supported development environments. The latest restriction follows several months of adjustments to Copilot’s individual plans. GitHub temporarily halted new Pro, Pro+, and Student subscriptions in April as it sought to manage demand and service reliability. It later introduced token-based billing and began gradually reopening individual-plan registrations on June 17. Alongside the picker change, GitHub is retiring the “Preview” label from Microsoft-developed models. It argues that the label is no longer necessary because Auto handles model routing and models are continuously updated behind the scenes.
    • Look up 'inflation' kid. Ask an AI for the numbers between both games.
    • Google reportedly set to lose two key Gemini and DeepMind researchers to Anthropic by Karthik Mudaliar Google is reportedly preparing to lose two more prominent artificial intelligence researchers, with Gemini contributors Jonas Adler and Alexander Pritzel planning to join rival AI developer Anthropic. According to a report from Bloomberg, both researchers are viewed internally as important contributors to Google’s flagship Gemini model family. Adler worked on Google’s AI coding efforts, while Pritzel was involved in the process used to train AI systems. Neither company has publicly confirmed the moves. The report also does not say when the researchers will formally leave Google or what positions they will hold at Anthropic. Training a large AI model requires decisions covering its architecture, data preparation, distributed computing infrastructure, and post-training methods that shape how the finished system behaves. Researchers with experience operating at the scale of Gemini are consequently difficult to replace quickly. Both Adler and Pritzel have previously contributed to Google DeepMind’s scientific research as well. They are listed among the authors of the company’s work on expanding AlphaFold protein-structure predictions across entire proteomes, alongside AlphaFold researchers including John Jumper. The reported departures arrive shortly after another important change within Google’s Gemini organization. Gemini co-lead Noam Shazeer is leaving Google for OpenAI, after returning to the search company in 2024 through its deal with Character.AI. Shazeer is particularly well known as one of the authors of the Transformer paper, whose architecture became the foundation for most modern large language models. Anthropic, meanwhile, has been recruiting recognizable figures from other leading laboratories. OpenAI co-founder and former Tesla AI director Andrej Karpathy joined Anthropic’s pre-training team in May. His move, followed by the reported recruitment of several Google researchers, suggests Anthropic is strengthening the research teams responsible for the core capabilities of future Claude models rather than concentrating solely on product and enterprise sales. The competition is complicated by the companies’ extensive commercial relationships. Anthropic competes directly with Google’s Gemini models, but it also relies on Google as an infrastructure partner. In April, Anthropic announced an expanded agreement with Google and Broadcom covering multiple gigawatts of next-generation Tensor Processing Unit capacity. TPUs are Google-designed accelerators used to train and run large AI models. via Bloomberg
    • This article makes my head hurt. Lots of confusing words
  • Recent Achievements

    • Dedicated
      Scoobystu earned a badge
      Dedicated
    • First Post
      Tom Schmidt earned a badge
      First Post
    • One Month Later
      D0nn13 earned a badge
      One Month Later
    • Rookie
      +ChiefOfNeo went up a rank
      Rookie
    • One Year In
      Tom Schmidt earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      462
    2. 2
      +Edouard
      177
    3. 3
      PsYcHoKiLLa
      124
    4. 4
      Michael Scrip
      79
    5. 5
      Xenon
      76
  • Tell a friend

    Love Neowin? Tell a friend!