Question Magisk/Root procedure for 5a 5G?

Search This thread

Schroeder09

Senior Member
Nov 6, 2017
1,161
230
Google Pixel 7 Pro
Are you talking about these navbar Icons? I converted them to vector files and they still work for me (i'm on Android 12-Pixel 4XL). I'm probably going to get one of the Pixel 6 phones. I was going to hold out until the punch hole camera went instead to "under the screen" but my Pixel 3XL died and I no longer have a backup phone.
Yes! Those. I loved your launcher customization stuff, and it's one reason I kept rooting. I hated the swipe navigation. I liked the android navbar. It was totally unusable to me though when it took so much screen real estate. Your small, shorter navbar was a real driver for me. With the p2xl's screen burn-in issues I opted for your thin little icons, so if they ever did burn-in it would be unnoticeable. The stock p2 icons were solid.

Good to hear people are still using and mod'ing the navbar! Are the swipe gestures any better these days in android 11 and 12? I tried using the gestures in A10, but they have associated animations. It seems they can't be turned off, and they take time. They slow the experience up. The first thing I always do with my phones is turn the animations off.
 

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,815
7,380
Google Pixel 7 Pro
Yes! Those. I loved your launcher customization stuff, and it's one reason I kept rooting. I hated the swipe navigation. I liked the android navbar. It was totally unusable to me though when it took so much screen real estate. Your small, shorter navbar was a real driver for me. With the p2xl's screen burn-in issues I opted for your thin little icons, so if they ever did burn-in it would be unnoticeable. The stock p2 icons were solid.

Good to hear people are still using and mod'ing the navbar! Are the swipe gestures any better these days in android 11 and 12? I tried using the gestures in A10, but they have associated animations. It seems they can't be turned off, and they take time. They slow the experience up. The first thing I always do with my phones is turn the animations off.
I personally get rid of the navbar entirely and use Fluid NG. I reactivated the navbar so you could see the icons.
 

bobpiesz

Member
Nov 24, 2012
34
21
Rooted via Magisk Patched boot.img from:
Android 11 — RD2A.210605.007 (US)_

Same procedure as Pixel 5..

For safetynet/cts I used the following to pass both:
MagiskHide Enabled + Renamed Magisk APK
Riru+Universal safetyNet Fix
MagiskHide Props Config (Pixel 5a Fingerprint & "force basic key attestation" using default NEXUS model setting)

gPay and banking apps are also working without issue with the above settings ^
 

bo0gietrain

Senior Member
Nov 6, 2013
69
10
FWIF, I was able to download the Sept factory image, update my phone, and reinstall magisk. I had to manually re-install all magisk modules after, but safety net passes now.
 

CarinaPDX

Senior Member
Jun 30, 2013
290
99
Google Pixel 5a
I'm afraid that I wasted a bit of time because there are so many dated instructions for unlocking and particularly installing Magisk on the internet. It is all very easy on the 5a. The important thing is to download the full factory image, then extract just the boot.img file for Magisk to patch - the OTA image buries everything inside of payload.bin (IIRC) and that takes a special program to get at the boot.img file, and that program requires a bit of work to get installed (easier Windows and Mac versions are available - I use Linux). Anyway the result is that you have to download a 2GB image every time you need to re-install Magisk, but otherwise it is very quick to do. Doing that for every security update (every 2 months?) may be a bit much but I really like having root - Adaway, Titanium Pro, are essential.
 

Houska34

New member
Sep 27, 2019
2
2
I'm new to rooting phones and I can't get my Pixel 5a to safetynet. Could someone please break it down step by step in a lot of detail.
 
  • Like
Reactions: grandpajiver

bobpiesz

Member
Nov 24, 2012
34
21
My experience is that while I pass safetynet, the google play store is still restricted (no netflix, etc) and google pay doesn't seem to work after the new security update from a few days ago. Hope you have better luck.
It's full possible to be rooted via magisk and pass cts/safetynet... and also have full usage of Google Pay/Netflix/etc.. There are zero guides so far, so I've been debating making one...
 

Attachments

  • Screenshot_20210910-173105.png
    Screenshot_20210910-173105.png
    64 KB · Views: 41
  • Screenshot_20210910-173132.png
    Screenshot_20210910-173132.png
    904 KB · Views: 39
  • Screenshot_20210910-173317.png
    Screenshot_20210910-173317.png
    279.2 KB · Views: 37
  • Screenshot_20210910-173331.png
    Screenshot_20210910-173331.png
    143.6 KB · Views: 39
  • Like
Reactions: nsoult and Houska34

nsoult

Member
It's full possible to be rooted via magisk and pass cts/safetynet... and also have full usage of Google Pay/Netflix/etc.. There are zero guides so far, so I've been debating making one...
oh yea, I have no doubt it's possible, I'm sure there are probably some new props or new detection methods that I stumbled over and don't know exactly how to fix. I'm sure eventually there will be more information / updates to plugins that will help.

update: It seems as though it was as simple as deleting the application data for both apps. Was able to install netflix and pay appears to allow contactless! I guess it's probably going to be part of the proesss for me going forward each time I update
 
Last edited:

himom

Senior Member
Sep 2, 2009
75
7
So I actually did this a couple days ago with the universal safetynet fix. Ipassed safetynet on magisk but googlepay doesnt work. Does googlepay work for you?
Sorry for the late reply, I was able to use GooglePay without issue the first time I tried. The 2nd time I tried it failed and I checked the SafetyNet checker and it failed as well. I just checked the Universal SafetyNet fix and it seems it was updated yesterday. I updated the Magisk modules and installed 2.1.1 and now I pass the check again. I'll try another payment in the next few days.
 
  • Like
Reactions: boybill

bulletfodder

Member
Mar 7, 2010
30
7
FWIF, I was able to download the Sept factory image, update my phone, and reinstall magisk. I had to manually re-install all magisk modules after, but safety net passes now.


Mind sharing your steps?

I've downloaded the Sept update (full image)
extracted boot.img
patched with magisk
flashed to boot_a via adb
Checking the system page still shows June update.


Tried uninstalling Magisk, and I still can't apply the OTA.
Tried flashing stock (unpatched) boot.img, still can't apply the OTA.

Thankfully, I've made a full backup, so if I need to apply the entire image restore, I should be able to restore everything I need to. I'd like to avoid this. I want upgrading with root to not be a giant pain.


edit: process so far.

Download Sept update
edit the "-w" from the flash-all.bat
extract boot.img
send to phone
patch with magisk
pull to computer
reboot to fastbootd
run flash-all.bat
Code:
target reported max download size of 268435456 bytes
sending 'bootloader' (8754 KB)...
OKAY [  0.035s]
writing 'bootloader'...
FAILED (remote: No such file or directory)
finished. total time: 0.043s
rebooting into bootloader...
OKAY [  0.003s]
finished. total time: 0.005s
< waiting for device >
target reported max download size of 268435456 bytes
sending 'radio' (149780 KB)...
OKAY [  0.685s]
writing 'radio'...
(bootloader) Flashing Pack version SSD:g7250-00132-210427-B-7316661
(bootloader) Flashing partition modem_a
OKAY [  0.540s]
finished. total time: 1.227s
rebooting into bootloader...
OKAY [  0.050s]
finished. total time: 0.051s
target reported max download size of 268435456 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.img'
archive does not contain 'system.sig'
archive does not contain 'vendor.sig'
--------------------------------------------
Bootloader Version...: b9-0.4-7265224
Baseband Version.....: g7250-00132-210427-B-7316661
Serial Number........: 17211JECB****
--------------------------------------------
checking product...
OKAY [  0.070s]
checking version-bootloader...
OKAY [  0.069s]
checking version-baseband...
OKAY [  0.069s]
sending 'boot' (98304 KB)...
OKAY [  0.409s]
writing 'boot'...
FAILED (remote: Failed to write to partition Not Found)
finished. total time: 0.933s
Press any key to exit...

fastboot flash bootloader bootloader-barbet-b9-0.4-7265224.img
Code:
OKAY [  0.144s]
writing 'bootloader'...
(bootloader) Flashing Pack version b9-0.4-7265224
(bootloader) Flashing partition table for Lun = 0
(bootloader) Flashing partition table for Lun = 1
(bootloader) Flashing partition table for Lun = 2
(bootloader) Flashing partition table for Lun = 4
(bootloader) Flashing partition table for Lun = 5
(bootloader) Flashing partition xbl_a
(bootloader) Flashing partition xbl_config_a
(bootloader) Flashing partition aop_a
(bootloader) Flashing partition tz_a
(bootloader) Flashing partition hyp_a
(bootloader) Flashing partition abl_a
(bootloader) Flashing partition keymaster_a
(bootloader) Flashing partition devcfg_a
(bootloader) Flashing partition qupfw_a
(bootloader) Flashing partition uefisecapp_a
(bootloader) Flashing partition featenabler_a
(bootloader) Flashing partition logfs
OKAY [  0.601s]

fastboot flash boot "patched.img" and I get
Code:
sending 'boot' (98304 KB)...
OKAY [  0.373s]
writing 'boot'...
FAILED (remote: Failed to write to partition Not Found)

Continue to flash to boot_a & boot_b

Code:
PS E:\8. Phone Backups\Pixel 5a\barbet-rd2a.210905.003> fastboot flash boot_a .\patched.img
target reported max download size of 268435456 bytes
sending 'boot_a' (98304 KB)...
OKAY [  0.373s]
writing 'boot_a'...
OKAY [  0.377s]
finished. total time: 0.752s
PS E:\8. Phone Backups\Pixel 5a\barbet-rd2a.210905.003> fastboot flash boot_b .\patched.img
target reported max download size of 268435456 bytes
sending 'boot_b' (98304 KB)...
OKAY [  0.374s]
writing 'boot_b'...
OKAY [  0.380s]
finished. total time: 0.756s
PS E:\8. Phone Backups\Pixel 5a\barbet-rd2a.210905.003> fastboot  reboot
rebooting...

When I reboot, I'm still showing June Security update
Any thoughts?
 
Last edited:

newkydawg

Senior Member
Mind sharing your steps?

I've downloaded the Sept update (full image)
extracted boot.img
patched with magisk
flashed to boot_a via adb
Checking the system page still shows June update.


Tried uninstalling Magisk, and I still can't apply the OTA.
Tried flashing stock (unpatched) boot.img, still can't apply the OTA.

Thankfully, I've made a full backup, so if I need to apply the entire image restore, I should be able to restore everything I need to. I'd like to avoid this. I want upgrading with root to not be a giant pain.
Not trying to be a smarta$$ but since you didn't list it in your steps, I have to ask. Did you flash the full Sept image? IMHO, if you are going to download the full image each month or whenever, and extract the boot image to be patched, might as well just flash the full image then flash the Magisk Patched boot img instead of trying to get the OTA. If you want to keep your data each time you flash the full image, just remove the "-w" in the Flash-All.bat file.

EDIT: Sorry, I was typing my response while you posted your edit. As for your bootloader issue, IDK. Someone else may be able to shed some light.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I have a Pixel 2 XL. It's rooted on Android 10 still. I never even upgraded to Android 11 because by the time it came out I was already sick of dealing with the rooting updates. I don't care what anybody here says it's always a pain in the ass. It takes 3 to 4 hours to get everything set back up right after rooting. The time to back up everything before you start has to be considered. And when things go wrong you spend a whole weekend making them right. I don't have time for it anymore.

    I most enjoy my EX kernels ability that allows me to sweep to sleep the display. I love this because it's handy and makes it so my screen off button (power button) is basically never used. It never fails this way. This means I never have to tear my phone apart to replace mechanical components.

    I enjoy adaway. I enjoy YouTube vanced. I enjoy viper for Android. I enjoy substratum. I enjoy button mapper. I really, really enjoy Tulsa divers pixel launcher mods that allow me to make the buttons on the screen smaller to give me more screen real estate, but I think that hasn't been available since Android 11. You can no longer modify button icons from what I understand. I don't know if this is still true. I know there are rootless versions of substratum and the YouTube advanced, but when I last read about them years ago they were limited as compared to the root versions.

    I leaned towards root being basically worthless, not worth the time, and more of a pain in the ass for a basic user who's not a developer. If I get the Pixel 5a or the Pixel 6 is rooting still worth it in 2021? Are there any rootless versions of the things I've mentioned here that would satisfy all my likes and needs I've mentioned here on Android 12 on a Pixel 5A or Pixel 6?
    2
    Hey all,

    I purchased my new 5a after seeing various headlines about how the Google Dialer would allow you to opt in to automatic call recording. That's incredibly helpful for my job, and a major reason why I've kept my OnePlus 6 for the past few years, but now the battery is barely getting through half the day.

    It looks like Google is restricting auto calls to outside the US, which sucks because I live in a one-party consent state and always ask for permission to record.

    Magisk could be the answer since it has a few modules for other Pixels to get auto call recording. However, do we know if we can apply the same method for Magisking the 5 to the 5a? I figure it may carry over because these two devices are so similar in specs and software, but I'd like to make sure before getting into the process.
    Go to Settings -> About Phone. At the bottom is your build number. Go to https://developers.google.com/android/images and download the image that matches your version, probably .007.

    Extract boot.img from it and adb push it to /sdcard. Have magisk patch that and save it. adb pull that patched boot.img and make sure you have OEM Unlock enabled in Developer Options. After confirming that, reboot to fastboot and run 'fastboot flashing unlock'. This will likely wipe your phone. Once that's done, reboot back into fastboot and run 'fastboot flash boot <local path to patched boot.img>' Now you have magisk installed. You can also install LSPosed and XPrivacyLua if you want to tinker with that or the Universal SafetyNet Fix at: https://github.com/kdrag0n/safetynet-fix/releases. Just download 1.2.0 and adb push it to your phone and have magisk install it.
    2
    Do you root with Magisk? It's definitely a lot easier now. https://topjohnwu.github.io/Magisk/ota.html

    Doing updates and staying rooted was a PITA for me too, I ended up just never updating haha. In fact, my P2 is still running some old custom 9.1 version.
    Yes. I use magisk, and that's exactly what I did. I have yet to (never will on this phone anymore) update to android 11 because I KNEW such a big OS change would leave my phone broken for days. One of the big things I like on my phone is Tulsa divers modified button bar icons and making the bar a lot smaller, so it uses less screen real estate. When 11 came out I read that the icons couldn't be modified. Not sure if that's correct. It's been too long. Regardless, I just stopped updating because of the potential for a bad couple days, and even when things went well I never wanted to spend the 3-4 hrs to back the phone up and get everything just like it was before after booting back up into the new update.

    It's easier to update and root now than it was when I had to download the update, open it, remove "-w" from the flashall.bat file, flash twrp, flash magisk, and then re-install all the modules or the ones that were messed up or inactive from the update?
    2
    My experience is that while I pass safetynet, the google play store is still restricted (no netflix, etc) and google pay doesn't seem to work after the new security update from a few days ago. Hope you have better luck.
    It's full possible to be rooted via magisk and pass cts/safetynet... and also have full usage of Google Pay/Netflix/etc.. There are zero guides so far, so I've been debating making one...
    1
    You don't want to patch the 'bootloader-barbet-b9<snip>.img file, you want to open the image-barbet-rda<snip>.ZIP, and extract just the boot.img file.

    Or did I misread your post?
    Nope, you read it right and that was exactly my problem. Can't believe I confused bootloader image with boot image. Thanks for straightening me out!