yashsingh1/xdaforums huggingface dataset:
[Android] caustictoast:
Problem

When I do the command

$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.6-dev python

My prompt returns

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'

E: Unable to locate package zlib1g-dev

E: Unable to locate package libx11-dev

E: Unable to locate package libreadline6-dev

E: Unable to locate package libgl1-mesa-glx

E: Unable to locate package libreadline6-dev

E: Unable to locate package libreadline6

E: Unable to locate package libwxgtk2.6-dev

E: Couldn't find any package by regex 'libwxgtk2.6-dev'

All I did was copy and paste and it won't work. Any suggestions?
[Android] Peteragent5:
One of the straightforward guides I've ever seen. It's quick, easy and problem-free :)

Also how about your device config?

And with make use: make -j`grep 'processor' /proc/cpuinfo | wc -l`
[Android] tommyjt24:
64-bits

Well to anyone else going through this make sure you get the 64-bit ISO, not the default 32 bit one off the desktop page.
[Android] tnpapadakos:
so i am trying to do this

problem is right after installing java when i go to install all the stuff needed to build stuff...alot of the packages are not available...starting with ia32-libs and alot of the other libs

on ubuntu 12.10 32bit on a vm
[Android] DNRDustin:
Those libs are so 64bit can run 32bit tools. From what I'm getting, a 64bit system is required to compile JB. I'm not entirely convinced yet, more like hoping though ;)
[Android] tnpapadakos:
and with 64 bit im running into other issues...i follow the directions and then stuff like file does not exist happens...stupid stuff...this should not be that hard or mysterious...got me to thinking a slip-streamed ubuntu install disk with everything one needs to set up the environment built right in would be awesome
[Android] sylentprofet:
dell is working on a github project for something similar to this. users will *supposedly* be able to easily replicate build environments according to a profile-type system.

anyway, if you want to PM me i can try to help you out. i understand the frustration, it's why i wrote the guide &&

good luck everyone!
[Android] sylentprofet:
Don't use make! Use mka! I forgot to add this part as I mentioned it in another post somewhere on xda &&

Ok so, the reasoning is, mka is a streamlined version of make that will utilize a job handler automatically to speed up your build process.

So, your build string becomes

source build/ensetup.sh && lunch yourdevicenamehere && mka yourdevicenamehere

Furthermore, if you're building for Cyanogenmod or a cm-based ROM, use brunch. It does optimizations after the build process with a tool called "squisher" that is not normally called for with lunch/mka. Thusly,

source build/ensetup.sh && brunch yourdevicehere

If you want to read about why, I recommend checking out this dude over here

thanks for reminding me!
[Android] etoD:
E: Unable to locate package libwxgtk2.6-dev

E: Couldn't find any package by regex 'libwxgtk2.6-dev'

Got this but it turned out not to matter. Also needed to install sharutils. Thanks for this though, it really helped!
[Android] droidjam:
it's libwxgtk2.8-dev nao

™
[Android] sephiroth2k:
Thank you. By the way, when running

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python

I got

And had to run this first:

sudo apt-get -f install build-essential
[Android] mycars12:
What I want to know is why are we supposed to use 64bit instead if 32bit?

Cause my comp supports 32bit fine but runs a bit slower with 64bit
[Android] ttibbetts83:
Jellybean requires 64bit to build properly
[Android] mycars12:
I tryed using Ubuntu 64bit and my comp crashed :/
[Android] ttibbetts83:
Are you running side by side or in VM or did you install with wubi or did portion your hard drive or are you just trying it to see if it works

---------- Post added at 08:00 PM ---------- Previous post was at 07:56 PM ----------

I setup 12.04 everything setup fine intell a try to download source keep getting fetch errors and stuff like source may be corrupt I'm trying for cm10.1 not sure what is going on but am going to start over buy uninstalling and reinstalling Ubuntu on my machine and start from scratch will see what I get
[Android] _Zoom:
It could just be the source entirely.....what is the fetch error....what is it trying to fetch that is causing the error

