yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] letama:
I'm going to experiment with it and will try to upload some there. We'll see how it goes but I'll keep uploaded.net as my primary upload point.
[Sony Xperia S, Acro S, Ion] Apology11:
Oh sorry, I started the AOKP waited till it reboots, because it doesn´t start, went to recovery for custom and used adb there to extract it.

So does it mean its now:

assert(run_program("/sbin/ke", "2", "/tmp/zImage", "/tmp/initramfs.cpio.gz") == 0);

?
[Sony Xperia S, Acro S, Ion] letama:
:) No problem, I do that often...

Ah, yes, I forgot to explain it. ke is a new tool that extracts the kernels flashed with kf. Syntax is similar to kf, "ke [0|1|2] output_kernel_file output_initramfs_file"

This is how I do the upgrade, I first extract the currently flashed native and loop kernels, flash the new dual2.elf that embeds some kernels (2.45 stock and forgot what I did put as loop in it), then re-flash the one I extracted at the beginning to have the same configuration as before upgrade.

So, you should keep using kf to flash, but now you can use ke if you want to retrieve what has been flashed.
[Sony Xperia S, Acro S, Ion] elpelas:
Can i help for apn problem with logs or anything?

Enviado desde mi Xperia S usando Tapatalk 2
[Sony Xperia S, Acro S, Ion] Apology11:
Sorry for asking again, my english isn´t that good sometimes :o

What "upgrade" do you mean?
[Sony Xperia S, Acro S, Ion] elpelas:
I/SystemServer( 371): Connectivity Service

D/ConnectivityService( 371): ConnectivityService starting up

E/ConnectivityService( 371): Ignoring protectedNetwork 10

E/ConnectivityService( 371): Ignoring protectedNetwork 11

E/ConnectivityService( 371): Ignoring protectedNetwork 12

E/MobileDataStateTracker( 371): default: Ignoring feature request because could not acquire PhoneService

E/MobileDataStateTracker( 371): default: Could not enable APN type "default"

u.U this is bad
[Sony Xperia S, Acro S, Ion] letama:
The upgrade for going from 0.2/0.3 to 0.4, with the bootmanager_0.4_upgrade.zip file.

Previous upgrade 0.2 -> 0.3 was easy, only the boot manager kernel had to be flashed.

0.4 has a different initramfs memory location, so it's the whole boot manager (with arm assembly loader) that had to be upgraded. Doing so means erasing both native and custom kernels. That's why I wrote ke, to retrieve 0.3 kernels and flash them back to 0.4.
[Sony Xperia S, Acro S, Ion] letama:
Definitely!

I have no clue about why... Still looking. Could be a permission problem somewhere.
[Sony Xperia S, Acro S, Ion] elpelas:
my radio logcat can help you...
[Sony Xperia S, Acro S, Ion] Apology11:
Thanks again for your great work and your help :thumbup:

My own AOKP repack works now too.

What exactly isn' t working with apn? Mobile data?

Xperia S dual Boot AOKP
[Sony Xperia S, Acro S, Ion] Felimenta97:
Yeah, mobile data. It doesn't work for me also.

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] Giblet-dono:
Does work for me... my apn was in the list, and worked out of the box
[Sony Xperia S, Acro S, Ion] utsav911:
Still no working data for me :(

What is the reason for the data working for some people and not working for others?
[Sony Xperia S, Acro S, Ion] elpelas:
4 vs 1 hahaha what company?

Enviado desde mi LT26i usando Tapatalk 2
[Sony Xperia S, Acro S, Ion] Felimenta97:
Anyone PLEASE mind uploading the 2.50 fw to another place? It's taking 3 hours to me to download. First time, with 80 MB left, the download stopped. Second one, my pc for blue screen of death.

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] elpelas:
unsecure?
[Sony Xperia S, Acro S, Ion] Felimenta97:
The whole firmware. The insecure is only an ad on, right?

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] elpelas:
im uploading to multiupload:

aokp b4

upgrade 0.4

