yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Zesters:
Pleaase add lg optimus me

Please meen add lg optimus me this is a powerfuul device but definitely ignored and unknown:/
[Android Software/Hacking General [Developers Only]] Ron G:
in next update we will get cm9?
[Android Software/Hacking General [Developers Only]] mDroidd:
Did you earn your recognised developer status with this??

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

He wont.

CM should, else it will not be supported.

It is not as easy as you think.

Still it is easy as making babies :)
[Android Software/Hacking General [Developers Only]] Ron G:
optimus me is not supported but optimus one is support then why he not add optimus one:confused:
[Android Software/Hacking General [Developers Only]] shmizan:
great piece of software here man.

I came to this after trying to do it myself but encountered an error. thought it would be fine now but it's not.

when fetching projects I'm getting too many of this:

github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)

any idea what is going on?

thanks :)
[Android Software/Hacking General [Developers Only]] jumkey:
Thank you
[Android Software/Hacking General [Developers Only]] nicandris:
i am not a ROM developer. I do not write so files or roms so i am sorry i cannot help adding it in CM. you should talk with a rom developer from the Optimus Me section of xda or with #teamdouche

Well i am not on the Gingerbread repo since i am testing ics, but it seems something is blocking the connection to the server. Anyone else getting this?

I will be away for the weekend so on Tuesday i will release the ICS version of the script. Please have in mind that the current CM9 status is still ALPHA/BETA. The roms on my GalaxyNexus seem fine, but i am not sure for other devices
[Android Software/Hacking General [Developers Only]] shmizan:
it's just me and I don't know what to do with it. it was okay at first and I let it do it's thing overnight, then got stuck at 48% and I closed the terminal to restart it. from then on it gives me the connection refused error.
[Android Software/Hacking General [Developers Only]] nicandris:
open a terminal

cd
cd android/system
rm -rf .repo
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j8
[Android Software/Hacking General [Developers Only]] Ron G:
already have cm7 for optimus me this is repo link of optimus me cm7.2

repo init -u git://github.com/pax0r/android.git -b gb-release-7.2
[Android Software/Hacking General [Developers Only]] shmizan:
thanks, it worked and now it syncs again from scratch. I hope it won't get stuck again
[Android Software/Hacking General [Developers Only]] edwardng:
Add support

Well done! It would be great if it supports tmobile htc mytouch 4g slide
[Android Software/Hacking General [Developers Only]] nicandris:
ok this is for the brave! :P

CM9 building script pre-ALPHA ;)

fuuuuuull of bugs

No new devices added, but i will be updating often as soon as i upload it to github

I tweaked the script not to mess with the gingerbread script so now it builds in ~/android/CM9
[Android Software/Hacking General [Developers Only]] cowsquad:
Will this script work with motorola droid 1 (original one)?
[Android Software/Hacking General [Developers Only]] Scorpio92666:
Hi! LG GT540 is supported?
[Android Software/Hacking General [Developers Only]] Reptilez_DK:
He wrote: No new devices added, so my guess would be .......... No ? :rolleyes:
[Android Software/Hacking General [Developers Only]] Ron G:
can you tell me witch cm9 device was support now by this cm9 script ? or all that support in cm7 script
[Android Software/Hacking General [Developers Only]] jamestin323:
Nice! Trying!
[Android Software/Hacking General [Developers Only]] exb0:
Hey guys, quick question.

I've got the sources for an app, I've added it to my packages directory, and I tried compiling but it doesn't compile the app that I've added. Any ideas why?
[Android Software/Hacking General [Developers Only]] nocomp:
all right i get it now

at least i get some time to get familiar with it.

how do you do for create a new version of the mod, like if you want to create a new rom name?

thx for your time

herve
[Android Software/Hacking General [Developers Only]] drigerott:
nice, i'm waiting V2.sh :D nice job nicandris
[Android Software/Hacking General [Developers Only]] nocomp:
hi folks,

anybody tried a build today?

is it better?

herve
[Android Software/Hacking General [Developers Only]] crachel:
I just synced/built & flashed and everything is fine
[Android Software/Hacking General [Developers Only]] redstar3894:
Much more "cleanup" stuff was merged over the last 24 hours since the tree was re-synced with AOSP... did a build about 9 hours ago and it's been running quite well... :D
[Android Software/Hacking General [Developers Only]] nocomp:
hi,

just tried my today build, and gosh what a nightmare.

clock has been set to jan 6 1980 .... live wallpaper is frame per frame, terribly slow.

i don t do a full wipe, can it be the cause?

