yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] tom0769:
Synced with your repo an now I'm trying to build the rom. The process starts as follows:

thomas@tomtom:~/android/ezGingerbread$ make -j3 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4-ez
TARGET_PRODUCT=full_sapphire
TARGET_BUILD_VARIANT=userdebug
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: "frameworks/base/frameworks/base/docs/html": Datei oder Verzeichnis nicht gefunden
find: "out/target/common/docs/gen": Datei oder Verzeichnis nicht gefunden
...

After ~10 min the process ends with an error:

...
external/bluetooth/bluez/src/adapter.c: In function 'adapter_up':
external/bluetooth/bluez/src/adapter.c:2444: warning: implicit declaration of function 'read_device_pairable'
external/bluetooth/bluez/src/adapter.c: In function 'adapter_start':
external/bluetooth/bluez/src/adapter.c:2540: warning: implicit declaration of function 'read_device_mode'
make: *** [out/target/product/sapphire/obj/SHARED_LIBRARIES/libbluetoothd_intermediates/adapter.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
thomas@tomtom:~/android/ezGingerbread$

Looks like there's something wrong with the path when executing make.

Surely I did miss something:confused:
[G1 Android Development] AndDiSa:
Did you extract the native libs?
[G1 Android Development] tom0769:
I must admit i'm an absolute noob to android.

I'm used to build software for smaller embedded systems controls like home appliances and and some times ago blood pressure meters and stuff.

I just wanted to get in touch with this and followed the steps in the 1st post.

I'm working with ubuntu 10.04.

I installed adroid sdk with sdk plattform api 10.

I installed the packages mentioned in the 1st post.

I synced repo and extract the proprietary files from latest binary 20110716.
[G1 Android Development] AndDiSa:
When you follow the 1st post, everything should be fine. I am working on Ubuntu 10.04, too, and there are no problems at all. You must have missed something when installing, or syncing was not complete (this happened to me several times, too) or ... did you probably run out of space on your harddisk while compiling?
[G1 Android Development] tom0769:
Thank you for your patience.

I was running out of memory space in my home partition when I was first syncing repo.

Didn't expect it to be that much data:rolleyes:

I enlarged my home partition and synced again.

Maybe I spoiled something up when the 1st sync failed.

I'll try this evening again.

Should I do some manual actions like deleting something before?

Edit:

Tried 3 times from scratch without success.:(

Maybe I try it tomorrow after deleting whole android directory.
[G1 Android Development] newellj79:
Last night I finally got setup to build cm7 for nook color. In the next couple days I hope to compile ezgingerbread for my g1 too.
[G1 Android Development] sisterchick:
That's pretty cool. Congratulations! I'm enjoying the Nook Color as a companion to my EZGingerbread G1 too.
[G1 Android Development] newellj79:
Terry, later this week I may try to start building from source. I already have it going for my nook color. I'm curious though, do you release a update everytime you make changes, or just periodically? What I'm getting at is, is it pointless to build myself when I can just download your releases? Thanks.
[G1 Android Development] ezterry:
I release changes to github as they are tested,

I release builds once I test all the changes in my local trees and ensure I'm in sync with my public code. (Currently by checking out the beta checkpoint manifests)

At current nothing has changed since the july 16th release, [I took last weekend off from android hacking] also I'm unsure how much if any work will be done over the next 2 weeks.. Even if I work on the rom its unlikely unless its very pressing that I'll make a build before mid aug.

In general building is for those that want to tinker with the code or help provide patches.
[G1 Android Development] vermaekansh:
What about the battery drain issue witht eh altest kernel 1.5

I am still to flash the altest 16july build over this weekend still having the last build working with the 1.4 kernel.
[G1 Android Development] newellj79:
Gotcha, than you.
[G1 Android Development] newellj79:
Just upgraded to ads 7/22. Ezgingerbread settings still doesn't work. Was a solution other than full wipe ever discovered? If not, is a full wipe pretty much a guaranteed solution? Thanks.
[G1 Android Development] ezterry:
fix the keys manually in the packages.xml?

maybe if you just delete the platform key entry (key refered to by "Settings.apk" it will work)

this is only a problem that did not manage to cleanly update to the new platform key (started use in the last alpha, and same new key used in all the betas) .. in some cases the key didn't update but the applications stayed installed.. however the new application is using only the new key, and confusing a system that thinks the old key is still in use.

Easiest is to wipe.. then if you want restore /data/data manually + fix_permisions go ahead if you have the linux knowledge to do so.. or to kill packages.xml .. and be ready to restore some system settings from backups or manually. Either way backup before you begin.
[G1 Android Development] AndDiSa:
One hint: I suggest you to wipe. I've had the same problem some weeks ago and removed packages.xml, settings.db, ...

It's almost like a wipe, but some more work to do.
[G1 Android Development] vermaekansh:
+1

Flashed the latest 0716 build 2 days back....and i dont know how but i am getting excilent battery life...

Last nite I just charged the to 58% only and went to sleep (11:30PM IST) woke Up at 8:30AM IST and battery was 33%... dont wask me how, also i didint change anythng also using the same kernel 1.5 default with this rom...

+1 for the rom...hoping to get more results like this in future :)

EDIT: Please update the Power control widget just like in COS-DS(though we are getting the one in Notification bar.
[G1 Android Development] newellj79:
Thanks, Terry too. Will probablly wipe later this week.
[G1 Android Development] anddep:
I have abandon Froyo by Laszlo and went to ADS_magpie. This rom is running perfectly for ginger. Thanks EZginger team
[G1 Android Development] newellj79:
Did a full wipe. Everything running good now.
[G1 Android Development] dudanko:
location bug?

I`ve flashed 20110716 version and I have problem with location. I don`t mean gps, but the simple loacation from the network signal. Phone writes everytime that "your current location is temporarily unavailable" . So the news, weather and other apps like those can`t work, also using google maps is less confortable.
[G1 Android Development] Telemaniaka:
I had the same problem and also slow download speed and some other problems that got resolved when I changed to the 2.22.28.25 Radio

Not sure if it'll work for you but you should try.
[G1 Android Development] azrash:
andDiSa, i am stuck in a weird situation. coming from FBL i superwipe twice, then i flashed the latest ADS. once im all booted up, i went to option to enable sd-ext. and i power it off, when i power it back on, it is stuck on the first part of the bootanimation for a long time.

2nd time i tried, i started from scratch, flashed nbh first, and radio spl recovery just to make sure things are fine. i even partitioned the sd card thru recovery. sadly, the same thing happen when i enabled sd-ext n power it on again.

is there anyway we can solve this? i can give you any extra info needed. thanks!

the battery percentage is what made me wanted to move on from FBL =P
[G1 Android Development] AndDiSa:
@Telemaniaka: The problem seems to be related to a-gps or an empty WLAN location database. Try to enable WLAN and after a short while the location will be found again.
[G1 Android Development] AndDiSa:
Initial boot can take a while, especially if you have installed many apps. You can protocoll the startup while having your phone connected to USB and running

adb logcat

.

Another hint: try to clean dalvik caches, especially /data/dalvik-cache and /sd-ext/dalvik-cache.

If these hints do not help you, please provide me with a logcat from the boot.
[G1 Android Development] tom0769:
I'm still trying to compile this rom and did not succed so far.

Here's how the build process ends after ~45 min.

target Java: Nfc (out/target/common/obj/APPS/Nfc_intermediates/classes)
libelfcopy: Warning: DW_FORM_data8 is unsupported when sizeof (unsigned long) != 8
libelfcopy: Warning: Range lists in .debug_info section aren't in ascending order!
libelfcopy: Warning: Range lists in .debug_ranges section start at 0x590
Copying: out/target/common/obj/APPS/SpeechRecorder_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Quake_intermediates/classes-jarjar.jar
target Java: Tag (out/target/common/obj/APPS/Tag_intermediates/classes)
packages/apps/Nfc/src/com/android/nfc/NfcService.java:1792: <anonymous com.android.nfc.NfcService$9> is not abstract and does not override abstract method unregisterTearDownApdus(java.lang.String) in android.nfc.INfcAdapterExtras
private INfcAdapterExtras mExtrasService = new INfcAdapterExtras.Stub() {
^
packages/apps/Nfc/src/com/android/nfc/NfcService.java:1908: method does not override or implement a method from a supertype
@Override
^
Note: packages/apps/Nfc/src/com/android/nfc/RegisteredComponentCache.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
make: *** [out/target/common/obj/APPS/Nfc_intermediates/classes-full-debug.jar] Fehler 41
make: *** Warte auf noch nicht beendete Prozesse...
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java:85: method does not override or implement a method from a supertype
@Override
^
frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java:94: method does not override or implement a method from a supertype
@Override
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
make: *** [out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/javalib.jar] Fehler 41

In general there are many notes as

Note: Recompile with -Xlint:deprecation for details.
...Note: Recompile with -Xlint:unchecked for details.

in the whole build process.

My 1st problem was that my home partition was too small.

Maybe there should be a hint in the 1st post that there should be at least 10GB free memory space.

I enlarged my home partition to ~20GB, deleted the whole android directory and again followed the steps from the 1st post.
[G1 Android Development] azrash:
Awesome Rom

my bad, the main problem was my mtd was 1mb too small for the rom+gapps. added 1mb instinctively and saw .2mb left for system's partition :p

been using it for half an hour and im really impressed! well done ezterry, AndDiSa, roalex and other contributors :D
[G1 Android Development] hrk:
Those are simple warnings, no effect at all on build errors. Just disregard them entirely.

As a sidenote: are you compiling this on a Nexus S? The error happens during compilation of NFC stuff...
[G1 Android Development] tom0769:
No I'm compiling on a lenovo notebook with 32-bit ubuntu 10.04.

The build process always starts with

thomas@tomtom:~/android/ezGB$ make -j3 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4-ez
TARGET_PRODUCT=full_sapphire
TARGET_BUILD_VARIANT=userdebug
TARGET_SIMULATOR=false
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...
find: "frameworks/base/frameworks/base/docs/html": Datei oder Verzeichnis nicht gefunden
find: "out/target/common/docs/gen": Datei oder Verzeichnis nicht gefunden
find: "frameworks/base/frameworks/base/docs/html": Datei oder Verzeichnis nicht gefunden
find: "out/target/common/docs/gen": Datei oder Verzeichnis nicht gefunden
find: "frameworks/base/frameworks/base/docs/html": Datei oder Verzeichnis nicht gefunden
find: "out/target/common/docs/gen": Datei oder Verzeichnis nicht gefunden
find: "frameworks/base/frameworks/base/docs/html": Datei oder Verzeichnis nicht gefunden
find: "out/target/common/docs/gen": Datei oder Verzeichnis nicht gefunden
find: "frameworks/base/frameworks/base/docs/html": Datei oder Verzeichnis nicht gefunden
find: "out/target/common/docs/gen": Datei oder Verzeichnis nicht gefunden

Does this mean something or can it be ignored?

Anyway will now try another build.......
[G1 Android Development] hrk:
... sorry man, I meant "FOR a Nexus S" when I typed "ON a Nexus S".

Don't mind those messages.
[G1 Android Development] tom0769:
No, I compile for sapphire and it failed again:(

Anyway thanx for your attention:)
[G1 Android Development] AndDiSa:
do an

rm -r packages/apps/Nfc

and it will compile. Nfc isn't much usefull for G1, to don't care.

There will be another little problem. I don't remember exactly where it was, but you need to remove only the "@override" lines in the code and everything will compile fine.

EDIT:

It's exactly the two lines below:

frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java:85: method does not override or implement a method from a supertype

@Override

^

frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeRenderSession.java:94: method does not override or implement a method from a supertype

@Override

^

remove the lines and everything will be fine
[G1 Android Development] n2droid:
el_GR

I just installed LANG1 (20110716-1:EZGB_lang1_20110716_S.zip) for the latest (716-1) build but cannot type greek. The menu in greek works fine, yet the greek layout is not an option in the Android Keyboard settings. What's going on? Thanks for an otherwise nice rom.
[G1 Android Development] tom0769:
Hey thanx,

I'll try this immediately when I return home from work.

Now I have to dig a little deeper in my fridge control unit.

It's running with a little 8-bit µController @16MHz (2kByte RAM!).

That's quite a contrast to an android plattform.:D

Edit:

Succeeded!!!

Thanx once more, followed your hints and after 1h30 compiling finished.
[G1 Android Development] arkara:
I got an annoying bug, where when you use the cammera the phone stops making sounds. Including when you receiv/make calls and listening to music. Has anyone encountered this?
[G1 Android Development] chris_debian:
Probably a stupid question, as I'm new to EzGingerbread, but won't a Gingerbread based ROM kill the G1 (performance wise). I'm currently running Cyanogenmod's last supported release (based on 2.2.1 I think) and I imagine it's a big jump to Gingerbread.

Thanks,

Chris.
[G1 Android Development] Maxamillion:
this runs better than cyanogenmod 6 in my opinion and even faster than other froyo roms, so just try it
[G1 Android Development] jdb78:
Hi Chris,

I used to use CM6 (latest nightly build) until I tried AnDiSa's version of Terry's eZGinger. I flashed the new radio (see my signature) to gain more RAM and what should I say? I don'tget tired to mention that my G1 never worked better before than with ADS-Magpie (and since it's based on eZTerryGinger I assume that this ROM is at least as fast)...

You are not supposed to load hundreds of Apps on the G1 but I assume you'll know that already. I'd suggest to make a nandroid and ext backup and try the ROM... Give it a couple of hours to 'burn in' and you'll be surprised how well the phone can work...
[G1 Android Development] chris_debian:
Thanks, jdb78.

How do I go about checking my Radio and SPL is the most up-to-date? And if I need to install, how do I flash them. I have CM's ROM Manager tool, if that helps.

Thanks,

Chris.
[G1 Android Development] mreardon80:
This is a really good post that gives a step by step guide. I followed it last night and got ezGingerbread up and running pretty quickly, just make sure you follow every single step.

http://xdaforums.com/showthread.php?t=1098899
[G1 Android Development] hrk:
Looks like the error doesn't happen if you use Java 1.5 instead of Java 1.6.
[G1 Android Development] chris_debian:
Looks like a lot of steps there, considering I'm already rooted. I just need to know how to verify which versions I have, so I can upgrade if necessary.

From ROM Manager, I can see that I have ClockworkMod 2.5.0.7

It also suggests I have RA Recovery v1.7.0

Not sure how to identify HBOOT or Radio.

Any help appreciated.

Thanks,

Chris.
[G1 Android Development] sisterchick:
It is a fairly safe bet to say you don't have the lastest radio and SPL if you don't know - you would have upgraded in the last 8 months or so. The latest is radio 2.22.27.08/2.22.28.25 and hboot 1.33.0013d.

From Cyanogenmod Wiki: Determine your SPL and radio version.

Shut down the device and, while holding the Camera button on the side of the device, turn it on again. Do not release the Camera button until you arrive at a white screen with skateboarding androids along the bottom. Your radio and SPL info will be displayed at the top along with the board type in your phone.

Instructions:

http://xdaforums.com/showthread.php?t=831139&highlight=radio+spl

Be sure you READ the whole OP first and follow the instructions very carefully.

YouTube video of those instructions

: http://www.youtube.com/watch?v=EeWeaK6enqQ

Three other things. 1) These instructions are assuming you have a 32b Dream/Sapphire. Be sure of that before you start. It would be very wise if you update your signature with that information.

2) You don't need ROM Manager if you have Amon RA recovery. They don't go together. I personally much prefer Amon RA recovery to Clockwork Recovery on the G1. I've had some real bad experiences with CWR on the Dream.

2)

Search is your friend.

This topic has been covered many times in the forum and there are number of instructional threads out there.
[G1 Android Development] newellj79:
Ever the thorough helper. You r the kind of user that makes android the best for development. Thank u. And it wasn't even me who need the direction.
[G1 Android Development] Khizzer:
i am unable to boot any of the gingerbread builds..on my g1..i tried almost all of them but none of them boots..im currently using froyo by laszlo on latest radio and hboot

please help.....
[G1 Android Development] Poppu:
I think a little more information is needed... What do you call "unable to boot" ? How long did you wait ? What do you have on your screen ? Which radio do you use (see previous post for instructions on how to check Radio version).
[G1 Android Development] Maxamillion:
recovery log?
[G1 Android Development] Khizzer:
it doesnt get past splash screen..i waited for about 20 mins

i am using clockworkmod 2.5.0.7..and radio:2.22.27.08 and hboot0013d..

and how do i get recovery log..
[G1 Android Development] Maxamillion:
to get the recovery log on clockworkmod do this:

click advanced,

then click report error option

It will move recovery.log to sdcard/clockworkmod.

Then you just get it and copy and paste it here.
[G1 Android Development] Khizzer:
Recovery log file

this time it rebooted back to recovery

Starting recovery on Thu Aug 4 17:34:14 2011

can't open /dev/tty0: No such file or directory

framebuffer: fd 3 (320 x 480)

ClockworkMod Recovery v2.5.0.7

I:Set boot command "boot-recovery"

Command: "/sbin/recovery"

ro.secure=0

ro.allow.mock.location=1

ro.debuggable=1

persist.service.adb.enable=1

ro.build.id=ECLAIR

ro.build.display.id=koush_dream-eng 2.1-update1 ECLAIR eng.koush.20110205.143300 test-keys

ro.build.version.incremental=eng.koush.20110205.143300

ro.build.version.sdk=7

ro.build.version.codename=REL

ro.build.version.release=2.1-update1

ro.build.date=Sat Feb 5 14:34:39 PST 2011

ro.build.date.utc=1296945279

ro.build.type=eng

ro.build.user=koush

ro.build.host=Koushik-OSx86.local

ro.build.tags=test-keys

ro.product.model=Dream (US)

ro.product.brand=generic

ro.product.name=koush_dream

ro.product.device=dream-open

ro.product.board=trout

ro.product.cpu.abi=armeabi

ro.product.manufacturer=htc

ro.product.locale.language=mdpi

ro.product.locale.region=

ro.wifi.channels=

ro.board.platform=msm7k

ro.build.product=dream-open

ro.build.description=koush_dream-eng 2.1-update1 ECLAIR eng.koush.20110205.143300 test-keys

rild.libpath=/system/lib/libhtc_ril.so

wifi.interface=tiwlan0

wifi.supplicant_scan_interval=45

ro.sf.lcd_density=160

ro.telephony.default_network=0

ro.kernel.android.checkjni=1

ro.setupwizard.mode=OPTIONAL

net.bt.name=Android

net.change=net.bt.name

ro.config.sync=yes

dalvik.vm.stack-trace-file=/data/anr/traces.txt

ro.factorytest=0

ro.serialno=HT93JGZ00342

ro.bootmode=recovery

ro.baseband=2.22.27.08

ro.carrier=TMUS

ro.bootloader=1.33.0013d

ro.hardware=trout

ro.revision=128

init.svc.recovery=running

init.svc.adbd=running

I:Checking for extendedcommand...

I:Skipping execution of extendedcommand, file not found...

I:Set boot command ""

i flashed this GINGERBREAD-DS-Beta-20110626
[G1 Android Development] tvall:
There's no log of the flashing in there.... did you flash it before you got the log?
[G1 Android Development] Khizzer:
yes i flashed it and it rebooted back to recovery...
[G1 Android Development] tvall:
That's strange... maybe try reflashing recovery?
[G1 Android Development] Khizzer:
should i get recovery log right after flashing the rom
[G1 Android Development] AndDiSa:
Important is this part of your log

mtd: erase failure at 0x02680000
...

Seems to me, that you have some problems with your phone's memory. Try to do a

fastboot erase system -w

probably it will help you to clean up your bad blocks.
[G1 Android Development] chris_debian:
Many thanks, Sisterchick. Signature now created. I'll have a read, as i'd like to try to get EzGingerbread installed today.

Many thanks,

Chris.
[G1 Android Development] chris_debian:
Hmmm,

I don't know whether it's been a long day (it has), but I find the Radio and SPL instructions difficult to follow and the YouTube video is based on a Windows 7 box and I'm using GNU/Linux. Can I just grab the latest EzGingerbread nightly and flash it? In other words, do I need to update my Radio and SPL?

Thanks,

Chris.
[G1 Android Development] jdb78:
As far as I know you don't need to (at least for the most recent releases) but it is highly recommended. No matter which ROM you plan to use, your phone would gain more physical RAM which you really can 'feel'.

It is not that hard. Forget about the you tube video and keep close to the Radio/SPL thread. You need to install the android sdk and have a fastboot connection working. If you read it again tomorrow and are still stuck ask via PM what exactly your problem in understandig the post is and I'll try to help. The radio and SPL issue is not really an eZginger issue so we should try to keep this thread clean...
[G1 Android Development] jcarrz1:
what are ez's newest gingerbread and froyo kernels? (standalone)

v1.5 is from july 7, are those the newest??
[G1 Android Development] vermaekansh:
yes these are the latest ones...till 1.6 gets released.
[G1 Android Development] chris_debian:
Jdb78,

Many thanks for your reply. I didn't realise that I had to install the Android SDK. I'm sure I upgraded either the Radio or SPL when I first rooted my G1 and I've never used the SDK. I must be mistaken. Point taken about keeping the thread clean; I won't post any more none EzGingerbread questions.

Thanks for your help.

Chris.
[G1 Android Development] newellj79:
I'm building ez right now for the first time. I don't develop, although I wish I knew how, but I enjoy seeing what I can figure out. I've built for the nook a few times so I'm pretty sure I have the fundamentals setup right. The first few lines after I started missing ended in no file or directory, so I'm a little worried. I missed the chance to copy and paste it. I'll check what happened when I get home from work and up date this post, that is, try to enlist some help I'm sure. :)