yashsingh1/xdaforums huggingface dataset:
[Sprint LG Optimus G] BMP7777:
Quick on the draw! I was JUST about to post that very thing

Check it out! : http://www.xda-developers.com/android/android-4-3-leaked-for-the-google-nexus-4/

Anybody with the cajones can give this one a shot. BE CAREFUL! Other devs (like VeNuM for one) put their devices on the chopping block trying to get this going. Now, that was trying to port over the 4.3 from a Samsung device; this may be a bit easier being from Mako. Then again, it may not, Take caution!

You know, it is also worth mentioning that although many(most) custom builds seem and theoretically ARE the same, the reason so many people build so many different variants is due to the inescapable fact that it seems impossible to get every single extra and add-on in ONE SINGLE ROM. Many have gotten close but never all the way there. Not to mention facts like, some like certain things and not others. For example, I love many of the features of PA, but not the way it is set up. I don't like my extras and additions being hardwired into the ROM, without ways to disable anything I want, whenever I want. That's why I don't use it and haven't tried to build it. That's me. Others will feel differently. So, in my mind, I see no reason why anyone shouldn't try to build anything they want to. Just because it (whatever IT may be) isn't my or your bag, doesn't mean it won't be considered perfect for someone else. SO, BUILD AWAY! I am pleased to see the development continuing to expand around here. Let's keep it up!
[Sprint LG Optimus G] BMP7777:
If anybody's feeling squirrely, I could use some tips on building Slim. How to build for an unsupported device? I know how to add into envsetup.sh; what else? Different builds use slightly different methods, and although I have built Slim before, it was supported so I'm unsure.
[Sprint LG Optimus G] xboxfanj:
Should just need to add us to vendorsetup (might be what you meant by envsetup) and change cm to slim in the mk in device. Let me know if that fails and I can help ya.
[Sprint LG Optimus G] hazedabeast:
Did you do androidproducts.mk?
[Sprint LG Optimus G] BMP7777:
Thanks guys. Yeah, you're right Jake, I screwed the pooch on the envsetup. Was talking to one of my many children and looking at a set of files. I'll try both as soon as I get home. :highfive:
[Sprint LG Optimus G] spleef:
is this the sourcery you are wanting built? if so after tonights updates going to be taking a crack at it

https://github.com/TeamSourcery/platform_manifest
[Sprint LG Optimus G] BMP7777:
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.

Your version is: java version "1.6.0_27".
The correct version is: Java SE 1.6.

Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************
************************************************************
You are attempting to build with the incorrect version
of javac.

Your version is: javac 1.7.0_25.
The correct version is: 1.6.

Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************
build/core/main.mk:155: *** stop. Stop.
bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/slim$

This is a new one. Anyone know how to deal with 2 javas?
[Sprint LG Optimus G] spleef:
You need to make one the default, once I get to PC I'll drop the link I know of that has commands to make one default allowing to have two Java

This might help you I'm still looking for the default Java link though give me just a few more minutes...

http://stackoverflow.com/questions/13015899/android-build-error-due-to-incorrect-java-version
[Sprint LG Optimus G] spleef:
must have removed the bookmark cause i cant find it clicked on almost all i had saved but from what i can tell like x said remove the wrong one would be easiest way to go ...also would probable go from open java to oracle
[Sprint LG Optimus G] xboxfanj:
http://xdaforums.com/showpost.php?p=26957072&postcount=4
[Sprint LG Optimus G] BMP7777:
Even after I specifically picked 6, it still failed out the same way. And building JB doesn't throw flags like this, so what gives? Is there some setting I need to disable?
[Sprint LG Optimus G] xboxfanj:
sudo apt-get purge the java7 package.
[Sprint LG Optimus G] spleef:
Well synced sourcery left me with 8 GB won't let Me build, synced xylon same issue, synced PAC same thing lack of disk space have 33gb before syncing so unless I redo my partitions I'm stick only being able to build two without deleting/compressing entire directory... So sorry but unless something pops off for me am at my limit... was really going to have one more but guess two is enough...
[Sprint LG Optimus G] droidmk:
This is exactly why I made a stock ROM and tried to get close to AOSP, I really liked the lockscreen. Also, I hate FCs. :p

Anyway, I'm trying to port/make a Sony Xperia Z ROM next, so far with the porting I've gotten it to boot, but it boot-loops.
[Sprint LG Optimus G] AdhvanIt:
This very well may be a retard noob question.

I've never built from source, so here goes...

