Howto - Root your bramble with Magisk

Search This thread

drdionysius

Senior Member
Oct 28, 2008
201
52
Google Pixel 4a 5G
At the no command screen you did the power button hold and volume up and when you click recovery it goes back to the no command screen? Just trying to be clear.
At the 'no command' screen I have two options:
1. Power + volume up which will bring me back to the 'no command' screen.
2. Power + volume down which will get me to the bootloader where I can start my phone normally. Selecting recovery from there will bring me back to the 'no command' screen.

I used Magisk Manager (canary) to patch the boot.img and then flash it with fastboot.
 

GoldElocks

Senior Member
At the 'no command' screen I have two options:
1. Power + volume up which will bring me back to the 'no command' screen.
2. Power + volume down which will get me to the bootloader where I can start my phone normally. Selecting recovery from there will bring me back to the 'no command' screen.

I used Magisk Manager (canary) to patch the boot.img and then flash it with fastboot.
Gotcha. That is very strange indeed.
 

WhiteAsIce

Senior Member
Dec 1, 2010
84
3
SafetyNet suddenly stopped passing today. I had it working before. I didn't make any changes to my phone today, but out of nowhere I no longer can pass SafetyNet. Anyone else experiencing this?
 

kazemitsui

Senior Member
Dec 15, 2010
876
119
Seattle
HTC One (m7)
Google Pixel
SafetyNet suddenly stopped passing today. I had it working before. I didn't make any changes to my phone today, but out of nowhere I no longer can pass SafetyNet. Anyone else experiencing this?

This is apparently system wide and all over the main magisk thread as well. People are thinking Google is doing something...

Btw did anyone get the January update when doing check for updates? I cannot auto get the update. is the only way to update our phones after we root and pass safetynet is to download the ota or full image and repack it with the rooted bootloader?
 

tylerdurden

Senior Member
Oct 13, 2010
301
643
Hamburg
For those who looks for bypass SafetyNet, you may want to visit the Magisk Props thread
https://forum.xda-developers.com/t/...nd-more-v5-3-6.3789228/page-248#post-84285893

And, there's a fix for the SafetyNet. Works for me, but haven't test the Google Pay


SafetyNet works for me too, but unfortunately Google Pay don't, even though PayPal was accepted to set up.
 

angrox

New member
Nov 22, 2015
2
0
Google Pixel 4a 5G
Got my Pixel 4a 5G yesterday and tried to root it using your guide. Even if I use the latest canary release from Magisk I always fall in a bootloop after flashing the modified boot.img via fastboot:
* fastboot flash boot magisk_patched_XXXXX.img
* Reboot device
* No Google logo, after the warning of the unlocked bootmanager the system resets and tries to restart again

I am on RQ1A.210105.003, Magisk Manager on 4835 with Magisk 21401.

I have tried it several times with no success. Any hints what I could have missed?
 

Homeboy76

Senior Member
Aug 24, 2012
3,213
1,765
Google Pixel XL
Got my Pixel 4a 5G yesterday and tried to root it using your guide. Even if I use the latest canary release from Magisk I always fall in a bootloop after flashing the modified boot.img via fastboot:
* fastboot flash boot magisk_patched_XXXXX.img
* Reboot device
* No Google logo, after the warning of the unlocked bootmanager the system resets and tries to restart again

I am on RQ1A.210105.003, Magisk Manager on 4835 with Magisk 21401.

I have tried it several times with no success. Any hints what I could have missed?
Do #7 - Patching the boot.img in the guide
 

angrox

New member
Nov 22, 2015
2
0
Google Pixel 4a 5G
Thanks for the documentation. I followed #7 and flashed the patched Magisk boot.img file and THEN the Proton kernel. Worked flawlessly: Kernel installed itself, device booted, root is present!
You made my day! Thanks again, @Homeboy76
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Yea for sure! also do you know how to pass SafetyNet so I can get Google Pay/GPay to work?

    CTS profiles doesn't pass...

    This is the guide I used and it worked


    I not a huge fan of modifying the props.conf but it is what it is
    3
    Hi everyone,

    I just got my bramble today. And yes, the first thing I did, was unlocking the bootloader and rooting it.
    Here I tell you how I did it.

    You need a ADB/Fastboot suite installed and this rooted kernel.

    Section 1: Unlocking your Bootloader Unlocking your Bootloader will erase all your data - so best case is a brandnew and clean bramble...:
    1. Go to settings - "About phone" and tip 6 times on "Build number" until you see "congratulations, you are a developer"
    2. Go to settings - "System", tip on "Advanced" and then on "Developer options". Now you can see "OEM unlocking". Enable it (yes it warns you about security and stuff... It´s your choice - I did it :D).
    3. Install Adb and Fastboot suite and scroll to the adb-folder inside your windows explorer and when you are there, copy the rooted boot.img to your adb-folder (you need that for section 2).
    4. Right click + shift on the white background of your adb-folder "open power shell window here"
    5. Reboot your bramble holding vol- and you will enter the fastboot screen. Connect your bramble to your pc and type in your power shell window the following code:
    Code:
    ./fastboot flashing unlock
    and hit enter
    6. Your bramble will warn you that unlocking your bootloader is insecure! And one really important thing again: This will format all your data
    7. Use the vol-/vol+ keys to accept and violla, you unlocked your Bootloader!

    Section 2: flashing the patched boot.img
    1. Luckily you already copied the rooted boot.img to your adb folder and you are still in your power shell window. That gives you everything for 2.
    2. type the following in your power shell window:
    Code:
    ./fastboot flash boot boot.img
    3. hit enter and
    4. reboot to system (yes it has to be setup again since your data got wipede) and install Magisk manager after setting up your system

    Congrats, your system is now rooted with Magisk!
    3
    I think you didn't get the correct file over to phone..
    How large is that boot file .. Can you get check sum?
    it was 96 MB on my pc

    md5 from the boot.img is this
    cb9a142d7aa605e7ba54cdc882caf87b

    __________________

    Ok I figured it out, I needed to be on the Canary build of magisk. solved, thanks!
    3
    Update steps for me -

    Download OTA full image for your variant latest December from https://developers.google.com/android/ota#bramble place in my ADB folder on PC

    Download Factory Image for your variant latest December from https://developers.google.com/android/images#bramble unzip on PC then search for the boot.img in folder and transfer to phone. Use Magisk to patch the boot.img and once completed place back on PC in ADB folder.

    Get your phone now in stock recovery mode [ Android guy on back with red exclamation ] Next, hold down the power button and press the volume up button, and you will be in recovery mode. Use the volume down button to highlight apply update from ADB and press the power button to select it.

    Now I ran the terminal command [I'm on Mac] ./adb sideload bramble-ota-rq1a.201205.011-4817ffa4.zip depending which file you loaded would be similar to mine.

    Once it finishes reboot phone and you will be on new update.

    Now to root again - back into bootloader mode

    ./fastboot flash boot boot.img. [ or name of the patched from Magisk ]
    2
    Would you mind making a step by step for this?

    Yes no worries. I'm working now but can post up later. I did mine the longer way bc I'm always unable to just do the flash- all way ...