Root, ext4 - General Questions and Answers

I'm trying to root a Samsung Galaxy A30s with Android 10.
Till now I deactivated FRP and unlocked the bootloader.
I successfully extracted (with lz4_win64_v1_9_2) from boot.img.lz4 to boot.img.ext4, but now I need to extract boot.img.ext4 to boot.img as I saw it is written here. I tried with ext4_unpacker; Ext2explore-2.2.71. No luck.
Tried forward to extract with lz4_win64_v1_9_2, but it says "header unrecognized". I'll upload a screenshot to see the steps I've been through.
If somebody have a full method to root this type of phone will be great. Or just how to bring ext4 file to boot.img.
Also I'm interested if xposed framework it's working on.
L.E: Ok. I managed to extract boot.img, intall magisk to my phone, patch the boot.img. Then recompile the new file magisk_patched.img in magisk_patched.img.l4z and then again to magisk_patched.tar for ODIN. But when I try to flash it with ODIN it fails. FRP off, OEM LOCK OFF, Secure download: enabled.
Thank you!

Related

Geotel Amigo need root

Hello guys,
i have a Geotel Amigo with Android Nougat.
I need your help.
No tools working for root (King(o), Towel, Eroot, Frama, Iroot, Genius.
No costum rom existent.
Have you are a idee?
Need help for root
Try to use magisk. You will need Magisk manager and also the boot.img rom file that you extracted from the stock rom file. Load the boot.img file in the magisk manager and patch it. Then flash the patched boot.img file with using fastboot. If your device is rebooted normally after flashing, you're lucky. But, before you want to patch, make sure that you will need to perform some changes in boot.img file like turning off security properties inside default.prop config file when extracting boot.img file.
One more thing is you must perform backup before flashing!
amirzaim said:
Try to use magisk. You will need Magisk manager and also the boot.img rom file that you extracted from the stock rom file. Load the boot.img file in the magisk manager and patch it. Then flash the patched boot.img file with using fastboot. If your device is rebooted normally after flashing, you're lucky. But, before you want to patch, make sure that you will need to perform some changes in boot.img file like turning off security properties inside default.prop config file when extracting boot.img file.
One more thing is you must perform backup before flashing!
Click to expand...
Click to collapse
Hello amirzaim,
not possible. I need TWRP? For my device not TWRP.
Or can you step by step informations give for me?
Many thanks

[Guide] Root with Magisk, easy method

Hello,
I have a Galaxy On5 Pro in my home and was running AdHell till it could. Now that Samsung has stopped providing keys, an alternate way of disabling stock bloats and adblock was needed.
I tried the simplest way of rooting this phone, should work with any phone on On5 series.
1. Download the latest Firmware for your Phone from Updato or in other thread. Make sure it matches what you already have on your phone. Open archive and extract boot.img from that.
2. In Developer Options, enable OEM Unlocking.
3. Install Magisk Manager (as you normally do any apk).
4. Open Magisk Manager and click install, then select patch boot image. Select the boot.img you extratced in step 1 and select format to be 'tar'. Copy this patched image in Computer.
5. Boot in Odin and flash the patched boot image. Reboot the device.
You are rooted with Magisk.
If anyone is interested, I can provide more information if needed.
Thank you.
Works on SM-S550TL (TracFone)?
indianets said:
Hello,
I have a Galaxy On5 Pro in my home and was running AdHell till it could. Now that Samsung has stopped providing keys, an alternate way of disabling stock bloats and adblock was needed.
I tried the simplest way of rooting this phone, should work with any phone on On5 series.
1. Download the latest Firmware for your Phone from Updato or in other thread. Make sure it matches what you already have on your phone. Open archive and extract boot.img from that.
2. In Developer Options, enable OEM Unlocking.
3. Install Magisk Manager (as you normally do any apk).
4. Open Magisk Manager and click install, then select patch boot image. Select the boot.img you extratced in step 1 and select format to be 'tar'. Copy this patched image in Computer.
5. Boot in Odin and flash the patched boot image. Reboot the device.
You are rooted with Magisk.
If anyone is interested, I can provide more information if needed.
Thank you.
Click to expand...
Click to collapse
Boss, do u have a video instruction regarding this?

Samsung galaxy tab s6 lite SM-T610 root or where is the forum??

Hi There will be a root release or twrp? Thanks you xda. All is in the title.
Magisk by default should have the ability to root this. Follow the instructions for the Tab S6 and you should be good to go
Hi,
trying to root with Magisk SM-P610 (S6 Lite Exynos) but it failed with :
vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED (3)
vbmeta: VERIFICATION_DISABLED bit is set.
Doing wrong or not yet supported ?
Thanks
Try patching only boot.img
I think the same method for A51 and A71 should work here as well.
1) Download Firmware
2) Flash Using Odin
3) Unzip AP and copy boot.img.lz4 to your computer.
4) If you have LZ4 Decompress Tool use that to convert boot.img.lz4 to boot.img otherwise use ZArchiver. Anyway you need boot.img.
5) Patch boot.img using Magisk Manager Latest One.
6) Copy the patched file and rename it to boot.img and then use 7Zip to convert it into boot.tar.
7) Restart the phone to recovery and then boot to bootloader.
8) Uncheck Auto Reboot option in Odin and then flash boot.tar. Once it's successful then boot into recovery and then Wipe Data and Cache.
9) reboot into system and then use Magisk Manager to check if your device is rooted.
Change img file to .tar first
arjun_m4 said:
I think the same method for A51 and A71 should work here as well.
1) Download Firmware
2) Flash Using Odin
3) Unzip AP and copy boot.img.lz4 to your computer.
4) If you have LZ4 Decompress Tool use that to convert boot.img.lz4 to boot.img otherwise use ZArchiver. Anyway you need boot.img.
5) Patch boot.img using Magisk Manager Latest One.
6) Copy the patched file and rename it to boot.img and then use 7Zip to convert it into boot.tar.
7) Restart the phone to recovery and then boot to bootloader.
8) Uncheck Auto Reboot option in Odin and then flash boot.tar. Once it's successful then boot into recovery and then Wipe Data and Cache.
9) reboot into system and then use Magisk Manager to check if your device is rooted.
Click to expand...
Click to collapse
After spending countless hours because no one bothered to correct one simple step. The boot.img file needs to be converted to .tar first AND THEN patched with Magisk or this will never work.
.tar first then patch with Magisk and flash with Odin. I wanted to scream when I figured this out after spending hours f**king with this!!
shark2003 said:
After spending countless hours because no one bothered to correct one simple step. The boot.img file needs to be converted to .tar first AND THEN patched with Magisk or this will never work.
.tar first then patch with Magisk and flash with Odin. I wanted to scream when I figured this out after spending hours f**king with this!!
Click to expand...
Click to collapse
So it’s working for you finally?
**Snobilik** said:
So it’s working for you finally?
Click to expand...
Click to collapse
yup
---------- Post added at 06:12 PM ---------- Previous post was at 06:06 PM ----------
shark2003 said:
After spending countless hours because no one bothered to correct one simple step. The boot.img file needs to be converted to .tar first AND THEN patched with Magisk or this will never work.
.tar first then patch with Magisk and flash with Odin. I wanted to scream when I figured this out after spending hours f**king with this!!
Click to expand...
Click to collapse
All these rooting instructions for the S6 Lite need to be corrected to save people from a headache. Why would people post instructions that are wrong. If they had did the steps themselves they would know and shouldnt post or copy someone elses instructions that are wrong.
shark2003 said:
After spending countless hours because no one bothered to correct one simple step. The boot.img file needs to be converted to .tar first AND THEN patched with Magisk or this will never work.
.tar first then patch with Magisk and flash with Odin. I wanted to scream when I figured this out after spending hours f**king with this!!
Click to expand...
Click to collapse
Sorry I think I messed up some steps. I used the same method for new Tab S7
arjun_m4 said:
Sorry I think I messed up some steps. I used the same method for new Tab S7
Click to expand...
Click to collapse
Yeah I tried the AP and wiped out my os quite a few times until I got this right. It wasn't just your post its all over the internet and none of them mention that it has to be done in that order.
shark2003 said:
Change img file to .tar first
After spending countless hours because no one bothered to correct one simple step. The boot.img file needs to be converted to .tar first AND THEN patched with Magisk or this will never work.
.tar first then patch with Magisk and flash with Odin. I wanted to scream when I figured this out after spending hours f**king with this!!
Click to expand...
Click to collapse
I might add, that this is probably a false positive information
Just because I had the same errors over and over, until I stumbled upon another thing: Creating the .tar was my problem. Using an (old) 7-Zip created a boot.tar which gave me "unassigned file" errors. When patching the whole AP, I got vbmeta errors.
So I started from scratch with a fresh Odin flash and transferred the boot.img.lz4 to my phone and worked with ZArchiver which extracted the .img and created the .tar - and this was flashed with Odin without any errors, finally.

