yashsingh1/xdaforums huggingface dataset:
[LG Optimus 3D] shaqfu786:
[IMG="cm-12.1"]http://i.imgur.com/8axDIgM.png[/IMG]

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.

#include

/*

* Your warranty is now void.

*

* We are not responsible for bricked devices, dead SD cards,

* thermonuclear war, or you getting fired because the alarm app failed. Please

* do some research if you have any concerns about features included in this ROM

* before flashing it! YOU are choosing to make these modifications, and if

* you point the finger at any of us for messing up your device, we will laugh at you.

* Collectively, and at the same time.

*/

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

BUGS

camera working but front-facing preview 90deg and changing front front to back fc camera.

KERNEL:

Added overclock and voltage control need to test with a playstore app[cm has removed the performance settings]

new bfq v7 i/o

added sio i/o

Contributors

[MENTION=4516732]berni987654321[/MENTION] [jb - device tree]

[MENTION=5128617]troopii[/MENTION] [kitkat - device tree]

[MENTION=4858057]shaqfu786[/MENTION] [kitkat and lollipop]

Source Code: https://github.com/shaqfu786

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.0.x

Version Information

Status: beta

Created 2016-07-08

Last Updated 2016-08-07

DOWNLOADS

P920:

https://mega.nz/#!7oVTxYoT!SfgAHHrkE04x4kbwuA2kx43OzZTVOLN2GUOnXlBBOaU

SU760:

https://mega.nz/#!bhtUXKqJ!Enzz4KuWd1Z70-y1KMx14dzThVPBLumioUQR_-UYBoo

GAPPS:

http://wiki.cyanogenmod.org/w/Google_Apps [NB nano or pico' others too big]

THANKS:

[MENTION=2633638]Ziyan[/MENTION] for all his help from the beginning.

[MENTION=6289357]EdwinMoq[/MENTION] for all his help and especially with the ril for cm12.1.

[MENTION=4473900]amaces[/MENTION] for his insight into kernel for cm12.1 and just alot of advice.

All the omap4 devs who's examples i used knowingly or unknowingly.

Also thanks to [MENTION=4414973]wkpark[/MENTION] for his great work on our bootloader that has kept this device going.

Aswell as [MENTION=4494813]xbsall[/MENTION] [MENTION=377973]defcomg[/MENTION] [MENTION=4487325]iBluemind[/MENTION] [MENTION=3275889]samno[/MENTION] and many others that made a difference in this forum for this device.much respect.
[LG Optimus 3D] shaqfu786:
Please let me know hows the battery life. I need to source a new one. I have the original battery since 2012 lol
[LG Optimus 3D] shaqfu786:
No comments?

Besides wifi and camera
[LG Optimus 3D] roxito:
With gapps its slow. With out gapps its OK. Battery life I cant tell because my battery is as old as yours. But its nice though. Hope to see an update with WiFi fixed.
[LG Optimus 3D] CarDGee:
Great job shaqfu, it feels more fluid than cm-11 but i havent installed gapps yet, hope to see a version with wifi working. Cant believe that my O3D got Cm 12.1 before my M4
[LG Optimus 3D] shaqfu786:
I added all the low memory optimizations, because its 512mb ram it will be this way. Also even 1gig devices adding low ram optimizations. I dont know if we will be able to get cm13 this way. 1gig devices are struggling. Bit im working on wifi. Its being a bit of a b!tch the wifi.Anyone tested overclock? Thinking of getting this http://www.dx.com/p/replacement-350...-optimus-3d-p925-thrill-4g-92182#.V4SElHPRbqA
[LG Optimus 3D] skullus:
Hello shaq, i cant install it, says this is for device "p920" this is cosmopolitan... i dont know

perhaps is related whit previous installations of darkroom XXL?

please give me a miniguide to install it maybe partitions are wrong...

Saludos:cowboy:

Sent from my PC using Keyboard
[LG Optimus 3D] shaqfu786:
What device are you using?
[LG Optimus 3D] skullus:
Im using p920, but finally i resurrect my windows XP, install TWRP 3.0.2(required), and install from zip, testing now...

Thanks for your work!
[LG Optimus 3D] CarDGee:
Hi shaqfu786, i was looking into your sources and you seem to have wifi commented out on cosmo-vendor-blobs.mk

, is there a specific reason?
[LG Optimus 3D] shaqfu786:
Yep, i'm trying to build it from source in hardware_ti_wlan. The prebuilt module in vendor blobs also didnt work. Thats why i moved to source built. Which is giving me exact same error as prebuilt. It cant find the wl12xx_sdio.ko in system/lib/modules. Even tho it is there.
[LG Optimus 3D] oile:
Omg. Didn't notice this thread. I can't believe you did it! I am really excited about the love you brought to this forgotten device! Although I can't test it right now, I want to say all the possible thanks in the world for doing what you're doing!

Ps. Is there any bootloader unlock files other than those old buggy turning off/on bootloader files I used to have?
[LG Optimus 3D] shaqfu786:
About the bootloader, unfortunately not. The reason its buggy is because the info and files given to wkpark to unlock the bootloader was based on ported ics. Which was su760 and not original p920 files.

As for getting cm-12.1 to you is a testiment to the great developers like [MENTION=2633638]Ziyan[/MENTION], [MENTION=6289357]EdwinMoq[/MENTION] and [MENTION=4473900]amaces[/MENTION] on xda that would help a guy like me with no android experience, share their knowledge and advice with me.:thumbup:
[LG Optimus 3D] berni987654321:
Wow, great work!

Didn't believe anyone is still working for this old phone.

Now I'm pretty sad I don't have an o3d anymore :crying:
[LG Optimus 3D] shaqfu786:
Hi bernie nice to know you're still around. You made all this possible with jellybean
[LG Optimus 3D] dodore:
How install TWRP 3.0.0 LG Optimus 3D SU760 4.0.4 Plz !
[LG Optimus 3D] shaqfu786:
What rom and recovery do you have at the moment?
[LG Optimus 3D] xbsall:
Good job Shaqfu. Well done.

**Lol just noticed my signature and felt like editing my message..

Man it has been ages since those "hunt for ICS " days..

Anyway i rarely login maybe once or twice per year so i wish the best to all of you who are still around..
[LG Optimus 3D] dreccon:
Good to see you guys. It's been a really long time! I feel the same way as you Berni. Great job [MENTION=4858057]shaqfu786[/MENTION], keep it up!
[LG Optimus 3D] shaqfu786:
Wow, thanks you one of the legends, along with bernie, Defcomg and ibluemind. I will try to keep going as long as the device holds out and with my limited knowledge.
[LG Optimus 3D] shaqfu786:
Hi guys

I finally sorted out wifi, i will upload the build once i sort out the cam preview. But im not happy with the rom after gapps is installed. Its almost unusable. Maybe tried too much optimizations.hope to sort it out. I will also the upload the su760 device tree to my github, it will be initial commit thou. From there on all commits will be tracked like on p920 device tree
[LG Optimus 3D] oile:
You're unbelievable man. Really.

Oh! I remember there was a guy back in the old good days of this phone whose name was Acura I guess, he was on htcspain community only and he had a deep knowing of kernel optimizations.

