[DEV][HOT] MSM7x27 Kernel 3.0.8.x for GT540 - GT540 Optimus Android Development

Hi there!
I started working with 3.0.8.x kernel for gt540. There's many problems but we'll fix it!
* Actual status:
It's booting! But it's not able to using now!
* What's working:
Code:
- Bootable!
* Todo:
Code:
- Touchscreen driver
- USB driver
* Changelog:
Code:
[9-4-2013] First boot!
[9-4-2013] Creating basic gt540 configuration by myself
[9-4-2013] Forked sources from androidarmv6 team
* Kernel sources:
~ Not published yet!!!!
-------------------------------------------------------------------------------------------------------------------------------------------
Thanks:
- androidarmv6 team
- Miroslav_MM
- Google
- Twitter friends - Mike Gapiński, PcFighter, DevSwift
- XDA <33

untorched said:
Hi there!
I started working with new kernel for gt540. But I have problems with it. Kernel is not booting, it's frozen at LG logo. Someone know how debug kernel in this state? Or maybe can repair sources? I have no idea what I need to do :c
Kernel sources:
https://github.com/untorched/android_kernel_lge_msm7x27-3.0.x
Thanks:
- androidarmv6 team
- Miroslav_MM
- Google
Click to expand...
Click to collapse
Did you used the p500 source ?

Mikegapinski and pcfighter were trying to run lk 3.0.x without succes few months ago. I think that is not possible to run it on gt540 but i keep fingers crossed for your work.
Sent from my Desire HD using xda app-developers app

Its basically the same hardware as the p500. I guess it should work somehow

@smileydr0id: It's for msm7x27, not specified which device. Source from androidarmv6 team with modifications by Miro.
@KalZakath: It must work, but i think this need older boot configuration.
@Moster2: only cpu and gpu is the same. GT540 have other drivers, ram size etc.
If p500 and other msm7x27 devices works with this kernel then gt540 must work too with it. But now I don't know how to do it.
I need debug this kernel when it's booting, but I don't know how.

untorched said:
@smileydr0id: It's for msm7x27, not specified which device. Source from androidarmv6 team with modifications by Miro.
@KalZakath: It must work, but i think this need older boot configuration.
@Moster2: only cpu and gpu is the same. GT540 have other drivers, ram size etc.
If p500 and other msm7x27 devices works with this kernel then gt540 must work too with it. But now I don't know how to do it.
I need debug this kernel when it's booting, but I don't know how.
Click to expand...
Click to collapse
I know i saw the source.I was asking cause i thought that you took source from miroslav Californication github acc

smileydr0id said:
I know i saw the source.I was asking cause i thought that you took source from miroslav Californication github acc
Click to expand...
Click to collapse
I must try LG config and sources for Gt540 from their older kernel source. We'll see. I've heard that nobody can't boot 4.x android on GT540 but now it's working.

untorched said:
I must try LG config and sources for Gt540 from their older kernel source. We'll see. I've heard that nobody can't boot 4.x android on GT540 but now it's working.
Click to expand...
Click to collapse
with which system are you trying to boot it with ?
Sent from my Xperia U using Tapatalk HD

smileydr0id said:
with which system are you trying to boot it with ?
Sent from my Xperia U using Tapatalk HD
Click to expand...
Click to collapse
It doesn't matter, because kernel is not booting in "very low level". There must be a invalid memory address. Even kernel logo doesn't load, so it's very hard to fix it.
I must find way to debug it without UART or something like this ;c
If somebody have a idea pls tell me
Maybe using download mode? Anybody know something about this? Have tools?

Shoot miro a pm, he is still active on XDA

I wrote to him.
So, I can't get logs on screen because video driver probably isn't loaded before kernel stop booting. This kernel need somebody with UART tools ;c

I tried to activate UART debug output tracing in kernel, but without success. Phone died before kernel already initialized.. Need activate debug tracing in Bootloader maybe

I spoke with some people and i think JTAG will be better idea. Have you tools to using uart?

Kernel update! I booted kernel Sources are not published yet! I will post screens when touch screen will be working xD

Amazing news , 3.0.x kernel for GT540...

What features does this kernel have?
Sent from my Nexus 4

Any progress?
Sent from my Desire HD using xda app-developers app

I haven't got much time to work with it, but something changes every day xd

I am waiting for news!

any progress with touchscreen?

Related

[DEV] Developer Alliance

