yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] morrisdan:
I flashed the EasyDev-v5 generated ROM and it is working perfect. I did a clean wipe just for kicks but I assume is not needed.

If you let Google Backup your applications and do both Backups in ADW there is hardly any work to do after doing a clean wipe.

Kind of an interesting thing. I have not been flashing the Google Applications because Google Backup is backing up my Applications and restoring them. Including Market, GMail, etc. So it seems like I'm staying at the latest by not flashing the GApps. I could be wrong but have been doing this way for a couple months.
[Droid Eris Android Development] paperweight:
compiling with custom .apks

Success! - v5 produced rom loaded and running great - Can anyone explain in what folders etc. I would place my created .apks so they are compiled in also.

Thanks again for the time and effort you guys put in!

-paperweight
[Droid Eris Android Development] workshed:
Sure, put the .apks you want to add in vendor/cyanogen/proprietary

Then edit the cyanogen_desirec.mk with the full paths to the .apk's & where there will go in the rom... this line is at the bottom...

PRODUCT_COPY_FILES += \

vendor/cyanogen/prebuilt/mdpi/media/bootanimation.zip:system/media/bootanimation.zip

You'll need to add a line for each .apk you want to add. Then end each line with 1 space then "\" without the quotes... except for your last entry, don't add a space or a "\"

Really, you can put the .apk's anywhere, as long as you edit cyanogen_desirec.mk to point to where they are.

Hope this helps, good luck!
[Droid Eris Android Development] jore13:
just a quick question, how long does compiling usually take? ive never done any kind of compiling before so this is new to me, i just want to know what to expect.
[Droid Eris Android Development] workshed:
Depends on your machine. I have a triple core running @ 2.4gHz and if I do a "make clean" takes about 45mins to finish the compile. If I don't do a clean make, and compile from a previous build, it takes like 5 mins.

EDIT: and 4 gigs of 6400 ram.
[Droid Eris Android Development] jore13:
ok thanks.
[Droid Eris Android Development] roirraW "edor" ehT:
This is interesting. I was under the impression that without flashing GApps that nothing related to Google could be done, including entering your Google account info to synchronize contacts, calendar and email. Hmph. I'll have to try it.

I'll probably wait to try EasyDev now until it can add in what Conap referenced is necessary for Froyo-native A2SD to work with the CFS kernel, because I really need it but I don't want to use the old A2SD because I don't want all of my apps to run from the slower SD card.

I may try what you are referring when I flash CELBFroyo v3.9.
[Droid Eris Android Development] Conap:
As far as the froyo apps2sd the script will already be in there when building with easy-dev since it uses my vendor tree and all that is built into the tree. I am not sure google is restoring the market...there was a script in cm that backs up your gapps before the script formats and reinstalls the new rom and then it restores those gapps. This is probably what is happening on here although I haven't done alot of testing on this I usually just flash the gapps when i flash.
[Droid Eris Android Development] workshed:
BTW: cyanogen_desirec.mk will be in vendor/cyanogen/products ... just in case you have a hard time finding it, I forgot to mention.
[Droid Eris Android Development] morrisdan:
How can I automate this section:

Your Name [root]:

Your Email [root@dan-desktop.(none)]:

Your identity is: root <root@dan-desktop.(none)>

is this correct [y/n]? y
[Droid Eris Android Development] roirraW "edor" ehT:
Oh, great news! Thanks!

Okay, that makes more sense then, regarding GApps auto-restoring. Well I might see if CM might do the job for me then since some GApps normally needs updated anyway. :)
[Droid Eris Android Development] hoban_eris:
thanks again...

"v3 - uses existing ROM to pull proprietary files, renamed to 'easydev' for case insensitive linux admins"

haha...thanks for taking my suggestion. Don't you mean that it's been renamed for case *sensitive* linux admins though? ;)
[Droid Eris Android Development] gnarlyc:
Yes. You are correct, kind sir. OP has been updated...

:)
[Droid Eris Android Development] gnarlyc:
So... What features would you all like to see added to this?

1) make it more friendly to Fedora, SUSE, Mac, Cygwin, etc.?

2) a place to just put apps, so they are automatically added to the ROM?

3) a slim option similar to 'LowFatYogurt' -> http://xdaforums.com/showthread.php?t=743721 ?

