yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3a Guides, News, & Discussion] flow5673:
Working on my pixel 3a with magisk 19.3. The apk from the official netflix-site was not working, I used the latest one from apkmirror:

com.netflix.mediaclient_6.26.1_build_15_31696-31696_minAPI21(armeabi-v7a)(nodpi)_apkmirror.com.apk

Before starting netflix I've set it to hide in magisk.
[Google Pixel 3a Guides, News, & Discussion] spiou:
Ok thank you. Can you tell me the version of the canary Magisk Manager you used ?
[Google Pixel 3a Guides, News, & Discussion] pbanj:
I always keep it updated so it would have been whatever was current at the time
[Google Pixel 3a Guides, News, & Discussion] duh1:
Recent apk is blocking service and device is indicated as incompatible in the play store. Never said there weren't workarounds....
[Google Pixel 3a Guides, News, & Discussion] flow5673:
This was no offence, I just wanted to show how it's working again in my case. The 4.16x Version from the apk of netflix.com isn't working at all. I think there are also some Checks for an open bootloader integrated, or simply there is really missing some needed informations about the pixel 3a in this version.

Anyhow, it's working for me right now. Also, amazon prime video via appstore just works without issues.
[Google Pixel 3a Guides, News, & Discussion] bonfire62:
Having an odd issue. I updated to Q, then back because I wanted root (flash-all with -w factory image). I have reinstalled android p (March). I go through the steps of patching the boot image and installing it, and when I do, it bootloops. I can reinstall the default boot.img and it boots fine, but both the patched.img that I the provided patched.img don't work when flash. Confusingly when I fastboot boot prepared.img, it works fine. Any thoghts? Im thinking that it might have to do with the a/b partition scheme?
[Google Pixel 3a Guides, News, & Discussion] duh1:
Doesn't sound like an A/B issue. Start again -- flash-all the June update. Install stable Manager apk on stable channel and patch June extracted downloaded boot image. Upload and flash the patched June image. Reboot and run Manager to finalize the root...
[Google Pixel 3a Guides, News, & Discussion] bonfire62:
I downgraded from the June update because of a known bug, sounds like it a common problem. The open network login wasn't working. https://www.reddit.com/r/GooglePixel/comments/bzdfy3/captiveportallogin_keeps_stopping/

Just doesn't make sense to me that it boots when I fastboot boot it, but not when I flash it.
[Google Pixel 3a Guides, News, & Discussion] duh1:
Glad I slow walked the update and am still on March. Start it all over again with the March firmware and tibu backups for anything important. You must have a corruption somewhere. I redid it 3 times in one day, when first setting up the phone. Never fall in love with your current setup, when it's obviously broken. Shouldn't take that long...
[Google Pixel 3a Guides, News, & Discussion] jmtjr278:
3 times, that's it? Lol. I think when I attempted to switch from pie unlocked rooted to q locked and vice versa it was at least that many. Pain in the rear sometimes. Setup is so much easier than it used to be. When I first started with ics wiping and setting up again was a nightmare.
[Google Pixel 3a Guides, News, & Discussion] duh1:
On previous devices, I had to reflash so many times that the recovery options started to burn into the display. Lots of buggy crap out there...
[Google Pixel 3a Guides, News, & Discussion] bonfire62:
Am I missing a wipe option for the partitions? I mean I should be wiping everything with the -w factory image correct? And that's it?
[Google Pixel 3a Guides, News, & Discussion] bonfire62:
Not quite sure why it works now, but it does. In case anyone else has this problem, here's what I did. I installed back to the second March image and did the factory wipe/install. Booted from there and did setup. I next installed the update to the June patch from within the OS, not factory/sideload. Next, I used the premodded patched boot image provided for the June update, and flashed it. Works now. :/
[Google Pixel 3a Guides, News, & Discussion] sic0048:
What command are you using to flash the magisk_patched.img file? Is it a partition specific command like "fastboot flash boot_"slot "whatever the boot.img is named", or is it "fastboot flash boot magisk_patched.img"?

