yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] isoladisegnata:
hi letama ... can you repack loop and native novakernel 1.22...?

and then I have a question :

for hei's ROM ... How install TWEAK PACK? must be repacked?
[Sony Xperia S, Acro S, Ion] Akhil:
You can directly install the tweak pack, it doesn't need repackaging..
[Sony Xperia S, Acro S, Ion] Apology11:
I'm not sure, it uses aroma and it has a kernel included afaik.

Gesendet von meinem Xperia S mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] Akhil:
No afaik it doesn't include a kernel.. Lol

It only contains gapps, apps, tweaks etc etc..
[Sony Xperia S, Acro S, Ion] letama:
Well, there is a kernel there, but it's not installed, so this part is fine.

However, it mounts system/data and erase cache by using mmcblk* devices, so you need repacking for loop. native is fine.
[Sony Xperia S, Acro S, Ion] Akhil:
I was saying that only that it contains a kernel but as a option..

BTW can you wirte a detailed instructions on repackaging as the one written by apology11 isn't working?
[Sony Xperia S, Acro S, Ion] cyx2009cjw:
sorry, I'm not very clear about this tool. As a 17 years old Chinese man, I'm not very good at English. could you give me a explain about what is the uses of your tool? Thx.. sorry for my poor English
[Sony Xperia S, Acro S, Ion] letama:
Well the instructions are fine except launching:

Installation:

mkdir repackager

cd repackager

tar -xvzf ../repackager_0.1.tgz

Repackaging:

copy rom zip in repackager directory

do this as root (sudo su):

./repackage.sh OriginalRomFilename.zip rom_file

change last parameter (rom_file) with whatever you want, it's the middle part of output zip file name)

At the end, if all goes well, you should have three zip in the repackage directory:

bm_loop_rom_file.zip

bm_native_rom_file.zip

bm_alt_rom_file.zip

you can trash bm_alt* one, it's for second set of native partition.
[Sony Xperia S, Acro S, Ion] letama:
Well, as far as I know, Acro S is having different kernel, so no, it probably doesn't work. And sorry, but I can't port what I did if I don't have the device, shrinking the kernel is difficult if you can't test it.
[Sony Xperia S, Acro S, Ion] letama:
It works fine here too.

Did you try cm10 already without bootmanager ? It was working ? It could be related to the kernel I built, but I don't think so.

You're in France, no ? What operator ?
[Sony Xperia S, Acro S, Ion] letama:
No, no problem... I don't mind mirror, I just don't have the energy to re-upload 1.2gig again :)
[Sony Xperia S, Acro S, Ion] Felimenta97:
2 more questions before I do this now:

1. I'm using SSpeed v6 with a modded 2.45 firmware (not a custom ROM, just a hell lot of modded files). It should work normally? If not, how I can keep root flashing the stock kernel?

2. I won't lose my main ROM custom data on the first process, right?

Sorry, kinda confused here.
[Sony Xperia S, Acro S, Ion] letama:
Yes, it should work, you will loose your SSpeed kernel and be back to 2.45 stock. You shouldn't loose root, flashing dual.elf won't touch any partition and your system one should still have su+SuperUser.apk or whatever you have.

Right. Don't flash anything on stock cwmod, you'll keep everything as it is.
[Sony Xperia S, Acro S, Ion] niaboc79:
I'm from Belgium, next to France ;)

CM10 or AOKP work fine without bootloader.

With bootloader only CM9 works. I'm using the same APN all the time so I think that it's related to your kernel.

Envoyé depuis mon LT26i avec Tapatalk
[Sony Xperia S, Acro S, Ion] Felimenta97:
Working perfectly. Thanks. The cache partition isn't too big (250 Mb)? Anyway, thanks for this. AOKP plus Sony firmware is awesome.

Sent from my LT26i with Tapatalk 2
[Sony Xperia S, Acro S, Ion] letama:
Ok, kernel problem probably then. Can you provide me logs ?

