Hi all, this is the time for knowledge sharing again~
This is a tutorial about how to extract baseband ONLY from a .tar.md5 ROM zip.
U can download the latest firmware from
http://samsung-updates.com/gt-i8150-galaxy-w/
What u need?
Firmware with desired baseband
Cygwin (get it from http://www.cygwin.com/)
Steps
Install Cygwin and start the Cygwin terminal
Put the .tar.md5 firmware into c:\baseband
In cygwin, type the following command
Code:
cd /cygdrive/c/baseband
tar -xvf firmware_name.tar.md5 amss.mbn
tar -H ustar -c amss.mbn > baseband.tar
P/s: 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 amss.mbn
tar -H ustar -c amss.mbn > baseband.tar
The results u will see should be like this pic
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After all the code typing, u will get the desired baseband.tar which can be flashed as one package by using Odin. U can flash the baseband no matter u are using custom ROM or Stock ROM.
Just a advise, baseband is region-dependent. Although it is still working worldwide, u might have the problem of not receiving sms/call if u are using a baseband from another region.
Great, Thanks
Sorry, but i think to get the same result in the following way and more simply.
- get the complete firmware file
- make a copy and open it with 7zip or winrar
- delete files you dont need. Keep only amss.mbn
it's correct?
One question guy, what is the file 'adsp.mbn' that is in rom?
thanks and bye!
ruggero said:
Sorry, but i think to get the same result in the following way and more simply.
- get the complete firmware file
- make a copy and open it with 7zip or winrar
- delete files you dont need. Keep only amss.mbn
it's correct?
One question guy, what is the file 'adsp.mbn' that is in rom?
thanks and bye!
Click to expand...
Click to collapse
Yes u can do that. BUT u will get md5 checksum mismatch problem because the md5 is generated for the whole firmware file not the amss.mbn alone.
It is the baseband.
how about extracting the whole .tar.md5? what's the code for that?
thanks for the tutorial
EDIT: I just get the code for the whole rom. thank you
vhick said:
how about extracting the whole .tar.md5? what's the code for that?
thanks for the tutorial
EDIT: I just get the code for the whole rom. thank you
Click to expand...
Click to collapse
What do u mean extracting the whole .tar.md5? u can simply open it via winRAR/7zip. Then extract out the img.ext4 and open it via ext2explore. those .img files can be opened via DiskInternals Linux Reader.
And how we do for flash the baseband via CWM?
FAT4LITY87 said:
And how we do for flash the baseband via CWM?
Click to expand...
Click to collapse
Please use odin to do that. I am not sure whether CWM can do it as it involves installation, not replacing files.
hi I'm a noob
where should i put the md5 file location about c? desktop? or c in a baseband folder sorry for the stupid question
---------- Post added at 07:45 PM ---------- Previous post was at 07:21 PM ----------
$ tar -xvf firmware_name.tar.md5 amss.mbn
tar: firmware_name.tar.md5: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
er why I'm getting this??
kamazaki said:
where should i put the md5 file location about c? desktop? or c in a baseband folder sorry for the stupid question
---------- Post added at 07:45 PM ---------- Previous post was at 07:21 PM ----------
$ tar -xvf firmware_name.tar.md5 amss.mbn
tar: firmware_name.tar.md5: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
er why I'm getting this??
Click to expand...
Click to collapse
if u follow the code i gave, u need to put the .tar.md5 file under c:\baseband.
thankzz... it mean the baseband will be change?? eg; i use XXLM8 not asian baseband, it will change DXLM3 if i flash DXLM3 baseband.
yewsiong said:
Just a advise, baseband is region-dependent. Although it is still working worldwide, u might have the problem of not receiving sms/call if u are using a baseband from another region.
Click to expand...
Click to collapse
I'm not sure if this is the right thread, but I want to know if flashing a baseband from a different region CAN wreck your radio permanently. I was on UK stock and flashed the latest Slovenia stock xxlm8 before flashing CM9, and since then my mobile data(3G) has been sluggish especially with the stock browser. My battery life has also lost between 8-10hrs. I have since reflashed stock XXKL3(UK), installed all apps afresh but my radio and battery haven't returned to normal. Is there a way to fix my radio?
Sent from my Wonder
shaifeyna said:
thankzz... it mean the baseband will be change?? eg; i use XXLM8 not asian baseband, it will change DXLM3 if i flash DXLM3 baseband.
Click to expand...
Click to collapse
Yes. ONLY the baseband will be changed.
2g11 said:
I'm not sure if this is the right thread, but I want to know if flashing a baseband from a different region CAN wreck your radio permanently. I was on UK stock and flashed the latest Slovenia stock xxlm8 before flashing CM9, and since then my mobile data(3G) has been sluggish especially with the stock browser. My battery life has also lost between 8-10hrs. I have since reflashed stock XXKL3(UK), installed all apps afresh but my radio and battery haven't returned to normal. Is there a way to fix my radio?
Sent from my Wonder
Click to expand...
Click to collapse
Yup. Radio does affect power consumption but 8-10hr is too much. But in fact, some CM9 users are facing fast battery drainage problem. This is mainly because of the ROM but not the baseband.
I can't install the cygwin properly teach me how
Hi there,
Today i'm trying to change my phone baseband, from XXLM8 to DXLM3 (Indonesia).
After i follow this nice tutorial, then i've successfully produce the tar file named "baseband_DXLM3".
Just like the tutorial said, i managed to flash that tar file via odin. Then what i've got after that is my baseband has changed, not to the DXLM3 as i expected, but it change into DXLM2.
Am i miss something?? Or it just supposed to be like that??
I attached the screenshot from my "about phone" section.
And sorry for my bad english
Thanks n regards
Sent from my GT-I8150 using XDA
bengonk said:
Hi there,
Today i'm trying to change my phone baseband, from XXLM8 to DXLM3 (Indonesia).
After i follow this nice tutorial, then i've successfully produce the tar file named "baseband_DXLM3".
Just like the tutorial said, i managed to flash that tar file via odin. Then what i've got after that is my baseband has changed, not to the DXLM3 as i expected, but it change into DXLM2.
Am i miss something?? Or it just supposed to be like that??
I attached the screenshot from my "about phone" section.
And sorry for my bad english
Thanks n regards
Sent from my GT-I8150 using XDA
Click to expand...
Click to collapse
Glad to know that. The baseband for DXLM3 firmware is DXLM2. There is nothing wrong.
Latest ROM for Malaysia and Indonesia comes with DXLM3 kernel and DXLM2 baseband..
thanks for the info, but may i know how to extract the CSC from the firmware?
terminal emulator? can it be used?
bengonk said:
Hi there,
Today i'm trying to change my phone baseband, from XXLM8 to DXLM3 (Indonesia).
After i follow this nice tutorial, then i've successfully produce the tar file named "baseband_DXLM3".
Just like the tutorial said, i managed to flash that tar file via odin. Then what i've got after that is my baseband has changed, not to the DXLM3 as i expected, but it change into DXLM2.
Am i miss something?? Or it just supposed to be like that??
I attached the screenshot from my "about phone" section.
And sorry for my bad english
Thanks n regards
Sent from my GT-I8150 using XDA
Click to expand...
Click to collapse
how's the performance & battery life between those baseband? can u upload the DXLM2 baseband only?
i'm using CM9 alpha 8 and still having lag in temple run.
Related
i made this little update.zip just for testing with different modems anytime i want to, so it may be useless to most of u guys but i think some ppl may need it in some cases
the attached is ONLY a skeleton, the modem file inside the zip is an empty file
usage:
- open the update-modem-xxx.zip file and drag the modem.bin u want to flash in the zip and replace the zero size modem.bin in it (no need to chg other files), close the zip and that's all
- make copies of zip file for different modems if u wish (sorry but no time to make fancy file selection at the moment)
- flash the modem by selecting ur desire modem in cwm under /sdcard (pls refer to cwm page for how-to)
- no need to worry about recovery2e or 3x coz as long as u can run cwm, u r with recovery2e (or others in the future)
so possibilily, u can have update-modem-jpp.zip, update-modem-jpa.zip, and so forth
and for me, i've the following files on my sdcard:
update-modem-I9000XWJPA.zip
update-modem-I9000XXJPP.zip
update-modem-I9000ZSJP8.zip
update-modem-I9000ZSJPE.zip
why?
- provides a way to let u switch modem if u suspects the modem causes problems
- see if u can find the best modem for u
how?
- the modem will be flashed with redbend_ua, a direct write to ur phone's /dev/block/bml12
Note: ur phone will flick 2 or 3 times during flash
WARNING: i tested it on my phone with JPx, froyo 2.2 on galaxy i9000 only. I cannot say it's 100% safe although i flashed my phone a lot of times, so use it at your own risks
Also note that there will be NO updates in the future
EDIT: the redbend_ua is taken from somwhere, all credits go to the modder
+1 for this. Can i use this to change my csc too?
Sent from my GT-I9000 using XDA App
ragin said:
+1 for this. Can i use this to change my csc too?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
i've an update file to custom csc also
Can you post that? Please.
Sent from my GT-I9000 using XDA App
Very useful.
Thank you
Can somebody compile a zip file with JPE modem inside? I'm outside of my town for this week and I wanted to test JPE Modem, I just have my phone with me.
Please, thanks!
efegue said:
Can somebody compile a zip file with JPE modem inside? I'm outside of my town for this week and I wanted to test JPE Modem, I just have my phone with me.
Please, thanks!
Click to expand...
Click to collapse
here it is
ragin said:
Can you post that? Please.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
sure and attached
but i wonder why u need that coz the csc can be easily replaced
anyway, open the zip file, change all TGY (Hong Kong) to ur country/sales code, as well as rename the TGY directory to ur country/sales code. however, i've remove all localized apps from the csc (ie nothing except sales code, so u'll have to add urs if u want to)
Note that it does not "flash" anything to ur phone, instead it will create custom csc files on /system and /system/csc only
Thanks a lot ykk_five!!
OP, you could also just for "fun" include a .bat file, signapk.jar, testkeys and allow the user to drop in any modem and run the .bat to get a signed zip (ofcourse im targetting 2e users when i say this).
does anyone have specs on the modems signals ?
currently on jpo firmware and signal is very low
its not very good at home anytime with o2 but it would be nice to try them all to see if i get better reception .
has anyone compiled a full list of available modem files for froyo
ykk_five said:
sure and attached
but i wonder why u need that coz the csc can be easily replaced
anyway, open the zip file, change all TGY (Hong Kong) to ur country/sales code, as well as rename the TGY directory to ur country/sales code. however, i've remove all localized apps from the csc (ie nothing except sales code, so u'll have to add urs if u want to)
Note that it does not "flash" anything to ur phone, instead it will create custom csc files on /system and /system/csc only
Click to expand...
Click to collapse
Thanks for your effort, my problem is I keep flashing ROMS, & even the so called BIG APN list doesn't list all the providers of India. I use 2 of them & while with one I dont have a problem, with the other, I always need to feed APN settings everytime. I am an Architect, trigger happy & looking for readymade solutions so that I get more time for my profession.
Will you please do up a flashable update.zip for India? I can just flash it & all my settings are again correct.
Thanks again.
PS : If this can become like a repository of various modems & csc's, could be a HIT with people like me.
can someone give me the i9000ORO modem file ? i have jpa ver on my phone.
thx!
ragin said:
Thanks for your effort, my problem is I keep flashing ROMS, & even the so called BIG APN list doesn't list all the providers of India. I use 2 of them & while with one I dont have a problem, with the other, I always need to feed APN settings everytime. I am an Architect, trigger happy & looking for readymade solutions so that I get more time for my profession.
Will you please do up a flashable update.zip for India? I can just flash it & all my settings are again correct.
Thanks again.
PS : If this can become like a repository of various modems & csc's, could be a HIT with people like me.
Click to expand...
Click to collapse
i see...
i'm afraid not coz it requires some works to make a rom/kernel for a specific country
gt i9000m
can anyone provide modem for the galaxy s for bell . i use a rogers sim? but i have very poor signal .
If I am going to USA, which modem should I use (i.e. which modem is from a US version firmware)?
Many people have been asking me how to get the combination of the stock Android 2.2.1 ROM, XWJS3 with the CSC and modem from the Asian DXJPE rom.
I decided to put up this procedure and downloads for those who want to try it.
I assume that you already know how to use Odin.
1. Download the XWJS3 PDA file, this file includes the SpeedMod K12P kernel already.
>>> DOWNLOAD LINK.
2. Download the DXJPB modem file below, and extract the .tar file inside the .7z file (DXJPB modem is from the DXJPE rom).
3. Flash the XWJS3 PDA tar as PDA using Odin, and DXJPB modem tar as MODEM.
No re-partition, no PIT.
4. Now you should get XWJS3 PDA and DXJPB modem, but no CSC.
5. Download the file below - it is a 7zip file that contains update-csc-olbjpa-xsp.zip. Extract the file update-csc-olbjpa-xsp.zip and put that in your internal SD card.
6. Reboot into the CWM Recovery and choose "Install ZIP, choose zip", then choose the update-csc-olbjpa-xsp.zip file above.
7. Now reboot your phone again and you should have the OLBJPA CSC with the XSP sales code selected.
----- About the CSC -----
The attached update-csc zip file contains a modified XSP sales code which has the APNs and MMS settings for all operators in the OLBJPA CSC - so that's all operators in Southeast Asia. I made this for my own convenience as I swap SIM cards from several countries a lot, but I figured it will be useful for most people living in SEA.
Reserved for future use.
Any possibility to have the native locale as SEA instead of Euro based?
just what i was looking for. nice one hardcore!
I got Force Close after lagfix, it seems only happen to I9000XWJS3 - "the process com.android.phone has stopped unexpectedly. please try again" any idea?
P.S: It works fine if only "Root", happen like this after lagfix has been done, I had tried to wipe all, reflash rom etc, it still happen same. has flash back to I9000DXJPE...
haha.. this is what im asking! thanks!
Thank u very much, Hardcore.
I've posted sometime ago in your Speedmode thread to ask u if u mind to share your rom, modem and csc. Finally... Happy to see this.
Hi Hardcore ,
would you add JPJPG modem to XWJS3 ? I think this is the way that lead us to have persian/arabic support on this rom...
Thanks a lot.
maybe u should format your internal memory card
darychia said:
I got Force Close after lagfix, it seems only happen to I9000XWJS3 - "the process com.android.phone has stopped unexpectedly. please try again" any idea?
P.S: It works fine if only "Root", happen like this after lagfix has been done, I had tried to wipe all, reflash rom etc, it still happen same. has flash back to I9000DXJPE...
Click to expand...
Click to collapse
darychia said:
I got Force Close after lagfix, it seems only happen to I9000XWJS3 - "the process com.android.phone has stopped unexpectedly. please try again" any idea?
P.S: It works fine if only "Root", happen like this after lagfix has been done, I had tried to wipe all, reflash rom etc, it still happen same. has flash back to I9000DXJPE...
Click to expand...
Click to collapse
i got that too when i tried doc's 9.1 dxjpe and hardcore's modified csc. doc said it was an issue but will address later.
amir_rafie said:
Hi Hardcore ,
would you add JPJPG modem to XWJS3 ? I think this is the way that lead us to have persian/arabic support on this rom...
Thanks a lot.
Click to expand...
Click to collapse
The modem has nothing to do with persian/arabic support.
Anyway, I believe webstar1 has done something. Go check out his thread.
Sent from my GT-I9000 using XDA App
Will it display chinese?
Will this work for AT&T Captivate
In fact I had did that each time when I flash new rom, it still same...
Yeah... This answer the mistery behind hardcore's mixed ROM status... Really what I'm looking for... Thanks hardcore...
@hardcore
Thanks for the rom - works great.
I seem to have a problem now with text messages not being correct.
Ex: Should say Power Off on menu, but says Sound is On.
My csc version says unknown.
Any ideas?
Seifer1975 said:
Will it display chinese?
Click to expand...
Click to collapse
Yes but no chinese input. Mighty be worth having a patch for that.
gcrutchr said:
@hardcore
Thanks for the rom - works great.
I seem to have a problem now with text messages not being correct.
Ex: Should say Power Off on menu, but says Sound is On.
My csc version says unknown.
Any ideas?
Click to expand...
Click to collapse
U might have used a modified resource apk like a battery icon mod. U have to make a new one matching this rom.
Thanks. I did use a JPY framework-res.apk. Will make a new one.
hardcore said:
Yes but no chinese input. Mighty be worth having a patch for that.
Click to expand...
Click to collapse
I am using the swype that has chinese input. So if I copy that over, I assume there should be chinese input right?
This will demonstrate repackaging a 1 file firmware to a 3 files firmware.
By following this guide, any firmware can be repackaged as re-partition ready firmware that can be used directly with any pit file.
Any boot.bin and Sbl.bin can be removed/deleted/excluded during firmware repackaging.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Before you read any further:
1: By following this guide, you agree that you are following it on your own risk.
2: If the firmware(s) you have repackaged is/are not working, then it's because you did not follow the very simple and easy steps as you should.
If you can't live with the above then please don't follow this guide, but if it's no problem for you then follow me to see how easy it can be.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Tools:
Customized cygwin (Windows users): Download MD5: 0e63785289d8fedaa3719e4ac615fd63 (Thanks to dsixda).
Empty dbdata.rfs file: Download MD5: bc7a6eff20660a5f2e6ba76f6653f54b
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Note:
If you are a Linux user then you only need to download the empty dbdata.rfs archive and can move directly to Re-packaging the firmware
Click to expand...
Click to collapse
Installing cygwin:
1. Extract the cygwin archive and run the setup file
Click to expand...
Click to collapse
2. Choose Install from Local Directory
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Click to expand...
Click to collapse
3. Choose where to install cygwin, to make it easy for you then let it be installed on C-drive
Click to expand...
Click to collapse
Click to expand...
Click to collapse
4. Brows to the Local Package Directory, it's under cygwin packages in the extracted archive directory, as shown below
Click to expand...
Click to collapse
Click to expand...
Click to collapse
5. You will be greeted by warning, hit OK
Click to expand...
Click to collapse
Click to expand...
Click to collapse
6. Click on the arrows as shown below until all packages change status to Install and hit Next
Click to expand...
Click to collapse
Click to expand...
Click to collapse
7. Complete the installation, no more changes are required and you might get a Windows error when installation is complete, just hit Cancel
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Re-packaging the firmware:
1. Make a and rename a folder/directory and extract the firmware tar package to that folder or simply open using a compression utility like 7zip or winrar then highlight and drag the files to the new folder. It's easier to make the directory on drive C if you are a windows user.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
2. Extract the Empty_dbdata.rfs_file archive and copy the extracted dbdata.rfs to the same folder
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Note:
I have created a directory on drive C which I called ROM and in the same example I'm repackaging a JS5 firmware, so if you have created a directory with different name, path/location or firmware name then you need to change the following commands to suit your changes.
Click to expand...
Click to collapse
3. Start cygwin from the shortcut on your Desktop, Linux users can use the terminal and change to the firmware directory.
Click to expand...
Click to collapse
Changing to the extracted firmware directory:
cd c:/ROM
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Creating a PDA.tar.md5:
Creating a PDA.tar file (Please read the note regarding this command at the end of this guide)*
tar -c param.lfs zImage factoryfs.rfs dbdata.rfs >> PDA_JS5.tar
Click to expand...
Click to collapse
Creating an MD5 hash
md5sum -t PDA_JS5.tar >> PDA_JS5.tar
Click to expand...
Click to collapse
Moving the MD5 hash information to the tar file
mv PDA_JS5.tar PDA_JS5.tar.md5
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Creating a Phone.tar.md5:
Creating a Phone.tar
tar -c modem.bin >> PHONE_JPY.tar
Click to expand...
Click to collapse
Creating an MD5 hash
md5sum -t PHONE_JPY.tar >> PHONE_JPY.tar
Click to expand...
Click to collapse
Moving the MD5 hash information to the tar file
mv PHONE_JPY.tar PHONE_JPY.tar.md5
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Creating a CSC.tar.md5
Creating CSC.tar
tar -c cache.rfs >> CSC_XENJS3.tar
Click to expand...
Click to collapse
Creating an MD5 hash
md5sum -t CSC_XENJS3.tar >> CSC_XENJS3.tar
Click to expand...
Click to collapse
Moving the MD5 hash information to the tar file
mv CSC_XENJS3.tar CSC_XENJS3.tar.md5
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Note:
All command for packaging and creating a single tar.md5 file(3 commands) can be executed as one single command as follows with PDA as example:
Code:
[B]tar -c param.lfs zImage factoryfs.rfs dbdata.rfs >> PDA_JS5.tar ; md5sum -t PDA_JS5.tar >> PDA_JS5.tar ; mv PDA_JS5.tar PDA_JS5.tar.md5[/B]
and so on..
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
We have by now repackaged a firmware of 1 tar file to 3 tar.md5 files, these files are now ready to be tested before flashing or sharing.
Note:
One reason for a failing MD5 checksum of a file is renaming it after it has been repackaged as a tar.md5, so don't rename the repackaged files.
Click to expand...
Click to collapse
Testing the tar.md5 files (Windows):
Start Odin and load PDA, PHONE and the CSC files without connecting the phone to any USB port and hit Start and look at the massage panel of Odin and see if your packages are valid, if they are not then you haven't repackaged the files right, and you need to start over.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Sharing the repackaged firmware:
I have many times seen our members upload and share firmwares that are not compressed, this is not good for two reasons:
1. The file could be corrupt when downloaded, and there is no fun in flashing a corrupt firmware, this can be avoided when extracting a compressed firmware. A corrupt archive cannot be extracted, and thereby you will know that your downloaded firmware is corrupt.
2. A tar file is not a compressed file, it's only a package that contains file(s). Please take a look and see how all the extracted files are almost equal in size to the tar.md5 files
Click to expand...
Click to collapse
Click to expand...
Click to collapse
If you compress your files before uploading them, then file(s) size, upload time for you and the download time for them you are sharing your file(s) with will be cut in half, take a look to see what I mean
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Conclusion:
Click to expand...
Click to collapse
We have by now learned how to repackage firmware(s), use them and share them without worrying about re-partitioning.
We can now repackage and remove boot.bin and Sbl.bin in any leaked or official firmware that is already split in 3 files, that may disable Download and Recovery modes of our devices.
Good luck repackaging, flashing and sharing your firmwares..
Click to expand...
Click to collapse
*Note:
The first file in the command will be the first file to be added to the tar file and the first to be flashed. I'm using this command in this particular order according to the pit files and the device partitions which are:
Click to expand...
Click to collapse
START
boot.bin
.pit
efs.rfs
sbl.bin
sbl.bin
param.lfs
zImage
zImage
factoryfs.rfs
dbdata.rfs
cache.rfs
modem.bin
END
Click to expand...
Click to collapse
reserved...
I believe 7zip can make tar files, but NOT able to use when flashing.
Sent from my GT-I9000 using XDA App
DamianGto said:
True.
You take any random tar file and open it and put the file in it you want.
Then it works.
I did it alot before i setup a linux system.
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**
Click to expand...
Click to collapse
I use peazip or IZarc to create tar files in windows.
ragin said:
I use peazip or IZarc to create tar files in windows.
Click to expand...
Click to collapse
nice.
never tryed them.
But we can say now there is zero reason to install cygwin just to pack tar files.
Ramad, thank you for the guide .. Interesting to read and will definitely try it.
Could you maybe also make a guide how to deodex and zip align a rom ? I saw you posted quite a few deodexed and zipaligned roms ( i am using your xwjs5 deodexed rom).
I would like to be able to deodex/zipalign / add root my self .. I have asked this question before , but the only answer I get is : google is your friend :-( ..I have x-ultimate 2.2.2 , but that clearly isn't enough ..
Bandis710 said:
Ramad, thank you for the guide .. Interesting to read and will definitely try it.
Could you maybe also make a guide how to deodex and zip align a rom ? I saw you posted quite a few deodexed and zipaligned roms ( i am using your xwjs5 deodexed rom).
I would like to be able to deodex/zipalign / add root my self .. I have asked this question before , but the only answer I get is : google is your friend :-( ..I have x-ultimate 2.2.2 , but that clearly isn't enough ..
Click to expand...
Click to collapse
xUltimate is to deodex, apk manager can be used for zipaligned. Both can be run in batch mode.
Sent from my GT-I9000 using XDA App
Bandis710 said:
Ramad, thank you for the guide .. Interesting to read and will definitely try it.
Could you maybe also make a guide how to deodex and zip align a rom ? I saw you posted quite a few deodexed and zipaligned roms ( i am using your xwjs5 deodexed rom).
I would like to be able to deodex/zipalign / add root my self .. I have asked this question before , but the only answer I get is : google is your friend :-( ..I have x-ultimate 2.2.2 , but that clearly isn't enough ..
Click to expand...
Click to collapse
I have answered a part of your question here at post #43: http://forum.xda-developers.com/showthread.php?p=11585682#post11585682 . That took a lot time to write, the whole process may wait till I have more time in the future.
ragin said:
I think most people really don't completely understand what you mean when you say something. I think that's the problem here.
Like in the post quoted, you have asked people to read in other places to get a better understanding of things. But you don't specify any links. How & where should I search in order to better understand things?
Click to expand...
Click to collapse
This guide could be a very good.
I do like the pictures to show the steep.
But some of them is unneeded and you can make it better and use a faster and simpler way that works good.
Some that read this Maby think Im to hard and hate this guide and the person that wrote it. You cant be more wrong.
But if you make a guide or program do have some development pride and make it with high quality. If op do change things so the steep is better and all errors in the text is fixed then i have no problem to recomend this guide to people that ask this kind of questions.
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**
Thanks for this, had been looking for something like this
There's always more than one way to skin a cat, some more troublesome etc. But let's not dampen the sharing spirit of fellow xda members
Now let's concentrate on making this guide better for everyone.
DamianGto said:
.
This guide could be a very good.
I do like the pictures to show the steep.
But some of them is unneeded and you can make it better and use a faster and simpler way that works good.
Some that read this Maby think Im to hard and hate this guide and the person that wrote it. You cant be more wrong.
But if you make a guide or program do have some development pride and make it with high quality. If op do change things so the steep is better and all errors in the text is fixed then i have no problem to recomend this guide to people that ask this kind of questions.
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**
Click to expand...
Click to collapse
Everything OP says in the first post is correct & working. I have been using a similar method myself when I started making ROMs for my ConvergeROM. Well, there is a simpler way available that does all this using a script. You can find it HERE - http://forum.xda-developers.com/showthread.php?t=943588
@Ramad,
You can add a reference about adding costum kernels into the PDA made. You just have to find the correct zImage & replace it in the PDA.
A very good guide! Thank you very much Ramad. Would be just nice if there were such a guide some weeks ago
Now I found out myself to create my own ROMs and packages. And...I also do it with cygwin. It the only way for me it worked without any errors.
I wish more people here at xda would share there knownledge. Since a while more and more people start to make secrets of their work.
Thank you very much!
BlockbusterF said:
A very good guide! Thank you very much Ramad. Would be just nice if there were such a guide some weeks ago
Now I found out myself to create my own ROMs and packages. And...I also do it with cygwin. It the only way for me it worked without any errors.
I wish more people here at xda would share there knownledge. Since a while more and more people start to make secrets of their work.
Thank you very much!
Click to expand...
Click to collapse
My few PDAs were done with peazip. Wonderful tar application under Windows.
Guys, this is a very helpful post. Personally I've been using Cygwin to tar up ROMs for a while now and although I don't agree with all the steps Ramad has included (eg. you don't really need to MD5 the files in my opinion for one), or all the information (eg. I agree with DamianGTOs comment about what low level packages include), the instructions do work and it's the first time I've seen someone trying to provide instructions on this so thanks go to Ramad for that. This is the second thread I've come across recently that's been a battlefield between Ramad and DamianGTO and with respect guys, it really puts people off a thread if it turns into a battleground like this. For the sake of the community is there any chance you could tone it down a bit please?
@bdl1969
You don't have to use checksum option, I would like to advice using it.
I did not see anyone raise there hands against md5 checksum, like here : http://forum.xda-developers.com/showpost.php?p=7940762&postcount=1
And here: http://forum.xda-developers.com/showthread.php?t=802909/QUOTE
And many other many other firmware releases leaked by Richthofen, because it's Richthofen writting...
Richthofen said:
Usually Odin3 images are provided in a single integrated .tar package which contain all of the necessary files. This way the CSC cannot be selected separately.
That is why I splitted the release in three different parts (CODE, MODEM, CSC).
Since Odin3 has flashfile checksum support I also added md5 hash tail to the .tar files. This way is more secure because Odin will not allow flashing corrupted images. Flashing takes a bit longer thou because the checksums are checked in the beginning of the update process.
Click to expand...
Click to collapse
I did not call the packages High package, Medium package or Low package, but Low Level...was referring to format, however, as it appears to me that we have a problem with the guy calling a bird..."birdie" not with the word it self, and how a word is that is going to effect taring and flashing firmwares is yet not obvious to me!! But I Have removed these words as Low Level, because I have no desire to have these irrelevant discussions.
Maby i spell weird sometimes. I blame my phone and English is not my native language.
But fact still remains.
I have asked him to make the guide more clear what user he is targeting.
I also give advice to make some steep easier for the novice users.
I also sad that this could be a very good guide. But if you put up your work you must understand that people can correct things thats wrong or make a suggestion to make it better.
But op have from the start decided that all thing a say is wrong.
That's why i say this guide is not good and has errors and lie in it.
It has been very easy to correct the part that's wrong and add a little notice that tell people they can use a simpler way.
**DamianGTO Ultimate kernel. 350MB Ram. 600HZ. all ext2. Steam Rom. Js5**
@ DamianGTO: After reading the thread over, it seems the steps laid out by the OP are working for many people. I believe it is your intention to streamline / update the guide. This is the wrong place. If you have suggestions for the OP, please do it via PM and no longer in this thread. The language barrier may have made things worse here than they really need to be. I think if you could clearly delineate to the OP (via a well constructed PM to him), I'm sure he would appreciate the help, and credit you for your suggestions.
To sum up. Please move your discussion to PM. If the OP chooses not to respond, please leave him and this thread alone. The guide seems to work for many as it stands.
Thank you for your consideration and cooperation on this matter.
overground said:
@ damiangto: After reading the thread over, it seems the steps laid out by the op are working for many people. I believe it is your intention to streamline / update the guide. This is the wrong place. If you have suggestions for the op, please do it via pm and no longer in this thread. The language barrier may have made things worse here than they really need to be. I think if you could clearly delineate to the op (via a well constructed pm to him), i'm sure he would appreciate the help, and credit you for your suggestions.
To sum up. Please move your discussion to pm. If the op chooses not to respond, please leave him and this thread alone. The guide seems to work for many as it stands.
Thank you for your consideration and cooperation on this matter.
Click to expand...
Click to collapse
+1000000000
Great guide and tutorial! Exactly what I was looking for! Now can anyone advise on the steps to create a flashable zip file on CWM instead of Odin? Any tips would be greatly appreciated.
Hi team,
I was studying the possibilities of update my phone, unfortunately I can't find specific file (no matters file).
I wan't to know if it's possible to extract firmware from my phone/mobile (rebuilding/packing system files).
For produce 4 files presentation
CODE
APBOOT
CSC
MODEM
or
For produce 1 file presentation.
S6102xxyy#_S6102Oxxyy#_S6102xxyy#_HOME.tar.md5
Have you any idea for me and achieve this?
thanks
If u Need Any Stock Firmware just check My thread ..... All latest odin package....
if u want to convert odin pack PDA,CSC,MODEM . to single *home.tar.md5
use [TOOL] SplitFUS -create your own Odin ready pack
Also some S6102 Guide
---------- Post added at 01:28 AM ---------- Previous post was at 01:24 AM ----------
please do not post double post
http://forum.xda-developers.com/showthread.php?t=1661023
manoranjan2050 said:
If u Need Any Stock Firmware just check My thread ..... All latest odin package....
if u want to convert odin pack PDA,CSC,MODEM . to single *home.tar.md5
use [TOOL] SplitFUS -create your own Odin ready pack
Also some S6102 Guide
---------- Post added at 01:28 AM ---------- Previous post was at 01:24 AM ----------
please do not post double post
http://forum.xda-developers.com/showthread.php?t=1661023
Click to expand...
Click to collapse
Thank you for your posts.
Sorry, If my question isn't clear.
But, I want to rebuild taking files from my mobile. (I'm not considering download firmwares from internet), the procedures that you recommend me are differents.
Bye.
Ok ........... Bye ???? I think u no need my help ...sorry for my post
BTW .make nandroid backup create flashble zip with kernel(backup kernel using DD command) .....
And its not possible to make PDA modem csc file from mobile.....
Thanks
Gd Lk
Sent from my GT-S6102 using Tapatalk 2
manoranjan2050 said:
Ok ........... Bye ???? I think u no need my help ...sorry for my post
BTW .make nandroid backup create flashble zip with kernel(backup kernel using DD command) .....
And its not possible to make PDA modem csc file from mobile.....
Thanks
Gd Lk
Sent from my GT-S6102 using Tapatalk 2
Click to expand...
Click to collapse
I do not mean to offend those who want to help.
I'm trying to follows differents alternative.
Thanks.
joseluisbz said:
I do not mean to offend those who want to help.
I'm trying to follows differents alternative.
Thanks.
Click to expand...
Click to collapse
manoranjan2050 said:
Ok ........... Bye ???? I think u no need my help ...sorry for my post
BTW .make nandroid backup create flashble zip with kernel(backup kernel using DD command) .....
And its not possible to make PDA modem csc file from mobile.....
Thanks
Gd Lk
Sent from my GT-S6102 using Tapatalk 2
Click to expand...
Click to collapse
Really I'm studying the manner to change the files in charge for 3G connections.
Unfortunately, I could not find the original image:
PDA: S6102BVJLC3
PHONE: S6102BVJLC3
CSC: S6102BUUBLC2
I need to change frequencies (if it's possible to change freq parameters), disassembling files, change parameters and re-assembling the files.
Thank you.
Mod edit:
XDA Forum Rules
7. Do not sell or trade on the forums.
If you wish to advertise a product, simply contact us. We can provide ads but you are not permitted to just post it in the forums. If you do, it will be removed and you're likely to receive a ban.
The buying, selling, trading and / or exchanging of any item is now prohibited on XDA, in any forum or via Private Messages. We now use www.swappa.com
Click to expand...
Click to collapse
8. Donations.
As a user, you're allowed to ask for donations in your signature as a thank you for your hard work, however donations up front are not allowed. This forum is about sharing and not about getting paid to do something... that is what your job is for.
Click to expand...
Click to collapse
There's an H933 related file at that link as well, I wonder... I wonder...
I have no idea what this file actually is, I added .zip and .rar to it, no effect. With .zip added when I attempt to open it with WinRAR it shows the original file is like 174MB which then decompresses to 2.1GB so that's obviously a mistake and it's not a Zip file ('cause it's 2.1GB already).
I'm sure someone will take a look at it over the next few days and if it's useful to anyone they'll find a way.
br0adband said:
There's an H933 related file at that link as well, I wonder... I wonder...
I have no idea what this file actually is, I added .zip and .rar to it, no effect. With .zip added when I attempt to open it with WinRAR it shows the original file is like 174MB which then decompresses to 2.1GB so that's obviously a mistake and it's not a Zip file ('cause it's 2.1GB already).
I'm sure someone will take a look at it over the next few days and if it's useful to anyone they'll find a way.
Click to expand...
Click to collapse
I think we should wait for the original pie update. Few more days left for pie onlt
br0adband said:
There's an H933 related file at that link as well, I wonder... I wonder...
I have no idea what this file actually is, I added .zip and .rar to it, no effect. With .zip added when I attempt to open it with WinRAR it shows the original file is like 174MB which then decompresses to 2.1GB so that's obviously a mistake and it's not a Zip file ('cause it's 2.1GB already).
I'm sure someone will take a look at it over the next few days and if it's useful to anyone they'll find a way.
Click to expand...
Click to collapse
https://sourceforge.net/projects/gn...xe/download?use_mirror=newcontinuum&download=
br0adband said:
There's an H933 related file at that link as well, I wonder... I wonder...
I have no idea what this file actually is, I added .zip and .rar to it, no effect. With .zip added when I attempt to open it with WinRAR it shows the original file is like 174MB which then decompresses to 2.1GB so that's obviously a mistake and it's not a Zip file ('cause it's 2.1GB already).
I'm sure someone will take a look at it over the next few days and if it's useful to anyone they'll find a way.
Click to expand...
Click to collapse
Well... those are .up files. Thats the OTA format from LG.
Hmm. Maybe the people from website you bought it from have an idea. If they've an email ID you could also try asking them.
SGCMarkus said:
Well... those are .up files. Thats the OTA format from LG.
Click to expand...
Click to collapse
I had no idea, thanks. Too used to the old OTA format of it just being ota.zip or update.zip, had never seen a *.up file before, interesting.
br0adband said:
I had no idea, thanks. Too used to the old OTA format of it just being ota.zip or update.zip, had never seen a *.up file before, interesting.
Click to expand...
Click to collapse
G4 H810 they have updated to Android 6.0 this way
https://forum.xda-developers.com/att-g4/general/lg-g4-h810-upgrade-to-android-6-0-t3323995
br0adband said:
I had no idea, thanks. Too used to the old OTA format of it just being ota.zip or update.zip, had never seen a *.up file before, interesting.
Click to expand...
Click to collapse
LG "cooking their own soup", as always... because .... idk
Waiting for an answer atm from someone, then we'll see what/if we can do something with those files.
PjLyTam said:
Hi:
Link file OTA: https://drive.google.com/drive/u/1/folders/1Wq9yXGXIMtkhUqt-IPd2BXQko86G2YOy?usp=sharing
Hello everyone, do I buy the OTA update file version 29a from lgbbs.com website but I can't update it, anyone who has an updated version of beta, can share it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When I download the default, it is just a file named mo, no extension
Click to expand...
Click to collapse
i think u should try lg bridge,its just my thought.
I am grabbing the H93320i to H93328a .up file (since I can actually test that) and I will make a flashable zip. If it works I will do the same for the other two.
OTA .up files are combination BSDIFF and IMGDIFF files, so you have to use applypatch to the version that the update was generated against. In this case they made the diff against 20i.
EDIT: alternatively if you are stock (and very f**king brave) you can flash the .up from from LG UP. There is an option that says something about OTA update (you will know because it will only let you pick a .up file). If you go that route, you MUST be bone stock, and there is always the chance that it increments ARB and you are then stuck -- so you might want to wait
-- Brian
Your bravery is appreciated, Brian.
Is it Pie or nah?
@edit Nevermind, I didn't see that's pie ?
br0adband said:
Your bravery is appreciated, Brian.
Click to expand...
Click to collapse
Well I am done fighting with this. I ran into the same problem with an H932 update that I couldn't get to apply, but it was only to boot -- so I was able to release a ROM with an older boot until a KDZ was released.
This time I can't get it to apply to ANY of the partitions. I can only guess that even though it SAYS that it was for 20i, it is for some other version -- or some internal test version of 20i (IE: uses the test keys -- which would be enough to make all the SHA hashes fail).
So -- my OP7Pro will be here tomorrow. Once I get it setup, and don't need my V30 anymore, I will install H93320i and then flash the .up with LG UP. If I am right about it being a different version then this will fail, but at least we will know. If on the other hand, my patch tools are just out of date, then I will dump the relevant partitions and make a zip. I will then do the same for the V300S and V300L if it works for the H933. I wasn't able to get any info out of the .up file, so I will be going into this in the dark as far as ARB goes. If it increments ARB, then I will have a V30 that is pretty much useless since I won't be able to flash back / root again. All in the name of science
-- Brian
Ok, I've tried to flash this file, but I can't.
I tried with the LGUP with using a FOTA UPGRADE option.
The result is: "Error: 0x4001, skip LAF_ERROR_WRITE_PROTECT"
My phone is working with V22j firmware (April security patch)
runningnak3d said:
Well I am done fighting with this. I ran into the same problem with an H932 update that I couldn't get to apply, but it was only to boot -- so I was able to release a ROM with an older boot until a KDZ was released.
This time I can't get it to apply to ANY of the partitions. I can only guess that even though it SAYS that it was for 20i, it is for some other version -- or some internal test version of 20i (IE: uses the test keys -- which would be enough to make all the SHA hashes fail).
So -- my OP7Pro will be here tomorrow. Once I get it setup, and don't need my V30 anymore, I will install H93320i and then flash the .up with LG UP. If I am right about it being a different version then this will fail, but at least we will know. If on the other hand, my patch tools are just out of date, then I will dump the relevant partitions and make a zip. I will then do the same for the V300S and V300L if it works for the H933. I wasn't able to get any info out of the .up file, so I will be going into this in the dark as far as ARB goes. If it increments ARB, then I will have a V30 that is pretty much useless since I won't be able to flash back / root again. All in the name of science
-- Brian
Click to expand...
Click to collapse
Wow. ?
runningnak3d said:
I am grabbing the H93320i to H93328a .up file (since I can actually test that) and I will make a flashable zip. If it works I will do the same for the other two.
OTA .up files are combination BSDIFF and IMGDIFF files, so you have to use applypatch to the version that the update was generated against. In this case they made the diff against 20i.
EDIT: alternatively if you are stock (and very f**king brave) you can flash the .up from from LG UP. There is an option that says something about OTA update (you will know because it will only let you pick a .up file). If you go that route, you MUST be bone stock, and there is always the chance that it increments ARB and you are then stuck -- so you might want to wait
-- Brian
Click to expand...
Click to collapse
Thank @runningnak3d If it works, I will buy many other versions
runningnak3d said:
I am grabbing the H93320i to H93328a .up file (since I can actually test that) and I will make a flashable zip. If it works I will do the same for the other two.
OTA .up files are combination BSDIFF and IMGDIFF files, so you have to use applypatch to the version that the update was generated against. In this case they made the diff against 20i.
EDIT: alternatively if you are stock (and very f**king brave) you can flash the .up from from LG UP. There is an option that says something about OTA update (you will know because it will only let you pick a .up file). If you go that route, you MUST be bone stock, and there is always the chance that it increments ARB and you are then stuck -- so you might want to wait
-- Brian
Click to expand...
Click to collapse
I tried flash with lg up but it didn't work, it seemed like LAF error and could not extract the file
SkeletMastrr said:
Ok, I've tried to flash this file, but I can't.
I tried with the LGUP with using a FOTA UPGRADE option.
The result is: "Error: 0x4001, skip LAF_ERROR_WRITE_PROTECT"
My phone is working with V22j firmware (April security patch)
Click to expand...
Click to collapse
I also tried with LG up and the same error
I think it's possible that the download link of the lgbbs page is corrupted, when I download the file, it only has the name "mo" and has no extension, not the file name description, I think if it properly describe the file name and correct the .up format as the name, you can use lg up to flash them.