Maybe there is a way to keep in touch with him? I have an htcspain account in case you need it (although I m Italian).
[LG Optimus 3D] shaqfu786:
Yes i ran Acura kernel on my phone. But i think its more of the device itself thats the problem. Because of the low ram. Yes the kernel too, but it requires a 3.4 or 3.10 kernel, 3.0 is old and not maintained anymore. And there too, we require independent board files to merge with the kernel, not the hacky ones lg proviced on 3.0 kernel. The best way to do that is to update and modify the cosmo files from a 2.6 gb kernel. If my limited knowledge is correct, it may even be possible to dump the lg 3d kernel configs completely and incorporate the ti 3d code for display, which is in the 3.1, 3.4 kernel. Not sure about 3.10 kernel. Its a hefty task thou. I might attempt it, but im trying so hard to be on par with other omap4 devices with cm13. Also i cant test very well with the bad battery. I ordered 2 online, hopefully get it in a few weeks.
[LG Optimus 3D] oile:
In there I can help surely. I've bought a Chinese battery less than a week ago for one of my p920 and I can tell you wich one is better. I've tested the one I bought (a 2200mah one) comparing it with the original one finding out that it is a real 1750mah and lasting much more than the original 1500mah one.

The device runs low in ram without doubts. I thought 512mb were not enough back when S2 was presented together with p920.

If you could enable 3D it would be IMMENSE but I know a lot of devs tried in the past and failed about it because of protected LG framework.

It is more important to work on the core functions of the device such as wifi, RIL and camera in 2d.

I don't know how to thank you!
[LG Optimus 3D] hamidezat:
Wow good job shaqfu 786 but you can fixed wifi connection
[LG Optimus 3D] shaqfu786:
Wifi is fixed, also got it to work with source built modules from hardware/ti/wlan. I will upload a build as soon as the 1st of the month.my internet is slow from the 25th till the 1st of new month.in that time im trying to make the rom more usable.trying various optimizations to get it better.
[LG Optimus 3D] oile:
Do sim and ril already work?
[LG Optimus 3D] shaqfu786:
Yes it does, [MENTION=6289357]EdwinMoq[/MENTION] was nice enough to update the ril class in the device tree and pointed me into using the p880 ril libs.
[LG Optimus 3D] Noxialis:
I have a bit of a problem...

The 760 zip recognizes the phone as a 920, giving me a status 7 error all the time.

Any ideas on how I can get past this?
[LG Optimus 3D] shaqfu786:
I couldn't test the su760 zip myself. It gave me the same error. No sure why, the bootloader name and everything else was changed to su760. Kernel defconfig also for su760. Not sure why its doing that, unless its because of your previous roms partition table. Try the p920 zip. Only diff is the internal sdcard i changed and in kernel changed to 3 keys. Or the recovery picks up the partition table as p920.
[LG Optimus 3D] shaqfu786:
I have the cm13 source downloaded again. Also the cm12.1 kernel i added f2fs support but its not used because the recovery wasnt made with f2fs support. So i will rebuild with f2fs support the 3.2 recovery and also a su760 one separate. Maybe then the zips will work.
[LG Optimus 3D] Noxialis:
Will work on it.

Maybe I can just get the kernel from the zip and make it work with the 920 version somehow.
[LG Optimus 3D] shaqfu786:
Only way to know is to try:)
[LG Optimus 3D] Noxialis:
So I took the boot.img from the 760 zip and flashed it after installing the 920 zip.

It got stuck in a boot loop.
[LG Optimus 3D] thinhx2:
<MOD EDIT - DON'T QUOTE OP.>

Camera 3d work or no? If work bro can send me commits to fix camera on htc evo 3d?. Thank bro
[LG Optimus 3D] shaqfu786:
No it doesn't, the framework/native/services needs to be modified.the 3d code was removed from cm10.2 onwards
[LG Optimus 3D] xbsall:
SU760 and P920/925 are the same so what works for one device works for the other too.

The only differences are the camera going upside down and the 3 vs 4 keys.

The reason that the official ICS wouldn't

BOOT

on the 920/925 was that the SU760 SYSTEM partition was larger and wouldn't fit inside the P920 SYSTEM thats why the extraction wss never complete and the phone bootlooped.

What i did back in 2012

if i remember well

was just resize the P920 partitions and thats how we got ICS.

So i suppose your P920 Kernel will work in a SU760 device without the need of any partition size changes.

Also i think internal SD Card is partition 15 in P920 and partition 16 in SU760..

I don't know if this info helps you with your bootloops..