i just did a build not a complete andromake, is it still update?

thxx for your help

herve
[Android Software/Hacking General [Developers Only]] nicandris:
androidmake its just for the first time. my builds are terribly slow also actually... sux big time. try cd ~/android/system and then make clean. after that build again. probably though it should be teamdouche fixing stuff that y its getting slower
[Android Software/Hacking General [Developers Only]] nocomp:
hahaha too bad too late ;)

rm -rf ../android && ./andromake :D

let s restart on god basis :)
[Android Software/Hacking General [Developers Only]] baudy2:
Can this be built on the external USB drive ? My internal drive cannot carry this amount.
[Android Software/Hacking General [Developers Only]] nocomp:
of course,

set the right path in the andoidmake file

:)
[Android Software/Hacking General [Developers Only]] nocomp:
hi,

did it worked?

any try today?
[Android Software/Hacking General [Developers Only]] nocomp:
one question,

i am re fetching the whole tree, and i was wondering, if you want ot build froyo based or else, how do you proceed?

thx for helping

rv
[Android Software/Hacking General [Developers Only]] drigerott:
i resync all, build after flash, i have strange problem on grafics...artifacts and slow down lol
[Android Software/Hacking General [Developers Only]] nocomp:
ok let us know how goes your first new build

thxxx
[Android Software/Hacking General [Developers Only]] nicandris:
not sure if the repo for froyo is still there (i think it is). if you want the froyo tree, try

repo init -u git://github.com/CyanogenMod/android.git -b froyo
[Android Software/Hacking General [Developers Only]] nicandris:
yeah same think here also...
[Android Software/Hacking General [Developers Only]] drigerott:
ah ok... is not just me then ^^ thx nicandris ^^ but why nightly is normal and manual build not? some problem in repo?
[Android Software/Hacking General [Developers Only]] ch33kybutt:
Is there any difference if built using x86 vs x64? I get the same weird graphics & slow-motion problems and I'm using x86.
[Android Software/Hacking General [Developers Only]] redstar3894:
Its all still there, just no one has touched it for about 3 months, so it might be a little dusty... :p

No difference between building on 32 or 64 bit.... at least there shouldn't be... :rolleyes:
[Android Software/Hacking General [Developers Only]] nocomp:
hi,

i ve finally resync all tre, and build new rom, but still same disaster......

can t belive they didn t fixed it :/

can t we pull the last "working "tree ?

any luck with V2 ?

thx for your time
[Android Software/Hacking General [Developers Only]] nicandris:
well you should find the file that has the compilation instructions and add your app in there, or compile the app separately and add it in the system/app dir
[Android Software/Hacking General [Developers Only]] sims34:
Can somebody explain to stupid people like me, what does this do? :confused:
[Android Software/Hacking General [Developers Only]] TheKiD075:
It pulls the necessary files to compile the cm7/ cm9 source.
[Android Software/Hacking General [Developers Only]] pkfox:
Will it work on Fedora ?
[Android Software/Hacking General [Developers Only]] exb0:
what file? ahh damn. I don't wanna separately compile the app.
[Android Software/Hacking General [Developers Only]] CatOnAndroid:
Really cool project,

See any chance of adding HTC Explorer to it?

In case this has been asked before I am sorry. Maybe I misunterstood the whole thing :-/
[Android Software/Hacking General [Developers Only]] ironzy:
i cant seem to get it to make an update.zip, im using ubuntu 12.04 32 bit, has anyone else got the same problem?
[Android Software/Hacking General [Developers Only]] bam_:
sweet, will look at this once i'm home.
[Android Software/Hacking General [Developers Only]] ironzy:
ok i had to make a bigger partition to download all the source, i thought 20gb was going to be enough but it was just under when it finished so had no room on my hardrive to make the rom :rolleyes: so had to do a fresh install with a bigger partition and start all over again, but this time its been going on for about 8 hours and still not finished yet, i dont understand why it has to download all the source for every supported device if your only going to use the source for one :confused:
[Android Software/Hacking General [Developers Only]] jayallen1980:
can't get the script douchebuild.sh to run from desktop using Ubuntu 12.04 64 bit.
[Android Software/Hacking General [Developers Only]] krzych:
Does this mean it's already able to fetch Fedora needed packages? Fully automagically? :D
[Android Software/Hacking General [Developers Only]] corby2geek:
Just Two Question

Hello can i use this on lubuntu or other ubuntu variant ?

and how to update device list :D
[Android Software/Hacking General [Developers Only]] Ruuhkis:
Thanks for awesome tips!
[Android Software/Hacking General [Developers Only]] nicandris:
i will make it compatible to Arch this Saturday and i will check Fedora also.