bm_native_sony_6.1.2.50
[Sony Xperia S, Acro S, Ion] Felimenta97:
Thanks. That will be really useful.

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] elpelas:
Any difference bm_stock_6.1.A.2.56.zip and bm_native_sony_6.1.A.2.50.zip?
[Sony Xperia S, Acro S, Ion] Felimenta97:
New files, closer to Xperia T framework, and a little faster, better battery life, etc.

Btw, how's the upload progress?
[Sony Xperia S, Acro S, Ion] elpelas:
The mirror of BM:

Splitted using 7zip

-----Boot Manager-----

->File:bootmanager_0.4.zip | URL: MultiUpload | MediaFire | Box

-----Upgrade Boot Manager----

->File:bootmanager_0.4_upgrade.zip | URL: MultiUpload | MediaFire | Box

-----BM Native-----

->File:bm_native_sony_6.1.A.2.50.zip | URL: MultiUpload | MediaFire: Part1/Part2 | Box:

->File:bm_native_ka15.zip | URL: MultiUpload

->File:bm_native_fxp141_cm9.zip | URL: MultiUpload

->File:bm_native_ka161.zip | URL: MultiUpload | MediaFire: Part1/Part2 | Box: | KA16.1 Full installer Note: Don't reboot with aroma installer, use cwm reboot in menu for root fix.

-----BM Native Addons-----

->File:bm_native_sony_6.1.A.2.50_unsecure_kernel.zip | URL: MultiUpload | MediaFire | Box

-----BM Custom | Loopback-----

->File:bm_loop_miui_2.9.7.zip | URL: MultiUpload | MediaFire: Part1/Part2 | Box:

->File:bm_loop_fxp141_cm9.zip | URL: MultiUpload

---WARNING Boot Manager 0.4 or higher required!

->File:bm_loop_aokp_4.zip | URL: MultiUpload | MediaFire | Box: / Need Data Fix

->File:bm_loop_fxp141_cm10.zip | URL: MultiUpload
[Sony Xperia S, Acro S, Ion] Felimenta97:
So the stock 2.50 for native is being uploaded right now? Just to be sure :)
[Sony Xperia S, Acro S, Ion] elpelas:
native 2.50 http://www.multiupload.nl/HBVUU11SW3
[Sony Xperia S, Acro S, Ion] Soheil_rf:
can anybody make unsecure kernel for CM9.1 (FXP141) or its same as 140 ?
[Sony Xperia S, Acro S, Ion] Apology11:
Dont see big changes between FXP 140 and 141 but if I have time I can upload it.

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] mpttrung:
There is something wrong with native ka15 Apology11?? I installed it with dual kernel v4 and it stucked at Starting Aroma installer ???

Also do we have cm10 141 for boot loop ??
[Sony Xperia S, Acro S, Ion] Nimche:
Did you wipe data/fatctory

Did you format system under mount?
[Sony Xperia S, Acro S, Ion] mpttrung:
Yes i did, dont understand why it didnt work @@
[Sony Xperia S, Acro S, Ion] Nimche:
I am assuming that you had a correct Stock ROM as well, apparently it only works on one version. There is not much to it on our part, unless the files wasn't downloaded fully?
[Sony Xperia S, Acro S, Ion] mpttrung:
Finally I know what error. Must use the Custom rom on first page, cannot use others download from Cm page @@
[Sony Xperia S, Acro S, Ion] Nimche:
Da!! Its nice you found the issue.
[Sony Xperia S, Acro S, Ion] letama:
You just have to flash dual.elf, go to "cwmod recovery for custom", then flash the FXP137 zip I provided, then, reboot, then yes you'll be able to switch roms at reboot on the go.

The repack documentation is for anyone that want to adapt an existing firmware, it's not needed if you use one of the zip I provide.
[Sony Xperia S, Acro S, Ion] xbox360k550:
Sorry for a very stupid question (: to other Sony this mod approach?

If not, the author is going to do it with a different model?
[Sony Xperia S, Acro S, Ion] letama:
Well, I guess it could be ported to other Sony models as long as the kernel partition is big enough to fit 3 kernels.

I can't do it without having the device, boot manager kernel must be modified and it can't be done without being able to test on the target device. Sorry...

If anyone is interested in porting it and has questions on how to do it, just ask.
[Sony Xperia S, Acro S, Ion] electrash:
Thank you letama for expl. :)