And how are you repoing the source?
[Android] ttibbetts83:
Doing per some guides and even tried from teamhacksung wiki how to build CM10.1

As for the errors i can't remember the errors but I am starting over fresh Ubuntu and all
[Android] smithchipz:
Hi. I'm getting repo fetch errors when trying to sync the CM10.1 source code. I originally used the "repo sync -j16" command but I got the error and switched to just "repo sync". That didn't work though as I got the same error, which is

remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 20804, done.
remote: Compressing objects: 100% (6058/6058), done.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch CyanogenMod/android_prebuilt

error: Exited sync due to fetch errors

Is the repo just having a bad day or is it a problem on my end? Thanks.
[Android] droidjam:
Try

repo sync -j1

Slower but stable

Or the repos are updated right now that would explain that behavior

™
[Android] ttibbetts83:
ive been getting same errors for the past three days but am doing repo now and it seems to be working but i also just complitly rest my machine and reinstalled everything on 12.04.1 with this guide seems to work better on by the way
[Android] smithchipz:
Tell us if it works out
[Android] ttibbetts83:
nope same damn errors every time try the repo sync -j1 very slow but maybe it will be diff
[Android] mrhaley30705:
That is s problem on the cm side of Git. Should be resolved now.
[Android] bongostl:
I too am having this exact same problem! Any help would be greatly appreciated!
[Android] tnpapadakos:
i got around this by doing them one at a time...sometimes two or three at a time, but i found it was libwxgtk2.6-dev that was the issue for me...its weird

in fact first try that whole command without libwxgtk2.6-dev in it...see if that does it
[Android] :
It is libwxgtk2.8-dev now. Replace it

™
[Android] tnpapadakos:
what he said
[Android] bongostl:
That's already included in what i'm doing....

my error seems to be on all of the ones

E: Unable to locate package zlib1g-dev

E: Unable to locate package libx11-dev

E: Unable to locate package libreadline6-dev

E: Unable to locate package libgl1-mesa-glx

E: Unable to locate package libreadline6-dev

E: Unable to locate package libreadline

that are marked *:386 afterwards (the ones above)

any clue?
[Android] tnpapadakos:
one at a time, then...you'll see, you should get through most of em, the one that wont download will be your clue to whats holding it all up...then skip that one and do the rest one at atime...thats what i had to do...i know its more work, but it is a "work" around, right?
[Android] :
sudo apt-get update

Then the other commands

Guys learn some linux before getting into builds or your questions will never stop

™
[Android] ramesh.polasa3001:
Query about further steps

First of all tnx for the post ..... i worked well for me

i downloaded Source code from AOKP using these steps for JB_r1

now i want to build image for my pandaboard (OMAP 4430) (PANDABOARD REV EA3) model

can u please post the steps for build or mail me at ramesh.polasa3001@gmail.com

---------- Post added at 08:34 AM ---------- Previous post was at 08:07 AM ----------

First of all tnx for the post ..... i worked well for me

i downloaded Source code from AOKP using these steps for JB_r1

now i want to build image for my pandaboard (OMAP 4430) (PANDABOARD REV EA3) model

can u please post the steps for build or mail me at ramesh.polasa3001@gmail.com
[Android] krufttangoud:
I am just curious...why is 64 bit necessary for Jelly Bean compiling. I assume it has something to due with the capacity for larger computing jobs.
[Android] Serious_Beans:
haithem@ubuntu:~$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libxl1-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'
E: Unable to locate package zlib1g-dev
E: Unable to locate package libxl1-dev
E: Unable to locate package libreadline6-dev
E: Unable to locate package libgl1-mesa-glx
E: Unable to locate package libreadline6-dev
E: Unable to locate package libreadline6

http://pastebin.com/uqWQurYA

Getting that error right now, worked the first time around, don't know why I'm having issues now. Did an update after I installed ubuntu 12.10 as well, still not working. Any help appreciated, thanks.

