[Q] Flasher une ROM, sans modifier le Bootloader et le sbl - Galaxy 3 General

EDIT : the title is : Flashing a ROM, without modifying bootloader and sbl
Hi everyone,
Actually, I'm Belgian and so my english isn't the best one. I'll try to do my best to avoid mistakes.
I have a Samsung Galaxy I5801 (rooted)
I want to flash it and use the ROM I5800XXJPQ (one package).
A friend of mine advised me to NOT flash boot file and sbl file.
So my question is : can I flash this ROM, using odin, like this :
One Package.
Auto Reboot.
Protect OPS.
OPS : ...\apollo_0531.ops
One Package : ...\I5800XXJPQ.tar
==> ttp://img16.imageshack.us/img16/7127/capture06302011150256.png
And deleting these selected files (boot.bin and sbl.bin, from the .tar file) :
==> ttp://img810.imageshack.us/img810/5682/capture06302011150648.png
?
(Should I also delete the "logo.png" file?)
And, just to know, with a ROM, not in one package, can I proceed like this :
by not filling the field : "BOOT"
==> ttp://img717.imageshack.us/img717/3821/capture06302011152249.png
?

Reno_o said:
EDIT : the title is : Flashing a ROM, without modifying bootloader and sbl
Hi everyone,
Actually, I'm Belgian and so my english isn't the best one. I'll try to do my best to avoid mistakes.
I have a Samsung Galaxy I5801 (rooted)
I want to flash it and use the ROM I5800XXJPQ (one package).
A friend of mine advised me to NOT flash boot file and sbl file.
So my question is : can I flash this ROM, using odin, like this :
One Package.
Auto Reboot.
Protect OPS.
OPS : ...\apollo_0531.ops
One Package : ...\I5800XXJPQ.tar
==> ttp://img16.imageshack.us/img16/7127/capture06302011150256.png
And deleting these selected files (boot.bin and sbl.bin, from the .tar file) :
==> ttp://img810.imageshack.us/img810/5682/capture06302011150648.png
?
(Should I also delete the "logo.png" file?)
And, just to know, with a ROM, not in one package, can I proceed like this :
by not filling the field : "BOOT"
==> ttp://img717.imageshack.us/img717/3821/capture06302011152249.png
?
Click to expand...
Click to collapse
Yes you should do it as you mentioned. And remove boot.bin and sbl.bin from the tar file. No need to delete logo.png.
When not flashing one package, you should leave "BOOT" field blank as you mentioned.
By the way, your english is not bad at all. Its pretty good.

Related

flashing Stock I570EXXJH1

I have tried many 2.2's on the spica and i want to flash it to this version of the original firmware - I570EXXJH1
I have downloaded this from samfirmwares and after opening it i t contained 2 files, a eSER.tar file and a SS_DL.dll.
Also it said that the New .ops file is required is required,but the link does not work.
I also have odin 4.03 with some ops file in it,don't know wether it's old or new.
1.can anyone post the link to the New .ops file.
2.So what all should i select in odin ?
Guys, any one ? i Badly need the new ops file and the procedure as the phone is very unstable...
I would use the Samdroid forum, they should be able to help.
I have a Spica and it verty stable (and fast) using CM 8.3.2 and Yonip V12 kernel.
boxy44 said:
1.can anyone post the link to the New .ops file.
2.So what all should i select in odin ?
Click to expand...
Click to collapse
1. You need spica_jc3.ops- here is the correct one (if it downloads as .ops.txt just remove .txt)
2.Firmware file should be named i5700XXJH1.tar or in a similar manner.
SS_DL.dll must remain in the same directory where .tar firmware is located
a) put the phone to download mode and connect USB cable
b)start Odin and see if the phone is found- in top left field you should se COM port number. If there isn't- check in Device Manager if drivers are correctly installed
c) load spica_jc3.ops as OPS file and firmware as One Package file
d) select OnePackage option, leave other options as they are- Reset Timer, Protect Ops and Reset Timer (300) should be selected by default
e) click Start button, don't touch the phone and PC, sti back and wait
f) when flashing is done phone will reboot, you can safely unplug USB and close Odin

[Q] Flashing an I5800

