yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a 5G Guides, News, & Discussion] dadnammit:
I appreciate all your suggestions. I tried the Pixel Flasher... what a cool tool !

I fullly reflashed the stock firmware from Dec 2022 (note my device has noy yet received the OTA update for Jan 2023).

Despite flashing a patched boot.img using the latest canary build of Magisk (831a398b) within the Pixel Flasher tool, it still didn't work...

1) The device boots normally.

2) Magisk does not have root (superuser and module buttons greyed out).

3) But a banking app now detects that I'm rooted. This was easily reverted when I reflashed the stock boot.img.

So, basically everything LOOKS like it should be working, but I'm not getting root!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Uninstalling and reinstalling the Magisk Manager apps should have fixed the superuser and module buttons greyed out problem.

Maybe @badabing2003 can help you use the Pixel Flasher tool to fix the superuser and module buttons greyed out problem.
[Google Pixel 4a 5G Guides, News, & Discussion] badabing2003:
This is typically due to multiple Magisk managers being installed, if at any point, Magisk Manager was hidden, and then another Magisk manager was installed, you'd face issues as this.

@dadnammit you should first do is, uninstall all Magisk managers, hopefully you can find the hidden one, or at least you know the package name, if you did not rename the application when you hid, then it should be named settings.

If you have already applied patched boot, then reboot and just install Magisk Manager. and it should detect root.

You can confirm that you're rooted by doing

adb shell
su

if you get su, you're rooted.

If you are on stock, then just install Magisk Manager and flash the patched boot.

Whatever you do make sure you only have a single instance of Magisk manager.
[Google Pixel 4a 5G Guides, News, & Discussion] dadnammit:
Oh my gosh. SOLVED!

Somehow I was not understanding the suggestions/steps here. The problem was indeed an old hidden Magisk app package. I removed all versions. Flashed the patched boot.img created previously by by Magisk v25.2, and then reinstalled Magisk Manager. All is working now!

Thanks!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
No problem, glad you got root again. :)

Thanks @badabing2003!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Good information, I'm putting it im my "lessons learned" scrap book under "Magisk Manager app superuser and module buttons greyed out. :)
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@badabing2003,

I changed my mind the information you posted is to good to keep to myself.

I added it to the OP in this thread and four other threads :

~ ~ ~ Part II - INSTRUCTIONS ~ ~ ~...,

5. Root/Reroot with Magisk and Pass SafetyNet.,

• Patching the boot.img - to root/reroot.,

# 19.
[Google Pixel 4a 5G Guides, News, & Discussion] phonetool:
Big thank you for maintaining these instructions!

I'm about ready to jump into rooting my new-to-me 4A5G to prepare it to replace my haggard Pixel1. I've always put Lineage on my phones and never experienced 'as delivered' Android, so I thought I'd try it for a while, but I think root is a must-have in order to run ad blockers, deep cleaners, and app backup/restore. At least, that's how it's worked for me since the days of OGDroid.

