yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] Felimenta97:
So you basically added that without knowing what that was? It is on the boot UI, and both recoveries.

"What really matters in this world, anyway?"
[Sony Xperia S, Acro S, Ion] letama:
Ah, you meant alternate maybe ?

Alternate is for me mostly (at least for now), it's to run a cwm on my second system and data partitions (mine is re-partitionned). I completely forgot that I added it to the menu since 0.4, I modified changelog to reflect it.

Sideload does exist in cwm, that's why I'm confused, and I really have no clue about what it does :). Sideload refers to install something on device without going through market, but in a recovery I don't know.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Oh, I see. So is just ignore for now?

"What really matters in this world, anyway?"
[Sony Xperia S, Acro S, Ion] letama:
Yes, you can't use it for now, it won't work without the partitions.
[Sony Xperia S, Acro S, Ion] championswimmer:
I was trying too

Had a skewed up toichscreen calibration

Nice to see your one working perfectly
[Sony Xperia S, Acro S, Ion] letama:
In fact, I didn't do anything about calibration, I think last twrp is doing it all by itself. I remembering reading in Aroma's thread that twrp team developed a new library that doesn't need calibration anymore.

Latest Aroma is using it too now, I compiled it a couple of weeks ago when I was troubleshooting the cwm color problem and touchscreen is indeed behaving completely properly with it. Aroma was a bit unstable at that time though, so I didn't push much further.
[Sony Xperia S, Acro S, Ion] Apology11:
AOKP 4 r1 works now. Even with standart boot screen. Will upload it tomorrow.

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] Cach123:
Thank you so much!
[Sony Xperia S, Acro S, Ion] Felimenta97:
Letama, would it be hard or will use a lot of space to include more CPU governors? I'm missing some that could be good.

Oh, and init.d support for both ROMS, defined by kernel.

Also, this work perfectly? http://xdaforums.com/showthread.php?t=1920057

"What really matters in this world, anyway?"
[Sony Xperia S, Acro S, Ion] letama:
On which rom ? You should ask this to the rom creator, we're using the kernel provided with it.

Same thing, ask rom creator, I want to stay as close as possible to original rom...

I don't know. I guess it should...
[Sony Xperia S, Acro S, Ion] Soheil_rf:
@Letama

Is necessary to have two address for internal ?

/mnt/sdcard

/sd
[Sony Xperia S, Acro S, Ion] letama:
Yes. /sd is required to access loopback files and I can't use /mnt/sdcard instead: it's handled by vold and comes too late in boot process.
[Sony Xperia S, Acro S, Ion] brim4brim:
Any chance of some mirrors?

uploaded.net says I need to register or something (it isn't in English so I can't read it).

Why not use Google Drive or box.com or something?
[Sony Xperia S, Acro S, Ion] Apology11:
Just klick "mirrors".

Because you can share the file only for a counted number of downloads.

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] letama:
I just added a link to elepelas post with the builds he mirrored, check at the bottom of my firmware list.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Oh, for the two first things, I thought it was related to the kernel, not the ROM itself. Sorry. And the third asked because of the mount points.