Hi everyone
I've got a few questions about flashing an Android phone. I've tried going through KIES but unfortunately they don't have any updates for the below mentioned model.
I've got an GT-I5800XXXMST (Belgium telecom model) that I want to flash using Odin. I want to use the following image: I5800XWJPE.tar
1. Do I need to remove the sbl.bin, boot.bin and logo.png to play it safe? In that in that case I always retain the ability to flash
2. Do I need to edit the OPS file and remove the above mentioned entries?
3. Which OPS file should/can I use? Are they all the same for the I5800? (apollo_0531.ops)
4. Which version of ODIN do I need to use? I currently have I5800_Odin_Multi_Downloader_v4.252.exe
5. Do I need to backup my EMEI?
6. Simple and plain backup tool for upping my current os?
7. Any tips?
Many thanks all,
Tempert
tempert said:
Hi everyone
I've got a few questions about flashing an Android phone. I've tried going through KIES but unfortunately they don't have any updates for the below mentioned model.
I've got an GT-I5800XXXMST (Belgium telecom model) that I want to flash using Odin. I want to use the following image: I5800XWJPE.tar
1. Do I need to remove the sbl.bin, boot.bin and logo.png to play it safe? In that in that case I always retain the ability to flash
2. Do I need to edit the OPS file and remove the above mentioned entries?
3. Which OPS file should/can I use? Are they all the same for the I5800? (apollo_0531.ops)
4. Which version of ODIN do I need to use? I currently have I5800_Odin_Multi_Downloader_v4.252.exe
5. Do I need to backup my EMEI?
6. Simple and plain backup tool for upping my current os?
7. Any tips?
Many thanks all,
Tempert
Click to expand...
Click to collapse
1) Yes removing boot.bin and sbl.bin would be safe.
2) No need to edit ops or anything.
3) Ops is same for all ROMS(i.e. apollo_0531.ops).
4) The ODIN version that you have mentioned is the correct version. Use that.
5) Yes. Backing up IMEI would be good. For tutorial click here.
6) Use titanium backup to backup apps.
1. yes, but you can download romfiles without those files in the forums
2. no, you just remove them from the tar archive
3. all the same
4. that's the one
5. better be safe, but I haven't had a problem with it
6. Alexgalaxy's backup script
7. read and search the forum
Go for jpn or jpm . Yes you have to remove the files to avoid hardbrick. Dont worry its been done by dharamg3
use this link:
http://forum.xda-developers.com/showthread.php?t=1125387
After downloading from the above thread thread
Just use apollo_0531.ops for flashing using the odin that you have
Yes it is recommended to backup your IMEI
Use this thread for backup and restore of IMEI
http://forum.xda-developers.com/showthread.php?t=888193
The IMEI is stored in a partition called efs
And root your phone before you backup
Many thanks all!!
Verry clear answers
Running 2.2 happily
Yesss!
Any luck with the backup of your original firmware ? Could you share the factoryfs.rfs ?
I have tried to backup my phone with that Alexscript. Although It gave some errors about not finding some directories...
Will the factoryfs.rfs contain personal data?
No, it's your system partition; personal info is stored in the data partition. You have root and your sdcard is big enough for the backup (500MB free should do it) ?
But if you have already flashed another rom, there's obviously no need. I thought about having an original "Orange" rom for when I need to use warranty on my phone.
It's a Mobistar rom. I think I have it but the .tar file was only 200Mb big if I remember correctly. I will try an upload it if I have the time.
Hmm, yeah, I meant Mobistar obviously.
Sounds about right. You can zip it again to save a lot of space.

[How-to] Create a non-wipe rom from any given stock-rom *solved*