The phone is on Android 12 (last update was mid '22), but keeps asking to update. Is it trying to OTA to 13? If so, is it best to let it before I root?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
It is ok to let the phone update before you root.
[Google Pixel 4a 5G Guides, News, & Discussion] phonetool:
Thanks!

Yup- it says it's going to jump to 13.
[Google Pixel 4a 5G Guides, News, & Discussion] Slim2none4u:
Thought i would share the info

Get Android 14 | Android Developers

Get Android 14 on your eligible device.

developer.android.com
[Google Pixel 4a 5G Guides, News, & Discussion] WhiteAsIce:
As of about last week, Google Pay doesn't work on my 4a 5G anymore, and my Play Store is showing device not certified. I have downloaded the latest kdrag0n safetynet-fix-v2.4.0, and repeated the steps multiple times of wiping the system apps storage. Any insight on what's going on?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Have you tried Dislax safetynet-fix-v2.4.0-MOD_1.1.zip?
[Google Pixel 4a 5G Guides, News, & Discussion] WhiteAsIce:
I had to revisit that page. When I first visited Displax;s page, I scrolled down and clicked "Download latest version" but that just took me back to the kdrag0n page. Now I realize I was supposed to click on Releases on the right side. So far, 4a 5G is working using this forked version.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
SDK Platform-tools r. 33.0.3

https://xdaforums.com/t/pixelflashe...g-managing-pixel-phones.4415453/post-88141667
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update Magisk Canary

app-release_e5641d5b-25208.apk

Notes:

Tap 3 dots (...) across from 10.8 MB, Tap Download

Will not hide Magisk

Magisk Canary 25206

app-release_831a398b-25206.apk
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release_2717feac-25209.apk

Notes:

Tap 3 dots (...) across from 10.x MB, Tap Download
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary

app-release_2717feac-25209.apk

Note: Not fixed!

https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-88237343

https://xdaforums.com/t/pixelflasher-for-google-pixel-7-pro-support-thread.4505287/post-88240637
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release_981ccabb-25210.apk

Notes:

Tap 3 dots (...) across from 10.x MB, Tap Download
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Not another broken Magisk Canary release

Magisk Canary - app-release_981ccabb-25210.apk

breaks

all modules

:

25210 breaks module loading · Issue #6688 · topjohnwu/Magisk

Device: Pixel 7 Pro Android version: 13 QPR2 Magisk version name: v981ccabb Magisk version code: 25210 With the latest version, mounting all mounts fails saying No such file or directory, i.e. moun...

github.com
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Fixed

Magisk Canary - app-release_981ccabb-25210.apk

https://github.com/topjohnwu/Magisk/issues/6688

https://github.com/topjohnwu/Magisk/pull/6690
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
SDK Platform-tools Update

SDK Platform-tools r34.0.0 and r34.0.1 are not working.

Use SDK Platform-tools r33.03.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary

These versions of Magisk Canary are all broken: 25207, 25208, 25209, and 25210.

The last working Magisk Canary 25206 - app-release.apk can be downloaded here.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
SDK Platform-tools

SDK Platform-tools r34.0.1 has been released.

There is a link in the OP, ~ ~ ~ Part I - INFORMATION ~ ~ ~, 2. Prerequisites, • A Computer with the latest SDK...
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
SDK Platform-tools

Several members of the XDA community have

written posts that SDK Platform-tools r34.0.1 is

broken

. Problem: fastbootd not working

Use SDK Platform-tools r33.0.3: https://xdaforums.com/t/guide-root-...der-pass-safetynet-more.4221133/post-88261769
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release_69529ac5-25211.apk

Notes:

Tap app-release.apk

Tap 3 dots (...) across from 10.9 MB, Tap Download

...[General] Bump minimum supported Android version to Android 6.0

Google Android 14 Codename is

'Android U' or 'Upside Down Cake'

...[MagiskPolicy] Update rules to support Android U...

...This fixes boot image patching issues on Android U preview...
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
:oops: Not

another broken

Magisk Canary

Notes:

Magisk Canary 25207, 25208, 25209 (some devices), 25210 and 25211 are broken.

Magisk 25211: Some, are reporting

Systemless host

is still not working in this thread:

Magisk General Support / Discussion - starting at Post #55137

Use Magisk Canary 25206

Tap

the 3 dot menu across from 5b2934603f

Tap

Go to file

Tap

app-release.apk

Tap

the 3 dot menu across from 10.9 MB

Tap

Download

<<Edit>> Fix for Module loading, System less Host is still broken.

Waiting for Magisk 26001.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release_e2545e57-26001.apk

Notes:

Tap app-release.apk

Tap 3 dots (...) across from 10.x MB, Tap Download

Magisk Beta Update

Magisk-v26.0.apk
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Beta Update

Magisk-v26.1.apk

Magisk Canary Update

app-release_d0c93842-26101.apk

Notes:

Tap app-release.apk

Tap 3 dots (...) across from 10.x MB, Tap Download

Magisk Stable Update

Magisk-v26.1.apk
[Google Pixel 4a 5G Guides, News, & Discussion] alkhaled:
I need help to get the google pixel 4a 5g boot

Build number

TQ2A.230405.003.B2
[Google Pixel 4a 5G Guides, News, & Discussion] badabing2003:
On the download page, switch the language to English and you would see it.

I don't know why but April release doses not show up on many other languages.
[Google Pixel 4a 5G Guides, News, & Discussion] alkhaled:
How to solve this problem in the developer options The OEM Unlocking option is closed (connect to the internet or contact your carrier)
[Google Pixel 4a 5G Guides, News, & Discussion] alkhaled:
please help me How to solve this problem in the developer options The OEM Unlocking option is closed (connect to the internet or contact your carrier)
[Google Pixel 4a 5G Guides, News, & Discussion] alkhaled:
I did all the steps mentioned in the post, but I did not succeed in unlocking the bootloader or oem
[Google Pixel 4a 5G Guides, News, & Discussion] badabing2003:
If your phone is locked by your carrier, they are the only ones who can unlock it, if they want to unlock it.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@badabing2003 is correct if your carrier locked the

carrier

or the

bootloader

, only they can unlock it. When you get the bootloader unlocked, you can enable

OEM Unlocking

.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
OP Changes

I added additional notes to the OP, ~ ~ ~ Part II - INSTRUCTIONS ~ ~ ~,

5. Root/Reroot with Magisk and Pass SafetyNet.,

• Patching the boot/init_boot.img - to root/reroot.,

1 & 2.
[Google Pixel 4a 5G Guides, News, & Discussion] J0kker:
I've just spent the last 4 hours to try to get out of a boot-loop from May update, no way to flash back the latest available fullf irmware from french page (february) without full wipe, but sideloading the may OTA (which is available in the french page) would result in a booting phone, but no way to get magisk/root, even trying with a payload.bin dump to get the boot.img from OTA zip !

Thanks for pointing out that the full firmware is available in english page... could have searched a few more hours... or maybe got mad and flash a custom rom 🙃

Downloading the full may firmware right now and let's hope patching the boot.img from that file will do the magic 🤞
[Google Pixel 4a 5G Guides, News, & Discussion] badabing2003:
If extracting boot.img from OTA that you flashed, and creating a patch from it is giving your problems, then your problems are not with firmware.

Explain exactly what is happening.
[Google Pixel 4a 5G Guides, News, & Discussion] J0kker:
So here i am, after extracting boot.img from the full firmware, i compared the MD5 checksum and noticed it was the same as the one i dumped from payload.bin, so the resulat was the same, obviously.

So i simply replaced Magisk Delta which i was using for some time now, and switched to Magisk Canary as it is advised in OP, patched my boot.img with it and all went fine... So all my troubles were because of a wrong magisk fork :)
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update

