yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] SergiNS:
I'm installing it on a pendrive right now.

Hope is easy.

Is taking time "Creating a persistent File"

As it seems, I can get files from HDD from Ubuntu isn't it?

Thanks :)
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Yes you will be able to access files on your pc's harddrive from the Linux pendrive. But it's better to copy them to the Linux home folder as in my guide before flashing. This is why you need the persistent file. It's like a Virtual Hard drive on your usb stick ;)

Otherwise it will complicate flashing with long file paths needed for the adb and fastboot commands.

Just follow my mini guide and you'll be fine ;)

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] SergiNS:
Thanks a lot mate.

Right now is all done.

I will keep Ubuntu in my pendrive, it can help me in many ways.

Thanks for the guide and for the quick answers.

Always a pleasure to be in this forum.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Your welcome. Glad it got you out of trouble, Linux ain't so scary eh! [emoji12]

P.s no need to say thanks, there's a button for that ;) sure majmoz would appreciate one or two :good:

If you found my posts helpful, Please click thanks :good:
[LG Optimus 3D] shaqfu786:
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), which is designed to increase performance and reliability over stock Android for your device.

#include <std_disclaimer.h>

/*

* 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.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review.

First I have to give thanks to [MENTION=2633638]Ziyan[/MENTION] GNexus forum [MENTION=5128617]troopii[/MENTION] [MENTION=377973]defcomg[/MENTION] and all the devs not here anymore that left us the base to build on.

Just to be clear, i am not a developer and dont clame to be, it would be an insult to the real developers here.

I just took a chance, asked for help and still learning in the process.

FINALLY to the rom

WHATS WORKING

camera - rotation fix thanks to [MENTION=5128617]troopii[/MENTION]

bluetooth

wifi

gps

sdcard mounts

mobile data

KERNEL

this is ibluemind blue kernel with oc.

ROM DOWNLOAD

http://d-h.st/wXHC

Change Log:

WiFi tether fixed

Radio

SDcard Fixed

GAPPS

http://xdaforums.com/showthread.php?t=2397942

my sources

https://github.com/shaqfu786

SCREENSHOTS

View attachment 3001036

View attachment 3001037

View attachment 3001038

View attachment 3001039

INSTALLATION

wipe data factory reset

wipe cache

format system

install rom

setup up rom

reboot to recovery

install gapps

boot in os and let rom settle

install your apps

Thanks again to all the guys that helped me to get this going and to get it to you all.:D
[LG Optimus 3D] DiveNNN:
Good work!

I'm downloading it gonna try it. Good to see people around here.
[LG Optimus 3D] shaqfu786:
Just a little note, choose the lightest gapps that's going to suit your needs. It uses a lot of ram. When you install ROM there is a major difference without gapps and with gapps. That is why you should wait after installing for ROM to settle. I'm using 1200 oc. Which works well.
[LG Optimus 3D] DiveNNN:
Wow really good preformance only thing im missing here is recording hope we find solution , bluetooth is working ,camera have right orientation, ART is also working, I recommend this ROM to everyone.
[LG Optimus 3D] DiveNNN:
Kernel have bug

Idk if this is me or not but Processor is always at max value
[LG Optimus 3D] shaqfu786:
What gov and iosched are you using?

i left mine on ondemand and noop.

but i will look into it.

im downloading source for 5.0, i'll see if i can get sum optimizations for kernel to go with Lollipop.:good:
[LG Optimus 3D] tensan:
I don't know if that is only happening to me, but my apps don't have access the SD, internal or external. I can't download photos from whatsapp for example, or any other thing I want to save in any app.
[LG Optimus 3D] shaqfu786:
I will look into it, at this time im changing alot of stuff testing device tree to get "L" going for us, crap thing is that this rom was released so late, i think it could be just a permissions issue, check what they are with file explorer in the mean time.
[LG Optimus 3D] shaqfu786:
I'll start on 5.0 the weekend, damn 2meg line, sources still downloading. Any help and ideas are welcome, as I said I am not a developer. I know no programming languages but when you mess around you learn a lot. So let collaborate and get things going. I have 3 devices but this was my first android phone and its still my favourite.
[LG Optimus 3D] DiveNNN:
about cpu i use Hotplug and Bfq
[LG Optimus 3D] berni987654321:
[MENTION=4858057]shaqfu786[/MENTION] I've started the download of 5.0 sources too. I'll create a dev thread
[LG Optimus 3D] shaqfu786:
Welcome back Bernie, I will contribute what I can to you and troopii
[LG Optimus 3D] shaqfu786:
Try another gov, or you can use troopii boot.img from nameless and see if it works better for you.
[LG Optimus 3D] tensan:
Permissions... in what file? It happens in any app... Maybe permissions of mnt directory?

Good luck with L! I am just an user, I can't help much...
[LG Optimus 3D] 5ajad:
great work bro! it seems delicious!

btw , video recording works? what about wifi-hotspot?
[LG Optimus 3D] shaqfu786:
I too was just a user, lol every idea might help. As for SD, did you use nameless before, because my storage.rc is exactly the same. Yes the perm of sdcard folder.
[LG Optimus 3D] shaqfu786:
As for the kernel issue, is anybody else having CPU always at max? I'm busy working on a 3.0.101 kernel at the moment. Hopefully I can get all the conflicts sorted and I'll post the boot.IMG here.:thumbup:
[LG Optimus 3D] tensan:
Yeah, I was in nameless just before install CM... Maybe I'll try reinstalling it and then checking permissions, because I've come back to 4.0.4.

I'll try to help with any idea I could have.

EDIT: I've been testing. I've changed every permission I could without success, my apps can't access to the SD. I have no idea what the problem is.
[LG Optimus 3D] DiveNNN:
No recording does not work there is no codecs for recording, and hotspot can be turned on but idk if it is working.
[LG Optimus 3D] troopii:
About sd problem you have an typo in your cosmo.fstab sdcard 0 is noemulated but should be noemulatedsd
[LG Optimus 3D] 5fusion:
Any update on cm12 boot for this dead device? :confused:
[LG Optimus 3D] shaqfu786:
I cant seem to get the source code right to get it booted with the old gpu binaries. I think its because the the old ion api has been removed. Im still working on the new kernel aswell. I need to get the memory allocations right and ion carveouts right for a 512mb ram device. Im working on doing this on cm11 because it booted before. If or when i get it right i will move on to cm12 or cm13. Its hard to follow the updates since no omap4 device uses old bineries anymore ald are on the 1.9 binaries. My source is building with the new binaries but i get surfaceflinger errors and the screen is blank at the moment. Still working on it, just not publicly.:thumbup:
[LG Optimus 3D] 5fusion:
^ cool!! good to know something is happening behind the curtains :) . take your time mate. its a heavy task to make newer things work on old devices like this. Appreciate your every effort in making this device alive again :fingers-crossed:
[LG Optimus 3D] shaqfu786:
Just for interest sake, this is the error i keep getting. Lines 503 to 520. http://pastebin.com/pXUE62Rg. My personal opinion is that i fail to see how it can been hwcomposer when all other devices is using the same custom hwc with no changes for different devices. Not many people are making mods to surfaceflinger aswell that i have tracked because it would have been posted. So my only suspect for now is something not right in kernel.
[LG Optimus 3D] crutchcorn:
Hey there, I am on the p920 and upon trying to flash this rom, I get the error 1 code. Any help?
[LG Optimus 3D] shaqfu786:
What recovery are you using?
[LG Optimus 3D] Noxialis:
Hey hey!

Anyone still here?

Modified a boot.img for 760 users, it now loads the correct partition for internal SD.

Buttons persist though, still haven't found a way around it. Same goes for camera.

It's been, what, 2 years since? I've made the SD fix since then but couldn't make time uploading it (blame College).

Anyone interested, send me a PM, will make a thread soon for it.
[LG Optimus 3D] shaqfu786:
Yep still here. I check in now and then. Hopefully the forum will liven up again. I finally got the new pvr working with a cm11 build. Theres still something wrong because it takes 30min to finish booting and theres no sound. Still think carveouts are not right but im working on it.
[LG Optimus 3D] Noxialis:
Glad to know you're still here:victory:

Hearing from you again motivates me to keep working on this:highfive:

For sure, this forum will liven up once more once we get CM12 working, maybe even 13 if we can manage
[LG Optimus 3D] shaqfu786:
If i get it working stable i might skip cm12 and go to cm13. I already have the source code.
[LG Optimus 3D] spepe17:
any way we can help?!
[LG Optimus 3D] shaqfu786:
Here you go, its stock and just commits made for new pvr.https://github.com/shaqfu786/android_kernel_lge_omap4-common/tree/cm-11.0?files=1.

3d is disabled because source built hwcomposer needs lg 3d functions added which we do not have. And omap enhancement s3d only has code for external displays.
[LG Optimus 3D] oile:
You are great man! You and all the people helping you are the kind of things that makes me love communities and makes me angry for studying law instead of Unix
[LG Optimus 3D] shaqfu786:
Still working on stability of kernel before i do any updates to it. Also EdwinMoq from l9 forum also helping me and trying to get a uniform kernel working for cosmo, p940, l9 and cx2. Still sorting out issues aswell.

Lol cant believe it took almost 2 years just for me to get display up and using source built hwc like the other omap4 devices. But we will get there. Persistence!!
[LG Optimus 3D] shaqfu786:
Small update. I seem to have gotten sound working, just tested. Not sure with which libs tho, i added the original audio.primary and source built in dev tree, dont know which takes preference. Now bootup is 8min. So i think kernel is right. Still testing for reboots. Battery went dead after flashing. Still need sum testing because launcher force closes. Progress, i will keep at it. Cm13 soon hopefully.lol:thumbup:

Edit: kernel is stable, no reboots. Just cant test anything else cause trebuchet force closes. Need to sort that to see if camera and the rest is working.:thumbup:
[LG Optimus 3D] dreccon:
What if you manually copy a Nova Launcher apk into the /data/app/ directory using TWRP File Manager and leave Trebuchet for later...?
[LG Optimus 3D] Noxialis:
I can also give you AOSP's launcher straight from Omni if you need it.

Just say what you need and we'll do what we can (except munies, Iono how to donate online lol)
[LG Optimus 3D] shaqfu786:
Upload it i will test after work. I havent uploaded kernel changes and vendor, but dev tree is up here.https://github.com/shaqfu786/android_device_lge_p920?files=1
[LG Optimus 3D] Noxialis:
Got free time just now, my father and I were fixing things in our home, so, apologies for the late reply.

What version of AOSP Launcher are you after? Kitakat? Or Marshmallow?
[LG Optimus 3D] shaqfu786:
Kitkat launcher would be good.:thumbup:
[LG Optimus 3D] shaqfu786:
I got into settings via the statusbar menu. Read that clearing the data and cache of trebuchet in apps menu could solve problem. But when pressing to get in to apps, settings also force closes. This seems to be a permissions issue.i built 3.0.0-0 twpr that im using now and it doesnt have the permissions button in menu anymore.
[LG Optimus 3D] Noxialis:
Here
[LG Optimus 3D] shaqfu786:
A bit of progress. I got trebuchet working and the settings. Wifi is not working at all. Doesn't come on. And i need to add camera back to see if it works. I removed it trying to sort out audio and other fixes all related problems was in dev tree so i need still to update it on github. As for the kernel, i ask for patience. I tried updating it further but some commit causes it not to boot at all. I have to add 1 commit at a time and do a complete build to to see which commit is causing it. Then i can get it to cm13 level and then add features. :thumbup:

Still going on
[LG Optimus 3D] shaqfu786:
Still struggling with wifi and camera.

wifi comes on now, but when connecting to my modem it doesn't pickup ip address to lock onto.

it just saves the password. not sure if its in the kernel that i need to update some networking stuff.

camera doesn't find back camera at all, not sure if or where to set dual camera.

just for info here is the screenshot of new pvr version
[LG Optimus 3D] Noxialis:
Have you tried setting DNS to "Static" ?
[LG Optimus 3D] shaqfu786:
No. Where do i do that?
[LG Optimus 3D] Noxialis:
Long press on the network you connected to, you'll be given two options: Forget Network and Modify Network

Choose Modify and tick "Show advanced options"

(Let me correct myself, it's IP settings, not DNS)

Under IP settings, set it to "Static"

For the address, set it to any value beyond the Gateway's range

(For my home network, it goes up to 35 only, so that makes it 192.xxx.x.35, I set the address to x.129 to get it in)
[LG Optimus 3D] Noxialis:
[MENTION=4858057]shaqfu786[/MENTION]

Tell me, how do you adjust brightness on your device? Because on the 760, there's a bit of length left on the bar before an increase can be made.
[LG Optimus 3D] shaqfu786:
I normally adjust it from tile menu. But that was on the old cm11. The one im building now has auto brightness
[LG Optimus 3D] Noxialis:
Since we just got TWRP working, I'll go do this again.

EDIT:

This just in, the boot.img you gave me before? It really doesn't work xD

Posting my boot.img now, wait for it.
[LG Optimus 3D] Noxialis:
Boot.img for SU760

For SU760 users.

Flash this, this will make internal sdcard work.
[LG Optimus 3D] Noxialis:
Coming back to this, I just remembered how many wrongs this ROM has @.@ I could list them all but not until I get to building one myself, a ROM that is.

One main issue is battery, with Wi-Fi on. This phone can go at least 2 days on full with just music and messaging, but not when it's connected to Wi-Fi.

I'm looking into how to build a ROM, hopefully a week would be enough for me.

There's also TWRP's issue with Open Gapps AROMA, though I am very thankful that it is fully working, it'd take 8 minutes to install what you want @.@

Wish me luck! I'll need every ounce of it @.@

EDIT:

I'm on 760, you guys are on 920, so some issues may be caused by model differences.

But again, can't say until I build my own.

Another EDIT:

If anyone can teach me, that'd really help hasten things.
[LG Optimus 3D] shaqfu786:
Main thing is to get the source code first. Then we can take it from there. The dev tree i can help with and vendor, lol and the kernel. First decide what cm you want to build and get the source code.
[LG Optimus 3D] shaqfu786:
I left the building for now to get the kernel up to date. I still got alot of commits to make to get it to 3.0.101 of the linux kernel and then when its inline with other kernels i will sort out the wifi and camera issues.
[LG Optimus 3D] shaqfu786:
https://github.com/shaqfu786/android_kernel_lge_omap4-common/tree/google. 3.0.101 is booting. Now to fix wifi and camera:thumbup:. Lol almost 3000 commits with the google 3.0 branch and linux 3.0 branch. F2fs is like 15 pages of commits, dont wana think of that now
[LG Optimus 3D] shaqfu786:
Hi,

here is a test build for y'all to try.

fixed wifi,bluetooth.

camera still not working, and like i said before, 3d is completely disabled dont even ask about 3d.

https://mega.nz/#!2oVUSRyJ!3LFm4Oq6urisjXB8NOaO6Wy2O1AOx0uE3W5R24lxbI0.

i did not post it in main post till i get camera working.

im trying to sort it out.

test and enjoy.
[LG Optimus 3D] 5fusion:
wow..good to see some activity here ;). up for download..gonna try and let you know.
[LG Optimus 3D] shaqfu786:
Camera seems to be a kernel problem, according to [MENTION=2633638]Ziyan[/MENTION] from gnexus forum, who has helped me from the beginning of this journey to get the pvr working. Along with [MENTION=6289357]EdwinMoq[/MENTION] from l9 forum. Ducati loads, so either remoteproc or rpmsg. Trying to sort it out
[LG Optimus 3D] Noxialis:
Flashing this right now.

Also, a report on TWRP...

It takes too long to flash things. I don't know why, but it does.

If I replace boot.img, does it also replace the kernel?

I think I might have to work on this again....

ROM boots up just fine, seems laggy though.

What changes did you make?
[LG Optimus 3D] Noxialis:
Thank you for...

-Fixing brightness bar

-Fixing garbage image before bootanim (how did you fix this?)

I made an edited boot.img of this for the 760 users out there. Send me a PM if you need it.
[LG Optimus 3D] shaqfu786:
The garbage was still there until i added this to kernel. https://github.com/shaqfu786/androi...mmit/c7c7086e16b2f0e9cfbf281511ee319e9a566b6d. This commit removed the garbage. How does the rom feel so far for a stock kernel?

The only things that changed is the pvr. Using source built audio, blitsville, hwcomposer, domx, libion and libutils. Makes it easier to follow updates of android and the rest of the omap4 community. Still need to make dev tree work with source build hardware/ti/omap4.
[LG Optimus 3D] shaqfu786:
As for the flashing with twrp, i dont know what the problem might be. I think its the new metadata format. Newer roms dont use the set permissions format anymore. Thath is why recoveries had to be updated.cwm is no more. Cyanogenmod have there own recovery since cm12. I think its just something we all have to get use to, we have never had these new roms and recoveries before. If you go through some of the other devices post cm12 was an even bigger b!tch to boot. It had to be odexed to boot quicker.
[LG Optimus 3D] shaqfu786:
I have forgot to thank [MENTION=2863096]dreccon[/MENTION] for sticking around and still helping people on this forum. Lol a real veteran:D
[LG Optimus 3D] Noxialis:
ROM feels slow sometimes xD Using it right now, maybe it just needs to settle down some more...

Vibration settings work, but only if I use Kernel Adiutor for it. Built-in settings don't work properly; I set it to 0% nothing happens.

Not sure about Mobile Data yet, going to test it later, will post when something new comes up.

---------- Post added at 07:45 PM ---------- Previous post was at 07:42 PM ----------

GPU setting seem to be interesting, too bad I can't OC it at the moment
[LG Optimus 3D] dreccon:
Thank you [MENTION=4858057]shaqfu786[/MENTION]. I admire your persistence. I believe I can't be of much help anymore. I'm starting to forget basic stuff about this phone. Nevertheless, I keep myself informed just in case two of my friends who still use the O3D decide to install custom ROMs. So I actually want to thank YOU for sticking around and still helping people who keep using this remarkable piece of hardware.

---------- Post added at 04:05 PM ---------- Previous post was at 03:40 PM ----------

TWRP 3 has been mentioned to flash slowly on several Sammy devices as well. It happened to me too on a Galaxy Tab II 7'. I also had to revert to TWRP 2.8.7.0 on a Galaxy Note 3 because it was incompatible with Aroma scripts.

PS: A boot.img consists of the RAM disk (the one you modified in order to work with SU760) and the zimage which is the kernel.
[LG Optimus 3D] shaqfu786:
[MENTION=5235007]Noxialis[/MENTION], when you are ready to start building from source, check this out. https://source.android.com/devices/tech/config/low-ram.html

Some are already added, others i will add when i get time. This camera issue driving me crazy:eek:
[LG Optimus 3D] Noxialis:
This just in:

I left the phone fully charged and not in use for over 3 hours and 30 minutes.

Says here that Android OS kept it awake for 3 hours 17 minutes.

100% down to 85% at the time of writing, currently looking into it.

EDIT:

Deep Sleep is an unused state, still looking as to why it is so.
[LG Optimus 3D] Noxialis:
I'm going to try something since I now have two of these phones.

One is using the current build, the other is using the last build of 2014.

I'll have the kernels swapped out and see what happens.
[LG Optimus 3D] shaqfu786:
You can't swap the kernels, the new build uses the ddk1.9, the old uses ddk1.8 for graphics. So it wont boot at all.also the old uses a prebuilt hwcomposer which is version 0.2 i think. The new hwcomposer is v1.0. So basically no older kernels are compatible with the new rom. So you cant use older overclock kernels. Unfortunately you have to wait until i add oc to new kernel which is after camera fix. So far i got the original ducati from ics to load and got feedback from remoteproc and rpmsg. Now its complaining about wrong resolution. So its still force closes.
[LG Optimus 3D] Noxialis:
Then can I go ahead and ask to make two versions of that?

You're working on 920, so for us, the image would be flipped 180 degrees.
[LG Optimus 3D] shaqfu786:
I will do so, but for now we don't know anything with the new source built cam. Might end up that when i get it working, it may work properly for both devices.
[LG Optimus 3D] 5fusion:
tried the new build. its very laggy for me. so m back to ics for now. i am sure its gonna get better as you are working on it. kudos to you to get back our device in the game and all the Devs :cool:
[LG Optimus 3D] Noxialis:
What I can say about this new ROM is that battery drain has SIGNIFICANTLY improved.

I have two of these, right? One on old build, one on new.

The one with the new build is still alive with 40% old build died sometime over night.

The main cause of battery drain in the new build is Android OS; Deep Sleep is an unused state, whereas the old build is suffering from Gservices framework misbehaving.
[LG Optimus 3D] shaqfu786:
I hope im not jumping the gun here, but im starting to build cm13. Yes i know camera isnt fixed, but it is also easy for devs like [MENTION=2633638]Ziyan[/MENTION] and [MENTION=6289357]EdwinMoq[/MENTION] to help me solve this problem with the camera if im using the newer android and the hardware/ti/omap4 branch in source. I let a build run, i will test when i get home from work.:thumbup:
[LG Optimus 3D] roxito:
cm13 its like a dream .....

Στάλθηκε από το LG-P920 μου χρησιμοποιώντας Tapatalk
[LG Optimus 3D] Noxialis:
Welp, no matter how I check, it really only tells me that Android OS is keeping this awake...

Still looking into it...

That aside, any idea why YouTube only goes up to 360p for this phone? I find this hard to believe xD
[LG Optimus 3D] shaqfu786:
I think that the omap_dce need to be in the kernel for hd content because the device only has 512mb ram. As for cm13, i tested the build and no boot at all, not even signal from usb when connected to pc. Cant get any logs. Need to find what is causing this.
[LG Optimus 3D] CarDGee:
Hi shaqfu786, this is just a wild guess but it might be the way cm compresses the boot image, i am having the same issue on m4 and if i use a older boot.img it boots, im trying to figure how to solve this as well..