Kernel Development Team - LG Optimus G (International)

Hello everybody,
I'm back on the forums after being away for some time.
In the meantime I got myself my own LG Optimus G to be able to get to effective developing for this device.
My opinion is that this device is a powerfull device with a lot of "still to be unlocked" potential.
Before I bought the LG Optimus G I used the Samsung Galaxy S Plus, which had a very active and good developers which even today still perfectly support this old device.
When that phone launched it contained Android 2.3.6, but today it supports even the Android 4.4.4 builds (unoffical).
One of the most important steps in achieving this goal was to move from the Samsung provided kernel source to the CAF (Code Aurora Forum) based kernel source.
Because I wish the LG Optimus G the same future as my old device, I would like to get busy with bringing up the CAF kernel codebase on the LG Optimus G.
This will be a big project which is why I request fellow developers which are interested in this project to please join and form a development team with a common goal.
What needs to be done is:
- Obtain official LG Optimus G (Android 4.4) kernel sourcecode from: LGE975_G_Kitkat_Android_V20a_Kernel.zip
- Obtain latest CAF Kernel codebase (chipset apq8064) from: msm-5bfc8718998bedfeea1997d83838ffd1981cbf12.tar.gz (Last modification date: 30-06-2014)
- Extract added LGE Specific code and drivers from the official LG kernel source.
- Set-up a team Github with the clean CAF codebase, which all the driver and LG specific code will be added to.
If you're interested in helping with this project please contact me or leave a message over here.
Please no spamming etc.
Greetings PsychoGame

Hello everybody,
A little status update:
At this moment a 2-man team has been formed.
We have a team Github set-up for the development process this team will have.
The github link is: https://github.com/OptimusG-Dev-Team
If you are interested in giving us a helping hand with this project you're more than welcome.
Leave a message in this forum thread or contact me through a PM.
Experience with linux and also with the kernel is of course important.
Greetings PsychoGame

Bravo. Im hopeless in terms of what ever you code ninjas do, just wanted to let you know that i and most likely all in LGOG community greatly value this project. If you haven't already, perhaps PM some kernel devs as this would help in project gaining momentum and improved outcomes.

Happy to see that you're back psycho. Very brilliant idea. I hereby tag some devs to attract their attention. @faust93 @Loller79 , @jollaman999 , @Kevinjoa , @ThatKawaiiGuy , @xboxfanj , @JustinXu , @houstonn

Hey, I don't know much about kernel stuff, I'm learning Java atm so might be able to give tips. Not a lot though.

I don't have the Optimus G anymore (haven't since March), so I won't be able to do a ton, but I can help solve issues if/when needed.

akahroba said:
Happy to see that you're back psycho. Very brilliant idea. I hereby tag some devs to attract their attention. @Loller79 , @jollaman999 , @Kevinjoa , @ThatKawaiiGuy , @xboxfanj
Click to expand...
Click to collapse
I don't have kernel knowledge that much... I just referenced other dev's kernel sources and fix it to my style.
But thanks for mention to me.

It'll take some time, but I'm sure we get there.
Thank you for tagging some other devs inside this thread so it raises more awareness.
Everybody is welcome to join this project, for example clone the repositories, making changes and contribute.
That's exactly what opensource is all about.
And of course if you're interested in joining the team just send me a PM and I'll bring you up to speed on the progress/process and give you the needed information.
At this moment I'm also in contact with a official LG Developer which hopefully can provide me with some information that will help this porting process as well.
Greetings PsychoGame

jollaman999 said:
I don't have kernel knowledge that much... I just referenced other dev's kernel sources and fix it to my style.
But thanks for mention to me.
Click to expand...
Click to collapse
What about @houstonn ? Also I don't have any knowledge about this sort of thing really but I'll ask some other debs around to see if they want to join.
Sent from my LG-E975 using XDA Free mobile app

Generally, if you look at the branch of the libEGL_adreno file (using strings or hexedit), you can figure out what tag the OEM used (or branch) and then plop their source over that, then git pull the latest branch on top and fix any conflicts.