SDK Platform Tools r. 34.0.1

fixed
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update

I tested SDK Platform-tools r. 34.0.1 it is

not fixed

. There are still problems with fastbootd. Use SDK Platform-tools r. 33.0.3
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release_47d2d4e3-26102.apk

Notes:

Tap app-release.apk

Tap 3 dots (...) across from 10.x MB

Tap Download
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
SDK Platform-tools Update

SDK Platform-tools r. 34.0.3, was released May 22, 2023.

@badabing2003 reported a problem when using it.

https://xdaforums.com/t/platform-to...7-pro-cheetah-safetynet.4502805/post-88571575

@Lughnasadh, suggested a fix.

https://xdaforums.com/t/platform-to...7-pro-cheetah-safetynet.4502805/post-88571601

@badabing2003, confirmed the suggested fix works.

https://xdaforums.com/t/platform-to...7-pro-cheetah-safetynet.4502805/post-88571617

If you use Linux or Windows SDK Platform- tools r. 34.0.3. You must set the environment variable:

Linux

Windows

Note:

If you have any problems with SDK Platform-tools 34.0.3

. You can get SDK Platform-tools 33.0.3 here.
[Google Pixel 4a 5G Guides, News, & Discussion] saecv:
thanks
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update

XDA members are reporting more issues with SDK Platform-tools 34.0.3

Use SDK Platform-tools 33.0.3
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update

[MODULE] [MOD] Universal SafetyNet Fix by Displax

v2.4.0-MOD_1.3

Fix "stat /sys/fs/selinux" access time reading. Also removed archaic MIUI cross-region shenanigans. Thanks to PR by aviraxp!

Ignore props changing on Xiaomi.eu. This fixes randomly attestation failings. So strange ROM...
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update - notes.md:

Download: app-release.apk
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary (a8c4a33e) (26103)

Is not working for everyone, it has some issues that need fixing:

Use, attached,

Magisk Canary app-release_47d2d4e3-26102.apk until it (26103) is fixed.
[Google Pixel 4a 5G Guides, News, & Discussion] laser03251:
Hi All,