Can someone skilled please explain in detail how to create a non-wipe version of a given stock rom?
I know that the data.img has to be removed from the according .tar.md5 file (see picture), in order to do that you have to open the file with a zip program (remove the .md5 or open it with "open with").
The problem is, after removing the data.img the .tar.md5 file want flash proper with odin. I guess this is due to a wrong md5 sum which was not changed during this process, and therefore is no longer valid!
I remember that I read once that you have to use a specific packer for that (winrar for example is not able to do this), but I cant find this source again!
Can someone please illuminate us in regard to that?
Thank you very much in advance!
ps.:
I posted this in development section because I think this is more development related as Q/A! If this violates the forum rules any mod should feel free to move this thread into Q/A...
You don't have to keep the .md5 extension to flash via odin, and thus skip the md5 checksum check.
But I don't know if it will flash properly after you removed the data.img
I have never tried that. Maybe you still have to modify a script or something...
I thought of using Mobile Odin and not selecting the Code.tar.md5 through the open file dialog, but rather selecting every part to flash individually and NOT selecting anything for data.
Too scared to try...
thanks latoc!
can someone with experience confirm that is it enough to remove the data file from the tar, repack it and don't add .md5?
I tried the mobile odin method and it wiped my phone even though nothing was selected in the data part.
There must be a script somewhere that tells the phone to wipe...
I made a backup before so no problem for me
Sent from my GT-N7000 using XDA App
Use peazip, it can create working tar images that can be flashed. Winrar corrupts tar. Some say 7z also does a good job. I haven't tried it as I was happy with peazip. You can even use gzip. Hope it helps.
You can even extract all the contents, remove add files, then use paezip or gzip to make a tar. Works perfectly. MD5 is not a necessity. If you want, you can create a MD5 hash for the new tar that you have created. Google it. Its easy.
ragin said:
Use peazip, it can create working tar images that can be flashed. Winrar corrupts tar. Some say 7z also does a good job. I haven't tried it as I was happy with peazip. You can even use gzip. Hope it helps.
You can even extract all the contents, remove add files, then use paezip or gzip to make a tar. Works perfectly. MD5 is not a necessity. If you want, you can create a MD5 hash for the new tar that you have created. Google it. Its easy.
Click to expand...
Click to collapse
thanks for the answer!
peazip uses 7zip via console, so its the same!
anyway, the tar from peazip wont flash! odin (1.83 and 1.85) stops with an error (could not write) with the boot.bin (from my modified tar), after that the phone wont boot and give the message: firmware update failed, use kies recovery mode blabla
only way to get it back to life without kies is to flash a proper boot.bin (sbl.tar), which is the software boot loader.
did you experience anything like that before?
No one with an idea?
There must be enough people with this knowledge around here...
Sent from my GT-N7000 using xda premium
I didn't try it myself but someone else post this link to this thread in the SGSII forums about what you're asking about, I want to try when I get home and get the latest LA3 firmware but here it is:
http://forum.xda-developers.com/showthread.php?t=1132724
matius44 said:
I didn't try it myself but someone else post this link to this thread in the SGSII forums about what you're asking about, I want to try when I get home and get the latest LA3 firmware but here it is:
http://forum.xda-developers.com/showthread.php?t=1132724
Click to expand...
Click to collapse
And this supercomplicated procedure achieves what exactly?
A non-wiping rom update?
I think he just wanted to delete the data image, repack and flash with odin.
Just needed the correct packer. Right?
legion1911 said:
And this supercomplicated procedure achieves what exactly?
A non-wiping rom update?
I think he just wanted to delete the data image, repack and flash with odin.
Just needed the correct packer. Right?
Click to expand...
Click to collapse
right, it should be enough to delete the data.img!
it looks like the problem is the packer, although i'm in contact with intratech (who is a xda-mod who did this a few times @sgs2 forums, besides he's really great in what he is doing!) and he meant that there could also be a wipe instruction inside the cache.img!
when i know more i will post it here!
TML1504 said:
right, it should be enough to delete the data.img!
it looks like the problem is the packer, although i'm in contact with intratech (who is a xda-mod who did this a few times @sgs2 forums, besides he's really great in what he is doing!) and he meant that there could also be a wipe instruction inside the cache.img!
when i know more i will post it here!
Click to expand...
Click to collapse
Great! Will be waiting for you're simpler procedure as I found that way hard myself!
Sent from my GT-N7000
TML1504 said:
thanks for the answer!
peazip uses 7zip via console, so its the same!
anyway, the tar from peazip wont flash! odin (1.83 and 1.85) stops with an error (could not write) with the boot.bin (from my modified tar), after that the phone wont boot and give the message: firmware update failed, use kies recovery mode blabla
only way to get it back to life without kies is to flash a proper boot.bin (sbl.tar), which is the software boot loader.
did you experience anything like that before?
Click to expand...
Click to collapse
I think you can safely remove boot.bin from the tar file. You should verify this before trying.
PS : If the bootloaders havent changed, why do you want to flash them? They are already there.
That packer could be used to easily install anything.
So if you find that packer, please let us know.
ragin said:
I think you can safely remove boot.bin from the tar file. You should verify this before trying.
PS : If the bootloaders havent changed, why do you want to flash them? They are already there.
Click to expand...
Click to collapse
it would be ok to remove the boot.bin as well, but then the flash would fail on the next (first) file odin tries to flash!
in case of not deleting boot.bin, this would be the first and therefore damage the boot partition, a reboot is not possible. that's the reason i hat to reflash sbl.bin!
the reason for this is again the packer, if the .tar would be ok, so would be the flash procedure!
intratech suggests to use linux and the following command to create a odin flashable tar:
Code:
tar -c boot.bin cache.img factoryfs.img hidden.img modem.bin param.lfs Sbl.bin zImage >> [Name of the desired file].tar
i will look far a tar executable for win32 and report!
done!!!
found a working packer: tar for win32
this was a little bit tricky, because the download from http://gnuwin32.sourceforge.net/packages/gtar.htm did not work, i always get the error message "The procedure entry point libiconv_close could not ..."
searching in google about that i discovered the following:
in the download from sourceforge is an old dll, the "libiconv-2.dll" which causes this error! you have to download a newer version from diffutils 2.8.7-1, which can be found here!
then, simple rename the inside libiconv2.dll to libiconv-2.dll and overwrite the one in the \bin dir from the C:\Program Files\GnuWin32\bin!
then add "C:\Program Files\GnuWin32\bin" to the path variables of your system, then you can use the tar command from the whole shell!
lol, until now this was all to get the tar program running! all people running linux won't need this steps, as tar should be fully functional for them!
then simple extract the rom files with whatever packer you like, you should see a file named "CODE_N7000XXLA3_CL880036_REV02_user_low_ship.tar.md5" or whatever your original rom is. remove the .md5 and extract again, then you should end up with some more files:
boot.bin
cache.img
data.img
factoryfs.img
hidden.img
param.lfs
sbl.bin
zimage
now, tar the files you want to flash into one file with the shell command from intratech, for example:
tar -c boot.bin factoryfs.img hidden.img param.lfs sbl.bin >> filename.tar
you can also add whatever kernel you wish, add a zimage then!
DO NOT ADD CACHE.IMG, AS IT CONTAINS THE WIPE COMMAND!!!
now flash this file (and perhaps the proper modem.tar.md5) with odin as PDA (modem as phone) and you are done!
upgraded with this method from KL7 to LA3 without wipe and without any problems. once you have tar for win32 up and running it's really simple!
big thanks to intratech for aiding me about the cache.img and the tar syntax!!
ps.: i don't care about the yellow triangle nor the flash counter, as it is very easy to reset: use the sbl.bin from the sgs2, flash it, remove battery, use usb-jig, remove battery, flash sbl.bin from note, remove battery, done! no triangle, counter at 0
TML1504 said:
done!!!
found a working packer: tar for win32
this was a little bit tricky, because the download from http://gnuwin32.sourceforge.net/packages/gtar.htm did not work, i always get the error message "The procedure entry point libiconv_close could not ..."
searching in google about that i discovered the following:
in the download from sourceforge is an old dll, the "libiconv-2.dll" which causes this error! you have to download a newer version from diffutils 2.8.7-1, which can be found here!
then, simple rename the inside libiconv2.dll to libiconv-2.dll and overwrite the one in the \bin dir from the C:\Program Files\GnuWin32\bin!
then add "C:\Program Files\GnuWin32\bin" to the path variables of your system, then you can use the tar command from the whole shell!
lol, until now this was all to get the tar program running! all people running linux won't need this steps, as tar should be fully functional for them!
then simple extract the rom files with whatever packer you like, you should see a file named "CODE_N7000XXLA3_CL880036_REV02_user_low_ship.tar.md5" or whatever your original rom is. remove the .md5 and extract again, then you should end up with some more files:
boot.bin
cache.img
data.img
factoryfs.img
hidden.img
param.lfs
sbl.bin
zimage
now, tar the files you want to flash into one file with the shell command from intratech, for example:
tar -c boot.bin factoryfs.img hidden.img param.lfs sbl.bin >> filename.tar
you can also add whatever kernel you wish, add a zimage then!
DO NOT ADD CACHE.IMG, AS IT CONTAINS THE WIPE COMMAND!!!
now flash this file (and perhaps the proper modem.tar.md5) with odin as PDA (modem as phone) and you are done!
upgraded with this method from KL7 to LA3 without wipe and without any problems. once you have tar for win32 up and running it's really simple!
big thanks to intratech for aiding me about the cache.img and the tar syntax!!
ps.: i don't care about the yellow triangle nor the flash counter, as it is very easy to reset: use the sbl.bin from the sgs2, flash it, remove battery, use usb-jig, remove battery, flash sbl.bin from note, remove battery, done! no triangle, counter at 0
Click to expand...
Click to collapse
Bravo, Wiener, Bravo!
Btw I found another way and just did it.
I used dsixda kitchen to deodex, root, zipalign and make a non-wipe version and it was easy!
Thought I might share it with you guys
Sent from my GT-N7000
thx for the info, but i personally dislike most deodexed roms!
besides it could cause unknown troubles (remember tha smali baksmali issue) it generally runs less smooth! the reason? simply speaking odexed is optimized (the o in odex), deodex trades this optimizations for the advantage of being simpler to skin, modify etc.
this means deodexed may be acceptable for people who want to skin and modify a lot, therefore almost all custom roms are deodexed. it makes it simpler for the cook!
you as an enduser would almost always prefer odexed roms. also lots of quality mods are available for odexed too...
just my opinion, and i used to use custom roms a lot!
Sent from my GT-N7000 using xda premium
Ok I just upgraded from KKA to LA3 without wiping using nothing but the stock files and mobile odin:
Launch mobile odin, and fill each line one by one, selecting the correct firmware file, except data and cache.
Select ever root if you didn't select a rooted kernel, and flash that baby! !!
Sent from my GT-N7000 using XDA App
Latoc said:
Ok I just upgraded from KKA to LA3 without wiping using nothing but the stock files and mobile odin:
Launch mobile odin, and fill each line one by one, selecting the correct firmware file, except data and cache.
Select ever root if you didn't select a rooted kernel, and flash that baby! !!
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
also thx, for me this didn't work from KL7 to LA1, got bootloops! but generally fine if this was only my fault, and the odin method works fine!

