Root Samsung GT-S6500D with Heimdall - Samsung Galaxy Mini

I found several instructions of rooting Samsung Galaxy Mini 2, but they all used Odin. Is there any way of rooting this phone using Heimdall?

First, download ClockWorkMod for S-GT6500D. Remove the md5 extension, untar it and flash using
Code:
heimdall flash --RECOVERY recovery.img
Then download RootMe.zip from here: http://mobilecon.info/root-samsung-galaxy-mini-ii-gt-s6500.html#sthash.PrChdsEn.GqtLI0qf.dpbs
And execute all the commands from the .bat file.

Related

[Q]How to Flash <modem.bin> file with Odin?

Hi,
I'd like to know something when flashing modem whith Odin.
My GT-I9305 isn't Root so...
I get the <modem.bin> file exctract from my one package carrier's ROM (I9305XXALK5_I9305SFRALK2_I9305AEALK2_HOME.tar.md5)
with 7zip
Can I use this modem (from a 4.1.1 ROM) as if I'm in 4.1.2 (I9305XXBLL5_I9305DBTBLL4_I9305XXBLL5_HOME.tar.md5)
in Odin3 (v3.04), where should I put the <modem.bin> file? Phone,PDA?
The flash counter will be incremented?
What about the OTA or Kies update?
Thx..
Re: [Q]How to Flash <modem.bin> file with Odin?
You need to convert it from a bin file to a. tar file for Odin.
Sent from my GT-I9305 using xda app-developers app
Obagleyfreer said:
You need to convert it from a bin file to a. tar file for Odin.
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
I'd read on that post
[Q] How can i extract modem driver from official firmware
we can flash a .bin file with Odin..
...and flash via Odin using the "Phone" entry, not "PDA".
Click to expand...
Click to collapse
Warring of an other thread I'd read (but can't find again ) about Phone and PDA entry..
Hi all,
So any idea?
kanzi83 said:
Hi all,
So any idea?
Click to expand...
Click to collapse
Hello kanzi83, I'm new in the forums but I decided to register so I could help you.
I had the exact same problem and came with a solution, after reading yewsiong's instructions on his post:
http://forum.xda-developers.com/showthread.php?t=1658809
Modifying them so they match your situation, you have to do the following:
1. Install Cygwin and start the Cygwin terminal
2. Put the .tar.md5 firmware into C:\baseband
3. In Cygwin, type the following commands (pressing enter after each line):
Code:
cd /cygdrive/c/baseband
tar -xvf firmware_name.tar.md5 modem.bin
tar -H ustar -c modem.bin > baseband.tar
Example: If the firmware_name.tar.md5 is I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5
Then the code will be:
Code:
cd /cygdrive/c/baseband
tar -xvf I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5 modem.bin
tar -H ustar -c modem.bin > baseband.tar
After generating your .tar file, you can use Odin or Odin Mobile (I used Odio Mobile Pro and worked excellent) to flash the Modem.
There you go! Please let me know if you have any questions. Good luck.
kanzi83 said:
Hi all,
So any idea?
Click to expand...
Click to collapse
It's not that hard. Google is your friend.
Please read the following link.
http://forum.xda-developers.com/showthread.php?t=927568
You can just simplely flash modem.bin file via Odin.
Sent from my GT-I9305 using xda app-developers app
Thx for your answers. ..
I'd flash modem.bin file 2 month ago with odin v 3.04 in phone entry and works well
Envoyé depuis mon GT-I9305 avec Tapatalk
Procedure for changing the modem.bin
Hello all,
I am a newbie and want to know to how can I change the modem.bin file of my phone using ODIN...
Kindly help
Try reading this thread answer given in post 6 .
Aldo6 said:
Hello kanzi83, I'm new in the forums but I decided to register so I could help you.
I had the exact same problem and came with a solution, after reading yewsiong's instructions on his post:
http://forum.xda-developers.com/showthread.php?t=1658809
Modifying them so they match your situation, you have to do the following:
1. Install Cygwin and start the Cygwin terminal
2. Put the .tar.md5 firmware into C:\baseband
3. In Cygwin, type the following commands (pressing enter after each line):
Code:
cd /cygdrive/c/baseband
tar -xvf firmware_name.tar.md5 modem.bin
tar -H ustar -c modem.bin > baseband.tar
Example: If the firmware_name.tar.md5 is I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5
Then the code will be:
Code:
cd /cygdrive/c/baseband
tar -xvf I8150DXLM3_I8150OLBLD1_I8150DXLM2_HOME.tar.md5 modem.bin
tar -H ustar -c modem.bin > baseband.tar
After generating your .tar file, you can use Odin or Odin Mobile (I used Odio Mobile Pro and worked excellent) to flash the Modem.
There you go! Please let me know if you have any questions. Good luck.
Click to expand...
Click to collapse
Thank you!
Is this file checked against md5 when flashing with Odin? (Or when tar-ing?)
How to install modem.bin in my galaxy siii having android 4.3
[QUOTE=kanzi83;40365571Would you please let me know step by step guide to install my modem file (modem.bin) into my GT-I9300 using Odin. Your help in this regard will be highly appreciated.
I am very new to Android world. Need help
when I flash modem.bin via phone with odin 3.07
it fails
yasser86 said:
when I flash modem.bin via phone with odin 3.07
it fails
Click to expand...
Click to collapse
zip the file to .tar
Successful flash with Odin 3.10 & I9305
At first got errors when tried to flash modem.tar which I compressed with 7-zip from modem.bin
Odin just stopped at flashing modem.bin, so unplugged USB and cold restart (everything was still working fine with my phone, even the old modem)
Then successfully flashed modem.BIN via ticking it to CP (Phone?)
So... Somehow Odin couldn't flash my compressed .tar file of the modem..
Maybe I did something wrong with the compression
But now I have a working modem from the latest samsung firmware for my country and signal feels much more reliable now and even got a little bit better speedtest results too
How to flash Modem.bin file with Odin
hi,i had read all posts but i did not get any satisfying result,.....the Solution is
you have to select Odin V3.9 .in 3.9 in CP you can flash modem.bin
Regards
[email protected] said:
hi,i had read all posts but i did not get any satisfying result,.....the Solution is
you have to select Odin V3.9 .in 3.9 in CP you can flash modem.bin
Regards
Click to expand...
Click to collapse
Confirmed with Odin3.10. Don't make it too complicated, folks!
mightysween said:
Confirmed with Odin3.10. Don't make it too complicated, folks!
Click to expand...
Click to collapse
Worked for me also. Thanks OP
hello
raonizal said:
zip the file to .tar
Click to expand...
Click to collapse
This works with newer versions of ODIN.

I cann't root N910T N910TUVU1ANK4

I can not do my root Note 4, I get the following error:
secure check fail : recovery
N910T
N910TUVU1ANK4
BR
Robert
re: rooting
azoter said:
I can not do my root Note 4, I get the following error:
secure check fail : recovery
N910T
N910TUVU1ANK4
BR
Robert
Click to expand...
Click to collapse
Before doing anything else go into setting>security
and scroll down to "Reactivation lock" and make
sure it's NOT checked.
Then you need to ODIN flash cf-autoroot (not in recovery).
Here is the direct download link for cf-autoroot which
is a TAR file that must be flashed using ODIN.
(a windows app) http://tinyurl.com/lb62uyv
In case you don't have ODIN, here is the download link for it:
http://tinyurl.com/mzp2kxf
Unzip odin into an empty folder on your computer's desktop
and copy the cf-autoroot tar file into the same folder.
Then use ODIN to flash cf-autoroot tar file in odin's pda slot.
Good luck!

Error mounting /data fix

If you have got the problem 'Error mounting /data' right after flashing the stock ROM, this solution may benefit you.
You'll need:
1. Your stock ROM in PDA, MODEM, and CSC form
2. Odin flashing tool
3. 7-Zip File Manager
4. Cygwin or a Linux machine
Steps:
1. Open up Cygwin or your Linux machine and launch a Terminal session.
2. Type 'dd if=/dev/zero of=userdata.img bs=1M count=120' without quotes.
3. Open up 7-Zip, and locate your PDA file.
4. Open the PDA file, and drag the userdata.img into the PDA file.
(If this doesn't work extract everything out and make a new TAR archive using 7-Zip)
5. Re-flash the stock ROM with the new PDA file and PIT file.
EDIT: Managed to install CM7 again using the same steps above, but using 'dd' in Cygwin to create the userdata.img file.

[Guide] Installing Stock firmware with Heimdall on Tab S2 (T710)

I'm writing this because in all my searching I couldn't find a short guide of how to install the Stock firmware using Heimdall. I had a T710 that was failing to boot any ROM I put on it with TWRP. So I decided to put Stock back on it.
obtain stock firmware, mine was named BTU-T710XXU2DRH1-20181005080953.zip
unzip in a new directory, for me this resulted in a single file: T710XXU2DRH1_T710BTU2DRH1_HOME.tar.md5
untar with:
Code:
tar xvf *.tar.*
For me this resulted in the following
boot.img
cache.img
hidden.img
recovery.img
sboot.img
system.img
get the output of print-pit:
Code:
heimdall --print-pit >pit.txt
in the print-pit output, for each entry, look at
Code:
Partition Name
and
Code:
Flash Filename
. This will help you determine which file goes with which partition name.
boot to download mode (Power+VolDown) and use heimdall to flash the parts you want. For me this was:
Code:
heimdall flash --BOOT boot.img --CACHE cache.img --HIDDEN hidden.img --RECOVERY recovery.img --BOOTLOADER sboot.bin --SYSTEM system.img
after the flash the system will automatically reboot. You'll get the throbbing Samsung icon for a while as it does stuff and then it will boot.
Thanks a lot for this. You saved my T810.
I had decided to upgrade my 6-year-old tablet to LineageOS and idiotically missed the first critical step of enabling OEM Unlock. I tried to flash TWRP using Heimdall and softbricked it... It could only boot into download mode and for some reason, Odin could not recognise it, only Heimdall.
I downloaded the latest version of the stock firmware using Frija and followed your method, worked perfectly and I now have stock Nougat.
Still can't figure out why the OEM Unlock button doesn't appear in the Developer settings for me, so can't install Lineage, but at least everything is working again.

How To Guide How to root SM-X200

Hello guys. I failed several times rooting this device and finally managed to root.
You need to extract AP tar and then replace the boot.img with a magisk patched one.
You then need to re tar the file using 7zip and flash as normal.
AP CSC HOME CSC and BL
If there's enough demand I'll write a proper guide. Also if soft bricked you need to press both volume buttons and plug in usb at right point on restart.
jameswalker457 said:
Hello guys. I failed several times rooting this device and finally managed to root.
You need to extract AP tar and then replace the boot.img with a magisk patched one.
You then need to re tar the file using 7zip and flash as normal.
AP CSC HOME CSC and BL
Click to expand...
Click to collapse
Thanks @jameswalker457
Which one did you use CSC_HOME or CSC?
When I run with CSC, I get a 'fail' in ODIN However, it does run with CSC_HOME, BL and the patched AP - but it doesn't actually root the device.
Greatful for your help.
Thanks
Used BL AP (with patched boot.img) CSC and HOME_CSC in the userdata
kevinsims said:
Thanks @jameswalker457
Which one did you use CSC_HOME or CSC?
When I run with CSC, I get a 'fail' in ODIN However, it does run with CSC_HOME, BL and the patched AP - but it doesn't actually root the device.
Greatful for your help.
Thanks
Click to expand...
Click to collapse
See above. Missed the quotation
I'm not sure why we need a third thread for this:
SM-X200 root failed...
It's now a bricked tablet after a boot loop, I think should wait to magisk get an update. It won't power on or charge I think. I have two days trying to power on in several times and many key conbinations. No Samsung logo or something. Can I do...
forum.xda-developers.com
The best way to root samsung tab a8 2021 pls
Android 11 I got fast as f boot loop solution below btw An 4 gamers I got fps/ping boost solution below to
forum.xda-developers.com
I still do not have root. What I did:
1. unlocked bootloader
2. install magisk manager 24.3
3. Download X200XXU1AVC1 from Samfw
4. unzip the firmware
5. Untar the AP tar file
6. Extract boot.img, send to device, and patch with magisk 24.3. Patched boot is magisk_patched-24300-9Iez2.img
7. Replace boot.img with the newly patched one (renamed to boot.img)
8. Create a tar file from the AP folder using
" tar -C AP_folder -cvf AP_patched.tar ."
9. "adb reboot bootloader" to download mode
10. open Odin v3.14.1 and add BL, HOME_CSC, and the AP_patched.tar
9. Flash via Odin, exit download mode, enter stock recovery, factory reset
For some reason I can't get from download mode to recovery w/o first booting the fresh android.
No boot loop, but no root either.
These are the file names I got from Samfw:
AP_X200XXU1AVC1_CL23784803_QB49828201_REV00_user_low_ship_MULTI_CERT_meta_OS11.tar.md5
BL_X200XXU1AVC1_CL23784803_QB49828201_REV00_user_low_ship_MULTI_CERT.tar.md5
HOME_CSC_OMC_XAR_X200XAR1AVC1_CL23784803_QB49838021_REV00_user_low_ship_MULTI_CERT.tar.md5
The md5sum of the files:
AP stock: fa97e5cee1deaf26175b27d26df94266
AP patched: 006b12f713fc3caa127bc5cba01ae4b9
BL: 2172ca468462a46917d78e94157aed54
HOME_CSC: 5ede57b9ffe8059f3166dd5de6ef8721
The tar file worried me. It had file names like ./boot.img instead of boot.img. So I created a new file, with the patched boot.img, this way:
cd AP_folder
tar -cvf ../AP_patched.tar *
Then flashed that. Took longer than the previous tar.
On reboot, it asks me to press PWR to accept boot loader unlocked. Then a splash screen saying: unapproved software, then a few boot loops.
I got to recovery, factory reset, the tablet does the LONG boot, does the initial setup thing.
Install Magisk Manager, and root! Google Play still works.
Whoopee! I can now wait for a working TWRP.
jameswalker457 said:
Hello guys. I failed several times rooting this device and finally managed to root.
You need to extract AP tar and then replace the boot.img with a magisk patched one.
You then need to re tar the file using 7zip and flash as normal.
AP CSC HOME CSC and BL
Click to expand...
Click to collapse
Hello, I have a problem/doubt. I have the files AP, BP... etc I use 7zip to extract the boot.img ..... if I unzip all the AP XXX.tar.md5 the 7zip warns me that there is data after the file, it warns me of an error and at the end it stops in the fota . ...when I replace the boot.img in the AP folder by the one corresponding to the patched with Magisk and use the 7zip again to create the .tar the file does not work with ODIN...I do not know what step or mistake I make. Regards
PS: I'm extracting the files instead of unzipping the .tar.md5 to see if that's the problem ....
PS: Root! Thanks Jameswalker457 Cheers! ....
Translated with www.DeepL.com/Translator (free version)
IkeGolden said:
Hello, I have a problem/doubt. I have the files AP, BP... etc I use 7zip to extract the boot.img ..... if I unzip all the AP XXX.tar.md5 the 7zip warns me that there is data after the file, it warns me of an error and at the end it stops in the fota . ...when I replace the boot.img in the AP folder by the one corresponding to the patched with Magisk and use the 7zip again to create the .tar the file does not work with ODIN...I do not know what step or mistake I make. Regards
PS: I'm extracting the files instead of unzipping the .tar.md5 to see if that's the problem ....
PS: Root! Thanks Jameswalker457 Cheers! ....
Translated with www.DeepL.com/Translator (free version)
Click to expand...
Click to collapse
> if I unzip all the AP XXX.tar.md5
That is because a .tar.md5 is a tar file with an md5 concatenated to it.
> use the 7zip again to create the .tar the file does not
The proper tool to create .tar files is "tar".
>PS: I'm extracting the files instead of unzipping the .tar.md5 to see if that's the problem ....
Care to be more specific on how you did that?
>PS: Root! Thanks Jameswalker457 Cheers! ....
Good news.
Have root my SM-X205 (LTE) for 1 Feb Patch level but no go with latest May update.
Getting constant boot loop (exactly same process, magisk boot.bin etc) so rolled back to Feb for now.
lufee84 said:
Have root my SM-X205 (LTE) for 1 Feb Patch level but no go with latest May update.
Getting constant boot loop (exactly same process, magisk boot.bin etc) so rolled back to Feb for now.
Click to expand...
Click to collapse
What firmware version worked, and which failed?
X200XXU1AVC1 worked for me.
Yes, X205XXU1AVC1 works.
No luck with latest X205XXS1AVE1 (May Patch).
garyemiller said:
I'm not sure why we need a third thread for this:
SM-X200 root failed...
It's now a bricked tablet after a boot loop, I think should wait to magisk get an update. It won't power on or charge I think. I have two days trying to power on in several times and many key conbinations. No Samsung logo or something. Can I do...
forum.xda-developers.com
The best way to root samsung tab a8 2021 pls
Android 11 I got fast as f boot loop solution below btw An 4 gamers I got fps/ping boost solution below to
forum.xda-developers.com
I still do not have root. What I did:
1. unlocked bootloader
2. install magisk manager 24.3
3. Download X200XXU1AVC1 from Samfw
4. unzip the firmware
5. Untar the AP tar file
6. Extract boot.img, send to device, and patch with magisk 24.3. Patched boot is magisk_patched-24300-9Iez2.img
7. Replace boot.img with the newly patched one (renamed to boot.img)
8. Create a tar file from the AP folder using
" tar -C AP_folder -cvf AP_patched.tar ."
9. "adb reboot bootloader" to download mode
10. open Odin v3.14.1 and add BL, HOME_CSC, and the AP_patched.tar
9. Flash via Odin, exit download mode, enter stock recovery, factory reset
For some reason I can't get from download mode to recovery w/o first booting the fresh android.
No boot loop, but no root either.
Click to expand...
Click to collapse
Not sure if this helps but i read an article that says you should patch the whole AP tar file rather than extract just the boot.img. Maybe because it patches the recovery and super etc img files too? I havet tried this yet as I cant even get my bootloader unlocked
dan.langridge88 said:
Not sure if this helps but i read an article that says you should patch the whole AP tar file rather than extract just the boot.img. Maybe because it patches the recovery and super etc img files too? I havet tried this yet as I cant even get my bootloader unlocked
Click to expand...
Click to collapse
Dunno where you read that, don't care. This works (as above):
1. unlocked bootloader
2. install magisk manager 24.3
3. Download X200XXU1AVC1 from Samfw
4. unzip the firmware
5. Untar the AP tar file
6. Extract boot.img, send to device, and patch with magisk 24.3. Patched boot is magisk_patched-24300-9Iez2.img
7. Replace boot.img with the newly patched one (renamed to boot.img)
8. Create a tar file from the AP folder using
" cd AP_folder"
" tar -cvf AP_patched.tar ."
9. "adb reboot bootloader" to download mode
10. open Odin v3.14.1 and add BL, HOME_CSC, and the AP_patched.tar
9. Flash via Odin, exit download mode, enter stock recovery, factory reset
Note the fixed "tar" command. Do not use "tar -C".
garyemiller said:
Dunno where you read that, don't care. This works (as above):
1. unlocked bootloader
2. install magisk manager 24.3
3. Download X200XXU1AVC1 from Samfw
4. unzip the firmware
5. Untar the AP tar file
6. Extract boot.img, send to device, and patch with magisk 24.3. Patched boot is magisk_patched-24300-9Iez2.img
7. Replace boot.img with the newly patched one (renamed to boot.img)
8. Create a tar file from the AP folder using
" cd AP_folder"
" tar -cvf AP_patched.tar ."
9. "adb reboot bootloader" to download mode
10. open Odin v3.14.1 and add BL, HOME_CSC, and the AP_patched.tar
9. Flash via Odin, exit download mode, enter stock recovery, factory reset
Note the fixed "tar" command. Do not use "tar -C".
Click to expand...
Click to collapse
OK, I've un-tarred the AP tar.md5 and patched the old boot-img file on the device, renamed it and replaced the original boot.img in the AP "folder".
Steps 8 & 9 are a little confusing for me, if you could expand on those. Can I use 7zip to re-tar? Those look like DOS commands in step 8.
Ar-Pharazon said:
OK, I've un-tarred the AP tar.md5 and patched the old boot-img file on the device, renamed it and replaced the original boot.img in the AP "folder".
Steps 8 & 9 are a little confusing for me, if you could expand on those. Can I use 7zip to re-tar? Those look like DOS commands in step 8.
Click to expand...
Click to collapse
Slightly expanded:
1. unlocked bootloader
2. install magisk manager 24.3 on the tablet
3. Download X200XXU1AVC1 firmware from Samfw onto PC
4. unzip the X200XXU1AVC1 firmware zip file
5. Make a directory for the AP tar contents
"mkdir AP"
6. Untar the AP tar file into directory AP, all on one line:
"tar -xvf AP_X200XXU1AVC1_CL23784803_QB49828201_REV00_user_low_ship_MULTI_CERT_meta_OS11.tar.md5 -C AP"
7. Change the current directoy to the AP directory:
"cd AP"
8. Using adb send boot.img, to the tablet,.
9. Patch boot.img with magisk 24.3. Patched boot is magisk_patched-24300-9Iez2.img
10. Using adb copy magisk_patched-24300-9Iez2.img from the tablet and into the AP directory.
11. Rename magisk_patched-24300-9Iez2.img to boot.img:
"mv magisk_patched-24300-9Iez2.img boot.img"
12 Create a tar file from the AP directory Note the space and period(".") after ".tar":
" tar -cvf AP_patched.tar ."
13. Use adb on PC to enter download mode on tablet:
"adb reboot bootloader"
14. open Odin v3.14.1 and add BL, HOME_CSC, and the AP_patched.tar as files to be flashed.
15. Flash via Odin, exit download mode, enter stock recovery, factory reset
How about that?
garyemiller said:
Slightly expanded:
1. unlocked bootloader
2. install magisk manager 24.3 on the tablet
3. Download X200XXU1AVC1 firmware from Samfw onto PC
4. unzip the X200XXU1AVC1 firmware zip file
5. Make a directory for the AP tar contents
"mkdir AP"
6. Untar the AP tar file into directory AP, all on one line:
"tar -xvf AP_X200XXU1AVC1_CL23784803_QB49828201_REV00_user_low_ship_MULTI_CERT_meta_OS11.tar.md5 -C AP"
7. Change the current directoy to the AP directory:
"cd AP"
8. Using adb send boot.img, to the tablet,.
9. Patch boot.img with magisk 24.3. Patched boot is magisk_patched-24300-9Iez2.img
10. Using adb copy magisk_patched-24300-9Iez2.img from the tablet and into the AP directory.
11. Rename magisk_patched-24300-9Iez2.img to boot.img:
"mv magisk_patched-24300-9Iez2.img boot.img"
12 Create a tar file from the AP directory Note the space and period(".") after ".tar":
" tar -cvf AP_patched.tar ."
13. Use adb on PC to enter download mode on tablet:
"adb reboot bootloader"
14. open Odin v3.14.1 and add BL, HOME_CSC, and the AP_patched.tar as files to be flashed.
15. Flash via Odin, exit download mode, enter stock recovery, factory reset
How about that?
Click to expand...
Click to collapse
I'm guessing those are Linux commands?
In any event, I made 7zip re-tar the AP folder with the patched boot.img, but it ends in .tar.tar
Is this an issue, or should/can it be renamed .tar.md5 like the original?
Ar-Pharazon said:
I'm guessing those are Linux commands?
In any event, I made 7zip re-tar the AP folder with the patched boot.img, but it ends in .tar.tar
Is this an issue, or should/can it be renamed .tar.md5 like the original?
Click to expand...
Click to collapse
I do them on Linux, but they can also work on WinBlows. Since I do not use M$ products, I can only say I've seen those commands work on WinBlows, but can't say how to set that up.
I also can't help you with 7zip, it can run on Linux, but never use it myself.
People have problems when they don't use "real" tar, so don't. Save yourself the pain.
You do not need to convert the .tar to a .tar.md5. Odin will use either file type. A .tar.md5 file is a .tar file with its md5 hash appended. Odin can use the file to verify the .tar integrity, but that is optional.

Categories

Resources