xboxfanj said:
Generally, if you look at the branch of the libEGL_adreno file (using strings or hexedit), you can figure out what tag the OEM used (or branch) and then plop their source over that, then git pull the latest branch on top and fix any conflicts.
Click to expand...
Click to collapse
Thanks for the information xboxfanj . I never noticed the branch information inside the LibEGL_adreno files.
This also helps a lot with the extraction of the LGE added code as the branch is now as close to the LG used sources.
This keeps the extracted LGE patches as clean as possble to almost only include the LGE added stuff.

PsychoGame said:
Thanks for the information xboxfanj . I never noticed the branch information inside the LibEGL_adreno files.
This also helps a lot with the extraction of the LGE added code as the branch is now as close to the LG used sources.
This keeps the extracted LGE patches as clean as possble to almost only include the LGE added stuff.
Click to expand...
Click to collapse
No problem. Let me know if you need help. Obviously, I can't test anything, but I should be able to help you get things building.

Oh, i noticed this thread just now.
I can help but i don't have much free time these months.
The idea is interesting from what i've seen, if you want another hand contact me via pm

Loller79 said:
Oh, i noticed this thread just now.
I can help but i don't have much free time these months.
The idea is interesting from what i've seen, if you want another hand contact me via pm
Click to expand...
Click to collapse
Sent a PM to you xda account

Today we've updated the proj-kernel repository with fully patched kernel sourcecode.
With a few small 'hacks' we are able to build the j1vd-perf_defconfig to the end.
What remains is getting the updated kernel to boot on the Optimus G boards.
At least the project is moving forward.
Just wanted to give everybody a update on the progress we're making.
Greetings PsychoGame

Here I'm back with some great news for everybody.
Today the kernel which was built using our sourcecode has succesfully booted on stock KK rom from LG.
The next steps we'll be taking will be getting the kernel to work with CM11 as well.
This way I hope we will have a perfectly stable and up-to-date kernel for the Optimus G which will work for Stock as well as CM based roms.
Greetings PsychoGame

PsychoGame said:
Here I'm back with some great news for everybody.
Today the kernel which was built using our sourcecode has succesfully booted on stock KK rom from LG.
The next steps we'll be taking will be getting the kernel to work with CM11 as well.
This way I hope we will have a perfectly stable and up-to-date kernel for the Optimus G which will work for Stock as well as CM based roms.
Greetings PsychoGame
Click to expand...
Click to collapse
very nice job mate. I think in this step @faust93 can help a lot.

Is this kernel work specific to E975, or will it be compatible with for example Sprint variant LS970?

dwielunski said:
Is this kernel work specific to E975, or will it be compatible with for example Sprint variant LS970?
Click to expand...
Click to collapse
At the moment it is based off E975 sources so it won't work on ls970 and similar.
Running it on my phone now and it works flawlessly.
Please thank a lot the team that made this possible and xboxfanj who helped with the project.

What's up guys? Is there anything we can help with? any test version or something?

Related

Official support from CyanogenMod Team for Galaxy W

