[Q] Having trouble rooting my Verizon Samsung Galaxy S4 - Verizon Samsung Galaxy S 4

So I have been trying to root my samsung phone but it has not been working. I tried downloading towel root, but it says that my phone is not supported. My phone is running build number KOT49H.I545VRUFNG6 and android 4.4.2 with kernel version 3.4. I have tried using Odin 3.09 to flash the NG5 build number to see if towelroot would work with that, but when I plugged my phone into my computer and tried going into download mode on my phone, it would not work. I already factory reset my phone twice to see if that would work, but it has not. Are there any other ways to root my phone, or am I doing something obviously wrong that is easy to fix? Any help would be appreciated.

hamglass - TowelRoot won't root NG6; you will continue to receive that "not supported" error message every time unless you downgrade. Go to this link below, and then scroll down until you find the section I pasted below the link. You'll want to download the second file, the NC5 rar, then follow the steps prescribed.
______________________
http://forum.xda-developers.com/showthread.php?t=2720163
All you need to do is download one of the following 2 all in one upgrade rar files:
I545VRUFNC2-AIO-incl-modem-hlos-nobootloaders-gogolie.rar
or
I545VRUFNC5-AIO-incl-modem-hlos-nobootloaders-gogolie.rar
Each .rar file when unpacked (NC2 or NC5 .rar files must be unpacked!) contains the following apps / odin flashable images:
Odin 3.10 (The newest and best option for Odin.)
SuperSu 1.94 (IN both a flashable thru Safestrap .zip and a .apk - thanks to Chainfire)
SafeStrap 3.72 (Thanks to Hashcode)
SeLinux Permissive Enabler / Mode Changer 1.2 (Thanks to MrBIMC)
TowelRoot v2 (Huge Thanks to geohot)
Android Terminal Emulator v1.0.53.apk
and finally...
I545VRUFNCx-AIO-incl-modem-hlos-nobootloaders-gogolie.tar
YOU CAN KEEP THE ODIN PROGRAM AND FLASHABLE FILE ON YOUR COMPUTER BUT MOVE ALL APKS TO PHONE OR SDCARD 1ST.
which is the magic file you select in Odin under AP slot and press flash to upgrade without bootloaders. This is a modified Odin image I made that also includes a .pit for mapping itself and a modem/hlos so its essentially a 1 and done file! You might need to boot into recovery and do a data wipe if you receive any FC's or issues on 1st boot (then restart and should be good to go). This is a no-wipe odin flashable image with no bootloaders or other crap just firmware and system.img and modem.
Directions to enable Root on NC2 or NC5 stock ROM & to get SafeStrap fully working:
1. Flash the odin image in AP slot for either system you want to upgrade to. (NO BOOTLOADERS OR GARBAGE FLASHED!)
2. Boot up system. If any errors occur restart to recovery (vol-up and power) then wipe data and restart. Or wipe data before flashing!
3. Once booted open TowelRoot.apkl and install and run the app. Then click on the T logo/gray box to root 4.4.2! NO REBOOT REQUIRED!!! [EisBlade: not mentioned is that it's necessary to click the box in settings to allow installs from unknown sources. Do that then return and retry install of TowelRoot apk.]
4. Now open the SeLinux Permissive Enabler / Mode Changer 1.2.apk and install the app. Open the application and click the "Permissive" box.
5. Next install Safestrap and open the app. Click install Recovery once booted. Then you can flash SuperSu .zip like normal in Safestrap. You can also also install from the Playstore or from the .apk in the AIO .rar file. However SuperSu isnt necessary its useful if you intend on controlling your ROOT.
6. Finally for a custom ROM you would reboot to Safestrap and install it in the Main/Stock Slot. Keep root by following any ROM install with SuperSu.zip!!!
7. Enjoy the easiest upgrade method known to man. Be sure and donate or thank, me or one of the fine developers mentioned above.

Related

[Q] Rooting problems. Flash recovery before root?

Hey,
So I'm a noob at this and I tried to root my phone.
Got the Android unified toolkit from here:
http://forum.xda-developers.com/showthread.php?t=1746680
And followed wwjoshdew's video here:
https://www.youtube.com/watch?v=bPRWk8d0sUQ&hd
I picked the Allinone root option on the toolkit and proceeded. At the next step, when my phone entered download mode, it said I need to flash the recovery, recommended TWRP. But in the video, josh directly opens the root folder on odin and starts that. I did what josh did and that completed successfully. But when my device rebooted, on the toolkit, it said could not find recovery and I should try again. And there is no supersu on my phone either.
What have I done wrong? Do I need to flash the recovery before rooting?
Thanks in advance.
You have did only root.
But... a custom recovery is highly recommended (the better is Philz Recovery, CWM-based with some TWRP function).
Also a root manager is reccomended: Superuser is a great open source alternative to SuperSU, but I can't say you which is the best.
Ps actually I can't see video guide nor thread, my answer is based on what you said in the topic, so at first tell me if phone in "Settings > Info about" menu result with a custom firmware instead official. Otherwise you haven't even did root.
It's showing the stock version. No custom build. I just wanted to root so I could use apps like Greenify.
Do I need to do a flash the recovery first?
psyk789 said:
It's showing the stock version. No custom build. I just wanted to root so I could use apps like Greenify.
Do I need to do a flash the recovery first?
Click to expand...
Click to collapse
I didn't ask you for stock or custom rom. If you did root, in "Info about phone" the system status is showed as "custom".
Greenify should works also without root, but with limitations.
Recovery is highly recommended for you and also for some advanced apps who need this to flash something.
Then also a root manager for security reasons and a better device control is reccomended.
You can't stay without both, but I suggest to have both.
Ps without doing root you can't flash anything, nor via Odin! [emoji6]
It's showing Device Status as Official.
I understand that I need to root first before I can do anything. However when I followed the vid, it said before rooting if I had any recovery installed and needed me to install one first.
That's why I'm confused. I thought it was root first then flash recovery.
psyk789 said:
It's showing Device Status as Official.
I understand that I need to root first before I can do anything. However when I followed the vid, it said before rooting if I had any recovery installed and needed me to install one first.
That's why I'm confused. I thought it was root first then flash recovery.
Click to expand...
Click to collapse
You haven't to be confused: for example CF-Auto-Root do it and automatically flash recovery (CWM) and root manager (SuperSU).
You can flash them by downloading the device specific file (I9300).
If you want to change root manager simply uninstall SupetSU and download by Play Store Superuser (from Chainfire eh!), if you want dislike or want to update recovery, simply flash another via Odin or zip file.
Advice
My advice is this:
1. search for a MD5 file from Philz Touch like here: https://goo.im/devs/philz_touch/CWM_Advanced_Edition/i9300/
2. Download Odin3.09 from here: http://www.chip.de/downloads/Odin3_12992520.html
3. Go to download mode by pressing volume down, home button and power on
4. Flash it by clicking AP and select the MD5 file
5. boot to recovery pressing volume up, home button plus power on
6. go to philz settings, Reroot system
7. download SuperSu from market
Than you're done
Tkkg1994 said:
My advice is this:
1. search for a MD5 file from Philz Touch like here: https://goo.im/devs/philz_touch/CWM_Advanced_Edition/i9300/
2. Download Odin3.09 from here: http://www.chip.de/downloads/Odin3_12992520.html
3. Go to download mode by pressing volume down, home button and power on
4. Flash it by clicking AP and select the MD5 file
5. boot to recovery pressing volume up, home button plus power on
6. go to philz settings, Reroot system
7. download SuperSu from market
Than you're done
Click to expand...
Click to collapse
Without root you can't do anything. This option is useful for people who have maintained Philz Recovery on an unrooted system.

Installing Stock ROM, Magisk and Taking OTA .zips without losing root.

Ah, So You've rooted your 6.1 Plus/X6 but don't know how to Install stock or having troubles with it? I'm here to help!
*All of the instructions and procedures below requires an unlocked bootloader. If you do not have an unlocked bootloader, Please refrain from asking about it here.
*Not having an unlocked bootloader and following this will definitely brick your phone. You have been warned.
Installing Stock ROM - Method 1A(Nost) --
1. Get NOST from here - NOST
2. NOST ONLY SUPPORT OREO FIRMWARE, USE OST LA FOR PIE(Not sharing cause its a patched app, Search on Google and get it from TechMesto)
3. Download unpacked oreo firmware, You can get it from - Here
4. Extract the zip on your PC
5. Put your phone in bootloader mode, Power off - Press Volume Down+Power Button.
6. Now connect it to your PC
7. Open NOST, Select the .mlf file from the folder where you extracted the Firmware
8. Now select, Normal download and Erase User data option.
9. Now click on next and wait for NOST to flash the phone. (It takes 258 seconds or 2.3 - 2.5 minutes on my laptop)
Installing Stock ROM - Method 1B(OST LA) --
Same as NOST, It has the same UI.
Except You might have to change some values in the .mlf file.
An appropriate guide for the same - Here
Installing Stock ROM - Method 2(Hikary's Generic Flashing Script) --
I recommend this method more than NOST and OST LA.
1. Get Hikary's script from - Here
2. Get unpacked Firmware from - Here
3. Extract the Firmware
4. Put the .exe file you got from Github into the folder where you Extracted the firmware
5. Run the script
6. Follow instructions on screen
7. Profit!
Thanks alot to member - Hikary for this easy to use scipt!
You've installed Stock, Now let's add some magisk to it !
*Please disable Automatic System Updates through developer options to make taking OTA .zips easier.
Installing Magisk - Method 1A(Fastboot method) -
You will need Google's ADB drivers, Which you can get - Here/
1. Extract ADB to a Folder
2. Get Magisk patched boot images from - Here Don't worry, Boot images for Nokia 7 Plus will work on DRG(6.1 Plus/X6) and PL2(6.1)
3. Open adb(Type cmd in the address bar of the folder where you extracted adb)
4. Put your device on Download mode
5. type the command
Code:
fastboot boot 'nameofbootimage'.img
6. Now your phone will boot
7. Install Latest Magisk Manger from - [https://www.github.com/topjohnwu/magisk/releases]Here[/url]
8. Open Magisk Manger, You will see Magisk is installed, But there will also be an Install Button next to it. Tap on Install.
9. Let Magisk Install and re-boot the phone
10. Viola Magisk is now permenantly available
Installing Magisk - Method 1B(TWRP method) -
You will need Google's ADB drivers, Which you can get - Here/
1. Get the latest TWRP for 6.1 Plus
2. Get the Latest Magisk Installer from - [https://www.github.com/topjohnwu/magisk/releases]Here[/url]
3. Put the .zip file to your Internal Storage/SD Card
4. Open adb and pass the command
Code:
fastboot boot "nameofrecoveryfile.img"
5. Now TWRP will open on your phone
6. Install Magisk through TWRP
7. Wipe Dalvik
8. Reboot
9. Profit
Now you've got magisk. Follow the next post to see how to take an OTA update with Magisk Installed.
Nokia 6.1 Plus is an Android One certified device. Nokia is no slouch either when it comes to issuing updates. Learn how to take OTA without losing root.
1. Turn of Auto System updates through Developer options
2. Open Magisk Manager
3. Restore Stock Images but don't reboot.
4. Download and install, Let both the steps finish i.e applying update and apps, but don't reboot.
5. Go to magisk manager and select install to inactive slot option
6. Re-boot device.
7. You've not lost root, But have root access.
Done
CarbonGTR said:
Nokia 6.1 Plus is an Android One certified device. Nokia is no slouch either when it comes to issuing updates. Learn how to take OTA without losing root.
1. Turn of Auto System updates through Developer options
2. Open Magisk Manager
3. Restore Stock Images but don't reboot.
4. Download and install, Let both the steps finish i.e applying update and apps, but don't reboot.
5. Go to magisk manager and select install to inactive slot option
6. Re-boot device.
7. You've not lost root, But have root access.
Done
Click to expand...
Click to collapse
I don't see any option to restore stock images or install to inactive slot in Magisk. Am I missing something?
Hymix said:
I don't see any option to restore stock images or install to inactive slot in Magisk. Am I missing something?
Click to expand...
Click to collapse
Open Magisk Manager, Tap on Uninstall. You will see 2 options, Complete Uninstall and restore stock images.
*Nevar tap on the complete uninstall option, It will throw your phone into bootloop
To install to inactive slot, Tap on install, You will get 2 options, Release Notes and Install. Tap on Install again and select install to inactive slot, Reboot from within Magisk Manager.
The simplest way I've found to install Stock Rom is just using adb sideload.
Boot into TWRP and wipe as you would with any custom rom.
Go to advanced and adb sideload.
Send the adb sideload command from your computer with the relevant zip file.
Doesn't require any additional softward like NOST or OST....
Hymix said:
The simplest way I've found to install Stock Rom is just using adb sideload.
Boot into TWRP and wipe as you would with any custom rom.
Go to advanced and adb sideload.
Send the adb sideload command from your computer with the relevant zip file.
Doesn't require any additional softward like NOST or OST....
Click to expand...
Click to collapse
But does it also install the bootloader and stock recovery back? If yes then I'll add it to the post above.
CarbonGTR said:
But does it also install the bootloader and stock recovery back? If yes then I'll add it to the post above.
Click to expand...
Click to collapse
That's a good question. I've just been using stock and hadn't considered it. How would one check that?
Sent from my Nokia 6.1 Plus using Tapatalk
Bluebriz said:
That's a good question. I've just been using stock and hadn't considered it. How would one check that?
Sent from my Nokia 6.1 Plus using Tapatalk
Click to expand...
Click to collapse
It's easy. Get an OTA .zip file, Re-Boot to recovery and flash it. Or Use the ADB Sideload method.
Most likely installing the OTA would fail if the device is rooted because, Magisk will patch the boot.img.
Then I'll need to wait for another update, the September one, right? Because I installed it with ADB and have Magisk installed so I don't really want to mess with it until I have to.
Sent from my Nokia 6.1 Plus using Tapatalk
Bluebriz said:
Then I'll need to wait for another update, the September one, right? Because I installed it with ADB and have Magisk installed so I don't really want to mess with it until I have to.
Click to expand...
Click to collapse
I just took an OTA with Magisk installed it went fine. (September patch)
OK, then it doesn't seem to work. Trying to follow the steps, the system update gives an installation error. I'm guessing that somewhere along the road I've messed something up, so it seems stock rom and Magisk isn't an option for me.
Hymix said:
OK, then it doesn't seem to work. Trying to follow the steps, the system update gives an installation error. I'm guessing that somewhere along the road I've messed something up, so it seems stock rom and Magisk isn't an option for me.
Click to expand...
Click to collapse
Restore images before you do anything, If installation fails keep trying again. It happens to me to.
CarbonGTR said:
Restore images before you do anything, If installation fails keep trying again. It happens to me to.
Click to expand...
Click to collapse
Really? I did the restore via Magisk and that seemed fine, but then the update part didn't work. It downloaded then gave the error so I quit and started again with a fresh installation, minus Magisk.
Sent from my Nokia 6.1 Plus using Tapatalk
Have you guys modified the system/vendor partition in any way? If you did, Then it will obviously fail.
@Bluebriz and @Hymix I agree. It's the september security patch causing the installation issue.
It fails for me no matter what, Unless I completely un-root. But this method works perfectly fine on the August update.
Lets see for the October patch.
Okay, I can specifically narrow this down to way the September patch. The september patch requires the August security patch as a precondition to install. And that's where something funky is happening.
Guys a quick update. October update has been released but it also fails to install. This time I've managed to find the cause, Apparently some service that needs to be used for the update is being blocked/used by Magisk. (I could be wrong here)
The error code according to the recovery is 20(kDownloadStateInitializationError)
Is there any update to this issue?
Tried removing Magisk, didn't help.
Yesterday I got November security update ..iam using magisk...so it is showing installation problem...I tried in recovery and ADB method both didn't work.. finally I ended in bootloop ...so I again installed stock ROM...any solution is there without resetting each time how to install security updates..coz each time my data balance was wasted??

Lost root somehow, please help me fix it.

Hello everyone, my phone is samsung note 10 plus, I have twrp installed and rooted with magisk, I'm on Android 9, I somehow lost root, have no idea how, I'm very careful not to allow updates or google to install something there might affect my root.
when I go to magisk I'm getting the image that I've attached, when I click on install magisk, download the zip file and try to install it I get an an error as show in the 2nd image, saying unsupported/unknown image forma. I've also attached the log file. Is there any way for me to fix this without flashing the rom and start from scratch? Can I repair it somehow, maybe with TWRP?
Thank you all in advance
you have boot.img of the device?
i thought you can only install magisk in 2 way by flashing boot.img unto magisk or flashing magisk.zip unto TWRP as recovery partition
#edit how did you install magisk in the beginning? thats how you will install it again
there a chance you will get your device brick if you install magisk wrong way (A/B partition) but since you already install it previously just reinstall it back
Hmmm, where should I have the boot. Img you mean as if I backed it up on my pc? Or I can download it and use it?
Now I'm confused :/
Before i explain i don't take responsibility for any damages caused on your device if you decided to follow my tutorial .
So basically there's 2 way to install Magisk
• Image Patching - Basically this is what most people do they find stock boot.img and recovery.img for there devices
1. Copy the Stock boot.img or recovery.img to your device
2. Download and install the latest Magisk Manager
If you are patching a recovery image, manually check “Recovery Mode” in Advanced Settings!
Press Install → Install → Select and Patch a File, and select your stock boot or recovery image file
Magisk Manager will patch the image, and store it in [Internal Storage]/Download/magisk_patched.img
Now pull the magisk_patched.img with ADB:
adb pull /sdcard/Download/magisk_patched.img
Flash the patched boot.img or recovery.img to your device and reboot.
For most devices, here is the fastboot command:
fastboot flash boot magisk_patched.img or
fastboot flash recovery magisk_patched.img if you are patching a recovery image
Now you are rooted
•Custom Recovery - This is when you do not have Stock boot.img or recovery.img for your device
( High Chance Of Phone Getting Bricks )
1. Download and install the latest Magisk Manager
2. Download Magisk.zip (https://github.com/topjohnwu/Magisk/releases/) choose the Latest Release
3.Now reboot to recovery (TWRP, CWM ... ETC)
if you use stock recovery it should say "apply update via sdcard"
then just choose Magisk.zip
4. Now if you have TWRP just click Install and choose Magisk.zip
5. wait for the process
6. Now you are Rooted (hopefully xD :fingers-crossed
ineedroot69 said:
Before i explain i don't take responsibility for any damages caused on your device if you decided to follow my tutorial .
So basically there's 2 way to install Magisk
• Image Patching - Basically this is what most people do they find stock boot.img and recovery.img for there devices
1. Copy the Stock boot.img or recovery.img to your device
2. Download and install the latest Magisk Manager
If you are patching a recovery image, manually check “Recovery Mode” in Advanced Settings!
Press Install → Install → Select and Patch a File, and select your stock boot or recovery image file
Magisk Manager will patch the image, and store it in [Internal Storage]/Download/magisk_patched.img
Now pull the magisk_patched.img with ADB:
adb pull /sdcard/Download/magisk_patched.img
Flash the patched boot.img or recovery.img to your device and reboot.
For most devices, here is the fastboot command:
fastboot flash boot magisk_patched.img or
fastboot flash recovery magisk_patched.img if you are patching a recovery image
Now you are rooted
•Custom Recovery - This is when you do not have Stock boot.img or recovery.img for your device
( High Chance Of Phone Getting Bricks )
1. Download and install the latest Magisk Manager
2. Download Magisk.zip (https://github.com/topjohnwu/Magisk/releases/) choose the Latest Release
3.Now reboot to recovery (TWRP, CWM ... ETC)
if you use stock recovery it should say "apply update via sdcard"
then just choose Magisk.zip
4. Now if you have TWRP just click Install and choose Magisk.zip
5. wait for the process
6. Now you are Rooted (hopefully xD :fingers-crossed
Click to expand...
Click to collapse
Thank you very much.
OK, I tried method 2 and didn't work. I downloaded my stock firmware and I have the image file, I can try the first one to place the image in the root of the phone, patch the file with magisk and reflesh it with Odin?
Will I lose all my stuff on the phone by doing this? Thank you
i remember using odin back in 2012 for my samsung galaxy y i didn't know people still using that thing
i search your device on google and it said samsung provide the kernel for it ( https://www.xda-developers.com/samsung-galaxy-note-10-kernel-source-code/amp/ ) thats a good start for rooting your device try looking for it
also visit https://forum.xda-developers.com/galaxy-note-10 it is dedicated section for your device model which means all threads and post are for your device model
ineedroot69 said:
i remember using odin back in 2012 for my samsung galaxy y i didn't know people still using that thing
i search your device on google and it said samsung provide the kernel for it ( https://www.xda-developers.com/samsung-galaxy-note-10-kernel-source-code/amp/ ) thats a good start for rooting your device try looking for it
also visit https://forum.xda-developers.com/galaxy-note-10 it is dedicated section for your device model which means all threads and post are for your device model
Click to expand...
Click to collapse
Im already rooted....
Im having issues how to fix the root as i somehow don't have it any more and i don't want to reflash my rom if I'll lose all my stuff on the phone. Im looking how to fix the root.
drazenm said:
Im already rooted....
Im having issues how to fix the root as i somehow don't have it any more and i don't want to reflash my rom if I'll lose all my stuff on the phone. Im looking how to fix the root.
Click to expand...
Click to collapse
He's just saying to re-root it... If you lost root it's more than likely gone and you'll have to do whatever you did to gain root in the beginning. I constantly backup all my apps, data, pictures and everything to my little USB OTG thumb drive and to my laptop. I do this daily because many times a factory reset is what has to happen depending on what's going on. You can grab a Samsung micro sdcard 128 GB for $18-$19 or so online or thumb drives like I have a SanDisk 128gb.. it was $14. Just some thoughts for moving ahead so you don't have to go through this again. Lots of good suggestions here. If I were you I'd hit the "thanks" button on whenever took time to stop and search for answers to your issue. That's what we do here on xda. I could care less about racking up "thanks" count just throwing that out there so that you know..
Good luck on getting her all fixed. The note 10 is a real gem!
Sent from my marlin using XDA Labs
flash713 said:
He's just saying to re-root it... If you lost root it's more than likely gone and you'll have to do whatever you did to gain root in the beginning. I constantly backup all my apps, data, pictures and everything to my little USB OTG thumb drive and to my laptop. I do this daily because many times a factory reset is what has to happen depending on what's going on. You can grab a Samsung micro sdcard 128 GB for $18-$19 or so online or thumb drives like I have a SanDisk 128gb.. it was $14. Just some thoughts for moving ahead so you don't have to go through this again. Lots of good suggestions here. If I were you I'd hit the "thanks" button on whenever took time to stop and search for answers to your issue. That's what we do here on xda. I could care less about racking up "thanks" count just throwing that out there so that you know..
Good luck on getting her all fixed. The note 10 is a real gem!
Sent from my marlin using XDA Labs
Click to expand...
Click to collapse
I can re root it, that's not the problem, i can do it with the patched magisk boot image through Odin, im asking if that's gonna wipe off everything on my phone. Because i can't backup certain things without titanium backup, and titanium requires root access. Thank you for your help and everyone's else's im well aware and grateful for the attempts, suggestions etc.
no it's not gonna wipe anything thats why magisk is called "systemless" . It will essentially modify the system without actually modifying it.
if you flash magisk_patched.zip nothing noticeable will happen except you will have root access
all your installed application will be there
also i notice this some people actually copy magisk_patched.zip thats really bad idea you need to let Magisk generate it.
For example you have 2 phones same model and same build version .
You generate magisk_patched.zip on the phone A
then decided to copy magisk_patched.zip into phone B ofcourse it will still works
but since you just copy it and didnt let magisk generate it . It would not make backup for boot or recovery partition
if you uninstall Magisk on your phone B .There is really high super ultra mega chance of your phone getting bricks. Also it would not revert any changes done on the period while Magisk is installed
ineedroot69 said:
no it's not gonna wipe anything thats why magisk is called "systemless" . It will essentially modify the system without actually modifying it.
if you flash magisk_patched.zip nothing noticeable will happen except you will have root access
all your installed application will be there
also i notice this some people actually copy magisk_patched.zip thats really bad idea you need to let Magisk generate it.
For example you have 2 phones same model and same build version .
You generate magisk_patched.zip on the phone A
then decided to copy magisk_patched.zip into phone B ofcourse it will still works
but since you just copy it and didnt let magisk generate it . It would not make backup for boot or recovery partition
if you uninstall Magisk on your phone B .There is really high super ultra mega chance of your phone getting bricks. Also it would not revert any changes done on the period while Magisk is installed
Click to expand...
Click to collapse
Thanks for the help, please correct me if im wrong.
Im supposed to copy the AP . md5 file to the root directory of my phone, patch it with magisk, get the patched file, copy it on the pc, connect phone to the pc, get it into download mode, flash the patched file with Odin and that should be it?
Or maybe i can do it with twrp?
Any suggestions?
drazenm said:
Any suggestions?
Click to expand...
Click to collapse
1. Install the latest Magisk Manager
2. In Magisk Manager: Install → Install → Select and Patch a File and select the AP tar file.
Magisk Manager will patch the whole firmware file and store the output to [Internal Storage]/Download/magisk_patched.tar
3. Copy the patched file to your PC with adb pull /sdcard/Download/magisk_patched.tar. Do not use MTP as it is reported to corrupt files.
4. Reboot to download mode, and flash magisk_patched.tar as AP in Odin, together with the BL, CP and HOME_CSC files. Never flash only an AP file, as Odin can shrink your /data file-system if you do.
Important: Uncheck "Auto Reboot" in Options!
5. Magisk is now successfully flashed to your device! But there are still several steps before you can properly use the device.
6. 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 + Volume Down to exit download mode. As soon as the screen turns off, immediately press the combo key to boot to recovery (e.g. on the S10 it is Power + Bixby + Volume Up). Since we want to boot into stock recovery, continue pressing the volume up button until you see the stock recovery screen.
7. Use volume buttons to navigate through the stock recovery menu, and the power button to select an option. Choose Wipe data/factory reset to wipe the data of the device.
8. This time, we can finally boot to the system with Magisk. Select Reboot system now, and immediately press the combo key to recovery. After seeing the bootloader warning screen, release all buttons so it can boot to the system.
9. The device will automatically reboot for the first time it boots. This is completely normal and done by design.
10. After the device is booted up, do the usual initial setup. The following steps will need an internet connection.
11. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
12. Voila! Enjoy Magisk
credit to @Magisk github
you can read the full tutorial here https://github.com/topjohnwu/Magisk/blob/master/docs/install.md
ineedroot69 said:
1. Install the latest Magisk Manager
2. In Magisk Manager: Install → Install → Select and Patch a File and select the AP tar file.
Magisk Manager will patch the whole firmware file and store the output to [Internal Storage]/Download/magisk_patched.tar
3. Copy the patched file to your PC with adb pull /sdcard/Download/magisk_patched.tar. Do not use MTP as it is reported to corrupt files.
4. Reboot to download mode, and flash magisk_patched.tar as AP in Odin, together with the BL, CP and HOME_CSC files. Never flash only an AP file, as Odin can shrink your /data file-system if you do.
Important: Uncheck "Auto Reboot" in Options!
5. Magisk is now successfully flashed to your device! But there are still several steps before you can properly use the device.
6. 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 + Volume Down to exit download mode. As soon as the screen turns off, immediately press the combo key to boot to recovery (e.g. on the S10 it is Power + Bixby + Volume Up). Since we want to boot into stock recovery, continue pressing the volume up button until you see the stock recovery screen.
7. Use volume buttons to navigate through the stock recovery menu, and the power button to select an option. Choose Wipe data/factory reset to wipe the data of the device.
8. This time, we can finally boot to the system with Magisk. Select Reboot system now, and immediately press the combo key to recovery. After seeing the bootloader warning screen, release all buttons so it can boot to the system.
9. The device will automatically reboot for the first time it boots. This is completely normal and done by design.
10. After the device is booted up, do the usual initial setup. The following steps will need an internet connection.
11. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
12. Voila! Enjoy Magisk
credit to @Magisk github
you can read the full tutorial here https://github.com/topjohnwu/Magisk/blob/master/docs/install.md
Click to expand...
Click to collapse
Thanks so much for your help, but i just want to get root back on my phone as i had it rooted already, i dont want to wipe off everything and lose my stuff. There are things that i can only backup with titanium backup, which i can't use now without root privileges :/ can i repair root somehow?
how did you lose your root anyway?
your Android OS updated?
you can try restoring apps with titanium backup but i don't think it will restore Magisk being installed again and gaining root access
ineedroot69 said:
how did you lose your root anyway?
your Android OS updated?
you can try restoring apps with titanium backup but i don't think it will restore Magisk being installed again and gaining root access
Click to expand...
Click to collapse
I didn't do the update, but something did mess up the root aa you can see on the photos that I've attached at the beginning of the topic. I just want to reroot my phone again but not to loose all my current stuff on it.
if you have boot.img or recovery.img for your device you might not lose your stuff installing back magisk but i think you only have the whole firmware ".tar.md5" flashing thats is like factory reset for your phone
#edit i read about ".tar.md5" they say if you just extract it .It contains all stock .img file for your device such as boot.img, recovery.img , system.img ...etc
since i have too much free time can you upload the firmware ".tar.md5" of your device i will upload .boot.img and recovery.img for you
ineedroot69 said:
if you have boot.img or recovery.img for your device you might not lose your stuff installing back magisk but i think you only have the whole firmware ".tar.md5" flashing thats is like factory reset for your phone
#edit i read about ".tar.md5" they say if you just extract it .It contains all stock .img file for your device such as boot.img, recovery.img , system.img ...etc
since i have too much free time can you upload the firmware ".tar.md5" of your device i will upload .boot.img and recovery.img for you
Click to expand...
Click to collapse
thank you for taking your time to help me out, i appreciate it.
here is the link to the firmware file:
https://androidfilehost.com/?fid=6006931924117937015
inside are these files:
AP_N975FXXU1ASH5_CL16618471_QB25345699_REV01_user_low_ship_meta_OS9.tar.md5
BL_N975FXXU1ASH5_CL16618471_QB25345699_REV01_user_low_ship.tar.md5
CP_N975FXXU1ASH5_CP13587367_CL16618471_QB25409313_REV01_user_low_ship.tar.md5
CSC_OMC_OXM_N975FOXM1ASH5_CL16618471_QB25349308_REV01_user_low_ship.tar.md5
HOME_CSC_OMC_OXM_N975FOXM1ASH5_CL16618471_QB25349308_REV01_user_low_ship.tar.md5
ineedroot69 said:
if you have boot.img or recovery.img for your device you might not lose your stuff installing back magisk but i think you only have the whole firmware ".tar.md5" flashing thats is like factory reset for your phone
#edit i read about ".tar.md5" they say if you just extract it .It contains all stock .img file for your device such as boot.img, recovery.img , system.img ...etc
since i have too much free time can you upload the firmware ".tar.md5" of your device i will upload .boot.img and recovery.img for you
Click to expand...
Click to collapse
Any luck?
drazenm said:
Any luck?
Click to expand...
Click to collapse
sorry for late reply i'm kinda busy but to make it easier on my part (downloading 5GB file would take me 5 hours) can you just upload the following ?
AP_N975FXXU1ASH5_CL16618471_QB25345699_REV01_user_ low_ship_meta_OS9.tar.md5
BL_N975FXXU1ASH5_CL16618471_QB25345699_REV01_user_ low_ship.tar.md5
CP_N975FXXU1ASH5_CP13587367_CL16618471_QB25409313_ REV01_user_low_ship.tar.md5

Rooting Problem

I am trying to root my s10 lite by following this guide
https://forum.xda-developers.com/galaxy-s10-lite/development/how-to-root-galaxy-s10-lite-t4099777
Been trying for the past 3 days with no success
I have already unlocked my bootloader and downloaded the latest firmware available in my country (Do I have to download the stock one in order for this to work and then update ?)
Flashed the vbmeta_disabler.tar device rebooted to recovery did a factory data reset then powered phone off through recovery and reentered download mode. After that I flashed vbmeta_disabler again along with AP,CSC,CP and CSC files from latest firmware.
After that phone booted and afte the set up downloaded latest magisk manager (canary) . Then I transfered the AP file to the phone's internal storage and patched it using Magisk . Lastly I transfered back the magisk_patched.tar back to pc and tried to flash it with Odin along with BL,CP and HOME_CSC files.
It resulted in a bootloop .
I even tried to use the patched image from the telegram channel dedicated to s10 lite. Extracted the magisk_patched.tar and replaced the boot.img there with the one provided in the Telegram channel. After that using 7 zip I made a .tar file which tried to flash with Odin alongside the other files (BL,CP,HOME_CSC) but Odin crashed.
I tried to follow the exact same steps noted in the guide but with no success and I can't figurr out what I did wrong. Any help is greatly appreciated
Some Questions :
1. Auto reboot is left on on Odin should it be disabled ?
2. After flashing the patched.tar do I have to press a specific key combo to launch phone with Magisk ?
3. When I do manage to root it (optimistic approach) if I want to power off or restart during the boot is it required to press a key combo to boot with Magisk ?
4. After the rooting process can I use the stable Magisk Manager instead of the canary one cause I need Magisk Hide which I think the Canary one lacks ?
Thanks a lot !
wait on twrp, my guess its the wrong patched boot for the software your using

Samsung Galaxy A21s root with Magisk 25.00 without Twrp

i'm a sound lover, so i rooted my Samsung to get Viper4AndroidFx working.
I guess that this method is almost universal for Samsung devices, bit i'm not sure about that so be careful with this.
-you will void warranty for your device-
--Root access on the SM-A21F with the newest Firmware(A217FXXU8DVG4) update and Android 12--
if you are new to all of this search for all the things need first.(I used just heimdall for flashing, because JOdin3CASUAL throws error at me because of a corrupted pit file, don't know how to workaround this)
MAKE SURE YOU HAVE THE RIGHT FIRMWARE FOR THE FLASH!!!
Needs:
-Linux Machine for flashing tool Heimdall(try ubuntu studio for sound experience)
sudo apt install heimdall
There is also a frontend(GUI) for this tool:
sudo apt install heimdall-frontend
(install heimdall first, then the frontend)
-samloader Firmware tool(search for instructions to get the right Firmware)
-lz4 compression librarys to decompress the boot.img from stock firmware
-Magisk app(magisk from f-droid works)
-USB debugging allowed and OEM unlock enabled on your Samsung phone(search for developer options to do this and long press vol-up in Download mode)
1. get the firmware with samloader, decode,decompress,rename to ZIP and open the archive.Decompress the AP section, decompress the boot.img.lz4
2.put the boot.img on your phones storage to patch it with Magisk.
3.put the patched boot.img back on your Computer in a new folder and rename it back to it's original name boot.img
-make sure your phone is charged before you flash the image!
4.connect your device in download mode to the Computer(for SM-A217F:turn off the phone, press vol+ and vol- hold it both and connect the USB cable)
5.open a terminal window in the new folder where the patched and renamed boot.img is placed and type sudo heimdall print-pit, it shows the partition table of your device, for --BOOT you can also type the number of the partition as it's shown in the pit file)
sudo heimdall flash --BOOT boot.img
If anything goes wrong you can always flash back the original boot.img from downloaded stock firmware or unroot your device this way.
After this your device is rooted but there is no Twrp custom recovery for ths model yet.
The unofficial release which can be found on xda doesn't work for me. I've flashed it but got stuck in download mode.
Flashing works fine with other rooting tools but there is no way to get rid of the unrooted stock recovery yet.
I cannot guarantee you that this guide won't Brick your phone. Just be careful with the re-partition options in Odin, if you want to use it. All the work can be done with linux, heimdall and magisk.
heimdall print-pit will show the partititition table from your device.
--+no warranties. What works for me must not work for others.
For everyone who wants to root and no method has worked for him, or you have errors, or your device has not booted after the root.
You can follow the following explanation
Firstly, I used sm-a217f/ds phone
The baseband version is A217FXXU8DVG4
And its protection is U8
Android 12
First of all, you must disable the bootloader ... and this is very important so that no errors occur ... and also do a factory reset for your phone. So you should transfer all your important files before that
1- Get your official ROM from any trusted site
2- Decompress the ROM file and it will show you all the ROM files AP - BL - CP - CSC - HOME_CSC
3- Take the AP file and transfer it to your phone
4- Then download the latest version of the Magisk application
5- Then open the application and inject the AP file into it
6- The injection process takes a relatively long time. I think it takes five minutes or less, depending on the size of the AP file
7- After the injection process is complete, you will find the file that was injected with Magisk in the download files
8- Take the injected file and put it into the computer
9- Then open the Odin application and put the file that was injected into the AP box
10- Put all the rest of the files in your ROM file into Odin
11- We cancel the autorun mode from Odin
12- Then press Start
13- After the process is completed, restart the phone and remove the USB cable, and the phone will ask you to do a factory reset again, and press OK
14- Now the phone supports root
15- After unlocking the phone, install the Magisk app again
16- The application will ask you to download an additional component, click OK, and the phone will restart again
17- Now you have a rooted phone that has been linked to the Magisk application
I think this is the easiest explanation of rooting in detail
And good luck to all of you.
hamada2001 said:
For everyone who wants to root and no method has worked for him, or you have errors, or your device has not booted after the root.
You can follow the following explanation
Firstly, I used sm-a217f/ds phone
The baseband version is A217FXXU8DVG4
And its protection is U8
Android 12
First of all, you must disable the bootloader ... and this is very important so that no errors occur ... and also do a factory reset for your phone. So you should transfer all your important files before that
1- Get your official ROM from any trusted site
2- Decompress the ROM file and it will show you all the ROM files AP - BL - CP - CSC - HOME_CSC
3- Take the AP file and transfer it to your phone
4- Then download the latest version of the Magisk application
5- Then open the application and inject the AP file into it
6- The injection process takes a relatively long time. I think it takes five minutes or less, depending on the size of the AP file
7- After the injection process is complete, you will find the file that was injected with Magisk in the download files
8- Take the injected file and put it into the computer
9- Then open the Odin application and put the file that was injected into the AP box
10- Put all the rest of the files in your ROM file into Odin
11- We cancel the autorun mode from Odin
12- Then press Start
13- After the process is completed, restart the phone and remove the USB cable, and the phone will ask you to do a factory reset again, and press OK
14- Now the phone supports root
15- After unlocking the phone, install the Magisk app again
16- The application will ask you to download an additional component, click OK, and the phone will restart again
17- Now you have a rooted phone that has been linked to the Magisk application
I think this is the easiest explanation of rooting in detail
And good luck to all of you.
Click to expand...
Click to collapse
Root achieved with your method, thanks!
Is there any way to remove software installation warning boot message not recognized by samsung and bootloader unlocked message?

Categories

Resources