"What really matters in this world, anyway?"
[Sony Xperia S, Acro S, Ion] letama:
Yes, it's related to kernel and each rom is using its own, not mine. That's the main benefit of boot manager, being able to use the original rom kernel and why you can have stock and cm10/aokp at the same time (cm10/aokp won't run properly with a stock kernel).

3rd one if I read source code properly is passing flash commands to the recovery through the cache partition, so it should work fine. However, you will have to select the matching cwm when it reboots to have the command executed on the right build. I didn't test it though. I'll take a look someday at the reboot to recovery, it would be nice to have it working and going directly to the right recovery. I'm not sure it will be possible though, Sony bootloader intercepts reboot to recovery command.
[Sony Xperia S, Acro S, Ion] Felimenta97:
I see. I'm using TXTexperience, so I don't think it has support for it. Gonna ask the dev. Thanks letama, and sorry for the time.

"What really matters in this world, anyway?"
[Sony Xperia S, Acro S, Ion] Apology11:
AOKP 4 build 1

Bootmanager v0.5 required!!!

http://www.mediafire.com/?z42r3be2jdasyez
[Sony Xperia S, Acro S, Ion] letama:
Ah, yes, XTXperience is not embedding any kernel so it uses the previously installed firmware. So it's stock or KA SSpeed kernel depending what you had before...

And no problem for the time!
[Sony Xperia S, Acro S, Ion] Felimenta97:
Stock. That means I would have to install KASpeed, then back to XTXEXPERIENCE to have more governors?

"What really matters in this world, anyway?"
[Sony Xperia S, Acro S, Ion] letama:
Yes, it should give you that. However, SSpeed kernel is 1.58 based, I don't know if it behaves as well as stock.

Try the attached zip, it's sspeed 7 kernel alone. Warning: I didn't test it, a backup could be a good idea :)
[Sony Xperia S, Acro S, Ion] Felimenta97:
Will try later, thanks. Wasn't the last update based on 2.50?

"What really matters in this world, anyway?"
[Sony Xperia S, Acro S, Ion] letama:
Rom is, but not kernel. Sony never released the source.
[Sony Xperia S, Acro S, Ion] steryman:
So... I am still on 0.4 and I've just took a fast look over the new 0.5... Excepting the new "recovery", what is new? Extended zImage+cpio capacity? Does the touch recovery handles ka18 better?
[Sony Xperia S, Acro S, Ion] letama:
That's about it yes, see changelog for full details. What do you mean by handling Ka18 better ? It shouldn't change anything, both recoveries should work fine except the Aroma startup issue that may not exist with twrp... I didn't test ka16 with it, and ka18 has not been repackaged yet afaik.
[Sony Xperia S, Acro S, Ion] Apology11:
I repacked it, but wasn' t able to upload it yet, because it is very big.

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] championswimmer:
Aokp build 5 out :cool:
[Sony Xperia S, Acro S, Ion] letama:
Thanks Championswimmer, I will do it when I can find some time, I repackaged your ICS build first, nice job!
[Sony Xperia S, Acro S, Ion] Cach123:
Bah... got to expirience what a non repacked ics aokp zip did by a mistake.... ****ed up all... Soo flashed advanced stock kernel flashed ka 18 again and flashed bootmanager again. And its up working again and downloading Repacked aokp ics ;) Hehe :P
[Sony Xperia S, Acro S, Ion] letama:
Ouch :)

It happened to me when I made a mistake in a repack, cwm backup saved me. I have few ideas to block this kind of mistake, I'll try to implement them in next release.
[Sony Xperia S, Acro S, Ion] Cach123:
Funny thing is that i updated to ka 18 and bootmanager 0.5 the day before this happend :silly:
[Sony Xperia S, Acro S, Ion] championswimmer:
woul be extremely thankful to anyone who can repackage aokp ics for native

i wanna use aokp ics on native + aokp jb on loop

(faster debugging on both ics and jb = faster dev work on aokp)
[Sony Xperia S, Acro S, Ion] Apology11:
I will upload it later, but didn't had much time this week.

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] utsav911:
can we flash custom kernel on native partition? i.e. KA Sspeed kernel v7?
[Sony Xperia S, Acro S, Ion] Apology11:
Only if its repacked. Otherwise you would overwrite the dual boot kernel.

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] letama:
Sure! I repacked it, I'm about to test it and will upload it in few minutes if it goes well.

It has to be repacked first.

I repacked KA SSpeed7 already though, see here.
[Sony Xperia S, Acro S, Ion] Apology11:
Good to know, I was just about to start uploading.

But can you tell me why the update script of AOKP ICS works correctly, even if championswimmer used :

format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");

instead of

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

?
[Sony Xperia S, Acro S, Ion] Fivo86:
Can I also flash loop as Native and vice versa?
[Sony Xperia S, Acro S, Ion] letama:
You're mixing format and mount, no ? championswimmer's one is correct afaik.

