yashsingh1/xdaforums huggingface dataset:
[LG Optimus Me P350] pax0r:
I get a minor success at porting .35 kernel for p350. It boots and works but it still to bugged to public release. However if you have any dev experience you can grab it here https://github.com/pax0r/lge-kernel-msm7x27 and help me fix it!
[LG Optimus Me P350] WalterCool:
I don't know exactly how Android handles GUI, IDK how to help right now, but I just can told you about the bug when android it's displaying interface.
[LG Optimus Me P350] godarm:
Can you upload your compiled ICS so that we can tweak it to get it working!:D
[LG Optimus Me P350] pax0r:
I've removed my built version and now my source code wont even build :/
[LG Optimus Me P350] Rikarudo:
Hi Pax0r! well, i want to become a dev, i have some kind of linux knowledgement and have a good willing to learn, could you please point me out to some basic tutorials about building from cyanogen source? i've searched myself in the wiki but i didnt saw anything about lg pecan, any information you can give me, I will study it and maybe then become of help in dev community! thanks in advance!!
[LG Optimus Me P350] pax0r:
There is not much info about anything for P350 as it is not very popular device. Everything you need to start building CM for P350 is here, in mine Readme file:

https://github.com/pax0r/android_device_lge_pecan/blob/gingerbread/README.mkdn

Everything else you need to get by yourself =p but I will try answer all your questions ;)

I learned everything by checking avaibale info for similar devices (MSM7227 board, for example: LG P500, ZTE Blade) and source codes.
[LG Optimus Me P350] Rikarudo:
So, here's my first question, how do i sync to cyanogenmod original sources (latest commits) and make a build for pecan, do i have to sync the gingebread branch, then copy your make file, extract binaries from my working phone and then build it?, also i would like to know how to disable certain parts of CM code, like led trackball and so, since it is useless to our device and will make the ROM smaller
[LG Optimus Me P350] pax0r:
My mainfest which I provided syncs you latest CyanogenMod sources - it is this file:

https://github.com/pax0r/android/blob/gingerbread/default.xml

As you can see all subrepos are pointing to orginal CM repos, I only commented other devices for smaller download, and only repos syncing from mine github, not CM are:

<project path="device/lge/pecan" name="pax0r/android_device_lge_pecan" />
<project path="vendor/cyanogen" name="pax0r/android_vendor_cyanogen" />
<project path="android" name="pax0r/android" />

The first one is a device folder holding info how to build Android for P350, second is a vendor folder for CM in which is kept info how to build CyanogenMod flavor (there is info how to byild CM for every device, that's why it is forked on my gh as I it also needs to kept some info how to build for P350) and the last is just this default.xml file.

I'm keeping the last to repos synced with orginal CM and the rest is going directly from CM so syncin my sources will get you latest CM sources without other devices but with P350 buildable.
[LG Optimus Me P350] Rikarudo:
So with your repo what I am building is esentially CM with no mods/tweaks whatsoever? nice! time to look up into the code to get some things out and some in, I'd like to do some "cherripicks" as the dudes who make the euroskank fork for other devices, so for now i guess ill let my resources sync finish and will start looking more into this lately this week since i heve pretty much things to study for my college.

Ps1: How did you get to build for p350, ( i have not looked into your code but you could tell me in a gross way)

Ps2: your great dude! lets make this device rock till i get my galaxy nexus to replace this one who is replacing my dead nexus one! thank for your help!
[LG Optimus Me P350] pax0r:
yes, you are building pure CM only stripped out of other device and with pecan added

But beware - in newest build I have BIG problem. I explained it here:

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

have any one idea how to solve it?

Also when you will do a build could you check if you are getting the same problem?
[LG Optimus Me P350] Rikarudo:
Hi Pax0r!! I'm back to my wannabe dev intentions! i managed to sync sources (my internet was loosing connection every hour) and now im ready to start, I would like to know where are located the files that hold the changes that cyanogenmod does to the code, since as i've told you i want to remove some things like trackball stuff, proximity sensor things, and fiugre out how to make initial setup NOT to look for a physycal keyboard, thanx in advance for your answer
[LG Optimus Me P350] f.riz:
I tried to fix the "pure gingerbread rom" from cips gokhle on FB. but in his rom has no baseband, so it can not use GSM.

Can someone help me, how to add baseband to his custom rom?

Thanks for the advice :)
[LG Optimus Me P350] pax0r:
This is mine part of extracting properiaty files from device to build CM:

# RIL
adb pull /system/lib/libril-qc-1.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/liboncrpc.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libdsm.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libqueue.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libdiag.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libauth.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libcm.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libnv.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libpbmlib.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libwms.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libwmsts.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libmmgsdilib.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libgsdi_exp.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libgstk_exp.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libril-qcril-hook-oem.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/liboem_rapi.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libsnd.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libqmi.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libdll.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/liblgeat.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/liblgdrm.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/liblgdrmwbxml.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/liblgerft.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libbcmwl.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libdss.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/bin/rild ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/bin
adb pull /system/lib/libril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libloc-rpc.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libloc.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib
adb pull /system/lib/libcommondefs.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/lib

all this *.so in /system/lib/ are the files releated to the radio interface so you may try to copy them from working ROM (Froyo or CM one)
[LG Optimus Me P350] f.riz:
thanks, i will try :)

and the bluetooth will not turn on. not the error, it's just not start. Can you help me again?

edit: didn't work :( it always says "error while searching networks".

for your information, in the setting "baseband version" written "uknown". any ideas? :o

(I took the file from your ROM)

BTW, thank you for CM7.2. It is the best ROM

*sorry for my bad english :D
[LG Optimus Me P350] pax0r:
AOSP may be not compatible with our RIL libraries as CM team made HUGE work to make CM7.2 backward compatible with FroYo devices while in pure AOSP project there were not such changes.

EDIT: for the bluetooth check this https://github.com/pax0r/android_device_lge_pecan/blob/gingerbread/files/init.pecan.rc and this https://github.com/pax0r/android_device_lge_pecan/blob/gingerbread/prebuilt/init.qcom.bt.sh files, here are the BT releated stuff

Also check the logcat logs for your ROM when trying to run RIL (network) and during booting process mby they will tell you what is missing
[LG Optimus Me P350] f.riz:
I was actually embarrassed to ask this. but where is the location of which is https://github.com/pax0r/android_device_lge_pecan/blob/gingerbread/prebuilt/init.qcom.bt.sh on a ROM? :o because I just want to fix existing ROM, not to build from scratch. and I have tried looking in every folder and in the boot.img, but I didn't find.

and I also have checked this https://github.com/pax0r/android_device_lge_pecan/blob/gingerbread/files/init.pecan.rc and there is no difference.

*sorry for my bad english :)
[LG Optimus Me P350] pax0r:
On the ramdisk on boot.img but I not sure if It was there or I added it by myself so if there is no such file just add mine and remember about proper call in init.pecan.rc
[LG Optimus Me P350] f.riz:
are you sure? because in your CM7.2 boot.img, file does not exist. And I also have used the kernel that was in CM7.2.

and this logcat about bluetooth that I just took. I hope this helps :)

I/ActivityManager( 1433): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.bluetooth.BluetoothSettings } from pid 1560
I/ActivityManager( 1433): Displayed com.android.settings/.bluetooth.BluetoothSettings: +362ms
D/BluetoothService( 1433): Bluetooth state 10 -> 11
V/BluetoothEventRedirector( 1560): Received android.bluetooth.adapter.action.STATE_CHANGED
D/SettingsAppWidgetProvider( 1560): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 1560): No instances yet... Wait for at least one instance to exist before adding global settings
I/bluedroid( 1433): Starting hciattach daemon
E/bluedroid( 1433): bt_enable: Timeout waiting for HCI device to come up
D/BluetoothService( 1433): Bluetooth state 11 -> 10
V/BluetoothEventRedirector( 1560): Received android.bluetooth.adapter.action.STATE_CHANGED
D/SettingsAppWidgetProvider( 1560): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 1560): No instances yet... Wait for at least one instance to exist before adding global settings

*sorry for my bad english
[LG Optimus Me P350] pax0r:
sorry! My mistake I checked the wrong line in make file (where is set up where all files should go)

this one is at system/bin/init.qcom.bt.sh

Logcat looks like there is a problem with loading firmware for which work is done in this file. Also check if proper firmware file is in place (the one called BCM(something).hcd called somewhere in init.qcom.bt.sh )
[LG Optimus Me P350] f.riz:
the problem solved! :D