I'd need logcat *:v, logcat -b radio *:v, and dmesg...
[Sony Xperia S, Acro S, Ion] letama:
I used 256 MB because native partition is having this size. But it's true it's a bit on the high.
[Sony Xperia S, Acro S, Ion] niaboc79:
I'm not certain for the dmesg but here's the files ;)
[Sony Xperia S, Acro S, Ion] letama:
Thanks for the logs, dmesg is fine.

I checked them but I didn't see anything obvious, I don't know what could go wrong. Sorry! I'm not sure I compiled proper branch and version of the kernel, but it seems to be the right one looking at commits. I'll double check, but I'm a bit pessimistic... I hope that cm10 kernel will come back to compressed kernel someday to be able to use their binaries directly.
[Sony Xperia S, Acro S, Ion] mharckk:
can u upload it to other server? my net is acting strange right now
[Sony Xperia S, Acro S, Ion] Jean-DrEaD:
Someone knows why some game(9mm for ex.) "sharing" savedata in both roms, and majority don't? Have a way to all share this?

My solution to this is TB backup/restore... Too much work...

Thx!
[Sony Xperia S, Acro S, Ion] letama:
It's game developer choice to save on internal or data partition. From a developer point of view, data partition is good because there is no risk that the user remove it from storage accidentally for instance. However, usually data size is limited so some prefer to save on internal storage to be sure to have free space.

I don't see any real good solution to share data between the two roms.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Im wondering here. Install zips with CWM on both roms works perfectly? Same for backup/ restore?

And pushing apps from computer, will it push to the right folder?

Sent from my LT26i with Tapatalk 2
[Sony Xperia S, Acro S, Ion] letama:
Install modified zips works yes, for the other zips, it depends how they mount system. For instance, unmodified gapps is working fine.

Backup/restore on stock works, I used it to test cm9 on stock. I didn't try on custom, but new cwm way of doing backup could be confused if you use it on both I presume.

Pushing apps from computer will work yes.
[Sony Xperia S, Acro S, Ion] skifyr123:
Finally took time to try this, and damn it is awesome! Thanks.
[Sony Xperia S, Acro S, Ion] niaboc79:
thanks ;)

I'll try to find by myself what doesn't work. ;)
[Sony Xperia S, Acro S, Ion] Felimenta97:
I noticed AOKP isn't seeing any pictures on the SD Card. I dunno if it is due to this or a AOKP problem...
[Sony Xperia S, Acro S, Ion] letama:
I don't know either, but aokp gallery is ok for me. My setup is a bit different as I'm running on native partitions for both builds, but it shouldn't have impact on internal storage parsing for medias.
[Sony Xperia S, Acro S, Ion] Apology11:
The zip I uploaded was modifyed to only output loop and native and to just take tge original filename with bm_loop or bm_native before it. Also it deleted zip out folder in the end.

Gesendet von meinem Xperia S mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] letama:
This part is strange. It seems that sksplit is not working properly on your computer.

Can you try to run it and see what it says ? Running on 64 bits Ubuntu?
[Sony Xperia S, Acro S, Ion] Akhil:
It says "Cannot execute binary file "

I am running on 32 bits ubuntu..Should i install 64 bits?
[Sony Xperia S, Acro S, Ion] -Johannes-:
Guys which kernel can I flash for txperience.

I think I can't flash the regular advanced stock kernel. Or am I wrong?

I have it on loop partition ;)
[Sony Xperia S, Acro S, Ion] Akhil:
You can only flash repackaged kernels and ROMs , if you try to flash any nornal kernel or ROM , your dual boot kernel will be replaced..

You can flash repackaged elite kernel , xspeed kernel ... Don't ask for links ..search it yourself..
[Sony Xperia S, Acro S, Ion] -Johannes-:
I don't want to read 150 pages :(
[Sony Xperia S, Acro S, Ion] letama:
That's your problem...

You can install 64 bits or recompile sksplit from source:

cd repackage/prebuilt
wget https://gitorious.org/sony-tools/sony-tools/blobs/raw/master/split_sony_kernel.c
gcc split_sony_kernel.c -o sksplit

then try again...
[Sony Xperia S, Acro S, Ion] letama:
Advanced stock kernel isn't needed with boot manager, just flash stock kernel for loop. Check post #3 "Sony 6.1.A.2.55 unsecure kernel only" in loop section.
[Sony Xperia S, Acro S, Ion] Akhil:
I will try and let you know..

