yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] invisiblewave:
Thank you for the updated build instructions, I got a bit further!

I'm still running into two issues, the first I think is because I'm not running on a 64 bit system. I'd be obliged if someone could eyeball this and confirm it for me and tell me if there's a solution (I did try, unsuccessfully, to merge Firerat's older tools), from what I can tell I think this is coming from inside a compiled C++ class file, by way of The Matrix:

In file included from /usr/include/features.h:378,

from /usr/include/stdio.h:28,

from external/clearsilver/util/neo_err.c:14:

/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory

make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_util_intermediates/neo_err.o] Error 1

make: *** Waiting for unfinished jobs....

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Second issue is on subsequent attempts to make, I get the following message (unless I omit 'otapackage' from the make command):

diff: out/target/product/generic/obj/PACKAGING/updater_extensions_intermediates/register.inc.list: No such file or directory

make: *** No rule to make target `otapackage'. Stop.

Any input would be appreciated, I've been banging my head against this wall for over a week now, although I've learnt a fair bit of Linux and Github along the way! I'm also about to build a new box, and I'll put the 64 bit version of Ubuntu 10.10 on there if necessary.:(
[G1 Android Development] Firerat:
your building the generic target, you should do lunch

from the top of your build

. build/envsetup.sh
lunch

and select 3 ( unless it changes in the future ;) )

note the . before build

the envsetup.sh is a script that puts a load of functions in memory

type

help

for help
[G1 Android Development] almostthere:
6

Not to be misunderstood but it's just feedback as users of your stuff (which is good in the first place). It may sound as a rant but it's not. We're just hoping that worthwhile stuff from cm's ds builds (what else can we compare to?) will get implemented soon as i'm sure lots of these guys are eagerly awaiting too. After all, gingerbread on g1/mt3g shouldn't exist at all in the first place and we're thankful for it
[G1 Android Development] Firerat:
if you want it, add it

the only person stopping you from adding it is you.

keep home app in mem is trivial

either add to the prop, or .. stick a script on your sd-ext

go and read the stuff you didn't read
[G1 Android Development] s14evil:
Oka giving GINGERBREAD-DS-Alpha-20110129-1.zip a try. Let's see what it does and how long I can use it before it kills my battery. I'm still looking for a daily driver.
[G1 Android Development] lws803:
uh im new to this, Hmmm what are the known issues this rom is currently facing?
[G1 Android Development] hrk:
That's simply because no IE user has searched for Pershoot on Google yet.
[G1 Android Development] tidewaterns:
Is this suppose to speed up your phone? What is the purpose of replacing your host file with this one?
[G1 Android Development] lws803:
HTC magic 32a

Uh does this work for HTC magic 32a devices? And what recovery would be best for this rom?
[G1 Android Development] Poppu:
Using a custom host file allow you to redirect part of your traffic.

Therefore you can blacklist unwanted IP corresponding to ads agencies, spy servers, etc... Well, in fact you are not blacklisting them, you are just transferring it to localhost (or something else if you want to do your own statistics).

By doing so :

- you are using less bandwith, using it only for usefull data.

- if you have a limited dataplan, you don't waste it.
[G1 Android Development] tnpapadakos:
and i thought it was just for blocking ads
[G1 Android Development] irisiris:
which streaming site u r using
[G1 Android Development] peshal:
Gmail is working fine for me. Its probably because of the different gapps or different build.
[G1 Android Development] irisiris:
you mean if you open and read email message and leave it open for 10 seconds..it doesnt cause gmail to loop back to the same email within 10 seconds?

which phone r u on ?
[G1 Android Development] ForTehWolf:
Pretty nice battery

Still 50% left ;)
[G1 Android Development] mschoolbus:
What kernel are you using? My battery life is pretty bad on my G1 running this.

Been using GB for most of the week now, but had to go back to cm6.1 to use GPS tomorrow :cool:
[G1 Android Development] CBATESY:
Battery life did seem a little much. I agree with you i went back a stable rom. trying out yoshi rom 1.7. its pretty cool. runs super fast
[G1 Android Development] ForTehWolf:
Using the default kernel, some odd GAPPs and I have radio 28.25
[G1 Android Development] tnpapadakos:
slingplayer is working, but not real well
[G1 Android Development] mschoolbus:
I have the same radio as you. Do you have the usb charge battery drain bug in that kernel still? I don't think I could live with that, as I charge from USB often.
[G1 Android Development] irisiris:
yes. Battery is good with the default kernel.

So is the RAM management in this ROM
[G1 Android Development] tnpapadakos:
Colorized Version 12 27 2010

Includes: gapps (but not GMail due to issues, download from market if you want it)

Black Themed Market

"CM" Wallpapers (not really, i edited the images to use my favorites)

CM Parts (reachable by making custom shortcut, some settings actually apply, some do not)

Modified bypass23 update to install su

includes Nexus LWP

Pershoot 2.6.35.9 2708 kernel

still no gps, video kinda wonky
[G1 Android Development] lyzanxia:
Is there a way to test this rom using a 32a (ebi1) magic :o?

Am using the old radio and spl like used on CM6.1.

ps:tried flashing , but got the spl check error on flashing

Thanks
[G1 Android Development] ForTehWolf:
Thanks, i'll them out

BTW, my battery's still going xD
[G1 Android Development] bypass23:
32A

I explained in this post how to remove the SPL check.

But It wouldn't boot just by removing it because of the 2708 kernel.

I cannot guarantee it will work since I don't have a 32A device myself so I can't test it :) but

Here is a quick repackage of the original GINGERBREAD-DS-Alpha-20101222-1.zip with minor changes :

Removed the SPL check

Changed kernel to Pershoot Kernel 2.6.35.10 – OC-UV-RAM-FP – Dream/Sapphire (32B/A)

Added ChainsDD Superuser 2.4.6.1

Added Jackpal Android Terminal Emulator

Added Spareparts

Added Live Wallpapers support

Download : here

Try it and let me know if it works on your 32A with old radio, maybe more people in your situation could test and help out :D

If it boots properly you could flash google apps with this mod aswell.
[G1 Android Development] ForTehWolf:
It wont boot for me :confused:
[G1 Android Development] Dukenukemx:
This rom is the very reason why I still have my G1. Gotta love the community effort for this.
[G1 Android Development] MrFrankfromCM:
I'd like to install this to test/work with...and give feedback.

I have a G1

HBoot 1.33.2005

Radio 2.22.23.02

Kernal 2.6.35.9

FRG83

Please advise on prefered steps. I probably have all files needed for this, just wanted the prefered method.

Thanks,

Frank
[G1 Android Development] lyzanxia:
Tried the zip provided by bypass23 (thanks for the effort!:D).

Unfortunately it won't boot past splashscreen.

Probably due to the radio/spl mismatch?

Hopefully soon we will see some 32a joy :rolleyes:

UPDATE: got it working, used ezterry's build and removed the spl check according to bypass23's instructions.Flashed pershoot kernel and it now works.
[G1 Android Development] lolmensch:
just do a reboot. takes 2% of battery but then you are good to go for 2 days :P
[G1 Android Development] tnpapadakos:
full wipe first if coming from froyo
[G1 Android Development] Poppu:
Ok, you caught me, I've never been good at explanations... Always forgotting the essential :D:D
[G1 Android Development] invisiblewave:
Is that for the missing rule? I can get the thing to start compiling, but after about 5 minutes I still end up with the first problem.
[G1 Android Development] ezterry:
Given the mixed results I've been hearing:

First the clean build tree ought to be able to build on a 32bit arch, so if you patched something remove that repo and re-sync

Second that file is supposed to be already installed on the host computer from the build's perspective, check your linux distro for a package. (Usually only used for 64bit builds but there still ought to be a 32bit package with the stubs, if it will work or not is then dependent on what we are using from the header.
[G1 Android Development] invisiblewave:
Do you know which package I need to be looking for? I installed all the packages mentioned on the Android project page, the CM wiki, and the list on your page, I also double-checked your list and it reported all packages already installed. I also started with a clean repo again yesterday. Prior to that, the error had been occurring within a few seconds of starting the compilation process, but last night it ran for some time before crapping out, long enough that I thought it was going to work.
[G1 Android Development] lws803:
boot loader error ><

Hmmm i was able to flash the rom till the bar goes up to half, but, a long list of bootloader errors appear all the way down and the installation failed :( Can anyone please help
[G1 Android Development] invisiblewave:
What phone, what spl, what radio, what recovery? And what errors. And hurry up with the answers before Firerat gets here and rips you a new one.
[G1 Android Development] lws803:
HTC magic 32a

New radio and new SPLs

recovery-RA-magic+-v2.0.0.1-seo
[G1 Android Development] invisiblewave:
What's the first error you see? Did you superwipe? Also, try redownloading the zip. This is a problem during the actual flashing process, right? You don't get as far as rebooting?
[G1 Android Development] ezterry:
This rom only supports (out of the box) the 2.22 and 3.22 radios out of box.

There are some threads in the Sapphire section with a port to the new 6.* Magic plus/Hero radio if that is what you are using.

(amazing how few sapphire users seem to know of the sapphire boards existence .. bit sad actually Binary100100 does a very good job keeping it organized)
[G1 Android Development] ezterry:
The hint was that list was (a) from the CM wiki and (b) I'm running debian squeeze on a 64bit system for my builds.

Lets see:

> http://packages.ubuntu.com/

> go down to "Search the contents of packages"

> enter "gnu/stubs-64.h"

> select "packages that contain files named like this "

> select "maverick"

> choose "i386"

> Press search

Ah

/usr/include/gnu/stubs-64.h is in libc6-dev-amd64

I'm not 100% sure if everything will work or not.. but if its just using it for some object definitions the file will now be found.
[G1 Android Development] dudanko:
I`ve flashed the 20110129 build alredy. It is working very good and very stable. Everything is working on it. I think that it is no more "nightly build" but daily rom :) Thumbs up, good work.
[G1 Android Development] invisiblewave:
Cheers. I'm still a little confused as to what I missed. I don't see that package listed as required in any of the instructions. Or is that one that would already be on a 64 bit system?
[G1 Android Development] ezterry:
That package is 32bit only, the file is in a different package on the 64bit install.