Hoping you can help me out. So I successfully rooted my 7 pro about 5 months ago when I first purchased my phone was able to unlock bootloader, root / install magisk everything was working great. Then today, my phone took an OTA without my realizing it. Phone died and upon rebooting, i noticed that my root was gone. When this OTA installed, my magisk was hidden and i had modules active. I've since spent the last few hours trying to get root back but no luck. When I open magisk now, super user and modules are grayed out. I've reviewed the posts around 01/2023 by badabing2003 and Homeboy76 where this issue was mentioned but haven't been able to regain root using those suggestions outlined. This is what i've tried so far

1. tried basic firmware upgrade outlined using these instructions found here https://xdaforums.com/t/july-5-2023...-pro-cheetah-safetynet.4502805/#post-87540339 ; specifically post 2 using the firmware from June 2023 (which is what was installed by OTA), platform tools 33.0.3 and latest windows drivers

2. uninstalling my hidden magisk (named settings) and my original magisk (magisk manager) and using the flash.all.bat outlined in the above link

3. booting into safeboot mode, reboot, and seeing root was present - no luck

4. I did try directly flashing the patched magisk img file but this caused an unsuccessful boot / bootloop and I was able to boot again using instructions outlined in # 1

At this point I'm not sure what to do. Would welcome any suggestions and can definitely provide more info. Thanks!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
First, double posting will not help , wait for your answer from this thread: How To Guide July 5, 2023 TQ3A.230705.001 Global / TQ3A.230705.001.A1 Verizon/MVNOs - Unlock bootloader / Root Pixel 7 Pro [Cheetah] / SafetyNet @roirraW "edor" ehT

Second, you are asking for help with a Google Pixel 7 Pro but you posted your question in a Google Pixel 4a5(G) thread. See Post #1 (OP):

~ ~ ~ Part I - INFORMATION ~ ~ ~, 5. My other Guides
[Google Pixel 4a 5G Guides, News, & Discussion] carlzinhobr:
Doing this does it fix the problem with SIM CARD? I bought in on AliExp and it came saying it's locked, please contact T-Mobile. I went to ytb and followed some instructions but whenever I connect to wifi it stop working and pops up the same error!!! I didn't find any topic saying this about this phone... Anybody that could help me, pls?
[Google Pixel 4a 5G Guides, News, & Discussion] roirraW "edor" ehT:
I wish there was something that could be done, but there is no way around the carrier lock on any device - most especially since you're not even using that carrier, so there isn't anything that we can help with, unfortunately.

Just a possibility: Someone either stole or at least didn't finish paying off that phone from T-Mobile, and they sold it knowing this. I haven't bought things from AliExpress, so I don't know what their return policy is, but if you can, I'd return it for a refund and only purchase a Factory (Carrier/SIM) Unlocked device.

Good luck, again.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
UPDATE - July 5, 2023

<<See post # 328>>
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
UPDATE - July 5, 2023 <<Revised>>

SDK Platform-tools r34.0.4

Notes:

Changelog see #3 below

This brave soul verified it is working with

Android 14 beta

.

