yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] stimpz0r:
your system is running out of memory, and to compensate for that it is killing processes to gain it back. i suggest you close everything off if you are building, i usually start a build when i am going to bed so i can close everything off and allow it every possible chance of making it through.

in other news, still cant get rid of the com.android.phone message, but i discovered why certain apps are doubling up in the app drawer... see pastebin:

http://pastebin.com/Z7NSrU31

the file listings are from /system/app, somehow there are two versions of a lot of things, but i dont have the faintest idea of where they are coming from. they dont appear in the snapshot or flashable zip, and i cant find where they are orignating from. when i flash the rom i do a full wipe, so they cant be left overs from ics alpha 3.

also, when the phone message is removed, a quick fix for the red borders (i found this in the LG GT540 ICS topic, which is my phone):

add persist.sys.strictmode.visual=0 \ (including the end \)

under the PRODUCT_PROPERTY_OVERRIDES += \ on any line but the last. this along with going to settings -> developer options -> strict mode enabled (tick) should get rid of the red border.

anyway just thought id share incase anyone else is playing around.. im off to mess around some more ;p

anyway, back to fiddling again. :)
[Galaxy Tab  Android Development] Derrian:
Ok re synced, rebuilt and flashed, it's now moving past the first splash screen onto a blank screen with backlight and that's as far as it goes.

logcat

http://pastebin.com/DLK98brV
[Galaxy Tab  Android Development] killerbeesateme:
I think our build is missing something required to boot. I confirmed when you format your system partition you get just a black screen and backlight. If you flash Alpha 3, and then your build, it will boot again but give the constant com.android.phone crash. This leads me to believe that we might be missing a file somewhere. A previous alpha3 flash provides said file, but it doesn't play nice with our build giving us the constant com.android.phone crashes.

This is just a theory and unfortunately I don't have a ton of time to play with this. I'm thinking if we compare what's in the alpha3 flash vs our build, we can figure out what might be missing.

Stimpz0r, I think you are on the right track. However, when you do a wipe, it doesn't touch the /system area. It just deletes userland areas (/data, /cache). I'm gonna take a look at your pastebin when I get a chance and maybe we can figure out what the deal is.

P.S. I'm not a dev by any means, so I may be completely wrong.
[Galaxy Tab  Android Development] adi6262:
thanks ! built successfully !
[Galaxy Tab  Android Development] ffoo3d:
So maybe someone is working on system/core/libcutils/android_reboot.c

Got compile error:

system/core/libcutils/android_reboot.c:114: error: missing terminating " character

system/core/libcutils/android_reboot.c:114: error: 's' undeclared (first use in this function)

system/core/libcutils/android_reboot.c:114: error: (Each undeclared identifier is reported only once

system/core/libcutils/android_reboot.c:114: error: for each function it appears in.)

system/core/libcutils/android_reboot.c:115: error: expected ')' before 'system'

system/core/libcutils/android_reboot.c:116: error: expected ';' before '}' token

target thumb C: libcutils <= system/core/libcutils/uevent.c

make[1]: *** [out/target/product/galaxytab/obj/STATIC_LIBRARIES/libcutils_intermediates/android_reboot.o] Error 1

full trace here:

http://pastebin.com/Z7NSrU31
[Galaxy Tab  Android Development] adi6262:
read that step again , the red part ! ! you have to replace android_reboot.c !!

***********************************************************

build has booted , how to get rid of process com.android.phone has stopped error ?
[Galaxy Tab  Android Development] Derrian:
what about pulling com.android.phone to your pc via adb, delete it from the tab and then push it back from your pc?

it's just an idea, I'm no dev. lol
[Galaxy Tab  Android Development] adi6262:
completed all steps on page one , built it , its booting !

but constant com.android.phone has stopped FC ! !

its so frequent that i couldn't even unlock the phone yet !

@diz ! @cdesai !

