yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] steryman:
No well... I mean, does the bm native KA16.1 also contains the root fix? If not, where do I get it?

And also, can you please upload the files to box.com, because multiupload is slow too(their server is down and the other links like rapidgator are slow)... If you have the 50GB account upgrade for registering from a Xperia phone, the upload limit of 200MB is removed, so you can upload as much as you want.
[Sony Xperia S, Acro S, Ion] elpelas:
when you flash the KA16 or my KA16.1, uncheck reboot in aroma, in cwm select reboot the phone, when you select reboot in cwn, shows a fix root option instead of tipical yes. Only when you flash the rom not later.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Letama, found a "bug" that is kinda annoying: The boot manager screen gives you 4 seconds to choose what you want to do. However, if it is somewhere between 2 and 1 second remaining, the volume buttons will stop working, and it will select the "boot native" option.
[Sony Xperia S, Acro S, Ion] elpelas:
Same problem here

Enviado desde mi LT26i usando Tapatalk 2

---------- Post added at 07:17 AM ---------- Previous post was at 07:07 AM ----------

I can't upload because the limit is 200mb isn't removed.

Enviado desde mi LT26i usando Tapatalk 2
[Sony Xperia S, Acro S, Ion] Fivo86:
FXP 142 CM9.1 is released, can you make it flashabel for us?

my english is so bad, sorry.

Gesendet von meinem Xperia S mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] steryman:
Strange... I have the 50GB account upgrade and I can upload as much as I want.

Nvm, but you can upload them as parts
[Sony Xperia S, Acro S, Ion] elpelas:
Updated mirror list with mediafire and box links

Some box links are missing, tomorrow or this night i will update.

Pd:The reason is the **** upload limit (100mb) of box.
[Sony Xperia S, Acro S, Ion] letama:
Yes, I know about this one... this is a bug in the original tool I ported. I never bothered to take the time to fix it until now, I just add one second delay if I feel it's a bit too short and 4 seconds felt ok for boot manager. As you mentioned it, I took a look at it and fixed the issue, it will be added in next release. I don't know when it's going to be though, I don't want to release a new version only for this.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Ok. What else it's planned for next version?

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] letama:
Well, I don't have much ideas to improve it, it works fine as it is.

I'm looking at offline charging currently as it doesn't work with boot manager. I'll take a look also to alternative recoveries (CWM touch, twrp) to see if I can give a choice at installation. And maybe saving last menu choice to select it as default at next reboot.

Any ideas for improvements ?
[Sony Xperia S, Acro S, Ion] Apology11:
Yes :)

I think it would be cool if you could select witch kernel to start with touchscreen.

Also if that works, maby a big button for booting the kernel and behind that a smaller button for entering the recovery for this kernel.

And the big button should show a logo of the rom that is installed on the partition.

But that are just suggestions. If it's too dificult to do or the kernel would become tooo big, never mind.

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] mpttrung:
FXP just released cm 10 142 Apology11 can u make it work on boot loop please ???
[Sony Xperia S, Acro S, Ion] Apology11:
If uploaded doesn't suck again today and I can download it, I will upload it today :)

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] elpelas:
native load and if you push the up vol button shows the menu, more faster than touch screen i think.
[Sony Xperia S, Acro S, Ion] letama:
Nice ideas. However, touch screen is potentially a problem: If firmware reboots by itself (kernel bug or else) while you have the phone in pocket, it could trigger accidentally the other build or recovery. And if recovery is touch also, it could be devastating :). I think I'll keep physical keys, I'll keep in mind the idea of improving graphics and rom logo. It's low priority though, I'd prefer to add functionalities first.

I wanted to do that, but both volume keys are used by bootloader (fastboot/download mode), so you can't have the key pressed at boot. To do that, I'd have to display a timed window to inform the user of the right time to press key, then show the menu. That's why I used directly the timed menu, effect is the same and show straight away the options, it saves a key press :).
[Sony Xperia S, Acro S, Ion] qtunganh:
Do you think our developers can port wp8 to SXS like it's in HD2 before? :o

