yashsingh1/xdaforums huggingface dataset:
[JAM, MDA Compact, S100 General] bigpino:
I found this article

http://msmobiles.com/news.php/4679.html

in which is claimed that A2DP is possible on the magician (notice the baloon with "streaming . . ."). The required CAB file appears to be available on this site, although, the link happened to be a dead one.

So, what is the story about this? Anyone?
[JAM, MDA Compact, S100 General] spike1209:
it's working fine now
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Hello,

is there a Firefox OS image for the LG Optimus L9 P760 ?

git clone git://github.com/mozilla-b2g/B2G.git

./config

Valid devices to configure are:

- galaxy-s2

- galaxy-nexus

- nexus-4

- nexus-4-kk

- nexus-5

- nexus-s

- nexus-s-4g

- flo (Nexus 7 2013)

- otoro

- unagi

- inari

- keon

- peak

- leo

- hamachi

- helix

- wasabi

- fugu

- tarako

- tara

- dolphin

- pandaboard

- vixen

- flatfish

- flame

- emulator

- emulator-jb

- emulator-kk

- emulator-x86

- emulator-x86-jb

- emulator-x86-kk

Is there a compatible model in the list ?

Thanks
[LG Optimus L9 P760, P765, P768, P769] stunts513:
No, ROMs are device specific. You have to port it and add it to the list. I could attempt a port of this, I ported Firefox os to kindle fire HD, its hardware is very similar, and as long as there's a cm device tree that is ICS based or higher I should be able to attempt a build. I only haven't tried yet since my bootloader is yet to be unlocked, but I could attempt a build this weekend if you want, I just need a cm device tree.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Many thanks.

The Problem is, i get the LG in a few days.

If i have it, i try to give you the cm tree.

There is a guy that build a cm 11 rom for the LG.

http://artas182x.tk/?page_id=287

thanks
[LG Optimus L9 P760, P765, P768, P769] stunts513:
OK cool, can't wait to see how this works, its funny you mention it after the fact because a few months ago running Firefox is would have been a complete pain because sgx GPU's were having issues, I was around at the time they fixed it working on kfhd builds. Can't wait to attempt a build on this and see how it goes. Only downside is I can't personally test out the ROM. That being said i can already think of a few issues that might present themselves since the hardware is similar but only time will tell...
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Hi,

sorry my english is poor, do you have now any information that you need to build a FireFox OS Image (for LG P760)?

Or do you need anything else ?

thanks
[LG Optimus L9 P760, P765, P768, P769] stunts513:
I still need to find the device tree, but I'm going to bed I have to get up for work tomorrow and its late. I'll look into it this weekend.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
>I still need to find the device tree,

can i find this in the ROM Package ?

or how to get the "device tree" ?

thanks
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
may be the GIT Repo can help you

https://github.com/artas182x

https://github.com/artas182x/lge-kernel-omap4

https://github.com/artas182x/proprietary_vendor_lge/tree/cm-10.1/p760

https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-11.0/p760
[LG Optimus L9 P760, P765, P768, P769] stunts513:
Thanks, I was hoping for a cm 10.2 dev tree but I can work with cm 11, their 4.3 builds were more stable than my current 4.4 builds on kfhd, though my 4.4 builds have a ton more bugs fixed from upstream. Thanks for that I will take a look at it this weekend.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
here is the CM 10.2 device tree (i hope so)

https://github.com/artas182x/android_device_lge_p760/tree/cm-10.2

https://github.com/artas182x/android_device_lge_p760/tree/cm-10.2-cwm

thanks
[LG Optimus L9 P760, P765, P768, P769] stunts513:
ok thanks, thats a good part of it i think, i will have to see about putting together a manifest using that repo plus maybe a few others, last time i did this it was with a device that wasnt official at the time so i had a manifest generated for the process already that made my life easier, so i will have to do some research this time to figure out what repos i need, i can guess that one and definately the proprietary blobs. Will try to get this done sometime soon, ran out of time this weekend because i was also doing something on my domain controller to update some deployment images and the freaking power inverter for the lcd screen died...
[LG Optimus L9 P760, P765, P768, P769] stunts513:
a small update before i head to work, i managed to get it to start the compilation process now, so now comes the tedious debugging process, already hit one error about selinux attribs that needs to be set correctly so there arent duplicates, those are easy enough to fix, just thought you might want an update.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
if anybody is still curious how this is going, i'm tryin got fix an issue involving the kernel not compiling, finally decided to go with using a prebuilt but iunfortunately having a hard time figuring out why defining TARGET_PREBUILT_KERNEL isnt working...
[LG Optimus L9 P760, P765, P768, P769] mven45:
Found the Firefox OS trining manual (sort of)