help !
[Galaxy Tab  Android Development] Z3rO`:
For those of you getting a black screen at boot: Have a look at the sgt7 github. Cdesai just updated the proprietary vendor files and there are loads of new libGLES files.

Perhaps we can push them to the tab and get it to boot.

I'm currently not at home, otherwise I would've already tried it.
[Galaxy Tab  Android Development] Derrian:
I'm redownloading the repo now, by the time it's finished and the build is complete, it will be late tonight before I can test
[Galaxy Tab  Android Development] adi6262:
I am using cdesai's vendor files . got my build to boot but getting com.android.phone FC every second ! have done a thing yet !
[Galaxy Tab  Android Development] Derrian:
Tne try doing what I suggested several posts back. :confused:
[Galaxy Tab  Android Development] adi6262:
what is the com.android.phone named as ? phone.apk ? coz i cant find any com.android.phone apk .

NO RIL here ! i guess thats why i am getting that FC !
[Galaxy Tab  Android Development] Derrian:
yep, it's more than likley the phone.apk
[Galaxy Tab  Android Development] humberos:
Sorry bro!

We have problem with this (phone FC and RIL) on all ICS port versions.

icedBOCA, ICS Alpha3 and CM9.

We are working (focus) on kernel level at moment.

We updated our git repo with new PVR driver (on kernel) and libs (on rom) from crespo (thanks to @jt1134).

Now, we'll work on rom level and com.android.phone is up to our list.

Cheers!
[Galaxy Tab  Android Development] Z3rO`:
Pushing the new libs didn't help, so i loaded alpha 3, let it boot 1 time and flashed my build over it.

Now I'm getting the phone error like everyone else.

You can stop it, by deleting the Phone.apk

adb shell

then

rm system/app/Phone.apk