i read something in the net while i was surfing yesterday, you can look here: http://www.androidcentral.com/motorola-atrix-hd-gets-official-cyanogenmod-support
and then reading these lines made me surprised(maybe getting official cyanogenmod support for ancora is impossible after this moment but who kowns?)
If an Android device has enough of a following, and there are developer(s) willing to commit (no pun intended) to maintaining the device in the official CyanogenMod source tree, this device becomes officially supported -- and receives official builds of the CyanogenMod ROM.
if someone be maintainer for our device can we get official support from CyanogenMod?
is this really possible?
ı mean our device source code are available in github(kernel source device source and vendor files)
maybe forking our device source into CyanogenMod source tree can make this possible or am ı wrong??
maybe this is a bulsh*it after this moment but just wondering
for example galaxy s is getting official support from Cyanogenmod still if im not mistaken mr. pawit is their maintainer and developer
ım waiting your answers brothers what do you think about that? @arco68 @arsradu @LeroViten @honeyx and all ancora devs
with my best regards :good:
The SGW was for more than 3 years without official CM support and we didn´t miss anything, so I don´t think this is that much important for the rest of it´s counted days.
honeyx said:
The SGW was for more than 3 years without official CM support and we didn´t miss anything, so I don´t think this is that much important for the rest of it´s counted days.
Click to expand...
Click to collapse
ı understood bro but is there any hope for galaxy w? return of ancora :good: and also ı understood that from your comment : technically this is possible,galaxy w can get official support from CM Team but this is unnecessary for this dead device isnt it?
I simply don´t think this will happen because you have to look from their point of view.
1. this device is a low activity device in Amercian terms. 2. So never was that popular to get their attention. 3. is already old and not up to date. 4. It´s hype time is almost over and many earlier SGW users are going to replace it. 5. CM is going a different route now and will be focusing on their "device" they are going to launch soon. And finally 6. Why should they change this now after already 3 years?
So if I were CM I would look for the future not looking back to the past with it´s outdated devices and not even waste a single tought about devices like the SGW.
Is this bad for the SGW owners? As long we are having Devs like Radu who are porting the latest ROMs to this device it really doesn´t matter CM is supporting it officially or not supporting it.
So what do you expect from being supported by CM? You only would be able to install the latest nightlys launched by the CM team with all the bugs in the CM code included and maybe some day fixed. A Dev who is porting their CM sources of course has to fight with these bugs too, but also cares to fix the most important ones.
I asked arco68 a while ago, and he said it's because of legacy camera drivers that we are unsupported.
Sent from my Nexus 5 using Tapatalk
SGWUser said:
I asked arco68 a while ago, and he said it's because of legacy camera drivers that we are unsupported.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
auhh thats true sir arne is right as always anyway thanx man for informing us
regards :good:
I don't think so...anyway, we already have the stable n smooth ROM so far. Without Officail, it's does not matter at all.
Hello sir @arco68
First of all huge thanx for your great work on our Wonders
And secondly i wonder something
We are using s5k4ecgx sensor for back camera
And if we add the following patches and if we use v4l2 for camera driver, Can we use CAF based qcom cameraHAL?
-http://www.spinics.net/lists/linux-media/msg50380.html
And probably if we use new qcom cameraHAL, then we wont need legacy stuff the CM doesnt like(MemoryHeapBase,Overlay)
Then maybe we can get cm nightlies
Maybe porting new camera Hal to our phone can be hard but we must not give up. We are so close to official CM after ION i think. We can do it and we can success :good:
Thanx
Regards
hack4er said:
Hello sir @arco68
First of all huge thanx for your great work on our Wonders
And secondly i wonder something
We are using s5k4ecgx sensor for back camera
And if we add the following patches and if we use v4l2 for camera driver, Can we use CAF based qcom cameraHAL?
-http://www.spinics.net/lists/linux-media/msg50380.html
And probably if we use new qcom cameraHAL, then we wont need legacy stuff the CM doesnt like(MemoryHeapBase,Overlay)
Then maybe we can get cm nightlies
Maybe porting new camera Hal to our phone can be hard but we must not give up. We are so close to official CM after ION i think. We can do it and we can success :good:
Thanx
Regards
Click to expand...
Click to collapse
That would be so f... Awesome *-*
Please we need someone who knows how to do this

[DEV][WIP]Sailfish OS Port - Alpha 2

