yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Neo, Pro] Riyal:
@all

Hi guys! The problem of the constant freezes and reboots was the default governor of the kernel which is ondemand. Kindly change it to a different governor Ex. interactive at the moment. I'm still trying to solve the bug but if all else fails I'll just probably disable ondemand governor.

The problem is that due to ICS being a CPU intensive OS than gingerbread the ondemand governor couldn't quickly cope up with the CPU spikes whenever the screen turns on, initiate USB mode.

On a noob friendly explanation the ondemand governor is too slow on switching from it's sleep mode to awake mode which causes the ROM to hang up due to having not enough CPU resource.

Odd thing is I've tried the kernel on my Arc and it's working properly. Seems like the pro is a little bit sensitive type of device.

Right now I don't have time on looking at the kernel as I'm on a vacation :p

Will try to fix it ASAP.

The problem might be fixed by adjusting the threshold values of the governor.
[Sony Ericsson Xperia Neo, Pro] Loccy:
I posted this in the (ridiculously located) general Xperia Pro thread over on the other board, but as you're discussing your kernel over here, thought I'd mention that although this is a completely unscientific conclusion, graphics stuff seems SLOWER on this kernel than on stock. I'm running it on the recent MIUI port, and scrolling in the browser and between desktop screens just feels slightly less fluid/smooth. I would suggest reverting whatever you've done to the GPU.

It's nice and fast elsewhere (overclocking helps!), apps load faster and things happen quicker in general, but the loss of fluidity means it "feels" slower than stock.

*shrug* - enjoy your vacation anyway, don't spend too long away!
[Sony Ericsson Xperia Neo, Pro] cccs1:
Could it be that the WLAN didnt turn off ? I Set it to disabled in Standby but the it is on in standby
[Sony Ericsson Xperia Neo, Pro] Riyal:
Update:

Finally! Managed to fix the stuck up issues with the governors. :D seems like the cpu frequency driver I used on the Ultima GB kernel was causing all the terror. So I remodelled the cpu driver to behave like the default one but still has the voltage & over/underclocking support. Also I had removed the GPU tweak I implemented since based on feedbacks seems like it's pretty much worthless or is not even working at all. :) Thanks for testing out the kernel guys if it weren't for all of you I wouldn't be able to make it stable.
[Sony Ericsson Xperia Neo, Pro] cccs1:
So tell me whete to download ;-)
[Sony Ericsson Xperia Neo, Pro] Dexxmor:
:D Wheres the download link, i will test it :D
[Sony Ericsson Xperia Neo, Pro] Redeque:
I never tested anything before but maybe I could help.

Examine the feeling it gives a noob. Vibe test :p
[Sony Ericsson Xperia Neo, Pro] RamEsRock:
You don't need more testing for Ultima ICS?

I'm really stoked for you to release it.

Xperia Pro deserves a custom ICS.
[Sony Ericsson Xperia Neo, Pro] Riyal:
Hello! Sorry for the lack of updates. Bad news! The hangups/reboots on USB charging is still there. I tried the latest ICS for 2 days. It wasn't there the 1st and 1/2 day tried plugging and unplugging the USB on PC alot of times. But when I was about to release the kernel the problem just showed up again :/ So I'll postpone the release again. 1 thing for sure now is that it's not in the ramdisk, GPU nor tweaks. I'm still trying to look at it. The big deal with this reboot loop/hangup is that I cannot trace the error since it's the plugging of the USB that's causing it. I couldn't do a logcat with adb. I also couldn't do a logcat on phone since problem won't show up unless I plug it to a usb. So sorry for the delay guys. The problem isn't with fixing the kernel it's about looking for the cause of the problem that's hard.

If anyone here have knowledge with C language and is willing to help me out feel free to PM me :)
[Sony Ericsson Xperia Neo, Pro] Riyal:
By the way if you guys won't mind would it be ok for you if I post different builds of the kernel here? It would help me out narrow down the cause of the problem at least.
[Sony Ericsson Xperia Neo, Pro] nosedive:
sure - go ahead

i would be glad if i can help. i can also try to pull logcat if you need?
[Sony Ericsson Xperia Neo, Pro] Dexxmor:
Sure, feel free to do so :D
[Sony Ericsson Xperia Neo, Pro] Redeque:
Why not just make a new topic. This one is kinda offtopick now and might be confusing for some.