thank you pax0r, I am very grateful to you.

and can you help me again to the problem of GSM? tomorrow I will give the logcat.

once again thank you.

*sorry for my bad english :)
[LG Optimus Me P350] f.riz:
pax0r, I found something interesting in your rom. why only in your ROM that use system/bin/init.qcom.bt.sh? in CM7.1 ROM, pecanmod, also stock ROM I didn't find that file, but the bluetooth still work.

actually I also have problems because of it. when i build the edited ROM by using the your kernel (pax0r-lite from CM7.2), I get a error in the camera preview. but the bluetooth works fine. And when I build an edited ROM with other kernel (like vivek-v3 or drapalyuk kernel), the camera preview works fine, but bluetooth didn't turn on.

Can you explain it? :)

*sorry for my bad english
[LG Optimus Me P350] pax0r:
No idea :D I did not change BT releated files at kernel site.

Hm I get this init.qcom from p500 and changed it to works with p350, as Drapalyuk didnt post his BT fix (in his last release he fixed BT, but I have no idea how and so I did it by myself).

In FroYo I think BT works in some other way... But in init.pecan.rc init.qcom.bt.sh is mentioned but commented out so I think someone on LG who was porting FroYo to P350 did it is some other way. BTW I think guy from LG was not 100% sure what he is doing during the port :P

Check init.pecan.rc from CM7.1 or Cosmic eXperia, mby there you will find some more info about BT.
[LG Optimus Me P350] pax0r:
yep but all line with # are commented out so they are not used the only real diffrence is

service hciattach /system/bin/sh /system/bin/init.qcom.bt.sh vs service hciattach /system/bin/brcm_patchram_plus --enable_hci --baudrate 4000000 --patchram /system/bin/BCM43291A0_003.001.013.0060.Pecan.hcd /dev/ttyHS0

and init.qcom.bt.sh is in fact doing the same, but I will get deeper into it, thanks :)
[LG Optimus Me P350] f.riz:
with my pleasure:)

one question :D if the kernel that you make can only be used for your ROM?

because I get the error in the camera preview when using it. but absolutely no problem when using other kernel.

*sorry for my bad english
[LG Optimus Me P350] pax0r:
yes, I made some changes in kernel to work with open source libcopybit (instead of closed source one get from FroYo which I belive is used also on other mods). If you'll grab libcopybit from mine rom then mine kernel should work fine
[LG Optimus Me P350] f.riz:
may I know what lib file that should be replace with yours?

because I've tried to replace libcamera.so, libcamera_client.so, libcameraservice.so, but no success.

Is there a file missing? or I have to replace the wrong files.
[LG Optimus Me P350] pax0r:
as I wrote - libcopybit and probably also libgralloc, they are in lib/hw folder
[LG Optimus Me P350] f.riz:
Solved :D

thank you :)
[LG Optimus Me P350] vivekkalady:
I have booted ICS for Optimus ME.first the screen was distorted.fixed that with galloc file and some lib files.the touch screen is working with silver ring (touch screen without silver ring is also fixed but not working correctly).Now the problem is with GSM.baseband is unknown.I have used the lib files from your CM7 but still no sucess.I have seen this code in build.prob

rild.libargs=-d/dev/smd0
rild.libpath=/system/lib/libril-qc-1.so
ro.telephony.default_network=0
ro.telephony.call_ring.delay=0
ro.telephony.call_ring.multiple=false

rild.libpath=/system/lib/libhtc_ril.so
ro.ril.hsxpa=2
ro.ril.hsupa.category=12
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.ril.def.agps.mode=2
ro.ril.gprsclass=10
ro.telephony.default_network=0

both are working on some ROMs.can you please confirm the lib files of htc if it is correct?

And also can you please compile a lib file called libmemalloc.so in /system/lib folder so supporting the galloc.pecan.so file now I am using the galloc.msm7k.so file from different phone which cause some OpenEGL error in logcat.

Facebook ICS Doc file

please help
[LG Optimus Me P350] kD:
Paxor one guide needed to download your source

Hello sir,

I had seen many likes and talks about u. im new bee of andriod developement. nd i am having much error in downloading your sources of cm on lg optimus me p350. can please make picturial guide. brief instructions to set up . when i installed repo and tried repo init -u git://github.com/CyanogenMod/android.git -b gingerbread