Sorry for bad English.
[Sony Xperia S, Acro S, Ion] letama:
I don't think so, drivers are problematic. I'm not the most knowledgeable one on this, I lost interest into windows phone since hd2 and kind of hate what Microsoft did with wp7 and higher.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Loved these ideas. Use touch only on recovery, by accidental reasons you said. Offline charging is a must. I almost lost my phone while it had 2% remaining and I was far from charger. Lucky I turned it off and saved it.

Another thing would be changing the font on the boot menu (Roboto) and the color (ICS blue), if any space is remaining for any of those. I think the second one isn't that hard.

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] Apology11:
http://www.mediafire.com/?3j875hcsg7k570m

CM 10 Loop. Tested: works
[Sony Xperia S, Acro S, Ion] Soheil_rf:
Thanks

is /system mounted as r/w ?
[Sony Xperia S, Acro S, Ion] Apology11:
I know that was just an eyecandy.

I personaly had no random reboots at all. everytime something didn´t worked it just shutdown for me, so I don´t see a big problem in that.

But as I said it´s up to you, of course adding new features and bugfixes have priority.

I just wanted to add a picuter of how I would imagine it:
[Sony Xperia S, Acro S, Ion] Apology11:
Yes, thats why I tested it before :D
[Sony Xperia S, Acro S, Ion] Felimenta97:
That's a nice concept. But, as said by letama, we would have to find a tool to make sure it doesn't do anything without user permission, because of pocket reboot. It also almost doesn't happen to me, but it's something we need to think about.

Any ideas?

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] Apology11:
Maby some kind of "slide to unlock" thing as on normal android? or a window that says, "your phone is locked until you press the power key" ?
[Sony Xperia S, Acro S, Ion] Felimenta97:
I think of a slide to unlock to enter recovery. Or a simple PIN combination. Three digits is enough. Just to enter recovery.

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] steryman:
Thanks a lot :)
[Sony Xperia S, Acro S, Ion] letama:
Thanks Guys! Nice ideas and concepts, but I feel it's a bit too much for a simple boot menu, especially as I don't want to waste too much space with code and graphics as it will directly reduce available space for rom kernels and cpios.

Regarding spontaneous reboot, I had few on completely untouched Sony firmware, mostly because of baseband and codec crashes.

Regarding offline charging, I don't really understand the benefit because it still boots the kernel and part of the os? Anyway, I implemented it and it's going to be in next release. It will work only if native build didn't break it though.
[Sony Xperia S, Acro S, Ion] elpelas:
Mount sdcard also is nice feature and shutdown

Enviado desde mi LT26i usando Tapatalk 2
[Sony Xperia S, Acro S, Ion] Felimenta97:
Mount SD card works for me (which is new for me, as with Advanced Stock it didn't worked) and a shutdown option would also be nice.

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] krabappel2548:
@letama: KA17 coming soon :) it has new kernel so you will meed to repack it this time
[Sony Xperia S, Acro S, Ion] letama:
Hi krabappel2548, thanks for the notice!
[Sony Xperia S, Acro S, Ion] Cach123:
If i want KA17 on my native, do you have to repack it before ? :confused:
[Sony Xperia S, Acro S, Ion] letama:
Yes. Any rom that embed kernels has to be repacked. I will repack KA17, but I'm quite busy this week so it may not happen before the weekend.
[Sony Xperia S, Acro S, Ion] Cach123:
If i try your guide how to repack on KA17, will it be repack sucsessfully?