Now it's only the email app thats crashing. ;-)
[Galaxy Tab  Android Development] stimpz0r:
If you read my last post I showed in the pastebin that a lot of apps are doubled up. Try using adb to remove them and perhaps that might help :)
[Galaxy Tab  Android Development] Z3rO`:
Yes, i had to delete Email.apk and Exchange.apk and the crashes stopped.

It's by no means a daily driver, I understand why devs don't want to have it distributed.

However, my build environment is now set up, and I'm going to try it again some time later. :)
[Galaxy Tab  Android Development] Neleor:
Damn, build failed due to free space running out(20GiB is not enough). Time for a bigger SSD I guess... For now I'll build on my good old harddrive then.

couple of questions though

1. If I do things like do the "Beagle" patch, will I have to redo them after I "make sync" again?

2. Any chance you(Diz) will release public patches for all other IcedBOCA extra features, to add to our current builds?

3. I am currently using 8GiBs of RAM, would adding 8GiB more make building faster?

4. Will you (Diz) merge changes made by Cdesai into your git?

5. full RIL was reported to be working alpha 3(AFAIK), is 3G not working a regression or was it never working properly?

anyways, thanks to the devs for all the hard work. Back to building for me I guess, at least my i5 2500K is pretty fast at building.
[Galaxy Tab  Android Development] dizgustipated:
1/ yes after every sync, until the feature is merged

2/ its a possibility.

Lets get a few more users building first

3/ most definetly it would help, also try creating a swap.

4/ depends what was done. At current my device files are a bit more worked on than his, its closer to jt1134's. But share and share alike.

I follow many gits, and envite anyone to merge from mine, also

5/ alpha 3 is aosp, this is cyanogen!

different parts, permissions, a different beast altogether!

3g will come, its just a matter of time.

Repo updated, and new makefile on its way.

I'm also thinking about adding a kernel section, but I need to straighten out some stuff like drivers first.

If you are getting a boot now, I suggest holding off on the repo sync, until I can get the rom and new kernel drivers to like eachother more.

Wild stab in the dark, but which gapps did you use?

depends on the version, I've had the double apps also (if you notice, they are Google apps)

Following the example of most ics developers, ill be prepairing a specific gapps for us

Yes Humberto did some updates.

It'll either help, or require us to build a new kernel.

I'm building with humbertos new mods, and he sent me over some kernel files.

still debugging it.

I envite you to build with the new humberto files, forked to my github.

As i watch it build, it seems to be doing better

It "should" boot.

Ill fiddle with a new kernel

I have an updated makefile ready. But wish to finish building/testing with it first
[Galaxy Tab  Android Development] humberos:
@diz!

We won't need to build new kernel.

You can use our kernel source.

Just update your pvr lib files and you'll can boot again.

I sent (email) to you with PVR files!

If you want anything from me just yell!
[Galaxy Tab  Android Development] frake:
What exactly are you referring to here?
[Galaxy Tab  Android Development] adi6262:
what changes do i need to make in this build to get 2g/3g working ?

cdesai's CM9 has it working right ? his's OP says so !
[Galaxy Tab  Android Development] dizgustipated:
Unfortunetly that seems to be a post left over from months ago when the thread started.

The op seems a bit outdated; from 4.0/1 we are on 4.0.3 now, and alot stopped working.

I've just spoke with humbertos, and he knows nothing about it. And I dont see any talk about it in the thread, considering its a rather important thing.

But maybe cdesai will post some pics or confirm 3g works.

if it does, ill find out how to apply

As far as I know neither is ril nor data stats

And we just barely fixed:

Bluetooth Gyro, light sensors

To build straight from source, Recently.

Maybe ask him to update the op to current status?

Then again, maybe I'm behind in updates
[Galaxy Tab  Android Development] cdesai:
Not months ago - it was working - and then now - the constant Phone FCs have started

Data stats work! - In the kernel - xt_qtaguid - and some flags in defconfig - it'll work even if u flash a newer kernel with that patch to any of the ics roms

Ril - as humberto said - we're trying to fix - the FC started recently - and the last commit to the Phone app came in 2011 - so must be some commit to frameworks/base

BT works

GYRO n Light - was just a few lines in init.rc, not recently fixed

@ALL

If you build a new kernel from https://github.com/sgt7/p1000-kernel-cm9, then you'll need new PVR libs from https://github.com/sgt7/proprietary_vendor_samsung

Commits :

Kernel : https://github.com/sgt7/p1000-kernel-cm9/commit/e6ed0c915ef4d2d2832c30372bd0d0c02f245710

Vendor : https://github.com/sgt7/proprietary_vendor_samsung/commit/9fdc5ce293a253955fbeb30e91f98f4bd12f54ae

They came from crespo - the binaries were released by Google alongwith the kernel source.
[Galaxy Tab  Android Development] dizgustipated:
Well users,

You be the judge.

Its simple to switch the device and vendor files out for someone else's and build with the same make file.

I, myself get a boot loop with the new kernel on a previously booting rom

Data stats and 3g don't work for me, no matter who's files I use.

Hopefully others get different results, and we move the development forward.

A great thing to do also is check github commits to see when what was added and cherry pick changes into your own personal files.

If you wanted to get deeper into developing, that is;)
[Galaxy Tab  Android Development] stimpz0r:
thats the weirdest part, i used no gapps. as with my pastebin, the double up seems to be two different versions. if you refer to my pastebin here theres obvious filesize difference on both sets. for example (for those who cant be bothered clicking the pastebin link)

-rw-r--r-- 1 root root 2559748 Aug 1 2008 Browser.apk
-rw-r--r-- 1 root root 1648900 Aug 1 2008 BrowserGoogle.apk

shows a clear difference. im wondering if its because i flashed over ics alpha 3 and the data doesnt wipe of system, yet as far as i can tell is the only way to get it to boot (i tried converting the built .img files to .ext4 using the device/samsung/galaxytab/tools/buildimage script and flashed them with heimdall and it resulted in the black screen / framebuffer problem).

perhaps the new kernel and pvr drivers will help with the black screen problem and having the ability to start fresh, with my suspicion of the ics alpha 3 apps being left behind would then become a non problem, hoping so anyway. :)

i think im gonna sync humberto's kernel source and try to get a working kernel going with the updated pvr drivers.
[Galaxy Tab  Android Development] cdesai:
Dude, again!

as i told, an older booting ROM won't boot with the new kernel, you need to update your pvr libs - i posted the links

Data stats work - if u want i'll find and send an older kernel which'll work with AOSP too :)

AND yea - github helps a lot!
[Galaxy Tab  Android Development] red_rebel:
I can confirm that 3g data working (at least for me) from cdesai build. I posted in CM9 Team some tweeks that should be added to build.prop to make it work properly. The phone application crashes for me only when I try to call or receive call to a tab. The logcat shows that phone application can't instantiate incall activity (form) due some problem with resources (couldn't find the cause yet and wondering if it happens on other phones).

I wanted to raise point how to integrate samsung specific RIL changes to the source tree (to benefit both tab repos). Diz uses patch to RIL.java file, but Alpha3 (and others) use another class SamsungRIL.java that inherits from RIL class and switched on in build.prop file (I asked ani55 to share his version and could share mine that I adapted for 4.0.3 source).
[Galaxy Tab  Android Development] Derrian:
F/libc ( 274): Fatal signal 8 (SIGFPE) at 0x00000112 (code=0)
F/libc ( 273): Fatal signal 8 (SIGFPE) at 0x00000111 (code=0)
F/libc ( 275): Fatal signal 8 (SIGFPE) at 0x00000113 (code=0)
F/libc ( 272): Fatal signal 8 (SIGFPE) at 0x00000110 (code=0)
F/libc ( 271): Fatal signal 8 (SIGFPE) at 0x0000010f (code=0)
F/libc ( 277): Fatal signal 8 (SIGFPE) at 0x00000115 (code=0)

Taking from my logcat, any idea what this means?

Resynced and built today, not booting passed the first splash screen.
[Galaxy Tab  Android Development] ayysir:
im getting this when trying to sync work tree on my desktop

http://pastebin.com/azhVymYm then i get this when re-running make sync command:

http://pastebin.com/xNS3Njej

EDIT: redoing the whole sync process again, getting annoying that i cant even get a build to compile
[Galaxy Tab  Android Development] reddog69:
build fine

i can compile without a problem but cant get past galaxy tab screen on boot any ideas what might be going on
[Galaxy Tab  Android Development] humberos:
Sounds great!

If you'll want something from me, just yell!

Cheers!

---------- Post added at 09:50 PM ---------- Previous post was at 09:49 PM ----------

The kernel source was updated.

I included TMPFS, YAFFS and some features in defconfig file.

Btw, finally, I am using my device with 1.4GHz OC and it don't got freezes at moment.

We are so close to publish the first CM9 release!

Let's move on!

Cheers!!!
[Galaxy Tab  Android Development] adi6262:
contacts ( people ) FC !

rest working fine , except camera and RIL ofcourse !
[Galaxy Tab  Android Development] ayysir:
can someone help me out with this please

http://pastebin.com/azhVymYm

EDIT: got it to work by removing -j16 and just leaving repo sync.

---------- Post added 14th January 2012 at 12:11 AM ---------- Previous post was 13th January 2012 at 11:12 PM ----------

sorry for the tons of posts but there is no one willing to help me one on one

getting this error when compiling

http://pastebin.com/kvK355F4
[Galaxy Tab  Android Development] interloper:
out/host/linux-x86/bin/dx', needed by `out/target/common/obj/JAVA_LIBRARIES/core_intermediates/noproguard.classes-with-local.dex'

