[WIP][DEV][PORT] LG Framework for LG G2 AOSP/CM/CAF - G2 Developer Discussion [Developers Only]

[size=+4]LG F[/size][size=+3]RAMEWORK[/size]​
[size=+3]~~ A[/size][size=+2]NNOUNCEMENTS[/size][size=+3] ~~[/size]
Dec 4 2016
Deleted github repo (it's not helping)
Oct 23 2016
4K + HFR Mod by @defcomg (manual install only, flashable zip later)
Oct 9 2016
Project is now online, partially (GitHub) details below
Sep 10 2016
Experimental LG Camera port uploaded
Aug 15 2016
Opened our GDrive folder to public and overhauled OP
[size=+3]~~ A[/size][size=+2]BOUT THE PROJECT[/size][size=+3] ~~[/size]
LG Framework is the backbone of every bloat feature LG added and this project aims to re-inject those important things to be able to run again OEM-implemented features like QuickCover, QuickMemo, QuickSlide Apps, etc. (LG Camera included in the list)
AOSP delivers the performance that we sought, but with those improvements come sacrifices. Other features shipped by LG aren't included in those lovely projects. So here we are, the X7 Team, and our kind and brave testers, to bring forth LG's bloat work to the world of Open-Source Softwares (not to open-source or reverse engineer it)
[size=+3]~~ M[/size][size=+2]ISCELLANEOUS[/size][size=+3] ~~[/size]
| LG Framework and Related Works |
G2 Camera Chromatix Mod (second page)
| G2 Camera by @B!GBOY |​

[size=+1]What's Happening?[/size]
Currently testing the framework resource which is injected manually
The code part of LG Framework is now working to CM-based ROMs
(Low Priority) Bypass signature checks using selective exclusion to avoid security holes
Click to expand...
Click to collapse

[size=+2]Links[/size]​
[size=+2]4K Mod + 60/120 HFR[/size]​

Here's the zipped framework from CloudyG2: https://www.dropbox.com/s/ta3l3iwhdylkcwy/CloudyG2.zip?dl=0 Enjoy!

Startrek852 said:
Here's the zipped framework from CloudyG2: https://www.dropbox.com/s/ta3l3iwhdylkcwy/CloudyG2.zip?dl=0 Enjoy!
Click to expand...
Click to collapse
Thanks! But your account is overloaded by traffic :3
Well it's okay it doesn't matter as I already found the hard drive containing my CloudyG2 Backup recently and the backup was like years ago XD
Updating OP...

Well, if you want more up to date framework, here's the link: https://www.androidfilehost.com/?fid=24499762636001056

Just a little update here...
LG's framework seems to be properly named... their code's easy to track... LGCamera are disassembled... LGMemo are disassembled, LGMemo too... Maybe if I could just find "where" the hidden framework are ahahahhaha
So I will start porting the framework for running the most important!
STOCK LGCamera... (lemme re-emphasize ) "Stock" not ported LGCamera with all functions working
I already seen its possible since all codes are exposed... and native libraries are easy to modify too
Guys... we're seeing so much light here ahahahah
EDIT: BANG!!! Gotcha!!!
Code:
android.media.action.IMAGE_CAPTURE_OEM_MODE

xxoscarxx28 said:
Just a little update here...
LG's framework seems to be properly named... their code's easy to track... LGCamera are disassembled... LGMemo are disassembled, LGMemo too... Maybe if I could just find "where" the hidden framework are ahahahhaha
So I will start porting the framework for running the most important!
STOCK LGCamera... (lemme re-emphasize ) "Stock" not ported LGCamera with all functions working
I already seen its possible since all codes are exposed... and native libraries are easy to modify too
Guys... we're seeing so much light here ahahahah
EDIT: BANG!!! Gotcha!!!
Code:
android.media.action.IMAGE_CAPTURE_OEM_MODE
Click to expand...
Click to collapse
i really hope so thats what keeping me from going aosp. :good:

That's what's keeping all of us from going to AOSP, but as far as I know, this is not possible.
It's just not all open source.
Sent from my LG-D802 using Tapatalk

xxoscarxx28 said:
Just a little update here...
Click to expand...
Click to collapse
All our hopes are with you lol :fingers-crossed: keep us updated

If you are trying to port the camera and all the framework, you migh aswell have a look into the "advanced binaries 2.0.0" which XCAM uses that are ported from G Pro 2 LP 5.x.x. They seem to give overall better quality and you can get them as a .zip from the OT.
Keep us updated ^^

rdNNNN said:
If you are trying to port the camera and all the framework, you migh aswell have a look into the "advanced binaries 2.0.0" which XCAM uses that are ported from G Pro 2 LP 5.x.x. They seem to give overall better quality and you can get them as a .zip from the OT.
Keep us updated ^^
Click to expand...
Click to collapse
Dude, he's using a backup from CloudyG2 which already has an advanced camera driver.

Just a little clarification here... Even though a software is closed source, that doesn't mean you can't port it...
It is also open source... but in a hideous way Nothing can stop someone dedicated
And also that's why there are such a thing called "disassembly" and cross-referencing binaries ("diff" in short?)
Remember... someone already did port stock (Oxygen OS) camera binaries to CM for Oneplus One

I just realized that the framework used between Kitkat and Lollipop are so different... Ghash XD
But the function is pretty same, just refactored, and some are stripped out... Focusing now on just CloudyG2 3.3's framework...
Btw... does anyone here knows how to know the name of a library? XD
There is a library that LG Camera API uses which is named "hook_jni" in java interface but what *.so might it be looking? Who is "hook_jni"? Does anyone know?

Doing the lords work, sir!

For those who wants to be on the bleeding edge, you can have one now
But I can't ensure anything with this hyper alpha, stability, function, and safety... All of it is not assured... I haven't tried it also XD
Pm me if you want to try it

Wow u are amazing. Pls tell us if u try it

xxoscarxx28 said:
For those who wants to be on the bleeding edge, you can have one now
But I can't ensure anything with this hyper alpha, stability, function, and safety... All of it is not assured... I haven't tried it also XD
Pm me if you want to try it
Click to expand...
Click to collapse
Lollipop/Marshmallow/Doesn't matter?

YoDevil said:
Lollipop/Marshmallow/Doesn't matter?
Click to expand...
Click to collapse
As of now... only for CM13 as it is already a good base to start with and it is already CAF which means their software is already surpassing the qualities of an OEM one, but as always... OEMs have something we don't have :3
lollipo said:
Wow u are amazing. Pls tell us if u try it
Click to expand...
Click to collapse
Nope, I won't try it XD as I am pretty sure that it will cause havoc to CMSDK and to our precious SystemUI. I'll try it in a later stage

Those that already downloaded the alpha... I already tested it and it won't flash XD
And yeah I will let it now on the wilds (people demanded it so here it is now)... Its still the same software I just fixed updater error 6 (it was a syntax error, my bad)
[size=+2]Flash at your own risk, Haven't tested it yet, and is for CM13 only, MAKE NANDROID BACKUPS FIRST[/size]
LG Framework Fixed v0.01
EDIT: News here again, I tested it and then did another pass to the codes and my predictions are correct... I missed the permissions for executing the API inside so its like its worthless... but because LG seems to be exposing things too much, it seems that permissions are laid somewhere in /system/etc/permissions... @Startrek852 ???
Another news... It booted just fine testing for bugs but i think it booted fine because the whole framework is not allowed to execute ahahahha, will release again once this mess is fixed

Related

[ROM] [Android 4.4 Kitkat] Unofficial Shiny ROM for Grouper with Built in Gapps

[TYPE][ANDROID VERSION][NAME][OTHER INFO][DATE]
This ROM is a fully AOSP build of Android 4.4 KitKat. The source was downloaded and compiled by me.
It is exactly what Google will release in “a few weeks” for the 2012 Nexus 7 when they release KitKat
This ROM is based off of Baldwinguy77's work on 'Shiny' for Toro, and uses his vendor. I did all the bring up for Grouper(with a ton of help from Baldwinguy77) The difference is that some of the changes he has made to the system aren't here, this is AOSP with a few modifications to make it run, Hence the Unofficial Tag.
There will be changes coming to fix bugs and remove redundancies between AOSP and Google Proprietary files. Also, changes will be made to the system to include some other small features in time. This ROM will branch out from baldwinguy's initial work to something a little bit different.
Google Apps are included in this build.
Bugs:
Boot Animation
You tell me
I, nor Baldwinguy77 is responsible for anything that goes wrong during the installation.
Special Thanks goes to Baldwinguy77 for helping me out and supplying his vendor files, as well as answering all my questions in the past 72 hours. Please consider donating to him as most of the initial bringup was his work: Paypal Donate Link for Baldwinguy77
Also, please note that this does not contain root. You are responsible for adding root at the moment.
Feel free to let me know if anything goes wrong. This is my first public posting of a ROM I have built from source.
Also note that the first boot is extraordinarily long.
Download links:http://d-h.st/DPJ
MIRROR: https://www.dropbox....ta-eng.neel.zip
Enjoy!
If you really like my work, and you haven't donated to baldwinguy77, consider donating to me: here on paypal
Reserved
does camera work on this build?
popup keyboard and rotating fixed ??
otherwise it's the same as all the other 4.4 roms / ports outthere
Forget keyboard popup, are you fixed rotation and gradient glitch problem ?
Let him feel special for releasing this, after all he did all the work. Who cares if there are 3 other similar ROMs
Sent from my Nokia Lumia 920 using Tapatalk
I tested ROM, everything is same with other similar ROMS...
Can you please add this bugs to your thread:
-Rotation
-GPS
-Camera
-Launcher Keyboard Popup
I will add those. I have an idea on GPS and should have it working be end of day. The keyboard issue seems proprietary, but I have ideas about it.
everesee said:
I tested ROM, everything is same with other similar ROMS...
Can you please add this bugs to your thread:
-Rotation
-GPS
-Camera
-Launcher Keyboard Popup
Click to expand...
Click to collapse
GPS is working for me.
MidnightNinja said:
I will add those. I have an idea on GPS and should have it working be end of day. The keyboard issue seems proprietary, but I have ideas about it.
Click to expand...
Click to collapse
If you fix them, you will be a hero
MidnightNinja said:
[TYPE][ANDROID VERSION][NAME][OTHER INFO][DATE]
Google Apps are included in this build.
Click to expand...
Click to collapse
Well, first, my understanding is that you should separate the GAPPS from the ROM, per Google's license... that being said, included or separate, can you deliver them ODEXED so we can try Art instead of Dalvik?
thanks,
jf
everesee said:
If you fix them, you will be a hero
Click to expand...
Click to collapse
+1
Sent from my HTC6435LVW using xda app-developers app
friedsonjm said:
Well, first, my understanding is that you should separate the GAPPS from the ROM, per Google's license... that being said, included or separate, can you deliver them ODEXED so we can try Art instead of Dalvik?
thanks,
jf
Click to expand...
Click to collapse
Please explain what you are talking about with regards to Art.
I include google apps for convenience, and several ROMs have done this same method. At the end of the day, I plan on providing what Google will eventually provide for the N7.
FWIW, the CM 11.0 source has dropped, and I've posted some quick stuff about it in the build thread.
My n7 is down for the moment (loose charger slot thing) but that doesn't mean y'all should have to wait
Good luck, we're all counting on you.
This ROM unrooted my N7 and is giving me constant acore.process issues. Think I'll go back to koko98's version, seems more stable.
PAULO76 said:
This ROM unrooted my N7 and is giving me constant acore.process issues. Think I'll go back to koko98's version, seems more stable.
Click to expand...
Click to collapse
Please provide more than constant acore issues. I also do not include root, as I state in the OP.
fattire said:
FWIW, the CM 11.0 source has dropped, and I've posted some quick stuff about it in the build thread.
My n7 is down for the moment (loose charger slot thing) but that doesn't mean y'all should have to wait
Good luck, we're all counting on you.
Click to expand...
Click to collapse
The source is downloaded....just trying the get the vendors set up for i605 and grouper .
I will see about getting a release out sometime today/tomorrow,when I know that its stable. I also don't know how to fix some of the binary issues,but I know they'll be fixed soon
MidnightNinja said:
Please provide more than constant acore issues. I also do not include root, as I state in the OP.
Click to expand...
Click to collapse
Ooops, my bad. Need to read a bit more thoroughly. Thanks for the instant reply.
MidnightNinja said:
Please explain what you are talking about with regards to Art.
Click to expand...
Click to collapse
ART is Google's runtime replacement for Dalvik - you can enable it under settings, but if you install 'normal' GAPPS, i.e., deodexed ones, it conflicts and they keep FC'ing
My understanding is that won't happen with odexed gapps; with them, we could try ART instead of dalvik.
jf
friedsonjm said:
ART is Google's runtime replacement for Dalvik - you can enable it under settings, but if you install 'normal' GAPPS, i.e., deodexed ones, it conflicts and they keep FC'ing
My understanding is that won't happen with odexed gapps; with them, we could try ART instead of dalvik.
jf
Click to expand...
Click to collapse
Now that I understand and have researched it, I'm going to take this idea for right now:
I will not be distributing a seperate gapps package that is odexed. This ROM, anyways is deodexed out of the box and as such, probably breaks all compatibly with ART.
Android ships with dalvik, and for now, I will not be offering support for something which requires me to redo the rom and provides no benefit. In fact, it appears to break many apps on the app store right now.
If in time, ART is shown to be stable and has all the issues ironed out, I will begin odexed builds and provide odexed gapps.

Computerfreek274 Mokee Rom 1.0 12/8/2015 working Moto camera and more.

Computerfreek274 Mokee Based ROM
If this software somehow kills your phone. I will not be held responsible.
Download 1.0 Here And Gapps to go with it here.
This ROM is based on Mokee Open Source.
How to install
Must be unlocked and have TWRP installed.
1st Enter TWRP If you do not already have a backup do a full backup in twrp.
2nd Now that you have a backup go to wipe then advanced wipe only system,data,boot and both cache's DO NOT WIPE INTERNAL STORAGE!
3rd if you have not already copy over my Mokee and Gapps to your storage of your phone.
4th go to install pick mokee rom 1st then hit add zip and pick gapps. Slide the slider over to start the install.
Reboot and enjoy.​
This is built on the newest Nightly Build of Mokee as of 12/07/2015 With Updates working.
Everything is working some stuff has not yet been put in this build. I am testing and working on it. 1.0 is more of a test build also to see if there is a user base for it. My main goal for this build is to see how much Moto / Turbo stuff I can get working and port into this build. Like the camera, moto display and other moto apps. I will clean up and update this post after the next build.
Moto Camera is working but may crash still testing. The stock camera from Mokee is still installed also.
Moto gallery in working.
Converted zip flashable img to sparse lollipop and twrp. It is the recommended format for lollipop.
Volume Boost v2 from my Other ROMS.
Verizon and global friendly.
No Verizon visual voice mail yet. I am working on a fix.
Porting over other MOTO turbo stuff.
Global and USA GPS for faster GPS fix.
I will be doing more work on this soon.
​
Space
downloading not allowed
it says " not allowed"
please do something
swapcall said:
it says " not allowed"
please do something
Click to expand...
Click to collapse
Read below the download! Soon to ran out of time and I am testing the final build before I release. I if I get time later I will unlock it for everyone to download.
computerfreek274 said:
Read below the download! Soon to ran out of time and I am testing the final build before I release. I if I get time later I will unlock it for everyone to download.
Click to expand...
Click to collapse
What exactly are you doing to the Original Builds? Mokee has and still does support the Quark right?
Gundabolu SC said:
What exactly are you doing to the Original Builds? Mokee has and still does support the Quark right?
Click to expand...
Click to collapse
Bringing over some of the MOTO camera galley stuff and Volume boost and other tweaks from my other ROM builds. Adding GPS settings for more US more friendly. Trying to fix it so you can get visual voice mail from Verizon. I also will be optimizing it for the turbo. It is also more flash friendly for the droid turbo now.
Is VoLTE working?
cdkg said:
Is VoLTE working?
Click to expand...
Click to collapse
If it is not working on mokee out of the box. Then no I did not do anything on this part yet. I will look into it more. I did look into bringing advaned calling in a tiny bit . But had to work on my main ROM . So this has what is listed above for now. i will get back to doing things on tthis soon. This rom is good for some of the overseas users that don't get 4g the way it is now.
I'm assuming the system up date is from the Mokee site and not on your part?
mlk77 said:
I'm assuming the system up date is from the Mokee site and not on your part?
Click to expand...
Click to collapse
Yeah the updates you see will be for the nightly builds from mokee. I did not try to see if it works. All the mokee zips/Roms get an error flashing to the turbo for me direct download from his sight. Pulling parts of this rom source I had more control. This is why I converted to sparse format makes flashing as easy as stock roms.
I am working now on porting more MOTO apps into the build. The good news is the more stuff I can get ported into this build. There maybe hope for some of the stuff on CM 13 Or even when mokee updates.
This is my main focus getting the moto apps over and seeing if there is any way of getting advanced calling working on verizon network.
Thanks, looks promising. I will try it when you port Moto Display.
wifi tethering
Does this have wifi thethering included for those with unlimited data?
Looks very interesting! I'll flash when I get home. Very excited to see Moto apps being ported
Has this been tested with xposed yet?
Also, how do you wipe the boot partition? It's not an option in advanced wipe in TWRP.
Guys been busy with helping my son do a KK ROM and I was patching my other lollipop stock ROM and updating it.
I will try and work on this a bit this week. As I told you guys this is not much about the ROM as it is more about what we can post over to here and what we will be able to port to CM13 .
I did work on some stuff. Today for a bit but did not make much headway on it.
computerfreek274 said:
Guys been busy with helping my son do a KK ROM and I was patching my other lollipop stock ROM and updating it.
I will try and work on this a bit this week. As I told you guys this is not much about the ROM as it is more about what we can post over to here and what we will be able to port to CM13 .
I did work on some stuff. Today for a bit but did not make much headway on it.
Click to expand...
Click to collapse
Hey, we totally understand that people have lives, and we're grateful that you decided to take up this project. Good luck porting everything!
@computerfreek274
How are you build this?
from source or just editing the ROM zip?
I made some mokee when they automatic servers stopped producing.
I ask this because I already por all most all moto app to RR, I do not put they in the ROM because I believe they are BLOATWARE, but I included all the permission and the user decides to use or not.
If you wanna to included they from the source is very easy I can tell you how, but to do that you need preferably to make the ROM not just change the zip, you can do by changing the zip of course but making the ROM gives you much more control.
The list of moto app I have already ported to custom on the pic's, the only VZW is VVM.
** CommandCenter does't show but this is already ported to all ROM I share the apk on my folder on androidfilehost
** Bugs: Moto email doesn't allows the user to use the app, and Moto voice does't install all the rest works fine but I do not use gallery it had some conflict with CM app's like theme, but the permission exist. I have a zip pack that will included all the right audio monitor files for quark to any ROM, the one in custom today are from nexus 6 and because of that I remove they from my ROM, if you manage to make moto voice to work, you need to deleted /vendor/moto/audiomonitor/* and use the right pack
It would be interesting if you could make what does not work of moto app work, because I try but I'm focus in other's tings and to make this work need time.
my files: https://www.androidfilehost.com/?w=files&flid=37191
If you are interested in sharing knowledge about quark let me know.
:good:
@computerfreek274 I have installed your custom ROM. Good work so far, but it's not detecting my sim card at all after initial setup/changing dpi. Not sure which caused it
[Edit] just changed back to default DPI to test, and that fixed it.
baybutcher27 said:
@computerfreek274
How are you build this?
from source or just editing the ROM zip?
I made some mokee when they automatic servers stopped producing.
I ask this because I already por all most all moto app to RR, I do not put they in the ROM because I believe they are BLOATWARE, but I included all the permission and the user decides to use or not.
If you wanna to included they from the source is very easy I can tell you how, but to do that you need preferably to make the ROM not just change the zip, you can do by changing the zip of course but making the ROM gives you much more control.
The list of moto app I have already ported to custom on the pic's, the only VZW is VVM.
** CommandCenter does't show but this is already ported to all ROM I share the apk on my folder on androidfilehost
** Bugs: Moto email doesn't allows the user to use the app, and Moto voice does't install all the rest works fine but I do not use gallery it had some conflict with CM app's like theme, but the permission exist. I have a zip pack that will included all the right audio monitor files for quark to any ROM, the one in custom today are from nexus 6 and because of that I remove they from my ROM, if you manage to make moto voice to work, you need to deleted /vendor/moto/audiomonitor/* and use the right pack
It would be interesting if you could make what does not work of moto app work, because I try but I'm focus in other's tings and to make this work need time.
my files: https://www.androidfilehost.com/?w=files&flid=37191
If you are interested in sharing knowledge about quark let me know.
:good:
Click to expand...
Click to collapse
Very Cool I have already seen some of your files. I will PM you when I get time I been working on this here and there. I did manage to fix the camera being slow. But i will look at the files you have there. I am running a test build I made last week for the last 12 hours. My main thing is when I start work on CM 13 I like to see if any of this can be ported.
Thank you very much. I will PM you soon.
Any update on how the porting is going?

[ROM][D2303] Resurrection Remix

RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
install it as usual, in TWRP...wipe system/data/cache...install .zip
(NFC drains the battery and doesn't work, uninstall it with some of the root uninstallers)
??
andres_vlc said:
??
Click to expand...
Click to collapse
ummm sorry for no more description
ResurrectionRemix ROM for D2303, camera doesnt work
quake73 said:
RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
Click to expand...
Click to collapse
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
You can edit the post and explain the bugs and known issues
how to install? etc etc
Konstantinosj77 said:
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
Click to expand...
Click to collapse
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
quake73 said:
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
Click to expand...
Click to collapse
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
)))....I havent reached that stage yet
and, if you ask me...the latest Sony software is the best rom for our phones.
nice work bro..but on your file just boot.img,system.img and userdata.img how to success instaal via trwp bro?
Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Omg RR rom [emoji38] but look you cant make camera work,i will wait until it work )
Sent from my D2305 using XDA-Developers mobile app
Nfc not work. Led not work
andres_vlc said:
Nfc not work. Led not work
Click to expand...
Click to collapse
true, corrected my first post, notified about nfc
Quake73 look Pm pls
quake73 said:
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Click to expand...
Click to collapse
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Konstantinosj77 said:
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Click to expand...
Click to collapse
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
quake73 said:
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Click to expand...
Click to collapse
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
quake73 said:
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
Click to expand...
Click to collapse
Yes but it's not that simple,you have to use CAF frameworks too
Konstantinosj77 said:
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
Click to expand...
Click to collapse
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
quake73 said:
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
Click to expand...
Click to collapse
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Konstantinosj77 said:
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Click to expand...
Click to collapse
NOOOO, NO WAY, OF COURSE NOT, THEY ARE MINE, THEY ARE PROPRIETARY!!!!
(ok ok here it is)
i experiment a lot but this is the manifest i used during building the posted RR5 rom. I'm not even sure if I need those qcom/common, media, display etc. Roms seem to build fine without them. SonyCM has some Init, I have no idea if it helps, as you can see, i'm just building blindly but it works
as you could see with pacrom, it is messy....the second half is remove-project, to help sync less (also use "repo sync ..... --depth=1", it helps a lot to keep the source at minimum)
And what do you think, is there a chance for the camera working in a MM rom since there isnt even a sony stock MM rom for M2? Or should we consider changing the phone?

