[GUIDE] All steps necessary to install a custom ROM / MOD from scratch - Samsung Galaxy S10 Guides, News, & Discussion

Here I share the steps that worked for me (G973F) to install a custom ROM/MOD.
01. Download ASF3 and flash it through Odin (or the last one compatible with the ROM or MOD you wish to use).
02. Install Magisk Manager from here.
03. Extract AP and copy it to SDCard.
04. Open Magisk Manager, press Install and patch AP. It will generate a magisk_patched.rar on \internal storage\download.
05. Copy magisk_patched.rar to your computer.
06. Reboot your phone to download mode.
07. Flash magisk_patched.tar as AP in ODIN, together with the BL, CP and HOME_CSC files. Important: Uncheck “Auto Reboot” in Options!
08. Unplug USB cable, press Power + Volume Down to exit download mode. As soon as the screen turns off, immediately press Power + Bixby + Volume Up to boot to recovery partition and continue pressing the volume up button until you see the stock recovery screen.
09. In the stock recovery menu select Wipe data/factory reset to wipe the data of the device.
10. Select Reboot system now, and immediately press Power + Bixby + Volume Up. After seeing the bootloader warning screen, release all buttons.
11. The device will automatically reboot for the first time it boots, this is completely normal and done by design.
12. After the device is booted up, do the usual initial setup. The following steps will need internet connection.
13. You shall see Magisk Manager in your app drawer; if not, manually install it again 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.
14. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
15. Download TWRP from here and copy twrp_ianmacd.img to your SDCard.
16. Open Magisk Manager, press Install and patch twrp_ianmacd.img from the step before. It will generate a magisk_patched.img on \internal storage\download.
17. Copy magisk_patched.img to your computer and rename it to recovery.img
18. In your computer open magisk_patched.rar with 7-zip, remove recovery.img and then add recovery.img from previus step to magisk_patched.rar.
19. Reboot your phone to download mode.
20. Flash magisk_patched.tar as AP in ODIN, the rest of the fields remains blank. Important: Uncheck “Auto Reboot” in Options!
21. Unplug USB cable, press Power + Volume Down to exit download mode. As soon as the screen turns off, immediately press Power + Bixby + Volume Up to boot to recovery partition and continue pressing the volume up button until you see the stock recovery screen.
22. Now you are in TWRP Recovery, format Data and then reboot to recovery.
23. After the device is booted up, do the usual initial setup. The following steps will need internet connection.
24. You shall see Magisk Manager in your app drawer; if not, manually install it again 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.
25. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
26. Download the ROM / MOD of your choice to your phone SDCard.
27. Reboot your phone, as soon as the screen turns off, immediately press Power + Bixby + Volume Up to boot to recovery partition and continue pressing the volume up button until you see the stock recovery screen.
28. Once you are in TWRP install the ROM / MOD of your choice but don't debloat (if the ROM / MOD has this option).
29. Once install finishes don't reboot, go to TWRP and reboot to Recovery.
30. After the device is booted up, do the usual initial setup. The following steps will need internet connection.
31. After that you can boot to TWRP and install the ROM /MOD again debloating what you want, again if the ROM / MOD has the option.
As an advice, I don't recommend to debloat Chrome.
I hope that this can help someone

Thank you so much, that's very helpful indeed!
If I just want to have magisk in my stock rom without twrp, I should only follow steps 1-14?

Monigote97 said:
Thank you so much, that's very helpful indeed!
If I just want to have magisk in my stock rom without twrp, I should only follow steps 1-14?
Click to expand...
Click to collapse
That's right!

magisk_patched.rar in step 18 is the magisk_patched.rar in step 5 ? Because if not, I don't know where your find this archive

mrforza said:
magisk_patched.rar in step 18 is the magisk_patched.rar in step 5 ? Because if not, I don't know where your find this archive
Click to expand...
Click to collapse
Yes, it's the same.
In the step 18 you should take magisk_patched.rar from step 5 and replace recovery.img with the patched one in step 16 (previusly renamed)

Rober7o said:
Yes, it's the same.
In the step 18 you should take magisk_patched.rar from step 5 and replace recovery.img with the patched one in step 16 (previusly renamed)
Click to expand...
Click to collapse
Sorry but in step 4, it generate a magisk_patched.tar instead of .rar....
Can I continue with that?

mrforza said:
Sorry but in step 4, it generate a magisk_patched.tar instead of .rar....
Can I continue with that?
Click to expand...
Click to collapse
No, something its wrong. When you patch the AP (.tar.md5) file with Magisk, it should generate a "magisk_patched.tar" file in \internal storage\download\
Please check if you are using the correct Magisk Manager from https://github.com/ianmacd/MagiskBuilds