Regarding the zip file recognizing the phone as p920 and not su760 you could remove the line in the script that reads the devixe type.

---------- Post added at 02:15 AM ---------- Previous post was at 01:53 AM ----------

Thank you. Also don't forget WKPARK. :good:

I know that he didn't get much credit for his excelent work but i always mentioned him cause if it wasnt his omap4boot tool we wouldn't go far..

At that time my P920 was a brick because of failed ICS porting attempts.

After he made his amazing omap4boot tool it was just a matter of hours to unbrick it and have ICS for our P920's 8 months earlier before LG released the official ICS Rom.

His work really saved us a lot of money and hours.
[LG Optimus 3D] shaqfu786:
Thanks for the advice xbsall, i will update the op to include wkpark. Im thinking of sticking with the cm11 build. I have tried all optimizations and still cm12.1 is unusable with gapps installed. I will upload the wifi fix thou. Also im in the process of downloading cm10 and attemping a build with s3d. If successful, it can pose as a base for others to get involved and more roms can be made with theming and so on.

Thanks again xbsall
[LG Optimus 3D] oile:
Seeing xbsall always gives me a strange melancholic feeling :)

I wish to shaqfu all the best in getting 3d working or a new working cm build.

Ps. Did the new battery arrive?
[LG Optimus 3D] shaqfu786:
Not yet, it could take a whole month before i receive it.
[LG Optimus 3D] shaqfu786:
Hi again

OP is updated with new build with fixed wifi. Front cam still not working. Added more optimizations its a bit more useable with gapps once it settles. Ill still try my best with this rom but concentrate more on cm11 thats much more better for the device.leave your comments about how it is and if vibrator working for you, not working my side.

Ps: su760 not updated since its not flashing anyway.
[LG Optimus 3D] djmazu:
hi thank you very much, appreciate you work much, but some how , everytime i boot up the phone and make a phone call, then a very stange sound come out from the earpice , just like the iron or robot but mainly , the sound was distaract, not like perious, finally, it sound is not smooth as before . sorry my bad english
[LG Optimus 3D] ultracrix:
great! it'll in catch with this, you are amazing for trying to get back to life this phone, I never pass from 2.3.6 ('cos complicated tutorials for ICS) and actually using my O3D in this moment since last 4 years, I'm really wat to 3D works, screen and cameras, so still wait for your work, and thanks since now!
[LG Optimus 3D] oile:
I remember the metallic voice required a fixed baseband back at the old Acura times. Is it the same issue?
[LG Optimus 3D] shaqfu786:
Hi, just the new build or the old build as well? I did change the libs for ril. Using p880, it doesn't rely on the libnetutils. And im using source build ril daemon not our prebuilt one. To be honest this is just experimental. Im really not happy with performance of cm12.1. My main development and fixes will be mainly for cm-11.0. It was useable.downloading cm11 sources again. As for 3d, damn i still cant wrap my head around how to add it to cm11 surfaceflinger. I had a look at ics surfaceflinger.so lib and there is definitely s3d code in there.

Ps: is vibration working?
[LG Optimus 3D] hamidezat:
This rom is not rooted why??
[LG Optimus 3D] shaqfu786:
Use this

https://download.chainfire.eu/696/supersu/
[LG Optimus 3D] hamidezat:
Tnx but this rom is very slow and sometime wifi connection atomic turnoff and sometime device is hanged ??
[LG Optimus 3D] shaqfu786:
Yes i know, i have tried everything, updated zram to latest, created swap, added configs for low ram. The fact of the matter is that the 512mb ram is to low to run cm12.1. Cm11 was made with low ram taken into consideration. Thats why it works, not so with cm12.1 and cm13. Thats why im thinking of concentrating on fixing everything on cm11. I just need to sort out the front camera then everything will work on cm11. Then different kitkat roms can be made from this, omni, carbon etc. Sorry to say but cm11 is where we are stuck.