During sync, I'm running into some errors. Such as:

fatal: missing blob object '62a26f798b830610cda3fb85f7293e15ff69ad85'79761), 143.60 MiB | 217 KiB/s
error: /home/adhvanit/Projects/ChaOS/.repo/projects/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6.git/clone.bundle did not send all necessary objects

error: failed to read delta base object 7e601221efedd0974ec851080a6a56cc00ffb44d at offset 27492952 from /home/adhvanit/Projects/ChaOS/.repo/projects/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6.git/objects/pack/pack-d5e9c577b5eda77dc7cd750b1adffe710b276027.pack
error: failed to read object 87eb12a786e90144526ba323ad0e42f8ab1041a7 at offset 33279224 from /home/adhvanit/Projects/ChaOS/.repo/projects/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6.git/objects/pack/pack-d5e9c577b5eda77dc7cd750b1adffe710b276027.pack
fatal: packed object 87eb12a786e90144526ba323ad0e42f8ab1041a7 (stored in /home/adhvanit/Projects/ChaOS/.repo/projects/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6.git/objects/pack/pack-d5e9c577b5eda77dc7cd750b1adffe710b276027.pack) is corrupt
fatal: index-pack failed

So I downloaded the prebuilts in tarball form. Now here's where I get a little fuzzy. The location that contains the prebuilts - /home/adhvanit/Projects/ChaOS/.repo/projects/prebuilts/ - does not contain the same folders or files as the ones I've downloaded from here.

Oh yeah, then it fails here:

Receiving objects: 100% (700164/700164), 1.03 GiB | 2.27 MiB/s, done.
fatal: serious inflate inconsistency5) 20 GiB | 4.35 MiB/s
fatal: index-pack failed
remote: Counting objects: 700164, done.
remote: Compressing objects: 100% (202292/202292), done.
remote: Total 20806 (delta 13609), reused 20652 (delta 13518)
Receiving objects: 100% (20806/20806), 1.87 GiB | 2.27 MiB/s, done.
fatal: serious inflate inconsistency ), 550.41 MiB | 3.07 MiB/s
fatal: index-pack failed
remote: Counting objects: 20806, done.
remote: Compressing objects: 100% (6355/6355), done.
remote: Total 700164 (delta 430315), reused 699733 (delta 429972)
Receiving objects: 100% (700164/700164), 1.03 GiB | 1.54 MiB/s, done.
error: inflate: data stream error (incorrect data check)iB/s
fatal: serious inflate inconsistency
fatal: index-pack failed
error: Cannot fetch ChameleonOS/android_frameworks_base MiB/s
remote: Total 20806 (delta 13609), reused 20652 (delta 13518)
Receiving objects: 100% (20806/20806), 1.87 GiB | 4.55 MiB/s, done.
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: index-pack failed
error: Cannot fetch ChameleonOS/android_prebuilt

error: Exited sync due to fetch errors

Any ideas?
[Sprint LG Optimus G] VoluntaryMan:
Are you on a desktop? I have a spare 320gb laptop drive I could mail to you and then you'd have space for a bunch more Roms.

PM me if you want it.
[Sprint LG Optimus G] spleef:
that would be awesome im on a hp omni100 pc (is a desktop pc where everything is inside the monitor.. no tower...my kids destroyed my vaio tower so we went with a towerless pc this time...almost bought the touch-screen but seeing how the handle my other touch devices we opted out)) is really not made for doing what i do but is the family computer so i have it dual booting windows and mint so thats where my lack of space comes ffrom..had to allot more for them than me... been trying to free up space but it just isnt enough.... idk if the drive would work with what i have... but if you think it will and are serious ill pm you with my address...

question folks im trying to build liquid smooth but there is no vendor/liquid/products.... usually there is one... anyone run across a source they synced like this? how should i go about adding my info in if there is no place to do it

Not to jinx it cause it's been building for about 30min or so now but I think I figured it out If successful I'll do another write up and send it to you to add to the tuts would imagine that this is not the only ROM that is set up like this one is to build... crossing fingers....

So was a great success will send you my write up tomorrow new thread located in android original development section
[Sprint LG Optimus G] BMP7777:
I'm having a similar problem. I run a 1TB drive and have it broken down into around 750 for Windows 7 and 250 or so for my Luninux.I have 3 builds going full steam and it leaves me with about 40GB for a fourth. NOT QUITE ENOUGH. But, I'm trying to re-partition some space for a fourth build(what am I, nuts?).