yep any ubuntu variants are fine!

The list is already updated but not yet uploaded ;) cheers
[Android Software/Hacking General [Developers Only]] tjubrock:
htc vivid

did you ever try this for the vivid??
[Android Software/Hacking General [Developers Only]] Mr.Mefisto:
Very useful guide! Appreciate hard work!
[Android Software/Hacking General [Developers Only]] Error Unknown:
Cm/aosp dev tips
[Android Software/Hacking General [Developers Only]] Hi1Jason:
it helps me a lot
[Android Software/Hacking General [Developers Only]] spikiller:
Nice HowTo, but what about Gentoo ?

I´d like your Tuts, but what is with Gentoo based distributions ? It´ll be very useful...

Hope to hear anything from you ;)

Best regards
[Android Software/Hacking General [Developers Only]] TheLastSidekick:
Great work, however I do have a question. Is this possible for it to work with a device called the Sidekick 4G that right now happens to be stuck on Froyo?
[Android Software/Hacking General [Developers Only]] spikiller:
Error on Gentoo in repo script

On Gentoo I get this error, can you tell me how to fix?

SyntaxError: invalid syntax

Repo initialized! (Please note that this is gonna take emmmm... SOOOOOOOOME time to complete.

File "$HOME/bin/repo", line 189
except OSError, e:
^
SyntaxError: invalid syntax
Did the repo synchronization completed successfully? (y/n)

Best regards

I figured out that the problem ist python3,if I type

to set system to python2, the repo script is syncing. can you add a function like
[Android Software/Hacking General [Developers Only]] jurben:
hmmm...

so it's just automate the process of getting the source ....

my problem is my slow internet connection. i've never succeeded on getting the prebuilt ... :crying:
[Android Software/Hacking General [Developers Only]] nico9:
nice:good:
[Android Software/Hacking General [Developers Only]] simple80:
And to answer your question, yes I want to build for the Incredible. I know this was originally for the N1 but the scripts are the same and it looks like it would work, except my repo sync isn't right, so the files aren't there....
[Android Software/Hacking General [Developers Only]] Poesini:
And news on Archlinux support?
[Android Software/Hacking General [Developers Only]] orbital_71:
Can this build CM10?

Sent from my LG-P990
[Android Software/Hacking General [Developers Only]] itslels:
Gonna have to try this just to see if I can do it. Thanks!
[Android Software/Hacking General [Developers Only]] desalesouche:
will you add some more devices? or is there a way to add devices?
[Android Software/Hacking General [Developers Only]] miko88:
Can anyone make CM7 for the Viewsonic v350? The source it's on Viewsonic website, I'd appreciate it very much.
[Android Software/Hacking General [Developers Only]] Rangizingo:
Thank you!

Great help, much thanks!
[Android Software/Hacking General [Developers Only]] Butterfly_Effect:
great! thx VERY MUCH
[Android Software/Hacking General [Developers Only]] TechMasta:
Thanks :laugh::good::victory:
[Android Software/Hacking General [Developers Only]] jigu168:
thanks

it is good !!!!!
[Android Software/Hacking General [Developers Only]] simars:
Thanks for This support

Thanks for your suppport it help me to develop some thing
[Android Software/Hacking General [Developers Only]] hoseth0711:
Any chance that Mako could be included in a future update? That would be nice :)

Sendt fra min Nexus 4 med Tapatalk2
[Android Software/Hacking General [Developers Only]] huzz107:
Is padfone2 included?

Huzz

Sent from my PadFone 2 using DroiDevs Premium Plus
[Android Software/Hacking General [Developers Only]] :
Are you gonna make this for cm10.x? That would be awesome!
[Android Software/Hacking General [Developers Only]] exb0:
Don't think it needs to be updated. The way you choose what needs to be build should be server sided, so updating this would have no impact on cm versions.
[Android Software/Hacking General [Developers Only]] :
Oh my mistake, so this tool sets up the build environment for you, you can build whatever version of cm you want?
[Android Software/Hacking General [Developers Only]] exb0:
If I'm not mistaken, yes!
[Android Software/Hacking General [Developers Only]] dicksteele:
You will have to do some mods. This script was written in 2011. Read through it.

First clue is

repo init -u git://github.com/CyanogenMod/android.git -b gingerbread --repo-url=git://github.com/android/tools_repo.git
[Android Software/Hacking General [Developers Only]] Milor123:
Hey dude, I would like learn to compile the CM13 for unsupported device..