EDIT: NVM READ A COUPLE PAGES BACK AND SAW SOME FIXES, WILL TRY THOSE FIRST. THANKS
[Android] orbital_71:
Re: [GUIDE] How to Properly Configure Ubuntu 12.10 64bit - Build Jellybean (All Varia

Hi if for building Cm10.1 which line i need to add? Tks
[Android] bradman117:
i did

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python

and it worked fine! but i did

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

it gives me an error...

bradley@Bradleys-laptop:~$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
ln: failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so': File exists

what is recommended i do?

thanks
[Android] sylentprofet:
brad -

skip past the error and continue following the directions. it looks like that symbolic link already exists, so finish completing the rest of the steps and let me know if you get errors when you try to compile.

i think it should run fine as long as the symlink exists.
[Android] total_noob_1:
thanks for the post man been looking all over the place for something that works, finally getting around to figuring out this whole dev thing. but i only set up my VM with 14gb vhd and by the end of the source compile filled the VDH :[ oh well time to start again
[Android] THEindian:
Re: [GUIDE] How to Properly Configure Ubuntu 12.10 64bit - Build Jellybean (All Varia

It supports more ran and I think the tool chains are optimized for the 64 bit architecture
[Android] thewadegeek:
It's not, you can use 32-bit.

64-bit does support more RAM, but the toolchain portion totally depends on how it was compiled. There are 32-bit toolchains out there.
[Android] jake:
Download link fixed.
[Android] onelostmind:
whats next

hi you have been most helpful i went ahead and downloaded the AOSP jellybean code on my ubuntu 12.10 machine your code works flawlessly btw ty, anyway, now what? how do we build the rest? can you point me in the right direction?
[Android] Serious_Beans:
I'm missing a few folders and files in the source after syncing. What is the solution to that?
[Android] armada786:
For those building this in a 64-bit Wubi installation you'll need to run these commands after installing Java

sudo dpkg --add-architecture i386
sudo apt-get update

Source
[Android] thomas15v:
When i Install this package it uninstals my graphical driver (nvidia-313).

zlib1g-dev:i386

Is this package realy important ?
[Android] shimp208:
Which ROM are you trying to build and which version of android are you trying to build? It's possible that repo sync didn't complete fully so I'd recommend cd'ing into your working directory and performing repo sync again.

---------- Post added at 05:25 AM ---------- Previous post was at 05:13 AM ----------

I would recommend taking a look at the official AOSP guide to building Android now that you have setup the build environment http://source.android.com/source/building.html.
[Android] Shylesh107:
I was stuck with 32bit :p

Made my day , downloading 64bit now :)
[Android] sylentprofet:
OP here.

i have a guide on my blog at http://soupdawg.wordpress.com that details how to actually compile the ROM. check it out!

thanks to everyone for all the feedback and helping eachother out!
[Android] androidfr33k:
Thanks so much for this. I was going strickly by the wiki at cm.

If I want to cyanagenmod repo I think the script should be this:

repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1

and not below because it gives an error no jb manifest? Is this jb option only for AOSP/AOKP?

repo init -u git://github.com/AOKP/platform_manifest.git -b jb

EDITED:

What about the prebuitls? cm wiki has you do this:

cd ~/android/system/vendor/cm

./get-prebuilts

Oh and one more thing, if I created a ~/android/system folder do I need to change anything or run anything for this path instead of the ~/android path in your tutorial?
[Android] sylentprofet:
You are correct about the repo init for cyanogenmod.

Also, the prebuilt script is a cm-specific thing. AOKP is CM-based, but has a slightly different way of doing things. I dont think anything should change as far as your path goes. Good luck!
[Android] Chema_F:
[MENTION=2645562]sylentprofet[/MENTION]

Would you marry me? Seriously, I love you. I spent the last week trying to learn to build from sources, I began from zero, no idea about linux, ubuntu.. and always there was something wrong. I was just about to give up but in the last attempt I came across your noobs-proof tutorial. THANK YOU very much!!! You'll be adored among my family tree.
[Android] CAPS_ON:
and then [MENTION=2645562]sylentprofet[/MENTION] was all, "nah, i'll grab me a wifey on xda" and we all laughed and laughed... until now.
[Android] kilometers4:
Would anyone be able to say if this guide will work for the new 13.04 version of ubuntu?

Thanks in advance
[Android] sylentprofet:
I have a slightly revised guide out for 13.04, but it's more or less the same directions.

http://xdaforums.com/showthread.php?t=2224142 for Raring Ringtail setup, or http://soupdawg.wordpress.com
[Android] kilometers4:
Thanks. How did you go about instaling Ubuntu with windows 8. I followed all the steps, but when the installer opens up it doesnt detect any of the hard drive partitions to install in..

Sorry for OT, But thanks in advance :)

Any help would be greatly appreciated
[Android] joeboo28:
hi. i am completely new to unbuntu and just installed 12.10. I want to get into building roms for my E4GT. I have been reasearching and can not find a way to download source to my external drive. Every time i try to point ubuntu towards my external hard drive and i cant.

Any help would be great. sorry for such a basic question but i can not find any command lines to point ubuntu towards my external hard drive.

THanks in advance.
[Android] GabrielSousa:
how do i fix this

frameworks/base/core/java/android/app/ActivityThread.java:551: error 111: Public class android.app.ActivityThread.ApplicationThread stripped of unavailable superclass android.app.ApplicationThreadNative

frameworks/base/core/java/android/app/ActivityThread.java:599: error 110: Parameter of hidden type android.app.ResultInfo in android.app.ActivityThread.ApplicationThread.sched uleSendResult()

frameworks/base/core/java/android/app/ActivityThread.java:608: error 110: Parameter of hidden type android.app.ResultInfo in android.app.ActivityThread.ApplicationThread.sched uleLaunchActivity()

frameworks/base/core/java/android/app/ActivityThread.java:637: error 110: Parameter of hidden type android.app.ResultInfo in android.app.ActivityThread.ApplicationThread.sched uleRelaunchActivity()

frameworks/base/core/java/android/app/ActivityThread.java:3654: error 110: Parameter of hidden type android.app.ResultInfo in android.app.ActivityThread.requestRelaunchActivity ()

frameworks/base/core/java/android/app/ContextImpl.java:1864: error 110: Method android.app.ContextImpl.getCompatibilityInfo returns unavailable type CompatibilityInfoHolder

DroidDoc took 68 sec. to write docs to /home/gabriel/cm-rom/out/target/common/docs/api-stubs

make: *** [/home/gabriel/cm-rom/out/target/common/docs/api-stubs-timestamp] Error 45

make: *** Waiting for unfinished jobs....
[Android] vishal_android freak:
Hey guys.. I have got small problem.. The package which we create symlink for, is not getting installed.. Other packages are up to date.. only that doesn't get installed.. And my ubuntu recommends other package for ubuntu 7.0 n above..

I have ubuntu 12.04 LTS.. Help would be appreciated..:)
[Android] N00BY0815:
I got a similar situation, as the person above me. When I try to install all the packages (the long list of them), I run into the following problem:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.6)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
E: Unable to correct problems, you have held broken packages.

