yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500, V General] darkmatthew:
How this possible?x10mini,gt540 can run but P500 no?!
[Optimus One, P500, V General] lipe082:
you already help a lot this is my first time im learning working with ubuntu like 2h ago i have others projects in mind for others devices i have and im using my old p500 to learn new stuff we got to start by somewhere lol ;)
[Optimus One, P500, V General] Rashed97:
Run what?

---------- Post added at 07:35 PM ---------- Previous post was at 07:33 PM ----------

:D Glad to hear that!
[Optimus One, P500, V General] Arjen:
Just someone who thinks p500 doesn't run cm10.

It boots on our phones, but it doesn't fully support it, just like the phones mentioned.
[Optimus One, P500, V General] Dovidhalevi:
Interested in Trying

What do I need to install on my Debian box to try this?

What else do I need to "know.?"
[Optimus One, P500, V General] DJNoXD:
For example, take a look at the cyanogen wiki.

Take care that there is no wiki specialy for our phone (the one linked above is for galaxy nexus).
[Optimus One, P500, V General] lipe082:
how can i bypass this error????

warning(rheostream.cc,404): cannot open directory "./gdk"

warning(rheostream.cc,405): hint: check RHEOPATH or -I options

warning(rheostream.cc,404): cannot open directory "./vendor"

warning(rheostream.cc,405): hint: check RHEOPATH or -I options

warning(rheostream.cc,404): cannot open directory "./sdk"

warning(rheostream.cc,405): hint: check RHEOPATH or -I options

warning(rheostream.cc,404): cannot open directory "./system"

warning(rheostream.cc,405): hint: check RHEOPATH or -I options

warning(rheostream.cc,404): cannot open directory "./bootable"

warning(rheostream.cc,405): hint: check RHEOPATH or -I options

warning(rheostream.cc,404): cannot open directory "."

warning(rheostream.cc,405): hint: check RHEOPATH or -I options

! load ""

fatal(branch.cc,63): input stream does not contains a branch
[Optimus One, P500, V General] Rashed97:
Have you setup the Android Build Environment yet?

If you haven't follow the instructions here: source.android.com

I'm sure you'll find it :P

But instead of using the Google repos use the CM ones I posted

---------- Post added at 04:51 PM ---------- Previous post was at 04:48 PM ----------

That is one weird thing. First its a string of warnings. The error is the last line. Try using repo sync -j16 again. Might fix it ;)

If not then post again and I'll investigate.
[Optimus One, P500, V General] lipe082:
already did that will try again.

edit: synced and now his doing something that is lg p500 specefied it must be skipped somehow....

---------- Post added at 09:58 PM ---------- Previous post was at 09:53 PM ----------

lipe@lipe-M720SR:~/working_directory$ repo sync -j16

Fetching projects: 100% (307/307), done.

lipe@lipe-M720SR:~/working_directory$ brunch p500

including vendor/cm/vendorsetup.sh

build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/p500/cm.mk]]: "device/*/p500/cm.mk" does not exist. Pare.

Device p500 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Found repository: android_device_lge_p500

Adding dependency: CyanogenMod/android_device_lge_p500 -> device/lge/p500

Syncing repository to retrieve project.

remote: Counting objects: 429, done.

remote: Compressing objects: 100% (268/268), done.

remote: Total 429 (delta 177), reused 352 (delta 115)

Receiving objects: 100% (429/429), 43.94 MiB | 1.19 MiB/s, done.

Resolving deltas: 100% (177/177), done.

From git://github.com/CyanogenMod/android_device_lge_p500

* [new branch] gb-release-7.2 -> github/gb-release-7.2

* [new branch] gingerbread -> github/gingerbread

Fetching projects: 100% (1/1), done.

error: revision jellybean in CyanogenMod/android_device_lge_p500 not found

Repository synced!

Looking for dependencies

Dependencies file not found, bailing out.

Done

build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/p500/cm.mk]]: "device/*/p500/cm.mk" does not exist. Pare.

** Don't have a product spec for: 'cm_p500'

** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast
[Optimus One, P500, V General] Rashed97:
That's an easy one :p

You have to do ". build/envsetup.sh" (with the dot) before you use brunch ;)

Also you have to put this file in the .repo folder in your working_directory: local_manifest.xml

It didn't get it so it downloaded the GB sources :) Which are incompatible with our JB sources :)
[Optimus One, P500, V General] lipe082:
with that manifest it start the all sync again....

i will tell you something in a little bit...

but usyng your tip how it is synced i steel get this error wiil start sync from begining

lipe@lipe-M720SR:~/working_directory$ . build/envsetup.sh