Unfortunately, no. Partitions mounted are different and needs different cpios and intall scripts.
[Sony Xperia S, Acro S, Ion] Apology11:
Ok, than I propably remember wrong :)

So you still gonna upload AOKP repack? if not let me know, i repacked them too, but didn´t uploaded them yet.
[Sony Xperia S, Acro S, Ion] letama:
It's working fine and has been uploaded, see first posts.
[Sony Xperia S, Acro S, Ion] letama:
Yes, it's done, but if you did aokp kxp build 5, I'll let you upload it, I didn't do it yet :)
[Sony Xperia S, Acro S, Ion] Apology11:
I will upload it tommorow. It works fine :)

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] steryman:
Ok I'll try it. I've repacked KA18, but didn't uploaded it because it was not "stable"(AROMA wasn't starting).

Later Edit: Ok this is strange... I have installed TWRP but when I try to flash KA18 recompiled, the recovery reboots.
[Sony Xperia S, Acro S, Ion] krabappel2548:
I can only update the ramdisk to latest firmware every time ;) that's what I did :)

TWRP has issues with AROMA, it's on every device..
[Sony Xperia S, Acro S, Ion] letama:
Yes... It's a shame that Sony doesn't release the source code of this one, it's definitely better than previous one. I tried to ask on Sony forum, it didn't help unfortunately.
[Sony Xperia S, Acro S, Ion] steryman:
Problem is I have problems with my repacked KA18 on CWM-Based recovery 3.0.1.4 or whatever it is too.
[Sony Xperia S, Acro S, Ion] Apology11:
AOKP build 5 for loop

http://www.mediafire.com/?cis80280fl6xkc0

---------- Post added at 08:28 PM ---------- Previous post was at 08:20 PM ----------

I repacked it too, but for me it works with CWM.
[Sony Xperia S, Acro S, Ion] championswimmer:
now what is this 'alternate' reovery for ???
[Sony Xperia S, Acro S, Ion] letama:
Second set of native ext4 partitions if you repartition your device :)
[Sony Xperia S, Acro S, Ion] utsav911:
I flashed this kernel in stock recovery.

First it got boot loop at startup logo. So I switched it off.

I tried to start the phone after an hour and booted. But directly in stock Rom.

Now I think I lost the dual boot thingy.

Can anyone explain where did I do wrong?

Sent from my lightening fast Xperia Arc HD!
[Sony Xperia S, Acro S, Ion] letama:
You're sure you flashed the kernel I attached to the post, not the original kernel zip from the thread ? There is no way that the zip I provided could flash the whole kernel partition and kill dual boot.

Did you try to reboot, does it still go straight to stock rom? The kernel selection is in memory, it may have been kept in memory even with a switch off. You can try a real power down by pressing power+vol+ and maintain until it vibrates 3 times, it should purge memory completely.

Regarding the boot loop at startup, I don't know. I think some are experiencing problems with this kernel, so maybe your phone doesn't play well with it.
[Sony Xperia S, Acro S, Ion] utsav911:
Sorry man.

I flashed the kernel from The original thread.

I downloaded both kernel and copied the wrong kernel to phone.

I just read the file name. :facepalm:

Btw if I flash your kernel again will I get my loop partition working straight away or will I have to create loopbacks again or flash the Rom?

Sorry if it's a silly question.

Sent from my lightening fast Xperia Arc HD!
[Sony Xperia S, Acro S, Ion] letama:
You won't have to recreate loops, your stock will still work, but you have to reflash a proper kernel for loop. What did you have on loop ? If I have it on my laptop, I will repackage a kernel quickly. Else, you will have to re-install the whole rom zip.
[Sony Xperia S, Acro S, Ion] utsav911:
I was using fxp141 cm9

It means after flashing your kernel, I'll need to flash the repacked kernel from custom recovery?

Sent from my lightening fast Xperia Arc HD!
[Sony Xperia S, Acro S, Ion] letama:
yes, exactly, flash boot manager dual.elf, then from cwm for loop flash the attached file (untested).

