yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a 5G Guides, News, & Discussion] zubblwump:
Yep, tried it. I can slide the slider and pick a connection mode, but it doesn't make a difference. Similar with manually finding USB preferences. It doesn't recognize a data connection, so it's grayed out exactly the same as it is when it's plugged into a charger.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update

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

Magisk Canary (c11ccbae) (24310)
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update

Magisk Canary (756d8356) (24312)
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release (8dfb30fe) (24313)

or

app-debug (8dfb30fe) (24313)

Note

"Debug builds should only be used if you are actively developing Magisk, or if you want to submit bug reports"
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release (bf04fa13) (24314)

or

app-debug (bf04fa13) (24314)

Note

"Debug builds should only be used if you are actively developing Magisk, or if you want to submit bug reports"
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary Update

app-release (2106751e) (24315)

Zygisk

[MagiskSU] [Zygisk] Proper package management and detection

[Zygisk] Fix Zygisk's self code unloading implementation...
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Updates

- Magisk Beta 25.0

- Magisk Canary (cacf8736) (25001)
[Google Pixel 4a 5G Guides, News, & Discussion] egandt:
"Open a Command Prompt in the folder you copied the patched boot.img to.

Type fastboot flash boot "name of patched boot".img without the quote marks at the Prompt and press enter.

Type fastboot reboot at the Prompt and press enter."

On Magisk 25.0 and Build bramble-sq3a.220605.009.a1, I can not boot the patched image as it shows google screen then fails then reboots tries again then fails a second time with a message try again or wipe data (which I can not do as I have no backup yet since I do not have root).

"fastboot flash boot boot.img --slot all" recovers the phone, but not root which I need to create a backup (stupid phone upgraded even though I had it disabled and lost root before I could backup using swiftbackup).

I personally use oneplus never have issues, every time I work on the pixels I have issues with rooting and with them updating when I have disabled it in developer options

ERIC
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
- Do you have SDK Platform-tools 3.3.0.2 installed on your PC.?

- boot Safe Mode

- After, Safe mode is fully booted

- Reboot

- flash the bramble-sq3a.220605.009.a1 magisk_patched boot.img
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
SafetyNetFix Update

v2.3.1 - 27Jun

This version only supports Zygisk (Magisk 24 and newer)

.
[Google Pixel 4a 5G Guides, News, & Discussion] Flagger1975:
I have a work project that required a rooted Android device and managed to get a Bramble rooted. Now a new stumbling block has arisen, I need to a copy a file to the /etc directory.. and I can't. Looks like I don't have permissions to save the file based on the ADB result. Magisk shows the device is rooted, root checker confirms, I use Root Browser and can see the System directories, just can't save to them. Is there anyway around this or a way to unlock the directory I need further? Device is on Android 12... think the December build.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@Flagger1975

Did you enable

Root access mode

in Root Browser Classic?

Did Magisk Grant

Superuser

to Root Browser Classic?
[Google Pixel 4a 5G Guides, News, & Discussion] Flagger1975:
@Homeboy76

I'm using Root Browser Classic, root access mode is enabled.. when I open the app I receive a message from Magisk that it granted Superuser rights. Is there another file manager I should use? Ive tried a few and either they didn't work properly or were so insanely ad filled they were unusable.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@Flagger1975

If Root Browser Classic was granted Superuser, I do not know why you can't save the edited file.
[Google Pixel 4a 5G Guides, News, & Discussion] Flagger1975:
@Homeboy76

I don't get it either, I've tried multiple file browsers and they all report the file system is a read only file system. Im not sure if this is something Google did with Android 12 or what but its infuriating as this pretty much stops any work I can do.

Im guessing what is tripping me is well.. Google:

Can't edit system files​

From Android 9 a lot has changed in Android, and if you can't edit system files anymore it is not because root is broken or not fully working.

