yashsingh1/xdaforums huggingface dataset:
[Android] jezus101:
ADB

i cant use ADB or whatever its called because all my USB ports a broken:crying: So after Downloading and compiling what do i do? Can someone PLZ make a tutorial and put it on youtube?

---------- Post added at 08:03 AM ---------- Previous post was at 07:49 AM ----------

BIG problems here :crying:

CODE

jezus@jezus-OS:/var/cache/apt/archives$ sudo apt-get install cmcompilerReading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

language-pack-kde-zh-hans-base language-pack-kde-en

language-pack-zh-hans-base language-pack-zh-hans language-pack-kde-zh-hans

language-pack-kde-en-base

Use 'apt-get autoremove' to remove them.

The following NEW packages will be installed:

cmcompiler

0 upgraded, 1 newly installed, 0 to remove and 56 not upgraded.

Need to get 731 kB of archives.

After this operation, 816 kB of additional disk space will be used.

Get:1 http://ppa.launchpad.net/lithid/ppa/ubuntu/ precise/main cmcompiler amd64 0.5-0~13~precise1 [731 kB]

Fetched 731 kB in 7s (95.9 kB/s)

(Reading database ... 313560 files and directories currently installed.)

Unpacking cmcompiler (from .../cmcompiler_0.5-0~13~precise1_amd64.deb) ...

dpkg: error processing /var/cache/apt/archives/cmcompiler_0.5-0~13~precise1_amd64.deb (--unpack):

trying to overwrite '/usr/share/applications/cmcompiler.desktop', which is also in package cmc 0.4

Processing triggers for bamfdaemon ...

Rebuilding /usr/share/applications/bamf.index...

Processing triggers for desktop-file-utils ...

Processing triggers for gnome-menus ...

Errors were encountered while processing:

/var/cache/apt/archives/cmcompiler_0.5-0~13~precise1_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

CODE

I have removed cmcompiler_0.5-0~13~precise1_amd64.deb Tthat is located at /var/cache/apt/archives/ BUT SAME PROBLEM Please help

i have done the apt-get remove command and removed EVERY cmc but 1 is still istalled? and command says not installed cannot remove??? and that one wont let me build JB

EDIT: can you just PM me a link to the .deb file and ill try install from that im using ubuntu 12.04
[Android] lithid-cm:
Sudo dpkg -r cmcompiler-daily
[Android] jezus101:
Cool! what device's are supported for CM10 in this?

Nope Command dosent work

jezus@jezus-OS:/var/cache/apt/archives$ sudo dpkg -r cmcompiler

dpkg: warning: there's no installed package matching cmcompiler

---------- Post added at 03:55 PM ---------- Previous post was at 03:04 PM ----------

AHA It appears i installed a previous version using Ubuntu Software Center!

So if anyone has this problem open up Software center and search "cmc" without qutations! and remove Then do "sudo apt-get install cmcompiler"

---------- Post added at 04:38 PM ---------- Previous post was at 03:55 PM ----------

Is there anyone planning to make a Video Tutorial about this? if not i can try then send u the video to make sure i did it correct

---------- Post added at 05:01 PM ---------- Previous post was at 04:38 PM ----------

last thing (i promise) do i have to download the WHOLE repo again every time i want to compile? Or only the new things in the repo? AND i need a video PLZ
[Android] jezus101:
When i start compile http://imgur.com/S2EoY

---------- Post added at 06:33 PM ---------- Previous post was at 06:06 PM ----------

http://imgur.com/tjtOc
[Android] lithid-cm:
Jellybean is no where near supported. Read the op. You will have to do a lot of leg work yourself for jellybean.
[Android] jezus101:
Oh Ok Maybe you should put that in bold up the top because many people will want to do JB