To bad you couldnt fix it yet but thx for all the hard work!
[Sony Ericsson Xperia Neo, Pro] BeNiSh:
is there any plans to make Ultima build on official ICS?
[Sony Ericsson Xperia Neo, Pro] Steven Seagal:
Forward ... I'll try all the new kernels without any doubt ...

Thank you for your work ¡¡¡:p
[Sony Ericsson Xperia Neo, Pro] 1stichiban:
Thanks!!!

Hi, thanks for your hard work.

it would fine if you could share your build/s and we'll just provide feedback accordingly.

I'm looking forward to a similar GB Ultima for ICS :) if not better.

Thanks again!
[Sony Ericsson Xperia Neo, Pro] Dexxmor:
For now we can use airdroid from the play store, until the usb problem is fixed.
[Sony Ericsson Xperia Neo, Pro] Riyal:
I will once I sort out the issue. The point that I am posting it here is so that I could gather enough tester which has already knowledge with using the Ultima kernel. It's not quite off topic since it's still the same Ultima just an ICS version :)

Anyways I am currently building 7 builds of the kernel. Each build has an elevated number of features than the other one. That is for me to know which patch I applied causes the bootloops/hangups on the kernel. Plus I also updated the kernel sources to 4.1.B.0.431. Finally sony already released a kernel for Pro hoping this would solve the issue also :p
[Sony Ericsson Xperia Neo, Pro] Loccy:
I would be interested in the lightest weight possible kernel - as close to stock as possible with CWM and overclocking, that's all. Since going to the stock ICS I've gradually customised it to something completely unlike the original - Sony bloatware and branding removed, Nova launcher instead of Song's, stock email, notification toggles, battery percentage, HTC Sense style multitasking. I've tried various other ROMs but keep reverting back to my stock with mods. If there was a basic kernel that could accompany it I'd package it up and release it as a flashable update.zip.
[Sony Ericsson Xperia Neo, Pro] 1stichiban:
that, would be nice :)

been trying ICS but keep reverting to GB (Ultima 1.1.1)

Looking forward to your customized stock rom.
[Sony Ericsson Xperia Neo, Pro] Steven Seagal:
What is the update that launched Sony Ericsson for the kernel to 4.1.B.0.431? :confused::confused:
[Sony Ericsson Xperia Neo, Pro] nosedive:
consider releasing your modded rom without kernel

kernel choice is up to the user, we can't flash it anyways with boot.img in update.zip

btw currently working on another customized Sony-ICS just like you ;)
[Sony Ericsson Xperia Neo, Pro] cLeAv0:
I think the freeze problem happens when charging. I sometimes get a freeze when charging even on AC. This happened when my battery went 19% to 0% suddenly and it turned off. I tried to turn on it again and it went 19% again. When i plugged it in it froze. Then it became 1%? Lol. Don't know if this is due to incorrect battery stats but this wasn't the first time i got a freeze when charging.
[Sony Ericsson Xperia Neo, Pro] Riyal:
Hi guys! Here are 2 candidate builds.

http://50.56.186.177/xpk0.9.img

http://50.56.186.177/xpk0.8.img

Please test them out guys if one of them doesn't cause hangup and reboot loop then I'll provide the wifi module at once :)
[Sony Ericsson Xperia Neo, Pro] Loccy:
The agony of choice!

What's the difference between the two builds?
[Sony Ericsson Xperia Neo, Pro] Redeque:
I am a total noob but learning and trying.

Driving my wife mad by now so going strong :)

With wich rom do I test this kernel?
[Sony Ericsson Xperia Neo, Pro] Riyal:
These aren't choices but test builds :p they are both the same but have some different fix approach to see which works and doesn't work.

Anyways if both builds above still has the reboot loops and hangups here are a couple of stripped of builds.

The lower the build number the less features it has.

Also these builds below doesn't have overclock feature. Anyways if I could distinguish here which build doesn't have the problem then expect a stable build the day after I confirm it :)

http://108.166.95.194/packages/xpk0.6.img

http://108.166.95.194/packages/xpk0.5.img

http://108.166.95.194/packages/xpk0.4.img