means "out/host/linux-x86/bin/dx" is missing from the expected directory. I am syncing the repo for the first time and will report back as I have news. Hopefully some of the commits mentioned here have been made. The first time I tried to sync on another machine the vendor files were all missing....
[Galaxy Tab  Android Development] adi6262:
ubuntu 11.10 ?
[Galaxy Tab  Android Development] ayysir:
yeap, i have a feeling i should of tried ubuntu 10.04 LTS ... instead of 11.10.....
[Galaxy Tab  Android Development] adi6262:
i did this http://mjanja.co.ke/2011/11/building-android-4-0-on-ubuntu-11-10/ only upto JAVa part

to get past that error .

Cheers !

sent via my own built CM9
[Galaxy Tab  Android Development] ableeker:
After some issues I was succesful in compiling a build, I haven't flashed it though, so I don't know if it would work, or even boot. Synching took about 2 hours, builing took half a day. I just followed the instructions in post 1. Building aborted frequently, but I got past those by running make build again. Is that all right, or does this mean the build is non-working?

Are the instructions in post 1 still valid, or do we need to do extra stuff or skip stuff? I built on a new, clean Ubuntu 11.10, but I had no problems with that, apart from the build restarts. I also saw posts about PVR. Are all the lates fixes included if I do make sync today (or tomorrow), or do I have to perform extra actions to get a valid build? If so, would it be possible to have updated instructions (if possible an updated post 1)?

Thanks, awesome job!
[Galaxy Tab  Android Development] Derrian:
Damn, still unable to boot, even after flashing ICS alpha3 first like others have had success with.
[Galaxy Tab  Android Development] ableeker:
I was able to compile another build today, even though make sync behaved very temperamental. After a lot of tries I managed to get everything in the end. This build is 117 MB, like the earlier one (forgot to mention that). However, at the very end make build complained when creating the filesystem about an error in an expression. It was an expression that was calculating something like (4096 * 16384 -s 1024). Unfortunately I didn't write it down. However, make snapshot and make package CLEAN=1 had no trouble in the sense that I found an update ZIP in the snapshot folder. Is that error a problem or can we just ignore it?