4) make it into a plugin for dsixda's kitchen, so that the resulting ROM just drops into the original_update folder?

Any ideas are welcome.

Some things just aren't needed and/or are already implemented in the kitchen. And CM6 is already solid...
[Droid Eris Android Development] roirraW "edor" ehT:
I would vote for #2.

FYI, I still haven't gotten this working for me. :( I'm currently running it again while redirecting the output to log.txt so that I can show what goes wrong and get input. Should I attach the entire log to a message here, or should I pick out what seems to fail as far as I can see?
[Droid Eris Android Development] Conap:
usually if you go back about 30 lines it will capture what it failed on or at least give us a good idea....how exactly is it failing? does it give any output when it fails?
[Droid Eris Android Development] hoban_eris:
Just a note, rather than redirecting all output (e.g. easydev-v5.sh > outfile.txt), try using tee instead so interacting with the script is easier (e.g. easydev-v5.sh | tee outfile.txt)
[Droid Eris Android Development] hoban_eris:
What I'd like to see.

1 - should be easy, I've got it working on arch linux with little work. Just list on the front page what the dependencies are and let people figure out how to install them, no need to support all distros. (if you want to list individual package manager commands, leave those on the post, not inside the script to keep your script logic down)

2 - meh, I don't personally care, I've got titanium backup for that...

3 - Yeah!

4 - I'm personally indifferent here, this works great standalone for me but having it integrated would be fun too I guess.

other - I'd like to see othe "good bits" from other roms make their way in, (e.g. fixes from kaos/conap/other roms, speed tweaks, things that generally help our little Eris work better that seem to be spread amonst different roms out there.

Please! - Oh, and for the love, why does the camera suck on every Froyo rom? What's with the radio issues where signal drops, etc. (Please don't suggest a different radio, I've flashed them all and currently run the latest, this is a Vanilla android issue that I haven't experienced on any rom based off the HTC stock image (also, no I'm not talking about signal strenth bars showing up differently, I'm talking about actual dropped signal in the middle of a call for a few moments, dropped signal when you start hitting the 3g network, etc.)

I'd love to see those fixes integrated.

Thanks a ton for your work fellas.
[Droid Eris Android Development] Conap:
As for the radio issue...someone posted in my thread and I encouraged him to make a separate thread for more testing but I don't believe it was ever done. The user seemed to have come to the conclusion that if he went to settings/wireless network settings/mobile networks/ and enabled national data roaming(which i don't think incurs any extra charges on verizon but i guess you should check your plans) that the temporary dropped calls stopped. This made sense to me because if you notice when you switch from 3g to wifi you will notice the bars for phone signal drop for a few seconds. I believe that what is happening is people in certain areas have their phone thinking they are going into roaming and the phone attempts to disable data to prevent it from roaming which in turn momentarily shuts off your phone signal causing the few moments of dropped call. This explanation would also explain why it only happens to certain people(never has happened to me) because it would depend on what towers you are hitting. Even if you are in a good coverage range sometimes these custom roms will think you are roaming. I would encourage anyone with the issue to try this. If enough people could verify it was fixing the problem it would probably be easy enough for someone to track down the actual problem in the code.
[Droid Eris Android Development] roirraW "edor" ehT:
I have still had this temporary dropped call problem occur just as frequently on CELBFroyo 3.6 with this "fix". And most of the time I'm in my apartment on the phone for hours when it happens, and it sometimes happens more than once during these extended phone calls.

Just as has been described before: the phone looks and acts like the call was dropped, I can hear nothing but the other person can hear everything, and then after several seconds everything is back to normal.

Thanks hoban_eris and Conap for the suggestions. hoban_eris, I've noticed what you're talking about so I'm glad there's a way around it.
[Droid Eris Android Development] roirraW "edor" ehT:
@Conap, is this the thread that he might have created http://xdaforums.com/showthread.php?t=861075?
[Droid Eris Android Development] Conap:
yep that's it...i always forget there is a non-development thread lol
[Droid Eris Android Development] gnarlyc:
There are lines throughout the script that I have used for debugging.

#read -p " Press enter to continue "

I would remove the '#' in front of each these and run the script. It just makes it easy to figure out at what point the first error is, which makes it much easier to troubleshoot.
[Droid Eris Android Development] gnarlyc:
I really like the way that dsixda has his kitchen working on Linux/Mac/Windows(cygwin). We are compiling code here, so it might be a little more difficult to get it working under cygwin. I don't know though. I could be wrong. I've compiled several small programs with it.