http://108.166.95.194/packages/xpk0.3.img

Sorry guys if I'm making you all my test subjects :( but I just can't develop faster alone. Specially that my device doesn't reboot nor hangup on any of the kernels I made.

These are for stock Xperia ICS ROMs. :)

Update: Someone reported already. Seems like xpk0.6.img doesn't have the reboot loop. I will flash this version on my device and do some debugging.
[Sony Ericsson Xperia Neo, Pro] mohanparvatham:
Xpk-1.0.img not booting at all.....

Xpk-0.9.img is working....:)
[Sony Ericsson Xperia Neo, Pro] Riyal:
Argh :( 1.0 has broken ramdisk. Please try

http://50.56.186.177/xpk0.8.img instead.
[Sony Ericsson Xperia Neo, Pro] Dexxmor:
Download is broken. Test now your xkp0.9 kernel.

Kernel has random reboots by connect to pc.
[Sony Ericsson Xperia Neo, Pro] Steven Seagal:
+ 1 Broken ¡¡

Thank you Riyal ¡¡¡
[Sony Ericsson Xperia Neo, Pro] Dexxmor:
Kernel xpk0.6 has no random reboots, but he has also no OC :D
[Sony Ericsson Xperia Neo, Pro] Riyal:
Thanks for the tests guys!!

Now here's the last one. This should have no reboots with "almost" all the features included.

http://50.56.186.177/gg/ICS/xpk-1.3.img

Test it out guys if it's 100% stable then I'll release a new one later with wifi modules.
[Sony Ericsson Xperia Neo, Pro] 1stichiban:
Hi, thanks for your hard work.

Testing xpk0.9.

i am now charging via USB, so far no random reboots.

i have also installed apks via flashtool with no problem.

BTW, i am testing it with MIUI rom.
[Sony Ericsson Xperia Neo, Pro] Riyal:
xpk0.9 has random reboots :) Better test this one instead.

http://50.56.186.177/gg/ICS/xpk-1.3.img

or here's a new build with alot more additional features like swap, NFS, EXT4 filesystem, NTFS etc. support "untested".

http://50.56.186.177/gg/ICS/xpk-1.4.img

Sorry for the rapid releases guys. Consider these as nightly builds :)
[Sony Ericsson Xperia Neo, Pro] 1stichiban:
Haha, more like hourly builds bro :)

will test xpk-1.3

thanks again!

edit: Please see logcats for xpk-1.3. earlier logcat using conservative governor and later one with ondemand governor. Hope this helps.
[Sony Ericsson Xperia Neo, Pro] RamEsRock:
I am not much of a fan of test and failure, I don't want to harm my device.

But I'll do it because I am really a fan of your work Riyal.
[Sony Ericsson Xperia Neo, Pro] Riyal:
Could you post it here for me? I am at office right now so can't do much debugging.
[Sony Ericsson Xperia Neo, Pro] RamEsRock:
Riyal I have a question.

Your GB Kernel + ROM combo didn't fix the fact that I have an "i" device in an "a" area.

But with your ICS Kernel + MIUI or CM 7.2 Kernel + ROM allows me to use data.

Is the solution in the ROM? Or did you add it to the ICS Kernel?

Anyway, can you make it usable on your next Ultima GB update/Ultima ICS?
[Sony Ericsson Xperia Neo, Pro] 1stichiban:
logcats

As requested. Had to rename the files with extension .txt since .log files were invalid. :)

Hi, my last logcat for today. reverting back to GB.

Thanks again for your hard work!
[Sony Ericsson Xperia Neo, Pro] erlern:
Hi Riyal,

I tested the 1.4.img and it WORKS PERFECTLY! USB connection I mean - even on "Ondemand" governor.

Can I ask, how do you enable the EXT4 filesystem? We have to run a script ourselves? Same as EXT2?

Thanks! You rock!
[Sony Ericsson Xperia Neo, Pro] Riyal:
Hi! By saying that ext4 is included that would mean that your phone has the capability to read and write ext4 filesystems. It is already enabled after you flash the kernel. It's just a matter of when you format/partition your SD card into an ext4 format. I'm not sure on what script are you talking about ext2 but ext2 and ext4 are almost the same (just that ext4 is much more better). So modifying the script of yours a little should also be applicable on ext4.
[Sony Ericsson Xperia Neo, Pro] Riyal:
Hi! I don't understand what you mean by I have an "i" device in an "a" area. What's the exact problem?
[Sony Ericsson Xperia Neo, Pro] RamEsRock:
Mine is a MK16i, which is supposed to have 3G only in areas like Europe, or with compatible GSM bands. But I live in an uncompatible band area to access internet with my carrier's service.