Speaking of partitions, I have been having an issue with partitions on my phone which have been causing my bootloop issues with new ROMs. I want to use my thread to discuss and solve this and any other relevant device issues, effectively changing this thread from just a build how-to, to an all-around how-to. I plan to rename it as well, any thoughts? More later as I have time to lay it all out. Open to suggestions as well. What would all devs and users like to see out of an all-around help thread?
[Sprint LG Optimus G] BMP7777:
Here is some of what I'm talking about. I know that some of our collective hiccups occur due to what I call the 'zero effect'. When you use TWRP(I don't know anyone on this device who utilizes CWM), you end up with a re-partitioning of your device, with a 0 folder holding what seems like a mirror of your internal files. OK, most of us have dealt with that and learned to work with it. But, why do we get MORE? For example, I have internal files under data/media at root, and /media has a 0 folder there too. Then, you have /sdcard in root, that also has a 0 folder, and a legacy folder. To top it off, there is a 0 folder in /storage too? WTF? I think I had as many as four 0 folders in my system this morning before I finally had enough, and did a full factory reset. I can imagine that this is where my issues backing up and rebooting were coming form. My questions are:

Why is this causing bootloops from otherwise fully functional ROMs and back ups?

What is the root cause of more '0's adding themselves to the system files? Does it have to do with the updating of TWRP? I have gone from 2.4.4 to 2.5 and 2.6. No issues with the functions, but can't be sure after that.

Dumped my entire phone, but still have saved back ups and data under /sdcard, /storage/0, /storage/emulated/0, /storage/emulated/legacy, /storage/sdcard0, .......this is ridiculous! /data/media is clean, but has back ups under TWRP. Not to mention that /data/media has a f****** 0 folder in it, and IT HAS BACK UPS! This is purely insane!! Does anyone else have this many folders for internal data?

So, basically nothing gets reset from this deep, and I can delete folders here and there and everywhere without anything getting resolved......

SOOOOooooooo, after resetting the whole system and beginning fresh(yeah,right), I now have, in order from root:

data/media with newly saved files in 0

/sdcard with newly saved files

/storage/emulated/0 with newly saved files

/storage/emulated/legacy with newly saved files

/storage/sdcard0 with newly saved files

Another thing I am noticing is that the further 'inside' you go, the less space you have left in the system, or at least it seemed that way.....

From /storage I have 935.84mb of space left

From /sdcard I have 18.23gb of space left

From /data/media I have 18.23gb left

And from /data/media/0 I have 18.23gb left

Where to go from here. I still am no closer to understanding how or why this works this way and why it is causing me hassles. I will try a fresh install of another ROM and try to reboot/back up and see what happens.....
[Sprint LG Optimus G] VoluntaryMan:
I've given up for the time being on ParanoidAndroid but I'm now seeing if I can get Xylon to compile.
[Sprint LG Optimus G] spleef:
awesome.. i feel ya on pa... the add and remove files throw me.....xylon i had going but ran out of room quit building in the middle of it locking my computer up...lol.....so give a shout if you get stuck...my talk/hangouts: spleef79@gmail.com
[Sprint LG Optimus G] Dmaxx67:
Any suggestions on how to start learning Java? Side note have two kids and full-time job. Don't want easy way out but maybe something ya have done being in a similar scenario.
[Sprint LG Optimus G] AdhvanIt:
On the size differences.

/data/media = "sdcard" (internal storage)

/data/media/0 = AOSP 4.2.2 version of "sdcard" (internal storage)

/sdcard = symlink to /data/media or /data/media/0 (kernel dependent)

/storage/sdcard0 = symlink to /data/media

These three are all actually your /data/media, not a separate partition like EMMC used to be on older devices. This seems to be the norm on all of the devices that have no external SD. It's not actually TWRP that's creating these additional folders. It's the AOSP kernel (note that if you start 100% fresh on a stock ROM, and flash any other stock based ROM, you'll not see these additional /0 folders). Once flashing an AOSP ROM, and before booting, run ls of your /system and /sdcard partitions in a shell. You'll see no /0 folders. The moment you reboot and pass the bootsplash, that /0 folder is created (If you run df from your root filesystem while in recovery, it won't show a storage partition, because it's not actually a measured partition, just a symlink).

Your stock backups will be in /data/media, and you'll need to move them to /data/media/0 if you're trying to run nand restore while running an AOSP based ROM. As I understand it, this is because new versions of TWRP actually use the systems kernel instead of being packed with their own. This is why when flashing back to a stock ROM, you get /data/media as the default storage location again instead of /data/media/0 (including while in recovery).