I have a mt6582 (4 cores), kernel 3.10.72 with lollipop I want compile the CM13 for my device​

The guides of cyanogenmod page is down... Could someone help me?

[MENTION=1468373]nicandris[/MENTION],
[Android Software/Hacking General [Developers Only]] nicandris:
Cyanogenmod closed down all infrustructure some time ago. The current wiki for LineageOS is here. http://wiki.lineageos.org/pages.html i haven't compiled anything of CM for quite some time, so this is all the help I can contribute, sorry :)
[Android Software/Hacking General [Developers Only]] Milor123:
Thanks dude...

do you want say that cyogenmod will be abandoned?
[Android Software/Hacking General [Developers Only]] sub77:
it is abandoned and called lineageos now.
[Android Software/Hacking General [Developers Only]] drigerott:
problem is htc propretary file

i found the problem:

is htc propretary file!!

open terminal and copy past each line:

wget http://download572.mediafire.com/re62v4d39rgg/9n6dyd1rw9yy8ws/htc.zip
unzip htc.zip
mv ~/htc/ ~/android/system/vendor/htc/

or alternative method:

flash a cm7 nightly, plug your nexus to pc open terminal and:

cd ~/android/system/device/htc/passion/
./extract-files.sh

and then you can repo sync and build your CM7

;)
[Android Software/Hacking General [Developers Only]] nicandris:
thanx! you are a savior! in v2 im using only ./extract-files.sh so it should be fine there. updating the htc.zip in the script for now! :)
[Android Software/Hacking General [Developers Only]] drigerott:
Np nicandris thx you ^^
[Android Software/Hacking General [Developers Only]] nicandris:
updated first post (OP) ;)
[Android Software/Hacking General [Developers Only]] zitseng:
I wonder is there a way to independent know if there are updates to the HTC proprietary files, apart from occasionally comparing with those in the officially distributed CM ROM?
[Android Software/Hacking General [Developers Only]] crachel:
Pretty sure Gingerbread requires x64

https://groups.google.com/group/android-building/browse_thread/thread/852d63ab6124c87e?pli=1
[Android Software/Hacking General [Developers Only]] nocomp:
hummm,

now my phone keep looping bootanimation/ choose language, and when you choose, it reload boot animation..... bricked!

awesome...

any idea how to solve that?
[Android Software/Hacking General [Developers Only]] nicandris:
Yep gingerbread AOSP requires x64... but this is cm7 so 32bit is fine also
[Android Software/Hacking General [Developers Only]] nicandris:
nocomp what didbu do? Wipe and Flash a new rom.
[Android Software/Hacking General [Developers Only]] redstar3894:
Well, the proprietary files will usually be updated whenever there is an official build released by Google, so you could just go off of that...

Ah, that's what I thought.... haven't tried AOSP builds in a while, but I know when I set up one of my build VMs it was 32-bit and it's worked fine... :rolleyes:

Thanks for clarifying... :)
[Android Software/Hacking General [Developers Only]] zitseng:
@redstar3894 thanks! That seems like the best way to go. :)
[Android Software/Hacking General [Developers Only]] ch33kybutt:
Thanks to drigerott's advice to run extract-files.sh to copy proprietary files off the phone, finally able to get a successful build.

It's nice to have my "skip track on long-press of vol-up" back again :)

Question:

What's the difference between running "breakfast", "brunch" or "lunch"?

~ Edit ~

No one answered and googling came up with nada, so I had a closer look at build/envsetup.sh ...

- breakfast : only for official CM supported devices [eng builds]

- lunch : for official CM devices, simulator and other non-CM devices [eng and userdebug builds]

- brunch : breakfast + make bacon (optimized with schedtool and ionice)
[Android Software/Hacking General [Developers Only]] redstar3894:
Cool! Thanks for researching! :p

I remember building CM wayyyy back in July and using 'make bacon' or something similar... I always wondered what the difference was... :p

I like the naming conventions though... IRL, brunch really is the "best of both worlds"... :p
[Android Software/Hacking General [Developers Only]] ch33kybutt:
Anyone else having problems building now? I'm stuck at ... Fetching projects: 98% (222/226)
[Android Software/Hacking General [Developers Only]] nicandris:
checking now (btw i have 227 projects not 226)

*edit* builded successfully
[Android Software/Hacking General [Developers Only]] drigerott:
me too 227 and repo sync perfectly ;) just build n1 and ns rom ^^
[Android Software/Hacking General [Developers Only]] ch33kybutt:
Just tried again and had a successful repo sync, but still only 226 projects. Will let the script continue and see if it builds successfully.
[Android Software/Hacking General [Developers Only]] ilos:
just build and have 227 projects