I heard at devcon that a few guys are working on Sailfish ports for a few phones, including ours. So I decided to get them together with the devs here on the forum to get the port done. The place where the developers and porters of Sailfish OS are talking to each other is on freenode, so if you want to help them... just go there and join the channel #sailfishos-porters.
Warning: This is a developement project. So please only join the channel if you really want to help. Just going there to ask for ETAs or stuff like that won' t be tolerated. Also this thread should be a place for developers to collect ideas and fix bugs, not for the purpose of asking for ETAs. Please keep that in mind.
For the initial port I would like to thank @vgrade; information on how to install the port are in second post!
XDA:DevDB Information
Sailfish OS, ROM for the ONEPLUS ONE
Contributors
dansou901, vgrade
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Based On: CM 11
Version Information
Status: Alpha
Created 2015-03-20
Last Updated 2015-03-29
This is a community port of Jolla's Sailfish OS for the OnePlus One.
It features a gesture-based user interface with a unique design and ease-of-use in mind.
For more information about SailfishOS please head over to sailfishos.org.
This is not an Android ROM, this is a different base of an operating system called Linux, running glibc library.
It only uses parts of Android for hardware enabling (drivers).
Release Notes:
The port is considered to be of alpha quality and released as a first step to the same levels of functionality as the Nexus 5 .
Download Location
http://images.devaamo.fi/sfa/bacon/
Kernel Source at http://images.devaamo.fi/sfa/bacon/...1.1.27-alpha1-201503192017-kernel-src.tar.bz2
Make sure you have a compatible cm11 version installed http://78.47.45.43/owncloud/public.php?service=files&t=9725fbb3b3c8d9706a2bb29388b3de83
Zip install tested with TWRP and MultiROM versions later than 20 March from http://forum.xda-developers.com/oneplus-one/development/mod-multirom-v26-t2835738
HW Support status:
(Look for OnePlus 5 row): https://wiki.merproject.org/wiki/Adaptations/libhybris
Bug reports, if internet search refuses to help:
First search XDA for keywords. Things like libsailfishapp have already been worked out by this amazing community
Software-related bugs (Sailfish OS): first search http://together.jolla.com . Tag your questions with "community-build"
Hardware-related problems: at the Nemo Project Bugzilla under Hybris-ing component
Please do not contact Jolla Care or Jolla Developer Care, as this is not the Jolla phone
oneplus forum thread at https://forums.oneplus.net/threads/sailfish-os-for-oneplus-one.279537/
Known issues:
OTA Updates do not work
The camera does not work
Android app support is not available (unlike in Jolla phone): please ask about the status for open-source Dalvik runtime framework on #sailfishos-porters on irc.freenode.net and also check this XDA Thread
All remaining: In Bugzilla
ROM Kernel: Linux 3.4.0
Changelog:
Alpha2 - 29 March 2015
WLAN fixed up - vgrade/yacuken
Alpha1 - 20 March 2015
Initial release
This is a new video of SailfishOS running on the oneplus one with wlan working . http://youtu.be/Vm4m_dlUYRw
Install Video at https://www.youtube.com/watch?v=iphzmCVofbk
Details of port can be found at http://piratepad.net/gVqPXuEGW4
Please join the porting efforts at IRC channel #sailfishos-porters.
Thanks to all the Jolla sailors and SailfishOS community members for all their help, especially @stskeeps for the QCOM_BSP catch.
BREAKING NEWS - SailfishOS 2.0 version WIP at https://plus.google.com/+TomaszSternaSMK/posts/DyQHm82v2b5
vgrade
Just a little status update that you see the project isn't abandoned: @vgrade is waiting for updated AOSP sources from Oneplus. Once they're live, he can cook something for us.
Is the project still alive?
CountDooku said:
Is the project still alive?
Click to expand...
Click to collapse
Ask @vgrade if it is still alive. I didn't hear anything the last weeks, but I hope that he's still working on it...
dansou901 said:
Ask @vgrade if it is still alive. I didn't hear anything the last weeks, but I hope that he's still working on it...
Click to expand...
Click to collapse
@vgrade, is the project still alive?
msri3here said:
@vgrade, is the project still alive?
Click to expand...
Click to collapse
Hey,
I've not been able to spend much time on this since xdadev:con due to day job commitments, fingers crossed I'll get some time over the holidays to progress some more.
BR
vgrade
vgrade said:
Hey,
I've not been able to spend much time on this since xdadev:con due to day job commitments, fingers crossed I'll get some time over the holidays to progress some more.
BR
vgrade
Click to expand...
Click to collapse
thanks for the quick reply
Take you time
vgrade said:
Hey,
I've not been able to spend much time on this since xdadev:con due to day job commitments, fingers crossed I'll get some time over the holidays to progress some more.
BR
vgrade
Click to expand...
Click to collapse
Let me know if you need any help, I'm new to porting, but I'd be willing to lend a hand and do some of the grunt work - if you need it.
I'm very interested by getting Sailfish OS on my One Plus.
I don't know how to install the build you'll provide but I suppose that you will give a litte tutorial with it.
I'm now following this thread !
Looking forward to this
@dansou901 might be of interest.
Edit: might be your work. [emoji5]
https://twitter.com/vgrade/status/573375605640695808
gsmyth said:
@dansou901 might be of interest.
Edit: might be your work. [emoji5]
https://twitter.com/vgrade/status/573375605640695808
Click to expand...
Click to collapse
Good find! I don't have twitter so I wouldn't see this... @vgrade, will you come here again when you're back from Barcelona? @KINGbabasula, is MultiROM ready to go for Sailfish OS?
Edit: It isn't my work, I'm not in Barcelona on MWC this year (but planning to go there someday...). So it's vgrades work together with the other Sailfish porters (see the IRC channel I linked in OP).
Have you guys seem this?
http://www.thejollablog.com/sailfish-os-oneplus-one/
topfreitas said:
Have you guys seem this?
http://www.thejollablog.com/sailfish-os-oneplus-one/
Click to expand...
Click to collapse
That's just a followup from vgrades tweet, so nothing new. The information that he will share the build after MWC is down in the comments...
Guys Hi
As you see great progress made during MWC week on the port. Stskeeps from Jolla identified the bug stoppng UI coming up so we are go now.
Good to see the chase up on Multirom as this makes it easier for folks to test. I think it just needs to have a build which includes the sailfish patches included so any recent upstream build should suffice. On the add room page you should see a SailfishOs radio button.
Stay tuned for more details and drop into #sailfishos-poters channel on freenode IRC and say hello.
BR
vgrade
For those wanting to build their own images I've put my porting notes at http://piratepad.net/gVqPXuEGW4 , join us at #sailfishos-porters channel on IRC .
vgrade
vgrade said:
Guys Hi
As you see great progress made during MWC week on the port. Stskeeps from Jolla identified the bug stoppng UI coming up so we are go now.
Good to see the chase up on Multirom as this makes it easier for folks to test. I think it just needs to have a build which includes the sailfish patches included so any recent upstream build should suffice. On the add room page you should see a SailfishOs radio button.
Stay tuned for more details and drop into #sailfishos-poters channel on freenode IRC and say hello.
BR
vgrade
Click to expand...
Click to collapse
vgrade said:
For those wanting to build their own images I've put my porting notes at http://piratepad.net/gVqPXuEGW4 , join us at #sailfishos-porters channel on IRC .
vgrade
Click to expand...
Click to collapse
Zip Image link now in second post in thread.
vgrade
vgrade said:
Zip Image link now in second post in thread.
vgrade
Click to expand...
Click to collapse
phone does not boot
i am using philz recovery to flash the rom can that be a problem
MasalaMan said:
phone does not boot
i am using philz recovery to flash the rom can that be a problem
Click to expand...
Click to collapse
Yes, this recovery does not have a version of tar which supports the -j option so the sailfishOs rootfs is not extracted, please use the recommended recovery
vgrade