Well, I'm sure that Conap and Workshed can fill me in on those secrets sometime. :)
[Droid Eris Android Development] roirraW "edor" ehT:
Okay, I'll re-run it after modifying the script. In the meantime, I'm going to go ahead and include the logfile I just generated.
[Droid Eris Android Development] gnarlyc:
Wow. I got nothing. That log is clean and it just dies. Can you get an 'ls' of "/EasyDev/CM6/out/target/product/desirec" ? Maybe check and see if the proprietary files made it into the system folder in there. I suspect that there's no ROM, but there might be a system folder.

I dunno from that.
[Droid Eris Android Development] Conap:
yeah i was gonna say the same thing...it just dies...although i have seen this happen a few times...you could try running it again without doing the make clean option to see if it continues....
[Droid Eris Android Development] roirraW "edor" ehT:
There's the contents of the desirec folder.

clean_steps.mk
obj
previous_build_config.mk
root
system

I'll check for the proprietary files.

I'm still in the process of the very first run with the "debug" options enabled. I'll choose not to "make clean" this time around and see what happens. I think I've done that once though and no luck, but I want to be sure that all the other conditions were identical.

I'll upload the new log file as well since it'll include the debug output.
[Droid Eris Android Development] roirraW "edor" ehT:
I don't have a new log with the debug info to post yet, but there is nothing in the desirec/system folder except the etc folder and build.prop.
[Droid Eris Android Development] gnarlyc:
The 'adb not found errors are normal. That's just because extract-files.sh still needs to run to do some setup even though you are not pulling the files from a running phone. The other error was my fault. That line should not have been in unzip-files.sh in the vendor tree. That's been fixed now. I'm not sure how me and other people could get it to work with that line and you not though.

I've made that change to the vendor tree, and I'm going to download v5 from the post and start with a fresh folder. This is just in case the copy that I was using didn't match with the posted copy perfectly. Sometimes there are last second changes. It's usually just comments and echos and shouldn't matter, but you never really know.

Maybe you should start with a fresh folder also?

Oh yeah... I've used CELBFroyo v3.7 every time that I've run it. I'll try a different ROM also. :)
[Droid Eris Android Development] roirraW "edor" ehT:
Okay, I'll start with a fresh folder. I was trying to avoid it because tethering is my only internet right now and it took about two days, and many interruptions, to get it downloaded. LOL, but it doesn't matter to me, it's just time, not like I have to be in front of the computer for most of it.

Which brings me to a question. If my internet gets interrupted and/or even when I restore the internet the script seems hung up (this behavior happens with many other internet-related things when tethering gets interrupted and then restored), is it okay to Control-C out of the script and start it over? I would think so because the purpose of the synchronization is to check to make sure the files match, so it should correct anything not completed, right?

Thanks!
[Droid Eris Android Development] workshed:
Yes, you're correct. But some times it can have issues, especially if you have such an unstable internet connection. Is there anyway you can sync on a solid connection and see if that "cures" any of your building issues? It still is possible that something is being corrupted during sync/dload.
[Droid Eris Android Development] roirraW "edor" ehT:
No, there's just no possibility available to me just yet, anyway. Maybe soon. If it doesn't work, oh well, I'll probably quit trying until/if I do get a more stable internet connection.

Thanks, workshed.
[Droid Eris Android Development] workshed:
No problem, I hope we can help you get it going. Good luck.
[Droid Eris Android Development] onedementedsmurf:
This is a totally rad concoction you guys have here, I just compiled my ROM and did a full wipe and flashed it works awesome, just one question though... Why don't I have Market? Same with Gmail... I did compile it with the Google apps which I'd assume these are a part of. :confused::confused:

P.S. I used CELBFroyo 3.9 for the proprietary stuff.
[Droid Eris Android Development] workshed:
when you flash gapps, it removes some files in the rom. if you haven't added all the necessary files from the gapps package, this will happen. Most likely it's the permissions file for google maps and such that are missing or not being compiled with it for some reason.

Grab gapps-mdpi-20101020-signed.zip and flash it in recovery to test this theory....

http://cyanogenmod-mirror.local.host.name/gapps/
[Droid Eris Android Development] onedementedsmurf:
Ok I'm trying that now.