But when I installed CM 7.2/MIUI ICS I was able to browse the internet with 3G.

I thought the solution for that was in the Kernel, but it seems to be in the ROM. Can you check that please?

(Summary: Ultima = No 3G; CM or MIUI: 3G available).
[Sony Ericsson Xperia Neo, Pro] Dexxmor:
1.4 is stable, i try it on stock ICS :D
[Sony Ericsson Xperia Neo, Pro] cLeAv0:
I can't download 1.4 404 Not Found
[Sony Ericsson Xperia Neo, Pro] Steven Seagal:
Here you go ... http://www53.zippyshare.com/v/80864586/file.html
[Sony Ericsson Xperia Neo, Pro] nosedive:
smokey joe updated his fxp release to v3 with kernel "KSM" support - what ever this is or how good it works.. but obviously ram gain is 20-30mb .. is this possible for UltimaICS-kernel?

btw - 1.4 works fine for me, no reboots so far..
[Sony Ericsson Xperia Neo, Pro] Steven Seagal:
I've tried all , I summarize the results :

xpk0.3

Does not freeze the display not working Ondemand

xpk0.4

Does not freeze the display not working Ondemand

xpk0.5

Does not freeze the display not working Ondemand

xpk0.6

Does not freeze the display not working Ondemand

xpk0.9

Does not freeze the display AND YES working Ondemand

xpk-1.0

Nothing works, BLACK SCREEN

xpk-1.3

Does not freeze the display AND YES working Ondemand

xpk-1.4

Freezes TO TIMES the display, AND YES working Ondemand

Pd: I'll try more times xpk- 1.4 and if it does not pass the xpk- 1.3 or xpk- 0.9...

I hope you help serve, Riyal ¡¡
[Sony Ericsson Xperia Neo, Pro] Riyal:
Update! Xperia Pro Ultima ICS Kernel released!

Overclocking support Overclockable up to 2.01Ghz (defaults at 1.02Ghz)

Lots of kernel governors enabled (SmartassV2, interactiveX, lagfree, minmax, Scary, smartass, SavagedZen and all the common governors)

Undervolting support

IO Schedulers noop, anticipatory, deadline, cfq, bfq, vr etc.

Swap enabled

TUN driver integrated

Some of Doomlords latest patches on Doomkernel

CWM Recovery

Init.d Support

Cleancache driver implemented

ZRAM driver from kernel 3.0 implemented

Enhanced IPv6 support

Patched KGSL driver optimized for Xperia Pro

V1.0

https://dl.dropbox.com/u/56328232/XPK2.4 Package.zip - Kernel, WIFI & some additional modules
[Sony Ericsson Xperia Neo, Pro] Riyal:
Would like to thanks all those who helped testing out the debug builds and logcats! :D It really helped me alot :)
[Sony Ericsson Xperia Neo, Pro] DokaponKingdom:
@Riyal i guess it is better to make a separate thread for UltimaGB and UltimaICS. that way, the thread wouldn't be mashed up with both GB and ICS and it'll be cleaner.:cool::cool:
[Sony Ericsson Xperia Neo, Pro] Dexxmor:
Kernel has the USB Bug :D
[Sony Ericsson Xperia Neo, Pro] Riyal:
Will do later. I'm at office at the moment. This was just a quick release.

By the way if anyone could contribute a better bootscreen please do :D
[Sony Ericsson Xperia Neo, Pro] naveen88:
Please mention the steps to flash...and is it ok to flash the opt modules?
[Sony Ericsson Xperia Neo, Pro] Riyal:
Ugh! Again! Sorry guys wrong package. Here's the correct kernel.