build a few minutes later and now i have 226 projects too
[Android Software/Hacking General [Developers Only]] nicandris:
ok ok 226 projects now two :P

Btw, v2 is almost done... gonna need testers
[Android Software/Hacking General [Developers Only]] ilos:
you have testers on your thread , let's go :D
[Android Software/Hacking General [Developers Only]] drigerott:
i can test nicandris ;)
[Android Software/Hacking General [Developers Only]] nicandris:
do you guys have to do the udev thing when in a new installation to recognize the device?

http://developer.android.com/guide/developing/device.html ??

http://wiki.cyanogenmod.com/index.php?title=Udev
[Android Software/Hacking General [Developers Only]] ilos:
i use a dedicated server to make my build , not my computer
[Android Software/Hacking General [Developers Only]] nicandris:
well in v2 you have to connect your device to get the proprietary files since i don have the files for the other devices (i only own a N1). i will put an option to download them if needed but only for n1 for now
[Android Software/Hacking General [Developers Only]] drigerott:
ok nic ^^

i pull proprietary files using cm7 rom and editing extract-file.sh

instead of "adb pull" i use "cp"

i did like this for nexus S build
[Android Software/Hacking General [Developers Only]] crachel:
I successfully installed adb and ran "extract-file.sh" to pull proprietary files off the phone from my Ubuntu server. Be sure and start the adb daemon with sudo. The Android developer site explains it all pretty well
[Android Software/Hacking General [Developers Only]] ilos:
i'd just removed htc file and done that :

In a terminal paste:

cd ~/android/system/vendor/htc/

wget http://dl.dropbox.com/u/6751304/htc.zip

rm -fr ~/android/system/vendor/htc/

unzip htc.zip

builds are ok now on my server
[Android Software/Hacking General [Developers Only]] Know-Fear:
This is probably a simple question with a simple answer that I am just overlooking, but...

When I run the build.sh file, it starts out fine. The repo sync happens, fetching (xxx/xxx), but then it stops and the terminal closes. If I run each line of the script solo, they all work correctly and my update is where it should be when finished. I don't get it.

EDIT: I figured it out. My ADB wasn't recognizing my phone since I didn't set the udev information.
[Android Software/Hacking General [Developers Only]] nicandris:
;) just finished udev for most devices in the new script (v2). will post an Alpha tonight for you guys to check it.
[Android Software/Hacking General [Developers Only]] ch33kybutt:
Your phone doesn't need to be connected in order to run build.sh. Must be something else causing the problem. Here's the build.sh I am using now for your reference. You'll have to replace my paths to your own (e.g. ~/cyanogenmod to ~/android/system)

#!/bin/bash
#

START=$(date)
cd ~/cyanogenmod/
repo sync
make clean
cp ~/cyanogenmod/vendor/cyanogen/products/cyanogen_passion.mk ~/cyanogenmod/buildspec.mk
~/cyanogenmod/vendor/cyanogen/get-rommanager
. build/envsetup.sh
lunch cyanogen_passion-eng
make -j4 bacon
if [ -e ~/cyanogenmod/out/target/product/passion/update*.zip ]
then
cp ~/cyanogenmod/out/target/product/passion/update*.zip ~/host/n1/rom/ch33ky-cm7-N1-$(date +%F-%H%M).zip
echo ""
echo "[ Build STARTED : $START ]"
echo "[ Build SUCCESS : $(date) ]"
echo ""
echo "[ Recovery zip : ~/host/n1/rom/ch33ky-cm7-N1-$(date +%F-%H%M).zip ]"
echo ""
else
echo ""
echo "[ Build STARTED : $START ]"
echo "[ Build FAILED : $(date) ]"
echo ""
fi
[Android Software/Hacking General [Developers Only]] Know-Fear:
Great! I can't wait to try it out. It's weird with my ADB. It works fine. However when I do adb devices, it still doesn't list my phone like it should. It just says:

kenny@desktop:~$ adb devices
List of devices attached
device

kenny@desktop:~$

But as I said, everything works correctly. I have never seen this before.

kenny@desktop:~$ adb remount
remount succeeded
kenny@desktop:~$ adb shell
#
kenny@desktop:~$

And as I edited the last post that all was working fine, the script stopped working after the first run. Now when I run it, it crashes out again after fetching items. Line by line still works, so I have just been doing it that way until v2 came out.

I appreciate all the work you are putting in to this for everyone to use.