It's having errors nd much more and everything and i want to compile my own too . but having probs on source.andriod.com i want ur soruce and i want to compile cm via sources plz help me

( i had sended you fb friend request also named as keyur maru plz accpet it )

Plz bro help me. I'll try my best to learn faster thanks in advance:D
[LG Optimus Me P350] pax0r:
hm mine guid SHOULD work without any problems and it is as much detailed as possible without copying anything wrote somewhere else (and if you want to learn then you need to google your problems ;P )

what are your errors during repo init? Did you try to search solution for this errors on google?

about FB - sry I decided to keep my FB only for mine real life :P
[LG Optimus Me P350] Ron G:
pax0r you said system is unstable in your .35 kernel. But if we try your .35 kernel in vivek ics rom. Because ics is nbb rom. If our luck is good then baseband problem will sloveout. What you say? Or i'm wrong
[LG Optimus Me P350] pax0r:
Stability in this case have nothing to the rom version, as it probably caused by drivers. But it won't hurt try, just mind the fact that it may not be suitable for daily use and need serious bug testing
[LG Optimus Me P350] pax0r:
also you guys may find this useful:

I found a total service manual for p350 with all schemats and description of the whole hardware of the phone:

http://depositfiles.com/files/v3tu5s7n7
[LG Optimus Me P350] Ron G:
pax0r i found your new multitoch kernel was wark with new baseband o1 roms. Not full work but it display baseband and gsm full work. Your old was not work with nbb roms allways phone stuck at kernel logo but in new kernel phone boot. this work because your new kernel source code is p500? Or it's diffrent from your old kernel
[LG Optimus Me P350] pax0r:
hm, you can track all changes to the .32 tree here

https://github.com/pax0r/pecan_kernel

but I dont think I changed somehting which could make some inpact on this, on the other hand I noticed some bugs with booting on CM7.2 with new kernel and I am investiageting it right now
[LG Optimus Me P350] Ron G:
pax0r know your github. I already added you in watchlist. And pax0r i faced booting bug on your cm7.2 but only when i use offline charging.
[LG Optimus Me P350] pax0r:
I also experiencing some kernel panics and after panics kernel also does not boot
[LG Optimus Me P350] Ron G:
pax0r i'm 3 days free in free time i'm thinking to compile your .35 kernel for ics to just it will fix baseband bug
[LG Optimus Me P350] Ron G:
pax0r i think again in your cm7 version have kernel panic problem from offline charging. Because many user face this problem from offline charge. For offline charging which files are you used. I mean it's from source or from p500. Because last month i tried p500 offline charging files but i faced this kernel panic problem.
[LG Optimus Me P350] pax0r:
I used the files from stock FroYo ROM from P350. Strange think is that in newest release I do not experience any bugs and I am using offline charging sometimes...
[LG Optimus Me P350] lt_skylight:
CM9?

Hey guys, whats up?

Well, i've been using pax0r's LG P350 since its release and i simply love it! Pax0r has made a very great job, well, anyway.

I was curious about Cyanogen9/ICS port for the P350, is it being developed? If yes, when can we expect to see a ROM with ICS launched?
[LG Optimus Me P350] Ron G:
no not now pax0r was busy in paid job. but if you want to test ics go o the this http://www.facebook.com/groups/1856...2988/?comment_id=204517676322928&notif_t=like

if you will find ported ics rom
[LG Optimus Me P350] lt_skylight:
Yeah, i understand, i'll wait for new updates of CM7.2 and, maybe in the future, CM9.

But, just asking, is anyone here trying to port CM9 to P350? I would like to try to port, but i don't know where to start. (Any help is very welcome)
[LG Optimus Me P350] Ron G:
i tried to build aosp ics rom from source for p350 but i found aosp ics was not work with p350 only cm9 work. If you want to port you can port p500 cm9 you can use my porting guide to port ics.:)
[LG Optimus Me P350] Ron G:
you will find link from my account but it's not big. Just look like other porting guide only i added some more file name to work with p350.
[LG Optimus Me P350] nerotNS:
But do we use the screen libs from the ICS made by vivek? (Because if i understood we have to use a rom made for our device and as far as i know thats the only one) If so wouldn't we have the same touch problem we have in viveks rom?
[LG Optimus Me P350] Zesters:
Hi pax0r how i can compile from sources cm7.2 in windows vista?? i can't?
[LG Optimus Me P350] pax0r:
In straight forward manner - no.