Sent from my LT26i
[Sony Xperia S, Acro S, Ion] fersy:
That means i can't flash 6.1.A.2.45 http://xdaforums.com/showthread.php?t=1857736 as Stockrom?

Because 6.1.A.2.56 has bluetoothstutter bug
[Sony Xperia S, Acro S, Ion] letama:
Ah sorry, it's a typo again, this is in fact 6.1.2.45,

zip filename has the same typo, don't pay attention to it, content is in fact 2.45.

Anyway, you don't have to re-flash stock again, it will be useful only later on when I'll provide zips to run another build (cm9, ...) on native partition and if you want to go back to stock.
[Sony Xperia S, Acro S, Ion] Soheil_rf:
Something wrong with custom system partitions , its read only !

i can't fix my WiFi with WiFix Manager .

also in root explorer i can't change system folder to R/W
[Sony Xperia S, Acro S, Ion] fersy:
Does this partition thing format my internal memory?
[Sony Xperia S, Acro S, Ion] letama:
Well, it's intentional, default behavior in cm9 and many is to have system r/o, and I left it like that.

The problem with loopbacks is that most tools don't know how to remount them properly. You can remount r/w from terminal or adb with "mount -o remount,rw /system" (as root, don't forget to do "su" before).
[Sony Xperia S, Acro S, Ion] letama:
No, it doesn't format anything, it only create 3 files (custom_system.ext4, custom_data.ext4, custom_cache.ext4) on internal memory.
[Sony Xperia S, Acro S, Ion] Soheil_rf:
Still no success :(
[Sony Xperia S, Acro S, Ion] :
use adb
[Sony Xperia S, Acro S, Ion] Soheil_rf:
with which command ?
[Sony Xperia S, Acro S, Ion] :
same as before but put adb shell infront of it

persian brother :D
[Sony Xperia S, Acro S, Ion] electrash:
Guys report thread to news portal.

I will do the same when get to my PC.

I think that dev and thread deserve place on portal. :)

Sent from my LT26i
[Sony Xperia S, Acro S, Ion] Apology11:
You have to ask letama about that, I didn't looked into aroma yet.

I already made it for myselve, and I will upload it if I have time.

If letama does it then I 'm fine with it too, I just don't know when I can upload it.

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] mpttrung:
oh, can you please post your rom up here in mediafire ??
[Sony Xperia S, Acro S, Ion] letama:
That's why... Keep trying until it come,
[Sony Xperia S, Acro S, Ion] mpttrung:
Ok ! I'll try ! Thanks for your report :D
[Sony Xperia S, Acro S, Ion] letama:
Hi All,

Here is a fix for the data problem with aokp, just flash it with cwm for loop after having flashed aokp b4.

Let me know if it works for you too.

* edit * Invalid install script fixed.
[Sony Xperia S, Acro S, Ion] elpelas:
what was the problem?
[Sony Xperia S, Acro S, Ion] letama:
I don't know exactly why, I need to dig a bit.