---------- Post added at 01:17 AM ---------- Previous post was at 01:16 AM ----------

You don't need to read it , if you want to get attached files of any ROM , just open the development section , you will see a small clip symbol on the right side of the name of the ROM, just click it and you will see every attached file of that ROM...
[Sony Xperia S, Acro S, Ion] -Johannes-:
Okay I have no root in loop section and my wifi doesn't work.

I tried with speed kernel but same problems there :thumbdown:
[Sony Xperia S, Acro S, Ion] Akhil:
The link is not working..
[Sony Xperia S, Acro S, Ion] Felimenta97:
Ap, the Elite kernel you repacked had GPU overclocked or not?
[Sony Xperia S, Acro S, Ion] Akhil:
yea it was the GPU OC version..
[Sony Xperia S, Acro S, Ion] letama:
it works fine here, strange. Here is the file.
[Sony Xperia S, Acro S, Ion] Akhil:
Thank you so much for the file Letama...

But i have also installed 64 bits Ubuntu...

The script is working fine...
[Sony Xperia S, Acro S, Ion] letama:
Ok, good! :)

64 bits is better anyway, it's mandatory if you want to build android or cm someday.
[Sony Xperia S, Acro S, Ion] Akhil:
Yea that is the main reason and one more thing is that you can run 32 bit applications in 64 bit by installing some lib files...
[Sony Xperia S, Acro S, Ion] isoladisegnata:
Hi Letama .... I have two requests if you can your own consulting:

- can I try with virtualbox to run the script?

- If you can write a script more detail about

for poor beginner...:cyclops:

thanks
[Sony Xperia S, Acro S, Ion] letama:
Sure, it works fine in any good virtual machine, and virtualbox is very good.

Check previous page (118), I posted a quick howto, it's very easy to use (when it works :)).
[Sony Xperia S, Acro S, Ion] Akhil:
Nova Kernel v1.22

Native

Loop
[Sony Xperia S, Acro S, Ion] isoladisegnata:
ok...

where can I find an image file on ubuntu 64 bit for virtualbox

I have already tried ubuntu amd 64 beta1 ... but don't start
[Sony Xperia S, Acro S, Ion] Akhil:
Goto ubuntu.com, there you will find the iso file, there are hundreds of video in youtube on setting ubuntu in virtual machine, just check them out and you will understand everything..
[Sony Xperia S, Acro S, Ion] Akhil:
Forzaferraileo kernel V1

Native

Loop

Elite kernel V2 -GPU CPU OC

Native

Loop
[Sony Xperia S, Acro S, Ion] isoladisegnata:
Hi Ap0...I have downloaded ubuntu-12.10-desktop-amd64 ISO but when start it ...This kernel requires an x84-64 CPU, byt only detected an i686 CPU.

Unable to boot - please use a kernel appropriate for your CPU.:confused:
[Sony Xperia S, Acro S, Ion] Apology11:
Do you run the VM on a 32bit Windows? And which CPU do you have?
[Sony Xperia S, Acro S, Ion] lilude56214:
Hey letama

A couple of previous pages you said XTX 8.1 does not require repacking on native, but i got FAILED error when installing in CWM for native. On the contrary, Installing Nova RC2 on loop was successful without any trouble. I have not tried other Roms for native yet as the download speed of uploaded.net is quite slow. So, I wonder if you can help me, i didn't use dual boot for a while, exactly since v2.

PS : forgot to mention that installing repacked elite kernel for native was successful, too. For this reason, i think the problem here is XTX 8.1 without repacking for native.
[Sony Xperia S, Acro S, Ion] letama:
Well, I'm 90% sure that xtx doesn't need repacking, my script wouldn't do anything on it. You have a failed error at installation ?

Are you sure your download went well ?

Can you put the /tmp/recovery.log of it somewhere (pastebin or else) so that I could take a look ?
[Sony Xperia S, Acro S, Ion] lilude56214:
You're right, I figured it out and solved the problem. Your work is truly amazing, Way to go, man!
[Sony Xperia S, Acro S, Ion] Akhil:
Nova Kernel 1.3