Odin have somes problems when i flash patched Samsung Galaxy A03 image

Hello guys! I'm trying to install a patched boot.img file from my Samsung Galaxy A03 for root but I can't. Every time in download mode when I want to flash the magisk_patched file renamed to boot.img and compressed to boot.tar with Odin, I get 3 types of errors:
The first is that during the flash, Odin for no reason suddenly crashes
The second is that I get a message from succeed 0/failed1
The last is that the program freezes on SetupConnection while the cable is well connected from the PC to the phone.
No ports defect is present in my opinion because the phone is perfectly detected when it is in normal mode and I can freely access its storage on my PC.
I have a phone with version number A035GXXU1AVC1 and I downloaded the correct firmware for my phone here: https://samfw.com/firmware/SM-A035G/AMO/A035GXXU1AVC1
The steps I went through are:
1) Enable developer mode and enable OEM unlock to unlock payload boot
2) Unlock the bootloader in the Download Mode
3) Download the firmware from the given link
4) Installed Magisk latest version on the phone
5) Extract the files from the downloaded firmware AP file with Winrar and make an isolated copy of the boot.img
6) Move this isolated copy of boot.img into the phone to patch it with Magisk
7) Once patched, no errors in Magisk
8) Move the patched copy to the PC then rename it to boot.img and create a tar file containing this patched boot.img
9) Open Odin and in Downloade Mode try flashing the patched boot.tar file but that's where it gets stuck and Odin errors show up
Feox said:
Hello guys! I'm trying to install a patched boot.img file from my Samsung Galaxy A03 for root but I can't. Every time in download mode when I want to flash the magisk_patched file renamed to boot.img and compressed to boot.tar with Odin, I get 3 types of errors:
The first is that during the flash, Odin for no reason suddenly crashes
The second is that I get a message from succeed 0/failed1
The last is that the program freezes on SetupConnection while the cable is well connected from the PC to the phone.
No ports defect is present in my opinion because the phone is perfectly detected when it is in normal mode and I can freely access its storage on my PC.
I have a phone with version number A035GXXU1AVC1 and I downloaded the correct firmware for my phone here: https://samfw.com/firmware/SM-A035G/AMO/A035GXXU1AVC1
The steps I went through are:
1) Enable developer mode and enable OEM unlock to unlock payload boot
2) Unlock the bootloader in the Download Mode
3) Download the firmware from the given link
4) Installed Magisk latest version on the phone
5) Extract the files from the downloaded firmware AP file with Winrar and make an isolated copy of the boot.img
6) Move this isolated copy of boot.img into the phone to patch it with Magisk
7) Once patched, no errors in Magisk
8) Move the patched copy to the PC then rename it to boot.img and create a tar file containing this patched boot.img
9) Open Odin and in Downloade Mode try flashing the patched boot.tar file but that's where it gets stuck and Odin errors show up
Click to expand...
Click to collapse
Feox said:
The last is that the program freezes on SetupConnection while the cable is well connected from the PC to the phone.
Click to expand...
Click to collapse
I had the above issue myself, and after searching I found this answer and it actually worked, even though it seems silly.
ethical_haquer said:
I had the above issue myself, and after searching I found this answer and it actually worked, even though it seems silly.
Click to expand...
Click to collapse
Sorry for the late reply, I was busy with several other things... When I try the steps in the answer you gave me, I now have Odin freezing on File analysis with versions 3.13.1 and 3.14.4. With the version I was using, 3.10.6, Odin suddenly started crashing instantly this time rather than displaying the errors mentioned in my first message in this thread... I don't know what to do... I tried to Root a Samsung Galaxy A02s, an A12 and before that an old Huawei Y6 from 2014 years ago and I had the same problem every time which is that Odin gives me random errors like what I present for this A03...
Feox said:
Sorry for the late reply, I was busy with several other things... When I try the steps in the answer you gave me, I now have Odin freezing on File analysis with versions 3.13.1 and 3.14.4. With the version I was using, 3.10.6, Odin suddenly started crashing instantly this time rather than displaying the errors mentioned in my first message in this thread... I don't know what to do... I tried to Root a Samsung Galaxy A02s, an A12 and before that an old Huawei Y6 from 2014 years ago and I had the same problem every time which is that Odin gives me random errors like what I present for this A03...
Click to expand...
Click to collapse
So you are following the official installation instructions? I'm pretty sure you don't have to:
Feox said:
5) Extract the files from the downloaded firmware AP file with Winrar and make an isolated copy of the boot.img
Click to expand...
Click to collapse
as the official installation instructions for a Samsung device running A9 or higher say:
"
Unzip the firmware and copy the AP tar file to your device. It is normally named as AP_[device_model_sw_ver].tar.md5
Press the Install button in the Magisk card
If your device does NOT have boot ramdisk, check the “Recovery Mode” option
Choose “Select and Patch a File” in method, and select the AP tar file
Start the installation, and copy the patched tar file to your PC using ADB:
adb pull /sdcard/Download/magisk_patched_[random_strings].tar
DO NOT USE MTP as it is known to corrupt large files.
"
It doesn't sound like you have to isolate the boot.img.
Oh OK thanks man! I go try tonight to make a patched OS with Magisk with the entire AP file. What I have do is patch only the boot.img IN the AP file.
And last question. How to know if the phone have ramdisk? Ramdisk is the RAM or nothing to see?
Feox said:
Oh OK thanks man! I go try tonight to make a patched OS with Magisk with the entire AP file. What I have do is patch only the boot.img IN the AP file.
And last question. How to know if the phone have ramdisk? Ramdisk is the RAM or nothing to see?
Click to expand...
Click to collapse
Just read the official installation instructions I linked to. I only copied part of it and pasted it here so you could see it.