On some system-as-root (SAR) devices you can no longer mount the system partition as read-write and doing systemless modifications through Magisk is an easy way of getting around that. If you do want to do actual edits of the system, and if it is even possible (from Android 10 it's actually impossible on some devices), you need to mount the root directory, /, as rw and not /system. You can also try editing the partition mirrors that Magisk keeps in /sbin/.magisk/mirror, but this should be the last resort since it might be tricky mounting them rw.

From v20.0, Magisk is also following the design laid down by Google, which is why you might suddenly start to experience this "issue" after updating from earlier Magisk versions.

Question is.. how do I mount the root directory as rw versus not /system?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@Flagger1975

Good question, did you Google your question?

How do I mount the root directory as rw versus not /system?
[Google Pixel 4a 5G Guides, News, & Discussion] Flagger1975:
@Homeboy76

I did and get plenty of responses including lots of things involving linux which have nothing to do with this particular situation. I was really hoping to get help for this particular use case versus Ubunta version whatever, or IBM operating system or whatever other results come back. Im trying not to brick this device as this was the only one we have I was able to get rooted thanks to Android OEM's. I very little linux knowledge and just as much knowledge on Android (so yeah, not much).
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@Flagger1975

...Im trying not to brick this device as this was the only one we have I was able to get rooted...

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

Magisk Canary - app-release_f42c089b-

25102

.apk 20Jul
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Updates

Magisk Beta - 25.2 21Jul

Magisk Canary - app-release_9b61bdfc-25201.apk 21Jul

Magisk Stable - 25.2 21Jul
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Having problems passing

SafetyNet

when using Google Pay/Wallet? Try these Play Integrity Fixes:

Riru - Play Integrity Fix

Zygisk - @Displax's safetynet-fix-v2.3.1-MOD.zip

Use this app to check the status of Play Integrity on your phone: Play Integrity API Checker
[Google Pixel 4a 5G Guides, News, & Discussion] OneNutShort:
Really appreciate the thorough guide. Looking to upgrade from rooted android 12 to rooted android 13, is there anything new or specific I need to look out for before updating? I see that the title for your guide references android 13, but the instructions still reference 12, and I know sometimes there are some special instructions or things to be aware of before flashing an updated OS.

Thanks again!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
You're right about there still being references to Android 12. I'm working on fixing that problem.

A large number of XDA members are upgrading to Android 13 without wiping their phone. They are flashing the Factory Image (keep data) successfully with no problems.

If you decide to not wipe your phone and your phone is rooted, please remember to uninstall Magisk or remove all the modules from Magisk before you start upgrading to Android 13.
[Google Pixel 4a 5G Guides, News, & Discussion] OneNutShort:
Thank you, really appreciate the quick response and the information.

Cheers.
[Google Pixel 4a 5G Guides, News, & Discussion] WhiteAsIce:
Successfully flashed to A13 Aug 2022 update. All is good!
[Google Pixel 4a 5G Guides, News, & Discussion] Speedy_Gonzalez:
Did you find any solution Chief?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update Magisk Canary

app-release_4737c511-25202.apk
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update

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

Magisk Canary

app-release_38ab6858-25203.apk
[Google Pixel 4a 5G Guides, News, & Discussion] WhiteAsIce:
Google Pay suddenly no longer works. It was fine after I updated to Android 13. My Play Store still says device is certified, but after I repeat the steps in the first post, Google Pay says that device cannot be used for contactless pay. Anyone else encountering this?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Are you using the SafetyNet Mod in this thread? https://xdaforums.com/t/magisk-module-universal-safetynet-fix-2-3-1.4217823/post-87198517
[Google Pixel 4a 5G Guides, News, & Discussion] WhiteAsIce:
No, I had been using the one posted in the first post here. I will download the mod you linked and try it out.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Ok, this is what you need to do to get Google Pay/Wallet working again:

Install Displax | Release v2.3.1-MOD · Displax/safetynet-fix · GitHub

Install Fox2Code/Fox

Magisk Module Manager

(This is the new Magisk Module repository.)

After you have installed the SafetyNet Mod from 1. or 2. above

Clear Google Services Framework data

Google Pay/Wallet data

Google Play Store data

Reboot

Wait for Google Pay/Wallet to start working again: It may take 24 hours to start working again.

~ ~ ~ ~ OP, Updated ~ ~ ~ ~
[Google Pixel 4a 5G Guides, News, & Discussion] WhiteAsIce:
Okay, downloaded & installed the two new things. Was able to add my credit card back. I'll check in a few days to see if it still works, or if it goes back to saying my device can't be used.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update to OP

New

Android 13 Beta QPR1 Program for the Google Pixels 4a5(G)/5/5a/6/6Pro/6a
[Google Pixel 4a 5G Guides, News, & Discussion] Droid9684:
Hello I still can't flash twrp to my Pixel on A13! Between using Platform tools on Mac and Windows commands just wont work! "No such file or directory exists"
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@Droid9684,

AFAIK, TWRP has not been developed for Android 13.

What

error

are you getting when you try to flash the magisk_patched...img?

Suggestion

Verify, you downloaded and installed the

latest version of Mac/Windows SDK Platform-tools r 33.0.3

.

Move the

magisk_patched...img

to the

SDK Platform-tools folder

. Open that folder and type this command:

Mac

./fastboot flash boot magisk_patched...img

Windows

fastboot flash boot magisk_patched...img

Note: This Install and Use ADB and Fastboot on Mac guide, might help you use SDK Platform-tools on your Mac.
[Google Pixel 4a 5G Guides, News, & Discussion] Droid9684:
I was able to root it by using command fastboot flash boot changing the command and name to master root img from magisk name.

Is there an alternative recovery I can use for this phone?

Also i'm finding it lags while streaming. Is this because of the ram useage?

I was able to install a debloater magisk module app this is only way im able to remove system apps.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
AFAIK, there is no alternate recovery for this phone with Android 13.
[Google Pixel 4a 5G Guides, News, & Discussion] Droid9684:
So my next question would be do I return this device and get Pixel 5? Theres twrp support for it and it seems better supported according to xda forums. Or do I go with like another Samsung device as I have a S20+ as my main?

And I've had a bit of lag while trying to live stream on Pixel 4a 5G! Not sure why tho!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
TWRP for Android 13, has not been developed. If the Android version on the phone is 13, It doesn't matter which phone you own: Pixel/Pixel 2/Pixel 3/Pixel 3a/ Pixel 4/ Pixel 4a/Pixel 4a5(G)/pixel, 5/Pixel5a/Pixel5a5(G)/Pixel6/Pixel 6a/Pixel 6 Pro, Samsung, etc.

TWRP cannot be installed.
[Google Pixel 4a 5G Guides, News, & Discussion] Kal-El7:
Hello,

I am aware that JoshuaDoes came out with an unofficial TWRP recovery for bramble nearly 9 or 10 months ago, early January. However, since then is there an official recovery app that I can use for my Pixel 4A5G running Android 11 (eleven) on AOSP? I have used Magisk on this just fine on Android 11 and I want to stay on Android 11 AOSP. I had to replace my Pixel 4a5G with another one through my cellular's insurance claim. I came on this thread to remind myself the process for getting Magisk installed. But I never bothered to revisit TWRP after having used it for many years in my past devices I've had over the years. It is just only now, starting with the Pixel 4a5G, that I wanted to explore putting this recovery (or any other official recovery) onto my Pixel 4a5G only to now realize that there hadn't been a recovery released for this Pixel 4a5G.

Any thoughts?

Thanks!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
No TWRP, no thoughts.
[Google Pixel 4a 5G Guides, News, & Discussion] Kal-El7:
Thank you. I did use JohnDoes' TWRP build and so far it seemed to work making a Nandroid. I have not yet tested a restoration of that Nandroid yet.
[Google Pixel 4a 5G Guides, News, & Discussion] TophFR:
Sorry if this has been asked before but... Which version/canal of Magisk is required for rooting Android 13 ? Is the latest stable one OK?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Which ever version you choose: Magisk 25.2 Beta, Canary or Stable.

Yes.
[Google Pixel 4a 5G Guides, News, & Discussion] kb5rir:
Will this work with t-mobile variants
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Can you unlock the bootloader?
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary.Update

app-release_c3b4678f-25204.apk 11Oct
[Google Pixel 4a 5G Guides, News, & Discussion] kapsama:
Hi, I will be trading in my Pixel 4a 5g this week and need to return it to stock.

I saw this in the first post:

So according to this all I need to do is a factory reset and both the root and Magisk will be removed from the phone? And then I can relock the bootloader as described above?

Or do I need to go into Magisk and use the uninstall option first?

Appreciate any help.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Yes, Just follow the instructions in the

edited

OP,

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

1. Unlock Bootloader/Return Phone to Stock/Lock Bootloader

•

Return Phone to Stock

,

and

•

Lock Bootloader
[Google Pixel 4a 5G Guides, News, & Discussion] kapsama:
Thanks Homeboy76, you're a legend!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Magisk Canary.Update

app-release_a468fd94-25205.apk 11Oct
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
New

The

Developer Preview QRP2 Beta

Factory/OTA image links are in the

OP, Part I, NEW

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

Magisk (831a398b) (25206)
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update SafetyNet Net Fix Mod

https://xdaforums.com/t/magisk-module-universal-safetynet-fix-2-3-1.4217823/post-87198517/

Displax's SafetyNet Fix Mod: v2.3.1-MOD_2.1

• Update module.prop
[Google Pixel 4a 5G Guides, News, & Discussion] MilqBagg:
Hello everyone, I hate to be "this guy" but I'm trying to root a secondary phone I got to play games on.

Did a fair bit of reading, but I must be doing something wrong because the thing just wont work.

Any help would be much appreciated!

Device Details:

Phone: Pixel 4A

Build: tp1a.221005.002

Magisk Version: 25.2 off the official Github.

Story:

Bought the phone used, factory reset.

Downloaded the image off Google Play service and flashed it using Chrome.

Enabled developper settings, usb debug, oem unlock, USB file transfer.

Extracted the boot.img from the zipped file, transfered it to the phone.

Patched with magisk, transfered back to pc.

Unlocked the bootloader using cmd and flashed the patched .img (Using fastboot).

Issue:

Fastboot completes the flash but returns an error message: (bootloader) Image missing OS version.

On the phone screen: error boot prepare.

Obviously, I am missing something here.. can't figure out what it is.

Thanks!
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Flash the December 2022 factory image [13.0.0 (TQ1A.221205.011, Dec 2022)] with the -w, then flash the Magisk patched boot.img that you

extracted from the [13.0.0 (TQ1A.221205.011, Dec 2022)]

factory image

.

If that doesn't solve your problem my suggestions are:

PixelFlasher by badabing2003

How to unlock the bootloader and root the Google Pixel 4a
[Google Pixel 4a 5G Guides, News, & Discussion] MilqBagg:
Trying this right away, thanks a lot!

For the sake of becoming autonomous in the future, could you tell me why this specific image?
[Google Pixel 4a 5G Guides, News, & Discussion] MilqBagg:
It worked and obviously it was a mistake on my end..

When I downloaded the factory image i got on the Android page and simply hit ctrl+f and my build number without paying attention, I downloaded the first result with a matching number so the image I was patching was for an entirely different device.

After a reflash of the factory image using chrome, I went through the basic magisk tutorial and everything went smoothly (so far).

Now I just need to read up on hiding root, safety net and prevent apps from snooping around the phone.

Thanks again for your time, wanted to follow up so my mistake is documented for future newbies.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Most XDA members flash the factory image using SDK Platform-tools r33.0.3.

Curious

When you wrote you flashed the factory image using

Chrome

, were you referring to using chrome to connect to the 'Android Flash Tool' to flash the factory image?

If you were not using the 'Android Flash Tool' please explain how you

flashed

the factory image with

Chrome

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

lineageOS 20.0 for the Google Pixel 4a5(G) (bramble) Nightly
[Google Pixel 4a 5G Guides, News, & Discussion] kageneko:
I don't know what is going on, but I tried to update my device and got into a bootloop. I managed to do a factory reset and patched the boot image off the bramble-tq1a.230105.001 file, but when I fastbooted to the patched image and installed magisk directly, it got into the bootloop again after reboot where it ends up in the android recovery screen with "try again" or "factory reset".

help....
[Google Pixel 4a 5G Guides, News, & Discussion] roundaway:
Extract the boot.img from the firmware and then "Fastboot flash boot boot.img".
[Google Pixel 4a 5G Guides, News, & Discussion] kageneko:
note, I can fastboot boot back to the patched image so I can at least get to my device. but when I try to install it again, it fails back to the bootloop.
[Google Pixel 4a 5G Guides, News, & Discussion] kageneko:
yeah, I did that to at least get it fixed but it failed. so how do I get root back?
[Google Pixel 4a 5G Guides, News, & Discussion] kageneko:
fastbooted to the stock boot.img then flashed and it worked to get me back to unrooted mode... now how to get root back ... note that I'm using magisk canary build 25206 (34)
[Google Pixel 4a 5G Guides, News, & Discussion] roundaway:
Go to the first post, Part II and step 5.

Go to the first post, Part II, step 5. Works like a champ.
[Google Pixel 4a 5G Guides, News, & Discussion] kageneko:
after I did the factory reset, magisk had no modules installed. I hadn't even gotten that far yet. restoring to november update with magisk stable 25.2 since that was working fine. will reroot again.
[Google Pixel 4a 5G Guides, News, & Discussion] kageneko:
aaaand after I fastboot flash booted the patched image after restoring to november update... same bootloop. W T F.

this is the adb output:

C:\adb>fastboot boot boot.img

Sending 'boot.img' (98304 KB) OKAY [ 2.405s]

Booting (bootloader) boot.img missing cmdline or OS version

OKAY [ 1.564s]

Finished. Total time: 4.012s
[Google Pixel 4a 5G Guides, News, & Discussion] kageneko:
ugh this is frustrating... i've facto-reset my phone 4 times already . I waited for everything to complete, then installed magisk, then extracted the boot.img and patched it, then fastboot flash boot the patched boot.img and it goes to bootloop every single time... this is the first time this has happened on the 4a 5g and it's frustrating the hell out of me...
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@kageneko

First do OP, ~ ~ Part II - INSTRUCTIONS ~ ~ ~, Install/Update Factory Image keep data, wipe data..., Important Note(s), 5. If you phone bootloops...

This should clear the bootloop

Second, do OP, ~ ~ Part II - INSTRUCTIONS ~ ~ ~, 5. Root/Reroot with Magisk and Pass SafetyNet., •

Patching the boot.img - to root/reroot.

This should reroot your phone.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
If you are trying to return to stock the command is fastboot flash boot --slot all boot.img

I think your problem is, there are still some active Magic modules on your phone.

So, after you run the command above, boot Safe Mode. Then reboot. Then do OP, ~ ~ Part II - INSTRUCTIONS ~ ~ ~, 5. Root/Reroot with Magisk and Pass SafetyNet., •

Patching the boot.img - to root/reroot.
[Google Pixel 4a 5G Guides, News, & Discussion] kageneko:
rooted! the ONLY difference was after I patched the boot.img file, I rebooted the phone before copying it to the PC... that is literally the ONLY difference between what I did before and this last time when it finally worked. I'm gonna wait a bit before trying to update to January... this session was way uncharacteristically problematic.
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Update SafetyNet Fix

kdrag0n SafetyNet Fix V2.4.0

This version only supports Zygisk (Magisk 24 and newer).
[Google Pixel 4a 5G Guides, News, & Discussion] dadnammit:
Having trouble "re-rooting" after an update, and need troubleshooting suggestions. It's been a long time since I first rooted using the steps here.

I lost root after an OTA and am finally trying to do it again, but it's not working. Now running Android 13. I did several OTA updates while the root was lost.

STEPS from Part II - INSTRUCTIONS => 5. Root/Reroot with Magisk and Pass SafetyNet, • Patching the boot.img - to root/reroot:

- I extracted the boot.img from the firmware currently matching the version on my device.

- Magisk-v25.2.apk is installed. Also tried with canary.

- Patched the boot.img using Magisk.

- Copied magisk_patched-25200_r1Bfr.img to my PC.

- Started phone in fastboot and ran: fastboot flash boot magisk_patched-25200_r1Bfr.img

- Got response of OKAY writing to boot_a

The phone starts fine, but it's not rooted.

:(

Ideas?

(Magisk has the SuperUser button greyed out, and a Root Checker detection app fails. But some banking apps now fail because I am "rooted.")
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
Boot Safe Mode an then reboot.

Reflash magisk_patched-25200_r1Bfr.img

Are you rooted?
[Google Pixel 4a 5G Guides, News, & Discussion] dadnammit:
I tried safe mode and then reflashed patched boot file, but no. Still not rooted, but thanks. :(
[Google Pixel 4a 5G Guides, News, & Discussion] Homeboy76:
@dadnammit,

Is there a Magisk app in the App drawer?

If yes delete it.

Then go to Settings => Apps => See all 999 apps and check for a Magisk app.

If there is a Magisk app delete it.

Then reflash magisk_patched-25200_r1Bfr.img

If you are not able to root, try using @badabing2003 Pixel Flasher to root.