Native

Loop

If requested i would also repackage tosa.th 's stock kernel v5.1
[Sony Xperia S, Acro S, Ion] blackcat510:
How you solve the problem man? I'm having the same problem when I reflash xtx 8.1 on native. It said failed and can't mount /system? (Last time I flash XTX was when I hadn't used dual boot yet, then I flash dual.elf and do the flashing on loop, now I install XTX again on native and having problem...)

EDIT: I have changed native recovery from default TWRP to CWM and successfully installed XTX 8.1 on native. Don't know what is the problem with TWRP on native?
[Sony Xperia S, Acro S, Ion] lilude56214:
You needn't flash XTX again on native in case of coming from XTX 8.1 as this Rom is already ON native. What you should do is flashing another Rom on loop. Here is my own way to solve the problem

1. Flashing a normal kernel such as : advanced stock, SSpeed,...via fastboot to get single boot ( I'm not sure that flashing via CWM could work properly)

2. Flash XTX 8.1 and boot to homescreen

3. Flash dual boot kernel via CWM or fastboot and then reboot

4. Go into TWRP for loop and flash any moded Roms for loop and it DONE here

Now you'll have XTX 8.1 on native and another Rom on loop, so happy :good:
[Sony Xperia S, Acro S, Ion] blackcat510:
Thanks for your reply, but there was something wrong with XTX 8.1 so I try to wipe everything and reflash it on native but it doesn't work :D. And the way you solve the problem like the way I used to install dual boot so nothing new :P ^^".

Anw, tks :)

Edit: After I change Native recovery back to TWRP, it works again :|. How strange ... Wonder if there's any prob with TWRP integrated in dual boot?
[Sony Xperia S, Acro S, Ion] isoladisegnata:
Hi Ap0...a little help for me...

I'm trying to repack novakernel 1.3....

in terminal--------

root@ubuntu:/home/ubuntu/repackager# sudo su

root@ubuntu:/home/ubuntu/repackager# tar -xvzf ../repackager_0.1.tgz

repackage.sh

prebuilt/

prebuilt/sksplit

prebuilt/losetup-static

prebuilt/update-binary

NovaKernel-nozomi-1.3.zip

root@ubuntu:/home/ubuntu/repackager# dir

NovaKernel-nozomi-1.3\ .tar NovaKernel-nozomi-1.3.zip	prebuilt repackage.sh

root@ubuntu:/home/ubuntu/repackager# sudo su

root@ubuntu:/home/ubuntu/repackager# ./repackager NovaKernel-nozomi-1.3.zip try

bash: ./repackager: No such file or directory

----------------------

....ubuntu 12.10 64bit on windows 7, something is missing? where am I wrong?
[Sony Xperia S, Acro S, Ion] lilude56214:
haha, sorry to hear that its useless for you :( the fact of the matter is that XTX 8.1 can't flash on TWRP for native but CWM. My own way and your way are just temporary solution anyhow.

Yesterday I said that XTX 8.1 needs to be repacked but letama's sript said it doesn't. So, I have the same idea for the reason of problem, TWRP.
[Sony Xperia S, Acro S, Ion] Apology11:
Did you used /storage/sdcard as directory ?
[Sony Xperia S, Acro S, Ion] letama:
My bad, I typed tuto too quickly; it's:

./repackage.sh NovaKernel-nozomi-1.3.zip try
[Sony Xperia S, Acro S, Ion] letama:
I fixed it since then, problem with initramfs.

Currently I'm struggling with drivers, I can't enable hardware codecs with the one provided by Sony, and I suspect that memory is not allocated properly. At some point I had almost everything working (camera, sensors, lights, storage, data...), but without codecs, it's kind of useless.
[Sony Xperia S, Acro S, Ion] M.WeWe:
Hi

i am using windows 7

and i don't know anything about linux or ubuntu

and i need to run dual boot with those roms

1- stock rom that have arabic language (to be able to use HDMI)

2- CM9.1 FXP202 + Google apps + AC!D Audio V6.1 + Walkman Engine V6.1 + Xperia Fidelity V3

Can anyone help me
​
[Sony Xperia S, Acro S, Ion] Akhil:
i figured out that mistake when you wrote the tutorial..

---------- Post added at 01:54 AM ---------- Previous post was at 01:49 AM ----------

FOr installing dual boot , you have to be on a stock ROM otherwise all your data will be lost , so first install .55 firmware and then install dual boot kernel then you can flash repackaged CM 9.1 on loop,
[Sony Xperia S, Acro S, Ion] M.WeWe:
thank you for fast respond

from where i can get cm9.1 FXP 202 repacked
[Sony Xperia S, Acro S, Ion] Akhil:
Just look at third post on the first page , you will see a column for native and loop , native means 1st rom and loop means 2nd rom , after flashing dual boot kernel you will have two recoveries , one for native and one for loop ..

I guess no one has repackaged CM 9.1 FXP 202 , just click on the name of the ROM and download the repackaged ROM..
[Sony Xperia S, Acro S, Ion] M.WeWe:
you mean the one in this link

https://sites.google.com/site/projectfreexperia/download/cyanogen-mod-9

sorry but i am total noop
[Sony Xperia S, Acro S, Ion] Apology11:
Seems like you are the one who got further than most other developers. If you dont't want to publish it yourselfe if you get the codecs to work, maby you can help here https://github.com/OpenSEMCwith cm10.1 ?

The build you uploaded here is the one that really boots, most other versions here in the forum didn't even boot.

Gesendet von meinem Xperia S mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] letama:
Well, we'll see up to where I can go. I tried few combination of driver/kernel, but so far it doesn't work the way I want. I'm currently working on hybriding fxp kernel with nexus 4 proprietaries, I'm not sure yet it can even work (nexus is adreno 225, we have 220). That's the only combination I can think of being able to work with the proprietaries we have now, but it may not work at all.

If this doesn't work, the only solution would be to make the proper changes to aosp to support 4.1.x binaries we have with FXP, but it won't be easy.

If I manage to do something that seems remotely solid, I will publish it...
[Sony Xperia S, Acro S, Ion] M.WeWe:
sorry guys but i need some help to do it
[Sony Xperia S, Acro S, Ion] isoladisegnata:
wowowowow....thank you very much...work fine I made ​​my first repack...:good:

driving me banana...
[Sony Xperia S, Acro S, Ion] Akhil:
PA 2.57

LOOP
[Sony Xperia S, Acro S, Ion] fabidesca:
hello

if I understand correctly, you just download the 0.6 upgrade and install via cwm??
[Sony Xperia S, Acro S, Ion] letama:
No, upgrade is for previous versions of boot manager. For first install, take regular one ( bootmanager_0.6.zip ) and install it from cwm...
[Sony Xperia S, Acro S, Ion] -Johannes-:
Is there someone who could repack this? http://xdaforums.com/showthread.php?t=2099499

I would do but I have no Linux.

Gesendet von meinem Nexus 7 mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] Felimenta97:
Letama can say this better, but I think that it will take a bit more work to repack a new Android version.
[Sony Xperia S, Acro S, Ion] Akhil:
I don't think so it will take anything extra because the kernel is still of version 3.0.57 ..