I heard it is possible using cygwin but I cant give you any support on this.
[LG Optimus Me P350] Ron G:
touch problem in vivek we can fix by idc under usr folder
[LG Optimus Me P350] nerotNS:
Why trouble your self with vista and cygwin just download wubi and install linux like any program then restart your computer and now you should have dual-boot vista and Ubuntu.Also i would upgrade to win7 if i were you :)
[LG Optimus Me P350] Zesters:
Wubi installed ;)

hell yea im using ubuntu 11.10 with wubi and works perfeclty now im compile cm7 from sources thanks a lot :)
[LG Optimus Me P350] pax0r:
Qualcomm posted ARMv6 binaries for Adreno200 for ICS ;)

https://developer.qualcomm.com/deve...phics-optimization-adreno/tools-and-resources

Now developing of ICS have sense as we should be able to get hardware acceleration :D
[LG Optimus Me P350] hesoyam27:
kernel guide plz

pax0r i download your kernel source as zip but now how to compile kernel can you guide me. I don't want to add anything in your source just want to compile kernel i hear that kernel need toolchain but i don't know witch and how to install this toolchain if you guide me then it wil5 be a best because you are only best kernel dev for p350. Plz guide me plz plz
[LG Optimus Me P350] Dong12:
Question

Is it suit for p350？2.3ROM？
[LG Optimus Me P350] Ron G:
yes 2.3 suit
[General Questions and Answers] mikosoft:
Hi guys,

Is there any way to enable the vibration when call is answered using WP7.5? I recently installed WP7.5 on HD2 and I miss this feature.

Appreciaiting any help,

Thanks,

Mark
[Galaxy Note GT-N7000 General] pinoypower:
Had anyone noticed this on their SGN? It pops up about twice an hour on mine. I had the Google data collection disabled when I set my phone up so I am not sure what's causing this. I never notice this on my previous android phones. I just hope it's not some rogue app trying to sneak out my infos....
[Galaxy Note GT-N7000 General] cd993:
Hi,

The only input I can give on this is that I too have noticed this only however upon a fresh install and don't seem to see if afterwards. I do disable certain system apps and so maybe the reason I don't see if is because I have disabled whatever is responsible for it or just coincidence.

I'm just about to flash a new rom, Rocket V17 to Cassies ExtraLite V6 and so I'll post if I see the same.
[Galaxy Note GT-N7000 General] pinoypower:
I noticed this with stock KKA, KL7, KL8 and now on LA1 as well....
[Galaxy Note GT-N7000 General] cd993:
I flashed Cassie's XtraLiteRom LA3 rom and haven't seen it yet, usually I have by now. All my apps have been restored too, so perhaps it was being shown by a system app that's been cleaned out from this rom. Not sure which one though if this is the case
[Galaxy Note GT-N7000 General] pinoypower:
Thats great, I think it's a system app. I hope somebody can help pin-point the culprit.
[Galaxy Note GT-N7000 General] cd993:
One way to find out the culprit would perhaps be by using LBE Privacy Guard, free on the market:

LBE Privacy Guard

Once installed on a rooted system, anything that wants to connect to the internet must seeks its permission first. Anything that seems suspect, deny access. Obviously be careful with what you are restricting though, but this should help...

I'd use this method myself but after flashing Cassie's I no longer have the "sending" popup.

Hope this helps!
[Galaxy Note GT-N7000 General] pinoypower:
Thanks mate, I'll give it a go.
[Galaxy Note GT-N7000 General] ChodTheWacko:
Another option is to install DROIDwall and check the log file to see what app is blocked.
[Galaxy Note GT-N7000 General] p51d007:
+1 on LBE!

First app that gets installed on my device when I wipe, install a new rom, or start up a brand new phone. Also has a side benefit, if the app doesn't need data access, to help block in app ads :D

Most apps have no business accessing my location, my sms app, contacts etc.
[Galaxy Note GT-N7000 General] pinoypower:
I have been running LBE for 2 days now, there's just one instance that the "Sending..." poped-up. LBE did not give a notification as to what app was trying to use data... :(