Aokp is using mount_all to mount partitions and I replaced it with regular mount command. It seems that mount_all does more than mounting partitions, data started working as soon as I used it again. I'll check source code to try to understand what is missing when doing mount one by one.
[Sony Xperia S, Acro S, Ion] elpelas:
flashing i get (Status 6) aborted
[Sony Xperia S, Acro S, Ion] championswimmer:
Everything from semc.fstab is mounted
[Sony Xperia S, Acro S, Ion] utsav911:
It is showing status-6 error while flashing :(

çan you provide the same fix for FXP137 CM10 also?
[Sony Xperia S, Acro S, Ion] letama:
Well, it seems to do a bit more strangely or there is a side effect somewhere, I compared both mount results (manually and with semc.fstab) and result is identical, with same options.
[Sony Xperia S, Acro S, Ion] letama:
Oups, sorry, it will teach me trusting my memory and not testing. I reuploaded a fixed zip on same post, try to download it again.

Regarding FXP137 cm10, I'll try first to understand why mount_all differs and probably upload a newer build.
[Sony Xperia S, Acro S, Ion] skymike03:
yeah this fix worked for me aokp b4 !! thanks ! i just miss camera (appliyed the fix, but stuck at kernel bootanimation ..)
[Sony Xperia S, Acro S, Ion] utsav911:
After applying the zip on the first reboot there was no working network, no data.

But after a reboot all works.

Thanks for the fix. :good:
[Sony Xperia S, Acro S, Ion] letama:
New builds repackaged:

FXP 141 cm9.1 for loop and native

FXP 141 cm10 for loop

All of them have data working for me.
[Sony Xperia S, Acro S, Ion] Apology11:
Do you figured out yet what has caused the data not to work on Aokp build 4?

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] letama:
Do you mean why using mount_all fixes the problem ? No, I still don't understand, I didn't see anything that could explain it. The only difference using mount_all is the e2fsck it does before mounting, but except this, nothing. It's strange, but if it works...
[Sony Xperia S, Acro S, Ion] elpelas:
Updated multiupload mirror list
[Sony Xperia S, Acro S, Ion] utsav911:
Is random screen flickering normal for fxp141 cm10? :confused:
[Sony Xperia S, Acro S, Ion] letama:
Well, I don't think Boot Manager has an impact on this and I saw some reports on CM10 thread, so I guess it's expected yes...
[Sony Xperia S, Acro S, Ion] Apology11:
So you just edit the fstab?

I would look what you have done by myselve, but uploaded.net has problems and I can´t even download your file under one hour, and I didn´t have time for that.
[Sony Xperia S, Acro S, Ion] krabappel2548:
@letama:

KA16 is uploading, kernel is the same as KA15 so you won't need to do a lot of repacking :)
[Sony Xperia S, Acro S, Ion] letama:
Yes, fstab.semc looks like now:

/dev/block/loop2 /system ext4 rw,barrier=1 wait
/dev/block/loop3 /cache ext4 nosuid,nodev,barrier=1 wait,check
/dev/block/loop4 /data ext4 noatime,nosuid,nodev,barrier=1,noauto_da_alloc wait,check,encryptable=footer

and init.semc.rc has this:

mkdir /sd
mount vfat /dev/block/mmcblk0p15 /sd wait rw
exec /sbin/losetup /dev/block/loop2 /sd/custom_system.ext4
exec /sbin/losetup /dev/block/loop3 /sd/custom_cache.ext4
exec /sbin/losetup /dev/block/loop4 /sd/custom_data.ext4
mount_all /fstab.semc

Elpelas mirrored most of the repackaged build, see his post .
[Sony Xperia S, Acro S, Ion] steryman:
Letama, thank you for your work, and I'm planning to unlock my S just for this :D If you don't mind and when you have time, as someone else asked too, can you upload the files to minus or box or something faster please? I have to wait 2 hours to download the stock .45 with 50kb/s... I made a test on my Box account registered on Xperia to gain the 50GB bonus and it seems it also removed the upload limit... I mean, I can upload more than 200MB... and I also have a high download speed (>1MB/s). Oh and I don't think it could damage the phone bad because I believe the custom kernel after it's loaded, the partition is loaded too... so the memory isn't used for anything else than running the OS itself. And one more thing: Correct me if I'm wrong, because I didn't understood well how to install: after flashing the .elf file, I have to access the CWM of the respective kernel I want to flash, for example I want to flash stock, I enter stock CWM, wipe data, flash stock, I want custom, enter custom CWM, wipe data, flash custom right? Have a nice day and good luck with the things you're busy with and sorry for my bad English :)
[Sony Xperia S, Acro S, Ion] ahvipardik:
Hi i only have one fast question. To begin with i have to have stock .45. But does the stock firmwares in the first post under .45 also can be installed instead of stock which is stated in the instructions. So to make it clear, is it possible to begin the dualboot installation with FXP 141 cm9.1 and then install CM10 as custom?
[Sony Xperia S, Acro S, Ion] steryman:
Well umm... after you flash the .elf file, you first have to set the custom kernel, then you can install the stock one too... so I guess u first go in custom recovery and install cm10 after wipes, then go in stock recovery and install cm9
[Sony Xperia S, Acro S, Ion] ahvipardik:
No but i mean for flashing the dualboot.elf do I have to have stock 45 or is cm9.1 141 ok?
[Sony Xperia S, Acro S, Ion] steryman:
I guess yes because your current kernel is moved to stock kernel location, because as OP said, you won't need to download the .45 zip if you already have it installed before installing the dualboot... so I'm understanding that it doesn't matter. Wait for someone else confirmation, I'm just saying without experiencing, I didn't even unlocked my bootloader but I have some ideas as I've been working a bit with kernels on Arc... but I'm not really experienced. Good luck.
[Sony Xperia S, Acro S, Ion] letama:
Well, I explained why I used uploaded, I won't change soon, but Elpalas did a nice job already mirroring all files. Check his post, it has most recent builds mirrored on multiupload.