Nt really my field of expertise, but I read the post and found something I thought might be helpful. This was a link posted by (Duckbill, I think):

http://csmg.lgmobile.com:9002/gdmsp...1&ret=1&curPage=2&searchtype=&keyword=&arg01=

It is a link to the LG South Korea portal of some kind entitled: 2013-11-04 FireFox OS Training Material. It is presented as a .zip file but when extracted with 7z, it only produces this:

[autorun]

open=LGMain.exe

icon=LGMain.exe,0

The file is larger than 5MB so I'm sure this is simply more LG encryption, although I don't really understand the implications of the instructions. On the remote chance that this is helpful, let me know how it helped.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
I got a successful build, not sure if it will work but it built successfully. If you wanna test it post back and i''ll post the link soon, still have to upload it.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
*** USE AT YOUR OWN RISK! I AM NOT RESPONSIBLE IF THIS SOFTWARE OR SOMETHING ELSE SUDDENLY FRIES YOUR DEVICE. ***

ok this is just a alpha build so no guarentees it will even boot and since i have the p769 with a locked bootloader i can't really test the build. Again this is for the p760 and i would like to mention if it doesnt work i wouldn tbe surprised if you get stuck at the bootloader logo while the os is actually trying to boot, if this happens i blame the hwc module, so if it does happen i believe you should have superuser access at a adb shell and you can simply run

adb shell mount -o rw,remount /system
adb shell rm /system/vendor/lib/hw/hwcomposer.p760.so
adb shell rm /system/vendor/lib/hw/hwcomposer.omap4.so
adb reboot

that might fix a not booting issue. This is a barebones build, until i know i have a build that can sucessfully build i dont bother tsing bluetooth and rild and such. I can say that since i didnt make the modifications i did last time that i'm assuming bluetooth is probably not enabled right now.

anyways i will make this a thread in the dev section when its out of testing. Here's a link to the first alpha build if you are willing to try it: http://d-h.st/5Kq
[LG Optimus L9 P760, P765, P768, P769] stunts513:
anybody going to test this? I let it sit for a few days but i was hoping to have some testers by now. Can't really debug it myself without having a actual device thats unlockable. Theoretically i might be able to run this with a 2nd init exploit, never tried setting one up on a b2g os though.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
I can try to test it

please let me know where to download the image(s)
[LG Optimus L9 P760, P765, P768, P769] stunts513:
In the post before last. Thanks BTW.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
I have the CWM v6.0.4.5 from artas182x, and the CyanogenMod 11 from artas182x on my P760

if i do "install zip" -> "choose zip from /external_sd" -> full_p760-ota-eng.stunts513-signed.zip

assert failed: getprop("ro.product.device") == "p760" || getprop("ro.build.product") == "p760"

E:Error in /external_d/full_p760-ota-eng.stunts513-signed.zip

(Status 7)

Installation aborted.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
That's kinda odd... Lemme check with the cm ROM's get prop script tomarrow and I may have to edit mine.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Here is the LINK to the ROM and Recovery i use

http://artas182x.tk/?page_id=287

can i check a file in the ROM to help you ?
[LG Optimus L9 P760, P765, P768, P769] stunts513:
I just need to compare update-script and I should be able to see what's going on. Thanks for the link.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
i uploaded the script, hope it helps
[LG Optimus L9 P760, P765, P768, P769] stunts513:
Hmm... are you sure your device is the p760? I mean I can adjust the device verification as a workaround so you can flash it, just kinda curious why p760 isn't cutting it for verification. Not sure how this would run on a model phone other than a p760 considering this is only based on aosp, and that it doesn't use surface flinger or zygote, instead it uses gecko.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Yes the Device is a P760, but on the Website you can read "ROM WORKS ONLY WITH RECOVERY HERE!!!" http://artas182x.tk/?page_id=287

may be there is something special with this ROM
[LG Optimus L9 P760, P765, P768, P769] stunts513:
ok odd, well then try this then and see what happens: http://d-h.st/jNA
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
E:Error in /externeal_sd/full_p760-ota-eng.stunts513-signed.zip