Edit: AOKP build 4 R1 also for loop ?
[Sony Xperia S, Acro S, Ion] letama:
Yes for KA17. AOKP is mostly like cm9.1 sample except that you have to keep mount-all mechanism and replace logo.rle that is too big. I guess initramfs didn't change so you can take the kernel only and skip the cpio unpack/repack, jsut re-use repackaged AOKP build 4 initramfs.cpio.gz (or unpack it and use it as a base for 4r1).
[Sony Xperia S, Acro S, Ion] Apology11:
Hey letama, the zImage of AOKP build 4 r1 is "5.750.104 Bytes"

Can we remove something to get it to work? cpio is 765.746 Bytes
[Sony Xperia S, Acro S, Ion] letama:
Huh, it's getting bigger and bigger :(

The only way to get cpio smaller is to get rid of /sbin/recovery that is still used to provide busybox and move it (or add another busybox) to /system/xbin for instance.

You will have to check if a busybox command is not used in init.*.rc before system is mounted if you do that.
[Sony Xperia S, Acro S, Ion] Cach123:
EEEEH i think i will just wait untill the weekend :P (probably for the best) Your guide saw a littebitt over my developing skills... For a start what do i use for doing this? cmd? :silly:

But anyway, i dont think i have actually thanked you? Well, THANK YOU! :) Bootmanager is brilliant! i use it everyday :D
[Sony Xperia S, Acro S, Ion] Felimenta97:
Also, letama, please include init.d support for both partitions, if possible.
[Sony Xperia S, Acro S, Ion] Fivo86:
I can FXP 142 flash directly or do I just repack it yet.
[Sony Xperia S, Acro S, Ion] vulkanxxv:
Is possible to install it using dual boot?

http://xdaforums.com/showthread.php?t=1743055
[Sony Xperia S, Acro S, Ion] krabappel2548:
KA18 coming today, had some sick teachers in University so I had some extra free time :D

So @letama, I'll look at your guide, if I can't find the time to repack it, I'll let you repack it :)
[Sony Xperia S, Acro S, Ion] Apology11:
You have to repack it. Because every rom that has its own kernel needs to be repacked.

If you search for cm 10 142, i posted it a few pages back.

Send with Tapatalk from Xperia

---------- Post added at 04:47 PM ---------- Previous post was at 04:44 PM ----------

I don't think so because it uses aroma installer.
[Sony Xperia S, Acro S, Ion] letama:
Well, no, aroma works fine with boot manager >= 0.3, ka roms are using it.

Regarding this specific mod; it can be installed safely with boot manager, it mounts system without specifying partition explicitly and doesn't flash kernel. However, I don't know if it would do anything:

- First, it needs a firmware with init.d support.

- Second, it needs kernel support for uv

- Last, uv should be done exactly the same way as in the sensation kernels (sysfs /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels file).

I don't know if kernels for Sony supporting uv are using the same convention.
[Sony Xperia S, Acro S, Ion] steryman:
letama, it would be cool if you can make some "links" between the kernel and a custom app that will reboot the phone and automatically select the kernel you want, or the recovery you want...

Anyway now I was trying to repack KA17 but I don't know what do to at the sksplit stage(I tried compiling your split_sony_kernel.c code using g++ but it failed). Please can you help me?

Later Edit: Ok I made it, I had to compile to a C, not C++. I am now uploading the archive, please don't blame me if it doesn't work.

Ok so I've uploaded the files.

Links: Zippyshare: PART 1 || PART 2

I will mirror to Mediafire later because the site is slow for me and there won't be a box.com mirror too soon because the uplaod speed is currently slow.
[Sony Xperia S, Acro S, Ion] isoladisegnata:
Hi I wanted to ask for some clarification for installing dual boot:

I have the firmware 6.1.a.2.50 with advanced stock kernel .. if I install Sony 6.1.A.2.50 stock firmware with unsecure kernel .... can I flash the restore of my current ROM via CMW?
[Sony Xperia S, Acro S, Ion] Fivo86:
can you repack FXP 142 CM9.1 for me?
[Sony Xperia S, Acro S, Ion] steryman:
I'll try to after I get KA to work fine because I can't flash the kernel inside cwm now...