TL;DR: If you stop using AOSP ROMs (but let's be real here, who's actually going to do that?), you won't have your storage woes...

Is that about as clear as mud? I'm not always great at explaining things, but it came out making sense in my head. Lol.
[Sprint LG Optimus G] sharkboy0901:
http://www.codecademy.com/

This does wonders for beginners trying to learn code.
[Sprint LG Optimus G] BMP7777:
Thanks man, your explanation was great. But, I'm trying to figure out why this configuration gives me issues with backing up and/or rebooting ROMs, most often between my BS and JB ROMs. I have performed a total wipe of my system and still had TWRP files in place. I had no trouble installing BS and backing up. But, after switching to JB, I couldn't reboot after backing up without a loop. I have been going through this for a while now and it is EXTREMELY frustrating. Any thoughts on that? Also, it seems like these extra partitions mirror each other, but also use twice the space as well. Is there nothing that can be done about that? (already know the answer to that one, I'm sure) :eek:
[Sprint LG Optimus G] Dmaxx67:
appreciate the site gonna check this out
[Sprint LG Optimus G] BMP7777:
More is coming; steps on building JellyBeer, Liqiud and more as soon as I can make the time. If you are successful in building a ROM, kernel, or MOD not listed here, please share your steps so everyone can learn. Be cool
[Sprint LG Optimus G] BMP7777:
Who's got 600 bucks? This is SO BADASS >>> http://hothardware.com/News/Canonic...tphone-Through-32-Million-Indiegogo-Campaign/

Ooops. Now, it's 830.....

http://www.indiegogo.com/projects/ubuntu-edge​
[Sprint LG Optimus G] VoluntaryMan:
Isn't it $830 starting today? I was considering backing it but it doesn't have 802.11ac and I should be done upgrading all my stuff to ac by then.
[Sprint LG Optimus G] BMP7777:
You are right; didn't realize that was a one day only deal. Still sweet. If I had that kind of cash laying around, I would definitely get in. What if it doesn't fund? Do they return everyone's money?
[Sprint LG Optimus G] VoluntaryMan:
Yes. Indiegogo has two types of funding. "Fixed Funding," as seen to the right side of the Ubuntu Edge page, means that if a goal is not met, money is returned. "Flexible Funding," on the other hand, means that the project keeps the collected funds.
[Sprint LG Optimus G] hazedabeast:
Dam!!!!!!!! That's a computer right there!
[Sprint LG Optimus G] VoluntaryMan:
I know this is off topic but 4.3, AHHH!!
[Sprint LG Optimus G] spleef:
I think n4 ota started rolling out today noticed some reports in their forum... Also their binaries are available Atty the developers.Google site
[Sprint LG Optimus G] 2nd Sky:
Yes, for nx 4 7 10 rolling out since today said google :/

Cm10.2 ? :)

Gesendet von meinem LG-E975 mit Tapatalk 2
[Sprint LG Optimus G] rustyjay:
I have a question, what and where exactly is the device tree and dependancies for this device? Been trying to search myself unsuccessfully.

Got some old ns4g friends around these parts and thought I would try to make Rasbeanjelly for em. Rascarlo works quick, and I am sure he is hard at work on 4.3.

So I have 4.2.2 Rasbeanjelly sources already on my computer, is it possible build aosp for your device? I do for my mako all the time, and used to for ns4g when got dropped from aosp. I just need to find if possible and where device tree, kernel souces and vendor blobs are located.

Any help would be grealy appreciated, thanks.
[Sprint LG Optimus G] spleef:
Go to github search teamlgog our device is geehrc4g_spr_us use that device tree
[Sprint LG Optimus G] BMP7777:
Just gonna say the same thing. Thanks :good:
[Sprint LG Optimus G] spleef:
Illusion is now available built from sources I'll provide a tut for it tomorrow...
[Sprint LG Optimus G] Dmaxx67:
Thanks again for the Codeacademy suggestion. Any other suggestions to get deeper into Android specifically?
[Sprint LG Optimus G] BMP7777:
Check these out:

http://www.xda-developers.com/android/want-to-learn-how-to-program-for-android-start-here/

http://developer.android.com/training/index.html

Also, look in Post #3 on the first page....

One more thing......I gotta say it: Google is your friend!

As is also in the OP, I reserve the right to screw with you a little for silly questions. Nothing personal.......:angel:
[Sprint LG Optimus G] BMP7777:
A friend of mine posted this today, so I thought I'd spread the word :