including device/generic/armv7-a-neon/vendorsetup.sh

including device/generic/armv7-a/vendorsetup.sh

including device/lge/p500/vendorsetup.sh

including device/ti/panda/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including sdk/bash_completion/adb.bash

lipe@lipe-M720SR:~/working_directory$ brunch p500

including vendor/cm/vendorsetup.sh

build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/p500/cm.mk]]: "device/lge/msm7x27-common/device.mk" does not exist. Pare.

Device p500 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Found repository: android_device_lge_p500

Adding dependency: CyanogenMod/android_device_lge_p500 -> device/lge/p500

Syncing repository to retrieve project.

Repository synced!

Looking for dependencies

Dependencies file not found, bailing out.

Done

build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/p500/cm.mk]]: "device/lge/msm7x27-common/device.mk" does not exist. Pare.

** Don't have a product spec for: 'cm_p500'

** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

---------- Post added at 10:34 PM ---------- Previous post was at 10:21 PM ----------

starting again already give a fatal error

repo initialized in /home/lipe/working_directory

lipe@lipe-M720SR:~/working_directory$ repo sync -j16

Fetching projects: 64% (201/314) fatal: The remote end hung up unexpectedly

remote: Counting objects: 1682599, done.

but before it synced total in this line ::: Fetching projects: 64% (201/314)
[Optimus One, P500, V General] Rashed97:
You have to use that manifest I linked. It contains all the repo's you need for building.

It only seems to be syncing all over again, but it's only getting the needed repos from our github

It has already downloaded the CM7 sources for the P500 do here's what you have to do:

Go to working_directory/device/lge

Delete the p500 folder

Put that local_manifest.xml in working_directory/.repo

Use repo sync -j16

After its done, go to working_directory/vendor/cm

Run the get-prebuilts script

After that's done, run . build/envsetup.sh (with the dot, it's very important ;) )

Run brunch p500

It should take about 2 hours with a 4 core 6GB ram PC or about 6 hours with a 1 core 3GB PC ;)

Tell me if you still need any help!
[Optimus One, P500, V General] lipe082:
i start doing this

Put that local_manifest.xml in working_directory/.repo

Use repo sync -j16

and his syncing i will let it finish and if not work will follow the steps from begining

i have a 2 core 3gb takes 3 to 4h,yesterday i start learning but i use wubi to install ubuntu and the system kind break it or something while syncing in the evening, but today i install in another disc partion with 100gb and take that thime this afternoonto sync but thanks a lot i was able to fix some errors i encounter before start posting but its my first time with linux complety noob but i will get ther.... thanks..

---------- Post added at 11:07 PM ---------- Previous post was at 10:53 PM ----------

im already getting their well almost ;)

Checking build tools versions...

************************************************************

You are attempting to build with an unsupported version

of java.

Your version is: java version "1.6.0_24".

The correct version is: Java SE 1.6.

Please follow the machine setup instructions at

https://source.android.com/source/download.html

************************************************************

external/v8/Android.mk:22: WARNING: Building on ARM with non-ARMv7 variant. On ARM, V8 is well tested only on ARMv7.
[Optimus One, P500, V General] Rashed97:
Perfect :D

Ignore that Java crap. Google is behind :p

And that ARMv7 warning is typical :D

And keep asking questions! I enjoy this :)
[Optimus One, P500, V General] lipe082:
now its building ;) will ask for sure....
[Optimus One, P500, V General] Rashed97:
;) Yay!

Can I ask a favor?

When it's done can you send me the recovery.img in working_directory/out/target/p500?

It's a nice CWM 6.0.1.0 for the P500. I want to complete my set of them. I've got one for the P505 and the P506 as well :)
[Optimus One, P500, V General] lipe082:
of course ;)
[Optimus One, P500, V General] Rashed97:
Thanks!!
[Optimus One, P500, V General] xu3sno:
@Rashed97

@Lipe082

Waiting for the results of your great works for building JB on p500. :good:
[Optimus One, P500, V General] Rashed97:
Lipe082 is building not me ;)

I might build this week though. Almost got the camera I think ;)
[Optimus One, P500, V General] xu3sno:
Wow, thanks!. I'm expecting you both integrate in the kernel (?) USB modem serial module, hence Linux machine (mine is Slackware-13.37) can detect the device running JB as USB modem (not USB tethering) as it's happened with GB (2.3.3). This feature was missing in all ROM (ICS and JB) I have ever flashed it on my p500. :confused:
[Optimus One, P500, V General] lipe082:
Something went wrong my pc just reboots by it self when building and if i start build it always hang in some libastragefiht or something will try again in the afternoon but it already have the recovery for you will upload in the afternoon...

