Related
Hi guys, I would like to extract boot.img from a Stock ROM without the need of installing it on my (Galaxy Note 2 T-mobile). All I found on the internet is how to extract it from an installed ROM.
So I would like to:
1. Extract the boot.img
2. Then flash it through ODIN to my custom ROM (Jedi Master 14)
Thanks in advance and please help me :crying:
Why would you do that?
Hastily spouted for your befuddlement
I don't know how you going to use boot.img to fix your problem. But the .md5 rom files are just zipped files. unzip and you will find the boot.img file. Are you sure that this will fix your problem?
Are you trying to change your boot image?
Use a tar archive program (7-Zip, Winzip, Winrar, PKZip, this format is pretty universal) to extract what you need from the official Samsung ROM images. (Check out sammobile.com if you haven't already, you will need to register.)
You might get some error message about the end of the archive, that's normal and due to the presence of the MD5 hash at the end of the file, which most programs will be able to work around nonetheless.
Repack the relevant file with a *nix tar binary, or under Cygwin on a Windows machine. (YMMV, but those are the two only ways I've managed to have the files work with Odin.)
Reboot phone to download mode and flash with Odin as usual.
Done.
Thanks a lot. Thats exactly what I am looking for.
Sent from my SGH-T889 using xda app-developers app
Darkshado said:
Use a tar archive program (7-Zip, Winzip, Winrar, PKZip, this format is pretty universal) to extract what you need from the official Samsung ROM images. (Check out sammobile.com if you haven't already, you will need to register.)
You might get some error message about the end of the archive, that's normal and due to the presence of the MD5 hash at the end of the file, which most programs will be able to work around nonetheless.
Repack the relevant file with a *nix tar binary, or under Cygwin on a Windows machine. (YMMV, but those are the two only ways I've managed to have the files work with Odin.)
Reboot phone to download mode and flash with Odin as usual.
Done.
Click to expand...
Click to collapse
and how do we do?
i flash the file without pepacking it so i can t bot, kernel error!
I'm really annoyed if you can explained to me how do we do it
thx
Hello Community,
I tried to install custom recovery using this manual "wiki.cyanogenmod.org/w/Install_CM_for_serranoltexx" (<- cannot use the link function, because it's my first post). I followed every step. At point 9 I have to make commands using the cmd. Unfortunately the result is an Error:
Failed to access device. libusb error: -12
I had two insecurities while following the manual:
At point 4 I had to rename the recovery image but I'm not sure what the recovery image is. What I downloaded was a .tar.md5 file within a .zip. Do I have to rename the .zip or the .tar.md5? The renaming causes a change of the file type and I cannot really understand, why they didn't put the right file in that .zip at the beginnig...this step is a bit confusing
To point 5: I deinstalled Kies and the device driver in the Windows operating system. Since I've done this, there are appearing two devices in the zadig.exe when I connect my S4. I installed the zadig driver for both of them.
Im using Windows 7 x64
I hope someone can help me, for this moment I don't know what to do further...
greets
Dr. Bob! said:
At point 4 I had to rename the recovery image but I'm not sure what the recovery image is. What I downloaded was a .tar.md5 file within a .zip. Do I have to rename the .zip or the .tar.md5? The renaming causes a change of the file type and I cannot really understand, why they didn't put the right file in that .zip at the beginnig...this step is a bit confusing
Click to expand...
Click to collapse
I don't know about the libUSB error, and I haven't modded a Galaxy S4 mini, but I have installed CM on Galaxy Player. The tar.md5 has to be extracted from the zip; it is in fact a tar.gz file (tar archive compressed with gzip), but you don't have to rename it.
I flashed the Galaxy Player with Odin 3 v. 3.04, after having installed Kies to have the drivers installed. The Player showed in Odin with something like "ID:0 COM"; I then clicked on the "PDA" button, then pointed to the tar.md5, and clicked flashed, and it worked.
Here are my 2 cents :^)
Is your phone rooted? If rooted already it easy! For the most noob method, install ROM Manager from https://play.google.com/store/apps/details?id=com.koushikdutta.rommanager and ROM manager will install the CWM for you. From there, its pretty simple.
If it not rooted, that the first thing you'll have to do.
fdelente said:
[...] The tar.md5 has to be extracted from the zip; it is in fact a tar.gz file (tar archive compressed with gzip), but you don't have to rename it.
Click to expand...
Click to collapse
I found out, the .tar.md5 is also a compressed file. If I extract it, I get a file called "recovery.img". At this point it's not very clear what to do. Because there is nothing to rename. And even if you are right, the tutorial would be also wrong.
TNCS said:
If it not rooted, that the first thing you'll have to do.
Click to expand...
Click to collapse
This is for installing the custom recovery, that's is the root, isn't it? I had the problem that Heimdall doesn't gets access to the device (lubusb error: -12). It's probably a driver problem.
However, I solved the problem by doing another method using odin. The root was succesfull. Afterwards I will flash the custom rom.
Dr. Bob! said:
I found out, the .tar.md5 is also a compressed file. If I extract it, I get a file called "recovery.img". At this point it's not very clear what to do. Because there is nothing to rename. And even if you are right, the tutorial would be also wrong.
This is for installing the custom recovery, that's is the root, isn't it? I had the problem that Heimdall doesn't gets access to the device (lubusb error: -12). It's probably a driver problem.
However, I solved the problem by doing another method using odin. The root was succesfull. Afterwards I will flash the custom rom.
Click to expand...
Click to collapse
No, custom recovery is not rooting. Not my favourite method but it easy enough, try this: http://www.kingoapp.com/
It a universal root for JB and it will prompt you to install CWM afterwards.
After installing the CWM I rooted the device. I succesfully installed Canogenmod 10.2.1. The Tutorial says explicit, that it only helps for 10.2.x but I want to install the Nightly version which is running at CM version 11. If I could, I would ask this questions in the threat but I'm not allowed yet to post in the developers section. "forum.xda-developers.com/showthread.php?t=2474054"
Can I use this tutorial for flashing CM version 11?
Hi all,
just having some problems flashing my tab 10.1 3 p5220.
Kies is refusing to do it as I suspect it is because the rom in it is
currently a german one.
Now, how do I intercept the rom file after kies has downloaded it but
before it attempts to install it and fails?
I seem to remember being able to do this on the htc and assume
we can do the same with the samsung. This way I hope I can I
reflash it via odin.
Many thanks in advance,
Andrew
Just download a firmware from sammobile and flash through odin
BennyCat said:
Now, how do I intercept the rom file after kies has downloaded it but
before it attempts to install it and fails?
Click to expand...
Click to collapse
Not sure if you've managed it now?
Anyway here is how you do it, also may be useful for others too, I've done this in the past, although I was doing an emergency recovery instead of an upgrade, this works either way.
I take absolutely no credit for this:
Here is a guide to save the firmware during your kies update,so u can save that firmware for future use .i just copy paste this from some where else
1. On your pc, windows explorer, check the option "Show hidden files, folders, and drivers".
2. Now connect your phone to pc via kies to begin the firmware upgrade.
3. Kies will begin to download the firmware files...
a. The files will be saved under a tmp file called "tmp****.tmp"
(NB: **** can be any letters or numbers, e.g. In my two times of upgrade via kies,
first timethe tmp files was "tmpA4CE.tmp", and on the second it was "tmpD900.tmp"
b. In Windows 7, this tmp file is located at, C:\Users\*\AppData\Local\Temp
(NB: * is the pc user session name, e.g. C:\Users\Spacks\AppData\Local\Temp)
4. When download is complete, kies decompresses this tmp file into a folder called
"tmp****.tmp.zipfolder" and begins the firmware upgrading process.
a. The folder has same name as the tmp file but now with an extention of .zipfolder.
(So scroll through the folders in the same directory to locate it).
b. When kies begins the upgrade process starting from 1% until it reaches 100%,
quickly copy the "tmp****.tmp.zipfolder" to your desktop.
You have about 2 to 3 minutes to do this. Kies will delete the folder once upgrade is 100% (completed).
5. The "tmp****.tmp.zipfolder" contains all the firmware files kies has used to upgrade your phone.
Now you have a backup of official firmware from kies. This is also useful in case kies fails to complete the upgrade process.
Click to expand...
Click to collapse
:good: Credit to & quoted guide by blackperl @ androidforums.com :good:
The link below is of the site im talking about, i rooted my note 4 no problem before with this and im doing someone else phone. I downloaded the root files, go to extract and i get error and it wont do it. tried it 3 times on 2 computers same result. suggestions?
had to put a space before (.com) so it didnt show up as a link.
androidxda .com/root-samsung-galaxy-note-4-sm-n910p-sprint
Open the archive with 7zip or winwar and drag the files to an folder/location titled appropriately, like root or Odin under a main folder like SM-N910.
Thanks, i will try that when i get home. Just odd it worked fine when i did mine and now it says its corrupt.
No go with 7zip.
Chain Fire has a policy against redistributing his work. When I go to his thread and follow the link, I end up with the link below.
http://download.chainfire.eu/585/CF-Root1/CF-Auto-Root-trltespr-trltespr-smn910p.zip
Also, no md5 to verify a good download. I'd suggest the proper link from this thread and use a PC to download. Maybe the source or bad download is what you're dealing with? You did try open archive and select all, drag to suggested folder, right? Don't recommend extraction; just double-click Odin, once folder is created, to execute and pick the file as directed in the thread below.
http://forum.xda-developers.com/showthread.php?p=55865442
Thanks, i actually just found that about 30 mins ago and it worked great. saved that page for future use if i help anyone else to root there phone. been coming to this site for years very rarely do i have to post cause everything i ever need to know is on here somewhere.
I need to debrick my s3 previously running on 4.4.2 OB3. is anyone running OB3 on s3 I747M (not the I747)?
I have the instructions ready. so first, root your phone. If you don't want to root your phone, good bye because I don't need you. Ill get to the next step once someone is willing to help.
I have the OB1 how you make a debrick? do you have a tutorial? i can help u
dragoonmx said:
I have the OB1 how you make a debrick? do you have a tutorial? i can help u
Click to expand...
Click to collapse
ok. so, first, install busybox from the playstore. then, download terminal emulater, as well.
MhikeiMPC12 said:
ok. so, first, install busybox from the playstore. then, download terminal emulater, as well.
Click to expand...
Click to collapse
Done, what's next...
go into terminal app, type the following:
"su"
It will ask you for root access. type Grant.
"busybox dd if=/dev/block/mmcblk0 of=/sdcard/backup.bin bs=1M count=70"
It will create a backup.bin in the root of /sdcard. ipload that file here. if the file type isnt supported, put it in a .zip then upload it using your pc. if you dont have a pc, just rename the end part of the file (.bin) to (.zip) and upload it here.
@dragoonmx
did he died?
Lets forget him. Do you have OB1?
MhikeiMPC12 said:
Lets forget him. Do you have OB1?
Click to expand...
Click to collapse
Hey, im in cm12.1, i need rom stock?
Thank goodness you are back! here is the link for stock:
http://dl.sammobile.com/PV9dRCQlOD0...1tcQExaUQ../I747MVLUFOB3_I747MOYAFOB3_RWC.zip
MhikeiMPC12 said:
Thank goodness you are back! here is the link for stock:
http://dl.sammobile.com/PV9dRCQlOD0...1tcQExaUQ../I747MVLUFOB3_I747MOYAFOB3_RWC.zip
Click to expand...
Click to collapse
could you link me a full tutorial for the debrick?
OK download Odin v3.07 search it in Google. then, open Odin, and extract all the files to the desktop.
Before continuing, make sure to backup all of your files because it will be deleted. The file you downloaded before, open it with winrar, then extract the files inside, to the desktop. Open Odin. Get your phone and turn it off. Once its off, hold vol down + home button + power button until you get the prompt to go to download mode. click vol up and it should say "Downloading...". Connect the phone to the computer, and Odin should recognise it. go to the AP slot, click it, and navigate to the file you extracted. Wait for Odin to recognise the file. After, click start, and don't disconnect it until it says "PASS" on the screen, or the phone boots up completely in the set-up. Its recommended that you eject the SD card in your phone (if you have one). Also, make sure only F reset time, and auto reboot are checked.
MhikeiMPC12 said:
OK download Odin v3.07 search it in Google. then, open Odin, and extract all the files to the desktop.
Before continuing, make sure to backup all of your files because it will be deleted. The file you downloaded before, open it with winrar, then extract the files inside, to the desktop. Open Odin. Get your phone and turn it off. Once its off, hold vol down + home button + power button until you get the prompt to go to download mode. click vol up and it should say "Downloading...". Connect the phone to the computer, and Odin should recognise it. go to the AP slot, click it, and navigate to the file you extracted. Wait for Odin to recognise the file. After, click start, and don't disconnect it until it says "PASS" on the screen, or the phone boots up completely in the set-up. Its recommended that you eject the SD card in your phone (if you have one). Also, make sure only F reset time, and auto reboot are checked.
Click to expand...
Click to collapse
Lol, for the debrick
Sorry bro I'm on 4.1.1 Stock and Rooted. Can't do OTAs.
dragoonmx said:
Lol, for the debrick
Click to expand...
Click to collapse
Just do what i told you to do earlier. read the other comments. the commands are over there
Hey man! Sorry I haven't been able to respond recently. Sent you a pm, but basically I've been in and out of town a lot the last few days!
Got a couple items that makes the process of creating a debrick.img very easy! Started out with a simple script and it evolved from there!
This one will create a 128mb debrick.img on your internal sdcard. (/sdcard/debrick.img)
Download this and flash in TWRP: https://www.androidfilehost.com/?fid=23196940996969297
That's It! Now just zip and upload!
(ignore the T999 in the filename
It will work on the I747 too)
This next one is slightly more difficult to use, but still easy if you just follow the instructions included in the zip file.
It includes options to create 128mb, 256mb and 512mb images. You should only need the 128mb one but we were using this for testing and troubleshooting when new firmwares were released.
Do NOT flash in recovery. Unzip and follow the included instructions. It will create the debrick.img and then will zip it for you using 7zip.
https://www.androidfilehost.com/?fid=23196940996969297
The first is the easiest and probably all you need. Just included the second in case anyone wants to try it or the first method doesn't produce a working image. (Doesn't fix a brick)
Hope it helps!
Sent from my SGH-T999 using Tapatalk
DocHoliday77 said:
Hey man! Sorry I haven't been able to respond recently. Sent you a pm, but basically I've been in and out of town a lot the last few days!
Got a couple items that makes the process of creating a debrick.img very easy! Started out with a simple script and it evolved from there!
This one will create a 128mb debrick.img on your internal sdcard. (/sdcard/debrick.img)
Download this and flash in TWRP: https://www.androidfilehost.com/?fid=23196940996969297
That's It! Now just zip and upload!
(ignore the T999 in the filename
It will work on the I747 too)
This next one is slightly more difficult to use, but still easy if you just follow the instructions included in the zip file.
It includes options to create 128mb, 256mb and 512mb images. You should only need the 128mb one but we were using this for testing and troubleshooting when new firmwares were released.
Do NOT flash in recovery. Unzip and follow the included instructions. It will create the debrick.img and then will zip it for you using 7zip.
https://www.androidfilehost.com/?fid=23196940996969297
The first is the easiest and probably all you need. Just included the second in case anyone wants to try it or the first method doesn't produce a working image. (Doesn't fix a brick)
Hope it helps!
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
@DocHoliday77 , any chance in hades this would work for atthtcm8 ? i know are completely different beasts , but figured couldnt hurt (too much.lol) to ask.
p.s. not bricked. just to have as 911-just-n-freakin-case.
"all i can really do is stay out of my own way and let the will of heaven be done"
DocHoliday77 said:
Hey man! Sorry I haven't been able to respond recently. Sent you a pm, but basically I've been in and out of town a lot the last few days!
Got a couple items that makes the process of creating a debrick.img very easy! Started out with a simple script and it evolved from there!
This one will create a 128mb debrick.img on your internal sdcard. (/sdcard/debrick.img)
Download this and flash in TWRP: https://www.androidfilehost.com/?fid=23196940996969297
That's It! Now just zip and upload!
(ignore the T999 in the filename
It will work on the I747 too)
This next one is slightly more difficult to use, but still easy if you just follow the instructions included in the zip file.
It includes options to create 128mb, 256mb and 512mb images. You should only need the 128mb one but we were using this for testing and troubleshooting when new firmwares were released.
Do NOT flash in recovery. Unzip and follow the included instructions. It will create the debrick.img and then will zip it for you using 7zip.
https://www.androidfilehost.com/?fid=23196940996969297
The first is the easiest and probably all you need. Just included the second in case anyone wants to try it or the first method doesn't produce a working image. (Doesn't fix a brick)
Hope it helps!
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
So, with this i can create de img, instead of using terminal, codes, etc ?
MhikeiMPC12 said:
I need to debrick my s3 running on 4.4.2 OB1. is anyone running OB1 on s3 I747M?
I have the instructions ready. so first, root your phone. If you don't want to root your phone, good bye because I don't need you. Ill get to the next step once someone is willing to help.
Click to expand...
Click to collapse
Hi, this is the debrick link for the OB1, i747M
https://mega.nz/#!M9ly3DZB!I58rC4SG33Y7k8SWfoKHYwQssasHmwxBPELYQ5bGvv4
dragoonmx said:
Hi, this is the debrick link for the OB1, i747M
https://mega.nz/#!M9ly3DZB!I58rC4SG33Y7k8SWfoKHYwQssasHmwxBPELYQ5bGvv4
Click to expand...
Click to collapse
Ok thanks so much!
Here goes nothing...