I have repackaged it but there is some problems in the ROM that its not booting so no point in uploading it here..
[Sony Xperia S, Acro S, Ion] sognare69:
i have a problem when i try to install the xperience v9 ics in the stock recovery, because when i try to install just say, cant mount system, and i cant install tthe rom. help please
[Sony Xperia S, Acro S, Ion] letama:
Are you able to install another repackaged rom on native recovery ?

Can you show me /tmp/recovery.log after trying to install ?

I can't download v9 to check, site is down but usually xtxperience doesn't need any repackaging... Strange.
[Sony Xperia S, Acro S, Ion] sognare69:
when i try something just say E:\ cant mout

i try to do factory reset dalvik cache and nothing, and the .log doesnt exist

e: Unable to mount ' /system

Sorry for my bad english
[Sony Xperia S, Acro S, Ion] letama:
Your system partition seems to be corrupted. You should try to re-flash a stock firmware with FlashTool or Sony one.

Be careful with the version of FlashTool you're using, I saw that some versions are not working properly. Last one should work (0.9.10.1).

What did you install before this one? Was it installed from boot manager ? I'd be interested to know what rom/recovery is corrupting system partition.
[Sony Xperia S, Acro S, Ion] ahmedyar91:
Hi everybody

I Am Using Xperia S From Past 7 Month