I got stuck in step 21.
"Press Power + Volume Down to exit download mode. As soon as the screen turns off, immediately press Power + Bixby + Volume Up to boot to recovery partition and continue pressing the volume up button until you see the stock recovery screen."
always green screen Downloading at this step no way out.
the 3 buttons combo not bring me TWRP.

ps000000 said:
I got stuck in step 21.
"Press Power + Volume Down to exit download mode. As soon as the screen turns off, immediately press Power + Bixby + Volume Up to boot to recovery partition and continue pressing the volume up button until you see the stock recovery screen."
always green screen Downloading at this step no way out.
the 3 buttons combo not bring me TWRP.
Click to expand...
Click to collapse
First you must keep pressing Power + Volume Down buttons until you get out of Download Mode and your phone shuts down, after that immediately you must press Power + Bixby + Volume Up to boot to Recovery and continue pressing the volume up button until you see the stock recovery screen.
I hope it helps!

Great guide, just missed it though as am already sorted but this is it!:good:
Any chance of putting a bullet point on each step? Would be a lil easier to read. (Sorry for being picky lol)

exocetdj said:
Great guide, just missed it though as am already sorted but this is it!:good:
Any chance of putting a bullet point on each step? Would be a lil easier to read. (Sorry for being picky lol)
Click to expand...
Click to collapse
I took your advice :highfive:

Rober7o said:
I took your advice :highfive:
Click to expand...
Click to collapse
Awesome! Looks very good ??

I thoight u have to flash multi disabler after you flash twrp.

Huawei Mate X ROM MOD?

I am planning to flash Lineage OS 17 on my S10e, is the guide still relevant or is there an updated version?

> 20. Flash magisk_patched.tar as AP in ODIN, the rest of the fields remains blank. Important: Uncheck “Auto Reboot” in Options!
In the official magisk installation guide is stated:
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!
I dont know if it can cause problems..

Related

[Q] Help Samsung fascinate stuck in download mode

Hi So I am stuck in download mode when I tried to root my Fascinate with odin today it got a fail 1 success 0. I have tried holding down the power button for 10 seconds and a battery pull to no avail. Help would be greatly appreciated.
I would suggest that you get a .pit and re partition while you are going back to stock.
Omniscient S said:
I would suggest that you get a .pit and re partition while you are going back to stock.
Click to expand...
Click to collapse
Thank you for responding but I have not rooted yet the problem occurred when I was trying to root.
are you following the [GUIDE] from droidstyle?? Section 6
Section 6: How to root stock froyo or gingerbread(This is not needed if your flashing a custom rom)
Downloads these files to PC,
Samsung drivers-
Odin (computer program)-
CWMALL 2.5 (place this file somewhere on your computer where you can easily locate it)-
"su-2.3.6.1.x.zip" file (place this file on the root of your sdcard...not within any folders)-
Modified stock Froyo kernel (place this file somewhere on your computer where you can easily locate it). This file is only necessary if you're rooting Froyo. It's not necessary for Gingerbread-
Instructions:
1. Install Samsung drivers on your computer.
2. Open Odin on your computer. (You may need to disable antivirus programs on your computer and/or phone for this to work properly.)
3. Power off your phone and remove the battery.
4. Plug the stock USB cord that came with your phone into a powered USB port on your computer (usually on the back of the computer).
5. Press and hold the "volume down" button on your phone, and continue to hold it while plugging the USB cord into your phone. This will put your phone into download mode. You'll see a large yellow triangle on the screen of your phone. (Let go of the volume button at this point.) You will also see one of the small boxes in Odin turn yellow, as well as "Added" appearing in the message box.
6. Click the PDA button in Odin (NOT the PHONE button) and navigate to the "CWM2.5_Voodoo.tar.md5" file you downloaded earlier. This file does not include a voodoo kernel and will not perform the voodoo lagfix conversion. It's only named as such to note that it is compatible with voodoo kernels.(make sure auto reboot is unchecked, although it should be by default)
7. Click START. When this process has finished, you'll be notified in Odin (succeeded 1 / failed 0) and your phone's screen will go blank.
*** Step 8 is only for rooting Froyo. If you're rooting Gingerbread, skip Step 8 and proceed to Step 9. ***
8. Unplug your phone and click RESET in Odin. Repeat Step 5 to get the phone back into download mode and recognized by Odin. Using the PDA button, navigate to the "stock_kernel.tar.md5" file you downloaded earlier, select it, and press START. You'll again be notified in Odin once this process has completed (succeeded 1 / failed 0).
9. Unplug your phone and re-insert the battery.
10. Press and hold BOTH volume buttons. While holding them, press the power button. Hold all three simultaneously until you see "SAMSUNG" appear TWICE. This will boot your phone into CWM 2.5 red recovery. If your phone boots up normally here and not into recovery, just wait for it to boot up and then power it down and try again. It may take a couple tries for you to get it right.
11. Using the volume rocker, navigate down to "Install zip from sdcard." Highlight it and press the power button to select.
12. Navigate to "choose zip from sdcard" and select with the power button.
13. Navigate to the "su-2.3.6.1.x.zip" file that you downloaded earlier and select it. Scroll to "Yes," and use power button to select.
14. When you're advised of completion, press the MENU softkey to go back to the previous CWM Recovery screen, then highlight and select "reboot system now."
*Thanks to Bhfd64 @ galaxy forums for this write up!!
.