Question Does anyone know how to root oneplus 9 Android 13.1?

Alguém sabe como fazer root no oneplus 9 Android 13.1?
First of all, please write in English. This is an English-only forum.
You can root the latest 13.1 firmware the same way you root others. I assume you already have the bootloader unlocked, proper drivers installed on your PC, and basic know-how of fastboot/adb commands. Here is the process:
You need to get the boot.img of your current firmware. You can extract it through MSM Tool's Read Back feature. In case you don't know about MSM, I have attached the boot.img for latest OOS13.1 firmware LE2115_13.1.0.500(EX01). Download and extract zip file and you will have boot.img. Copy this boot.img to your phone. Next you need to download/install Magisk v26.1 on your phone. Open the app, click Install and select that boot.img. Magisk will patch that boot.img and create a new patched_boot.img in your phone's Download folder. Copy that patched_boot.img to your PC. Reboot your phone to bootloader mode. Run this command to temporarily boot the patched_boot.img:
fastboot boot <your_patched_boot.img>
Note that this command is to boot it temporarily. It DOES NOT flash it. Ok, so once your phone boots up, open Magisk app again, click Install and select Direct Install. Now Magisk will root your current firmware permanently.
By this method of temporary booting and then rooting with Magisk's Direct Install method, Magisk will backup your original boot.img. So whenever there is a new software update, you can go to Magisk, select Uninstall, choose Restore Images, and Magisk will revert your original stock boot.img from it's backup. Then you can proceed with system update. Otherwise, without restoring original boot.img, the system update will fail because of patched_boot.img.
Here is the zip attachment. Make sure to extract it.
Thank you friend
shadabkiani said:
First of all, please write in English. This is an English-only forum.
You can root the latest 13.1 firmware the same way you root others. I assume you already have the bootloader unlocked, proper drivers installed on your PC, and basic know-how of fastboot/adb commands. Here is the process:
You need to get the boot.img of your current firmware. You can extract it through MSM Tool's Read Back feature. In case you don't know about MSM, I have attached the boot.img for latest OOS13.1 firmware LE2115_13.1.0.500(EX01). Download and extract zip file and you will have boot.img. Copy this boot.img to your phone. Next you need to download/install Magisk v26.1 on your phone. Open the app, click Install and select that boot.img. Magisk will patch that boot.img and create a new patched_boot.img in your phone's Download folder. Copy that patched_boot.img to your PC. Reboot your phone to bootloader mode. Run this command to temporarily boot the patched_boot.img:
fastboot boot <your_patched_boot.img>
Note that this command is to boot it temporarily. It DOES NOT flash it. Ok, so once your phone boots up, open Magisk app again, click Install and select Direct Install. Now Magisk will root your current firmware permanently.
By this method of temporary booting and then rooting with Magisk's Direct Install method, Magisk will backup your original boot.img. So whenever there is a new software update, you can go to Magisk, select Uninstall, choose Restore Images, and Magisk will revert your original stock boot.img from it's backup. Then you can proceed with system update. Otherwise, without restoring original boot.img, the system update will fail because of patched_boot.img.
Click to expand...
Click to collapse
Thank you for the specifics. I haven't decided whether or not I will modify my OnePlus 9 but I will keep this in mind.
Get token.
Flash token.
Enable unlock bl in dev options.
Install Magisk inside Andoid.
Congrats you did it.
Is there a boot img for LE2115_13.1.0.101(CN01)?
oneplus 9 LE2115_13.1. colorOS
ahumzert said:
Is there a boot img for LE2115_13.1.0.101(CN01)?
Click to expand...
Click to collapse
You can use MSM Tool to extract the Boot.img file, this is how most of use get our hands on the image files. I have provided a guide below on how to do this.
MSM Download Tool Read Back Mode: Create OnePlus Backup!
In this guide, we will show you the steps to take a backup of all the partitions on your OnePlus device via MSM Download Tool Read Back Mode.
droidwin.com

Categories

Resources