[Q] How to Extract Stock ROM from Phone and create a Tar.md5 file

First of all - There isnt any thread about Extracting The Complete Stock ROM from the phone, and then Creating a flashable Odin file ( Tar.md5 )
So heres my Question that can any of the XDA People give a procedure to extract the STOCK ROM from the Phone ( CSC, Modem, PDA etc ) and creating a Md5 file which can be later used.
The xda people already have procedure for you sire
http://forum.xda-developers.com/showthread.php?t=1777579
Thanks a Lot !
rvalvekar said:
Thanks a Lot !
Click to expand...
Click to collapse
You are welcome! Happy to be of help
Some questions ;
I have a CDMA Galaxy Y phone - so what all should i be dumping to create a tar file. Also Do i need to create separate csc pda and modem files ? or in Single Package i can Make a flashable tar file ?
So if i have to create separate csc pda and modem files for odin, how can that be done ?
and also if a single file - how to do that
Thanks
rvalvekar said:
Some questions ;
I have a CDMA Galaxy Y phone - so what all should i be dumping to create a tar file. Also Do i need to create separate csc pda and modem files ? or in Single Package i can Make a flashable tar file ?
So if i have to create separate csc pda and modem files for odin, how can that be done ?
and also if a single file - how to do that
Thanks
Click to expand...
Click to collapse
make sure the radio is correct (phone.csc) since that contains the telephony device drivers and you must exersise extra care,
remember most SGY roms are built for GSM/Intl. Version,
try and asking anyone with a CDMA version if they have successfully flashed a custom rom with it
http://forum.xda-developers.com/showthread.php?t=1777579
From the link above - there are several dump codes fro example system , recovery, modem etc.
I want to know
is PDA = SYSTEM ?
Modem = Modem ?
then Which dump to take as CSC ?
delete

SM900S Roms

Greetings all, I have been a long time lurker on this site and have recently been having some troubles, I am trying to deodex and zipalign my stock note 3 rom and am having trouble flashing it, for the most part I have been using supers kitchen to debloat, deodex etc etc. The problem that I have run into is in my phone model, I have the Samsung galaxy note 3 SM900S (which is the Korean variant) and it seems to not accept most of the rom .zip or .img that I have thrown at it.
I can successfully flash the stock rom using odin (Ill attach the rom to this post) as it is in tar.md5 format, I cant seem to export my deodex’ed file to tar.md5 and if I export to zip then convert to tar (using the converter)
My question at this point is:
- Do any of you already have a rom (or link to a rom) for the stock n900s that is already rooted/debloated/deodex’ed/zipaligned
- Can one of you possible build it for me ? (I can do all of the steps above but cannot export in a way that odin will accept and flash it)
Link to stock rom - drive google com/file/d/0B3aQFbA7f755TVItTFdkR1hxYnM/view
Due to being a new user I had to make the link not look like a link so you will need to add "."
Search 900S may help
http://forum.xda-developers.com/showthread.php?t=2484602

Categories

Resources