Related
There's been quite a bit of discussion lately regarding modems and the Radio Interface Layer (RIL)
The usual modem CWM files install the modem.bin file and nothing else. Ideally your modem's RIL files should also be installed, as the modem and RIL should be fully compatible with each other in order for it to work optimally. If they are not matching, you may (emphasis on the "may"!!) not be getting the most out of your modem.
For this modem/RIL compatibility, other files that came bundled in official firmware for its particular modem are required.
The app GetRIL attempts to rectify this problem.
These modem-particular files are (and I'm still looking for more possibilities):
1. /system/lib/libril.so
2. /system/lib/libsec-ril.so
3. /system/lib/libsecril-client.so
4. /system/lib/libsecril-client-sap.so(4.0.4+)
5. /system/bin/drexe (thanks to E:V:A)
(Filenames containing "sec" means "Samsung Electronics Corporation" by the way)
The above RIL files can be obtained from official firmware .md5 file (or your custom ROM's zip file) and are particular to whichever verison of modem it was bundled with. So for example, if a firmware was bundled with XXLPX modem, the RIL files in the lib folder will be the files particular to the XXLPX modem (unless a ROM developer has put in a modem.bin in the installer zip that differs to that of the original firmware....be aware of this possibility.)
I assume all the modem CWM files that we have been installing in the past have been created by the general public who have downloaded firmware and posted up a convenient modem flash file, so I have now created a more complete modem flashable file that does Modem+RIL.
The scripts I've written install the modem as normal, but also install the system/lib files, thereby installing a modem with 100% correct RIL. The script also backs up the current RIL files to internal sd card under MyBackups folder.
What will a modem with matching RIL give me?
It almost certainly will not improve your signal strength. My findings are however suggesting you have an improved chance of obtaining better network connectivity (eg. E, G, 3G, H, H+). For example, I am now consistently getting a H+ connection where previously I would only be getting H at best. This will obviously improve your speeds during browsing, and my findings are also suggesting that the better the network connection, the more chance you have for Fast Dormancy to work as it should, thereby saving battery.
Only flash Modem/RIL taken from 4.1.2 onto 4.1.2. Do NOT flash these on previous versions as they will not work properly.
It is also recommended NOT to flash Modem/RIL taken from firmwares previous to 4.1.2 onto 4.1.2.
If you want to try older modems on 4.1.2, then flash MODEM ONLY WITHOUT RIL.
These Modem/RIL files have been extracted from official Samsung firmwares. Do not attempt to flash Modem/RIL files onto CM/AOSP/AOKP based ROMs as results cannot be guaranteed. You may end up with no network or baseband if you flash on anything other than Samsung based ROMs, so do so at your own risk!!!!
The following Modem+RIL combinations have been uploaded so far:
Android 4.1.2
BULS1 (Taken from XWLSD) (Vodaphone)
BVLS2 (Taken from ORALSS GT-I9100P) (Orange)
BVLS4 (Orange UK)
DDLS9 (XWLSK India)
JHLS2 (Taken from JHLS4)
NELS1 (H3G Italy, 3UK)
T_JJLS2
UGMA5
UHMS1 (Taken from UHMS8)
XXLS8 (Taken from XWLS8)
XXLS6 (Taken from XXLSJ JB leak)
XXLS9 (Taken from XWLSH)
XXMS2 (Taken from XWLSN)
XXMS3
XWMS3 (Taken from XWLSW)
ZSLSJ
Android 4.0.4
BOLP7 (T-Mobile-Germany)
BOLP9 (T-Mobile-Germany)
BVLPE (Orange-UK)
BULPG (Vodafone-Germany)
DDLPB
JHLPC (Orange-Israel)
NELP4 (Three-UK)
UHLPH
XXLQ5
XXLQ6
ZSLPN
ZSLPQ
Android 4.0.3
BOLP5
BOLP7 (T-Mobile-Netherlands)
BULP6 (Vodafone)
BULP7 (Vodafone)
DVLP3 (Telstra-Australia)
BVLP7 (Orange-UK)
BVLPD (Orange-Romania)
T_DCLP4 (Thailand)
DDLPA
T_DOLP4 (Telecom-New Zealand)
DULP4
DXLP7
DXLP9
DXLPA
JHLP9 (Orange-Israel)
T_JJLP8 (Pelephone-Israel)
T_HZLP2 (Mirs-Israel)
MUGLD3
NELP2 (3-UK)
NELP3 (3-UK)
NELP4 (3-UK)
UHLPG
XXLPW
XXLBR (O2-UK)
XXLPS
XXLPX
Android 2.x (GB)
XXKI4
XXKH3
Downoad Here
Download Here
My HUGE thanks goes out to ApriliaM3 for hosting the scripts.
Please give him the thanks he deserves.
Big thanks go out to all the contributors below for providing the following ModemRIL scripts: :good:
adotkdotjh: UGMA5
ApriliaM3: BOLP5, DXLPA, NELP3, ZSLPQ
Bieniu: XXLQ5
Christian Nothing: BULS1 (modem only)
codebeard: T_HZLP2, T_JJLP8, T_JJLS2, T_DCLP4, T_DOLP4 (all for GT-I9100T)
citytrader: UHLPH, XXLPS, ZSLPN
diffusal: DULP4
dmagician: JHLS2
FeuchtVonLipwig: BOLP7
gGabi: JHLP9, JHLPC
goolby: XXKH3
Hayth: NELS1 (3 UK)
Ibsonic: BOLP7
lmihaila: BVLPD
Juzman: DVLP3, XXLPS (includes libril.so)
Kenzneth
krezee: DDLPB
luigimak: DDLS9, NELS1, UHMS1, XXLS9, XXMS2
l_ryuzaki: DDLPB (India)
luigimak: BVLS4, XXMS3
mattisfaction: NELP2, NELP4, XXLBR
n-zocker: BOLP9
rogers11: BULP6, BULP7, BULPG
tom_car: DXLP9, DXLP7
sefrcoko: MUGLD3
tariq2kn: XXLS9
Troubadour666: XWMS3
Zaldi00: 250S-LPO, 250K-LPO (Korea)
Uploaded by myself: BULS1, BVLS2, BVLP7, BVLPE, DDLPA, NELP4 (from XWLPY), UHLPG, XXKI4, XXLQ6, XXLPW, XXLPX, XXLS6, XXLS8
(T_) - GT-I9100T-specific modems
After flashing you should have a compatible Modem/RIL combination.
NOTE: As you would now be using Samsung's intended RIL files for your modem, if you run GetRIL after running a ModemRIL script and GetRIL reports a mis-match after flashing one of the ModemRIL scripts, then barring a mistake by Samsung themselves or the script's author by building RIL files from a different modem/firmware, then it is a problem with GetRIL's database and/or logic on how it decides if there is a mis-match.
Backup of RIL Files
If a ModemRIL installer has been created for the original modem that was bundled with your firmware, then dont worry at all about backup/restore. The appropriate ModemRIL file is the best method to get you back onto your firmware's intended setup. However you can still use the backup/restore scripts below if desired.
The intended method of backing up your RIL files is to keep a copy of your firmware's original RIL files. To achieve this, it is best to get into the habit of flashing RIL-Backup once you have flashed new firmware before you start playing about with different modems. This only becomes a necessity if a ModemRIL installer has not yet been created for the firmware's original modem. If one has been created, I wouldn't worry about it too much, but you may still want to run RIL-Backup as habit. RIL-Backup will remove any existing backup found and create a copy in /sdcard/MyBackups/BackupRIL. This way, you can always revert back to the intended RIL of your firmware if need be. As a safeguard, my ModemRIL scripts will also backup the current RIL files if no previous backup was found. If a backup is detected, then it will be skipped. Just remember if you rely on the backup created by ModemRIL scripts and do not use RIL-Backup after flashing a new ROM, then the restore may not necessarily be of the original RIL files that came with your new firmware.
RIL_Backup will force a backup of your current RIL files. Remember, best practice is to run this once directly after flashing new firmware/ROM, before installing different modems.
Restore RIL Files
If you need to restore back to your original/previous modem/RIL then simply run the ModemRIL script from this thread for that modem.
If a ModemRIL installer has not been created for the modem you need to revert back to, then you can run the RIL-Restore script. You will then need to flash the previous modem using a modem-only CWM flashable file.
RIL_Restore will attempt to restore the original RIL files backed up by RIL-Backup or by one of these scripts.
Note on possibe BootLoops
The modem.bin and all the RIL files contained in the ModemRIL scripts came from whichever firmware the modem was bundled within. Therefore it is possible that there could be issues if trying to install these on anything other than the firmware version that the modem/RIL originated from. This is why the originating firmware version is stated above. I can only test on my current ROM (NEAT LPI which is ICS 4.0.3). If after flashing there is incompatibility issues with your particular firmware version, the best course of action would be to flash the ModemRIL file for your firmware's original modem.
I only want to install the Modem without RIL
If you just want to install the modem only from any of the Modem+RIL files then:
1. Download the Modem_RIL.zip file you require
2. Create your Modem-only zip from this
This modem-only zip file can be created in one of two ways:
I already have a Modem-only zip file but for another modem
1. Rename this (or copy) to Modem_xxxxx.zip for the Modem you are wanting to flash
2. Open this zip file along with the Modem_RIL file you just downloaded with 7Zip
3. Ensure you can see a file called modem.bin in both archives
4. Drag the modem.bin file from the Modem_RIL file into the Modem_xxxxx.zip file
5. Save+exit
6. Flash Modem_xxxxx.zip through CWM
I don't have any Modem-only zip files
Simply remove the system folder from the Modem_RIL zip file:
1. Rename (or copy) ModemRIL_xxxxx.zip to Modem_xxxxx.zip
2. Open the zip with 7Zip
3. Right click the system folder and choose Delete
4. Exit 7Zip. You will now be good to go for a modem-only flash
5. Flash Modem_xxxxx.zip through CWM
However, for completeness you may want to also change the updater-script accordingly. To do this:
1. Get hold of an updater-script from an existing modem-only zip
2. If you don't have one, download updater_script_Modem_Only and rename this file to updater_script
3. Open your Modem_xxxxx.zip file and navigate to META-INF/com/google/android
4. Drag+drop updater-script into the zip
If you don't change the updater-script, then there is no harm done. No RIL will be installed (as its been removed from the zip), you will just see RIL-related messages in the installer which you can ignore.
How to make your own ModemRIL script
Step 1 - Get the files you need
You need to use the zip/tar/md5 file of the original ROM so that we know we have a RIL that is best suited to the modem it came bundled with. From this you can extract the modem.bin file, and also all the required RIL files listed above.
Extract files from a custom ROM (.zip)
You can very easily extract the necessary files from a custom ROM (Eg. Neat ROM)
1. Open the zip file by using 7Zip
2. Find modem.bin and drag it onto your desktop
3. Navigate to /system/lib and /system/bin
4. Drag the files mentioned above to your desktop
To get the required files from an official Samsung download (.tar.md5) file is a little more tricky:
Extract files from an official Samsung download (.tar.md5)
For this you will need the following installed on your PC:
Java Runtime, sgs2toext4.jar and Linux Reader from www.diskinternals.com.
It will be easier for later if you create a shortcut on your desktop to the DiskInternals Linux Reader
1. Open the md5 file, open it with 7Zip and extract modem.bin and factoryfs.img (ignore any no current record error)
2. Double click sgs2toext4.jar (you need to have java installed on your PC for this to work)
3. Drop the file factoryfs.img file inside sgs2toext4.jar This will generate factoryfs.ext4.img
4. Drop factoryfs.ext4.img onto your DiskInternals Linux Reader shortcut you created on your Desktop. This will open the app.
5. Double click Linux Ext Volume 1 (or similar)
6. Navigate to the /system/lib and /system/bin folders and look for the RIL files above. Android 4.0.4+ will have file (4.). Save these files to your PC.
At this point you should now have the neccessary files saved onto your PC. Ie:
modem.bin
/system/lib/libril.so
/system/lib/libsec-ril.so
/system/lib/libsecril-client.so
/system/lib/libsecril-client-sap.so (4.0.4+)
/system/bin/drexe
You can now use these files to create your own ModemRIL installer script:
Step 2 - Build the script
1. Download any one of the existing ModemRIL scripts and make a copy. For my personal template, use BVLP7.
2. Rename this copy to the ModemRIL you are going to build
3. Open the .zip file with 7Zip
4. At the root of the zip, drop your modem.bin file so that the existing version of this file is overwritten
5. Navigate into the system/lib folder
6. Remove all the existing (.so) files
7. Drop any lib files you saved into this folder.
8. Navigate into the system/bin folder
9. Remove all the existing files
10. Drop any bin files you saved into this folder.
The ModemRIL zip file is now done. The following steps are optional, but recommended for completeness and to avoid confusion when installing:
8. Go back up to the root folder and navigate to META-INF/com/google/android
9. Drag+drop the file called updater-script onto your desktop
10. Right click this file and edit this with Notepad++. Do not edit with Windows Notepad, as you will corrupt the carriage-return characters.
11. Edit the 4th line of this file to show the name of the modem/RIL you are building
12. Save the file in Notepad++
13. Drag the amended updater-script file back into your open zip archive, overwriting the existing script
You're done!
Changelog
16/10/2012
* New backup logic. RIL files are now only backed up once. ModemRIL script will skip the backup if a backup is found.
* RIL_Backup.zip intended to be run after flashing a new ROM, or to force a RIL backup
24/09/2012
* Include /system/bin/drexe
* Backup of existing RIL files made to internal (not external) SD Card
Note on Changelogs
The latest changes above have been incorporated into the ModemRIL files that I have uploaded.
They may not necessarily be included in files uploaded by other contributors. It is up to individual contributors to decide whether or not to include any of my changes in the scripts they have uploaded
Latest scripts
Below are links to the latest versions of scripts/shells which can be used for building a ModemRIL installer.
For an example zip to use for your overall template, use BVLP7 then edit as per the instructions above.
updater-script (main installer script)
BackupTest.sh (test for existing backup)
BackupRIL.sh (backup current RIL if no previous backup)
Below are links to the latest versions of scripts/shells which can be used in RIL-Backup:
updater-scipt (rename to updater-script)
BackupOrigRIL.sh (forces backup of RIL files)
Below are links to the latest versions of scripts/shells which can be used in RIL-Restore:
updater-script (rename to updater-script)
RestoreRIL.sh (restores backed up files)
Feel free to use my scripts as installer templates to create your own ModemRIL CWM zip files for different modems.
Just make sure you link them up on here to share for everyone!
Modem-only related links
pulser_g2/geko95gek GS2 Shipped modem collection
Veyka's Index of GS2 Radios
Pan24's modem links
Turkbey's modem links
Best wishes for the new thread!
As I posted in the modems thread: "Thanks for the BVLP7 composition but no H+ signal. Unless its only a matter of icon."
Flashed your BVLP7 combo but only getting H sing.. No H+ anymore.. Any ideas? Could it be a rom issue?
Thanks
belerephont said:
Best wishes for the new thread!
As I posted in the modems thread: "Thanks for the BVLP7 composition but no H+ signal. Unless its only a matter of icon."
Flashed your BVLP7 combo but only getting H sing.. No H+ anymore.. Any ideas? Could it be a rom issue?
Thanks
Click to expand...
Click to collapse
Different modems work better for different regions/carriers.
I'm in the UK on Orange with BVLP7 and get H+ fine.
So it seems does ApriliaM3, who I believe is in Thailand.
As with all modems, its a case of trying to find out which one works best for you.
Matching the RIL is not a magic cure for all (if at all) but it will at least give the modem the best chance for it to work as intended.
Nice one Hawker old boy!
Whilst I cannot say that my signal has changed, and nor would I expect it to, but I am hoping that by having a compatible RIL I will have less wakelocks and thus improve my battery life.
Thanks for this thread and keep up the good work. :good:
hawkerpaul said:
Different modems work better for different regions/carriers.
I'm in the UK on Orange with BVLP7 and get H+ fine.
So it seems does ApriliaM3, who I believe is in Thailand.
As with all modems, its a case of trying to find out which one works best for you.
Matching the RIL is not a magic cure for all (if at all) but it will at least give the modem the best chance for it to work as intended.
Click to expand...
Click to collapse
just for info, with the config as my signature and your BVLP7 CWM file, i also get the H+ just fine. (btw, i'm in the Netherlands and for me BVLP7 is the best modem so far).
good luck with the new thread, i'll subscribe to it right away!:good:
tuniel said:
just for info, with the config as my signature and your BVLP7 CWM file, i also get the H+ just fine. (btw, i'm in the Netherlands and for me BVLP7 is the best modem so far).
good luck with the new thread, i'll subscribe to it right away!:good:
Click to expand...
Click to collapse
+1 Serbia
Congratulations Paul for the new thread!
I subscribed and will check back here often!
Best regards
hawkerpaul said:
Different modems work better for different regions/carriers.
I'm in the UK on Orange with BVLP7 and get H+ fine.
So it seems does ApriliaM3, who I believe is in Thailand.
As with all modems, its a case of trying to find out which one works best for you.
Matching the RIL is not a magic cure for all (if at all) but it will at least give the modem the best chance for it to work as intended.
Click to expand...
Click to collapse
Just tried your BVLPE combo and I now do get H+ icon as supposed to be. Will keep this for a few days and see how it goes as a modem..
Thanks!
Great thread Paul!...
about PBVLP7, I had the same problem with H instead H+ and after testing is not an icon problem, it dont work in H+.
The strange thing is that is from Orange and Android 4.0.3, the newer Android 4.0.4 comes with BVLPE, but this is for I9100 and not P variant so maybe we have to wait the 4.0.4 P variant
Another curious thing, I'm in Mexico a for Mexico in the last 4.0.4 there is the modem LPH+RIL, but this modem work much worse than BVLPE+RIL...
citytrader said:
Great thread Paul!...
about PBVLP7, I had the same problem with H instead H+ and after testing is not an icon problem, it dont work in H+.
The strange thing is that is from Orange and Android 4.0.3, the newer Android 4.0.4 comes with BVLPE, but this is for I9100 and not P variant so maybe we have to wait the 4.0.4 P variant
Another curious thing, I'm in Mexico a for Mexico in the last 4.0.4 there is the modem LPH+RIL, but this modem work much worse than BVLPE+RIL...
Click to expand...
Click to collapse
Cheers mate
I'm in the UK on Orange, but BVLP7 works great for me. I get H+ regularly!
When doing BVLP7 Fast Dormancy testing (*#0011#) I get correct drops from DCH to FACH to PCH, with an eventual drop to IDLE.
I tested BVLPE for FD, and it seems to go mostly from DCH directly down to IDLE. (this will probably be more battery friendly for users who hardly ever use the internet when outside of wifi range)
Apart from this, BVLP7 and BVLPE seem pretty much identical in terms of signal for me.
Here are the UHLPH (comes with lastest UHLPV firmware) and XXLPS using your script.
citytrader said:
Here are the UHLPH (comes with lastest UHLPV firmware) and XXLPS using your script.
Click to expand...
Click to collapse
Brilliant! Thanks mate
:good:
Interesting to see UHLPH also has a libsecril-client-sap.so file.
Only this and BVLPE has this file up to now.
hawkerpaul said:
Cheers mate
I'm in the UK on Orange, but BVLP7 works great for me. I get H+ regularly!
When doing BVLP7 Fast Dormancy testing (*#0011#) I get correct drops from DCH to FACH to PCH, with an eventual drop to IDLE.
I tested BVLPE for FD, and it seems to go mostly from DCH directly down to IDLE. (this will probably be more battery friendly for users who hardly ever use the internet when outside of wifi range)
Apart from this, BVLP7 and BVLPE seem pretty much identical in terms of signal for me.
Click to expand...
Click to collapse
Thanks I have know for the first time *#0011#, I have note this strang thing... when the phone is in H, RRC State goes to idle, when it change to H+
is remains stuck in DCH... strange...
DCH means it is currently in its highest volume data transfer rate.
"normal" FD behaviour should then downgrade states in the following manner:
DCH -> FACH -> PCH and then eventually to IDLE
Ideally it should remain at PCH for a while in case more data transfer is required.
Anyone got a good one for the 3 network UK?
Sent from my GT-I9100 using xda premium
Flashed the LPS modem but getril tells me that the ril/baseband is not matching
Sent from my GT-I9100
Mate can u do ZSLPG supost to be bat friendly and is quit good for me I'm on 3UK thx
Sent from my GT-I9100 using xda premium
joshuab227 said:
Flashed the LPS modem but getril tells me that the ril/baseband is not matching
Sent from my GT-I9100
Click to expand...
Click to collapse
Probably is a Getril bug, because that combination is that comes from the original firmware I9100OXALPS, the RIL Modem you flashed is correct
hawkerpaul
I think you should just add that:
ICS RIL (libsec-ril.so) will not work on GB rom (you will get no service), I think it's because libril.so is different
so if you include libril.so in you modem+ril zips then I think it will work but I don't know if it will cause problems or not.
also libril.so is maybe different on 4.0.3 and 4.0.4 but I did not check it.
do you see any difference in reception on the same modem with difference rills?
tuvi123 said:
hawkerpaul
I think you should just add that:
ICS RIL (libsec-ril.so) will not work on GB rom (you will get no service), I think it's because libril.so is different
so if you include libril.so in you modem+ril zips then I think it will work but I don't know if it will cause problems or not.
also libril.so is maybe different on 4.0.3 and 4.0.4 but I did not check it.
do you see any difference in reception on the same modem with difference rills?
Click to expand...
Click to collapse
Ok thanks mate. I'll amend the first post.
I don't think a matching modem/ril will mean a better reception, but there is a better chance of it operating more efficiently (hopefully fewer wakelocks so saving on battery). Some have noticed H+ reception where previously they got none etc.
Now added XXLQ6
great thread dude. as a chronic flasher of all things S2, will be following closely
Hi @all,
I´m using the Flashtool and other provided tools here in the Forum for a long time (thanks to all people who are involved in the developing)
Now I want to give something back.
I´m not a developer but I understand (hopefully) basic things.
I have also some phones which does not support the flashmode so I am reliant to the fastboot mode and CWM.
At this point my goal was to flash the stock ROM to the Xperia Z.
I found a tuturial how to make a flashable zip file for CWM but it was for old devices with yaffs2 filesystem and the new ones have ext4.
After some search I found everything what is needed and I want to share it with you.
The Tutorial covers basic things but maybe it will help some people who will try it.
Step 1
Download the Stock-FW you want (FTF-File)
Step 2
Rename the .ftf File to .zip
Step 3
Extract the system.sin (with 7zip or WinRar for example)
Step 4
Open Flashtool go to "Tools" -> "Sin Editor" -> Choose the extracted system.sin and push "extract" Data
Step 5
You will get an system.ext4 file
Step 6
We have to extract the files which are in the system.ext4 file - for this I used the DiskInternal Linux Reader
Step 7
After extracting the files you have to put all the files in a folder named "system" (low letters)
Step 8
Create a folder named for example "Firmware"
Step 9
Put the "system" folder in the "Firmware" folder
Step 10
Download the Attached META-INF File - extract it and copy the META-INF Folder in the "Firmware" folder
Step 11
Now you have in your "Firmware" folder two sub-folders
"system" and "META-INF"
Now you only have to zip the both folders for example with 7zip or WinRar
Important: You have to set the compression to "Store"
Step 12
Copy the zip File to your SD-Card and flash it with CWM
If you want you can now add files to the system folder - like busy box - and or modify things and flash it over CWM.
Special thanks to Bin4ry
Best regards
UserX10
Learned ! Thank you.
Nice tutorial!
EDIT: The flashable zip is huge (990MB), did this have anything to do with the compression being set to 'store'?
xL3thalTuRdZz said:
Nice tutorial!
EDIT: The flashable zip is huge (990MB), did this have anything to do with the compression being set to 'store'?
Click to expand...
Click to collapse
If you don't set it to store it wont work at all, no rom/flashable zip have anything other than store compression the same goes for bootanimations
Edit: OP/Mod you might just want to change TFT file to FTF in step 1
Sent from my GT-i9100 using Tapatalk 2
Edit2: It seems like this only goes for bootanimations, sorry my bad.
Great.....learning it now
Thanks for the positive feedback.
Changed also the typo on Step 1
I've tried setting compression to 'Normal' and all seems to be going fine...
Sent from my C6603 using xda app-developers app
Can this be applicable to nxt devices like mine?thanks for the tutorial...
Sent from my LT22i using Tapatalk 2
how to extract from ext4
can you explain with details :fingers-crossed:
im getting ext4 file again after extracting !
ShivangDave said:
can you explain with details :fingers-crossed:
im getting ext4 file again after extracting !
Click to expand...
Click to collapse
You have to selected the .ext4 file open with LinuxReader. (like you .doc file with Word)
LinuxReader will "mounted" it in his own window, open your "new" disk (2Go) then select the "Save" option above...
tempofestival said:
You have to selected the .ext4 file open with LinuxReader. (like you .doc file with Word)
LinuxReader will "mounted" it in his own window, open your "new" disk (2Go) then select the "Save" option above...
Click to expand...
Click to collapse
did it via linux ! thanks any way !
When I tried to extract Xperia S's stock rom from the ftf using DiskReaderInternals, then the rom would boot but USB would never work. Even the guy above me (ShivangDave) tried extracting using DiskReaderInternals for Miro but the rom failed to boot and got stuck at the Sony logo. That's why it is better to use linux to extract the system.ext4 image.
i want to make a flashable zip to install aps
UserX10 said:
Important: You have to set the compression to "Store"
Click to expand...
Click to collapse
How do I set the compression to "Store"?
Thanks a lot for your guide!
MinnesotaVikings1961 said:
How do I set the compression to "Store"?
Thanks a lot for your guide!
Click to expand...
Click to collapse
whenever you add file in archive it will show a box first ! 'NORMAL' is default ! change it to 'Store' !
Please!
Does this tutoriral can be applied to other models as Neo V.
Thank you and best regards!
fer14 said:
Please!
Does this tutoriral can be applied to other models as Neo V.
Thank you and best regards!
Click to expand...
Click to collapse
This Tutorial should also work with the Neo V. Only one thing could be different.
But depending on your Android Version (when I remember well) it could be possible that you have instead of an ext4 file a yaffs2 file. In this case you can search the forum for an how to for this extension.
TheHawk002 said:
If you don't set it to store it wont work at all, no rom/flashable zip have anything other than store compression the same goes for bootanimations
Click to expand...
Click to collapse
I use a template for flashing various things and I just drop stuff in it using Normal compression and it flashes ok, might be more important for full ROMs or zips to be run on the Phone like a boot animation, but for flashing the odd apk or other file I don't think it matters.
UserX10 said:
This Tutorial should also work with the Neo V. Only one thing could be different.
But depending on your Android Version (when I remember well) it could be possible that you have instead of an ext4 file a yaffs2 file. In this case you can search the forum for an how to for this extension.
Click to expand...
Click to collapse
XperienceD said:
[GUIDE] How to make your regional firmware an .FTF file
[Guide] How make a FTF of stock firmware from SUS files
[GUIDE]How to make a rooted flashable rom from ftf file[FOR ALL XPERIA PHONES]
[tutorial] | how to extract system.sin
[tutorial] step by step method to extract ftf file from ics [ics]
[Tool] Yaffey - Utility for reading, editing and writing YAFFS2 images
Click to expand...
Click to collapse
UserX10 said:
Hi @all,
I´m using the Flashtool and other provided tools here in the Forum for a long time (thanks to all people who are involved in the developing)
Now I want to give something back.
I´m not a developer but I understand (hopefully) basic things.
I have also some phones which does not support the flashmode so I am reliant to the fastboot mode and CWM.
At this point my goal was to flash the stock ROM to the Xperia Z.
I found a tuturial how to make a flashable zip file for CWM but it was for old devices with yaffs2 filesystem and the new ones have ext4.
After some search I found everything what is needed and I want to share it with you.
The Tutorial covers basic things but maybe it will help some people who will try it.
Step 1
Download the Stock-FW you want (FTF-File)
Step 2
Rename the .ftf File to .zip
Step 3
Extract the system.sin (with 7zip or WinRar for example)
Step 4
Open Flashtool go to "Tools" -> "Sin Editor" -> Choose the extracted system.sin and push "extract" Data
Step 5
You will get an system.ext4 file
Step 6
We have to extract the files which are in the system.ext4 file - for this I used the DiskInternal Linux Reader
Step 7
After extracting the files you have to put all the files in a folder named "system" (low letters)
Step 8
Create a folder named for example "Firmware"
Step 9
Put the "system" folder in the "Firmware" folder
Step 10
Download the Attached META-INF File - extract it and copy the META-INF Folder in the "Firmware" folder
Step 11
Now you have in your "Firmware" folder two sub-folders
"system" and "META-INF"
Now you only have to zip the both folders for example with 7zip or WinRar
Important: You have to set the compression to "Store"
Step 12
Copy the zip File to your SD-Card and flash it with CWM
If you want you can now add files to the system folder - like busy box - and or modify things and flash it over CWM.
Special thanks to Bin4ry
Best regards
UserX10
Click to expand...
Click to collapse
I tried this on Xperia SP but the installation is aborted, does this supports Xperia SP? If not, how can I make another one for Xperia SP? Thanks
tdth said:
I tried this on Xperia SP but the installation is aborted, does this supports Xperia SP? If not, how can I make another one for Xperia SP? Thanks
Click to expand...
Click to collapse
which error ?
---------- Post added at 08:52 PM ---------- Previous post was at 08:50 PM ----------
tdth said:
I tried this on Xperia SP but the installation is aborted, does this supports Xperia SP? If not, how can I make another one for Xperia SP? Thanks
Click to expand...
Click to collapse
this works... make sure you have correct update-binary file and also script !
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model (SM-T700).
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358556680
open1your1eyes0 said:
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model.
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358554636
Click to expand...
Click to collapse
No 10.5 love?
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
+1, can't forget us 10.5 owners
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
Stock Firmware SM-T800 (Wi-FI)
Stock Firmware SM-T805 (LTE)
Now all I need is a rom to screw my rig up with so I'll need this
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
u did it on Windows or Linux? cause I want the system file extracted. can u send it to me please?
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Maybe you could repack it with root files to get root. There is a how to video on you tube. I would do it, but my linux machine is down.
suzook said:
Maybe you could repack it with root files to get root. There is a how to video on you tube. I would do it, but my linux machine is down.
Click to expand...
Click to collapse
Please don't coming from the one that said root is okay from the note 10.1 2014 edition. Root and profit. Sound familiar. You mean root and brick.
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
ewells38 said:
+1, can't forget us 10.5 owners
Click to expand...
Click to collapse
Apologies for the delay folks. It's now uploaded.
http://forum.xda-developers.com/showthread.php?t=2800372
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
well, we need some step by step instruction here
anyone able to extract system files??
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Chainfire needs recovery.img to make cf autoroot for us. Are u able to extract the recovery.img for the q0.5 as well as 8.4 so I can post it in the cf auto root thread so we can get root?
FYI for those of you who have PMed me I have fixed the corrupt download and updated the OP link.
Zip
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Can you please zip extracted and provide a link!!
Thanks
No
jazzespresso said:
well, we need some step by step instruction here
anyone able to extract system files??
Click to expand...
Click to collapse
No I am unable to extract and have done many in the past. It appears no one here has been successful either!!!
EMSpilot said:
No I am unable to extract and have done many in the past. It appears no one here has been successful either!!!
Click to expand...
Click to collapse
bare with me on that one since I tried too many different options, following worked for me - required files attached here (I ziped, so hopefully XDA did not blocked it)
This is for Windows PC:
1. Download sgs4ext4fs.exe, and download firmware, unzip firmware up until you see system.img.
2. Open command prompt (on windows, click start, type cmd) where system.img, and type
sgs4ext4fs --trim system.img systemt.img
........ > you will see bunch of ............., but wait until it finishes.
3. Once it finishes it creates systemt.img, get sgs2toext4.jar (save it to the same folder), and open sgs2toext4.jar, and drag and drop newly created systemt.img to the window (sgs2toext4.jar's window), wait until it finishes, when it finishes it will create systemt.ext4.img
4. Now last step, download ext2explore.exe, and open it, and go to file --> open image and pick systemt.ext4.img, it will show the img file there (on both side of window), on the left side, select the systemt.ext4.img (should be showing full path), right click your mouse, and select save to your desktop or any other folder location you pick.
Obviously, next step will be odexing everything:laugh:
Yorgo1982 said:
u did it on Windows or Linux? cause I want the system file extracted. can u send it to me please?
Click to expand...
Click to collapse
Here you go:
System img from Galaxy Tab 10.5
How about a custom recovery .the build your own recovery with stock recovery.IMG leads to a http// 404 error online after it builds it.any of you smarter than me individuals know how to build a custom CWM/TWRP img ?
Nexus 5 via Tapatalk
open1your1eyes0 said:
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model (SM-T700).
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358556680
Click to expand...
Click to collapse
I actually needed this this morning and feel indebted to you cause the online so called Stock Firmwares lead to mad amount of bloat to my computer.
Thank you
restore
jball said:
I actually needed this this morning and feel indebted to you cause the online so called Stock Firmwares lead to mad amount of bloat to my computer.
Thank you
Click to expand...
Click to collapse
Thanks this worked like a charm!!! Great work!!!
I downloaded the latest firmware (so far) for the SM-G920F extracted the bootlader and modem files and converted them with this tool to .tar.md5 files to use with the latest odin.
You can use them to update to the latest firmware version without having to wipe your data or flash the official ROM.
Warning : I tested theese files on my phone (SM-G920F) and i had no problems , however i have no responsibilty if you do something wrong or end up bricking your phone!
Name of the firmware : G920FXXS4DPIJ_G920FOXX4DPH1_G920FXXS4DPIJ_HOME.tar.md5
Region : XEO
Country : Poland
LINK TO FILES
tnx man.
working fine on my g920f
can you make this one please ? Bootloader and modem from the latest XEF ROM from OCT
Model SM-G920F
Model name Galaxy S6
Country France
Version Android 6.0.1
Changelist 8821257
Build date Thu, 06 Oct 2016 08:27:24 +0000
Security Patch Level 2016-10-01
Product code XEF
PDA G920FXXS4DPJ2
CSC G920FOXA4DPGW
If I flash latest full firmware from Sammobile using Odin I will have all that things automatically flashed?
Windforce0511 said:
If I flash latest full firmware from Sammobile using Odin I will have all that things automatically flashed?
Click to expand...
Click to collapse
Of course, my post is just for convenience.
The way you describe is the best one.
babanasor said:
can you make this one please ? Bootloader and modem from the latest XEF ROM from OCT
Model SM-G920F
Model name Galaxy S6
Country France
Version Android 6.0.1
Changelist 8821257
Build date Thu, 06 Oct 2016 08:27:24 +0000
Security Patch Level 2016-10-01
Product code XEF
PDA G920FXXS4DPJ2
CSC G920FOXA4DPGW
Click to expand...
Click to collapse
Sry my internet connection is quite slow and it isnt' easy for me to download many firmwares.
I provided a link to the tool i used to make the .tar.md5 files on my first post.
Try it it's really easy
nighthawk696969 said:
Sry my internet connection is quite slow and it isnt' easy for me to download many firmwares.
I provided a link to the tool i used to make the .tar.md5 files on my first post.
Try it it's really easy
Click to expand...
Click to collapse
my english is not so good i dont understand the steps he is saying in that post can you tel me in a easy way step by step how to get the bootloader and the modem from the rom because i already downloaded the rom from sammmobile
babanasor said:
my english is not so good i dont understand the steps he is saying in that post can you tel me in a easy way step by step how to get the bootloader and the modem from the rom because i already downloaded the rom from sammmobile
Click to expand...
Click to collapse
I will tell you how to do it for the modem, but the same applies for the bootloader as well.
You download the program i linked you and extract it in a folder on you C drive (example C:\img2tar ).
You open the firmware you downloaded from sammobile with winrar or 7zip.
You extract the modem.bin from inside.
You place the modem.bim inside the program's folder (example img2tar) and run the batch.bat
A file named modem.tar.md5 has been created.Flash that file via odin.
nighthawk696969 said:
I will tell you how to do it for the modem, but the same applies for the bootloader as well.
You download the program i linked you and extract it in a folder on you C drive (example C:\img2tar ).
You open the firmware you downloaded from sammobile with winrar or 7zip.
You extract the modem.bin from inside.
You place the modem.bim inside the program's folder (example img2tar) and run the batch.bat
A file named modem.tar.md5 has been created.Flash that file via odin.
Click to expand...
Click to collapse
now this is what you call step by step now i understand it thank you very much man !!!!!!
Thank You!!
nighthawk696969 said:
I downloaded the latest firmware (so far) for the SM-G920F extracted the bootlader and modem files and converted them with this tool to .tar.md5 files to use with the latest odin.
You can use them to update to the latest firmware version without having to wipe your data or flash the official ROM.
Warning : I tested theese files on my phone (SM-G920F) and i had no problems , however i have no responsibilty if you do something wrong or end up bricking your phone!
Name of the firmware : G920FXXS4DPIJ_G920FOXX4DPH1_G920FXXS4DPIJ_HOME.tar.md5
Region : XEO
Country : Poland
LINK TO FILES
Click to expand...
Click to collapse
Yo i have somthing for you learned from you shared with you if you want to use it have a look THX again!! :fingers-crossed:
http://forum.xda-developers.com/galaxy-s6/general/sm-g920f-odin-flashable-modem-t3489564
babanasor said:
Yo i have somthing for you learned from you shared with you if you want to use it have a look THX again!! :fingers-crossed:
http://forum.xda-developers.com/galaxy-s6/general/sm-g920f-odin-flashable-modem-t3489564
Click to expand...
Click to collapse
Awrsome man, nice job.It's really slow to download the whole firmware so theese tars are handy .
I didn't downloaded it yet but from its name i saw that on bootloader you packed only the sboot.bin.
If you look at my release and open the allfiles.tar.md5 with 7zip or winrar you will see two files inside : sboot.bin and cm.bin.
Those two files are needed for the boot loader.
Now to make those two files a single .tar.md5 you need to copy them both inside the program directory (example C:\img2tar)
Then you run the batch.bat file like normal.
This time you go inside the created folder mame AllFiles and there you have the allfiles.tar.md5 witch is the complete bootloader with both files inside (you can open it with winrar or 7zip to be sure)
I kinda forgot to tell you the method above.By the way it would be a bad idea to renane the files.
nighthawk696969 said:
Awrsome man, nice job.It's really slow to download the whole firmware so theese tars are handy .
I didn't downloaded it yet but from its name i saw that on bootloader you packed only the sboot.bin.
If you look at my release and open the allfiles.tar.md5 with 7zip or winrar you will see two files inside : sboot.bin and cm.bin.
Those two files are needed for the boot loader.
Now to make those two files a single .tar.md5 you need to copy them both inside the program directory (example C:\img2tar)
Then you run the batch.bat file like normal.
This time you go inside the created folder mame AllFiles and there you have the allfiles.tar.md5 witch is the complete bootloader with both files inside (you can open it with winrar or 7zip to be sure)
I kinda forgot to tell you the method above.By the way it would be a bad idea to renane the files.
Click to expand...
Click to collapse
You are welcome man haha it can happen we are humans so we can make mistakes no problem :silly: but i have done it now its 100% good for sure i uploaded the allfiles.tar now its good to go
can anyone please leave me a link or telk me how i can root my samsung galaxy s6 edge modle G925ZFXXUSDQA7
..
help me
hello ․ i update my (france) Galaxy S6 G920f xxu4 android 6 on xxu5 android 7 but when i try call he write SIM card Not Registered on Network :смущенный:
XEF region
i also did update my modem and bootloader with this file and ended up having the same problem
imoutofpractice said:
i also did update my modem and bootloader with this file and ended up having the same problem
Click to expand...
Click to collapse
Did you get it for 6.0? Link please
Bootloader
Can i update g920f bootloader in g920v ?
The verizon offline updater worked for me without a data wipe
nighthawk696969 said:
Awrsome man, nice job.It's really slow to download the whole firmware so theese tars are handy .
I didn't downloaded it yet but from its name i saw that on bootloader you packed only the sboot.bin.
If you look at my release and open the allfiles.tar.md5 with 7zip or winrar you will see two files inside : sboot.bin and cm.bin.
Those two files are needed for the boot loader.
Now to make those two files a single .tar.md5 you need to copy them both inside the program directory (example C:\img2tar)
Then you run the batch.bat file like normal.
This time you go inside the created folder mame AllFiles and there you have the allfiles.tar.md5 witch is the complete bootloader with both files inside (you can open it with winrar or 7zip to be sure)
I kinda forgot to tell you the method above.By the way it would be a bad idea to renane the files.
Click to expand...
Click to collapse
I have sboot.bin and modem.bin and they are merged to one file as allfiles.tar.md5 please which option should i select to flash that is it AP or CP or BL seems is bootloader and modem in one file??????
Hi,
Do you know how to extract kernel from installation file of rom and make flashable (in TWRP) zip kernel file ?
I need extract ant make flashable kernel file from [ROM][AQF5][6.0.1][G900x]SkiesROM UX v3.1 A7 2017
I will be grateful for your help
tomaasz said:
Hi,
Do you know how to extract kernel from installation file of rom and make flashable (in TWRP) zip kernel file ?
I need extract ant make flashable kernel file from [ROM][AQF5][6.0.1][G900x]SkiesROM UX v3.1 A7 2017
I will be grateful for your help
Click to expand...
Click to collapse
Hi,
Sorry for the delayed reply.
Can you be little more specific? Do you want to 1) extract the kernel (that is an "zImage") image or 2) simply the "boot.img"?
The second task is simple as you can simply copy the "boot.img" from the ROM zip. You can flash "boot.img" directly via twrp (no need to make flashable zip).
The first task, however, is bit complicated as it requires the use of some tools like mkbootimg or Android Image Kitchen to split the "boot.img". You can flash the obtained "zImage" by simply copying that into an existing anykernel based klte custom kernel. :laugh:
Feel free to contact me for any further clarification/help.
Hi,
Thanks for your answer. I needed flashable zip kernel file extracted from SkiesRom.
I wanted patch this by DualBoot
tomaasz said:
Hi,
Thanks for your answer. I needed flashable zip kernel file extracted from SkiesRom.
I wanted patch this by DualBoot
Click to expand...
Click to collapse
Hi, if you have a Linux, you can easily extract the zImage from the "boot.img" using mkbootimg (see previous comment for links). If you want me to do that job, feel free to send the "boot.img" of that mentioned ROM (I'll make a flashable anykernel zip file for you so that you can flash over any ROM).
Regarding the DualBoot, I really do not know...