Hope y'all understand.
[LG Optimus 3D] hamidezat:
I am go back to KitKat but after upgrading to 4.4.4 I can't downloaded any files on internal memory with UC Browser tell me why??
[LG Optimus 3D] shaqfu786:
Is the sdcard seen in settings?

Are you using p920 or su760?
[LG Optimus 3D] itsmemario:
omg it happened ? :'D

Just got back my old p920 and thought Id have a look at xda.

Man, shaqfu, this is unbelievable ! Thanks a lot !!!

And the only problem is the front camera as I can see ? :D

Any screenshots ? Any other ppl testing ? :)

Id like to test this asap ^^
[LG Optimus 3D] shaqfu786:
This was actually a beta build. Because of the memory we cant go past cm11.im trying cm10 with s3d. If that works. I will try to port it to cm11
[LG Optimus 3D] latinohot:
need little help to install it on my P925

currently is not booting from the last rom I had on it from HTC Spain Rom the recovery is CWM 6.

I guess I had the phone turned off for way too long.

Is this rom ok to be flashed with my current recovery?

Also I can't use the SD Card because the pin that held it place is broken, meaning is not there:crying::crying:

but I saw in the recovery there's a sideload option, how can I flash it using that option?

and many millions of thanks for keeping this 1st gen 3d phone alive:good::good::good::good:
[LG Optimus 3D] shaqfu786:
To be honest, i built this rom but wouldn't advise using it. Because of the lack of ram its not smooth for everyday use. You could try cm11. Also ugrade the recovery with selinux support. Twrp 3.0.0 or 3.0.2.

You can also flash from the internal sdcard.
[LG Optimus 3D] itsmemario:
As I havent done this for ages....

just flash the ZIP with ClockWorkMod Recovery v6.0.1.9 that I still have on this p920 ? Any problems with CWM as you advice TWRP ?
[LG Optimus 3D] shaqfu786:
I don't think cwm 6.0.1.9 is built with new selinux policies and it cant flash the new set_metadata script that cm12.1 was built with. It doesn't use set_permissions.twrp is built for newer roms and is backward compatible with our ics roms.
[LG Optimus 3D] itsmemario:
I forgot everything...

I wanted to try TWRP, but our p920 is not enlisted in their device list there ?

What to use to flash it ? ^^
[LG Optimus 3D] shaqfu786:
In terminal emulator type

dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p6.

This requires the recovery image to be on your internal sdcard.
[LG Optimus 3D] michael.santos:
Someone got Android Nougat working on a Nokia Lumia 520 that have 512MB RAM, so it should be possible on LG P920! :D http://xdaforums.com/windows-phone-8/general/nokia-lumia-520-booted-android-nougat-7-t3512011
[LG Optimus 3D] shaqfu786:
Yes there are other 512mb devices with cm13 and cm14. I just dont thinks its worth it, cm11 worked the best. Also im frustrated that i cant get 3d working even on cm10. To be honest the 3d max p720 and p725 models would have worked nice for cm14 because its 1gb ram, also [MENTION=2633638]Ziyan[/MENTION] informed me of major breakthroughs on the omap4 devices. They are doing great work on the Unlegacy repo. I think for now i will enjoy the holidays and then strain my brain again in the new year with the p920.:D
[LG Optimus 3D] oile:
My best wishes of an happy new year to this dedicated developer!
[LG Optimus 3D] dreccon:
[MENTION=4858057]shaqfu786[/MENTION],

Hi, I just wanted you to know that I installed Unlegacy 7.1.1 on my Galaxy Tab 2 (OMAP4) and it runs surprisingly well (apart from camera which is bugged at the moment). The project starts from Android 4.4 AFAIK, so you might find considerable help there.

GT-I9505 JDCT Opti-Lineage 14.1
[LG Optimus 3D] oile:
What does it mean for p920?
[LG Optimus 3D] dreccon:
Well, P920 is also OMAP4 but with less RAM.

GT-I9505 JDCT Opti-Lineage 14.1
[LG Optimus 3D] shaqfu786:
Hi dreccon