Trying to build OMNI 4.4.4

I am trying to build OMNI 4.4.4 for H60-L02. Right now I have managed to see the bootanimation of omni and then I have a bootloop. These are the logs for anyone who are willing to help
Logcat : http://pastebin.com/RT5x5EjJ
Dmesg : http://pastebin.com/PSzj9XJR
So, let's try to build roms for honor 6 !!! Any help is welcome ....
I don't have the skills but I'm willing to support the initiative as far as I can!
Sounds like the same issue i had, check google-cert folder that you have it and also build the files so that you edit default storage path. It was a few months ago i tried to build my own and i ended up with similair problem and it was related to missing cert and wrong storage path.
Im no expert, its just a hobby of mine so i might be wrong
Is Cyanogenmod avialable to Honor 6
Is Cm 11 available to Honor 6
Kanth's said:
Is Cm 11 available to Honor 6
Click to expand...
Click to collapse
No Cyanogenmod available yet, we all wait for.
HTC HD2 has CM12 already ^^
spanorg said:
I am trying to build OMNI 4.4.4 for H60-L02. Right now I have managed to see the bootanimation of omni and then I have a bootloop. These are the logs for anyone who are willing to help
Logcat : http://pastebin.com/RT5x5EjJ
Dmesg : http://pastebin.com/PSzj9XJR
So, let's try to build roms for honor 6 !!! Any help is welcome ....
Click to expand...
Click to collapse
@spanorg, what do you think of the information of codeworkx?
Daniel Hillenbrand a.k.a. codeworkx is a member of Team CM and TeamHacksung, is a legend
panamera2011 said:
@spanorg, what do you think of the information of codeworkx?
Click to expand...
Click to collapse
Go! go! go!
panamera2011 said:
@spanorg, what do you think of the information of codeworkx?
Daniel Hillenbrand a.k.a. codeworkx is a member of Team CM and TeamHacksung, is a legend
Click to expand...
Click to collapse
I have in my hands this info from the first hour I took the phone. I have built a whole device tree not only the partitions. Anyway, I appreciate any help. The big problem is that some sources of Huawei are not given. Especially for the kirin920 soc. That's why development is very difficult. Anyway, I am still trying for building... For any news, I will immediately tell you.
spanorg said:
I have in my hands this info from the first hour I took the phone. I have built a whole device tree not only the partitions. Anyway, I appreciate any help. The big problem is that some sources of Huawei are not given. Especially for the kirin920 soc. That's why development is very difficult. Anyway, I am still trying for building... For any news, I will immediately tell you.
Click to expand...
Click to collapse
Ok, thanks for try to build a CM :good:
Let's hope so!
spanorg said:
I have in my hands this info from the first hour I took the phone. I have built a whole device tree not only the partitions. Anyway, I appreciate any help. The big problem is that some sources of Huawei are not given. Especially for the kirin920 soc. That's why development is very difficult. Anyway, I am still trying for building... For any news, I will immediately tell you.
Click to expand...
Click to collapse
I've no doubt about this. @spanorg please help codeworkx (this IP the thread: http://forum.xda-developers.com/showthread.php?p=58283578).
He's searching for a tester whit competences. I think your help could be more precious now, you are a recognized developer and you can do more than a tester. you can collaborate whit him, and finally became our leader.
(we can ask for donations or other, if possible, to support your works)
Thanks.
spanorg said:
I have in my hands this info from the first hour I took the phone. I have built a whole device tree not only the partitions. Anyway, I appreciate any help. The big problem is that some sources of Huawei are not given. Especially for the kirin920 soc. That's why development is very difficult. Anyway, I am still trying for building... For any news, I will immediately tell you.
Click to expand...
Click to collapse
What do you need?
Here's a kernel for inline building:
https://github.com/codeworkx/android_kernel_huawei_h60
In original sources, have at look at drivers/vendor/hisi.
There are some "acore" folders with android userspace stuff. Doesn't belong there, but it's there.
I've seen some kirin stuff for bionic.
For everything else you have to use their libraries and make them working with aosp.
I assume this requires a ****load of bad hacks.
codeworkx said:
What do you need?
Here's a kernel for inline building:
https://github.com/codeworkx/android_kernel_huawei_h60
In original sources, have at look at drivers/vendor/hisi.
There are some "acore" folders with android userspace stuff. Doesn't belong there, but it's there.
I've seen some kirin stuff for bionic.
For everything else you have to use their libraries and make them working with aosp.
I assume this requires a ****load of bad hacks.
Click to expand...
Click to collapse
Hi codeworkx, I tried to compile cyanogenmod11 with your reposity, but I haven't not file local_manifests.xml .. you can send me right local_manifests.xml ?
Steve Giordano said:
Hi codeworkx, I tried to compile cyanogenmod11 with your reposity, but I haven't not file local_manifests.xml .. you can send me right local_manifests.xml ?
Click to expand...
Click to collapse
http://forum.xda-developers.com/honor-6/orig-development/cyanogenmod-dev-thread-t3008138
please don't build if you don't know what you're doing.
This will not boot into android and requires a ton of work.
codeworkx said:
What do you need?
Here's a kernel for inline building:
https://github.com/codeworkx/android_kernel_huawei_h60
In original sources, have at look at drivers/vendor/hisi.
There are some "acore" folders with android userspace stuff. Doesn't belong there, but it's there.
I've seen some kirin stuff for bionic.
For everything else you have to use their libraries and make them working with aosp.
I assume this requires a ****load of bad hacks.
Click to expand...
Click to collapse
Do you have a link for the kirin stuff for bionic?
spanorg said:
Do you have a link for the kirin stuff for bionic?
Click to expand...
Click to collapse
sorry, my fault.
just stuff for the bootloader.
vendor/hisi/modem/drv/acore/bootable/bootloader/legacy/arch_balongv7r2
Is this project still active? Just curious.