tmobile CyanogenMod

Looking for someone that has the OMX folders from tmobile from. Lib/lib64. Can't extract from rom or system as I can't install it. Thanks in advance!
Here are the files you requested. Is someone working on the source again with the updated kernel source? I linked that too for the sake of it. MM Kernel source https://mega.nz/#!k9JzgKgS
Milly7 said:
Here are the files you requested. Is someone working on the source again with the updated kernel source? I linked that too for the sake of it. MM Kernel source https://mega.nz/#!k9JzgKgS
Click to expand...
Click to collapse
Thanks man! . And a few friends and I are having a look at it. I have international.. With raymanfx latest changes to international. On github... He made changes to audio and media.. I was having issues and replacing them made my phone sound so so much better so I thought maybe the OMX would do something (battle hero removed them from a international release because of issues)
No problem. Hope something good develops.
Milly7 said:
No problem. Hope something good develops.
Click to expand...
Click to collapse
It still reboots unless I remove them. I was hoping they wouldn't :/ because there's two things I've noticed about cm and I thought maybe someone could shed some light onto it.
Its pretty much cm but it still thinks it an a Samsung galaxy device so I don't think the libs for apps are being downloaded properly as apps crash (if I remove the specific apps libs) they stop crashing. Maybe it's downloading Samsung specific libs for apps and not something for stock Android?
2. Maybe if I have just specific libs and 64 libs. Instead of everything.. They won't crash.... I have no idea. (the OMX ones I mean)