It should bring you back to where you were.
[Sony Xperia S, Acro S, Ion] utsav911:
Thanks so much for your support. You don't have idea how much happy I am.

You are the most helpful Dev I have meet so far on xda!

Sent from my lightening fast Xperia Arc HD!
[Sony Xperia S, Acro S, Ion] letama:
You're welcome.

So it worked fine? Good, another kernel to my collection, it's nice to have standalone kernel zip for this kind of problem.

I definitely have to try to prevent regular kernel flashing...
[Sony Xperia S, Acro S, Ion] Felimenta97:
Letama, if I do backup with TWR on native partition, then install a ROM (someone will upload PA for testing soon) with it's own kernel, test it, will be able to go back to how I was with only the TWP backup I made? Or I might need to install the Dual Boot kernel again?
[Sony Xperia S, Acro S, Ion] letama:
You can go back with the backup only, the backup saves everything: native partitions and the whole kernel partition, so bootmanager + native kernel + loop kernel at once.
[Sony Xperia S, Acro S, Ion] Apology11:
AOKP ICS Beta 1 for native.

http://www.mediafire.com/?8k09be32h6bawoj
[Sony Xperia S, Acro S, Ion] rambg2:
please help me. i can't flash the .50 kernel on LOOP. it always say installation aborted. help me please.
[Sony Xperia S, Acro S, Ion] letama:
What does log say ?
[Sony Xperia S, Acro S, Ion] MasterLinuxer:
This is huge! I think that if it'll eventually be stabler and work on any build (not just cm9) it can be very useful.

But, for now I don't see it useful at all. I hate no reason dual booting cm9 (which is very very close to be perfect) and stock.. As said before, for now a JB+ICS combination will be the most useful. CM9+CM10 can be awesome, or maybe even CM10+.45 stock.

Thanks for your development :)
[Sony Xperia S, Acro S, Ion] Soheil_rf:
same as terminal :( after ''su'' it said permission denied :(

baradare kharejie persian ;)

why in the previous build /system mounted as R/W but in this build not ?!
[Sony Xperia S, Acro S, Ion] letama:
You're right. I don't understand why, /system/xbin/mount doesn't complain but system stays read-only, /system/bin/mount returns access denied. Weird. If I can't fix that, I'll keep system rw in initramfs.
[Sony Xperia S, Acro S, Ion] fersy:
Can anybody please make a flashable zip of dual.elf kernel

No Pc at the moment
[Sony Xperia S, Acro S, Ion] letama:
Agreed, kind of. First, cm9 was not stable enough for me when I started this (sms bug, important for me), so that's why it's the first combination I worked on.

Now, for you request, making cm9 run on stock (I should have called it "native", grr, next release I will rename it) is a piece of cake, but jb/cm10/aokp is for the moment difficult: they are all sharing the same kernel, and for some reason the kernel doesn't work if it's compressed as zImage. So, the kernel is currently 13 Mb and can't fit with another one.

I'll look into it and see if I can find why the kernel doesn't like to be compressed. Don't hold your breath though...
[Sony Xperia S, Acro S, Ion] letama:
Quick fix: flash the attached zip from custom recovery, rw system partition and ro.secure=0
[Sony Xperia S, Acro S, Ion] Soheil_rf:
Thank you man , awesome :good:
[Sony Xperia S, Acro S, Ion] fersy:
Just flashed dual.elf booted into stockrom, but i don't have wifi

Before i used sspeedkernel 5.1, there wifi worked
[Sony Xperia S, Acro S, Ion] Soheil_rf:
you have to flash stock wifi modules , ask your kernal dev
[Sony Xperia S, Acro S, Ion] letama:
MIUI firmware for loopback added, see first posts.
[Sony Xperia S, Acro S, Ion] acervenky:
Can this work on Xperia P
[Sony Xperia S, Acro S, Ion] letama:
Not directly. There is some work to do, Xperia P is different soc and kernel.
[Sony Xperia S, Acro S, Ion] letama:
FXP137 CM10 on loopback added.

I had to recompile the kernel, so it may not work as well as original FXP.
[Sony Xperia S, Acro S, Ion] hhlong89:
Can anyone (or letama) upload a mirror of the Custom / loopback partitions to minus or anything like that, please?

upload.net's impossible for me :(! Thanks all

The same issue for google apps, too!
[Sony Xperia S, Acro S, Ion] lilude56214:
works like a charm :p

A little request for Aokp build 1 if you have free time :fingers-crossed: Not only is this one so good as CM10 but also had much more customizations than any Rom so far and above all things, CM10 & AOKP have the same kernel
[Sony Xperia S, Acro S, Ion] letama:
Yes, it's uploading currently, it will be available soon.

*edit*, it's done!
[Sony Xperia S, Acro S, Ion] championswimmer:
from my next build on i'll release aokp with small 6mb comprrssed kernel

---------- Post added at 08:08 PM ---------- Previous post was at 08:05 PM ----------

i also got a sick idea

the internal sdcard is physically the same storage chip as the system and data

so we can take out some space from sdcard (who needs whole 32gb) and partition them into native partitions for the second rom

---------- Post added at 08:20 PM ---------- Previous post was at 08:08 PM ----------

btw the basic reason you are needed to reupload packages for ROMs is that they have updater-scripts that try to directly mount the mmcblk device as /system before flashing if i'm not wrong??

so if i edit the source to make the ota scripts mount "/system" instead of mounting the block device, then you would not have the trouble of reuploading ROMs right ???

if yes

then i'll make necessary changes and submit to FXP project and my own KXP project too... so that in future all ROMs are directly usable on this :)
[Sony Xperia S, Acro S, Ion] letama:
Too late, did that already :D

It works fine, but I'm very reluctant to describe the method publicly as you could brick definitively the phone if not done properly.

Well, it requires a bit more:

1) as you said, script should mounts /system only.