Is it with a 3.4 kernel?

Or 3.0
[LG Optimus 3D] dreccon:
3.4

GT-I9505 JDCT Opti-Lineage 14.1
[LG Optimus 3D] shaqfu786:
Yes the guys at Unlegacy did well in getting a 3.4 kernel for tabs. Im taking time to learn the c language. Maybe in time i'll be able to make a 3.4 or 3.10 kernel for o3d.:)
[LG Optimus 3D] dreccon:
Best of luck mate.
[LG Optimus 3D] virol:
[MENTION=4858057]shaqfu786[/MENTION] and dreccon

hello, i am also still working with the LG P920 (O3D) and unfortunately after a update to ICS 4.0.4 my 3D cam is not working like it must (difference in height left and right picture)

Have one of you a ROM for P920 that bring a solution?

Thx
[LG Optimus 3D] shaqfu786:
None that i know of, i think lg used completely different 3d source to their gingerbread ones. There was major changes from gb to ics. Especially with the 3.0 kernel been used, video and display composition had to change.
[LG Optimus 3D] virol:
Bad, sad new's.........

I desperately want to be able to take again 3D pictures and movies, do you know if I can go back then to Gingerbread 2.3, is there a way to do this?

(Where to find the ROM and old kernel (I think it was V21E) and flash tools?)

Thx for your quick answer shagfu786
[LG Optimus 3D] shaqfu786:
Which ics rom are you using?

I have neva had a problem with ics video and camera, but then again i never took 3d pics.
[LG Optimus 3D] virol:
Hello,

It's a Android version 4.0.4

Kernel 3.0.21

Build XDSA ICS BD ROM V8 with AC!D

Software version P92030a-EUR

Into 2d pictures or video there is no problem, only in 3D

I got the same thing (wrong 3D) with other P920 ICS-ROM's also, so I think it has something to do with the kernel 3.0 , do you think also that?

I load my roms into recovery-mode TWRP and zip files from rom's

I have seen that there is a official update from lg (V30a) but this is an KDZ file, but I dont know how to flash this into the lg P920

I found also a V20 rom from LG (GB 2.3) also KDZ but same flash question........

Can you help me out?

Thx
[LG Optimus 3D] shaqfu786:
Downgrading back to gb is a hefty task. More so since you don't know how to flash kdz and bin and fls files. My advice is either read the tutorials on how to do this or, the safest for you is to stick with ics. I think its only videos you had from gb that doesnt work properly, those made with your new ics rom would work properly.
[LG Optimus 3D] dreccon:
[MENTION=958651]virol[/MENTION]

I remember your issue being mentioned by a few people after the upgrade to ICS. Gingerbread would soft-align the two pictures in case the cameras were misaligned. I guess this algorithm got dumped for some reason in ICS. There was never a real solution but to downgrade to Gingerbread. Still, I would like to propose my own solution. A friend of mine still has the O3D for taking 3D photos and videos. A few months ago one of his cameras cracked after a drop. I ordered a replacement camera from AliExpress for as little as 6€. Changing it was very easy and it works fine since. Your new cameras will hopefully be correctly aligned and you'll be able to keep ICS. Certainly, I cannot guarantee that my solution will work for you but for such a low price it's worth trying.

GT-I9505 JDCT Opti-Lineage 14.1
[LG Optimus 3D] tatamata01:
i cant install it, says this is for device "p920" this is cosmopolitan... tnx :good:
[LG Optimus 3D] dreccon:
Good morning, I just read this and immediately thought of the O3D.

https://www.xda-developers.com/android-go-optimizes-android-o-to-run-on-low-end-devices/
[LG Optimus 3D] shaqfu786:
I would definitely be in on building a rom. But this time others need to help with development, not just testing. This is a good opportunity to get a newer android version, but also if you're not a developer, you have the time to become one and contribute to keep o3d alive. Nice find dreccon:thumbup: