Need help for flashing TWRP onto a Magisk-enabled Samsung device - Samsung Galaxy Note 10 Questions & Answers

Hi. I have a Samsung Galaxy Note 10 5G (d1x) device, rooted with magisk. The recovery key combo (Power+VolUp) is not working on the second reboot since flashing magisk (exiting download mode to be the first), pressing the key combo only gets me into a unrooted os. Issuing adb reboot recovery command from a pc will only get me into Magisk-enabled os, whether VolUp is long-pressed or not. After I tried to flash a TWRP image patched by the Magisk App using Odin, the situation remained same: key combo not working, adb command gets me into Magisk-enabled os. But if I use the Reboot to Recovery option inside the Magisk App, the phone blacks out for a few seconds after the Note 10 splash screen, and then reboots and gets into unrooted os.
So my question is: Is there something wrong with my method (patching the TWRP image from their official site with Magisk App, renaming it into recovery.img and flashing a tarball containing it with Odin), and how can I get both Magisk and TWRP working (and also how can I fix the recovery key combo).

REPLY:Both TWRP and Magisk work properly after the third reboot.

Hi, I have the same problem. Note 10+ and root from Magisk (Patching AP). Every time I normally reset the phone, I lose root. Then, to recover root, I have to combine on computer with the commands "adb reboot" plus a combination of PWR + Vol Up keys on the first inscription "Samsung" immediately after launching this restores root. It doesn't matter if the phone will reset 1 or 5 times. I will always lose root after a regular reset without a combination of PWR + Vol Up. I have enough of it. What am I doing wrong ?

Related

Not getting into recovery

I'm not able to get into recovery.
After doing something stupid on my phone, i wanted to flash a new rom (crDroid). But the recovery gave an error 7. So i wanted to flash the recovery from the thread. I wasn't near a pc so i downloaded an app called Rashr to flash the recovery.img. But then my phone wouldn't boot or get into recovery.
So i used the official flashtool from sony to flash the official software to reset my phone and now my phone works again, but i still wanted crDroid. I downloaded a permissive kernel from zach and installed it through fastboot. I also installed the recovery through fastboot but when i booted, no yellow light came up and holding the volume up button wouldn't work as well.
Any suggestions?
Edit: Also fastboot boot recovery.img results in the phone being stuck at the sony logo
When you have recovery installed in FOTA partition, you can enter it by holding VOL DOWN + Power button while the phone is off.
The way you described only applies when recovery is installed in boot partition.
serenize said:
When you have recovery installed in FOTA partition, you can enter it by holding VOL DOWN + Power button while the phone is off.
The way you described only applies when recovery is installed in boot partition.
Click to expand...
Click to collapse
This only works with 100% reliability after flashing at least .160 Nougat firmware via FTF (XperiFirm),
then flashing twrp/recovery via
Code:
fastboot flash recovery recovery.img
and the behavior varies from country to country (or even firmware to firmware, among network operators / giving the name "custom firmware" credit :silly.
This time [2nd flash of .160 firmware, different operator] the notification led lights up violet for me, previously it was something else (a form of red, orange) and recovery almost instantly booted up,
now it takes several seconds - if not 30 seconds until it's in TWRP.
Okay so i'm on 34.4.A.0.160. I flashed some different recovery images by now but still no change in the situation. I did al the recovery flashing using the 'fastboot flash recovery recovery.img' code and fastboot gave no errors and it looked like it works everytime. But when i boot there is no led light during the entire boot sequence.
Also booting to recovery with volume down + power button when phone is off, didn't work. It just boots normal. I tried it serveral times and every time i changed some things, like pressing the volume button or power button for a longer time. Also once again, here no led indicators appear....
My led light is not broken as it still lights up when i get a message.
I installed a old lolipop firmware through flashtool, installed the Androplus permissive kernel and recovery, also from Androplus, through fastboot. Now when the phone boots it gets a yellow led indicator. When pressing volume up during the indicator, the light turn orange but the phone does not boot into recovery, but instead reboot itself.
Once again, no idea what is happening. Fastboot is working fine or i would not be able to flash the permissive kernel and get a yellow led light. But why won't my phone boot to recovery? I tried multiple different variants of twrp by different people. Tried multiple firmwares. I think there is something wrong with the partition where the recovery is stored. Is this possible? And if so, how would i fix it?
*i think it is against the rules, but here is a BUMP*
No one any idea ? I can't flash anything without recovery
Same here
I had a similar experience. What worked for me was
"fastboot erase recovery" before fastboot flash recovery etc.
Might work.
Wow - folks there you have your answer - but no one seems to care or read it:
serenize said:
When you have recovery installed in FOTA partition, you can enter it by holding VOL DOWN + Power button while the phone is off.
The way you described only applies when recovery is installed in boot partition.
Click to expand...
Click to collapse
well, I flash twrp to the recovery partition (FOTA huh ?)
Code:
fastboot flash recovery twrp.img
after both steps were [OK]
you can disconnect the cable (= phone off)
Now press VOL DOWN + POWER at the same time,
wait for the Sony logo/screen to appear,
wait 1-3 seconds and release the POWER button - keep the VOL DOWN button pressed [probably can release ALL but still ...]
the phone should boot into TWRP/recovery after quite some time
Just boot the recovery:
$ fastboot boot twrp.img

Magisk rooting issue - Recovery erases itself

Hi,
I've recently gone to rooting my Note 10, I've managed to get the bootloader unlocked. I've followed the rooting instructions with Magisk via flashing with ODIN and then doing a factory reset in recovery.
Basically, whenever ODIN is done, and I try to enter recovery for the first time, it just displays 'erasing' for a second, the phone reboots, and root and magisk don't seem to work. I'm fairly sure I followed instructions to the T. Any idea what could be causing the issue? My phone is the 970F variant. I'm using the latest (android 10) firmware with Magisk and then flashing the processed file.
Thanks!
You should keep holding volume up and power. Don't release any of button when flashing is done and phone is reboot.
Best way is to disable auto reboot in Odin and when modified firmware is flashed, simply reboot by holding vol down and power key together.
As soon as screen goes black. Relase vol down and press vol up and power key. Let the erasing do, don't release buttons at any stage. You will get into recovery.

No bootloader access?

Hi there!
This is my first Samsung phone that I attempted to root. It's a Sprint Note 5 with *3DRH1 firmware, and it refuses to drop-down to bootloader level. Trying with either adb, or Vol+,Home,Power key press combination, or selecting "reboot to bootloader" from recovery ends up booting right back into system. I've read one mention about Sprint preventing such access, but is there a way around this?
That's one problem. The other is inability to flush (with Odin) the TWRP recovery, even though Odin reports success. After that, booting to recovery first displays "Installing system software" on a blue background, then a warning "No command", and only then ends up on native recovery.
The one thing I was successful in was to boot into Download mode, and I guess this would allow me to flush other original firmware. Is that right? What older firmware would allow me to root this phone? Is that the route to take, or is there magic trick/key press combination that can invoke the bootloader mode? Thanks for any pointers.
Note 5 doesnt have a bootloader
If you want to root or use any custom roms, you need TWRP,
Steps to root:-
1) Download the latest version of twrp for your device from TWRP's website
2) place it in AP in Odin
3) Close your phone then press Volume Down, Home Button, Power button simultaneously to boot to Odin/Download Mode
4) connect to your PC and flash twrp
5) Download Magisk v23 from Magisk's github.
6) use an OTG or place it on your phone's sdcard.
7) Install it from TWRP
The reason i said v23 instead of v24 is because Magisk Hide is off as default for v24, so, better to install v23 then update magisk later from its app.
Download TWRP for nobleltespr
Download TWRP Open Recovery for nobleltespr
dl.twrp.me
Release Magisk v20.3 · topjohnwu/Magisk
Fix magiskboot crashing when dealing with lz4_legacy format Full Changelog: here
github.com