The concern is not much on kernel partition, it's indeed no different than flashing regular kernels. However, the unknown is the wear provoked by using loopback for data on internal storage. There is a difference compared to native, native is using 4K blocks, internal storage is using 32K. Does it make a difference? I don't know.

Yes, the elf flashes the bootloader kernels and both recoveries. First recovery is dealing with native/usual partitions and first kernel, second recovery is dealing with loopback partitions (images stored on internal storage) and second kernel.
[Sony Xperia S, Acro S, Ion] letama:
OK. I should rewrite the stock .45 requirement, it's not really relevant anymore. I said stock .45 as it's the kernel I embedded in dual.elf, but effectively, you can do what you want. The only "issue" is that you have to re-flash cm 9.1 for native even if it's already installed on your phone as it's the only way to get cm9.1 kernel flashed after installing dual.elf. Then of course you can flash cm10 on loopbacks and then dual boot 9.1/10.

But no need to go back to 2.45 if you want to have 9.1 as native boot. And don't clear your data partition after re-flashing 9.1 for native, you should get back your configuration and apps directly.
[Sony Xperia S, Acro S, Ion] steryman:
Ok so I'm unlocking my bootloader now. I've seen some posts about the internal memory(not the phone memory, the user memory) and about some files like custom_ext4 or something like this. So, did you aborted the idea of expanding memory over user memory? I mean, using user too? If not, how much free space(on the user memory ofc) do I need for the second kernel?
[Sony Xperia S, Acro S, Ion] letama:
Hum, I'm lost, let's clarify :)

On phone, we have 5 main partitions: kernel partition, system partition, data partition (apps and settings), cache partition, storage partition (internal storage, or "sdcard", the 26 Gb one formatted as fat32).

First build, the one I called native is installed on regular system and data partition.

Second build, the one I called loopback (or custom at the beginning) is installed on image files (custom_system.ext4, custom_data.ext4, custom_cache.ext4) that are located on storage partition.

At some point, I evaluated the possibility to re-partition the phone to have native ext4 partitions for second build (by reducing storage partition size and add three new partitions with the reclaimed space).

It's possible, my phone is repartitionned like that and I successfully ran second build on them, but I gave up the idea of releasing it publicly as the operation of re-partitionning is a bit dangerous. I believe that if it's not done properly, it could brick definitely the phone.
[Sony Xperia S, Acro S, Ion] steryman:
So the second kernel folders are placed on SD? If so, how much free space do I need? If I select 512 when asking for system loopback thing, I need 512MB?
[Sony Xperia S, Acro S, Ion] letama:
Yes. Minimum is 384+64+512 MB (lowest values for loopback system/cache/data), and if you want to use a bit the second build, I'd personally go to 512/128/1G.
[Sony Xperia S, Acro S, Ion] steryman:
So if I choose 512/128/1GB for the second I need 512+128+1GB free space on SD?
[Sony Xperia S, Acro S, Ion] letama:
Yes
[Sony Xperia S, Acro S, Ion] steryman:
Allright so I've unlocked the bootloader, and now I'm installing CM9.1 on loop. Before flashing the dual boot kernel I had Stock SONY kernel + KA15 ROM Barebones. For some reasons, first time when I booted stock kernel I got the SONY kernel image then I rebooted. Do I have to reinstall the stock kernel too?