I Wanted To Install This Big DUAL BOOT Thing From The First Time I Saw It.. But Always Hesitated In Trying This..

Just Wanted To Ask A Question.. I Am Going To Install Dual Boot..

I Read Some Where IN The Thread That.. I Won't Be Able To See Internal Storage Data Becoz both Roms Have Different Storage... Or Something Like That..

Can Any Body Please Tell Me Is It True..!

Any Help Would Be Really Appreciated..!!
[Sony Xperia S, Acro S, Ion] Felimenta97:
When you create the dual boot thing, it will create three different files, at the size you choose on your SD Card. Those files will act as they are the partitions from the loop ROM.

That means that partitions you have now (System, Data and Cache) will be the same. They won't be messed up, but you will only be able to access them when you're on the Native ROM. When you're on loop, you will have access to those files, that act like they are partitions.

Did you got it?

@Letama: You think that you could enable somehow to access the internal memory from the other partitions when on the other kernel? I mean, for example: You're on loop kernel and want to get the apk from the native kernel, and you access it freely?
[Sony Xperia S, Acro S, Ion] ahmedyar91:
I Think I've Got It Felipe..

Correct Me If I Am Wrong

Like I will Have The Access From Native Rom To The Full Internal Storage And From Loop I Can Only Access The Files That Are In The Loop Partition.

Thanks For The Information.!!
[Sony Xperia S, Acro S, Ion] Felimenta97:
Yeah. It's like there are two data partitions, two system, two cache. The second partition acts as a file when you see the SD card (that, btw, you can see from both ROMS)
[Sony Xperia S, Acro S, Ion] ahmedyar91:
Thanks felipe..
[Sony Xperia S, Acro S, Ion] blackcat510:
I still get that problem when installing XTX from ver 8.

The workaround is:

1. Flash a stock / ics kernel with recovery using current recovery / fastboot.

2. Install XTX 9 normally

3. Then boot XTX 9 and let it settle (not necessary, just to make sure it work :D)

4. Turn off and go into fastboot mode again.

5. Flash dual.elf :).

There you go, now you have XTX 9 and dual boot again ^^"

To letama, I think there's some problems when flashing XTX with native recovery, although sometimes I got success when change native recovery to CWM, but the last time I tried, I changed to CWM, and the system partition still corrupts, wipe everything doesn't work, so I have to do the above workaround to fix :(. Hope you find the problem soon :P. Regards :D
[Sony Xperia S, Acro S, Ion] letama:
It's strange, I just tested installation of xtx9 on native, from twrp, it worked fine.

I just wiped data, flash xtx9 unmodified, flashed 6.1.A.2.55 kernel and it booted right away. Native was on cm10 before...

I know that there is a caching problem when you flash a kernel, don't reboot straight away after flashing one and you should be fine. But I never had any system partition corruption.
[Sony Xperia S, Acro S, Ion] Felimenta97:
It worked perfectly for me, also. XTX v9 flashed perfectly with me...

@Letama, any info on what I asked earlier?
[Sony Xperia S, Acro S, Ion] letama:
About this ?

Well, partition is there so yes, it could be mounted and you could copy apk from it to the loop partition and reverse. Now, doing an app for that is probably a bit too much, but I'll see what I can do.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Ok. No need for an app. I think it should work by creating a patch to access it?
[Sony Xperia S, Acro S, Ion] letama:
How do you see this ? You have to have apks in the running /data partition so you have to copy them from native to loop for instance ?

You can modify cpio to mount the "other" partition, but how would you copy from one to another, with a root file manager ?
[Sony Xperia S, Acro S, Ion] Felimenta97:
Yeah. Exactly. Mounting the partition and using a file manager with root access. I think it should work.