I guess Compiling JB from GIT will be a LOT harder?
[Android] GJ123:
It's a shame that we can't install it now :(
[Android] lithid-cm:
Naw, people should read. Cyanogenmod hasn't even setup device trees yet for automatic builds from source. Until then you will have to find a device tree that supports jellybean.
[Android] jezus101:
Ok then and I'm guessing device trees are needed to compile Git :( Thanks for this tool anyway I might be able to get my friend ICS :)
[Android] hev88:
To get proprietary files its

./generate-packages.sh

Sent from my Maguro
[Android] jezus101:
whats this do?
[Android] hev88:
It extracts all proprietary files after you have downloaded source. Looked at cm's github but your tree isn't up yet. I just loomed at first part of picture and seen that it couldn't get proprietary files and posted since I ran into the same problem on my gnex since the name of the bash changed so it couldn't find it

Sent from my Maguro
[Android] jezus101:
Sigh well I'm going to try build ICS
[Android] lithid-cm:
I am posting a little screeny of some of the new additions that some will like and others will hate. Enjoy.
[Android] jezus101:
know i contiusly get "galaxys2 not found looking at github/cyanogenmod" or somthing like that And it Fails
[Android] lithid-cm:
Because its not supported for jellybean.
[Android] jezus101:
Nah this is with ICS
[Android] housry23:
Do you plug your phone in and run this using adb? Or will this extract all the prop files for Nexus 7 maguro toro? I've been trying to build cm10 for a while and I used the prop file Google posted but GPS, GTalk, Google+ Messenger don't work. Camera force closes. I'm having a hard time here. I just need the prop files and I'll be good to go.

Thanks Lithid for all your work on this. It is an amazing tool!
[Android] lithid-cm:
That script should generate "packages" inside each of those packages is a shell script, its basically the same thing as getting them from google binary page. Least that is my understanding, I then take the script from each of those packages and run it from the root of the repo. Then I build.
[Android] housry23:
So why would those few things not work when I build CM10? I downloaded Google's prop files, extracted to the root of my build directory and sh extract-xxx-xxx.sh and accept the agreement. I check the vendor folder and sure enough, the drivers are there. I resync the repo, and compile. The rom builds with no errors and flashes and boots fine. Battery life is stellar and everything works except camera, gps, GTalk and Google+ Messenger(may be more not working, but didn't test it long enough to find out).

Also, how would I go about syncing these prop files TheMuppets binaries to the proper folder?

I am fairly new to this. ICS was so easy, but since Jellybean is so new I am having problems lol. I really do appreciate your help and your tool.
[Android] lithid-cm:
I have a device tree for maguro, what I found out is that there are some files that are still needed that are not included in the binaries. Here is my device tree for personal use. Please try it.

Remove the device/samsung/maguro and replace it with this

cd device/samsung/
rm -rf maguro
git clone https://github.com/lithid/android_device_samsung_maguro.git maguro
cd maguro
./extract-prop.sh

Then do a make clobber or installclean and try with this device tree. Please let me know.

thanks.
[Android] housry23:
Thanks lithid. If I have time I'll try tonight. Might be tomorrow though. Thanks again bro. I'll definitely let you know if it works.
[Android] lithid-cm:
Works fine for me, do not see why you would have issues.
[Android] hev88:
Ill try it when i get home. I just reinstalled ubuntu 12.04 so i need to get everything set up anyways. I'll let you guys know how it goes. Don't see why it wouldn't work though...

Sent from my Maguro
[Android] hev88:
My build is a fee megs bigger so I am assuming the vendor files took for once. I'll flash it in the morning and confirm.

Sent from my Maguro
[Android] lithid-cm:
Yes those are the few that are not included in the nexus binaries.
[Android] hev88:
Didn't boot for me... still missing a few vendor files it looks like. I ran a separate build synced to theMuppets repo and that one booted fine. I'll try to check tonight and see the difference

Sent from my Maguro
[Android] lithid-cm:
I found out why it was failing for you. I messed up the device.mk. It needed

$(call inherit-product-if-exists, vendor/samsung/maguro/device-vendor-blobs.mk)

You can see the edit here.

https://github.com/lithid/android_d...mmit/bcb83f9eec9f95165572d1f66e613c0f6a287aaf

Sorry about that, when I merged with the latest cm updates it must have gotten removed. It is working and booting fine now. Again. Sorry.

GPS is locking instantly and camera works great.
[Android] kaluoshi:
hi lithid-cm! i've installed cmcompiler but something wrong happened. how can i clean all file and repo installed? such before install. i've done all with standard setting (path ecc.). Thanks!

EDIT: i remove all files, include .repo, unistalled cmcompiler. now i reinstall but ( on 10.04) i have 0.5 and not 0.6. also before uninstalling there was 0.5. how can i update to 0.6? thanks!
[Android] lithid-cm:
Check post 2
[Android] invasion2:
I'm not sure what to do next. I installed the repository, then the cmcompiler. Where do I open it? Thanks.
[Android] lithid-cm:
That depends. How do you usually open apps?
[Android] kaluoshi:
Thank you! i've done :) but when i tipe:

"sudo apt-add-repository ppa:lithid/ppa"

"sudo apt-get update"

"sudo apt-get install cmcompiler"