Tablet is not booting up :( Only Recovery Mode works

Hi guys,
I just used Download Mode + Odin to push T110.CWM.v6.0.4.8.tar.md5 to my T110 Tablet.
After that I could boot into CWM-based Recovery v6.0.4.8 without issues.
Then I installed the zip file android-armeabi-universal-root-signed.zip
After that I rebooted. And since then I was not able to boot into Android or even Download Mode.
Only Recovery Mode works.
Then I tried to run adb devices from Windows and it reports my device ID number + recovery.
Now I was hoping somebody could help me with some adb commands to get this thing working again.
My initial goal was to root and upgrade from 4.1.2 to 4.2.2.
I would prefer using this lite rom T110UEUANE4.LiteV2.Rooted.Deodexed.June2014.zip instead of the official rom T110XXUANG2_T110OXAANG2_XEO.zip.
But at this point I would not care to much, I just hope it can be fixed again
Many thanks for your help!
How to unbrick your Samsung Galaxy Tab 3 Lite SM-T 110
Things to download:
stock kitkat rom: sammobile.com/firmwares/download/32777/T110XXUANG2_T110OXAANG2_XEO/
Odin: androidhost.org/get/PVAIv
Installation instructions:
1. Extract both zips onto your desktop.
2. Start the odin application.
3. Turn off tablet, and hold -volume button, the home button, and the power button at the same time.
4. Release power button once the tablet turns on but hold the home an the -volume button down.
5. Once transferred to new screen accept warning by pressing the +volume button.
6. Connect your tablet to your computer and wait for Odin to recognize your device.
7. Once recognized, click AP and navigate to the extracted kitkat stock rom MD5 file.
8. Wait about 5 minutes for Odin to check the file.
9. Once odin checks the file make sure to only have Restart and f. reset time checked in the options.
10-1. Click start and wait for installation. to complete.
10-2. If you cannot get to the start button, press tab until you are at the start button and press enter. Start button is at the bottom left.
11. Tablet will restart automatically and you are done.
Quick note: you just learned how to recover from a soft brick.

Samsung Galaxy Ace Duos SCH-i589

Hello guys, today i get my friend's old Samsung galaxy ace duos SCH-i589..& this is my first samsung device to be looking for development in xda (i personally avoiding samsung). I thought that all samsung devices have good xda support but from my searching on google shows that it has almost nil support.. I even can't find proper forum for installing cwm in this device..Now i think what i found from diverse locations should be put in one place.
NOTE: I am not a developer nor below is my work..i would like to all those members who made it possible.
Running from stock rom, i can root this device from the below files:
update.zip
root Instruction:
1. Download & copy the below attached "update.zip" to the root of your sdcard.
2. Turn off your phone.
3. Press & hold (Power + Volume down + Home) keys & release when the phone starts in recovery mode.
4. In recovery mode, the screen select "select update.zip from sdcard".
Remember in recovery touchscreen will not work use volume up down & home keys.
5. Select "update.zip".
6. Yes
7. Done
now to unroot this device after rooting:
unroot.zip
unroot Instructions:
1. Uninstall all [Root] apps.
2. Download "unroot.zip"
3. Turn off your phone.
4. Press & hold (Power + Volume down + Home) keys & release when the phone starts in recovery mode.
5. In recovery mode, the screen select "select update.zip from sdcard".
Remember in recovery touchscreen will not work use volume up down & home keys.
6. Select "unroot.zip".
7. Yes
8. Done.
Caution : Both files are related to each other, If rooted with "update.zip" from here then only use "unroot.zip"
Clockwork mod recovery
Now temporary cwm which can do any cwm task but u have to load it everytime.
CWM-6102.zip
cwm instruction
1. Download & copy the below attached "CWM-6102.zip" to the root of your sdcard.
2. Turn off your phone.
3. Press & hold (Power + Volume down + Home) keys & release when the phone starts in recovery mode.
4. In recovery mode, the screen select "select CWM-6102.zip from sdcard".
Remember in recovery touchscreen will not work use volume up down & home keys.
5. Select "CWM-6102.zip".
6. Yes
7. Done
8. This has to be done every time you want to load cwm recovery.
Now i haven't tested beyond that but i found a youtube link for flashing stock rom via odin
https://www.youtube.com/watch?v=4ChtmNtpk3c
but this is in spanish so i translated in english here..
You must install Samsung KIES to ensure that your PC detects your phone.
After downloading install Odin
1 - Restart the phone in Download Mode ( Vol down , Home, Power Simultaneously ) .
press volume up to continue ( or vol down to leave but it can damage... )
2- Start Odin
3 - select files and press Start
Watch Out !!! Never unplug your phone before restarting
After 5-10 minutes your phone will reboot to your new ROM
stock rom download below:
link:http://www.mediafire.com/download/z7t1yz9c615ebj1/rom+sch-i589.zip
Thank you very much! Although my SCH-i589 is currently hard brick, I think it will be very useful! -- Greetings from new members after 8 years

[GUIDE][ROOT] Samsung Galaxy M30s SM-M307F Android 11

How to root and flash TWRP on Samsung Galaxy M30s SM-M307F Android 11 R. This TWRP recovery is developed by @santhoosh many thanks for his jobs. After Android 11 released rooting method is little different than usual. Use it at your own risk! Follow the instruction carefully and Make sure to backup all your important data!
Rooting and Flashing instructions
Make sure the bootloader is unlocked, OEM unlocking option is grey out
Enter Download Mode : Turn Power Off. Press and hold Volume Up + Volume Down key together, while pressing these keys, connect the phone to computer, then press volume up once.
Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
Flashing TWRP-M30s-A11-3.5.0_9-0_Magisk.tar as AP in ODIN, ( OneUI3 > TWRP_Magisk.tar )
Click Start.
TWRP Recovery is now successfully flashed to your device! Several steps before you can properly use the device.
DO NOT SKIP THIS STEP! Don't remove USB Cable, let it connected. Press and hold Volume Down + Power Key, when the screen blank quickly press and hold Volume Up + Power key, when Samsung Logo appears release Power key only, keep pressing Volume Up key until TWRP Recovery Mode Appears.
Select Wipe -> Format data, type "yes" and confirm
Select Install - Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash
Select Reboot to Recovery
Setup the phone
Connect the Phone to Internet
Make sure OEM unlock option is grey out
Install Magisk Manager. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
Done!
DOWNLOAD
TWRP GSI & OneUI3 Android 11 Galaxy M30s
OneUI3 > TWRP_Magisk.tar, to make it easier to identify I rename it to TWRP-M30s-A11-3.5.0_9-0_Magisk.tar
Video Tutorial How to Root Galaxy M30s Android 11
Thanks, does with SM-m307FN ?
ibere said:
Thanks, does with SM-m307FN ?
Click to expand...
Click to collapse
Not tested, but I think it will work
redymedan said:
Not tested, but I think it will work
Click to expand...
Click to collapse
doesnt work with SM-m307FN
redymedan said:
How to root and flash TWRP on Samsung Galaxy M30s SM-M307F Android 11 R. This TWRP recovery is developed by @santhoosh many thanks for his jobs. After Android 11 released rooting method is little different than usual. Use it at your own risk! Follow the instruction carefully and Make sure to backup all your important data!
Rooting and Flashing instructions
Make sure the bootloader is unlocked, OEM unlocking option is grey out
Enter Download Mode : Turn Power Off. Press and hold Volume Up + Volume Down key together, while pressing these keys, connect the phone to computer, then press volume up once.
Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
Flashing TWRP-M30s-A11-3.5.0_9-0_Magisk.tar as AP in ODIN, ( OneUI3 > TWRP_Magisk.tar )
Click Start.
TWRP Recovery is now successfully flashed to your device! Several steps before you can properly use the device.
DO NOT SKIP THIS STEP! Don't remove USB Cable, let it connected. Press and hold Volume Down + Power Key, when the screen blank quickly press and hold Volume Up + Power key, when Samsung Logo appears release Power key only, keep pressing Volume Up key until TWRP Recovery Mode Appears.
Select Wipe -> Format data, type "yes" and confirm
Select Install - Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip Swipe to confirm Flash
Select Reboot to Recovery
Setup the phone
Connect the Phone to Internet
Make sure OEM unlock option is grey out
Install Magisk Manager. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
Done!
DOWNLOAD
TWRP GSI & OneUI3 Android 11 Galaxy M30s
OneUI3 > TWRP_Magisk.tar, to make it easier to identify I rename it to TWRP-M30s-A11-3.5.0_9-0_Magisk.tar
Video Tutorial How to Root Galaxy M30s Android 11
Click to expand...
Click to collapse
when i select install in twrp i cant find Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, all i get is "(up a level)"
crabcakesmen said:
when i select install in twrp i cant find Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, all i get is "(up a level)"
Click to expand...
Click to collapse
use universal multidisabler samsung I have sent it to you PM
is this still working on Oneui 3.1 update ??
Edit : Worked on Oneui 3.1 (CUD1)
does it work with sm-307fn/ds ? :/.. dont seem to find any tutorials for this model..
redymedan said:
use universal multidisabler samsung I have sent it to you PM
Click to expand...
Click to collapse
Where can I get this one?
lost root after restart
If you have lost root after restart please try the method mentioned in the below tutorial;
How To Root Samsung Galaxy M30s On Android Pie 9.0, 10 & 11? - SamsungSFour.Com
How To Root Samsung Galaxy M30s On Android Pie 9.0, 10 & 11?
www.samsungsfour.com
FLASHED TWRP BUT CANNOT ROOT
Tried it with my M307FN and it worked. But GPS and Auto Rotate Display is not working.

[ROOT] [MAGISK] [RECOVERY] [OREO] [UNOFFICIAL] TWRP for the Galaxy Tab A 10.1 (2016) with S-Pen (for Android 8.1)

Hello everyone,
Thanks to unknowwiiplayer and jcadduono, now I have rooted successfully my tablet using Magisk. I have searched for a lot of materials at this time (August 2022) for this progress, so now I will collapse all of it for a WORKED method.
I have tested it on my SM-P585Y and unknowwiiplayer has tested it on SM-P580 and SM-P585, so I think it will work on all models. Please leave feedback if you have encountered any errors.
NOTE: THIS TUTORIAL WORK FOR ANDROID 8.1.0 (OREO), FOR OLDER VERSION (MASHMALLOW, PLEASE GO HERE)
WARNING: PLEASE KNOW WHAT YOU ARE DOING, IF DO NOT KNOW, STOP HERE.
You will be lost the warranty for your devices and your devices may become fancy bricks.
For original post from unknowwiiplayer, please go here.
PART 1: INSTALL TWRP
Prepare:
1. Battery must be larger than 70% for safety.
2. Odin v3.13+, TWRP .tar file, no-verity (IMPORTANT, for dm verify, if you forget it, the device cant be booted), Magisk .zip file, download here.
3. Samsung driver for Windows, you can find here.
Steps:
1. Install Samsung driver.
2. Copy all files except Odin and TWRP to your SD Card.
3. Go to Settings > Software info > Click 7 times on Build Number to enable Developer Mode.
4. Go to Developer Mode > Enable OEM
5. Open Odin and Plug your tablet with a Micro-usb cable.
6. Go to Download mode by pressing [Power] + [Home] + [Volume Down] until Download mode Screen appears.
7. Press [Volume Up] to confirm.
8. Now at Odin screen, you can see the Port status. Go to Options Tab and disable "Auto Reboot".
9. Click to "AP" section and select the TWRP .tar file that you downloaded, then click "Start".
10. Wait 5-10 seconds until PASS status appears. Unplug the cable then press [Power] + [Volume Down] for approx. 7 seconds. When the screen goes to black, fastly release [Volume Down] and press [Volume Up] + [Home}.
11. If you entered TWRP, congrats, you have installed it successfully. If not, repeat from step 6 to 10.
12. Now swipe to allow modifications, then tap on wipe > format data and type yes to confirm (warning do not wipe any other partition)
13. Then go back to the main menu and tap on install then tap on select storage > choose micro sd card > choose "no-verity-opt-encrypt.zip" to install.
14. Now you can use your device. For Root instruction, please go to next section below.
PART 2: ROOT WITH MAGISK
Steps:
1. Go to TWRP Recovery
2. From main menu, tap on install then tap on select storage > choose micro sd card > choose "Magisk.zip" to install.
3. Reboot the device.
4. Once magisk flashed successfully reboot your tablet, if you see magisk manager your tablet has been successfully rooted.
Updated: August 9, 2022.

Categories

Resources