yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] Apology11:
I try to repack OpenSemc CM10.1 for loop.

but I don´t know how to extract system.img to /dev/block/loop2

If somebody knows how, fell free to tell me and I will upload it.
[Sony Xperia S, Acro S, Ion] letama:
I saw you were trying dd, it's not a good idea if sizes differs...

You have multiple options:

- Install the rom "normally", backup with tar, untar from zip

- Mount system.img with loopback, tar then untar, or do a real zip

- from native recovery, adb push system.img /sdcard/custom_system.ext4
[Sony Xperia S, Acro S, Ion] steryman:
Hey Letama, I've encountered a problem: when trying to flash bm_loop_sony_6.1.A.2.50 it fails. Error lines:

Assert failed: run_program("/sbin/tar", "-xvzf",<can't see anymore cuz using TWRP>
E: Error in /sdcard/bm_loop_sony_6.1.A.2.50.zip
(Status 7)
Error flashing zip '/sdcard/bm_loop_sony_6.1.A.2<can't see anymore>

Guess you messed something in the make-script file?
[Sony Xperia S, Acro S, Ion] Akhil:
Format system and flash a stock kernel repackaged for loop before flashing .50 on loop.
[Sony Xperia S, Acro S, Ion] steryman:
Now I've got another problem: after I've compiled myself a 6.1.a.2.45 kernel.elf and integrated it into a signed flashable zip, I've tried to compile it for loop but I get a lot of errors. Is it alright?

sudo ./repackage.sh 6.1.A.2.45_Kernel-signed 6.1.A.2.45_Kernel
Processing 6.1.A.2.45_Kernel file:6.1.A.2.45_Kernel-signed
rm: cannot remove `bm_native_6.1.A.2.45_Kernel.zip': No such file or directory
rm: cannot remove `bm_loop_6.1.A.2.45_Kernel.zip': No such file or directory
kernel 'kernel.elf' found
Sony kernel splitter v 0.1 by LeTama

ELF magic found
Entry point : 0x40208000
Program Header start : 0x34
Program Header size : 32
Program Header count : 3
-> PH[0], type=1, offset=00001000, virtual=40208000, phy=40208000, size=4615992
-> PH[1], type=1, offset=00467F38, virtual=41200000, phy=41200000, size=13230398
-> PH[2], type=1, offset=01106076, virtual=00020000, phy=00020000, size=120128
... dumping sec0-0x40208000.bin
... dumping sec1-0x41200000.bin
... dumping sec2-0x00020000.bin
27158 blocks
Old FXP recovery
rm: cannot remove `res': No such file or directory
rm: cannot remove `recovery.fstab': No such file or directory
./repackage.sh: line 59: cd: sbin: No such file or directory
rm: cannot remove `e2fsck': No such file or directory
rm: cannot remove `fix_permissions': No such file or directory
rm: cannot remove `mke2fs': No such file or directory
rm: cannot remove `nandroid-md5.sh': No such file or directory
rm: cannot remove `parted': No such file or directory
rm: cannot remove `sdparted': No such file or directory
rm: cannot remove `tune2fs': No such file or directory
rm: cannot remove `fota-mke2fs': No such file or directory
rm: cannot remove `fota-ua': No such file or directory
rm: cannot remove `mr': No such file or directory
rm: cannot remove `autoroot.sh': No such file or directory
rm: cannot remove `checkabortedflash': No such file or directory
grep: bootrec*: No such file or directory
result:2
rm: cannot remove `bootrec': No such file or directory
rm: cannot remove `bootrec-device': No such file or directory
rm: cannot remove `bootrec-device-fs': No such file or directory
sed: can't read init.semc.rc: No such file or directory
sed: can't read default.prop: No such file or directory
124288 blocks
cp: cannot stat `cpio_native': No such file or directory
cp: cannot stat `cpio_native': No such file or directory
./repackage.sh: line 90: cd: cpio_alt: No such file or directory
sed: can't read init.semc.rc: No such file or directory
./repackage.sh: line 122: cd: cpio_loop: No such file or directory
cp: cannot stat `../../prebuilt/losetup-static': No such file or directory
chmod: cannot access `sbin/losetup-static': No such file or directory
CM9 / ICS cpio
[Sony Xperia S, Acro S, Ion] Akhil:
Re: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

Yea it's alright
[Sony Xperia S, Acro S, Ion] letama:
Well, few errors are normal because your kernel doesn't have recovery. Some are not, and your kernel won't work as it is... I don't think script can't handle pure stock initramfs.

The one that are definitely wrong:

cp: cannot stat `cpio_native': No such file or directory

cp: cannot stat `cpio_native': No such file or directory

./repackage.sh: line 90: cd: cpio_alt: No such file or directory

./repackage.sh: line 90: cd: cpio_alt: No such file or directory

./repackage.sh: line 122: cd: cpio_loop: No such file or directory

cp: cannot stat `../../prebuilt/losetup-static': No such file or directory

chmod: cannot access `sbin/losetup-static': No such file or directory

You just have kernel or is it kernel+firmware ?

If you just want kernel, grab the stock one I repackaged and replace zImage with yours, it will be easier. Else, I'm afraid you'd have to do it manually...
[Sony Xperia S, Acro S, Ion] steryman:
Re: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

Well, now I've tried to follow your guide to repack stock and also replacing as you said, but it won't let me flash it.

Installing '/sdcard/ZipSigner/6.1.A.2.45-loop-signed.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
Error flashing zip '/sdcard/ZipSigner/6.1.A.2.45-loop-signed.zip'

And yes, it's only kernel(extracted from ftf and splitted)

Edit: now I get a status 7 error when flashing... I'll try to replace other things too
[Sony Xperia S, Acro S, Ion] letama:
Can you post /tmp/recovery.log ? Or upload your kernel ?
[Sony Xperia S, Acro S, Ion] steryman:
I've tried replacing only the kernel, it would get stuck at beginning. Replacing the system too will make it run till half. Replacing the initramfs will crash the TWRP. I'll post my kernel after I'll try to re-extract it.
[Sony Xperia S, Acro S, Ion] darkerm:
Sorry but is there any Video tutorial?

I wanna Dual Boot but Reading the OP only makes me confuse :(

As Now my xperia S is running XZXperience 1 ROM with Advance Stock Kernel v17.

Can anyone help me?

Thanks
[Sony Xperia S, Acro S, Ion] danlivesey:
Re: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

1. Make a backup of your data with CWM.

2. Flash the dual boot kernel.

3. Flash your ROM. Native

3. Flash loop roms on loop.

Just wipe everything in loop

If something goes wrong and you need your ROM back, just flash CWM add on for dual boot and restore your data.

This was said a few posts back
[Sony Xperia S, Acro S, Ion] steryman:
Here is the entire archive with kernel, system and initramfs, these are simply extracted from the ftf and obtained by following your guide. It's not a big deal, afterall I could've just downloaded .45 for stock and modify the updater-script to make it install for loop, but I'd like to know how to make a working zip so I can't compile the new .45 kernel and flash it to my phone :)

http://www20.zippyshare.com/v/75268044/file.html

http://www20.zippyshare.com/v/96884069/file.html
[Sony Xperia S, Acro S, Ion] letama:
Ok, I took a look:

First, sample is for native, you have to repack the initramfs and modify init.semc.rc to mount loop partitions. You can download 2.50 for loop as a base to take a look on how it's done or even grab the initramfs from it directly, I don't think it changed from 2.45.

Next, your mount command in updater-script is not working, it doesn't mount the system partition. That's why you see the error, it untars in memory and fails because it's completely filled up. If you take a look at /tmp/recovery.log, you'll see this:

about to run program [mount] with 3 args

run_program: execv failed: No such file or directory

run_program: child exited with status 1

And if you check during zip installation with adb shell, mount doesn't show /system mounted.

You should try:

run_program("/sbin/mount", "/system", "");

instead.
[Sony Xperia S, Acro S, Ion] -Johannes-:
AW: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

Would it be possebile for someone to repack the jelly bean leak for loop or native? :p
[Sony Xperia S, Acro S, Ion] fredericcollinss:
The leak firmware JB for xperia S is available. Is it possible to make it for dual boot. because the network doesn't work with the firmware
[Sony Xperia S, Acro S, Ion] Akhil:
Re: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

That would take some time because i think letama will need to make kernel splitter from the scratch because the leak firmware uses 3.4 kernel that means it uses a different cpio , his kernel splitter and script is made to handle ics/jb cpio which are 3.0.y kernel. For this letama would need 3.4 kernel sources which won't happen until sony releases it.
[Sony Xperia S, Acro S, Ion] letama:
No, it's not really the problem, it's just that it had to be repacked manually. The only issue is that it's BIG and doesn't fit the maximum size I defined for system. You'd have to create the loop file manually first.
[Sony Xperia S, Acro S, Ion] -Johannes-:
AW: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

Thanks for your answer.

Would you mind repacking this for us and telling us how to create a bigger loop partion?

- sent from xperia s -
[Sony Xperia S, Acro S, Ion] Akhil:
Re: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

Ohk now i got it, so we got to manually find the initramfs( the old method i guess) and can you give the adb command to increase the loop size? I might give it a try..
[Sony Xperia S, Acro S, Ion] steryman:
updater-script is exactly yours(the one in .50 archive)

About the init.semc.rc, do I have to edit it like in the CM9 tutorial?
[Sony Xperia S, Acro S, Ion] letama:
You're right! My bad, my archive is wrong and doesn't work if you don't mount system before.

Regarding init.semc.rc, yes, cm9 way should work or you could do the repackager way by using the losetup-static, prepare the loops before and then mount them.
[Sony Xperia S, Acro S, Ion] steryman:
Meh you lost me at the repackager. Anyway, I've made the init.semc.rc and made it to flash the kernel and initramfs, but I'm having problems with the system using this updater-script:

assert(getprop("ro.product.device") == "LT26i" || getprop("ro.build.product") == "LT26i" ||
getprop("ro.product.device") == "LT26a" || getprop("ro.build.product") == "LT26a" ||
getprop("ro.product.device") == "nozomi" || getprop("ro.build.product") == "nozomi");

ui_print("LT26i 6.1.A.2.45 firmware for boot manager (loop)");
show_progress(0.100000, 5);
format("MTD", "system");
mount("MTD", "system", "/system");
show_progress(0.700000, 60);
package_extract_file("system.tgz", "/tmp/system.tgz");
assert(run_program("/sbin/tar", "-cvzf", "/tmp/system.tgz") == 0);
show_progress(0.200000, 10);
assert(run_program("/system/xbin/busybox-relink.sh", "");
unmount("/system");
package_extract_file("zImage", "/tmp/zImage");
package_extract_file("initramfs.cpio.gz", "/tmp/initramfs.cpio.gz");
assert(run_program("/sbin/kf", "2", "/tmp/zImage", "/tmp/initramfs.cpio.gz") == 0);
ui_print("Firmware installation complete");

It fails immediately, and I assume this one won't work as it's made for stock, even if changing 1 with 2 at run_program("/sbin/kf", "x"<blah blah blah>

assert(getprop("ro.product.device") == "LT26i" || getprop("ro.build.product") == "LT26i" ||
getprop("ro.product.device") == "LT26a" || getprop("ro.build.product") == "LT26a" ||
getprop("ro.product.device") == "nozomi" || getprop("ro.build.product") == "nozomi");

ui_print("6.1.A.2.50 firmware for bootmanager (stock)");
show_progress(0.100000, 5);
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
show_progress(0.700000, 60);
package_extract_file("system.tgz", "/tmp/system.tgz");
assert(run_program("/sbin/tar", "-xvzf", "/tmp/system.tgz") == 0);
show_progress(0.200000, 10);
assert(run_program("/system/xbin/relink-busybox.sh", ""));
unmount("/system");
package_extract_file("zimage", "/tmp/zimage");
package_extract_file("initramfs.cpio.gz", "/tmp/initramfs.cpio.gz");
assert(run_program("/sbin/kf", "1", "/tmp/zimage", "/tmp/initramfs.cpio.gz") == 0);
ui_print("Firmware installation complete");

About the repackager, as I said before, it fails if it finds .elf kernel within the zip(found some files even in my home folder lol).
[Sony Xperia S, Acro S, Ion] letama:
Ok :)

First correct syntax when using mount/format edify functions is:

format("ext4", "EMMC", "/dev/block/loop2", "0", "/system");
mount("ext4", "EMMC", "/dev/block/loop2", "/system");

Then, what I meant with repackager script way, is to take a look inside the script at how it does it in the init.semc.rc:

1) First you have to copy from prebuilt losetup-static to cpio sbin directory. Make sure that you do it as root and that you have 755 permission on it.

2) Then you edit your init.semc.rc, near the "on fs" section, you add this before the mount commands:

mkdir /sd
wait /dev/block/mmcblk0p15
mount vfat /dev/block/mmcblk0p15 /sd utf8
exec /sbin/losetup-static /dev/block/loop2 /sd/custom_system.ext4
exec /sbin/losetup-static /dev/block/loop3 /sd/custom_cache.ext4
exec /sbin/losetup-static /dev/block/loop4 /sd/custom_data.ext4

3) Then, you edit the mount commands, you replace:

- "/dev/block/mmcblk0p12" with "/dev/block/loop2"

- "/dev/block/mmcblk0p13" with "/dev/block/loop3"

- "/dev/block/mmcblk0p14" with "/dev/block/loop4"

Last point, if you want to troubleshoot the init.semc.rc, you can increase loglevel value (it's in one of the *.rc), it will give you more messages in the dmesg (if you boot) /proc/last_kmsg (if it reboots or hangs, look at it from recovery).
[Sony Xperia S, Acro S, Ion] steryman:
Re: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

So if I've edited the init.semc.rc like in the cm9 tutorial without copying losetup-static(you didn't mentioned it in the tutorial), will it still work? And I assume what you told me to edit in it is for loop?
[Sony Xperia S, Acro S, Ion] letama:
cm9 tutorial way should work yes. I prefer the losetup-static way globally as you know exactly which loop device is assigned to which partition and because you're not always sure that loop@ syntax is implemented in init binary.

And yes, the edits are for loop, this is if you do it with losetup-static. If you're using cm9 loop@ syntax, you just follow cm9 guide for mount commands.
[Sony Xperia S, Acro S, Ion] steryman:
Re: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

Well now I've got another problem: I've tried replacing the string in the updater script with your but I'm still getting status 6 error. I'll try to remake it manually tomorrow.

Later Edit: about status 6, it seems I've forgot to sign the zip. I'll do that tomorrow. Thanks for your help :)
[Sony Xperia S, Acro S, Ion] Akhil:
CM 10.1 v0.2

Loop
[Sony Xperia S, Acro S, Ion] -Johannes-:
AW: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

Latema could you upload your repacked jb leak please?

- sent from xperia s -
[Sony Xperia S, Acro S, Ion] steryman:
Re: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

I've made it and the post above contains the error when flashing
[Sony Xperia S, Acro S, Ion] Apology11:
AW: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

He made one himself becore you did, that works, but he didnt uploaded it here since he is wayting for permission of doomlord as doomlord stated in his tread not to mirror the files.

Gesendet von meinem Xperia S mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] steryman:
Ok but I'll be happy if letama helps me with my problem(not that I want the Jelly Bean on my loop to be "cool" because others still don't have it, but I want to know how to solve such problems so I can make for more ROMs :) )

Well I guess I know how I can fix it but I must know how I can extend the loop system capacity without reinstalling everything
[Sony Xperia S, Acro S, Ion] Apology11:
AW: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

How big is your custom_system.ext4?

Error writing 12288 bytes from zip file from 0xbe8b3344: No space left on device

Did you use a one of the spaces you can select when using loop the first time? Because the image is bigger than that so you cant copy it to the file. You have to edit it manually to be about 800mb I guess.

Gesendet von meinem Xperia S mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] steryman:
Yes I know I've deleted the custom_system.ext4 file to make the boot manager prompt for a new one and I've made it bigger. I hope 768 are enough... otherwise Letama should tell me how I create the partition with bigger capacity.

Later Edit: Aaaand.... the system isn't yet big enough... Letama I need your help again :D
[Sony Xperia S, Acro S, Ion] Apology11:
I think you have to do something like:

dd if=/dev/zero of=/sdcard/custom_system.ext4 bs=1024 count=819200

Where the "count=" spesifies the size of the image.
[Sony Xperia S, Acro S, Ion] steryman:
Nah I've made it using resize2fs :) Now I've managed to install it, the kernel boots but it reboots when loading the rom... I guess I know where I've made a mistake.
[Sony Xperia S, Acro S, Ion] -Johannes-:
AW: [Tool] Xperia S Boot Manager v0.6, a real dual boot system

Do you think you could upload?
[Sony Xperia S, Acro S, Ion] steryman:
Yes, I just have to fix something(Letama's repackager forgot to edit something :) Not a problem, it's yet a testing repackager) but take in mind if you want the loop(I only tested the loop version) you will need to make yourself a bigger custom_system.ext4. I will tell you how after I fix the zip.

Edit: This rom hates me, now it's stuck on kernel

EDIT2: IT WORKED! I'm uploading it now. For now, only the loop. I'll start now to compile the stock too. Note: I don't think it will work with a system smaller than 600MB... the zip is 554MB, and the standards for system are 384,512 and 768 MB
[Sony Xperia S, Acro S, Ion] steryman:
bm_loop_JellyBean_leaked.zip

​

Part 1(aa): http://www29.zippyshare.com/v/93672511/file.html

Part 2(ab): http://www29.zippyshare.com/v/43360338/file.html

Part 3(ac): http://www29.zippyshare.com/v/6022137/file.html

bm_native_JellyBean_leaked.zip

WARNING: Not tested!​

Part 1(aa): http://www66.zippyshare.com/v/79541256/file.html

Part 2(ab): http://www66.zippyshare.com/v/17760369/file.html

Part 3(ac): http://www66.zippyshare.com/v/79676319/file.html

Enjoy! :)

Credits: DooMLoRD for providing the leaked JellyBean and ofcourse SONY :)

DooMLoRD's thread: http://xdaforums.com/showthread.php?t=2154723

Later Edit: Now it's late, I will post tomorrow a guide how to modify the size of custom_system.ext4.

About root, I don't know if it's working well, I didn't tried it. Please tell me if it doesn't work so I may fix it.

Later Edit 2:

Mirrors:

Loop:

Part 1(aa): http://d-h.st/hy9

Part 2(ab): http://d-h.st/lh3

Part 3(ac): http://d-h.st/PfZ

Native:

Part 1(aa): http://d-h.st/Tb9

Part 2(ab): http://d-h.st/r9D

Part 3(ac): http://d-h.st/Hc8
[Sony Xperia S, Acro S, Ion] letama:
Hello Guys,

Sorry for the delay, I've been a little busy at work.

Bootmanager 0.8 is out, it supports 1 GB system loop, it should help for DooMLoRD leak. Upgrade has been tested and seems to work fine, let me know...

steryman, could you give credits to DooMLoRD in your post and link back to his thread please ?
[Sony Xperia S, Acro S, Ion] Akhil:
Re: [Tool] Xperia S Boot Manager v0.8, a real dual boot system

Thanks !

BTW you mentioned that offline charging isn't working in CWM, it worked in previous versions, is this conflict due to the new system size or something else?
[Sony Xperia S, Acro S, Ion] letama:
No, it still works like it was in 0.6. What is different in 0.8 that it's embedded in twrp recovery now, meaning that you have this:

Poweroff->Plug in->Reboot->Bootmanager kernel->offline charging. Exactly like a regular rom.

With cwm, you have (and you had in 0.6):

Poweroff->Plug in->reboot->Bootmanager kernel->reboot->native kernel->offline charging

When very low on battery, the phone could not have enough power to do the second reboot and therefore be difficult to charge... I was able to embed in twrp because it uses libc as a dll and linker where cwm is using libc statically. Unfortunately, powermon, responsible for offline charging is dynamically linked so I can't embed it in cwm recovery.

Hope it clarifies :)
[Sony Xperia S, Acro S, Ion] steryman:
Done. Sorry for the delay but my internet was down since this morning till now :D

Oh and, I don't have superuser permissions even if there is the su binary... I've also tested with installbusybox integrated and still nothing. I guess it's DooM's zip fault.
[Sony Xperia S, Acro S, Ion] Soheil_rf:
any mirror ??

please upload to mediafire
[Sony Xperia S, Acro S, Ion] steryman:
Re: [Tool] Xperia S Boot Manager v0.8, a real dual boot system

Okay I will when I get on pc but.. May I ask why? Just curoius.

@Letama: someone said you've made yourself the jelly for bm, can you tell me if the root works for you?
[Sony Xperia S, Acro S, Ion] mirhl:
since dual boot has its own recovery, you can at anytime flash superSU.zip and gain root access
[Sony Xperia S, Acro S, Ion] -Johannes-:
AW: [Tool] Xperia S Boot Manager v0.8, a real dual boot system

I used your repacked native Rom and I have root.

Gesendet von meinem Nexus 7 mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] steryman:
I've tried that but it didn't worked(on loop). I will try to manually edit the system partition.

Edit: when I mounted the loop system partition, all the links in xbin showed as failed... strange

Edit 2: I ask someone here(maybe androidlover007) to mirror my files to mediafire if possible, my internet is going slow again(I usually have good download speed from mediafire but bad upload to it).
[Sony Xperia S, Acro S, Ion] letama:
Yes, root is working fine on mine.

steryman, two things:

1) Check if your loop is not mounted ro, you could have issue remounting rw depending on how you did the mount.

2) Check if you didn't leave original /system/bin/su: Superuser su should be in /system/xbin/su, chmod 6755, and a symlink to it should be in /system/bin/su.
[Sony Xperia S, Acro S, Ion] steryman:
Well I am the one with the su problem, the symlink was made when installing the zip, so it was automatically mounted and the script took care of chmod... After I've edited the system partition and re-added the su myself, now it's stuck on kernel...

set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");

The su file is in bin, not xbin, but androidlover007 said it works on native(su file in bin too).

Ok so I've managed to make su file work, but superuser denies itself automatically root access.. dafuq
[Sony Xperia S, Acro S, Ion] letama:
Oups, sorry for the mistake :)

Ok then... I don't see what's wrong if the file was correctly extracted. I did it manually on my loop build in xbin, but it should be equivalent, yes.
[Sony Xperia S, Acro S, Ion] Soheil_rf:
Re: [Tool] Xperia S Boot Manager v0.8, a real dual boot system

With mediafire we can use direct download and faster speed :)
[Sony Xperia S, Acro S, Ion] steryman:
Well at zippyshare all you need is complete a captcha, and you have max speed(I usually download with 7MB/s :) )

Anyway, mirrors are posted on the same post with the original links.
[Sony Xperia S, Acro S, Ion] Forzaferrarileo:
R: [Tool] Xperia S Boot Manager v0.8, a real dual boot system

Could anyone, repack for native my latest test version of my kernel(it's pretty complete, miss of some scheduler and governor) ? i'm not able to do it, because of 32 bit ubuntu
[Sony Xperia S, Acro S, Ion] steryman:
Sure, give me link to it.

Edit: Found it. Loop is done, working on native.

Loop: http://www9.zippyshare.com/v/63028746/file.html

Native: http://www27.zippyshare.com/v/98879664/file.html

Done. Not tested.

@Letama: it seems every broken link has permission 777 instead of 755, I could fix it by chmod to entire xbin, but I don't know if every file in xbin is executable too
[Sony Xperia S, Acro S, Ion] Forzaferrarileo:
R: [Tool] Xperia S Boot Manager v0.8, a real dual boot system

Thanks very much!
[Sony Xperia S, Acro S, Ion] Felimenta97:
Ok... how the F*ck I unzip that to install? I unzipped with 7zip and unzipped the whole ROM. Or the TWRP will deal with the strange zip files?
[Sony Xperia S, Acro S, Ion] mirhl:
rezip it and then you can flash