version installed is 0.5 and not the 0.6 displeyed in thread. i've ubuntu 10.04, how can i fix this? thanks!
[Android] lithid-cm:
you need to remove the cmcompiler-daily before you can replace it with the more stable cmcompiler. Thanks.
[Android] kaluoshi:
same thing, removed daily, reinstalled but it download "cmcompiler_0.5-0~13~lucid1_amd64.deb" in the install process :( is possible to update it (0.5) with a 0.6 deb? thanks!
[Android] mangyan:
subscribed.
[Android] lithid-cm:
Did you update the repo using the "sudo apt-get update" command?
[Android] kaluoshi:
yes :(
[Android] housry23:
When syncing the repo using this, in the terminal I keep getting this "fatal: invalid gitfile format:" and then it gives the path of the of the file and it always ends with clone.bundle

Is this ok? It seems to be syncing just fine other than that.

Also a couple pages back you wanted me to delete something in the vendor folder and add what you had. Do I still need to do this or will your program sync all of the correct prop files? Thanks again bro! I usually like doing things manually, but I really enjoy using cmcompiler!
[Android] lithid-cm:
that bundle error can be ignored and should go away if you update the repo script,

This compiler will only sync what the cm repo has, so no it will not setup prop vendor files unless it is using adb for extract-files.sh
[Android] housry23:
Thanks for the quick reply. I will use what you told me to do earlier in the thread then.
[Android] MadCobbler:
I'm getting this error compiling for Galaxy Nexus

device/samsung/tuna/recovery/recovery_ui.cpp:23:20: fatal error: device.h: No such file or directory

compilation terminated.

I got this same error when synced from CM github too

Any help would be appreciated :)
[Android] housry23:
I used your prop files from a few pages back and now it's working perfectly. Thanks again lithid
[Android] lithid-cm:
Yup. For sure man!
[Android] MadCobbler:
Finally got it working... I think it was the fact that I needed to do a 'make clobber' before I started again after syncing your files, but once I'd done that it compiled ok

Thanks lithid you're a legend ;)
[Android] sparksco:
Ok so I have some reports of my findings after testing this a bit. One issue I am having is I tried to repo sync to the Gingerbread branch for device "speedy" and for some reason it synced to either ICS or JB branch instead. There's no device tree for speedy and there's a vendor/cm (which I believe is for ICS/JB branches) and not vendor/cyanogen. I click on the verify button and it does say branch: Gingerbread device: speedy. So it seems to think it is on the correct branch when it's not.

I had the same problem, but found it to be a permissions issue. If I use a script and chmod 777 to it it doesn't have the same issues. @Lithid maybe this can be fixed somehow in the compiler? Not a big deal as it continues to sync regardless if I use -j1 for repo sync. Thanks again!
[Android] lithid-cm:
https://github.com/lithid/Cmcompiler/blob/master/share/cmcBash/sync_script.sh

While I was updating to the jellybean repo I foobarred the damn settings, as you can see if branch is "gingerbread" it syncs ics and if branch is ics it syncs gingerbread. It will be fixed in the next update.
[Android] jezus101:
Do we need ADB Thingy For this "No USB ports on my pc work" (Samsung Galaxy S2)

And have you updated so it looks like the screenshots on twitter?
[Android] lithid-cm:
adb is needed at times. No has not updated.
[Android] CheesyNutz:
has the updater script been fixed ? yet ?
[Android] Amin`:
hi all

is this tool usable for cm7? or just cm10?

and another thing is in my mind: what difrences make using this tool to compile with؟what's the Advantage?it isnt mention in op clearly...
[Android] vespoid:
Noob here trying for 1st compile. Have tried a few searches but haven't found anything relevant so far. Here:s my output:

Starting Cyanogenmod Compiler
python: can't open file 'build/tools/roomservice.py': [Errno 2] No such file or directory
/usr/share/cmcompiler/scripts/compile_script.sh: line 46: cd: device/None/toro: No such file or directory
sh: 0: Can't open extract-files.sh
/usr/share/cmcompiler/scripts/compile_script.sh: line 72: build/envsetup.sh: No such file or directory
/usr/share/cmcompiler/scripts/compile_script.sh: line 73: brunch: command not found

Where can I download these?

Also, is there something I should change to make them auto-download?
[Android] jezus101:
In the future will there be a way to use this without ADB?
[Android] sparksco:
Don't think so. All AOSP ROM builds require files from the device.
[Android] happybay:
why don''t you want the ADB? I think it's quite normal in Android dev.
[Android] jezus101:
USB ports dont work
[Android] cincygeek:
I installed Ubuntu in a Virtual Machine and it will not allow me to select a device. The only things I have installed on this VM is the CyanogenMod compiler as listed in this thread. Should I have adb installed for my phone to be recognized in the compiler?
[Android] lithid-cm:
during the last update, ics and gb branches got mixed up on accident. Can you run the compiler from the terminal and paste any output from there?
[Android] cincygeek:
joshua@joshua-VirtualBox:~$ repo init -u https://github.com/CyanogenMod -b ics
fatal: https://github.com/CyanogenMod/info/refs not found: did you run git update-server-info on the server?
fatal: https://github.com/CyanogenMod/info/refs not found: did you run git update-server-info on the server?
fatal: cannot obtain manifest https://github.com/CyanogenMod
joshua@joshua-VirtualBox:~$

Is this what you were asking me to run?
[Android] sparksco:
I think he means this

$ cmcompiler

Then while your doing your thing with cmcompiler the output should show in terminal.
[Android] cincygeek:
Thanks for that information,

joshua@joshua-VirtualBox:~$ cmcompiler
ics was toggled ON
Traceback (most recent call last):
File "/usr/bin/cmcompiler", line 736, in device_list
radio = x[1]
IndexError: list index out of range
[Android] lithid-cm:
you are using the gingerbread branch, which is currenly broken.
[Android] cincygeek:
Okay thanks, I will wait for them to be corrected and attempt it again.

Thanks for a great UI, and the screen shots of the new one looks like it will be even better. +1 on your work!
[Android] CheesyNutz:
is JB broken too ?
[Android] lithid-cm:
It shouldn't be. That was the only branch I was able to test. Are you having issues?
[Android] CheesyNutz:
anyone have a guide to get java installed im looking for 1.6 that the compiler is looking for
[Android] lithid-cm:
Install openjdk-6
[Android] lithid-cm:
Please checkout my latest updates to this project.

https://plus.google.com/u/0/103024643047948973176/posts/VSSbJ2cTMZ6
[Android] CheesyNutz:
just this error fresh install
[Android] lithid-cm:
Right, ics = gb and gb = ics. Things got mixed up during my last update. I am about to release this new version so would be pointless to update this one. Gingerbread is currently broken, but already fixed with the latest version on github.
[Android] CheesyNutz:
Cool thanks I'll be looking for it
[Android] CheesyNutz:
waiting on this update :P
[Android] Shane:
SIR LITHID-CM U R AWESOME

By-SoMKlL
[Android] lithid-cm:
I am getting pretty close to another release of this software. It will be renamed and has plenty more features. Video is bad but it gets the point across. I will try to make the videos better. thanks.

http://www.youtube.com/watch?v=bbPxLZRNV8g
[Android] Simply_Android:
when will something like this be available on windows, is it possible, even with cygwin? please make it happen :D, u devs are good at that sort of thing :good:
[Android] lithid-cm:
Won't ever work.
[Android] PalmerCurling:
is there a way to use this on fedora? Ubuntu doesnt work on my computer, so i use fedora and id love to use your compiler!
[Android] lithid-cm:
As long as you have the correct packages installed. Yes. If you could run something for me I could add support.

python -c "import platform as p; print p.dist()"

My machine shows me:

lithid@UbuntuDesktop:~$ python -c "import platform as p; print p.dist()"
('Ubuntu', '12.10', 'quantal')

Once I have yours I can setup support for your distro and build rpms for it as well.
[Android] trafalger888:
Been having trouble with the compiler. I try to select the device and it just hangs. No response at all. Any suggestions? Or just wait for the new version to come out before I try?

On Ubuntu 12.04 everything current and trying to sync with jb
[Android] lithid-cm:
http://www.youtube.com/watch?v=zTWKL_dmvXM
[Android] blazingwolf:
That looks really good. :)
[Android] lithid-cm:
Found someone to maintain the Archlinux AUR builds!!!

https://aur.archlinux.org/packages.php?ID=62570
[Android] peanutty420:
same here

ok i removed old cmcompiler but when i reinstall i keep getting 0.5 version instead of 0.6 as well did anyone figure out how to resolve this
[Android] lithid-cm:
I foobared the version number. If you now have jellybean as an option it updated.
[Android] csrabear:
I can't get a device listing unless I select GB. Selecting ICS or JB results in :

jellybean was toggled ON

Traceback (most recent call last):

File "/usr/bin/cmcompiler", line 736, in device_list

radio = x[1]

IndexError: list index out of range
[Android] lithid-cm:
If you are having issues, then please try the updated tool.

https://github.com/lithid/AOSCompiler
[Android] Virus:
looks sick man thanks thanks lithid :)
[Android] lithid-cm:
Have not talked to you in a while. Thanks man.
[Galaxy S I9000 Q&A, Help & Troubleshooting] oswade:
Recently restored a cwm backup of zsjw4 and my dbdata aeems to have shrunk dramatically. First I flashed stock zsjw4 with 512pit, then custom kernel, then restored.

Root explorer is showing it as having a capacity of about 80mb (44mb used 36mb free).

Is my memory correct that dbdata is usually about 110mb? I usually have 70-80mb free so I think that must be right.

Do I have to repartition and start from scratch or can I reclaim the space? Any ideas how this occured as I used 512.pit. The only thing I can think of is that I also flashed an empty dbdata.tar so that I could flash with repartition. But I do this always with no problem...
[Galaxy S I9000 Q&A, Help & Troubleshooting] mod2max:
My guess is start from scratch, if your competent and confident in doing so. But it does seem very odd, check the insides of all the files you are flashing and make sure nothing is a miss :)

If you're want, go find the ROM your using and rip dbdata from it...

However, if you don't want to flash all over again (we all know about the risk of damage while flashing!) then please don't :fingers-crossed:
[AT&T, Rogers HTC One X, Telstra One XL] 18th.abn:
This community here has been strong, informative and helpful to many Hox users. IMO, it has also been used to flame, disrespect, and challenge personal opinions in several threads. I myself have fallen into this pit. I just wanted everyone to read a thread posted in the EVO LTE forums from a person whom not only fell into this pit himself, but recognized it and publically corrected himself to better bring back his community. Im not implying anything against the Hox community, but just hope it can serve as an example, that we stand stronger united and can/will accomplish much more as individual minds coming together. Not individuals thinking a mind. Please click the link below, to read how this xda member noted his closed mindness, and forfeited it for the good of his community.

http://xdaforums.com/showthread.php?p=29136185

With this said, there are great feats still to be accomplished for the Hox devices. Let's all put our 2 cents in where we can, put away the other 98, and make these feats into accomplishments!!

............My EVO Ways...........

(You Can S-Off For All I Care)
[AT&T, Rogers HTC One X, Telstra One XL] gbrewman:
Thank you for acknowledging that we can all do better here. We many times don't have the patience to help out others. I know I don't post all the time in the forums but I read alot and find that people want to attack and take offence, putting everyone out. I like coming here and hope we can continue the great development and improving our devices.
[AT&T, Rogers HTC One X, Telstra One XL] InflatedTitan:
Agreed. I was a victim of that for my very first post. I was GRILLED for not searching first when I actually did. Beings I didn't know my way around the threads and it was my 3 day old first android phone. Ppl are looking to learn, receive help, and also give help when able to. Nobody comes here asking to be bashed on or fussed at like a kid. Ill quote all of my reachers when i was in school, "theres no stupid question as long as you're thirsting for knowledge" Let's stick together and help each other out to make it a more enjoyable experience in the forums and also in your android device!!
[AT&T, Rogers HTC One X, Telstra One XL] GibMcFragger:
You also have to understand the flip side of the coin. People come here and start threads to ask the same basic questions that people have answered 500 times already. Questions that would have been easily answered in 10 seconds had they done a search first. Its frustrating.

Yes, there are no stupid questions. Yes we were all noobs at one point. Part of learning is figuring basic out things yourself by doing some research though. :)

Beamed from my KingCobra1X powered HOXL on Rogers.
[AT&T, Rogers HTC One X, Telstra One XL] this_is_nick6:
Agreed 100%. There are a million threads that could have been avoided simply by SEARCHING. If you can navigate to XDA using your browser, you have the skills necessary to use the search function. People are just lazy and don't want to do any reading, they'd rather someone just respond with an answer. Super annoying, my .02.
[AT&T, Rogers HTC One X, Telstra One XL] _MetalHead_:
This. It is painfully evident when people don't search even though they say they do when and that's when I'll come in with a snarky post. You can't tell me you searched for the method to root 1.85 when there is a STICKY with the procedure in development, and 4 other threads on the first two pages of Q+A asking the same question, with people providing answers. Sorry, but I don't buy it. If you want me to put forth some effort into helping you, you must put forth the effort to help yourself first.

That all said, if it shows that you did do some research but still need some clarification on a few things, you betcha I will be willing to help to the best of my ability. I may be an asshole sometimes, but I am actually a really nice guy and I do enjoy helping people out. Just don't start our e-relationship on a lie ("I searched, I swear!") and we'll get along famously.