http://50.56.186.177/gg/ICS/xpk-2.3.img
[Sony Ericsson Xperia Neo, Pro] mohanparvatham:
@Riyal....can u please include SONY boot screen....
[Sony Ericsson Xperia Neo, Pro] khodos:
how to install it, then? flashin all the content of the 2.4 package? flashing the 2.3 kernel? What does the wifi modules do? Is it compatible with stock ICS?
[Sony Ericsson Xperia Neo, Pro] Riyal:
Hi! Seems like the reboot/hungup issue is still there. Although not as persistent as the early builds. Seems like there were 2 causes of the hangups. Right now I have tracked the 2nd cause which is located on the swap area. If I compile a kernel without swap support then It's already fully stable. Still I'll first try to resolve the issue. If all else fails then I'll upload a kernel without swap support just to have a stable build at the moment.

@khodos

Install the kenerl with fastboot then flash the wifi modules using the recovery integrated within the kernel. The kernel was made to work for stock ROMs. The only ROMs it will not work is on cyanogenmod ROMs.
[Sony Ericsson Xperia Neo, Pro] khodos:
Thanks Riyal. My question was what to flash, if only the 2.3 img kernel, or the 2.4 kernel + wifi modules. And what does it do, the kernel module?

Thanks again.
[Sony Ericsson Xperia Neo, Pro] Steven Seagal:
I'll try this kernel to be the best of all for now ... :p

Thank you Riyal ¡¡
[Sony Ericsson Xperia Neo, Pro] mrezat:
i think arabic rom archive has problem i cant use it...

how can i fix it?
[Sony Ericsson Xperia Neo, Pro] Riyal:
What's your problem with arabic rom? Please be more specific when reporting problems. Thanks!

@all

Ok guys a stable build of the ICS kernel will be released tomorrow :)
[Sony Ericsson Xperia Neo, Pro] Steven Seagal:
I inform you of this:

xpk-2.3

Sometimes restarts

xpk-2.4

Freezes TO TIMES the display

I'll be waiting for the stable kernel , thanks Riyal ¡¡¡
[Sony Ericsson Xperia Neo, Pro] Barleyman:
Riyal, you being the resident kernel-guru..

Is there something funky with Mk16 memory layout? /proc/meminfo reports only 340MB of memory available. Some is grabbed by GPU but 170MB?

I got disgusted by lacluster performance of my phone and spent some time tweaking sysctl directly. Only it turns out most of these "make ur ICS run rite fast"-threads have little substance and would be better described as how to make your ICS super laggy and crash-prone..

I referred to this thread on how to do supercharger installation, odex or no odex. This DOES help performance. It's bit convoluted process, though, so it'd be nice to have mk16 rom with supercharger performed..

But if 170MB of RAM is being used "somehow" it could explain the very laggy performance to start with. And, oh, yeah, using xpk-2.3 here.

MemTotal: 346616 kB
MemFree: 13604 kB
Buffers: 232 kB
Cached: 63272 kB
SwapCached: 0 kB
Active: 118984 kB
Inactive: 124192 kB
Active(anon): 99384 kB
Inactive(anon): 103256 kB
Active(file): 19600 kB
Inactive(file): 20936 kB
Unevictable: 17944 kB
Mlocked: 12540 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 12 kB
Writeback: 0 kB
AnonPages: 197660 kB
Mapped: 45896 kB
Shmem: 17564 kB
Slab: 25500 kB
SReclaimable: 3468 kB
SUnreclaim: 22032 kB
KernelStack: 7288 kB
PageTables: 7676 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 173308 kB
Committed_AS: 3777604 kB
VmallocTotal: 524288 kB
VmallocUsed: 162080 kB
VmallocChunk: 319492 kB
[Sony Ericsson Xperia Neo, Pro] Riyal:
@Barleyman

Sorry couldn't perfectly understand your question but I'll try to answer as much as I can.

Regarding the memory size yes it is quite normal for us to have only 340mb memory. The memory shown in meminfo is only the dedicated memory allocated for applications. The 512MB RAM we have is being split into parts by android. Most of it are being distributed to ramdisk, GPU, camera, audio, android core & multimedia stuffs. That is one of the so called features of android which differs from other OS. Android itself allocates a dedicate space for each module it has.

Regarding supercharger I didn't implement it on ultima ROM as I want to let users have the freedom to either use it or not. The supercharger script doesn't actually speed up the whole performance of the phone. It just tweaks process priority of the android OS. If your using Windows OS it's like just modifying the priority of a process on task manager. So what would happen is just android would just look for another low priority process to kill instead of the bulletproof one.