(Status 6)
[LG Optimus L9 P760, P765, P768, P769] stunts513:
Wtf? I have no idea what that error is. Lemme look into it again... not sure why the initial flash is giving such problems.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
ah i think i found the issue, i copied some commands over from the other one to make it multi device compatible, but i didnt check for syntax errors and i had an incorrect line ending. I believe it should work now lets try this again...

http://d-h.st/lDJ
[LG Optimus L9 P760, P765, P768, P769] Romanuza25rus:
Im sorry but: "E:Error executing updeter binary in zip" in TWRP

Dont give up! I bilieve in u!
[LG Optimus L9 P760, P765, P768, P769] stunts513:
Still has syntax errors????? Ugh wish recovery had better debugging support for their scripting language. Lemme double check my syntax again one more time...
[LG Optimus L9 P760, P765, P768, P769] Romanuza25rus:
Did u continue to work this project?

Sorry for my bad english:(
[LG Optimus L9 P760, P765, P768, P769] stunts513:
I will tomorrow, its' after 2 am already.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
E: Error in ..........

(Status 7)

Installation aborted

With CWM v6.0.4.5 from artas182x
[LG Optimus L9 P760, P765, P768, P769] stunts513:
*facepalm*

Try this one and see if anything goes better, give me as much debugging info as you can. I hope this build works, i cant think of any reason why it would be getting syntax errors at this point. http://d-h.st/SkN

technically ihave a flashible img for sys, boot and data that might flash, not sure about the userdata, that might have to be pushed with adb because an img would probably be bigger than the ram. anyways try this one.
[LG Optimus L9 P760, P765, P768, P769] Romanuza25rus:
"Error executing updater binary in zip" again:(
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Installing update...

assert failed: getprop("ro.product.device") == "p760" || getprop("ro.build.product") == "p760" || getprop("ro.product.device") == "p765" || getprop("ro.build.product") == "p765" ||

getprop("ro.product.device") == "p768" || getprop("ro.build.product") == "p768" || getprop("ro.product.device") == "u2" || getprop("ro.build.product") == "u2"

E:Error in /external_sd/full_p760-ota-eng.stunts513-signed.zip

(Status 7)

Installation aborted.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
OK let's take the dangerous route and just get rid of the build.prop assertions and see what happens because apparently they hate me. Will post update either tomorrow morning or night. I already got off my PC for the night to goto sleep.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
many thanks! sleep well!
[LG Optimus L9 P760, P765, P768, P769] stunts513:
im headed off to work, try this: http://d-h.st/IIs
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Installing update...

set_erm: some changes failed

E:Error in /external_sd/full_p760-ota-eng.stunts513-signed.zip

(Status 7)

Installation aborted.

The P760 do not boot see only the LG Logo on the Display

so i reflash my backup from cm11
[LG Optimus L9 P760, P765, P768, P769] stunts513:
ok thats a bit more useful, seems something in the flash process is failing, ill see if i can find what. seems its going to be one of the many set_perm commands... Will be fun debugging this...

---------- Post added at 10:27 PM ---------- Previous post was at 10:02 PM ----------

found a set perm for a file that doesnt exist, removed it, checked for anymore "ghosts", didnt find any so please work this time. try this and hope for the best! http://d-h.st/30C
[LG Optimus L9 P760, P765, P768, P769] Romanuza25rus:
[

Its flashed!!!! But stoped on LG logo. Brightness down about 30 sec. and screen off, when press power button screen on. I tried to reinstall now.

I tried but it repeated again

---------- Post added at 06:46 AM ---------- Previous post was at 06:26 AM ----------

and i have p765, but always use p760' roms. I think it isnt to important:confused:
[LG Optimus L9 P760, P765, P768, P769] stunts513:
I have no idea because of how gecko is used in replacement of surface flinger and zygote so a ton of standard android concepts may fly out of the window. Have you tried my initial instruction over adb while in recovery? They might fix the issue.
[LG Optimus L9 P760, P765, P768, P769] Romanuza25rus:
Where can i find it? (instruction)
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Install completed.

But only see the LG Logo on the Display.

Nothing more happend.

Did a wipe factory default and wipe cache, wipe dalvik cache.

But the same problem.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
Look back on the first post I made for the ROM tests. The initial build I made before I started tweaking the update-script. There's instructions on the post.
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
Thanks for evidence, but the files are not in the filesystem.

Here the steps i did:

Download the file: full_p760-ota-eng.stunts513-signed.zip

Do md5sum full_p760-ota-eng.stunts513-signed.zip to check the file

copy it to your SDCard

Run the P760 to Recovery Mode (CWM v6.0.4.5)

Wipe data/factory reset

Wipe cache partione

advanced -> wipe dalvik cache

install zip -> choose zip from /external_sd -> select full_p760-ota-eng.stunts513-signed.zip

su - root / sudo su -

# ./adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

xxxxxxxxxxxxxx06	device

adb shell mount -o rw,remount /system

adb shell rm /system/vendor/lib/hwcomposer/p760.so

rm failed for /system/vendor/lib/hwcomposer/p760.so, No such file or director

adb shell rm /system/vendor/lib/hwcomposer.omap4.so

rm failed for /system/vendor/lib/hwcomposer.omap4.so, No such file or directory

adb reboot

Here the files in filesystem: /system/vendor/lib

130|root@p760:/system/vendor/lib # pwd

/system/vendor/lib

root@p760:/system/vendor/lib # ls -la

drwxr-xr-x root shell 2014-07-09 03:18 drm

drwxr-xr-x root shell 2014-07-09 03:18 egl

drwxr-xr-x root shell 2014-07-09 03:18 hw

-rw-r--r-- root root 67564 2008-08-01 08:00 libIMGegl_SGX540_120.so

-rw-r--r-- root root 9308 2008-08-01 08:00 libPVRScopeServices_SGX540_120.so

-rw-r--r-- root root 257472 2008-08-01 08:00 libglslcompiler_SGX540_120.so

-rw-r--r-- root root 358520 2008-08-01 08:00 liblvverx.so

-rw-r--r-- root root 383608 2008-08-01 08:00 liblvvetx.so

-rw-r--r-- root root 25924 2008-08-01 08:00 libpvr2d_SGX540_120.so

-rw-r--r-- root root 9612 2008-08-01 08:00 libpvrANDROID_WSEGL_SGX540_120.so

-rw-r--r-- root root 57164 2008-08-01 08:00 libsmapi.so

-rw-r--r-- root root 111720 2008-08-01 08:00 libsrv_init_SGX540_120.so

-rw-r--r-- root root 169844 2008-08-01 08:00 libsrv_um_SGX540_120.so

-rw-r--r-- root root 33572 2008-08-01 08:00 libtf_crypto_sst.so

-rw-r--r-- root root 915060 2008-08-01 08:00 libusc_SGX540_120.so

-rw-r--r-- root root 35548 2008-08-01 08:00 libwvm.so

in found the files in: /system/vendor/lib/hw

adb shell rm /system/vendor/lib/hw/hwcomposer.p760.so

adb shell rm /system/vendor/lib/hw/hwcomposer.omap4.so

the it work! many thanks!
[LG Optimus L9 P760, P765, P768, P769] stunts513:
Woops I should have double checked the post. There was a path typo or 2. Let's try it again:

adb shell mount -o rw,remount /system
adb shell rm /system/vendor/lib/hw/hwcomposer.p760.so
adb shell rm /system/vendor/lib/hw/hwcomposer.omap4.so
adb reboot
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
many thanks - very very good job!

can you please contact the firefox os team an give them your knowledge

that they include it in the buld script(s).

First test:

settings -> device info

Model: lgep760based

Software: Boot2Gecko 2.1.0.0-prerelease

Plattform version: 33.01a1

Git commit info: 2014-07-01 03:10:30

the Device is very hot! hope is not overheading

- WLAN works

- the wizard for base settings works

- charge works

- calendar works

- browser works (but slow)

- screensaver/switch off the display works

- volume volume adjustment works

- music player works

- gallery works

- camera do not work

- buttons left and right from home button do not work

- unlock the SIM card (i do not found how to do this)

under settings i see "SIM card not ready" (but the imei is detected can see in settings)

- if power off with usb cable is pluged in

the device reboots.

But a Problem is that i can not power on the device with the power button (may bee it is a problem that my battery is very very low).

if i plug in the usb cable the device power on.

How to got the CWM Recovery to create a backup of "firefox os" ?

and that Firefox OS is working

./adb reboot oem-unlock

./fastboot devices

./fastboot flash recovery recovery.img

./fastboot reboot

DemiDog Crash Handler: Kernel Panic has been occurd

Please do follwing action:

1. capture the screen

2. get last_kmsg.txt log in /data/dontpanic after rebooting

If you want reboot this device, push volume down button

...

....

....

unplug the Battery wat a few secunds

Press HOME + Volume down + Power release Power after 5 sec.

an hold the HOME + Volume down pressed.

then i got the CWM.

But the Firefox OS did not start.

I reflashed your ZIP, delte the 2 files

boot the device in firefox os

./adb reboot recovery

that works for me
[LG Optimus L9 P760, P765, P768, P769] stunts513:
good to hear it booted, when you get a chance tell me if bluetooth is enabled or not, last time i made a build with bluetooth it actually required some extra configuring. As to the sim card issue that is not going to be fun to fix, the imei is stored locally on the phone so that is why you could read that, i haven't had a device with a sim card before that i have made a build of b2g for, so not too sure on how to debug that. There might be some info in the dmesg/logcat. I'll add some more customizations into the build when i get a chance like the boot animation and such. Still not sure why this is reading a s a 2.1 prerelease, it should have been 1.4 stable... As to the camera i will see if i can debug it but last time i had issues with the camera it would have taken a c++ programmer to fix it and i don't know C++ unless its some very basic things. I am not sure but i don't think b2g uses the back and 3 lined button in their os, I'll have to ask the devs. Does the battery idicator work? Oh and i doubt the dev's will add this to the official device list as i'm not a coder and dont even have a perfect working build yet. The os might run a little slow because we had to disable the hwc that basically contains the gpu's optimizations for this model. i can't recode that personally to work with b2g, had the same issue on my kfhd builds. Luckily gecko can work without hwc. Could someone test video play back with like the youtube app from the marketplace?

Anyways please tell me if bluetooth works, it might "turn on" even if it doesnt, so see if it can scan and find another device and/or connect.

Thanks for all the feedback!
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
> when you get a chance tell me if bluetooth is enabled or not, last time i made a build with bluetooth it actually required some extra configuring.

sorry the the moment, the device do not boot (only see the LG Logo i can see on the display)

the files in /system/vendor/lib/hw do not exist

> There might be some info in the dmesg/logcat. I'll add some more customizations into the build when i get a chance like the boot animation and such.

see the attach

> Oh and i doubt the dev's will add this to the official device list as i'm not a coder and dont even have a perfect working build yet.

please try it
[LG Optimus L9 P760, P765, P768, P769] stunts513:
i'm confused i thought you said it was booting up sucessfully? I'm uploading a build right now witha few debugging modifications enabled, i removed the hwc modules to prevent graphics issues, and i enabled rild debugging to see if i can fix the "sim card not detected" issues. Not to sure about what i'm going to find. Next time could i ask for a logcat as well? Alot of gecko's errors and such are listed in the logcat. I'll post the new zip in a bit when it finishes.

---------- Post added at 10:40 PM ---------- Previous post was at 10:07 PM ----------

ok made a update with the files removed and some debugging enabled: http://d-h.st/n0w
[LG Optimus L9 P760, P765, P768, P769] ds2k5:
> i'm confused i thought you said it was booting up sucessfully?

> I'm uploading a build right now witha few debugging modifications enabled, i removed the hwc modules to prevent graphics issues, and i enabled rild debugging to see if i can fix > the "sim card not detected" issues.

with your new image my device boots (without delete files needed)

> Next time could i ask for a logcat as well?

how to get the logcat ?

did attach the output of dmesg

blutooh seems not OK, have a blutooh devices

but firefox os did not find it (with another pfone i can see the bluetooh device)

SIM CARD: "No SIM inserted" (but it is in the device)

Video playing from youtube did work (think it is html5)

How to got the needed logs for you ? i see only (if the the is firefox os running):

[root@localhost Linux]# ./adb shell logcat

--------- beginning of /dev/log/system

I/Vold ( 141): Vold 2.1 (the revenge) firing up

D/Vold ( 141): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)

D/Vold ( 141): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)

D/Vold ( 141): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)

I/Vold ( 141): /dev/block/vold/179:61 being considered for volume sdcard

D/Vold ( 141): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)

W/Vold ( 141): Skipping fs checks

I/Vold ( 141): Device /dev/block/vold/179:61, target /storage/sdcard1 mounted @ /mnt/secure/staging

if i do this if the device is booting ... the log is very long but the most is:

I/I/O ( 151): connect failed with error 2 (No such file or directory)

I/Gonk ( 151): RIL[0]: OnConnectSuccess

I/Gonk ( 151): RIL[1]: OnConnectError

I/Gonk ( 151): RIL[1]: OnDisconnect

please see the attach

logcat -b radio see also attach

logcat -b events (do not give a output)

logcat -b main (looks like the outboot at booting time from the device)