Question Can't get into Recovery mode [SOLVED] - Google Pixel 7

Hi,
I unlocked the bootloader from my Pixel 7 and rooted it with Magisk once, so I'm fairly familiar with the procedure.
Last weekend the phone updated to the latest version, TQ2A.230405.003.E1, and I lost root access.
I have patched the img file with Magisk and I've been trying to flash it using adb, but I can't get the phone to boot into Recovery. I switch it off, then I hold Power and Vol down, select Recovery using the volume keys... But I get to a black screen with the little green robot with the open belly with a message saying "No command" (pic attached).
Could anyone help me here? I want my root back!
Thanks in advance.

chinchulin01 said:
Hi,
I unlocked the bootloader from my Pixel 7 and rooted it with Magisk once, so I'm fairly familiar with the procedure.
Last weekend the phone updated to the latest version, TQ2A.230405.003.E1, and I lost root access.
I have patched the img file with Magisk and I've been trying to flash it using adb, but I can't get the phone to boot into Recovery. I switch it off, then I hold Power and Vol down, select Recovery using the volume keys... But I get to a black screen with the little green robot with the open belly with a message saying "No command" (pic attached).
Could anyone help me here? I want my root back!
Thanks in advance.
Click to expand...
Click to collapse
There's a couple things to unpack here...
but let's start with the first thing; if you simply "want my root back!" -- yet you say you are "familiar with the procedure" -- you should know that you don't flash the patched img file in Recovery, but in Bootloader/Fastboot mode (which is where you are leaving purposefully by selecting Recovery?)
If you are serious about getting something more than the "little green robot", there's a "secret" button combination (when seeing that "little green robot") you do to gain the selection of actions available (I can't recall off the top of my head right now). But those are there to apply the OTA or reset the phone; which I believe you aren't aiming to do. In any case, you wouldn't get "root back" selecting anything there anyways...
So color me a bit confused...but hopefully this helps you out somewhat...

chinchulin01 said:
Hi,
I unlocked the bootloader from my Pixel 7 and rooted it with Magisk once, so I'm fairly familiar with the procedure.
Last weekend the phone updated to the latest version, TQ2A.230405.003.E1, and I lost root access.
I have patched the img file with Magisk and I've been trying to flash it using adb, but I can't get the phone to boot into Recovery. I switch it off, then I hold Power and Vol down, select Recovery using the volume keys... But I get to a black screen with the little green robot with the open belly with a message saying "No command" (pic attached).
Could anyone help me here? I want my root back!
Thanks in advance.
Click to expand...
Click to collapse
You really should look at the thread that tells you how to root the pixel 7 available on XDA

As stated above, you want to be in fastboot mode to flash a patched image.
As an aside, when you see the little green robot just hold the power button, then hold vol+ for about 5 seconds, then release the vol+ button, then release the power button and you should be in recovery mode.

Ok, thanks everyone for replying. I was wrong trying to get into Recovery.
When I unlocked the bootloader I followed this guide:
How to unlock the bootloader and root the Google Pixel 7 or Pixel 7 Pro with Magisk
Planning to root your Google Pixel 7 or Pixel 7 Pro? Here's how to unlock the bootloader and root the latest 2022 Pixel phones with Magisk!
www.xda-developers.com
I found a lot of information on how to recover root after an OTA here:
[Guide] Root Pixel 7 Pro with Magisk + Unlock Bootloader + Pass SafetyNet + More
[Guide] Root Pixel 7 Pro with Magisk + Unlock Bootloader + Pass SafetyNet + More Android Security Bulletin—June 2023 Pixel Update Bulletin—June 2023 Introduction This Guide is for Pixel 7 Pro owners that want to Root their phone, and enjoy the...
forum.xda-developers.com
Thank you to Skanda Hazarika and Homeboy76 for putting together these amazing guides.

Related

Urgently need !! help about dead nexus 6 after auto upgrade to nougat 7.0

My nexus 6 had been auto update/upgrade from android 6.x to android nougat 7 a few week ago.
So, after reboot my nexus can't boot to home screen.
It still alway occur error message something like this.
" unfortunately setting has stopped " infinity loop. ( can't access to home screen ) ( It's alway show the dark screen )
and i try to enter the recovery mode.
##########
1. If your device is on, turn it off.
2. Press & hold the Volume down button. While holding Volume down, press & hold the Power button until the phone turns on. You'll see the word "Start" with an arrow around it.
3. Press the Volume down button until you highlight "Recovery mode."
##########
Nothing happen , I can't access the menu recovery mode ( Still in the dark screen )
I hv try so many times , many days.
Please help / suggest me how can't i recovery my nexus 6.
Thank you very much in advance.
Please help.
Note
Are you bootloader unlocked?
You mean root ?
No, my nexus hv not been root.
My nexus still very original.
pratchaya said:
You mean root ?
No, my nexus hv not been root.
My nexus still very original.
Click to expand...
Click to collapse
No mean as in bootloader unlocked and can flash factory images
pratchaya, when you start your N6, do you see at the bottom of the screen a picture of a padlock with the lock open on one side?
1. Go here, https://developers.google.com/android/nexus/images
2. Download this, https://dl.google.com/dl/android/aosp/shamu-nbd90z-factory-92e7bb05.zip
3. Power off phone, hold down power+volume down, boot into bootloader
4. Extract contents of zip to your computer
5. Flash fresh install of Android on your phone
Actually do this instead now that i've thought about it.
1. Go here, http://www.wugfresh.com/nrt/
2. Download the latest version of Nexus Root Toolkit (v2.1.9 as of writing this)
3. Install onto your PC
4. Use NRT to Flash Stock + Unroot
I use NRT all the time when wanting to flash beta images from Google. Never had an issue with it.
pr0ndigy said:
1. Go here, https://developers.google.com/android/nexus/images
2. Download this, https://dl.google.com/dl/android/aosp/shamu-nbd90z-factory-92e7bb05.zip
3. Power off phone, hold down power+volume down, boot into bootloader
4. Extract contents of zip to your computer
5. Flash fresh install of Android on your phone
Actually do this instead now that i've thought about it.
1. Go here, http://www.wugfresh.com/nrt/
2. Download the latest version of Nexus Root Toolkit (v2.1.9 as of writing this)
3. Install onto your PC
4. Use NRT to Flash Stock + Unroot
I use NRT all the time when wanting to flash beta images from Google. Never had an issue with it.
Click to expand...
Click to collapse
That's what I was gonna tell him, but it won't work if his bootloader is locked, or if he could just flash the recovery through fastboot and side load the OTA from there
holeindalip said:
That's what I was gonna tell him, but it won't work if his bootloader is locked, or if he could just flash the recovery through fastboot and side load the OTA from there
Click to expand...
Click to collapse
Maybe i don't know this just because my bootloader has been unlocked since the day i got my phone.
But i would imagine that google's STOCK image would be flashable, even with a locked bootloader...
But if it's not, then that sucks.
But NRT has the option to Root+Recovery from the fastboot/bootloader...But once again, not sure if you need to be bootloader unlocked before that will work.
I guess you have nothing to lose trying and seeing what happens.
If he holds down the three button salute, it will take him to the bootloader where he can run fastboot OEM unlock to unlock his device then flash just as long he has unlockable in developers settings checked.
holeindalip said:
No mean as in bootloader unlocked and can flash factory images
Click to expand...
Click to collapse
Hi, I don't know about bootloader lock or unlock.
But I'm a normal user , just use my nexus as normal user ( original from factory + update + upgrade + reset sometime ).
Is this mean bootloader lock ? sir.
dahawthorne said:
pratchaya, when you start your N6, do you see at the bottom of the screen a picture of a padlock with the lock open on one side?
Click to expand...
Click to collapse
Hi, I can't see any picture except these photos.
Well, that's puzzling. I've just restarted my N6 to be sure of my facts, and there is clearly a screen before the four dancing icons you show in your first picture. The very first thing that the phone shows on boot is a pure black screen with "Google" in big white letters in the centre, with (on my unlocked phone) the picture of an unlocked padlock at the bottom.
Are you saying that you don't see this?
=============
And while we wait for the answer to the question above, please try this:
- Power off the Nexus 6 completely.
- Next, press and hold Volume Down, Volume Up and Power simultaneously – don’t release the buttons until Fastboot Mode menu appears.
Note that this is not what you've already tried - this should get you into Bootloader mode, whereas you described the Recovery procedure in your first post. Does this procedure get you any screen? If so, please describe what you see.
(Further edit: just noticed that biggiesmalls657 suggested this on the first page, but I think that pratchaya appears too inexperienced to know what you suggested).
pr0ndigy said:
Maybe i don't know this just because my bootloader has been unlocked since the day i got my phone.
But i would imagine that google's STOCK image would be flashable, even with a locked bootloader...
But if it's not, then that sucks.
But NRT has the option to Root+Recovery from the fastboot/bootloader...But once again, not sure if you need to be bootloader unlocked before that will work.
I guess you have nothing to lose trying and seeing what happens.
Click to expand...
Click to collapse
biggiesmalls657 said:
If he holds down the three button salute, it will take him to the bootloader where he can run fastboot OEM unlock to unlock his device then flash just as long he has unlockable in developers settings checked.
Click to expand...
Click to collapse
You guys are incorrect
This isn't possible unless the ROM starts and he can check OEM unlock in the developer options
And he can flash the OTA file with a locked bootloader but he has to have a working recovery
Have you tried a Hard Factory Reset?
https://www.youtube.com/watch?v=0nDLvy8F5qk
holeindalip said:
You guys are incorrect
This isn't possible unless the ROM starts and he can check OEM unlock in the developer options
And he can flash the OTA file with a locked bootloader but he has to have a working recovery
Click to expand...
Click to collapse
I just said that!
Edit: Did you notice force closes before all this happened? Lots of force closes when doing a factory data reset sometimes means it's hardware with the internal storage. If you can't boot into Android to check OEM unlock button and fastboot doesn't allow you to flash while locked then I am not sure then.
---------- Post added at 05:47 AM ---------- Previous post was at 05:41 AM ----------
pratchaya said:
My nexus 6 had been auto update/upgrade from android 6.x to android nougat 7 a few week ago.
So, after reboot my nexus can't boot to home screen.
It still alway occur error message something like this.
" unfortunately setting has stopped " infinity loop. ( can't access to home screen ) ( It's alway show the dark screen )
and i try to enter the recovery mode.
##########
1. If your device is on, turn it off.
2. Press & hold the Volume down button. While holding Volume down, press & hold the Power button until the phone turns on. You'll see the word "Start" with an arrow around it.
3. Press the Volume down button until you highlight "Recovery mode."
##########
Nothing happen , I can't access the menu recovery mode ( Still in the dark screen )
I hv try so many times , many days.
Please help / suggest me how can't i recovery my nexus 6.
Thank you very much in advance.
Please help.
Note
Click to expand...
Click to collapse
The stock recovery is crappy as it's rough to get in unless you try lots of combos.
---------- Post added at 05:51 AM ---------- Previous post was at 05:47 AM ----------
What if he were to select the factory mode in the bootloader menu? I know that trying to access the stock recovery is a pain sometimes. OP what do you see when you select Recovery Mode?
pr0ndigy said:
Have you tried a Hard Factory Reset?
https://www.youtube.com/watch?v=0nDLvy8F5qk
Click to expand...
Click to collapse
I hv tried this at 1st day but it nothing happen.
So you're reading only the last post and ignoring earlier possibly helpful questions...? Ok...
dahawthorne said:
So you're reading only the last post and ignoring earlier possibly helpful questions...? Ok...
Click to expand...
Click to collapse
I'm trying to do every suggestions.
I'm trying to do
Method #1
1. Go here, https://developers.google.com/android/nexus/images
2. Download this, https://dl.google.com/dl/android/aos...y-92e7bb05.zip
3. Power off phone, hold down power+volume down, boot into bootloader
4. Extract contents of zip to your computer
5. Flash fresh install of Android on your phone
Method #2
1. Go here, http://www.wugfresh.com/nrt/
2. Download the latest version of Nexus Root Toolkit (v2.1.9 as of writing this)
3. Install onto your PC
4. Use NRT to Flash Stock + Unroot
And will tell/ask you after got result.
And still ignoring my post... http://forum.xda-developers.com/showpost.php?p=69115384&postcount=12
dahawthorne said:
Well, that's puzzling. I've just restarted my N6 to be sure of my facts, and there is clearly a screen before the four dancing icons you show in your first picture. The very first thing that the phone shows on boot is a pure black screen with "Google" in big white letters in the centre, with (on my unlocked phone) the picture of an unlocked padlock at the bottom.
Are you saying that you don't see this?
=============
And while we wait for the answer to the question above, please try this:
- Power off the Nexus 6 completely.
- Next, press and hold Volume Down, Volume Up and Power simultaneously – don’t release the buttons until Fastboot Mode menu appears.
Note that this is not what you've already tried - this should get you into Bootloader mode, whereas you described the Recovery procedure in your first post. Does this procedure get you any screen? If so, please describe what you see.
(Further edit: just noticed that biggiesmalls657 suggested this on the first page, but I think that pratchaya appears too inexperienced to know what you suggested).
Click to expand...
Click to collapse
Hi,
I hv already try this method . but nothing happen on my nexus .
( press and hold Volume Down, Volume Up and Power simultaneously more than 20 min. and nothing show , still dark screen )
Actually I try this method at day one that my nexus dead.

Help ASUS XB551KL rooted - Can´t enter recovery

Hi. First, sorry for my poor english !!:good:
So. I have an ASUS XB551KL model. I did that step by step process to root this model.
1 - Downgrade the ROM
2 - Install King Root / Root Genius
3 - Rooted the device
Everything was ok, but when I tried to install another ROM, the device initialized and stopped at ASUS logo. I pressed the Power button and initialized it. The device works normally but I´m not able to install anything using fastboot/adb commands, Flashify app, Flash Tools....Always, after the command to install, the device reset and can´t enter the recovery mode to finish. I downloaded and "install" a lot of files like recovery.img, droidboot.img, boot.img, twrp, but I think that one of them were incompatible. I did search day after day in this forum and google but no success. Every post have the same tips, try Power + Vol- (only blinking and vibrating LOGO), hold for n seconds and release...try Power + Vol+(only Fastboot Mode screen)...try adb reboot bootloader.....so, I tried a lot of things. It´s very difficult to find HELP for this specific model. And is very difficult to find all the images too, even at the ASUS homepage. I think it´s my last try. Otherwise, I will return to my screen broken UMI SUPER !!
Thanks.

[GUIDE]Comprehensive T510 root guide

Warning:
Proceed with your own risk. I hold no responsibility if something goes wrong and you get killed.
Warranty void
KNOX tripped and some security feature won't be available
This guide based on @topjohnwu Magisk for Samsung. However, T510 is a bit different because it doesn't have Bixby button.
https://topjohnwu.github.io/Magisk/samsung
You need the latest Odin (I use 3.13). 3.12 or older won't work
***** NOTICE *****
Auto reboot must be disabled.
Download ROM matches your build number especially the last three characters. Unzip and only use AP and copy it to your tablet
Download ***special*** version Magisk Manager to your tablet and install it. "Install" Magisk using patch boot with AP file, and copy magisk_patched.tar to your host PC
https://raw.githubusercontent.com/topjohnwu/magisk_files/master/canary_builds/app-release.apk
Do not use normal Magisk to patch AP because it won't work
Bootloader Unlocked (read my guide)
Do not restore yet until this process is done.
STEPS:
1. Download your version of ROM. Make sure it matches your device Build Number
2. Unzip the ROM and copy AP to your tablet. Install Magisk Manager downloaded from link above. Normal Magisk Manager won't work.
3. Patch AP with Magisk Manager. The output file is "magisk_patched.tar". Copy the output file to your host computer.
4. Open Odin. Make sure Auto Reboot is disabled (unchecked)
5. Turn your tablet off. Press and hold Volume up and down buttons and connect your tablet to host computer. Press Volume up again to enter Download Mode.
6. Odin should show "Added". Locate your "magisk_patched.tar" and open as AP (it's AP after all). You don't have to flash others.
7. Wipe your tablet.
Disconnect your tablet.
Press and hold Power and Volume down.
As soon as the screen goes dark, immediately press and hold Power and Volume up until recovery screen appears.
Choose Factory Reset and press Power once, and confirm.
Reboot System Now
8. As soon as the screen turns dark, press and hold Power and Volume up buttons before screen shows bootloader warning. It will reboot again like brand new unit.
9. Do initial setup. Copy the Magisk Manager to your tablet and install if you don't see it
10. Setup internet connection and Magisk Manager will do some process, and it will reboot after it's done. You don't have to do button combo at this time.
11. Open Magisk Manager again to add other function including hide.
Your tablet should be rooted. However, here is something you should know.
Press Power button only: System with Magisk
[*]Press and hold Power and Volume up buttons before the screen shows bootloader warning and release: System with Magisk
Press and hold Power and Volume up buttons all the way: Stock recovery
That's it. Root is done.
***** IMPORTANT *****
If you want to do manual update, make sure you do steps 1-6 again. You don't have to wipe your tablet however.
Update: it appears "normal" Magisk (19.3) and Magisk Manager can simplify the entire rooting process.
Special instructions for Samsung is gone now.
Moreover, it appears normal boot can enter rooted system without button combo
mingkee said:
However, here is something you should know.
Press Power button only: System with no Magisk
Press and hold Power and Volume up buttons before the screen shows bootloader warning and release: System with Magisk
Press and hold Power and Volume up buttons all the way: Stock recovery
That's it. Root is done.
Click to expand...
Click to collapse
I must not be understanding something, as no matter how I press Power and Volume Up, I end-up in recovery. Otherwise it boots without magisk installed.
If I release buttons when I see the Samsung logo, before the warning, I can then press volume up to continue with boot, and it opens recovery.
If I release buttons after I see the warning, the warning goes away in a flash and I still end-up in recovery.
If I release the buttons as soon as I see the Samsung logo, same thing.
Any suggestions?
I did all the steps again, strangely Magisk gave me a different patched.tar file.
Flashed the patched, but I noticed in Odin:
<ID:0/008> recovery.img
<ID:0/008> FAIL!
<ID:0/008>
<ID:0/008> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
I get a red message saying only official release binaries... The tablet is unlocked though... I must be missing something.
EDIT:
Now the tablet says an error has occured while updating the device software. Use the Emergency recovery function in the Smart Switch PC software. Can't even turn it off!
Smart Switch says 'Unsupported device' and device does not appear in the list for emergency recovery. Tablet appears soft-bricked
Finally Odin managed to flash it, after failing at first. Flashing stock now. Will start over.
It appears the latest Magisk and Manager simplified everything.
The latest Magisk (19.3) is "normal" version, so you may no longer need "canary". Moreover, special instructions for Samsung disappeared (click the link on the first post and it doesn't work).
I also noticed normal boot (just press power button with no combo) and boot into "root mode"
mingkee said:
It appears the latest Magisk and Manager simplified everything.
The latest Magisk (19.3) is "normal" version, so you may no longer need "canary". Moreover, special instructions for Samsung disappeared (click the link on the first post and it doesn't work).
I also noticed normal boot (just press power button with no combo) and boot into "root mode"
Click to expand...
Click to collapse
I followed the original guide and using the button combo to boot with Magisk. How do I move to normal boot? Magisk installed version is 19.4-c, and I just received version 7.3.0 of the manager. Should I simply (re-)install Magisk 19.4-c to get normal boot?
3c said:
I followed the original guide and using the button combo to boot with Magisk. How do I move to normal boot? Magisk installed version is 19.4-c, and I just received version 7.3.0 of the manager. Should I simply (re-)install Magisk 19.4-c to get normal boot?
Click to expand...
Click to collapse
I will show you a screen cap later on because I don't carry it to work.
I used the "canary" build Manager and the root.zip
Now the root.zip is normal while Manager build number is still different.
As I mentioned on the edited post, the special instructions is gone, so it's possible topjohn has figured out solution for Samsung and integrated.
Yes, I boot it "normal" way and root is 100%
Noob Question
Hello and thanks for that guide!
There is (at least for now) one question:
Where do I get the stock ROM from?
mingkee said:
Warning:
STEPS:
1. Download your version of ROM. Make sure it matches your device Build Number
Click to expand...
Click to collapse
LeonardHofstadter said:
Hello and thanks for that guide!
There is (at least for now) one question:
Where do I get the stock ROM from?
Click to expand...
Click to collapse
You can find them on sammobile or samfrew
Thanks for this guide but I think I didn't do something right.
----------------
Reboot System Now
8. As soon as the screen turns dark, press and hold Power and Volume up buttons before screen shows bootloader warning. It will reboot again like brand new unit.
----------------
At this part, just after the factory reset, I reboot system and then I press Power and Vol+, but it goes again to Recovery. It never reboots like "brand new unit". It will always show the warning at start. Perhaps I misunderstood this part somehow.
Hantoniorl said:
Thanks for this guide but I think I didn't do something right.
----------------
Reboot System Now
8. As soon as the screen turns dark, press and hold Power and Volume up buttons before screen shows bootloader warning. It will reboot again like brand new unit.
----------------
At this part, just after the factory reset, I reboot system and then I press Power and Vol+, but it goes again to Recovery. It never reboots like "brand new unit". It will always show the warning at start. Perhaps I misunderstood this part somehow.
Click to expand...
Click to collapse
When you press Power and Vol+ the warning will only flash, that's when you need to release the buttons. If you keep pressing it goes in recovery. I had a hard time figuring this out.
3c said:
When you press Power and Vol+ the warning will only flash, that's when you need to release the buttons. If you keep pressing it goes in recovery. I had a hard time figuring this out.
Click to expand...
Click to collapse
Thanks!
I just tried releasing the buttons just afther the "warning flash". Then it showed up again. After initial settings and Magisk installation, again that screen.
I'll try to start from scratch with another T510 and report back as soon as I can. Thanks again.
I'm pretty sure rebooting to recovery with volume up and power is still needed on every boot. The link for Samsung devices has just been moved.
https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root
Thanks for the guide.
Can someone confirm if i reboot, what do i have to press to keep it in root mode.?
So far the only way I've been able to do it, is to press power and volume up button and release when it flashes.
Root keeps disappearing unless I press combination of buttons.
Is there anyway to keep in root mode without pressing buttons?
test2006au said:
Thanks for the guide.
Can someone confirm if i reboot, what do i have to press to keep it in root mode.?
So far the only way I've been able to do it, is to press power and volume up button and release when it flashes.
Root keeps disappearing unless I press combination of buttons.
Is there anyway to keep in root mode without pressing buttons?
Click to expand...
Click to collapse
I believe this is the only method at the moment.
Thank you very much for the rooting method, after unlocking the bootlader and rooting I have expanded my ram and now my tablet works flawlessly
Has anyone had any luck using Odin on Linux? I'm using JOdin Casual on Linux Mint and it seems like the process hangs while sending the patched image to the tablet, I also tried using my Windows 10 VM, and it seems to just get stuck after hitting start in Odin
Triscuit said:
Has anyone had any luck using Odin on Linux? I'm using JOdin Casual on Linux Mint and it seems like the process hangs while sending the patched image to the tablet, I also tried using my Windows 10 VM, and it seems to just get stuck after hitting start in Odin
Click to expand...
Click to collapse
Sent from my Pixel 2 XL using XDA Labs
Hey there, thank you for your guide!
I had a little problem when flashing with Odin though.
The tablet starts downloading, but when it gets to vbmeta.img, it shows the error "Custom Binary(VBMETA) Blocked by OEM Lock"
Before flashing, I disabled OEM Lock in the Developer Settings, but it did not help.
Any ideas would be greatly appreciated. Thx again!
Triscuit said:
Has anyone had any luck using Odin on Linux? I'm using JOdin Casual on Linux Mint and it seems like the process hangs while sending the patched image to the tablet, I also tried using my Windows 10 VM, and it seems to just get stuck after hitting start in Odin
Click to expand...
Click to collapse
I'm hitting a roadblock here, as well. I haven't tried using JOdin because I've seen discussions stating that you need 1.4.2 of Heimdall to flash these tablets, so I built that from source (JOdin includes 1.4.0). I unlocked the tablet, then patched the firmware with Magisk. Now I'm not sure what to do next.
Heimdall has its own package structure (which I'll read tonight), so it won't flash the AP file like Odin. It looks like it requires individually flashing each segment of the AP archive directly, and I really don't want to do that without some input from someone who can confirm that will work.
I'm acting based on this thread, on [RECOVERY][UNOFFICIAL] TWRP 3.3.1 for 2019 Galaxy Tab A 10.1 [SM-T510] and the Magisk install by patching file instructions.
Do I really need to extract each piece of the TAR per these instructions?
Also, the instructions to install TWRP here don't state that rooting must be done first, but based on the whole workflow, it seems it is required because this process flashes to AP and Magisk uses a stock AP when patching. It seems the work for TWRP would be obliterated by the Magisk root process.
Can anybody clear this up?
Kenaz Rune said:
I'm hitting a roadblock here, as well. I haven't tried using JOdin because I've seen discussions stating that you need 1.4.2 of Heimdall to flash these tablets, so I built that from source (JOdin includes 1.4.0). I unlocked the tablet, then patched the firmware with Magisk. Now I'm not sure what to do next.
Heimdall has its own package structure (which I'll read tonight), so it won't flash the AP file like Odin. It looks like it requires individually flashing each segment of the AP archive directly, and I really don't want to do that without some input from someone who can confirm that will work.
I'm acting based on this thread, on [RECOVERY][UNOFFICIAL] TWRP 3.3.1 for 2019 Galaxy Tab A 10.1 [SM-T510] and the Magisk install by patching file instructions.
Do I really need to extract each piece of the TAR per these instructions?
Also, the instructions to install TWRP here don't state that rooting must be done first, but based on the whole workflow, it seems it is required because this process flashes to AP and Magisk uses a stock AP when patching. It seems the work for TWRP would be obliterated by the Magisk root process.
Can anybody clear this up?
Click to expand...
Click to collapse
I honestly gave up trying to do this whole process on Linux, so I made a virtual machine with windows, made sure all my USB stuff was correct and used the official ODIN, worked like a charm
Sent from my Pixel 2 XL using XDA Labs

Found a way to root with magisk and Odin.

Hi guys while searching the web and the forum to find a way to root our phone I found this guide https://topjohnwu.github.io/Magisk/samsung
you can do it by yourself if you want but I thought to edit it a bit to match our device. all credit goes to original developer I just copied what he did and it worked.
I don't take any responsibility if anything happens to device, brick ect. use the guide with your own risk!
make sure you have updated drivers and a good usb cable, I recommend Smart Switch for pc you can download in the samsung site, it will also install latest drivers and you can back up the phone with it to the pc.
just for your information rooting voids the waranty, trips knox and makes things complicated, but I can't have a phone without root, it reminds me the days with my old nexus 4.
this guide will also factory reset your phone so make sure to back up everything don't forget to back up whatsapp in the app itself.
I'm not a developer maybe there is an easier way to root, this is the only way I found, so if you want to wait until an experienced developer who knows english better then me release another way to root that's fine by me, I wont get upset.
the only downside I see in this kind of root that you can't normally enter the system. I mean that normal reboot and power up will boot your system without magisk, because the root sits on the recovery or something like that. so each time you power off your phone to power it up you need to hold the Volume up + Power button untill you see the bootloader unlocked warning and release, and everything will be working with root. even if you accidently powerd your phone without the way I mentioned you still have root don't panic like I did just turn off the phone and power it up like I mentioned and its all good.
also you can't normally update the phone through the phone settings and to update the phone with odin like I understand you'll need to have a patched version of the AP tar file with magisk, or something bad will happen to the phone, again I am not a developer I don't know the full risks.
so after the warnings and the long intro here is the edited guide:
Unlock the bootloader - this will wipe all your data so make sure to back up before you start anything!
Allow bootloader unlocking in Developer options → OEM unlocking
Power off your device. Volume Up + Volume Down + Power button and plug in your device to a PC to boot into download mode
Long press volume up to unlock the bootloader. This will wipe your data and automatically reboot.
the developer also mentions that sometimes it wont work because something called VaultKeeper. I didn't had that issue just make sure after the system boots after you unlocked the bootloader that the OEM unlocking option exists and grayed out in the developer options.
Instruction
1.Download the firmware for your device.
2.Unzip the firmware and copy the AP tar file to your device. It is normally named as AP_[device_model_sw_ver].tar.md5
3.Install Magisk Manager from the Canary Channel
4.In Magisk Manager: Install → Install → Select and Patch a File
5.Select the AP tar file. Magisk Manager will patch the whole firmware file and store the output to [Internal Storage]/Download/magisk_patched.tar
6.Copy the tar file to your PC, and boot your device to download mode. (Hold all 3 buttons Volume Up+Volume Down+Power Button and connect to PC cable)
I have downloaded the firmware with Samfirm I found it on the forum I'll upload it here. I will also upload the AP file I patched and write the firmware version I took it from. I'll also upload the full firmware for you if you can't find a good mirror online. and also the odin version I used.
the csc i look up is for ILO but I think the csc have multiple regions, you know better I'll upload it anyway maybe it will save time for someone.
7.Flash magisk_patched.tar as AP in ODIN (I flashed the entire firmware because I had some problems flashing without all the files try it the way you want. flash it with normal csc of you choose to flash the whol firmware)
Important: Uncheck “Auto Reboot” in Options!!!!
8.Magisk is now successfully flashed to your device! But there are still several steps before you can properly use the device.
9.We now want to boot into the stock recovery to factory reset our device.
Full data wipe is mandatory! Do not skip this step.
Press Power Button+Volume Up+Volume Down to exit download mode, and as soon as the screen turns off, immediately press Power Button+Volume Up to boot to recovery partition. Just as mentioned in the previous section, since we want to boot into stock recovery, continue pressing the volume up button until you see the stock recovery screen.
10.In the stock recovery menu, use volume buttons to navigate through menus, and the power button to select the option. Select Wipe data/factory reset to wipe the data of the device.
11.This time, we can finally boot to the system with Magisk. Select Reboot system now, and immediately press Power Button+ Volume Up. After seeing the bootloader warning screen, release all buttons so it can boot to the system.
12.The device will automatically reboot for the first time it boots. This is completely normal and done by design.
13.After the device is booted up, do the usual initial setup. The following steps will need internet connection.
14.You shall see Magisk Manager in your app drawer; if not, manually install the APK you downloaded in step 3 and continue to the next step. The app would be a stub and it shall automatically upgrade to the full Magisk Manager when you open it.
15.Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
16.Baruh Ashem! enjoy magsik!
That's it I think if I forgot something I'm sorry I hope it worked for you! and maybe some real developers start to look at the device and start building costume roms andall the good stuff that comes with it!
meanwhile the files are uploading you can try get them by yourself here are the names of the files I used:
Odin3_v3.13.1_3B_PatcheD
Samfirm
firmware file: SM-A705FN_1_20190412140953_u5ql0uali6_fac
Magisk manager is linked the developer enterd the canary build but I'll also upload 7.1.2.apk version I found on the internet.
ALL CREDIT GOES TO THE ORIGINAL DEVELOPER, AND DEVELOPERS. if you have any question I can help you with my own expirence only.
Here is the download link, use at your own risk. if you are not sure the firmware uploaded is right for your device download yourself with samfirm that i also uploaded.
Download Link - Google Drive
Thanks for your research and this manual! I've been trying your steps for a few hours now, and after a few trial and errors, softbricks and reboots I'm still not able to succeed.
Magisk Manager won't show up in the apps after setup wizard. Installing it manually, it says Magisk is not installed
My phone: A70 from the Netherlands. I used Israel firmware from updato.com (https://updato.com/firmware-archive-select-model?record=440E12D670B911E9BE8CFA163EE8F90B) and your file (which is same size after patching). Unfortunately I can't find Dutch firmware, hence the Israel version.
Anybody else succeeded?
Captain Beretta said:
Thanks for your research and this manual! I've been trying your steps for a few hours now, and after a few trial and errors, softbricks and reboots I'm still not able to succeed.
Magisk Manager won't show up in the apps after setup wizard. Installing it manually, it says Magisk is not installed
My phone: A70 from the Netherlands. I used Israel firmware from updato.com (https://updato.com/firmware-archive-select-model?record=440E12D670B911E9BE8CFA163EE8F90B) and your file (which is same size after patching). Unfortunately I can't find Dutch firmware, hence the Israel version.
Anybody else succeeded?
Click to expand...
Click to collapse
thank you for the feedback!
did you flashed the whole firmware? with BL, patched AP,CP and CSC? on the google drive folder I have to full firmware try to download that.
maybe you do have it installed but you didn't boot corectly. try to turn off your phone then hold volume up+power button and hold them untill you see the galaxy a70 powered by android. and then check magisk! I hope it helped!
Will try and flash complete firmware with all your Drive files tomorrow! Hope it will succeed
Captain Beretta said:
Will try and flash complete firmware with all your Drive files tomorrow! Hope it will succeed
Click to expand...
Click to collapse
I wait for your success, because I'm trying to decide to buy or not this device (root is very important to me)
infearno said:
I wait for your success, because I'm trying to decide to buy or not this device (root is very important to me)
Click to expand...
Click to collapse
I have good hope that this device can be rooted considering my past Samsung devices, it is only a matter or time.
I'm downloading the files again now, and going to try! Will report back a.s.a.p.
Edit:
Installed everyhing from your files in Odin: BL, AP (patched), CP, CSC and:
It worked! Magisk installed, Magisk Manager updated. I could install AdAway and it asked for root permissions.
But... after reboot Magisk Manager said it is NOT installed anymore. Now what?
Edit 2:
It seems Magisk sometimes fails to load when booting. After some reboots, it is back again and AdAway works. So end of the story: IT WORKS, and it Magisk starts to nag that is it not installed, just reboot a couple of times, and enjoy your rooted phone
Edit3:
Screenshots:
https://i.postimg.cc/wMrbLSpZ/Screenshot-20190515-094200-Magisk-Manager.jpg
https://i.postimg.cc/WbDyTbmv/Screenshot-20190515-094205-Magisk-Manager.jpg
https://i.postimg.cc/wjLbRfb4/Screenshot-20190515-094325-Magisk-Manager.jpg
https://i.postimg.cc/BQdV69N1/Screenshot-20190515-094336-Ad-Away.jpg
Captain Beretta said:
I have good hope that this device can be rooted considering my past Samsung devices, it is only a matter or time.
I'm downloading the files again now, and going to try! Will report back a.s.a.p.
Edit:
Installed everyhing from your files in Odin: BL, AP (patched), CP, CSC and:
It worked! Magisk installed, Magisk Manager updated. I could install AdAway and it asked for root permissions.
But... after reboot Magisk Manager said it is NOT installed anymore. Now what?
Edit 2:
It seems Magisk sometimes fails to load when booting. After some reboots, it is back again and AdAway works. So end of the story: IT WORK, and it Magisk starts to nag that is it not installed, just reboot a couple of times, and enjoy your rooted phone
Click to expand...
Click to collapse
Yay I'm happy it worked!
Magisk isn't loading because of you want to boot with magisk you need to hold the volume up and power button together untill you see the bootloader unlocked warning and it asks your to press the power button to continue then release press the power button. I usually press volume up and power button again for 2 sec to make sure and that's it! Reboot won't boot with magisk sure make sure u use this method each time you need to reboot!
Avicohen21 said:
Yay I'm happy it worked!
Magisk isn't loading because of you want to boot with magisk you need to hold the volume up and power button together untill you see the bootloader unlocked warning and it asks your to press the power button to continue then release press the power button. I usually press volume up and power button again for 2 sec to make sure and that's it! Reboot won't boot with magisk sure make sure u use this method each time you need to reboot!
Click to expand...
Click to collapse
That's...unfortunate. Any way to unlock samsung fully?
infearno said:
That's...unfortunate. Any way to unlock samsung fully?
Click to expand...
Click to collapse
It's not that bad, even if you accidentally booted without magisk just turn off the phone and boot with the way I mentioned and magisk is back!
If you normally power up your phone just pressing the power button with this method just add the volume up and hold both button together for 4 to 5 sec.
Right now it's the only way to root that I found. Maybe with twrp things will get easier.
And one more thing if you install magisk module don't press reboot after your install just power off and boot the way I mentioned that's it.
Avicohen21 said:
Yay I'm happy it worked!
Magisk isn't loading because of you want to boot with magisk you need to hold the volume up and power button together untill you see the bootloader unlocked warning and it asks your to press the power button to continue then release press the power button. I usually press volume up and power button again for 2 sec to make sure and that's it! Reboot won't boot with magisk sure make sure u use this method each time you need to reboot!
Click to expand...
Click to collapse
I tested a few reboots, and this is how my A70 behaves:
X Reboot without pressing any buttons: no Magisk
X Reboot, pressing the power button when prompted: no Magisk
V Reboot, hold power button + volume up button, press power button to confirm: Magisk :victory:
Well, that's good enough for me! I am happy :laugh:
Captain Beretta said:
I tested a few reboots, and this is how my A70 behaves:
X Reboot without pressing any buttons: no Magisk
X Reboot, pressing the power button when prompted: no Magisk
V Reboot, hold power button + volume up button, press power button to confirm: Magisk :victory:
Well, that's good enough for me! I am happy :laugh:
Click to expand...
Click to collapse
Yeah that's right my English is not perfect maybe I didn't explained it good enough but that's what I meant! Thank you for trying. That's good enough for me also.
I also installed EdExposed and it's working good with modules that are confirmed to work with Android pie.
Next thing is trying to flash mods with flashify or something because we don't have twrp yet.
There is more good news!
I got EdXposed working following this manual, using the SandHook version: https://magiskroot.net/download-xposed-for-android-pie
It was really easy, just download and flash/install these files:
Links:
Riru core: https://github.com/RikkaApps/Riru/releases
EdXposed Sandhook: https://github.com/ElderDrivers/EdXposed/releases/tag/v0.4.1.2
EdXposed Installer: https://github.com/solohsu/XposedInstaller/releases/tag/Ed_v2.2.4
Don't forget to reboot with the button combination trick mentioned earlier!
this way can flash Treble?
5dprince said:
this way can flash Treble?
Click to expand...
Click to collapse
Not.
@Avicohen21 I want to do this, but now this magisk canari, to patch FW, is not longer available to download...
point me there, please
thanks
ivanox1972 said:
@Avicohen21 I want to do this, but now this magisk canari, to patch FW, is not longer available to download...
point me there, please
thanks
Click to expand...
Click to collapse
Here's the copy of it. View attachment 4768110
@Avicohen21 Actually I tried it on tab s5e- should be same procedure.
But I got fail result on odin flash patched ap...
Is this normal? 1 fail 0 success? or not- must be 1 success?
thanks
ivanox1972 said:
@Avicohen21 I want to do this, but now this magisk canari, to patch FW, is not longer available to download...
point me there, please
thanks
Click to expand...
Click to collapse
It also works with version 7.20 if you can't find an app I'll upload it.
ivanox1972 said:
@Avicohen21 Actually I tried it on tab s5e- should be same procedure.
But I got fail result on odin flash patched ap...
Is this normal? 1 fail 0 success? or not- must be 1 success?
thanks
Click to expand...
Click to collapse
If it failed maybe magisk didn't patched AP correctly try to extract the AP file again from the firmware file and then patch it in magisk again.
I extract with 7zip and got all ok in magisk. Newest 214 build.
But got success 0 fail 1 as result
Can't be ok like this?
@Avicohen21 I almost bricked it. Send me on pm your telegram contact or something to send you some pictures

restart with magisk

I have a rooted n970f. Ig is rooted wtih magisk. But when i reboot phone i am loosing root.
I must use combo key while i reboot phone not to loose root acces. I must press both volume up and power key for a few second and then release the buttons. Then root is ok.
So anyone know to fix this problem? Maybe a profile can be used not to use the combo key while opening the phone?
A magisk boot image for your device is to be flashed to the boot partition.
In my case, I have Galaxy S10 G973F. A magisk boot image was provided by the Rom developer together with the Rom I'm currently using (lineageos 17.1).

Categories

Resources