Xusno im just building for learning propuses because i want to put JB in my tablet dont count i fix or had stuff to our phone arjen already said someome is almost ready to release for us we have to wait:)
[Optimus One, P500, V General] xu3sno:
Okay. I understand what're you doing now. Thanks anyway!
[Optimus One, P500, V General] lipe082:
Sorry i cant do what i dont now im also waiting all the p500 forum is waiting for their release.
[Optimus One, P500, V General] Dovidhalevi:
Tried, Times Out

The repo command keeps timing out!

Please give me the github link for the CM ones.
[Optimus One, P500, V General] lipe082:
my build didnt leave a zip it ends with some error...it ends like this.....

Install system fs image: out/target/product/p500/system.img

out/target/product/p500/system.img+out/target/product/p500/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=203292672 blocksize=135168 total=210229821 reserve=2162688

error: out/target/product/p500/system.img+out/target/product/p500/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p too large (210229821 > [205455360 - 2162688])

make: ** [out/target/product/p500/system.img] Erro 1

make: *** A apagar ficheiro `out/target/product/p500/system.img
[Optimus One, P500, V General] Raffy 97:
Some1 can helps me? I have no space some1 knows trick to have more free space????

This is my situation:

raffy@ubuntu:~/WORKING_DIRECTORY$ df

File system 1K-blocchi Usati Disponib. Uso% Montato su

/dev/loop0 30381976 27510172 1348912 96% /

udev 1913560 4 1913556 1% /dev

tmpfs 768944 876 768068 1% /run

none 5120 0 5120 0% /run/lock

none 1922360 284 1922076 1% /run/shm

/dev/sda2 292006908 101735136 190271772 35% /host
[Optimus One, P500, V General] Goldian:
I'm a really noob but I would suggest to erase some app. Users can install them further. There are some builds and maybe you can take a look on them, to see what they cut away.
[Optimus One, P500, V General] Dovidhalevi:
Where do you have no space?? This looks like your desktop.

If you are talking about the phone, post output adb shell df.
[Optimus One, P500, V General] lupohirp:
you must change partitition sizes in boardconfig. howewer i've uploaded on my github a new update with wifi fixed.i willpost updates and sources from here
[Optimus One, P500, V General] Arjen:
For the values, check device source for p505 at our github.

With those values you can build a working zip ;)
[Optimus One, P500, V General] lipe082:
thanks lupo and arjen it worked like a charm ;)
[Optimus One, P500, V General] Rashed97:
Ah well I guess I'm a tad late :p
[Optimus One, P500, V General] lipe082:
dont worry you will have more questions for me...... ;)
[Optimus One, P500, V General] Raffy 97:
Thanks:) resolved i've resi ed Wubi partiti on:) now I've Ubuntu with 60 GB:)

Inviato dal mio LG-P500 con Tapatalk 2
[Optimus One, P500, V General] williamcharles:
Lupohirp meant the nand partition...:rolleyes:
[Optimus One, P500, V General] Raffy 97:
I know ;)

Inviato dal mio LG-P500 con Tapatalk 2
[Optimus One, P500, V General] Dovidhalevi:
Discussion on Google Now for ICS Thread

There is real progress on using Google Now on ICS. Getting /system/usr/src/srec (problem is here, not in any system/lib) on our phone is a problem. How it gets solved will point the way for packaging CM10.

I am using symlinks to the SD EXT. This should work but has not as of yet succeeded. (Symlinks to the sdcard (VFAT) should also be workable but attempts to list the contents seemed to fail.) Doing all this manually is OK for experimentation (backup old stuff first, of course), but will need some sorting of scripting, possibly interactive, on flashing CM10. So stay tuned and think about how to accomplish this.

It is possible to change a lot of socalled system apps which have nothing to do with getting the system up to user apps and link2sd them. This might not free enough system space for all that voice stuff (which will include language packs later on!), but will make surgery much easier. Yay--I have 20meg on /system! Email, Messaging, Browser, Android-Keyboard, others can be safely moved (and if there be any problems, moved back to system apps)--link2sd does the job! Could they be ROMed as such?
[Optimus One, P500, V General] lipe082:
Now thate i have a working_directory in my home folder if i want to build other android version for p500 should make others working_xxxxx folder and start the syncs all over???

And for diferent devices should i make others folders as well or it can all stay in the folder i already have?
[Optimus One, P500, V General] :
Have you came across any problems with cm10
[Optimus One, P500, V General] CheeseTea:
See the first post... haha.

Anyway, I'm really excited to see the result of this. @adfad666 I know the ROM isn't completely functional, but is performance on CM10 any better than on CM9 thanks to Google's "Project Butter"?
[Optimus One, P500, V General] Oathkeeper1212:
Thanks Adfad, I'll mess around with it a bit.

EDIT: You uploaded a cm9 build just fyi.
[Optimus One, P500, V General] u.bindal:
How is the radio working on cm 10..?

cm team never merged it into cm9..!!
[Optimus One, P500, V General] emanuelediba:
Great ! Thanks !
[Optimus One, P500, V General] RockR172:
Radio here doesnt mean FM Radio... rofl..

It means RIL is working... or in your terms, the GSM...
[Optimus One, P500, V General] Curiousn00b:
I was wondering. CM10, just came out. Have they merged their basic CM9 settings?

Also, does it feel smooth to you?

PS: Jeez. Kinda wishing i still has my Optimus T. Awesome job Adfad~
[Optimus One, P500, V General] adfad666:
Oops link updated :rolleyes:
[Optimus One, P500, V General] Oathkeeper1212:
Thanks, gonna mess around now ;)
[Optimus One, P500, V General] neko95:
> so the earlier link before was adfads unofficial cm9 version?
[Optimus One, P500, V General] xu3sno:
Okay. Downloading it. Thanks. You and Hephappy are really great developers!
[Optimus One, P500, V General] u.bindal:
@hephappy, adfad,

as the first release of Jellybean is out, i think now you guys can shift this to Android Development from the General thread...

I know lot more things are left but still.. :p
[Optimus One, P500, V General] Oathkeeper1212:
Yeah, he just uploaded the wrong file, haha.
[Optimus One, P500, V General] Arjen:
Adam, I'm still stuck at audio_hw_hal.cpp, how did you solve that?
[Optimus One, P500, V General] dwnR nz:
I flashed a random JB gapps I found while googling and it appears to be working although I can't say for sure as i've only used it for a little bit. Although it causes the launcher to Force Close once every boot, everything synced properly and i've checked the Play Store and Gmail so far.

I found it on the link below (can't post it as a proper link as I have <10 posts):

theandroidsoul.com/unofficially-update-motorola-xoom-jelly-bean-latest-android-version-4-1-1-guide/

EDIT: It also appears that Maps and Navigation work and from that GPS also appears to work.
[Optimus One, P500, V General] Dovidhalevi:
That Old Baseband Bugaboo

The link, the link, pooleeez--one more with that over-excited urge to try it!

One question--still having the old baseband: Will the old baseband fix still work with this?
[Optimus One, P500, V General] neoprint:
Thanks.

Oh wait, I mean chur bae tumeki Taranaki hardcore
[Optimus One, P500, V General] darkmatthew:
this is unofficial cm ?
[Optimus One, P500, V General] adfad666:
the Gapps i downloaded has google now and the new speech recognition engine in it, which almost doubles the size of Gapps. to be able to use it we'll probably need to resize our /system and /data partitions and depend on link2sd a lot more.

I don't know how to do that, but i'll look into it, has anyone tried it before?
[Optimus One, P500, V General] u.bindal:
No, it's official... Cyanogenmod team is very nice, they gave is Official CM 10 because we didn't get official cm9.... :D :D
[Optimus One, P500, V General] Rashed97:
For other versions of android, you will need different folders.

As for other devices you can use the same working_directory folder

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

Technically we can resize the system partition in the bootloader, but it would make the userdata partition smaller

As for Google Now on our devices, I have a working APK if you want it. The cards work, just not the voice search. On my latest P506 CM10 ROM, it just wont detect any talking ;)
[Optimus One, P500, V General] anthonycr:
Have you tried deleting the voice search app and installing it from the play store? That's how we get it to work on ICS for the Optimus V.

Oh... and I just saw someone post this... ask Google Now (or Google search if you don't have Now) "what is really good"
[Optimus One, P500, V General] Rashed97:
Hm, no. But I just tried a Voice Search for Google Now APK, and same issue. I'm starting to think that the voice recognition libraries and files aren't in my CM10 ROMs....

Haha, will try as soon as it works ;)
[Optimus One, P500, V General] xu3sno:
Just flashed p500 with your updated rom from your github. Yes, wifi is fixed, but red color banding in home screen and during moving the drawer persist!. Thanks anyway.
[Optimus One, P500, V General] Rashed97:
I could build a P500 ROM from the P505/P506 modified CM libraries I'm using if you want. It's almost perfect, just the camera and a few minor glitches ;)
[Optimus One, P500, V General] -pgs-:
Google Now works with voice!

That's strange because I've got the same "Voice Search for Google Now apk" and it works on my CM9!

I flashed in recovery Google Now v.5 from this thread: http://xdaforums.com/showthread.php?t=1782093, then installed Voice Search for Google Now.apk

So, when you launch your Google Now app, you don't need to tap the microphone icon. The trick is that you should tap&hold for a bit your hardware "search" button, and wait until it allows you to speak.

Then your text will be put down into the search form.
[Optimus One, P500, V General] Raffy 97:
Someone can help me???

Construct patches for 3 chunks...

patch 0 is 211 bytes (of 2349066)

patch 1 is 1386344 bytes (of 338875)

patch 2 is 153 bytes (of 1083)

chunk 0: normal ( 0, 2349066) 211

chunk 1: deflate ( 2349066, 1982157) 1386344 (null)

chunk 2: normal ( 4331223, 297) 153

Install system fs image: out/target/product/p500/system.img

out/target/product/p500/system.img+out/target/product/p500/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=203292672 blocksize=135168 total=210229848 reserve=2162688

error: out/target/product/p500/system.img+out/target/product/p500/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p too large (210229848 > [205455360 - 2162688])

make: *** [out/target/product/p500/system.img] Errore 1

make: *** Eliminazione del file "out/target/product/p500/system.img"

raffy@ubuntu:~/WORKING_DIRECTORY$
[Optimus One, P500, V General] :
Add this line to p500/BoardConfig.mk. This line says to the build system "We have 204MB system partition". But, if the rom size exceeds 190MB, installation will be aborted.

BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0cc00000

I recommend delete wallpapers from launcher or dictionaries from vendor/cm/overlay/dictionaries.
[Optimus One, P500, V General] xu3sno:
Yes, with pleasure!. Thanks for your kindness. :good: Will you upload it on your thread when it's built?
[Optimus One, P500, V General] lipe082:
I can share the build i made yesterday its already in mediafire but one of the devs have to give their consent because its they work excelente job boot animation is awesome turning phone in aeroplane mode causes a reboot and camera cant conect,battery comparing with ics is almost the same almost....
[Optimus One, P500, V General] Dovidhalevi:
All those re-sizes rob Peter to pay Paul. ad-card solutions are needed for our phone.

Look at the thread. We are discussing using jelly bean voice stuff, not the work around.
[Optimus One, P500, V General] lipe082:
First we need JB gapps reduced to only the minimal possible to have Google services so we can actualy see the free space in system so devs can do something, isnt possible the rom while flashing send apps and other stuff to sdext that would be useful bit data its convenient stay in rom so it wont lag...
[Optimus One, P500, V General] :
Don't share your builds. IMO, everyone should elaborate on own buildings.

Lazer, Raffy 97, and lipe build own roms, so other users can do it.

I want to see here, everyone is to be a dev candidate.

Users must learn installing ubuntu and packages. Then building android.

After that, how to solve bugs, learning c, java... fixing bugs... etc,

If they still think that these steps are very easy, then go on and improve yourself...
[Optimus One, P500, V General] lipe082:
Thats what i need to now i want to put cm10 in my tablet that have cm9 so you advise to learn C or C++ first?
[Optimus One, P500, V General] abhijay.jagini:
Is there a updated release for jelly bean for our phone.

There was a page on in the dev section but got taken down. What happeded?
[Optimus One, P500, V General] lipe082:
you shouldnt be like that you are the idiot here not hep will report you..

es mesmo forget it.
[Optimus One, P500, V General] Lipe_Teodoro:
MOD EDIT:

Please do only post in English.
[Optimus One, P500, V General] Raffy 97:
Yeah that I am :) infact i will learn :)

Where I can Found Guide or Documents for learn how to fix bugs?
[Optimus One, P500, V General] lipe082:
to start learning c++ i think we can start by here, http://www.cplusplus.com/doc/tutorial/

to fix bugs we need to now wich files to change and also how to get logcats they are our best friends in development.
[Optimus One, P500, V General] Raffy 97:
I know how to get logcats :) I don't know how to use it :)
[Optimus One, P500, V General] AleNonsense:
No one here said that developing is easy, maybe u have misunderstood something. U are a little bit annoying (i respect ur choise about ur CM9 release and i love the great afford u gave to all of us) but lately u are only saying that everyone have to build is owm rom and that we think that developing is easy and so on. Stop it please, u just look like a kid when u was appreciated until some days ago. Take ur time and find ur inner peace, it will be useful for u.