I dont know, what to do, because everytime, I try to install as recommended (libgl1-mesa-dri:i386) my Ubuntu wont boot anymore...

Hope you guys can help me out, I am a real noob to Ubuntu and havent set it up in quite some time,,,
[Android] Äptiva:
OP just wanted to give you the new link to repo to update your guide if you're still here:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

Old link returns 404
[Galaxy S III Q&A, Help & Troubleshooting] arter97:
I am using Android 4.2.1 CM10.1 based rom with i9300.

And I love the DPI of 280 instead of stock 320.

Before 4.2(4.0, 4.1), The launcher showed more icons with more spaces and rooms.

But now with 4.2, CM's launcher and Android 4.2 Stock launcher all shows a bit weird.

Like the attachment, It's small.

Weirdly small.

I don't like this. (And I think you won't either.)

How do I fix this?

(PS I've tried porting Trebuchet from CM10.0, Launcher2.apk(stock launcher) from Galaxy Nexus 4.1.2 rom but it just keeps crashes.)

(And also, don't tell me to use other Market's Nova launcher or Apex. I prefer the Trebuchet or Stock launcher.)
[Samsung Epic 4G Touch] hoshmosh:
Hey guys I was wondering why hasn't any devs on our side of the sgs2 released a port of boot2gecko? It looks like a refreshing OS to play around with.
[Samsung Epic 4G Touch] jeffreyjicha:
Wrong forum dude, this is for the Epic with the keyboard.
[Samsung Epic 4G Touch] KennyG123:
Please note which device forum you are in when you post. You want the Epic Touch forum

Thread moved

XDA Moderator
[Galaxy S III Q&A, Help & Troubleshooting] Nimer.abdul:
Hello all,

I have the international Galaxy S3 and I bought a 3rd party MHL-HDMI adapter.

The adapter works great. However the issue that I have (And lots of others) is that when it outputs at 1080p it only does so at 24-30Hz or so.

I haven't heard of anyone getting 1080P at 60hz.

People who output 1080i and 720p get 60Hz which is excellent.

I would love to know if there is a hack/mod/setting that would enable outputting at 720p or 1080i instead of 1080P etc to enable 60hz on the TV

Is there any solution at all?

Videos aren't as smooth as they should be , and while gaming works it is not optimal, clearly a framerate/refresh issue, not performance as the phone doesn't lag or anything.(And it happens with everything)

I'm on stock Jellybean 4.1 ...

Thank you, I am sure many many people would be interested!
[Galaxy S III Q&A, Help & Troubleshooting] Nimer.abdul:
Anybody? Issue still exists.
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
FAQS this forum Q12 first .

jje
[Android Q&A, Help & Troubleshooting] zqhjohn:
Lenovo S560 Android4.0+MTK6577 Dual-core 1G Music phone 3G Dual SIM 4.0"WVGA IPS screen 4GB ROM Dolby YAMAHA kill P700i A789

http://pan.baidu.com/share/link?shareid=130043&uk=252605960

http://dl22.qiannao.com/downfile/yangxiangzhen/778553f4?md5=17992a6653e4c0930e88c239026b14ba
[Asus Transformer TF700] Dibby6:
I dislike the new tablet ui for youtube that they have recently changed. So just wonderring if anyone has the old youtube apk
[Asus Transformer TF700] jkvato:
Try this link.

http://www.androiddrawer.com/7215/download-youtube-4-1-47-app-apk/
[Asus Transformer TF700] CandyAndy:
am I the only one who cant find the fullscreen button with the new youtube when the keyboard is attached? When the keyboard is out then no problems.
[Asus Transformer TF700] Firebrazer:
That's been reported for all tablets with a key-dock, unfortunately. I believe they're already aware of the issue, and I hope they'll find a solution soon...
[Asus Transformer TF700] Dibby6:
thankyou very much, ill be using this till i think the new style is usable to my standards
[Asus Transformer TF700] Diolectic:
Just uninstall from GooglePlay Store; it will only uninstall the updates & will keep YouTube on Your tablet
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Levered:
Can someone upload bluetooth patch in zip...list of important bluetooth....:rolleyes:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mihahn:
I think we will have to wait, on my 4.2.1 rom it's also not working. Wait until there will be a patch from source and you will get bluetooth ;)
[Galaxy S I9000 Q&A, Help & Troubleshooting] bluffmaster:
Hi,

I have Samsung SHW-M100S, Would like to remove 80bytes SMS Limit.

please let me know the procedure. Thanks