:( Still use Platform-Tools r. 33.0.3 instead of the newest - Unlock bootloader / Root Pixel 7 Pro [Cheetah] / SafetyNet by roirraW "edor" ehT

<<Edited :( it's true - 33.0.3 >>
[Google Pixel 4a 5G Guides, News, & Discussion] brickologist:
Is it possible to install /e/os on a pixel 4a 5g (g025i) in one of the ways described above?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
/e/os

Doesn't it have

installation instructions

?

Yes it does. How to get /e/OS on your device ?

The /e/os Android version for the

Pixel 4a5(G)

bramble is Android 12 (S) :

Install with SDK Platform-tools

Use SDK Platform-tools r.33.0.3

Important: Please, read Different build types before you make a decision to install it on your phone[/URL].
[Google Pixel 4a 5G Guides, News, & Discussion] brickologist:
Thanks :-)
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Please read post #330 Important:
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

Magisk (d390ca2f) (26104).

Tap app-release.apk

Tap the three dot menu across from

Code

Blame

Tap Download

Magisk (d390ca2f) (26104)

Lots of code is migrated over to Rust!

[App] Properly preserve boot.img when patching Samsung firmware

with init_boot.img

[MagiskBoot] Directly handle AVB 1.0 signing and verification without

going through Java implementation

Diffs to v26.1

[MagiskBoot] Support extracting boot image from payload.bin

[MagiskBoot] Support cpio files containing character files

[MagiskBoot] Support listing cpio content

[MagiskBoot] Directly handle AVB 1.0 signing and verification without

going through Java implementation

[Daemon] Make daemon socket a fixed path in MAGISKTMP

[resetprop] Support printing property context

[resetprop] Support only printing persistent properties from storage

[resetprop] Properly support setting persistent properties bypassing

property_service

[MagiskSU] Support -g and -G options

[MagiskSU] Support switching mount namespace to PID with -t

[App] Support patching boot image from ROM zips

[App] Properly preserve boot.img when patching Samsung firmware

with init_boot.img

© 2023 GitHub, Inc.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
<<Edited>>

Update Displax/safetynet-fix Mod forked from kdrag0n/safetynet-fix

Changelog: v2.4.0-MOD_2.0

Fix KernelSU support. You still need "ZygiskOnKernelSU".

Fix WiFi calling on some devices (and maybe other related issues) by moving changing ro.product.first_api_level from global namespace to GMS only.

Pass MEETS_STRONG_INTEGRITY[. By default you need device that launched with Android 13+ or custom ROM that manipulate with ro.product.first_api_level (>= 33 / or null / or not present).

If you want to play with it more complex - use separate "-STRONG" build. NOTE: Various system issues are possible on "-STRONG" build! (Fixed by Google)

Displax's v2.4.0-MOD_2.0 was Fixed by Google.

Use Displax's v2.4.0-MOD_1.3....
[Google Pixel 4a 5G Guides, News, & Discussion] chriswhat21:
First off, thank you for these very extensive instructions.

1. I went through all the steps and did a Factory image install on slot a, then slot b. I booted on slot b and got root/Magisk all working fine. When I Fastboot and switch to slot a, it boot loops 2-3 times and switches itself to slot b and boots fine. I've tried reflashing the original boot.img to slot a (Android 14), but same result. Any ideas?

2. Is there not a boot manager (TWRP or other) to switch slots or will it just be a 'fastboot --set-active=other' from my laptop anytime I need to switch?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
I'm assuming you were following the make both slots bootable instructions.

This Guide was written for Android 13, not for Developer Preview Android 14 Beta.

The instructions in this guide may not work with Android 14 Beta.

It will just be: fastboot --set-active=other from your laptop anytime you need to switch.

Note:

PixelFlasher

works with Developer Preview Android 14 Beta.
[Google Pixel 4a 5G Guides, News, & Discussion] chriswhat21:
Thanks for the quick reply. I'll just got back to 13 for now. I had issues with PixelFlasher on my Linux machine. I might try from a Windows PC.

Thanks Again!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Be careful!

Read everything you can find about downgrading Android 14 Beta to Android 13 before you try it.
[Google Pixel 4a 5G Guides, News, & Discussion] chriswhat21:
Just to try it, I went through Part II. 3. (NEW) Make Both Slots Bootable:

Manually.

... with 14 Beta OTA, just for fun. All good now. I'm on Android 14 Beta with slot a Unrooted and Slot b Rooted. Pretty awesome. Done messing with it for a while, lol.

Thanks!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

Magisk (ee34f775) (26105).

Tap app-release.apk

Tap the three dot menu across from

Code

Blame

Tap Download

Magisk (ee34f775) (26105)

[MagiskPolicy] Fix patching extended permissions

[MagiskPolicy] Support more syntax for extended permissions

[MagiskPolicy] Support print out the loaded sepolicy rules

Diffs to v26.1

[MagiskBoot] Support extracting boot image from payload.bin

[MagiskBoot] Support cpio files containing character files

[MagiskBoot] Support listing cpio content

[MagiskBoot] Directly handle AVB 1.0 signing and verification without going through Java implementation

[Daemon] Make daemon socket a fixed path in MAGISKTMP

[resetprop] Support printing property context

[resetprop] Support only printing persistent properties from storage

[resetprop] Properly support setting persistent properties bypassing property_service

[MagiskSU] Support -g and -G options

[MagiskSU] Support switching mount namespace to PID with -t

[MagiskPolicy] Fix patching extended permissions

[MagiskPolicy] Support more syntax for extended permissions

[MagiskPolicy] Support print out the loaded sepolicy rules

[App] Support patching boot image from ROM zips

[App] Properly preserve boot.img when patching Samsung firmware with init_boot.img

© 2023 GitHub, Inc.