AOSP ROM?

What would it take to see a base AOSP ROM put together for the LG G4? I know there's some folks working hard at bringing CM to the G4, but what about an AOSP unmodified ROM with drivers, of course? I've always wondered if that is a better option than say a ROM like CM which has loads of known bugs and issues.
Maybe an AOSP super-stock setup which we could modify after via Xposed / Mods to add in what we want would be a better option?
CJ-Wylde said:
What would it take to see a base AOSP ROM put together for the LG G4? I know there's some folks working hard at bringing CM to the G4, but what about an AOSP unmodified ROM with drivers, of course? I've always wondered if that is a better option than say a ROM like CM which has loads of known bugs and issues.
Maybe an AOSP super-stock setup which we could modify after via Xposed / Mods to add in what we want would be a better option?
Click to expand...
Click to collapse
After we finish the device tree and everything is working, it can be then used to build whatever Rom you desire
You rock, thank you for the quick response! I'm not even sure what kind of rom I desire. I just know it would be neat to go full on basic AOSP and add from there without some of the clutter and bugs introduced with CM's stuff, although CM has always been an enjoyable experience. Whoot for guys like you!
I know this is old thread... but what source tree are we talking about here? Obviously not AOSP itself, i think... right?
CM source?
Maybe i'm missing something about branches of AOSP... and other trees..
many thanks
mythos234 said:
After we finish the device tree and everything is working, it can be then used to build whatever Rom you desire
Click to expand...
Click to collapse
thenextdon13 said:
I know this is old thread... but what source tree are we talking about here? Obviously not AOSP itself, i think... right?
CM source?
Maybe i'm missing something about branches of AOSP... and other trees..
many thanks
Click to expand...
Click to collapse
They talked about device tree here. An example for a pure AOSP one for the device LG H815 is here:
https://github.com/cile381/android_device_h815
See this for an explanation :
http://wp.me/p6ZeCY-3p
AOSP source contains the sources to build a ROM which are the same for all devices and a device tree is a device specific description on how to build or as the above link states:
“A device tree is a tree data structure with nodes that describe the physical devices in a system”
.
Sent from my LG-H815 using XDA Labs
Thank you, steadfasterX.
That provides some clarity, although I think there is still a bit missing for me--
Ugh, i can't post links because of spam rules.. :-/ makes describing things harder.
How did you find the github cile381/android_device_h815 as being the AOSP tree for that phone? My understanding was that the AOSP main repo is here:
android.googlesource.com
And so related to my question previously.. i guess i'm confused specifically who the 'we' is that mythos234 references, and where that source would be located...
many thanks!

