Related
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?
Hello everyone,
the question and disscussion is:
Do we get Lineage OS support in the Future? it does not matter if unofficial or official, but what do you think?
I saw the LeEco le Max 2 get some unofficial support, so it could be that some Devs will try it.
It would be awesome *_*
I think the problem is, that the community isn't that big like for the le Max 2, but maybe it will get bigger in the future.
What do you think? :good:
I'm running my own custom image of LineageOS 13.0. All is working as expected, but I don't have time to clean all the stuff to share it with public. I uploaded my sources that works in https://www.github.com/corvusmod, so if someone wants to build it, feel free
For L14 version, camera is not working already and will not work until Leeco release N for Pro3
I think, it's not discussion, but it is a question. So, it should be in "QUESTIONS & ANSWERS". Le Max 2 have bigger community, because this phone is cheaper and cheapest Le Max 2 was for 180-200$. This mobile is older. Our Le Pro 3 have few months and in future it could have more community and ROMs like this.
corvus said:
I'm running my own custom image of LineageOS 13.0. All is working as expected, but I don't have time to clean all the stuff to share it with public. I uploaded my sources that works in https://www.github.com/corvusmod, so if someone wants to build it, feel free
For L14 version, camera is not working already and will not work until Leeco release N for Pro3
Click to expand...
Click to collapse
Wooow! Someone interested?
It would be awesome!
:fingers-crossed:
Who could we talk to in order to get official support?
I dont know, but to get official support there should be at first a stable unofficial lineage OS Version. I do not know much about creating ROMs but i hope someone does and will create a masterpiece for le pro 3
I hope so
I can continue cleaning of the LOS13. I have quite a bit of free time and want to get started on a project. If corvus doesn't mind, I'll make a thread on my progress and, eventually, some stable builds.
corvus said:
I'm running my own custom image of LineageOS 13.0. All is working as expected, but I don't have time to clean all the stuff to share it with public. I uploaded my sources that works in https://www.github.com/corvusmod, so if someone wants to build it, feel free
For L14 version, camera is not working already and will not work until Leeco release N for Pro3
Click to expand...
Click to collapse
Hi Corvus,
I've been trying to build slim from the repo you forked, but it keeps telling me I have no recovery, and ends up erroring out. I tried on ubuntu 16.04 lts though, could be my issue. Gonna try your lineage 13 version.
jts2111 said:
I can continue cleaning of the LOS13. I have quite a bit of free time and want to get started on a project. If corvus doesn't mind, I'll make a thread on my progress and, eventually, some stable builds.
Click to expand...
Click to collapse
Would be awesome. I will try your build!
Good project looking forward to
manuelbvb said:
Would be awesome. I will try your build!
Good project looking forward to
Click to expand...
Click to collapse
I'll edit a link to the thread I make with to-dos based off the source code I can see.
Here's where I'll post progress!: https://forum.xda-developers.com/le-pro3/development/progress-lineage-os-13-t3546126
jts2111 said:
I can continue cleaning of the LOS13. I have quite a bit of free time and want to get started on a project. If corvus doesn't mind, I'll make a thread on my progress and, eventually, some stable builds.
Click to expand...
Click to collapse
Hi @jts2111,
No problem from my side. TS team shared with me the sources, I modified them for Lineage, and try to do some tweaks (already uploades) and have some more in local, but causes some problems, so I didn't upload them.
With this image I get more than 3 days of batt time and a sot of 8 hours, so it's good for me. My only concern is that I was not able to make Camera2 HAL working to get manual settings. But I have little time to test, so any help from this side is welcome.
Only one thing, please, share the code in a public repo so TS, me or any other developer can see it and work together.
Thanks
---------- Post added at 10:35 PM ---------- Previous post was at 10:32 PM ----------
jts2111 said:
I can continue cleaning of the LOS13. I have quite a bit of free time and want to get started on a project. If corvus doesn't mind, I'll make a thread on my progress and, eventually, some stable builds.
Click to expand...
Click to collapse
robertzas said:
Hi Corvus,
I've been trying to build slim from the repo you forked, but it keeps telling me I have no recovery, and ends up erroring out. I tried on ubuntu 16.04 lts though, could be my issue. Gonna try your lineage 13 version.
Click to expand...
Click to collapse
For Slim, please use the fork from where I get the code. See it in github. It's TS source, so it should work.
corvus said:
Hi @jts2111,
No problem from my side. TS team shared with me the sources, I modified them for Lineage, and try to do some tweaks (already uploades) and have some more in local, but causes some problems, so I didn't upload them.
With this image I get more than 3 days of batt time and a sot of 8 hours, so it's good for me. My only concern is that I was not able to make Camera2 HAL working to get manual settings. But I have little time to test, so any help from this side is welcome.
Only one thing, please, share the code in a public repo so TS, me or any other developer can see it and work together.
Thanks
Click to expand...
Click to collapse
I forked your repo and shared it in my post. I'll work on what you mentioned. One of my top (long term) goals is complete CTS compatibility. With safetynet passed, there'd be nothing that would really pull you back to stock.
Definitely, I'm preparing the Kernel code after code to ensure we get a very clean and functional Kernel for the future, instead of just merging the one from LeEco with more than 80% of unneeded bits due to their other devices being at the same place (shameful).
This will get a ~30MB Kernel reduced to around 12MB and thus make custom ROMs perform a lot better and boot immensely faster after all.
I'd only need one sense of common attitude which is asking LeTV to keep the Kernel source up-to-date when they launch OTAs as well, I've seen some comments regarding their image stabilization fix at latest release (OTA) which is only possible at Kernel/blob level and thus if we want to have this feature working (at least partially) we need the source code "right off the bat" to get those fixes. Please, make pressure on their forums for 5.9 x720 Kernel source code and for nougat preview builds, I'd appreciate to even help with their own EUI for that matter, I'll see if I can get in touch with them concerning those points.
Do we have someone from China or someone with experience with Chinese so we can attach our discussions there?
I do hope they keep the open source up to date, but it seems they are doing the bare minimum to apply to Google's open source policy. I'm in the US, so I have the x727 with 1 SIM. We would need someone to test with a x720 as well.
@GalaticStryder, Leeco only will post the sources needed to avoid license problems with GPL, so dont wait much help from them. But we can ask...
@jts2111, I have a 720, so I can test your builds.
@jts2111
I received my X720 this week and I could also test your experimental build.
It would be nice to already start with a LineageOS custom ROM as first ROM to avoid a lot of reinstallation / reconfiguration of apps with other kind of custom ROMs.
Since the Xperia M aka nicki is no longer maintained I decided to start my own build and I thought I share it with the community.
Full Disclosure: I am not a developer. If there are bugs in any build, I cannot solve them. So always do a backup before flashing.
Also if you do not know how to flash: leave it be. I will not help with flashing problems.
I will try to keep it up-to-date.
You can download it here: https://drive.google.com/file/d/0B7J1cVOauuana0l0NG1GWmE1aWc/view?usp=sharing
Android: 7.1.2
Security Patches: May 2017
Komapatient said:
Since the Xperia M aka nicki is no longer maintained I decided to start my own build and I thought I share it with the community.
Full Disclosure: I am not a developer. If there are bugs in any build, I cannot solve them. So do always a backup before flashing.
Also if you do not know how to flash: leave it be. I will not help with flashing problems.
I will try to keep it up-to-date.
You can download it here: https://drive.google.com/file/d/0B7J1cVOauuana0l0NG1GWmE1aWc/view?usp=sharing
Click to expand...
Click to collapse
Thank you bro for sharing and keeping the device alive ?
Btw you should consider posting this in android development forum so that people know abt it
Adarsh Dubey said:
Btw you should consider posting this in android development forum so that people know abt it
Click to expand...
Click to collapse
I intentionally posted not in the development section, since I am not developing but only building.
Komapatient said:
I intentionally posted not in the development section, since I am not developing but only building.
Click to expand...
Click to collapse
Bro you shouldn't post it in original development but you can post it in Android development as you are building the rom for the device and many of the people port roms they also don't develop nor fix bugs but post it in Android development as they are building the rom for the device
sir @Komapatient , can you please share the source kernel or ROM?
Nicklas Van Dam said:
sir @Komapatient , can you please share the source kernel or ROM?
Click to expand...
Click to collapse
Hi,
I don't understand your request. I pulled the sources from LinOS Git. There is nothing done on the source.
Komapatient said:
Hi,
I don't understand your request. I pulled the sources from LinOS Git. There is nothing done on the source.
Click to expand...
Click to collapse
Ok, it's neccesary for now. Can you please to keep update on this ROM?
Komapatient said:
Since the Xperia M aka nicki is no longer maintained I decided to start my own build and I thought I share it with the community.
Full Disclosure: I am not a developer. If there are bugs in any build, I cannot solve them. So always do a backup before flashing.
Also if you do not know how to flash: leave it be. I will not help with flashing problems.
I will try to keep it up-to-date.
You can download it here: https://drive.google.com/file/d/0B7J1cVOauuana0l0NG1GWmE1aWc/view?usp=sharing
Android: 7.1.2
Security Patches: May 2017
Click to expand...
Click to collapse
So basically you're keeping the ROM updated with latest changes from lineage OS source code , I mean bug fixes and security patches etc.
matrixex said:
So basically you're keeping the ROM updated with latest changes from lineage OS source code , I mean bug fixes and security patches etc.
Click to expand...
Click to collapse
Yes. As a courtesy to the people who cannot compile their own ROM and to give s.th. back to the community who helped me a lot of times.
Hi @Komapatient,
Glad to see you once again around here, think we last talked when you were using the Xperia V on LineageOS.
Happy to see nicki is not fully dead and that its users can benefit from newer builds.
However there's a big concern here, I pushed the Nicki official removal for two important reasons :
- Device sources are no longer updated. If there's no real issue it's fine, but might appear.
> Issues like autobrightness flashing in a weird way upon device wake/unlock is among the biggest issue fixed / wip since the changes stopped.
> Checked in my huashan sources to find common relevant things for nicki, I just pushed an overlay cleanup and fix for MMS non-Data use.
- Kernel sources are highly outdated. To put this in a easy way, we can judge the security status
> to be around December 2016 and February 2017. Therefore the security version you share here is only the ROM sources,
> though a good portion of the security patches are actually to be worked upon for each kernel.
You can find our internal CVEs vulnerabilities tracker concerning the nicki 8x27 kernel here : https://cve.lineageos.org/android_kernel_sony_msm8x27
Someone should at some point stand up and start looking at them one by one,
fixing the ones related to the kernel version by cherry-picking, testing then pushing to gerrit.
You can take my sony_msm8960t kernel as reference if you wish, only the most recent CVEs are a work in progress,
and you should therefore easily see which CVEs concern your 3.4 kernel and find the commits in my history.
I'd gladly merge commits uploaded to gerrit if they are valid and properly authored / clean.
Hope this makes the current status of Nicki a bit more clear.
Bye.
@AdrianDC
Thank you for your clarification. The kernel sources are indeed a bummer, but as my coding skills are below zero. Sadly I am not able to help here out.
Komapatient said:
@AdrianDC
Thank you for your clarification. The kernel sources are indeed a bummer, but as my coding skills are below zero. Sadly I am not able to help here out.
Click to expand...
Click to collapse
Trying to "steal" my commits from sony_msm8960t would be a good start,
you can also check the commits tags on Gerrit to see the CVE 20xx-xxxx related numbers
when the information was set as topic, helps clearing the list too.
Since the work is already done on our side, it shouldn't be a giant work to do,
and would be a good place to start with + bring back some security updates to the device.
Please try to update this rom
please try update this rom, ,
Hi all, can someone point me to a download for this rom please.
Its the best of the M offerings but not on the net.
I am setting up a build environment to build it but have no idea if all the source is still in git, it would be great to have the most recent build to compare with my feeble attempts.
the thread is here
https://forum.xda-developers.com/ga...android-6-marshmallow-tab-s-10-5-lte-t3219759
If i manage a snag free build, i might even have a go maintaining it .
I just chatted with someone at Lineage OS and they are looking for a Developer for Marlin for Lineage 15.1. He is stating there will be no Official Builds because they have any Devs with the device and i told him i would help find someone who would like to take over Lineage OS for Marlin. If your interested, this person is asking for your gerit username i'm guessing to see your work. Please let me know if your interested in taking over Official Lineage OS builds for Marlin at your earliest conveinence or you can contact Lineage OS yourself from the information below on how to become a Developer...
Thanks in advance,
TJ
From Lineage OS Website :
For developers
Contribute!
To contribute, you’ll need to be able to produce builds for your device. Pick your device from our list of supported devices to get started.
Once you’re successfully running your own build, you can begin to make your changes. All the apps included in LineageOS can be found in packages/apps, and core parts of the system can be found in frameworks/base.
Once you’ve finished making your change, simply follow our guide on submitting to Gerrit.
Submit your port!
If you unofficially maintain a device, and think it’s good enough to go live, follow our instructions on submitting a port. One of our developer relations staff will reach out to you, and we’ll work to get the ball rolling on official builds for your device.
Thanks again!
*edit*
If this developement stops, so will the few custom ROMs we have being they are LOS based so if there are any free and no tied up at the moment, or wants to take on another project, PLEASE do this for the Pixel XL Custom ROM Community! Not only I would gladly appreciate your hard work but so will many others in the community. I will even donate $$$ if thats what it takes for the build and for at least weekly updates.
Invisiblek is a dev who already has unofficial builds up and running
https://forum.xda-developers.com/member.php?u=2385005
spamfilter247 said:
https://forum.xda-developers.com/member.php?u=2385005
Click to expand...
Click to collapse
Yea I contacted him via PM and let him know the situation with Official Builds are that they are looking for an Official Builder.
I hope you all understand the work it entitles to take on a rom project.. you really shouldn't ask people to take over someone else's work unless this dev asks themselves...
60smusic said:
I hope you all understand the work it entitles to take on a rom project.. you really shouldn't ask people to take over someone else's work unless this dev asks themselves...
Click to expand...
Click to collapse
I was informed by a Lineage OS Developer that there will be NO MARLIN Official Lineage OS Builds going out any time soon, it happens that they dont even have a Dev for our Device and i;m guessing they dont have our device either... I am just putting it out there, and there may or may not be someone qualified with the time to do it. But if we get official Builds, we'll get alot more Custom ROMs...