Letama or anybody else who made it to compile ka roms and succeeded to flash the kernel: what I must do with the kf script? I tried to compile it and place it in cpio/sbin but now when I want to flash the zip it says it's starting AROMA and gets stuck there.
[Sony Xperia S, Acro S, Ion] letama:
No, you can't restore: it would restore the kernel and you would loose boot manager.

Installing repackaged stock won't touch your data partition so you shouldn't loose anything, just don't wipe data in cwm.
[Sony Xperia S, Acro S, Ion] steryman:
Can you help me please with the problem I posted?
[Sony Xperia S, Acro S, Ion] letama:
Your idea would be to be able to select kernel from an android application ? It's a good idea, the only way to do that is to save somewhere the kernel choice. I'm considering using cache partition to save last kernel choice but I'm not completely sure yet I want to go this way. Not depending on existing partitions has some advantages.

You don't have to compile kf, it's embedded in cwm /sbin directory. You just have to add the proper lines in updater-script.

The stuck at Starting Aroma is a known issue, try to launch it multiple times: recent cwms are using double buffering and I'm quite sure that if you're not lucky and that cwm is currently on second buffer, Aroma doesn't show up (wild guess though, it could be something else).
[Sony Xperia S, Acro S, Ion] steryman:
I've tried installing without compiling and adding the kf to the sbin folder but when I selected KA Sspeed Kernel it said it could not find /sbin/kf, that's why I've tried to compile the file. Check KA17 I've uploaded and posted a few posts earlier.

---------- Post added at 09:05 AM ---------- Previous post was at 08:49 AM ----------

Here's the log:

AROMA INSTALLER version 2.00
(c) 2012 by amarullz xda-developers

ROM Name : KA Xperia SSpeed
ROM Version : KA17
ROM Author : krabappel2548
Device : Xperia S
Start at : Thu Oct 18 08:02:05 2012

Initializing file system...
Formatting /system...
Install optimized XperiaSSpeed kernel
about to run program [/sbin/kf] with 4 args
Error, kernel+cpio size is too big, total is 6307330, limit is is 5830624
Sony dual kernel flasher v 0.1 by LeTama
run_program: child exited with status 251
script aborted: assert failed: run_program("/sbin/kf", "1", "/tmp/zimage", "/tmp/initramfs.cpio.gz") == 0
assert failed: run_program("/sbin/kf", "1", "/tmp/zimage", "/tmp/initramfs.cpio.gz") == 0

Installer Error (Status 7)

End at : Thu Oct 18 08:02:05 2012

So the error is because the kernel+cpio is too big?

Ok this is strage I've just recompiled KA18 and still the AROMA isn't starting... KA17 is working fine(except the kernel instalation)...
[Sony Xperia S, Acro S, Ion] letama:
Yes:

Error, kernel+cpio size is too big, total is 6307330, limit is is 5830624

your cpio is not trimmed enough.

What about recovery.log ?

Can you try something ? Try to add another file on your internal storage that would be above your KA18 zip file. The idea would be to have to do another volume down key before you launch ka18, it should put you on first framebuffer buffer. Let me know if does the trick, it would confirm my theory.
[Sony Xperia S, Acro S, Ion] steryman:
I'd like to try but I have to go now. I'll try when I get back home(I have only 4 classes today) :) And I'm happy becuase you're helping me :D And please can you explain a bit about the "volume down" thing? I have more than 1 zip on my sdcard, if that is what you want to say(I also have ka17 which is above KA18, but I scroll up so I can get to it faster than having to pass all the folders(I have many).
[Sony Xperia S, Acro S, Ion] letama:
:) More "repackagers" means less work for me, so I'm glad to help!
[Sony Xperia S, Acro S, Ion] steryman:
Yea I know the feeling, I like to help as I did a while in the arc section with battery friendly kernels
[Sony Xperia S, Acro S, Ion] Apology11:
I didn´t noticed any changes for Xperia S, thats why I didn´t repacked it.