All,
I decided to create an open thread for DEV's from both XDA and Android Forums and where ever else, so we can all communicate back and forth on CM products for our phones. Since I know we have many sister phones which all basically have the same hardware I think it's time we all come together to help one another. Here is the known list of our sister phones.
- Motorola TRIUMPH
- Huawei U9000 IDEOS X6
- Viewsonic Viewpad 4
- Cherry Mobile Magnum HD A400
- Spice CSL Mi 410 - Slim
- WellcoM A99
- CSL Blueberry Mi 410
- Olive Smart VS300
- Axioo Vigo 410
- Huawei Ascend X
To start off the thread I will be answering a question from
http://forum.xda-developers.com/showpost.php?p=31460961&postcount=51
g60madman said:
X6 DEV's,
I see that rcset forked over our device files from MTDEV-CM10 right now rukin is using his own branch called rukin check in there for current updates, our main branch jellybean is still going through some growing pains. Also not sure if you guys have seen but QUALCOMM released updated egl drivers for Jelly Bean. For what it's worth I replaced all our Video drivers from QUALCOMM for CM9 with their ICS update for arm7 and it made a huge difference in performance. Our original egl drivers from CM9 came from edowar's github so it maybe worth to update all your CM9 ROM's and test that out. Just wanted to pass this on to all you devs. Since our phones are so similar I think it's worth the continued communication between devs
Click to expand...
Click to collapse
Arya_3RDNumber said:
Thanks g60madman,,thats great info for devs,,sure JB will more completely than ICS which stunning many devs
Sent from my Spice Mi-410 using Tapatalk 2
---------- Post added at 07:36 PM ---------- Previous post was at 07:35 PM ----------
Ah,,I forget something,,is proximity sensor could be fixed??need it for brightness setting
Sent from my Spice Mi-410 using Tapatalk 2
Click to expand...
Click to collapse
My pleasure
Yes our proximity sensor/light sensor seems to be working fine in CM9 for the Triumph, I have not tested this in CM10 yet. I notice it works as long as you turn it on by going to Settings < Display < Brightness and check mark "Automatic Brightness". Also while on a phone call when you pull the phone from your face the screen also turns on.
Based on edowar's github I see he is coping over the sensor file
https://github.com/edowar/android_device_fb0/blob/ICS/device_fb0.mk#L246
The other thing to look at is TickerGuy's original commit to android_frameworks_base for CM7
https://github.com/tickerguy/android_frameworks_base/commit/8e748c9a692eb82a9374af398ecea63c7b1944df
It looks like it was included in CM9 by matera
https://github.com/MTDEV-CM9R2/andr.../android/server/PowerManagerService.java#L315
Also the other thing you may need to do is hack on the kernel as well, here is Tickerguy's original commits for light sensor and changing the LUX values to handle the difference in direct sunlight outdoors and also the lower light of being inside.
https://github.com/tickerguy/WX_435_Kernel-Tickerguy/commit/cc6431239094150c6d4d854afcb47ff5a4c19d7c
These changes have also been included in our 2.6.32.59 kernel which Mantera patched for CM9/CM10
https://github.com/MTDEV-CM9/MTDEV-KERNEL-CM9/blob/ics/drivers/i2c/chips/ltr502als.c
As for the proximity sensor not working while on a phone call I patched this in our CM7 Kernel 2.6.32.9 from mantera
[urlhttps://github.com/MTDEV-KERNEL/MTDEV-KERNEL-CM7/commit/96f11d9478c8043095a8b77e20414d91dd2742ce[/url]
This is also patched in our current ICS kernel as well 2.6.32.59
https://github.com/MTDEV-KERNEL/MTDEV-KERNEL-CM9/blob/ics/drivers/input/evdev.c
If you have any other questions please feel free to use the thread
good to see triumph developer in here,,
i don't know there is will be a problem or not when triumph still using .32 kernel base and our gsm phone using .35 kernel in almost our lattest rom.. even we know our diferent is just in ril libs.. may be you can try to compile .35 kernel for triumph from TJ or EDOWAR source.. but you have to port andro-id rc3.nb0 first as base..
Sent from my FIH-FB0 using xda
Good day FIH-FB0 devs Sir g60 and Sir aben.
It seems like this is the first time the head devs of the GSM and CDMA units of FB0 come in contact.
Maybe you two should communicate often, but so as not to infringe your right of choice you are free to do otherwise. Just an unsolicited suggestion anyway.
I just would like to ask what is hacking a kernel, or parts of it, in the context of sir g60's post above?
I would like to compile kernels too.
Thanks.
(⊙o⊙)
---------- Post added at 12:34 PM ---------- Previous post was at 12:25 PM ----------
um, one more thing.
i think, in the spirit of a formidable alliance between GSM and CDMA devs, we should first be unanimous on what kernel version to put forward.
There are only two choices at the moment:
a. 2.6.32
b. 2.6.35
As the two of you are head devs, i would like to suggest that you two make a decision on this matter, but again feel free to do otherwise.
Thanks.
^▁^
abenagiel said:
good to see triumph developer in here,,
i don't know there is will be a problem or not when triumph still using .32 kernel base and our gsm phone using .35 kernel in almost our lattest rom.. even we know our diferent is just in ril libs.. may be you can try to compile .35 kernel for triumph from TJ or EDOWAR source.. but you have to port andro-id rc3.nb0 first as base..
Sent from my FIH-FB0 using xda
Click to expand...
Click to collapse
abenagiel, yes we have been working on the kernel source. Mantera was able to get it to boot once but as of right now it's not working. I updated all our kernel sources and newly modified build script today and set it up under a new organization https://github.com/MTDEV-KERNEL/
aeoi said:
Good day FIH-FB0 devs Sir g60 and Sir aben.
I just would like to ask what is hacking a kernel, or parts of it, in the context of sir g60's post above?
I would like to compile kernels too.
Thanks.
Click to expand...
Click to collapse
If you would like to get involved in modifying your kernel we have some instructions on setting up your build environment using Linux 10.04 at http://mtdev.us in the wiki area. Also you can download the build kernel script we have created at https://github.com/MTDEV-KERNEL/MTDEV-BUILD-KERNEL and then you can download your kernel by tjsyte at https://github.com/tjstyle/android_kernel_fih_msm7x30. Make sure to read the instructions in the README as you will need the config in the kernel directory.
Thanks sir g60.
^▁^
I thinks g60madman you only should port recovery V5.0.0.2.7 when you want to use kernal V.35..
Man I wonder if that all it is. I will check this out tonight!
Sent from my Nexus 7 using Tapatalk 2
g60madman said:
Man I wonder if that all it is. I will check this out tonight!
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Gud luck man,hope you will get it...
GPS?
elol said:
Gud luck man,hope you will get it...
Click to expand...
Click to collapse
elol,
How is the overal GPS lock speed on CM9? I was checking some permissions and I simply guessing, however I assume your GPS locks are really slow or non existent? Let me know as I may have a fix for you guys.
g60madman said:
elol,
How is the overal GPS lock speed on CM9? I was checking some permissions and I simply guessing, however I assume your GPS locks are really slow or non existent? Let me know as I may have a fix for you guys.
Click to expand...
Click to collapse
Bro GPS get locked very smoothly over all CM9 rom without an issue.... thanks for the offered help
vivekb said:
Bro GPS get locked very smoothly over all CM9 rom without an issue.... thanks for the offered help
Click to expand...
Click to collapse
Just a hunch, was looking at your permissions for the kernel and while gps works for you, when we made changes based on your kernel permissions our GPS stopped working.
Sent from my Nexus 7 using Tapatalk 2
g60madman said:
elol,
How is the overal GPS lock speed on CM9? I was checking some permissions and I simply guessing, however I assume your GPS locks are really slow or non existent? Let me know as I may have a fix for you guys.
Click to expand...
Click to collapse
See this link myb this will help you..
http://forum.xda-developers.com/showthread.php?t=1266525
elol said:
See this link myb this will help you..
http://forum.xda-developers.com/showthread.php?t=1266525
Click to expand...
Click to collapse
Thanks elol I sent this to my other team member that has been fixing gps.
HEX-RAYS
Dev's I wanted to share a tool that has been helping us a bunch lately that I found here on xda
http://www.hex-rays.com/products/ida/support/download_demo.shtml
This tool allows you load lib files and finds which files should be associated with it. Recently in making changes to our CM7 ROM we have increased our egl from 11fps to 19fps by using the Sharp Gingerbread libs. Prior to this tool we where never able to use these libs as we didn't know which libs where dependent on others. Anyways I wanted to pass this along. Also while this it's listed as a demo version the demo portion only works on ARM technology so for us developers of Android this is basically a full version for us! It's nice to know that sometimes open source gets a break :laugh:
CM9 Major Improvements!
Dev's,
I have added in the Code Aurora Qualcomm libs which I found from TwistedUmbrella and also Lloir's git hubs. Here is the commit I added
https://github.com/MTDEV-CM9/vendor/commit/0970ca0a148088ffcb945549689d7cc317ebedbe
Disregard the first four files of the commit as they are Triumph specific files.
cm/prebuilt/common/bootanimation/vertical-480x800.zip - CM10 Boot animation
motorola/triumph/proprietary/hostapd - Triumph specific file
motorola/triumph/proprietary/hostapd_cli - Triumph specific file
motorola/triumph/proprietary/sensors.triumph.so - Triumph specific file
The remaining code, and lib's should do wonders for your CM9 ROM and really give it a face lift in terms of speed and overall performance!!!
g60madman said:
Dev's,
I have added in the Code Aurora Qualcomm libs which I found from TwistedUmbrella and also Lloir's git hubs. Here is the commit I added
https://github.com/MTDEV-CM9/vendor/commit/0970ca0a148088ffcb945549689d7cc317ebedbe
Disregard the first four files of the commit as they are Triumph specific files.
cm/prebuilt/common/bootanimation/vertical-480x800.zip - CM10 Boot animation
motorola/triumph/proprietary/hostapd - Triumph specific file
motorola/triumph/proprietary/hostapd_cli - Triumph specific file
motorola/triumph/proprietary/sensors.triumph.so - Triumph specific file
The remaining code, and lib's should do wonders for your CM9 ROM and really give it a face lift in terms of speed and overall performance!!!
Click to expand...
Click to collapse
thanks man.. i will take alook the commit,,
#oh its 3.30am on my country,, i'm very sleepy
Question
Hi to all
I have downloaded the 20121013 CM9 rom for motorola triumph.
Can I just replace the lib files of any of our cm9 roms from MT rom to improve performance.
If it is possible, which are the main lib files which I should replace?
Please help
If you look at the GitHub link I posted all the files are in the system folder. You can download the zip from GitHub and pull out all the files you need. If look at this file it will tell you which files you need and what folder they go into.
https://github.com/MTDEV-CM9/vendor/commit/0970ca0a148088ffcb945549689d7cc317ebedbe#L43R185
The way to read the XML is after the : it will tell you the folder
:/system/etc/firmware/a225_pfp.fw
So that says a22_pfp. fw goes in system/etc/firmware.
If you have further questions please feel free to post
Wi-Fi Hidden Network?
I was going to ask, do you guys have any issues with connecting to hidden networks with Wi-Fi? Just wanted to check, as I added in edowar's updated wi-fi settings and I can not connect to hidden wi-fi, just wanted to check.

[Dev] [JB/ICS] OC Engine for 2.6.39 Kernel

I got time today a little while to observe OC possibility, and attempted. I was in hurry and these days I dont much have time these days so I've not tested what I've writtten, but theoretically it should work without issues:
OC Engine For LG Optimus 2x For 2.6.39.x Kernel
*It's written for 1.2Ghz but it's easy to ramp up to 1.4/1.5 by observing codes.
Devs feel free to use ,
and rippers dont rip codes to represent it as yours.
Download
*See attached patch file
Wow thank you so much.....will have a look at it right away......
spica1234 said:
I got time today a little while to observe OC possibility, and attempted. I was in hurry and these days I dont much have time these days so I've not tested what I've writtten, but theoretically it should work without issues:
OC Engine For LG Optimus 2x For 2.6.39.x Kernel
*It's written for 1.2Ghz but it's easy to ramp up to 1.4/1.5 by observing codes.
Devs feel free to use ,
and rippers dont rip codes to represent it as yours.
Download
*See attached patch file
Click to expand...
Click to collapse
this is another OC/UV patch
http://forum.xda-developers.com/showthread.php?t=1971350 (Please see attachments)
based on the "Overclocking the Toshiba AC100" work by gordan
- http://www.altechnative.net/2011/12/31/overclocking-the-toshiba-ac100/
and the TF101 OC by ibladesi
- https://github.com/ibladesi/TF101-HighOC-3P1
it works nicely with my SU660
harsh already applied simplified version of this OC/UV patch on his kernel
https://github.com/bhanvadia/lge-kernel-star/commit/ed65546739d458454f0c4d14902d970626046e06
https://github.com/bhanvadia/lge-kernel-star/commit/31cd7ea99b962386ba12e36fc99e3ac9dc858def
it needs two fixes
- https://github.com/bhanvadia/lge-kernel-star/commit/604d675b84aaa905a675109e52b4becebded9cff
- https://github.com/bhanvadia/lge-kernel-star/commit/4ade8a95ed07aa5ac08d1923f48192f91ced8d68
Thanks wkpark for all these references. I logged in xda after many days, I wasnt aware about yours and harsh's attempt about oc. Anyways but I am happy, about your references and yours and harsh's work . Actually your 2 refrences posted last are useful that's neccessory for oc, I made a long route instead as I din't get much time to observe other files.
Thank you anyways
Sent from my LG-P990 using xda app-developers app
Welcome back buddy.....
Old is gold.....have seen the two old buddies come back when there sadness with one good one gone....
But life is like that......good and bad
O2X with Magical ROM and supersonic kernels from my buddies
whank u spica any one compile a OC kernel all ready?
Take your time, but those can't wait, all of us in fact, must try Topogigis rom
Sent from the new smoothly LGP990
Thanks Spica
Subscribed :laugh:
CarloIT said:
Thanks Spica
Subscribed :laugh:
Click to expand...
Click to collapse
I logged in after many days and found wkpark has already made oc available in easy more effective ways and more robustly it has been written
Users are usually don't aware about the real heroes and those such persons are wkpark, harsh etc who has given very much contributions for lg optimus 2x.
So thanks deserving persons are wkpark and harsh as well that users must know
"Share, learn and enjoy" that's the key to OpenSource
Sent from my LG-P990 using xda app-developers app
wkpark said:
this is another OC/UV patch
http://forum.xda-developers.com/showthread.php?t=1971350 (Please see attachments)
based on the "Overclocking the Toshiba AC100" work by gordan
- http://www.altechnative.net/2011/12/31/overclocking-the-toshiba-ac100/
and the TF101 OC by ibladesi
- https://github.com/ibladesi/TF101-HighOC-3P1
it works nicely with my SU660
harsh already applied simplified version of this OC/UV patch on his kernel
https://github.com/bhanvadia/lge-kernel-star/commit/ed65546739d458454f0c4d14902d970626046e06
https://github.com/bhanvadia/lge-kernel-star/commit/31cd7ea99b962386ba12e36fc99e3ac9dc858def
it needs two fixes
- https://github.com/bhanvadia/lge-kernel-star/commit/604d675b84aaa905a675109e52b4becebded9cff
- https://github.com/bhanvadia/lge-kernel-star/commit/4ade8a95ed07aa5ac08d1923f48192f91ced8d68
Click to expand...
Click to collapse
can u build one version for p990!
anjo88 said:
can u build one version for p990!
Click to expand...
Click to collapse
commit in my github is for P990 itself.
But as Topo said, OC is flaky currently. Anything more than 1.2 GHz make phone hang. Need to find where did NVIDIA implemented code for making CPU stuck as half frequency if its OCed.
Harsh said:
commit in my github is for P990 itself.
But as Topo said, OC is flaky currently. Anything more than 1.2 GHz make phone hang. Need to find where did NVIDIA implemented code for making CPU stuck as half frequency if its OCed.
Click to expand...
Click to collapse
great can u share it so that people can test! i have all msot shure that audio bug is boatloader related so if some on can compile a cm10 from RC and apply the new bootloader for testing will be great!
Anda I'm saying that because 28e/g cm10 old bootloader call problems v228/e/g new bootloader at 10 not a sigle call problem!
anjo88 said:
great can u share it so that people can test! i have all msot shure that audio bug is boatloader related so if some on can compile a cm10 from RC and apply the new bootloader for testing will be great!
Anda I'm saying that because 28e/g cm10 old bootloader call problems v228/e/g new bootloader at 10 not a sigle call problem!
Click to expand...
Click to collapse
bootloadr is not related with audio bug... and that will never be.
official leaked ics roms doesn't have audio bugs just because they are official p990 roms with the official p990 kernel from lg, i remind you that cm10 is using su660 kernel source, a not completely but strongly enough different phone.
pidocchio said:
official leaked ics roms doesn't have audio bugs just because they are official p990 roms with the official p990 kernel from lg, i remind you that cm10 is using su660 kernel source, a not completely but strongly enough different phone.
Click to expand...
Click to collapse
If you read a bit more, you'll find out that the original P990 ICS leak with untouched kernel is also suffering from the same bug. Nothing to do with CM10 or SU660...
Sent from my LG-P990 using xda app-developers app
pidocchio said:
bootloadr is not related with audio bug... and that will never be.
official leaked ics roms doesn't have audio bugs just because they are official p990 roms with the official p990 kernel from lg, i remind you that cm10 is using su660 kernel source, a not completely but strongly enough different phone.
Click to expand...
Click to collapse
If you read a bit more, you'll find out that the original P990 ICS leak with untouched kernel is also suffering from the same bug. Nothing to do with CM10 or SU660...
Click to expand...
Click to collapse
I think that the new bootloader and related thing have better compatibility with ics then the old gb bootloader, for sure..
I'm using the leaked ics from the beginning and i don't have a single call bug
Buccio said:
I think that the new bootloader and related thing have better compatibility with ics then the old gb bootloader, for sure..
I'm using the leaked ics from the beginning and i don't have a single call bug
Click to expand...
Click to collapse
why dont adapt cm10 with new bootloader and then we know wheter the in call audio bug is still present or not....sorry for oot
godh3ll said:
why dont adapt cm10 with new bootloader and then we know wheter the in call audio bug is still present or not....sorry for oot
Click to expand...
Click to collapse
Agree, someone with kind heart and capable should build cm10 with new bootloader/layout partition.
aldyu said:
Agree, someone with kind heart and capable should build cm10 with new bootloader/layout partition.
Click to expand...
Click to collapse
+11111
godh3ll said:
why dont adapt cm10 with new bootloader and then we know wheter the in call audio bug is still present or not....sorry for oot
Click to expand...
Click to collapse
I know audio bug is really an annoying bug.
I don't know whether audio bug is related to boot loader or not.
And about boot loader, I won't say its impossible w/o sources but we don't have boot loader sources, neither sources of old nor new:/
Sent from my LG-P990 using xda app-developers app
don't care about OC on JB, need ramhack...CM10 have tiny free ram

v30c Kernel Compiled with Linaro

Hi Guys,
I have managed to compile our ICS kernel with Linaro 4.7 and make it bootable after too much trouble.....
The kernel is compiled with o3 optimization
Toolchain used from made by Christopher83
http://forum.xda-developers.com/showthread.php?t=2098133
The kernel is tested with Nooby's v30b repack....
The kernel is build from original source i.e it has the first LED not working issue during Boot....
I would like to hear if there's any improvements or its just the same....
It was learning experience for me build a kernel .....
I do not guarantee of providing timely improvements or etc
I do not have a github etc...
can someone help me with that....i want to start it from zero ....with original source and will put patches on it...
I am attaching the patch as a zip file,..is a normal zip file with all the code necessary to compile the kernel with linaro,,,
it also has code of rmcc patch
O3 and linaro equals hard to debug bugs and no performance improvements.
Can you make one kernel for ligux rom?
Enviado desde mi Optimus Black
dflt said:
O3 and linaro equals hard to debug bugs and no performance improvements.
Click to expand...
Click to collapse
The O3 flag would not give much improvement over the O2 flag as the optimizations that are brought in are only applicable in a few places and the kernel isn't that computation heavy. I still want to see a O2 and Os comparison, but I don't have time to waste on things like that these days.
As for different tool chains. I have seen a benchmark sometime ago with different kernels compiled with different toolchains. The difference was marginal and seemed to differ with kernels as well as toolchains (Some toolchains just like and dislike some kernels) . Overall Code Sourcery's toolchain did best on average I think.
Post a source, otherwise this thread will be closed. You can use my guide to learn how to do that.
eagleeyetom said:
Post a source, otherwise this thread will be closed. You can use my guide to learn how to do that.
Click to expand...
Click to collapse
I was actually waiting for user replies ..but it seems no one is using my kernel...
Also i am actually busy for some time....will be providing the source either in a zip or setup a git by following your guide
AW: v30c Kernel Compiled with Linaro
eagleeyetom said:
Post a source, otherwise this thread will be closed. You can use my guide to learn how to do that.
Click to expand...
Click to collapse
Just give him some time it's always hard, when you are new to a subject... and hey, if you provide some benchmarks and further improvements, why should noone wanna use it?
Sent from my LG-P970 using xda app-developers app
Hi guys i have provided the patch to compile kernel with linaro in my OP....
regarding performance i didn't observe anything...
2days ago i officially updated my phone from 2.2 to 4.0 v30c because i wanted all my apps preserved.....
and today i experience sdcard unmount....i didnt experience it with my kernel and nooby v30b repack...maybe because i had i freshly installed...not sure....
i have not yet tried my kernel with v30c....because i have yet to patch the bootlaoader and install cwm...as per another threads to do this,,,maybe i will plan to
do this this weekend,,,,
Oh ...i got my phone reset when did reboot in recovery without any recovery with anreboot...and lost all my phone data....all efforts gone to wain...now i have to root and install apps again
Also my ICS version show 30C-SEA and i am from India...
I flashed official v30c and experienc ed sd card unmount. ..then installed v30b unlocked loader ...then installed my kernel and have been testing it....no sd unmount and also frontkey leds works according to settings done.....
Those who still have unmount problem can try my kernel in OP if you are using v20 bootloader. ..and those who use unlocked v30 unlocked bootloader dont use the Kernel attached in OP otherwise bootloop..just reply to me and I will attach the new one....
Sent from my LG-P970 using xda app-developers app
Have some view in attached file but no feedback
Thanks for your work, but I think everybody here need a optimize kernel, because, you know, the stock kernel isn't enough good
no14me said:
Have some view in attached file but no feedback
Click to expand...
Click to collapse
What u want to say???
no14me said:
Thanks for your work, but I think everybody here need a optimize kernel, because, you know, the stock kernel isn't enough good
Click to expand...
Click to collapse
I don't think there's any kernel fully optimized yet..
I asked only for those who get sd unmount to try my kernel. ..no one is forced to use it....
Sent from my LG-P970 using xda app-developers app
rajeshmk2012 said:
What u want to say???
I don't think there's any kernel fully optimized yet..
I asked only for those who get sd unmount to try my kernel. ..no one is forced to use it....
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
Just give a try with French v30C's kernel. They fixed ondemand gov. and there isn't any sd unmounting. I'm using it since it went out and hadn't any problems.
Enviado desde mi LG-P970 usando Tapatalk 2
rajeshmk2012 said:
What u want to say???
I don't think there's any kernel fully optimized yet..
I asked only for those who get sd unmount to try my kernel. ..no one is forced to use it....
Click to expand...
Click to collapse
I see a attached file have some download, but no one give the feedback that with your kernel is the sd fixed or not. Because I don't have that issue.
About the optimization, just is my suggestion
diazao said:
Just give a try with French v30C's kernel. They fixed ondemand gov. and there isn't any sd unmounting. I'm using it since it went out and hadn't any problems.
Click to expand...
Click to collapse
+1.
I just got sd unmount with my kernel after a week's use....
I will wait for v30d sources
Sent from my LG-P970 using xda app-developers app
Hi,
wer can i find the Adagio Kernel? the link in the first post seem to doesn't work
thanks
I dont want to interrupt your hard work but look here, may find something interesting (google translator needed) :-
http://lg-p970-shuajibao.shuajizhijia.net/
There are monthly updated ROMs and Kernels, you might be interested in.
Due to very little internet package I cant test them. If you find any ROM/Kernel useful please inform us all.

{ARC/ARC S}[DEV][KERNEL SOURCES] Based on 3.0.x nAa kernel

Firstly thanks to nobodyAtall to release the kernel sources for porting the 3.0.x kernel on the Xperia 2011 devices... he will be working on the smultron while i will take up anzu (Xperia ARC/ARC S) & zeus (Xperia PLAY)
for now till we get most things working we will shift discussion to nAa's thread...
closing this thread for now...
-------------------------------------------------------------------------------------------------
my work in progress sources are uploaded here:
Github Sources
Just a statement regarding kernel source: The Kernel Source is released for all at GITHUB repo given below. BUT Free software does NOT mean no work or time was spent working on it. A lot of my free time has gone into patching/testing this kernel/features integrated in this kernel. If you use my modified kernel source in parts or in its entirety, I kindly ask you mention its origins and to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source.
Thank you !
Click to expand...
Click to collapse
developers are welcome to fork the repo and try fixing the issues... if u are able to resolve any issue please send a pull request so that other users of this kernel will benefit...
currently the issue is that the display is screwed...
Changelog, working/not working log can be found here
this is a DEV ONLY THREAD
SPAMMERS SHOULD BE REPORTED AND BANNED!
THESE ARE ONLY KERNEL SOURCES MENT ONLY FOR ADVANCED USERS/DEVELOPERS TO HELP FIX THE KERNEL
Changelog:
20130424-0030 : added fix for shifting screen while in OS, display is still "lagging", not refreshing correctly
20130423-0430 : merged changes for anzu support into mogami board, working defconfig for anzu along with drivers for various components
20130422-2330 : initial import from nAa sources
Tested On:
Stock ICS ROM 4.1.B.0.587
CM10-FXP215
Whats Working:
device boots
usb gadget works
adb works (in recovery)
display working though might need some fixing
buttons work in recovery
android OS boots (stock ROM)
touchscreen works
sim card is detected
physical buttons are working correctly (stock ROM)
bluetooth is working
Whats Not Working:
ROM (CM10-FXP215) gets stuck at boot animation, doesnt go past the animation
ROM (Stock ICS FW .587) screen doesnt refresh properly
Glad to see DoomLord back to dev the new kernel,
I'll be the tester!!!
Nice DoomLord..
Hope Wedgess or Rachit can do something about this, n give our device something new...
Coz I'm just a noob user .
Real good stuff, exciting development going on for our old devices. I can be a tester for Anzu/Ayame if you need!
kpstar1119 said:
Glad to see DoomLord back to dev the new kernel,
I'll be the tester!!!
Click to expand...
Click to collapse
zaki0saad said:
Real good stuff, exciting development going on for our old devices. I can be a tester for Anzu/Ayame if you need!
Click to expand...
Click to collapse
for now i am myself a tester since i have the device with me
vashta said:
Nice DoomLord..
Hope Wedgess or Rachit can do something about this, n give our device something new...
Coz I'm just a noob user .
Click to expand...
Click to collapse
yes i do hope other advance users, devs can start pitching in and help fix this...
PLEASE STOP POSTING SPAMMING THREAD
till we get most things working we will shift discussion to nAa's thread...
closing this thread for now...
calling all devs!
need help fixing the sources for Xperia Arc (anzu)...
sources are pushed here.. please start contributing...

[Dev][Experimantal][Kernel][ION] nAa-ION Kernel

This is Strictly Development i u know something plz share if don't then be slient
What is ION .?
Noob way :- It makes things awsome -by lauppenstepperwolf
there is awsome explaination on LX git Wiki
LX said:
#### What is Shared Memory?
Memory is usually private; an app takes a chunk and nothing else can access it.
Sometimes, it makes sense to share memory between processes; for example, an app writes to the screen buffer, while the gfx driver reads that same buffer to put it on the screen. You need a special memory system for that.
####PMEM vs. ION
Back with Gingerbread, every ARM chip maker (Qualcomm, TI, nVidia, Samsung, more?) had their own way of doing shared memory. The Qualcomm way was a system called **PMEM**.
Problem: when a vendor sells a chip to Sony and Samsung, he needs to write two drivers, one for each shared memory system.
To reduce maintenance efforts, Google introduced **ION**, a unified shared memory system, that all vendors use since ICS
Problem: from ICS forward, Qualcomm only provides graphics drivers for ION. PMEM is obsolete.
For a while, stuff still worked, but it is getting worse for us - see the Google Maps app for example.
####Move to ION
An option is to rework the kernel, replace the PMEM system with ION, and replace the old PMEM drivers with newer ION drivers. A common problem on several old devices is, that the camera chip is non-standard, and Sony (Samsung, HTC) never wrote ION drivers for the old cameras. Moving to ION then means you lose the camera completely.
A new solution is to move the kernel to ION, but have a PMEM system on top of ION so that the old camera libs can connect to it. As far as I know, this was pioneered by the Dev_Connection team that maintains the Samsung S+ i9001 (great team, hats off to Christopher83 especially).
Another implementation of an ION/PMEM hybrid was made by galaxyfreak for the HTC Explorer (Pico).
The i9001 and the Pico have similar hardware to our 2011 Xperias (2011, MSM, 512MB RAM, similar specs).
Feedback for the ION builds is very positive. Performance is good and it solves some graphics problems like the Google Maps flickering, and it solves the slow browser.
####ION on LegacyXperia
It would be the next big step after the 3.x kernel, but, it's a lot of work.
On the i9001, 8 devs work on 1 device, while on our side, 1 dev works on 8 devices.
The i9001 approach was to migrate 10.1 to ION, then 10.2, then 11; instead of directly doing 11-ION.
Click to expand...
Click to collapse
ETA :- Nowhere to release
============================================================================
THIS IS A REWORK ON nAa-kernel to use ION but with no video recording support ... until mike does spread his awsome magic with his new scratch ported kernel...
Source :- http://www.github.com/rebel-x/msm7x30-3.4.x-nAa
Current Progress : Intial Pushes done "yay" lets hope it boots
NOTE :- We need your help , i m not able to do alone since i have very limited knowledge about kernels , Please forgive me if my coding somewhere wrong cause
ok so thank you i will post progress as we all get step further ,
thank you
Credits :
Mike : we all know why
nAa : Awsome dev
szezso : always helpful
XDA:DevDB Information
ION-Kernel, a Kernel for the Sony Ericsson Xperia Arc
Contributors
officiallysonyrebel, szezso, Mike
Kernel Special Features:
Version Information
Status: Testing
Created 2014-01-08
Last Updated 2014-01-07
Don't ever give up!
you also need To build rom with ion accelator
offical
its offical jb kernel ?
mahsun72 said:
its offical jb kernel ?
Click to expand...
Click to collapse
Can you read? It's not even official. It could be also for CM11 since he mentioned browser lag, which is an existing bug in CM11.
To OP, I should be able to check the coding and whatnot. Only problem is I'm currently in the army and unable to access my computer on weekdays.
僕のLT18iから送られてきた
@n1kolaa i guess you can start work on this if you have time.. I have seen you working.. Seems a real genius can you?
Sent from my Nexus 5 using Tapatalk
I should also be able to check the code as I'm proficient in C++. Let me know where I can help out, it's a good initiative.
ION and PMEM should'nt be device specific, no ? Isn't the work done on i9001 reusable here ?
First it could be interesting to locate all patches applied on the kernel to implement the hybrid memory allocation.
Edit :
I suppose the kernel in question is this one :
https://github.com/AriesVE-DevCon-TEAM/samsung-kernel-msm7x30/tree/cm-11.0_ion_pmem_adsp
Boudin said:
ION and PMEM should'nt be device specific, no ? Isn't the work done on i9001 reusable here ?
First it could be interesting to locate all patches applied on the kernel to implement the hybrid memory allocation.
Edit :
I suppose the kernel in question is this one :
https://github.com/AriesVE-DevCon-TEAM/samsung-kernel-msm7x30/tree/cm-11.0_ion_pmem_adsp
Click to expand...
Click to collapse
ion is different for every device i guess
Update :
finished initial kernel part (lets hope it boots know)
vishal_android freak said:
@n1kolaa i guess you can start work on this if you have time.. I have seen you working.. Seems a real genius can you?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
im now focus on shool,also i give my arc to my sister i now have only idol mini
n1kolaa said:
im now focus on shool,also i give my arc to my sister i now have only idol mini
Click to expand...
Click to collapse
Well, that's still fine.. Mini you have for testing.. Give it a try, you never know what you can end up with, probably a working kernel with ion support.. :thumbup:
Regards,
vishal_android freak
vishal_android freak said:
Well, that's still fine.. Mini you have for testing.. Give it a try, you never know what you can end up with, probably a working kernel with ion support.. :thumbup:
Regards,
vishal_android freak
Click to expand...
Click to collapse
its idol mini form alcatel,how can i test new kernel with it explain it to me
n1kolaa said:
its idol mini form alcatel,how can i test new kernel with it explain it to me
Click to expand...
Click to collapse
Ohh.. My bad.. Sorry..
Sent from my Nexus 5 using Tapatalk
I think I can develop based on this. Is the ION kernel actually booting and working preperly etc. ?
CedArctic said:
I think I can develop based on this. Is the ION kernel actually booting and working preperly etc. ?
Click to expand...
Click to collapse
i have completed allocation but that f**kin msmfb code is a heck since we are using drivers from 3.0 need a lot of work
rebelos said:
i have completed allocation but that f**kin msmfb code is a heck since we are using drivers from 3.0 need a lot of work
Click to expand...
Click to collapse
all the best bro.. Any improvements?
gpkumaran said:
all the best bro.. Any improvements?
Click to expand...
Click to collapse
yea its compiling know but no where Close to Boot ... i have changes locally purchased a XMP with screen destroyed only for kernel debugging purpose
rebelos said:
i have completed allocation but that f**kin msmfb code is a heck since we are using drivers from 3.0 need a lot of work
Click to expand...
Click to collapse
Thanks for your work! I love KK rom and im wait ion kernel :thumbup:
Regards
To many 4.4 roms are coming out....in my opinion all kitkat devs should focus on just 2 roms and this really good kernel.
At least with 2 different 4.4 roms there is still competiton for improvement without scattering work to much.
A nicely developed kitkat will save out Arc from retirement.
Btw i was wondering, since HDMI sources for kitkat are not available, would it be possible to create-compile a MHL compatibility for our arc? so we can use MHL accessory instead of HDMI? Or a virtual machine on kitkat running the stock ICS HDMI feature?
I'm no dev so i have no idea how hard it could be.....just asking out of curiosity, many use hdmi on arc for movies or android desktop with OTG mouse and keyboard. Its really a pity we cannot make it work on 4.4 yet.
Dr.SAM88 said:
To many 4.4 roms are coming out....in my opinion all kitkat devs should focus on just 2 roms and this really good kernel.
At least with 2 different 4.4 roms there is still competiton for improvement without scattering work to much.
A nicely developed kitkat will save out Arc from retirement.
Btw i was wondering, since HDMI sources for kitkat are not available, would it be possible to create-compile a MHL compatibility for our arc? so we can use MHL accessory instead of HDMI? Or a virtual machine on kitkat running the stock ICS HDMI feature?
I'm no dev so i have no idea how hard it could be.....just asking out of curiosity, many use hdmi on arc for movies or android desktop with OTG mouse and keyboard. Its really a pity we cannot make it work on 4.4 yet.
Click to expand...
Click to collapse
A better Kitkat .. lets summerize current kernel situation
1. nAa 3.4 full of hacks
2. using drivers and stuffs from 3.0.x
3. Stuck on Abandoned PMEM {with every increasing android version we are using patches more than before to maintain PMEM causing soo many graphic lags
4. msm_fb code /* lets not focus on it currently */
why this mess /* to bring 3.4 kernel faster */
i m trying on 3.0.x-nAa kernel cause it is Pure CAF and also mike is working on Pure CAF 3.4.x MHL enablin gis such a lot and lot of work we are not in fully stable stage to look at MHL and other workaround first..
our device is a 3 year old piece of hardware without camera and HDMI libs using outdated kernel and drivers what should be the main goal
1. To make kernel updated with current sources
2. then make things working
3. then wprkaround for all abandoned hardware(like HDMI)
hope u know why we are focus on kernels and roms know ... and to come at point of compeion in roms
there is no compeition we are not selling our products .. we are working cause we like it and more roms means more respect for developers who are working tirelessly on maintaining those roms @Marchinho6 please no these kinds of post ..!these will spam thread

Categories

Resources