One other question while I'm at it, what are the major differences between BFS and CFS kernels? I can't seem to find any information about either anywhere.
[Droid Eris Android Development] roirraW "edor" ehT:
From what I read about them before, BFS very much prioritizes the performance of whatever one task you have currently active, and everything else is low priority.

CFS is supposed to play much nicer with several things going on at once, although it has several governors available that you can switch in between which also has an effect on this.
[Droid Eris Android Development] workshed:
CFS is more for stability, BFS would be for speed at the cost of some instability.

Indepth explanation can be found here... http://www.cs.unm.edu/~eschulte/data/bfs-v-cfs_groves-knockel-schulte.pdf

EDIT: roirraW "edor" ehT explained it perfectly.
[Droid Eris Android Development] onedementedsmurf:
Done, now I have everything again, thanks!

Thanks for the explanation it was very helpful :)

Another question... Is it possible to change which launcher is installed? For instance have Zeam Launcher rather than ADW Launcher? I know I can just install via the market but then after every update I have to re-set the default which can get annoying lol
[Droid Eris Android Development] workshed:
An easy way would be to open up your rom after you build it, delete ADW launcher from system/app and then add the Zeam Launcher apk to system/app and then re-sign it... but you'd have to do that after every build. If you want it to compile without ADW & use Zeam instead, you'd have to edit some build files.
[Droid Eris Android Development] onedementedsmurf:
Quick editing or long-complex-not-worth-it editing? lol
[Droid Eris Android Development] roirraW "edor" ehT:
You can also use Root Explorer or something similar to delete ADW or any other launcher from your running phone in the system/app folder as Workshed mentioned. I'd probably prefer Workshed's suggestion, though, to delete ADW and add my own launcher in before flashing it.
[Droid Eris Android Development] morrisdan:
Anyone getting the below message? I have not changed my script which was working great. I wonder if something changed our in GIT land. Same message with a fresh directory.

HOST_BUILD_TYPE=release

BUILD_ID=FRG83

============================================

Checking build tools versions...

build/core/binary.mk:29: *** external/stlport: ndk version root does not exist: prebuilt/ndk/android-ndk-r4/linux/platforms/android-8/arch-arm. Stop.

/home/dan/Desktop/Android/EasyDev/CM6/out/target/product/desirec/cyanogen_desirec-ota-eng.root.zip doesn't exist!

Your ROM should be in /home/dan/Desktop/Android/EasyDev/CM6/out/target/product/desirec
[Droid Eris Android Development] gnarlyc:
I have been having issues syncing the repo since yesterday. We might have to be patient for a day or two...
[Droid Eris Android Development] morrisdan:
Right on, just making sure it was not just me.

Do you know how I can automate the script for when it hits this section?

Your Name [root]:

Your Email [root@dan-desktop.(none)]:

Your identity is: root <root@dan-desktop.(none)>

is this correct [y/n]? y
[Droid Eris Android Development] icbeer:
Might have something to do with Gingerbread source being released yesterday.
[Droid Eris Android Development] gnarlyc:
Probably. I never could get it to finish syncing either.
[Droid Eris Android Development] icbeer:
I finally got the sync to complete and got the same error. I will look at this in a bit when I get done baking Gingerbread cookies and eating Froyo and cupcakes.
[Droid Eris Android Development] gnarlyc:
No. I've wondered myself, but have never been motivated enough to try and figure it out.
[Droid Eris Android Development] gnarlyc:
Ha!

'-b froyo-stable' seems to work... Testing now.

EDIT: Jumped the gun a little. It still errors out, but 'froyo-stable' is an option. SO... That pretty much answers a previous question about current and stable code. When things settled down, we should be able to add more options to EasyDev as far as versions of code.
[Droid Eris Android Development] workshed:
YAY! :D lol
[Droid Eris Android Development] icbeer:
Thanks dude. There were several errors in the make files of the nightly branch that broke the build. I tried fixing some of the them, but it was like playing whack-a-mole. I'll try starting fresh with the stable branch today and see how that goes.
[Droid Eris Android Development] gnarlyc:
They are still there. I'm giving up for the day or maybe week. I'll just let things settle.
[Droid Eris Android Development] icbeer:
I'm going to try pulling gingerbread from AOSP and see how that goes.
[Droid Eris Android Development] workshed:
Gnarlyc for Vice President! ;) lol
[Droid Eris Android Development] icbeer:
Gingerbread nfo for devs:

http://xdaforums.com/showthread.php?t=877538
[Droid Eris Android Development] icbeer:
I'll vote for him if he runs with Mickey Mouse.
[Droid Eris Android Development] workshed:
... ugh, looks like I'm going to have to start my NancyGingerBoyBread build... lol ;) I don't wanna though!

Oh wait, I forgot... It's more cool & edgy looking :rolleyes:
[Droid Eris Android Development] workshed:
... who cares about a working camera?... lol ;) I should hold off I think :D
[Droid Eris Android Development] icbeer:
Oh **** repo just finished syncing...
[Droid Eris Android Development] icbeer:
Is that one of the problems Kaos was having? I assume he ported the SDK binaries to the Eris. Perhaps compiling from source will produce a better result.
[Droid Eris Android Development] icbeer:
I was thinking about "Martha Stewart's Gingerbread ROM". I'd probably hear from her legal department if I did that. Or more likely one of her prison buddies would show up on my doorstep one day and educate me.
[Droid Eris Android Development] icbeer:
Bastards! They are requiring a 64-bit build environment in the make file for Gingerbread. Now I gotta build a new virtual machine before I can continue with this.

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=2.3.1

TARGET_PRODUCT=generic

TARGET_BUILD_VARIANT=eng

TARGET_SIMULATOR=

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

HOST_ARCH=x86

HOST_OS=linux

HOST_BUILD_TYPE=release

BUILD_ID=GINGERBREAD

============================================

Checking build tools versions...

build/core/main.mk:76: ************************************************************

build/core/main.mk:77: You are attempting to build on a 32-bit system.

build/core/main.mk:78: Only 64-bit build environments are supported beyond froyo/2.2.

build/core/main.mk:79: ************************************************************

build/core/main.mk:80: *** stop. Stop.
[Droid Eris Android Development] workshed:
Well that's not nice, and here I thought I was being smart when I installed the 32-bit version of Ubuntu... ****s! :D
[Droid Eris Android Development] hoban_eris:
git config --global user.name "Your Name"

git config --global user.email "you@youremail.com"

That *should* be all you need to do with working with git but the AOSP "repo" script that automates the git-fu doesn't seem to be using --global configuration options. I'll look into it more when I have some time (at work now) but that should get you started.
[Droid Eris Android Development] icbeer:
I felt the same way when I create my 32-bit virtual machine. When I first started out I was using VMware which I prefer, but I couldn't get bridged networking to work and the NAT networking causes repo to stop every minute so I imported the hardrive into VirtualBox and was so proud that it worked that I did the repo sync for a couple hours only to discover that it was useless. Luckily it wasn't hard to mount the 32 bit VM hard drive and copy the files over to a new VM.
[Droid Eris Android Development] icbeer:
You da man!
[Droid Eris Android Development] workshed:
Nice, I may have to try vm now, because I'm multibooting Ubuntu, Win7 & WinXP (old audio recording equipment I still need to use) and don't really feel like reinstalling everything internally.

But, I don't like waiting hours to compile lol. Damn them and that 64-bit requirement ... do you know If I should be able to install 64-bit ubuntu over what I have? Seems like it should work, but I bet it won't :D
[Droid Eris Android Development] workshed:
Hey, is anyone still seeing this error on make otapackage?
[Droid Eris Android Development] workshed:
Anyways, to pass this on, if you're still seeing that error when you "make otapackage -j4" or whatever -j you use... you need to create a folder named "linux" inside prebuilt/ndk/android-ndk-r4/ and move the folder "platforms" to the linux folder you just created.

If you look at the errors directory structure, you'll see prebuilt/ndk/android-ndk-r4/linux/platforms/android-8/arch-arm

But when I looked, there was no linux folder, cm change?

Now, I'm not sure if this was a mess-up when I repo sync'd or not, but I had to do this to get past that error. So I'm sharing this info incase it keeps happening for anyone else.

I'm not using this script btw, just to note.
[Droid Eris Android Development] gnarlyc:
OR as conap pointed out to me... Just edit: build/core/binary.mk:29 and remove the 'linux/'.
[Droid Eris Android Development] workshed:
Well, I didn't see that info posted.