If it works I'll add it to the list in the op :p .. If not we will need to look at what is up. As I said I've heard both that the current code base works and breaks 32bit installs.. until I either test it myself.. or get some more clear answer there is little I can do.

Officially AOSP only supports 64bit build environments starting in gingerbread.
[G1 Android Development] invisiblewave:
I'll let you know. I'm synching again. Sometimes I can rebuild without resynching, sometimes I get the "rule missing for otapackage" error, despite doing the envsetup and lunch, resynching seems to fix it.

Edit: It's been compiling for a while now, definitely further than it's been before. It's only a dual core, so it may be some time before I have a definitive answer.....

Edit: Should have kept my mouth shut!

/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.3/libstdc++.so when searching for -lstdc++

/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++

/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.3/libstdc++.so when searching for -lstdc++

/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++

/usr/bin/ld: cannot find -lstdc++

collect2: ld returned 1 exit status

make: *** [out/host/linux-x86/obj/lib/libneo_util.so] Error 1

make: *** Waiting for unfinished jobs....

target StaticLib: libsqlite3_android (out/target/product/sapphire/obj/STATIC_LIBRARIES/libsqlite3_android_intermediates/libsqlite3_android.a)

target SharedLib: libjni_latinime (out/target/product/sapphire/obj/SHARED_LIBRARIES/libjni_latinime_intermediates/LINKED/libjni_latinime.so)