I suspect it is the partition specific command. If so, try the non-partition specific flash command (fastboot flash boot magisk_patched.img) and see if that works.
[Google Pixel 3a Guides, News, & Discussion] bonfire62:
I tried both over many attempts. What's also weird is that almost every time, it would say boot b, so I'd use that. This time that worked it said boot a, used that.
[Google Pixel 3a Guides, News, & Discussion] sic0048:
Glad you found a solution!
[Google Pixel 3a Guides, News, & Discussion] oscar1823:
Anyone update to latest with Ex Kernel? Would like to know just so i dont mess anything up its my only phone.
[Google Pixel 3a Guides, News, & Discussion] sic0048:
I'm on version 1.02 and don't have any issues. Although to be honest, I haven't changed any of the settings from their defaults.
[Google Pixel 3a Guides, News, & Discussion] monreric:
Does unlocking the bootloader erase the esim data along with phone data?
[Google Pixel 3a Guides, News, & Discussion] oscar1823:
Which method did you use to update to june?
[Google Pixel 3a Guides, News, & Discussion] sic0048:
I had tried the Q beta 4 and then wanted to go back to Pie. This was during the period of time where the beta was suspended, so I ended up manually flashing the full June factory image and allowed it to do a full reset since I was changing major Android versions. So pretty much the most nuclear option available!
[Google Pixel 3a Guides, News, & Discussion] 12paq:
Yes. It works great. Flawless infact. The color adjustments on EX are important to me as a photographer. Kcal gives a wide variety of adjustments for color profiles so I can see my photos from my DSLR camera with the color profile I like. Stock color profile on this phone, or just my phone, are very yellow and far too warm.. Also, battery seems better and it's a bit snappier. The dev has been around a long time and just gets his **** right consistently.

It did not for me. The -w wipe from unlocking the bootloader shouldn't change sim data.
[Google Pixel 3a Guides, News, & Discussion] Cancambo:
Are you sure it is Magisk? My Nexus 6 is on 19.3 as well and Netflix works and still appears in the Play Store. I did nothing more than install 19.3. The Nexus 6 is on LineageOS.

On my Pixel 3a Netflix is working for me because I had it installed from before the June update, but it has disappeared from the Play Store now. Magisk 19.3, Elemental X 1.02. Magisk hide is enabled for Netflix.
[Google Pixel 3a Guides, News, & Discussion] duh1:
I downgraded to 19.2, set Magisk to core mode, turned off USB debug, cleared store/services data and cache, still no Netflix. I wouldn't be surprised if Google and Netflix are testing out some new methods of detection...
[Google Pixel 3a Guides, News, & Discussion] CAExempt911:
Ok might have an issue here...

Pixel 3a, rooted via Method 2.

Followed the steps

adb reboot recovery

adb sideload sargoota.zip

fastboot getvar current-slot

current-slot: b

Finished. Total time: 0.061s

fastboot flash boot_b june_boot.img

C:\Users\SysAdmin\AppData\Local\Android\Sdk\platform-tools>fastboot flash boot_b june_boot.img

Sending 'boot_b' (65536 KB) OKAY [ 1.598s]

Writing 'boot_b' OKAY [ 0.726s]

Finished. Total time: 2.539s

I received a message upon reboot "Your device is corrupt and cannot be trusted", it rebooted and is now on the G screen loading and has been a while now.

What's my options here?
[Google Pixel 3a Guides, News, & Discussion] duh1:
I assume after flashing the OTA you rebooted directly to bootloader mode before flashing the boot image? If that was done correctly, you have a corrupt boot image. Over in the Magisk thread others say 19.3 and the June update don't play well together.

When you are stuck on the boot screen, you can turn off by holding the power button until it shuts down.

Press & hold Power + Volume down button for a few seconds to boot your phone into bootloader mode. Reflash a fresh copy of the June patched boot image to slot b as before and reboot.

If that still doesn't work, see if you can go back to your previous March system. In bootloader mode...

fastboot set_active other

and reboot. It that boots correctly, go with update method 1 this time using March stock, or stay with March for a while -- June is a bit buggy...
[Google Pixel 3a Guides, News, & Discussion] jmtjr278:
I just did the automated Google pay trick. Worked well. Do I need to copy/paste those commands into a terminal emulator every reboot? I think that's why he created the script. Am I correct?
[Google Pixel 3a Guides, News, & Discussion] netllama:
Just got a brand new 3a, and I'm attempting to root it per the 'method 1' instructions, but I keep getting stuck in a boot loop immediately after the 'fastboot flash' and 'fastboot reboot' steps.