Basically I don't like supercharger for the reason that it minimizes the overall performance of multitasking of 3rd party apps on android.
[Sony Ericsson Xperia Neo, Pro] Riyal:
By the way to all those who are waiting for the stable build. The only reason I am not releasing it is because I don't have time yet to create a new thread :D

So for those who are eager...

Here's the download link for stable build :)

http://50.56.186.177/gg/ICS/boot-1.1.img <--- flashable image file

http://50.56.186.177/gg/ICS/WIFIModules1.1.zip <--- WIFI Modules

Re: bootscreen

Wait for a while guys I prioritized the building of a decent kernel before all the not so important stuffs. The reason why I am not including the default logo is that somehow when I add the default sony bootscreen the kernel just won't boot for some unknown reason.
[Sony Ericsson Xperia Neo, Pro] RamEsRock:
Riyal, are you going to release a modded ROM to go with your Kernel, or will you only tweak the Kernel to use with Stock ROM?

Also, can you leave Beats out for decision of everyone instead of having to forcefully use it?
[Sony Ericsson Xperia Neo, Pro] Riyal:
@RamEsRock

I'm not sure yet if I'll be making an ICS version of Ultima ROM. But what I am thinking now is making a patcher on which you could install any Arc, Arc S, Neo, Neo V etc. ROMs to Xperia Pro.

Example if you're using Ultima Kernel:

1. Download a custom ROM for Arc.

2. Flash it on your device using the CWM in Ultima Kernel.

3. Flash the patcher.

4. reboot

5. You'll have an Xperia Arc custom ROM on your Xperia Pro.

The reason why I'm considering this is that I don't have much time to maintain a custom ROM. So advantages would be Xperia Pro users would have vast choices of custom ROM's greater than any 2011 device & less headache for me :p Cause if you encounter bugs you report it to the ROM developer and not to me hehe

@to those who want to try change the bootscreen

You guys could follow iridaki's guide on unpacking and repacking the kernel. That's exactly what I am also doing since most of the steps and files is basically what I have.

http://xdaforums.com/showthread.php?t=1477845

&

You can download doomlord's logo.rle converter to convert the logo into a png file and edit it.

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

If you guys managed to successfully repack the ramdisk of my kernel to default SE logo please post it here cause I'll be putting it as the main download link for Ultima ICS Kernel.
[Sony Ericsson Xperia Neo, Pro] hazzik:
hi im having problem with titanium backup it says

sorry, i could not acquire root privileges etc.

this attempt was made using the "/system/xbin/su" command.

i downloaded root checker and it says im rooted

i checked supersu and it has granted superaccess on Titanium Backup.

what am i doing wrong?
[Sony Ericsson Xperia Neo, Pro] RamEsRock:
If a patch for Pro to get Arc's ROMs is posible, why haven't anyone ever done it?

You make it sound easy, like if you already know how to.

Anyway, hope you have success on doing that. You know you have users to beta test anything.
[Sony Ericsson Xperia Neo, Pro] Riyal:
It's easy at least for me in fact I have already done it ;) just under testing phase as of the moment. ANd it's still not polished yet. And yes... only limitation is of course the exception of CM ROMs.
[Sony Ericsson Xperia Neo, Pro] mohanparvatham:
that's great....:eek:looking forward for it....;)
[Sony Ericsson Xperia Neo, Pro] tanwg:
this is great news! with this, we will have access to much more custom ROMS than we were able to. Thanks Riyal!
[Sony Ericsson Xperia Neo, Pro] 1stichiban:
+1

Looking forward to trying out various ROMs...

Tho it would make me tinker with my phone a lot more...

hehe

Thanks Riyal for all your hard work...
[Sony Ericsson Xperia Neo, Pro] Steven Seagal:
Thank you very much ¡¡¡¡ :p:p
[Sony Ericsson Xperia Neo, Pro] khodos:
Hi Riyal, what does the "WIFI MODULES" do? better performance? less battery usage? etc.
[Sony Ericsson Xperia Neo, Pro] Riyal:
The name speaks for itself :p It's for Wifi. Without that wifi won't work. Hehehe