2) kernel has to be flashed with my tool kf to flash kernel 1 or kernel 2, not directly on the whole partition like it's done currently.

3) initramfs has to be modified to mount /sd/ and then mount loop@/sd/custom_*.ext4.
[Sony Xperia S, Acro S, Ion] championswimmer:
the init script is the chalk in the cheese i guess.... the native build system should/would/could not keep loopback devices... lol

because we release for general public not for dual boot people only...

so umm.. fine

we'll see what can transpire from here later on...

till now... great job!!!!
[Sony Xperia S, Acro S, Ion] letama:
Yes I'm afraid so.

The only way I see is unpack/patch/repack initramfs from cwm. I believe it can be done, especially if zip and init scripts don't change too much, it should be quite easy to locate the mounts and kernel flash and replace them.

I'm not sure I want to go into this though, I'd have to maintain a non-standard cwm.
[Sony Xperia S, Acro S, Ion] Apology11:
@letama Sorry, I forgot to mention that the AOKP ics build I uploaded yesterday is for native. Maby you can edit it in the first post.

Gesendet von meinem Xperia S mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] utsav911:
Yeah it worked fine.

But when I tried to flash sspeed kernel on native; it gave status 7 error.

I am using stock .45 Rom.

Sent from my lightening fast Xperia Arc HD!
[Sony Xperia S, Acro S, Ion] letama:
No problem! I moved it back to native.

My bad, typo in install script, files are case sensitive. Try the one attached...
[Sony Xperia S, Acro S, Ion] letama:
Nevermind, I checked the zip, it's messed up. Not my day when I repackaged all the kernels :)

Try the attached one.
[Sony Xperia S, Acro S, Ion] Apology11:
I found a bug in TWR : keybord doesn't work, so you can't rename your backup.

Xperia S AOKP Tapatalk
[Sony Xperia S, Acro S, Ion] letama:
Hum, sounds like a twrp bug, not a port issue, it works on file/directory rename but not on backups. I'll check their thread and git to see if it's mentioned and/or fixed.
[Sony Xperia S, Acro S, Ion] elpelas:
i have wifi problem with KA kernel v7 native