[WIP] [DEV] [CAF LINUX 4.4 KERNEL] Porting upstream CAF 4.4 Linux kernel to gemini

Hi all
I have been started to work on gemini for two weeks (switched to gemini development from my old phone Galaxy W)
I didnt get the device yet (but will get it as soon as possible, probably in 2 weeks)
However i started to work on it, and i really wonder "upstream linux kernel 4.4 can be ported to gemini? and why not?" after i saw CAF added msm8996 (our device's chipset family) support into Linux 4.4 kernel
As you already know our main kernel version is 3.18 right now,
Whats the benefit of 4.4 kernel:
-Nearly thousands of changes which some of them are bugfixes and some of them are new sweaty kernel features :good:
-Better power management
-Better memory management
-More secure (vulnerability fixes)
- And so on
So i started to work to port CAF 4.4 into gemini
- i just forked CAF pure,vanilla 4.4 kernel which support msm8996
and started to add xiaomi mi5's drivers + device specific changes
its very very WIP stage right now
TODOS:
- Merge all gemini drivers and device specific codes into kernel
- Fix all merge conflicts
- Update driver kernel API calls into 4.4 APIs (that is the hardest thing)
- Fix all compilation errors
- And hope for boot
İf anyone has an ability to contribute/help etc. and/or interested in this project , it would be really appreciated :good:
Here is the source code: https://github.com/sirmordred/Kernel_LA.HB.1.1.5_CAF-4.4 "gemini" branch
Mod Edit
Thread closed by OP request/No longer supported.
Reserved
And also to everyone: Kernel porting is really hard job and its a long run so dont expect miracles
i think it is worth waiting for
I'll wait and try when you uploaded Sir.
Wow... thank u sir..best of luck??
Wow well we do need great kernel for our gemini.... Thanks keep it up
another dev kernel for gemini, does it will support eas and vox populli?
Do you think other devs didn't try it till now? You can join our Telegram group to collaborate with the others that are working on it.
https://telegram.me/joinchat/CQCWTj-9G7RzUdfzKHbqbw
BTW: Why do you create a thread for a project which you barely have started...? It will be a long way and don't expect this to finish in 2017...
@33bca dude let him work Maybe he created this thread to have some help from devs ? some advices ?
BTW: Why don't you wrote here that he fork wrong branch but you just laughed at him on telegram ?
Jawor245 said:
@33bca dude let him work Maybe he created this thread to have some help from devs ? some advices ?
BTW: Why don't you wrote here that he fork wrong branch but you just laughed at him on telegram ?
Click to expand...
Click to collapse
I think you got me wrong on Telegram. That was far away from laughing at him...! If he wants any help he can join us on Telegram.
33bca said:
Do you think other devs didn't try it till now? You can join our Telegram group to collaborate with the others that are working on it.
https://telegram.me/joinchat/CQCWTj-9G7RzUdfzKHbqbw
BTW: Why do you create a thread for a project which you barely have started...? It will be a long way and don't expect this to finish in 2017...
Click to expand...
Click to collapse
Main goal is the colloborate devs, people who work on gemini to make development better and faster,
And the giving info about possibilities what can be done for future development on gemini kernel
I joined the group on Telegram but is there any dev group which is less crowded (contains only devs)
sir mordred said:
Main goal is the colloborate devs, people who work on gemini to make development better and faster,
And the giving info about possibilities what can be done for future development on gemini kernel
I joined the group on Telegram but is there any dev group which is less crowded (contains only devs)
Click to expand...
Click to collapse
Why is dere any problem in that group if u wana collaborate u can also pm the dev on Telegram
dkmsn8 said:
Why is dere any problem in that group if u wana collaborate u can also pm the dev on Telegram
Click to expand...
Click to collapse
Because of not talking about "xxx how to disable xxx option on xxx rom, when will xxxAndroidVersRoms come to our device" questions and talking about only development related things,
well, not problem for me, just wanted to say, lets talk via PMs then
sir mordred said:
Because of not talking about "xxx how to disable xxx option on xxx rom, when will xxxAndroidVersRoms come to our device" questions and talking about only development related things,
well, not problem for me, just wanted to say, lets talk via PMs then
Click to expand...
Click to collapse
Yeah.. anyway good luck with this project. Do collaborate with other dev..
sir mordred said:
Main goal is the colloborate devs, people who work on gemini to make development better and faster,
And the giving info about possibilities what can be done for future development on gemini kernel
I joined the group on Telegram but is there any dev group which is less crowded (contains only devs)
Click to expand...
Click to collapse
No there is no such group... once we have tried to create such a developer group it did not work that well
PM should be fine for the most of the cases, but if you want to create a developer only group, you are free to do that.
Wow man it's brave to try porting to 4.4
If it gets to work it'll be a wonderful thing!

Categories

Resources