Removed i486 package, reinstalled i386 version. Recompiling!
[G1 Android Development] farmatito:
You have to comment out all lines

CFLAGS=-m64

LDFLAGS=-m64

in the Android.mk files in the clearsilver/ subdirs or it willnot build.
[G1 Android Development] ezterry:
remind me to drop this in:

https://github.com/CyanogenMod/andr...mmit/4a36be12a6773cc0ad07102ad84fc238c06cb74e

and a note somewhere that the system was built on 32bit

Now the real question.. is there any reason they feel the need to force 64bit for java6?
[G1 Android Development] farmatito:
I've done from day one and what is done in this commit and so

far I have not experienced a malfunctioning, on the contrary

my Gmail worked from the start. Maybe at google they have

all ia64 workstations?!?
[G1 Android Development] Firerat:
I believe it is for compiling host bins, the AOSP's master clearsilver has a commit to use the host compiler instead of the toolchain's

https://github.com/android/platform...mmit/cf3f2874c82573449a64fa2b285b97189de0da68

So that, plus skipping the -m64 if 32bit is best option imo
[G1 Android Development] Firerat:
gmail was working because you dodged the 4.4.3 toolchain

4.4.3 probably didn't work because you have old glibc and had nothing to do with 32/64 bit
[G1 Android Development] invisiblewave:
Commented out. Trying again. iPhone is looking like a good option right about now.
[G1 Android Development] farmatito:
Then I will to phrase it in a clearer way:

I've done from day one and what is done in this commit and so far I have not experienced any malfunctioning, on the contrary, due to the fact that I used a different toolchain, even my Gmail worked from the start.
[G1 Android Development] guitargler:
Anyone else having an issue with SMS not receiving? It isn't locked into memory, so it doesn't stay open as a service on my G1. Using yesterday's ADS magpie build, facebook fix, and the working Gapps. Had the same problem on CM 6.1, but I had the option of locking SMS in RAM, which I did. I mostly use Google Talk, but the iPhone and feature phone douches I know have no way of reaching me without SMS.
[G1 Android Development] Firerat:
but, your build was larger and slower :P
[G1 Android Development] Firerat:
make clobber

, you might get away with

find out/ -iname "*clearsilver*" -exec rm -r {} \;

do just

find out/ -iname "*clearsilver*"

to see what it is going to delete
[G1 Android Development] asb123:
They just come in late for me. Not sure if i am not receiving some (how would i know)
[G1 Android Development] invisiblewave:
Are you saying I don't need clearsilver at all? What is it, exactly?
[G1 Android Development] Firerat:
no

it is

https://github.com/android/platform_external_clearsilver

read the readme

that find / rm was to make sure your build installs a clean clearsilver

tbh, i think in your case make clobber is the way to go
[G1 Android Development] invisiblewave:
LOL. I did the clobber. It's still running.

So Clearsilver is simply an HTML toolkit available to server-type/browser applications running on Android??
[G1 Android Development] invisiblewave:
Holy mother of all that is good and pure!!! I've got a zip!

S'pose I'd better do a Nandroid before flashing it..... There's about as much chance of it working as there is of me believing in a holy mother.
[G1 Android Development] dillalade:
I was having this problem in various gingerbread builds only resolved up until flashing firerat odex magpie 30th Jan - I know I was missing sms's because it was around my birthday and a few other functions, and many people said they'd dropped me messages & i'd not received, tested with close friends also, and dropped messages most of the time - not sure what was going on. But with the Rom mentioned above SMS works well - I have to now test sms's with a select few friends when I flash a new rom - cos I'm unsure if this issue still pertains (weather it's O2 my provider, my phone, my radio, the rom, messaging app, I just dont know, but do I know something was preventing me from receiving, oh & sending.)

Again with the latest rom, it seems ok.

Just my 2 cents on the matter - cos this problem really fkin bugged me out.
[G1 Android Development] PorchSong:
You are correct. SMS is not recieving once the messaging app gets kicked out of memory. Easy to test. Go to your Google Voice via your 'puter and send yourself text messages. If you have a messaging app open, it works; if you go into a memory intensive program and come back out, then your messaging app fails to receive.

Does anyone know of a code to put into build.prop that locks mms.apk into memory like what you use to lock home into memory?
[G1 Android Development] lws803:
Uh, may I have the links to the thread please? ><
[G1 Android Development] ezterry:
For those unable to find the sapphire section with the "find your device box" at the top of the screen.. its at:

http://xdaforums.com/forumdisplay.php?f=480

The threads you are looking for have been in the first page of the development section for weeks.. note there is a good number of pinned threads scroll below them.

(The particular thread .. is here but really it took you more time to type that than to browse the sapphire section I'm sure .. I'm really only posting it for people who stumble on this post a month from now)
[G1 Android Development] Firerat:
http://xdaforums.com/forumdisplay.php?f=493

is the forum for YOUR Phone

cya
[G1 Android Development] Firerat:
lol, @ezterry

I think that is the second time is as many days we have had to link for some lazy kiddy i
[G1 Android Development] AndDiSa:
Beside the problem with not receiving SMS, there is still another 'problem' that notifications are not working after reboot, until you've inserted a new one. Most likely it's not initialized during startup due to a lack off memory ...

PS: This problems exits since CM 6.x
[G1 Android Development] sebx_g1:
Is this problem with stock MMS.apk or third party SMS/MMS application like Handcent or other ? In CM6.1 is setting to keep standard MMS.apk in memory is this dificult to do this in Gingerbred code again ?
[G1 Android Development] Firerat:
let us know what you find when you've looked at the code
[G1 Android Development] s14evil:
20110129-1, so far its been runing good. I've been texting , old facebook that was off my sd card(I think I've had it sence cm5) xda, making phone calls. I got about 51/2 hours between charing today. Its looking good. Keep up the good work
[G1 Android Development] piwopijca:
Hello users/testers