Thanks, awesome project!
[Galaxy Tab  Android Development] yungzee:
Proprietary Vendor Files?

Are we supposed to place the Samsung proprietary vendor files somewhere within our source tree? Is that why I can't get this thing to boot?
[Galaxy Tab  Android Development] ayysir:
I put Ubuntu 10.04 on my 700gb fantom external hdd will setup what I need and try compiling
[Galaxy Tab  Android Development] dizgustipated:
If you are experiencing "exit with ld status"

this means you are running out of memory

What I do to fix this is create a larger temporary (until reboot) swap size:

sudo dd if=/dev/zero of=/moreswap bs=1M count=1024
sudo mkswap /moreswap
sudo swapon /moreswap

and to check the swap

sudo swapon -s

An example:

diz@BOCA:~$ sudo dd if=/dev/zero of=/moreswap bs=1M count=1024
[sudo] password for diz:
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 22.3181 s, 48.1 MB/s
diz@BOCA:~$ sudo mkswap /moreswap
mkswap: /moreswap: warning: don't erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=79a0a442-7539-45c7-96de-00cb970a7ae8
diz@BOCA:~$ sudo swapon /moreswap
diz@BOCA:~$ sudo swapon -s
Filename	Type	Size	Used	Priority
/dev/sda5 partition	980988	73008	-1
/moreswap file	1048572	0	-2
diz@BOCA:~$
[Galaxy Tab  Android Development] adi6262:
2GB ram + 3GB swap partition

build successful ! :D

check out the beautiful attachment !
[Galaxy Tab  Android Development] 1sthandy:
@adi6262 can you explain a little bit more

i ve got only a black screen after the samsung logo
[Galaxy Tab  Android Development] stimpz0r:
awesome! was that built of the latest commits on diz's github? does the com.android.phone message still come up? what is working / not working?

i fiddled around with a few ideas over the weekend (tried the replace pvr from cdesai's build / build new kernel), but none of them worked out. so i resynced and fixed up device / proprietary, and tonight i will be trying a make clean / make build to see if its all fixed before i try anything else. i also followed the link adi6262 posted earlier with better instructions to setup the build environment (especially the installation of gcc 4.4 which may be a help in itself).

fingers crossed it might get further.
[Galaxy Tab  Android Development] dizgustipated:
basic boot achieved.

;)

Now to fix it so you can too
[Galaxy Tab  Android Development] stimpz0r:
ahh good! the latest build i did last night doesnt even get past the samsung logo, logcat shows a whole lot of services dying and thats about it. it seems libc is to blame, but i cant be sure. anyway, thanks again for your help diz. :D
[Galaxy Tab  Android Development] 1sthandy:
i ve got only a black screen after the samsung logo with the new build,

the version from 11. jan is booting, but there is the com.android.phone error

whats going wrong?!
[Galaxy Tab  Android Development] dizgustipated:
That error seems to be a cyanogen commit error (hoping!)

Either in system UI or frameworks.

Try as I might, I still can't get data stats and 3g to work yet.

Not even using new boot.img sent by cdesai.

More work on my end is needed, is my conclusion.

But

On a different note.

I think I have fixed the vendor files to build a booting rom.

Making a clean build to make sure, before I push.

Stay tuned
[Galaxy Tab  Android Development] dizgustipated:
It boots!

has never ending other issues, but now we can tackle them.

Yes, "Unfortunately, the process com.android.phone has stopped" still happens

for now just delete the phone apk, directly from the zip before install, or use adb to pull it out.

new MAKEFILE

place it correctly, then open android and delete "bin, sign and snapshot"

CODE:

cd android
make init
make sync
make build
make snapshot
make package CLEAN=1

delete phone apk, place it on you sd card, then clear user data, cache and dalvic cache

then flash

&

$$ profit

No 3g

no data stats

Bluetooth (I'm beat, I'll fix tomorrow)

a few other things

updated pvr drivers

and updated kernel, sent by cedesai (which seems to have no recovery, you need to flash a different kernel if you want to use recovery, at this point. Do not try to boot into recovery, you will bootloop; unless you flash a different (any) kernel with recovery)

No full bug report yet, havent finished testing yet

And as future developers, youll find them out soon enough!!

-diz
[Galaxy Tab  Android Development] 1sthandy:
there is no way to boot for me. and yes, there is no recovery and a boot loop :-)

my next idea:

i have delete the out,

i will see want the next build does.

Greetings