https://plus.google.com/u/0/+Cyanoge...ts/LSAVHjevZSp
[Sprint LG Optimus G] Dmaxx67:
Yea I was waiting on a response like that but

I like suggestions from people like ya that have started where I am coming from not some kid that looked at whatever for 30 min and put it in his blog.
[Sprint LG Optimus G] spleef:
have run into a new error heres pastebin link if anyone has any insight would be fantastic

http://pastebin.com/QBXVvRtj
[Sprint LG Optimus G] AdhvanIt:
symbol : method getLteSignalStrenght()
location: class android.telephony.SignalStrength

Looks like there's a spelling error in that method. Fix that and you should be good to go.

It's here:

frameworks/base/telephony/java/android/telephony/SignalStrength.java
[Sprint LG Optimus G] spleef:
crap wish i wouldve read that sooner...lol i went to their github and seen its a new commit they added so i went in and undid it and trying to build again if it fails again ill try your way.. seems like it shouldnt even pertain to us though its for gsm if i understand it right..but like you said if was a typo it would bork so ill; check into it if it fails again much thanks for the response

any ideas on this one?

http://pastebin.com/BvAMsnuX

or this one??

http://pastebin.com/Zc4GWCnS
[Sprint LG Optimus G] AdhvanIt:
The second one, each of the expressions it lists, you need to replace { with ;

That looks like the issue anyway. let me double check...

So:

frameworks/base/telephony/java/android/telephony/SignalStrength.java:629: ';' expected
public int getCdmaAsuLevel() {
^

I think the expression should look a little more like:

public int getCdmaAsuLevel;() {

If I were at my computer, this might be a little easier. But it definitely wants a semicolon in there, and it appears there are quite a few missing in that class.

If you compare those with the expressions in another class that you know to be good, you'll see exactly where the format is messed up.
[Sprint LG Optimus G] spleef:
cool thats what i was thinking but i was trying to add in the entire ";" instead of just ; ...hopefully that will clear that one up but that wifi one throws me
[Sprint LG Optimus G] AdhvanIt:
I would diff WifiConfigController.java against one from a working build you have set up to see where the issues are. Those should be pretty similar among all AOSP builds for the device.
[Sprint LG Optimus G] spleef:
diffed the liquid to aokp and only things different are liquids commits which the build has issue with...lol other than that they are the same far as i can tell...so i removed the lines that were different and that didnt work...lol errored immediately

well hell cant get it going the more i change the more errors spit out think i might wait and see if they make some changes cause right now it aint working right going to send liquid a message maybe they can solve it, went from 12 errors to 43 now...lol deleting my changes and resyncing

fixed the build and its uploaded also ive successfully built carbon rom.. will shoot the tut to you probably tomorrow thread for it is in original development section
[Sprint LG Optimus G] VoluntaryMan:
I'm getting the following error during my build.

make: *** No rule to make target `vendor/cm/proprietary/Term.apk', needed by `/home/bmos/android/cwm/out/target/product/geehrc4g_spr_us/system/app/Term.apk'. Stop.

In the past, I have fixed this by running

. vendor/cm/get-prebuilts

the issue now continues to occur after I run it.

Any ideas?

How do you save the output of brunch?

I tried

CM_SNAPSHOT=1 brunch cm_geehrc4g_spr_us-userdebug > ~/brunchlog

but the brunchlog file contained other stuff.

EDIT: I'm also using ccache, if that could be related...
[Sprint LG Optimus G] AdhvanIt:
What did you end up doing to fix the errors?
[Sprint LG Optimus G] spleef:
took the new file and replaced it with the old one I compared them and only things different were what was erroring ... so I just replaced the entire file ...
[Sprint LG Optimus G] BMP7777:
Haven't forgotten about everyone; I am what you would call 'wi-fi challenged' at home this week, so no building is taking place. But, I will commence as soon as I'm back in action, so to speak. ;)
[Sprint LG Optimus G] BMP7777:
I decided to include an ever-growing list of 'fixes' for our LGOGs camera. I have begun to compile a list at the bottom of Post #1. All additions and comments are welcome.....:cool:
[Sprint LG Optimus G] droidmk:
OK guys, I have a question. What would I need to do to port ROMs from the other optimus g variants (ATT, international). Should be relatively easy right? In the same regard what would I need to port a ROM from us to them?

Edit: I read deeper into the port section. Sorry for my noobness.