I have a question about the supermarket, it is working properly and you do not have a "Force Close"?

I have Vending_2_2_11 versions, maybe I should write an older version?

The problem is all the roms that I installed for example ADS_magpie-20110202, ADS_magpie-20110131

Rgds.
[G1 Android Development] tidewaterns:
Yesterday I got a phone call from my Mom asking why am I not answering her texted messages. So I looked at my messages and I have not received and emails or texted messages in hours and I decided to reboot my phone and see what that does. After a reboot my phone went crazy with notifications. So I was not receiving all of my notifications for a couple of days since I was on this ROM. I love the ROM but I went back to one of the older ROMs that I was running. I love this ROM and when this ROM has some of the minor problems worked out I will gladly come right back to it again. Thanks.
[G1 Android Development] AndDiSa:
It's not a matter of ROM, but a question of gapps, because the ROMs do not contain the gapps. Which gapps did you install? Most likely you flashed an incompatible version.
[G1 Android Development] piwopijca:
Hi, I have gapps-gb-20110120-signed

I reflashed 4 ouers ago and nothing.

I'll try wipe dalvik-cache and cach

Rgds.
[G1 Android Development] ezterry:
Ok, two things:

1) for SMS me toos there are some posts to "thank" a page back

2) if you have details let us know

What are details.. well usually starts logcats but don't expect just dropping me the raw text will help here, least not until I'm set up to test such things. This means you need to analyze it and at least highlight when events appeared to happened, in addition to providing the text.

There are two logcats of interest:

A) receiving a message normally

B) phone receives the message while Mms app is pushed out of ram

It may also be of interest to compare events in the radio log with the primary log.

Given this type of analysis there may be something we can look into. I do not feel keeping Mms locked in ram is correct.. but that doesn't mean you should not expect a prompt notification from the active SMS app either.. Until I know what is happening I will not be able to do much however.

Also note I'm not sure if its relevant but I do see some new pushes to Mms.apk in aosp so you may want to do the above analysis on your own clean build.
[G1 Android Development] sebx_g1:
I will - but not soon :eek: , for now I'm returning to Froyo ROMs . Maybe in gingerbred memory management is too agresive ? I don't know how to chceck it .
[G1 Android Development] sisterchick:
No MMS problem here...

I've been running versions of ADS-Magpie build as my daily this week with MMS.apk pushed from CM6. I've had no problems with missing messages. Just tested it again this morning.
[G1 Android Development] sebx_g1:
Hmmm ... to late for me to check I went for this new rom :http://xdaforums.com/showthread.php?t=929678

So far so good , but ADS-Magpie is a future ;-)
[G1 Android Development] invisiblewave:
Just wanted to say thanks to ezterry, Firerat and Formattio for all the help in getting the rom built, the new instructions are great. After making that last change to the clearsilver make files suggested by Formattio, the build worked, and to my utter surprise the rom flashed correctly. Apart from the rom, the process has also helped me get a Linux kickstart, and I think I'll be dumping Windows altogether in a couple of weeks (have to move over my webserver and mailserver).
[G1 Android Development] billquinn1:
AndDiSa,

I loaded your new version from today 0204 and got a strange message when booting to the home screen. It is gone now so the wording may be wrong but basically it said:

"DEVICE UID INCONSISTENT WIPE DATA PARTITION OR YOUR DEVICE MAY BE UNSTABLE......"

The box to click said "Feeling lucky?"

I did so I clicked.

Every thing looks good but I am just not sure what ?
[G1 Android Development] AndDiSa:
Hmmm, don't know what kind of message it could be .... I synced only with the latest sources and started a new build. I didn't get this message when I was testing it. I need to analyze ...:confused:
[G1 Android Development] ezterry:
Nothing I added :/ Sounds like something fix permissions can correct.

(Note to self.. add fix permissions script)

Hows the soft keyboard updates working out anyway?
[G1 Android Development] AndDiSa:
fix_permissions is included within the ROM. You can give it a try.
[G1 Android Development] Firerat:
I keep forgetting to do that, I have a copy on sdcard