https://xdaforums.com/t/guide-root-twrp-and-gsi-for-samsung-galaxy-m35.4723129/
Hello everyone, this guide is about how to root your device or install twrp or install gsi or all together
Thanks
amura11 for gsi tutorial
Abhishek Babu, Physwizz and Devhunter for TWRP
t.me/SamsungGalaxyM35 For tutorial
WARNING
You do all your actions at your own risk and I am not responsible for any actions you take with your device!
And it will delete all your data
Prepare
After the Prepare
To unlock the bootloader (mandatory)
To install Magisk (optional)
Installation
To install twrp permanently (twrp does not have access to /data)
1. Power off > go to download mode by long pressing both volume keys and plug usb cable connected to pc
Continue (Press vol up)
2. Now go to odin
Select your device recovery in AP
3. Go to options > untick 'auto reboot'
Now click on start
4. After completing process
5. Long press Vol down + power button for 7 seconds until black screen appears
6. Now immediately long press vol up + power button
Release power button after seeing Samsung logo but keep pressing vol up button until you open TWRP....
7. In TWRP
- wipe > format data > type 'yes'
8. Then Reboot to recovery
Now complete process is done your TWRP is now permanent.
Installing GSI
Flashing a Generic System Image Using Fastboot and TWRP
Step 1: Boot into TWRP
1. Power off your device.
2. Boot into TWRP Recovery (this usually involves holding the Volume Up + Power button.
Step 2: Boot into Fastboot Mode
1. In TWRP, go to Reboot > Fastboot.
2. Once in Fastboot Mode, connect the device to a PC via USB.
Step 3: Installing Google Drivers
1. Extract the Driver File
2. Open Device Manager
3. Update the Driver Manually
4. Verify the Installation
Step 4: Flashing the GSI
1. Open Fastboot++.
2. Execute the Fastboot Commands
Run the following commands one by one:
fastboot erase system
fastboot delete-logical-partition product
fastboot flash system /path/to/your/image.img
Replace /path/to/your/image.img with the actual path of the system image file.
3. Reboot to Recovery
Once flashing is complete, reboot back into TWRP:
fastboot reboot recovery
Step 4: Format Data in TWRP
1. In TWRP, go to Wipe > Format Data.
2. Type yes and confirm.
3. Once complete, tap Next.
4. Reboot the System
5. The device will now boot into the newly flashed system.
If after flashing the GSI you have lost Magisk, go to TWRP, tap Advanced, then tap ADB Sideload, swipe, then in Fastboot++, enter the command: adb sideload /patch/to/your/apk/magisk/in/pc/Magisk-v28.1.apk
Wait until the installation is complete. After that, tap Cancel > Back, then tap the home icon at the bottom.
Go to Wipe > Format Data, type yes, then reboot.
for download GSI : https://github.com/mytja/treble_evo/releases
for unlocking 120FPS
settings put system min_refresh_rate 120.0 settings put system peak_refresh_rate 120.0
https://droidwin.com/force-120hz-refresh-rate-in-any-android-via-adb-commands/