The phone currently has build number PD2A.190115.032. I installed Magisk Manager v7.3.0 (attempts to use older builds refuse to let me click install, then select the "Select and Patch a File" option, as it always insists on updating to the latest Manager version first (if there's some work around, please let me know).

Here's exactly what I'm doing (this is on a Linux system):

$ adb reboot bootloader
$ fastboot getvar current-slot
current-slot: a
Finished. Total time: 0.011s
$ fastboot flash boot_a magisk_patched.img
Sending 'boot_a' (29064 KB) OKAY [ 1.030s]
Writing 'boot_a' OKAY [ 0.574s]
Finished. Total time: 1.685s
$ fastboot reboot
Rebooting
Finished. Total time: 0.168s

After that point, it goes to a boot loop, and the only way to boot into the OS again is to reflash the original boot.img. I'm guessing there's either some bug lurking somewhere, or I'm making a stupid mistake.

Any suggestions appreciated!
[Google Pixel 3a Guides, News, & Discussion] fearsparks:
I was having very similar issues, I went ahead and flashed the new June update (came from pd2a.190115.032) by extracting the files to my platform-tools directory and running the flash-all.bat. After that I started over with installing magisk-manager (newest update), patching the original boot.img from the june update, fastboot flashed it to boot_a and I'm now rooted and good to go.

Hope this helps.
[Google Pixel 3a Guides, News, & Discussion] creeve4:
If following Method 1, would it be better to flash EX kernel after installing magisk?

This way magisk can restore the stock boot.img before taking an OTA.
[Google Pixel 3a Guides, News, & Discussion] netllama:
I considered that, but I see multiple people complaining about boot loops after updating to the June update.

---------- Post added at 09:45 ---------- Previous post was at 09:44 ----------

I don't know what the EX kernel is.
[Google Pixel 3a Guides, News, & Discussion] pbanj:
Here is a fix for those who updated with edge sense plus installed. https://cdn.discordapp.com/attachme.../589904771545300992/boot-magisk-core-only.img

Use "fastboot boot" instead of "fastboot flash". After that boots open up Magisk manager and remove the edge sense plus mod. You can then root properly.

The file is based on the June update and was made by [MENTION=4702761]ApeironTsuka[/MENTION] so everyone should thank them.

Once I get home I'll add this to the main post, but I wanted to share this asap.
[Google Pixel 3a Guides, News, & Discussion] pbanj:
the fix has been added to the main post, along with a little guide for using it.
[Google Pixel 3a Guides, News, & Discussion] ApeironTsuka:
For those wondering, it's Magisk 19.3 with the /data/cache/.disable_magisk check effectively forced to always succeed, so it will only boot into Core-Only Mode with that image. Hopefully we get a TWRP before the July update, but if not, I'll try to remember to update it.
[Google Pixel 3a Guides, News, & Discussion] pbanj:
hopefully people will remember to at least disable the mod before updating this time lol
[Google Pixel 3a Guides, News, & Discussion] aziz.yankee:
Thanks - I've downloaded this, but my phone wouldn't boot it just got stuck like this on command promt and my phone screen on Fastboot Mode. I can reboot to normal phone condition though - so phone isn't dead.

C:\Users\aaziz\Desktop\platform-tools>fastboot boot boot-magisk-core-only.img

Sending 'boot.img' (26906 KB) OKAY [ 0.148s]

Booting
[Google Pixel 3a Guides, News, & Discussion] pbanj:
i just tried it on mine and it booted up fine. try redownloading the file

[IMG="boot"]https://cdn.discordapp.com/attachments/399670410565910529/590213692843360256/unknown.png[/IMG]
[Google Pixel 3a Guides, News, & Discussion] aziz.yankee:
I did redownload - tried to unblocking from Windows Properties (This file came from another computer and might be blocked to protect this computer) as well.

When I try to boot with original boot.img file - it boots up fine....
[Google Pixel 3a Guides, News, & Discussion] pbanj:
you're on the june update correct?
[Google Pixel 3a Guides, News, & Discussion] aziz.yankee:
Yes I am on June update with Pixel 3 (PQ3A.190605.003).

By the way, there is a ActiveEdge shortcut that I've setup before - when I launch it - it does work :confused: but no root...
[Google Pixel 3a Guides, News, & Discussion] pbanj:
stupid question, but your adb and fastboot are up to date right?
[Google Pixel 3a Guides, News, & Discussion] HighDesertTrekker:
This fix worked for me. Back to being rooted. Thanks man.
[Google Pixel 3a Guides, News, & Discussion] pbanj:
really glad to hear that.
[Google Pixel 3a Guides, News, & Discussion] sic0048:
I would suggest flashing ExperimentalX after installing Magisk. I'd also recommend you use the ExperimentalX helper app (available on the Play store). You can flash the kernel directly from the app, and also make backups of the kernels. So I would install Magisk, install the helper app, backup the "stock" kernel, and then install the ExperimentalX kernel. That way you have plenty of options and a backup of everything should you decide to go back to stock.
[Google Pixel 3a Guides, News, & Discussion] jmtjr278:
Elemental x. Makes it easier for people to find when they have the correct name. I love this kernel too. You have good taste
[Google Pixel 3a Guides, News, & Discussion] Fentadroid:
I hope you're not trying this with a Pixel 3.......
[Google Pixel 3a Guides, News, & Discussion] pbanj:
omg i didnt even notice he said 3 and not 3a...... good catch
[Google Pixel 3a Guides, News, & Discussion] gunnerrrrr:
Thanks for the guide, worked great.

After rooting, Google is not automatically restoring any of my app data. Is this because I turned off automatic updates in dev settings? I'm worried I'l break something if I try to test it.
[Google Pixel 3a Guides, News, & Discussion] aziz.yankee:
Yes, all of them are up-todate

Yes, I am trying with Pixel 3!

Why? Is than an issue? The problem and solution seemed to be exactly same - jumped from January update with Magisk, ActiveEdge to June update and now stuck, as cannot root again.

Wouldn't there be any solution? :eek:
[Google Pixel 3a Guides, News, & Discussion] pbanj:
the image is only for the 3a/xl. you would need to have one made for the 3/xl for it to work.
[Google Pixel 3a Guides, News, & Discussion] aziz.yankee:
Oh I see...is there anything related to non-a models?

I didn't really understand [MENTION=4702761]ApeironTsuka[/MENTION] instruction though

download Magisk source via git
download FrankeNDK (linked from the Magisk readme) from git
follow the Magisk setup steps regarding the ANDROID_HOME and ANDROID_NDK_HOME environment variables
comment line 609 of Magisk/native/jni/core/bootstages.cpp (starts with if (access(DISABLEFILE... .. depending on when whoever is reading this stumbles on this, it could be a different line. Just ctrl+f for DISABLEFILE and you should find it)
build.py stub
build.py binary
grab the boot image tools from https://xdaforums.com/showthread.php?t=2319018
use split_boot to unpack magisk_patched.img
delete magisk_patched/ramdisk/init and copy Magisk/native/out/armeabi-v7a/magiskinit in its place (be sure to name it init)
use mkbootimg to create a new boot image out of it
boot into the bootloader and use fastboot to boot it directly
[Google Pixel 3a Guides, News, & Discussion] pbanj:
i asked a buddy of mine to compile it for you
[Google Pixel 3a Guides, News, & Discussion] pbanj:
Scratch the compiling part. Your phone has twrp, use it. Grab one of the recovery Magisk managers and use that to uninstall the mod
[Google Pixel 3a Guides, News, & Discussion] aziz.yankee:
Many thanks guys - was able to root my phone after I got stuck in boot-loop.

I didn't realise that

1. I was on Pixel 3a thread

2. I needed to remove ActiveEdge mod before applying updates

3. TWRP with Magisk Manager for Pixel 3 helped to get rid of ActiveEdge mod.

Gracias - Thank you - Спасибо!
[Google Pixel 3a Guides, News, & Discussion] spcd:
Thank you. I was able to get root using this guide.

Some remarks:

1. I couldn't find the link to the factory images in your post ( developers.google DOT com/android/images )

I wanted to grab boot.img from google and not from your link.

2. After finishing your guide I used the function "Hide Magisk Manager". This option repackages "Magisk Manager" under the name "Manager" because some banking apps detect Magisk Manager and prevent you from using their app.

After using this, the Magisk Manager showed that Magisk 19.3 was no longer installed! Even after a reboot it didn't show as installed.

So I repeated the process (Magisk Manager Install > Install > Select file >patch boot.img > fastboot flash boot_b magisk_patched.img) and then it worked.
[Google Pixel 3a Guides, News, & Discussion] stevew84:
I'm on the new StatixOS rom and tried this method using the stock boot.img from the OP...safe to say it didn't work. i then grabbed the ROM's boot.img and did the steps over, worked like a charm.

EDIT: Ok nevermind. I am not rooted. I was able to modify the boot.img for the custom ROM, reboot, but Magisk still states that it isn't installed.

Is there a way just to flash the zip for Magisk instead?
[Google Pixel 3a Guides, News, & Discussion] pbanj:
After you modified the custom roms boot image did you actually flash it?
[Google Pixel 3a Guides, News, & Discussion] stevew84:
-Grabbed ROM boot.img and put onto phone.

-Fired up Magisk, modified existing image.

-Put .img into adb, ran commands to flash magisk_modified.img (did this both with and without slot command.)

-Rebooted

-Magisk still shows that it is not installed.

Over in the ROM thread, there's no mention of anyone other than myself having actually flashed the damn thing. Currently I went back to the June stock ROM and am going to start over.
[Google Pixel 3a Guides, News, & Discussion] Cancambo:
Does anyone know if there have been any fixes for Netflix not displaying in the Play Store on the June security update while rooted? Is this happening on other devices?
[Google Pixel 3a Guides, News, & Discussion] ritchea:
Had this issue on my 5X after a Netflix update more than a year ago. My solution (which still works on P) was to sideload an older edition. I use a very old one (last version before the issue), but it works for me.
[Google Pixel 3a Guides, News, & Discussion] Uzephi:
[MENTION=4396787]pbanj[/MENTION] wouldn't it be more efficient for method two to boot the rooted boot image then have magisk patch your boot image on the phone? That way there is no issues? Magisk will back up the boot image that way. I know this method worked on the msm8998 a/b devices. It should work on the 3a as well. "fastboot boot {imgname}.img" you'll temp boot as root so you can root your phone permanently.

Edit: this also prevents people from a no boot if the boot image doesn't play well with their device as after a boot loop, it would go back to their boot partition on their phone instead of needing to flash the stock boot image if there is some odd failure.
[Google Pixel 3a Guides, News, & Discussion] pbanj:
You know why? because I totally didn't even think of it XD. So why don't you just get out of here with your logic lol. the worst part, that's how I tested the images. I'll update the post in a bit.
[Google Pixel 3a Guides, News, & Discussion] pbanj:
post has been updated with the better version of method 2
[Google Pixel 3a Guides, News, & Discussion] Cancambo:
I have Netflix because it was on my phone before I took the update. It just won't update through the Play Store anymore. I'm interested to know if there is any knowledge as to what caused the Play Store to mark the June patch as incompatible with a rooted 3a that way there might be a better solution than sideloading.
[Google Pixel 3a Guides, News, & Discussion] duh1:
It's not just the June update, I'm still on March and I don't see Netflix either. My guess is that Google / Netflix are testing out some new methods of detecting unlocked / root on some of the newer devices. Problem is those who support Magisk can't confirm what we're seeing until it happens on their devices as well, so we won't be seeing a fix for a while...
[Google Pixel 3a Guides, News, & Discussion] spiou:
Thank you very much : it worked like a charm.

For me, this is the unique method that successfully generated a Magisk backup of stock boot.img.
[Google Pixel 3a Guides, News, & Discussion] HpNoTiQ:
Don't know how but netflix appeared in my play store and it's working fine!!!
[Google Pixel 3a Guides, News, & Discussion] duh1:
Reappeared after being missing? Are you bootloader unlocked / rooted? If yes, what did you do to make it reappear?
[Google Pixel 3a Guides, News, & Discussion] HpNoTiQ:
I'm rooted using magisk custom ianmacd.

I couldn't have access to Netflix via playstore. I installed a version which couldn't run on my device. Yesterday Netflix showed as update which I did. Now it does not show in playstore but I can launch it and watch series...
[Google Pixel 3a Guides, News, & Discussion] ApeironTsuka:
I'm still skeptical if Netflix missing from the store has any relation to Magisk. It stopped showing in the store for me at some point (not sure when) but was after it had updated to 7.21.1 build 26 34268. I hadn't used it in a while so I had tried starting that one and it immediately crashed. Cleared cache+data and tried again... and it sat at a blank gray screen (no Netflix logo) for a couple seconds before crashing just as before. Older version 6.21.1 build 15 31696 (the last of the 6.x builds) works fine. I'm wondering if there's some weird conflict between certain versions of Android and the 7.x Netflix builds that are the problem rather than Magisk. I also find it telling that ApkMirror doesn't have any version of the 7.x Netflix app either. Could be coincidence, but I'm not sure.

I can re-install the 7.21.1 version I have an get a log of the crash if that could be helpful.
[Google Pixel 3a Guides, News, & Discussion] HpNoTiQ:
Version 7.15.1 of Netflix was the version available. It doesn't crash on launch with magisk. I can upload it if needed
[Google Pixel 3a Guides, News, & Discussion] slabua:
With having only unlocked the bootloader, namely no rooting process at all, is there any way to have google pay working?
[Google Pixel 3a Guides, News, & Discussion] duh1:
So you're sure it is not working with an unrooted unlocked bootloader? Interesting, I wasn't sure if Google was looking for root or simply unlocked.

But to answer your question, no, the changes you would need to make to get Google pay to work require root. Why bother unlocking if you're not going to root it? Take it back to the locked state, if you don't intend to root...