[Port][8.0]Samsung Galaxy S9 Camera Port with working AR3D and My Emoji [08.Nov.2018]

Features:
Galaxy S9 Camera UI
working AR 3D Emoji on S8/S8+ ROMs!
working My Emoji
all Shooting modes are available and work
Notes:
Sadly I couldn't get My Emoji and Super Slow Mo working together. v.2.0 has My Emoji enabled and v2.1 has Super Slow Mo enabled instead.
This Port has been tested on Renovate Ice 14.1 for the S8 and on the S8+. It has been reported that it works on other ROMs too.
Panorama mode may be brocken for yet unknown reason.
Installation Steps:
Download the zip
Boot into TWRP
Do a backup before you install this port
Flash zip
Reboot and enjoy!
Download Link:
v2.1: https://mega.nz/#!cpAnEKSR!-3REYDxPDHKQHLbZkXARxZNzrThkNRV8OkHhn9K0w0g
v2.0: https://mega.nz/#!Bwxm2AxQ!ujx1KUrZOsJSVNkC_E8cXxXBlUnutEj5IkbUtcrt1mY
Changelog:
v2.1 (08th November 2018): Fixed Super Slow-Mo Mode
v2.0 (07th November 2018): updated to Renovate 14.1, added working MyEmoji
v1.1 (07th August 2018): properly remove stock AR sticker and AR frame
v1.0 (07th August 2018): Initial release
Credits:
Renovate ROM and mwilky for his great ROM
Apkmirror for the Apk's
Alexis and Ambassadii for their Camera Ports
Reserved
What about the Snapdragon?
VMCR said:
What about the Snapdragon?
Click to expand...
Click to collapse
I have no idea. Just give it a try and report back and make sure to do a backup!
working on alexis rom s9 port.....perfect.. thanks
khawarjaved said:
working on alexis rom s9 port.....perfect.. thanks
Click to expand...
Click to collapse
The s9 port camera already exists on alexis rom..
fahric74 said:
The s9 port camera already exists on alexis rom..
Click to expand...
Click to collapse
i was on an older firmware with april security patches.no other version worked ,,,this one does
@SuperSandro2000
you know what is AR Emoji ? Let's start with this
and from with rom you kang this J4 or J8 cam ?
Yes, from where have you kanged it?
First I will release v1.1 in a few minutes. It removes the old ar emoji now and ar frame as they don't work anyway.
ambasadii said:
@SuperSandro2000
you know what is AR Emoji ? Let's start with this
and from with rom you kang this J4 or J8 cam ?
Click to expand...
Click to collapse
AlexisXDA said:
Yes, from where have you kanged it?
Click to expand...
Click to collapse
Second thanks for the reminders and sorry about that. Forgot the credits section. Derp
To address your questions:
I know what AR 3d emoji are and I should rename them thread to better reflect that and this is the main feature of this port.
I tried to remember where I got the Camera but I don't know it anymore. I did this 3 weeks ago and I can't remember as I tried a lot. Next version includes the camera from apkmirror.
About the kanging part: I added a proper credits section that I just forgot. I didn't steal any of your code. When you look into the update binary you can clearly see that I wrote it myself.
If you have any more questions feel free to pm me.
Edit: and Ambassadii about the UI. You probably mean the shooting modes. They are provided by shooting mode provider. Nothing to do with the camera app itself.
SuperSandro2000 said:
First I will release v1.1 in a few minutes.
Click to expand...
Click to collapse
Can you make a flashable zip or s9 3d ar stickers only for stock s8 cam? Thanks
pogi.paul0119 said:
Can you make a flashable zip or s9 3d ar stickers only for stock s8 cam? Thanks
Click to expand...
Click to collapse
I probably won't do that as I already wasted enough time with this project and there is no reason I see not to update the camera.
But if you really want it you can just remove the camera app from the zip but I am not to sure if this will work as the camera app probably got updated to support that feature.
Do you need to be Rooted ¿
Or wil it work with a normal flash?
tunnelbewooner said:
Do you need to be Rooted ¿
Or wil it work with a normal flash?
Click to expand...
Click to collapse
You need to be rooted and probably deodexed but I didn't tested that. Don't know what you mean with the second question.
Does it work on Note 8 Exonys version with Dr. KETAN Rom ?
Thanks
Thread cleaned
Please refer to rule 12 in the forum rules
XDA is a community of development and improving on the work of others. If the original developer feels that this work is a blatant copy/paste then he needs to report it to the Developer Relations Team. If there have been some significant changes to the work then credits is all that is needed. The licenses that all Android is under is permissive.
Deleted
KennyG123 said:
Thread cleaned
Please refer to rule 12 in the forum rules
XDA is a community of development and improving on the work of others. If the original developer feels that this work is a blatant copy/paste then he needs to report it to the Developer Relations Team. If there have been some significant changes to the work then credits is all that is needed. The licenses that all Android is under is permissive.
Click to expand...
Click to collapse
The AOSP license is Apache. This means that you are free to do with Android whatever you want as long the license is maintained. Other than that it also mentions:
"You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License."
Which means not all is permissive.
yash92duster said:
Let me check the files
Was busy missed this one
Haa
Too late for credits and why replaced after reports
Click to expand...
Click to collapse
Anyway, i am sure something is going on with this port. I got working 3D emoji. With your port they did not yash92duster
Thank @SuperSandro2000 everything is working on renovate 13
Except that when the dpi is set above 410 (mine is at 450) the layout of the camera is messed up
Is there a way to fix that
Thanks in advance

Categories

Resources