NVM It's working now. I guess I had to set the loop sizes first. I have to go to school now, I'll tell ya when I'm back how it's working :)
[Sony Xperia S, Acro S, Ion] elpelas:
leTama can you update the native ka15 to ka16?i cant do now, but im practicing with linux and tools for next time:D
[Sony Xperia S, Acro S, Ion] letama:
Here it is, untested though.
[Sony Xperia S, Acro S, Ion] steryman:
I'm back home and... this is amazing! Everything works fine! Thanks for the hard work :)
[Sony Xperia S, Acro S, Ion] elpelas:
tomorrow i will upload KA16 with KA16.1 update integrated, i dont know if leTama did this.
[Sony Xperia S, Acro S, Ion] steryman:
He did but it's for testing.
[Sony Xperia S, Acro S, Ion] elpelas:
uploaded KA16 with Surprise Update(16.1) in my mirror multiupload list
[Sony Xperia S, Acro S, Ion] Felimenta97:
Letama/elpeas/Apology11, mind uploading the XTXperience, and the small apps patch (if the second is needed)?

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] letama:
If you have 6.1.A.2.50 on native, you can directly flash this rom, it doesn't have any kernel embedded. If you want it on loop, that's another problem.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Oh, so I can flash over without problems?

That's good. thanks for the info.
[Sony Xperia S, Acro S, Ion] letama:
Yes, I didn't test it but it mounts system only and has no kernel embedded, so it doesn't need any change for native use.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Don't know if this is related to dual boot or not, but my camera on .50 fw is broken. The camera freezes when I try to record anything, and when I take a picture it says: "Uknown Error".

It also could be a PimpMyROM problem, since I selected basically all the scripts. Hope it is only a problem with it, with should be fixed with the TXTexperience ROM...
[Sony Xperia S, Acro S, Ion] letama:
I had once a problem with camera, but stopping the app and relaunching it (or reboot) cured it. If it's not something like that, well, mine is quite flawless so I guess it's related to your scripts. I'm always a bit reluctant with "generic" tweaks, they apply stuff that are not always the good thing to do for a specific device and/or firmware.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Maybe. I will flash the TXT v2 ROM when the Part 1 is reuploaded. maybe it's that that bugged with it...

Just remembered: I think the script has a backup feature. Let me see if i can go back.

EDIT: Nope. Still freezing. Gonna install the new ROM. Just hope I can keep my files.
[Sony Xperia S, Acro S, Ion] ashqmallik:
I really wana use this one. Though i have a question, i am already upgraded to .50fw..do i need to downgrade to .45 first before the installation? Please lemme know, thank you :highfive:
[Sony Xperia S, Acro S, Ion] Felimenta97:
No, just flash the kernel and be happy :D
[Sony Xperia S, Acro S, Ion] ashqmallik:
LOL! ohk :D:D:cyclops::good::D .. bdw, it does partition the internal storage doesnt it?? Then guess i need to back up the files. Thanks man :highfive:
[Sony Xperia S, Acro S, Ion] Felimenta97:
Nope. It create three files on your SD card partition. One for system, one for data and one for cache. Letama did what you said, but it can be really dangerous.

EDIT: I noticed it was UltimateSound that broke my camera.
[Sony Xperia S, Acro S, Ion] steryman:
Elpelas, I see in your post that you said this about KA16.1: " Note: Don't reboot with aroma installer, use cwm reboot in menu for root fix." So, after I flash it, I just uncheck the reboot now option and finish, and reboot recovery. My question is: is the root fix integrated in the zip, or do I have to flash something else too?
[Sony Xperia S, Acro S, Ion] elpelas:
if you select reboot option in cwm when show NONONo etc... put root fix or like instead of yes.. but if you flash the root fix via zip also works, dont worry.