Magisk will not root

I was able to follow instructions to patch the AP file with magisk. I saved it to my SD card, removed the SD card and put it on my computer and flashed it with Odin. I now have the unlocked Bootloader warning and the not Factory firmware warning. I cannot get Magisk to give me root access. When I Boot to recovery with volume up, Bixby, and Power, if nothing is plugged into the USB C port it will not go into recovery at all. If I press all three of those keys almost any length of time with the computer plugged into the USB C Port, it will go into Factory recovery. It will never boot with magisk giving root access so I can further install Magisk and Root Checker always shows not rooted. I even tried plugging in the USB C while holding the buttons, and even unplugging it while holding in the buttons.
Push.
I have the same problem. Flashed Android 11 with patched magisk AP but it seems like it does not start into the revcovery 'mode' (only factory recovery when plugged to the pc). Worked before with Android 9.
Connect the phone by computer and use ADB command reboot recovery...
With g9700 you can not simply reboot the phone, you always will lost root! You have always to turn off the phone by power button and then turn it on.
Thanks for your reply. However, if I do this, I only get into the recovery menu.
I cannot find any option to boot into recovery "mode" (where magisk is available).
The model is G970F if it makes any differences.
Hi, i had the same problem. I tried the flashing process again and again with Odin v3.14 from the beginning (patched AP only! No other files used) and finally it worked! First, after flashing hold the [power button + vol. down] for 7 seconds and when the display turns off because of the restart then immediately hold [power + bixby + vol up] until you pass all warnings and finally you will see the recovery.

I lose root after each reset the phone without PWR+Volup on start

Note 10+ and root from Magisk (Patching AP) Android 12.
Every time when I normally reset the phone, I lose root. Then, to recover root, I need to combine with the commands "adb reboot" from Windows via USB and a combination of PWR + Vol UP keys on the first inscription "Samsung" immediately after reset phone. This is the only way I can get root permissions to the next normal reset ... I will always lose root after a regular reset or turning off phone without a combination of PWR + Vol Up. I have enough of it. How to make root permanent ??
And everything is clear, I will answer myself. In addition, in Android above 11, when restarting, you need to connect the phone to the computer or USB headphones and when turning on the power, hold PWR + VolUP and release the buttons right after the first "Samsung" logo.
Second solution. Install the "Reboot options" application from google play and each time reset the phone by selecting the recovery option, this way we do not lose ROOT every time we reset ...
Due to the fact that some devices no longer uses ramdisk in boot images, Magisk has no choice but to be installed in the recovery partition. For these devices, you will have to boot to recovery every time if you want Magisk. Since both Magisk and recovery lives in the same partition, what you actually end up getting when you choose to boot to recovery will be determined by how long you press volume up.
(Powering up normally) → (System with NO Magisk)
(OEM Recovery Key Combo) → (Splash screen) → (Release all buttons) → (System with Magisk)
(OEM Recovery Key Combo) → (Splash screen) → (Keep pressing volume up) → (Actual recovery)
One question,
how does twrp and magisk gonna work together,
or is it possible to use both..
I ask because anytime I flash twrp (magisk installed)
restart my phone it's goes into a black screen and won't even show charging when charger is connected or plugged into PC
Phone galaxy note 10 5g n971n
Bootloader: unlocked
Root access: yes

Categories

Resources