But if you want it anyway, stock or loop?
[Sony Xperia S, Acro S, Ion] Cach123:
When you got time, can you repack KA18 and AOKP b4 R1 ? That had been awesome !
[Sony Xperia S, Acro S, Ion] Apology11:
I´m just working on KA18 for native and I will try to reduce the size of AOKP b4 R1 because the cpio got bigger and doesn´t fit with the bootmanager, but testing that can take a bit, because I don´t have that much time till tomorrow.
[Sony Xperia S, Acro S, Ion] Fivo86:
stock

Gesendet von meinem Xperia S mit Tapatalk 2
[Sony Xperia S, Acro S, Ion] championswimmer:
Btw

No you wont lose your phone

If it gets to 0, and you are on a kernel that doesnt support offline charging

Still if you plug in the charger, it'll charge...

When power is below threshold of even booting kernel then power is automatically routed to battery (this is a safeguard in hardware most phones have)

---------- Post added at 08:35 AM ---------- Previous post was at 08:31 AM ----------

Ideas for v0.5

Automatic parsing and translation of updater-script

I.e. Stock will translate write.raw.image(boot) as kf(zimage) while parsing it

:p

Lol i know that's extremely difficult if not impossible because you'll have to make.changes deep into recovery source then....

But thats the only improvement left to do now
[Sony Xperia S, Acro S, Ion] Felimenta97:
That info is really good. It made my way relieved now.

"I got my values. So you can keep yours, OK?"
[Sony Xperia S, Acro S, Ion] letama:
Yes, I wanted to do that at some point, I'd bet it won't be that difficult to do the substitution, but I didn't check. I gave up the idea for two reasons:

1) it would mean maintaining a branch of recovery, it's a bit annoying.

2) but mostly, the main problem is cpio repackaging. There are too many differences and things to do in cpio packages out there that it would be difficult to do it completely automatically. You have to be very "creative" sometimes, for instance last aokp kernel is too big so we have to remove recovery from cpio, and as it does busybox, verify that no busybox command are used in init.*.rc and add busybox to /system/xbin.
[Sony Xperia S, Acro S, Ion] Fivo86:
When I use the command "sksplit boot.img", I get the following error message.

The command "sksplit" was not found, perhaps you meant:

* Command »snsplit« from the package "sn" (universe)

sksplit: command not found.

I use ubuntu 12.04 LTS
[Sony Xperia S, Acro S, Ion] letama:
sksplit is a tool I wrote to extract kernel and initramfs from a sony .elf, see post #4 for git address.

compile it with:

gcc split_sony_kernel.c -o sksplit
[Sony Xperia S, Acro S, Ion] Apology11:
cpio is now 179.039

but together with zImage 5.750.104

its still too big :(
[Sony Xperia S, Acro S, Ion] letama:
Strange, limit should be 5 830 624. Are you sure that kernel fails because of this ?
[Sony Xperia S, Acro S, Ion] Apology11:
179 039

+ 5 750 104

= 5 929 143 ;)
[Sony Xperia S, Acro S, Ion] letama:
Oh! Thought zImage+cpio was 5 750 104. Got it now :) Well, 179 000 is the lowest you can get without loosing adbd at startup. You could move it also to system/bin until I do what I have in mind:

I'm reviewing currently my partition layout, I gave more space to primary kernel, 7.83M compared to secondary 5.83M. As kernel are mostly growing on recent builds that will probably be preferred on loop, I'll probably adjust to a split 6.58M/6.58M in next release if upgrading isn't too complicated.

It may be even a little more for both if I manage to trim recoveries, not sure I can do that yet. Hopefully it should come soon...

*edit*: it's even easier now that cpio was pushed to 0x41500000, I'm stupid :) No compatibility hassle, much easier to implement and 7.6M for both kernel...
[Sony Xperia S, Acro S, Ion] Apology11:
If its easy for you I will just wait with repacking AOKP till you updated the bootmanager :good:

Do you know if other recoveries like TWR take less size?
[Sony Xperia S, Acro S, Ion] Felimenta97:
Are CWM6 backups easily corrupted? I made a backup with it, rebooted, changed the framework-res.apk. Didn't worked. Stuck at boot. Rebooted into recovery, tried to restore the backup. Everything goes fine until some point at /data. And it says: "Error while restoring /data".

Now, unless I can restore the backup after the system fully boots, I'm oging to have to restore all my apps and mods again...
[Sony Xperia S, Acro S, Ion] letama:
Yes, it's quite easy, but it will take a bit of time to test it before releasing. I'm hoping to do it this weekend if all goes well.

TWRP is in fact bigger, but it fits the current layout. I could make both recoveries smaller by removing partition editor, but I won't do that as with more than 7M for both kernel, it should be enough and it's easier to keep kernel locations untouched. With my current idea, the first one won't move and keep its current max size, the second one will start at same location too but max size will increase. Much easier to handle in code, less work for upgrade. At the end, native kernel will have 7.34 and loop 7.92 if my layout and my maths are correct.

Yes, they are easily corrupted, it happened to me not so long ago and warned about it. See my post there, you can still use tar with new cwm. Too bad it's not compressed... (twrp does tgz, backup is a bit slow but seems to be ok).

I don't know why it happens, it could be a problem with boot manager kernel or cwm bug or the fact that internal storage is fat and not the most reliable FS. Anyway, I don't like much the new cwm scheme and prefer multiple independent tar backups. At least, if one is corrupted, it doesn't mess all of them.
[Sony Xperia S, Acro S, Ion] Felimenta97:
What is strange is that I can easily restore many apps (if not all) with APKextractor.

Is there any way to change the backup so it ignore what is corrupted (by checking the log)?

I had two backups. Lost both of them. This sucks a lot...

How I change the backup way?

"A scattered dream that's like a far off memory

A far off memory that's like a scattered dream"
[Sony Xperia S, Acro S, Ion] letama:
Well, I tried and gave up when it happened to me. Looking at recovery log, it chocked on some blobs directories. Weird thing is that some of the missing ones were in the .gc directory, I put them back where cwm wanted them when doing the restore. It went a bit further but some were still missing. So I gave up and re-installed from scratch. Luckily, I had a not too old Titanium Backup.

Backup and restore/Choose backup format/tar
[Sony Xperia S, Acro S, Ion] letama:
Hello Guys!

v 0.5 is out, see first posts for list of changes. I'm adding multipload now.

Be cautious with this one, it changes quite a bit the layout and I didn't test it much. Let me know if you notice anything wrong...

Have fun,

LeTama
[Sony Xperia S, Acro S, Ion] Apology11:
It took you just one day to port twr? :eek:

Well done. Gonna test it later so the aviable space has the size you told in the last poast now?

Send with Tapatalk from Xperia S
[Sony Xperia S, Acro S, Ion] letama:
No, it took more than one day :)

It took me few days, but I didn't want to give false hope so I didn't say anything. And I wanted to do more tests before releasing 0.5, but with 0.4 space issues I decided to release it and update recoveries if necessary. I tested backup, flash firmware but didn't even tested a restore. I looked at backup tars though, they seem fine. Nice recovery by the way.

Yes, size should be around 7340000 for native and 7927800 for loop if I'm not mistaken. I tested a 7091957 kernel+cpio successfully.
[Sony Xperia S, Acro S, Ion] Felimenta97:
Letama, what it's that sideload thing?

"What really matters in this world, anyway?"
[Sony Xperia S, Acro S, Ion] Cach123:
Thats Great! :D Now i only need repacked KA18 and AOKP B4 R1 and my phone will be almost perfect! :good:
[Sony Xperia S, Acro S, Ion] letama:
No idea...