i think is bcm4330.ko file is very small, in others is 3,9mb or similar and in the v7 is 386 kb
[Sony Xperia S, Acro S, Ion] letama:
So kernel v7 problem ? I re-downloaded the zip file, it's still showing this size, and it's correctly replaced in /system/lib/modules. It effectively doesn't load properly. Can't do much about it...
[Sony Xperia S, Acro S, Ion] rambg2:
letama i have flash the kernel in loop and install the xtx experience rom. but when the Sony logo appears it just restart. can you please tell me how to install it in proper way? Thanks!

Sorry for my bad english anyway.
[Sony Xperia S, Acro S, Ion] letama:
You flashed both repackaged ones ? (loop kernel stock kernel zip and loop xtx zip) ?

I retested, here is what I did:

1) wipe data

2) erase system

3) install bm_loop_sony_6.1.A.2.50.zip

4) install bm_loop_xtxperience_3.zip

it boots fine...

I didn't install small apps and don't know if they need re-packaging though.
[Sony Xperia S, Acro S, Ion] rambg2:
i can't get it to work.

1) wipe data

2) format system

3) flashed sony .50 kernel

4) flashed xtxperience

still reboot at Sony Logo. :(

i clicked the Thanks buttong BTW :)
[Sony Xperia S, Acro S, Ion] Vipitus:
Could anyone make loop version of KA18 SSpeed ROM?

Xperia S - Tapatalk
[Sony Xperia S, Acro S, Ion] letama:
Ah, one thing, make sure you have a big enough custom_system.ext4. Stock/XTX requires biggest one (768 M). If you have a smaller one, boot on native, delete the file at the root of storage, and go back to your loop cwm, it will ask you the size and re-create it.
[Sony Xperia S, Acro S, Ion] rambg2:
one last thing. can you please tell me the steps how to do it. :) Thanks for your patience teaching me :)

EDIT: i found it. THANKS!
[Sony Xperia S, Acro S, Ion] letama:
Hum, yes, I forgot that mtp doesn't show the file on PC. You can delete it from your stock build with a file manager or in recovery:

First, go to to twrp for stock (it's about the same in cwm).

Then you have three options:

mount storage on PC:

go to mount

click mount USB Storage

on pc you should have a new drive with the content of internal storage

delete custom_system.ext4 on the PC.

eject drive on PC

click umount

reboot phone and start install from cwm for loop.

with adb, type this on your pc from the location where adb is:

adb shell mount /sdcard

adb shell rm /sdcard/custom_system.ext4

adb shell sync

reboot phone and start install from cwm for loop.

directly on phone with file manager, or shell (twrp only):

go to advanced/terminal command

type select

type rm /sdcard/custom_system.ext4

type sync

reboot phone and start install from cwm for loop.
[Sony Xperia S, Acro S, Ion] mericon:
Hi i have a problem when i want install aokp ics on native. twrp says: "Cant mount System and Data"

On CWM it says status 7
[Sony Xperia S, Acro S, Ion] Felimenta97:
Guys, here is PA 2.5.1 repacked by Letama for second partition. According to him, there might be crashes related to kernel. Please someone test it.

http://uploaded.net/file/mmj8huna

PA 2.5.2 is going to be tested soon, and then it will need repack.
[Sony Xperia S, Acro S, Ion] Apology11:
What crashes? I repacked PA if anybody wants a mirror.

I will test it now.

Are you sure, that what you posted is Paranoid android? Because I think its PACman Rom?

Because its named PAC and alpha 1 and Pcaman rom is alpha 1 but Paranoid Android is 2.51
[Sony Xperia S, Acro S, Ion] Felimenta97:
I don't know. I didn't tested (had no time). Letama that repacked and tested it. I'm going to download it now to see it.

Oh, Letama repacked the wrong ROM lol.
[Sony Xperia S, Acro S, Ion] Apology11:
i will upload pa rom again soon, but I found an error, that I will resolve first.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Wait for the 2.5.2 then. The dev will send me the link shortly for testing, and then I will give you the link to repack if it's ok.