yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] cpgeek:
I was just reading slashdot and came across this awesome article http://liliputing.com/2012/06/android-is-about-to-get-a-lot-faster-thanks-to-linaro.html about some enterprising individuals who have come up with a way of using the new gcc tool chain and inserting various optimizations into the android kernel and base system that produces a huge positive performance impact. sadly I'm not a programmer (but I am an experienced beta tester and know my way around linux internals) but I think it might be worth having the t3am take a look into patching some of these optimizations into the already AWESOME job they've done with the cm9 p1000 port. Yes, there really is only so much a 2 year old single core 1ghz tablet with 512MB ram can do, but I'm hoping that with some more optimization work such as that brought to us by the linaro team we can squeeze every cpu operation and every bit of ram doing exactly what it should be to make application execution a fast, stable, and hopefully less memory intensive experience.

What do you guys think?
[Galaxy Tab  Android Development] yungzee:
Okay I'm pretty new at building android from source so I'm not really sure what all of that means. When I run 'make -j4 bacon' it tries to build an OTA package with is then converted to a signed update.zip. It's looking for 'device/samsung/galaxytab/zImage'. From what I gather this source tree includes the kernel source. What are the exact steps for building that kernel?
[Galaxy Tab  Android Development] sixstringsg:
cd workingdirectory/kernel/samsung/p1

./build.sh p1

Edit: might be a little off, this is from memory.
[Galaxy Tab  Android Development] humberos:
GPS

I just uploaded some GPS files to our vendor repo.

If you want to fix GPS then copy the binary file (gpsd) to /system/vendor/bin and gps.xml file to /system/vendor/etc .

"chmod 755"

Restart your tab.

Enjoy!
[Galaxy Tab  Android Development] yungzee:
Yeah after a little prodding around I figured that out. I also had to prod around some more to figure out to copy the 'workingdir/prebuild/linux-x86/toolchain' dir to '/opt/toolchains'. :p

---------- Post added at 01:17 PM ---------- Previous post was at 12:58 PM ----------

Okay once that's finished I'm left with a zImage, boot.img and recovery.img. What do I do with these so that 'make -j4 bacon' works correctly?
[Galaxy Tab  Android Development] sixstringsg:
I'll give you the terminal commands for my directory structure, adapt it to yours. CM9 is my folder that my whole source resides in, change it to what you need, or copy the file with a normal gui explorer.

cd ~/CM9/kernel/samsung/p1/arch/arm/boot

cp zImage ~/CM9/device/samsung/galaxytab

If you're familiar with IRC, come join us at ##galaxytab7-ics on freenode, I'm on right now.
[Galaxy Tab  Android Development] humberos:
Bluetooth

I just changed bluetooth settings because our ramdisk was working with CM7 binary (brcm_patchram_plus) and another patchram file (BCM4329B1_002.002.023.0534.0590.hcd).

Now, we can use CM9 binary with another patchram file (BCM4329B1_002.002.023.0534.0571.hcd).
[Galaxy Tab  Android Development] Disconn3ct:
This is killing me. The only way I can get a booting system is with diz's zips overwriting half of out/.../system. Otherwise I still get the HAL framebuffer errors.

Is anyone else getting actual working installs from the build script?

FYI, if you patch .repo/manifests/ you can fix the error on sync:

diff --git a/default.xml b/default.xml
index 35876f5..e2c1fae 100644
--- a/default.xml
+++ b/default.xml
@@ -256,7 +256,7 @@
<project path="packages/wallpapers/PhaseBeam" name="platform/packages/wallpapers/PhaseBeam" remote="aosp" rev
<project path="prebuilt" name="CyanogenMod/android_prebuilt" remote="github-https" />
<project path="scripts" name="sgt7/scripts" revision="master">
- <copyfile src="scripts/build.sh" dest="build.sh" />
+ <copyfile src="build.sh" dest="../build.sh" />
</project>
<project path="sdk" name="CyanogenMod/android_sdk" />
<project path="system/bluetooth" name="CyanogenMod/android_system_bluetooth" />
[Galaxy Tab  Android Development] humberos:
Kernel Update

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] humberos:
Screenshots

I uploaded some screenshots about my first quadrant score and data stats view (with limit and wifi).

I used VoltageControl app and set 1.4GHz@OC | sio | lagfree | w/out undervolt

Enjoy!
[Galaxy Tab  Android Development] sundar83:
Wow 3000 above score cm9 going to rock waiting thx for the screen shot humbertos
[Galaxy Tab  Android Development] jeebspawnshop:
All I can say is that you just made my day ;)

I love my SGT with Overcome ROM 4.1.0... but I am DYING to get ICS on here and to enjoy Android the way it SHOULD have been!

You and the whole team have my support, and my midnight prayers :P
[Galaxy Tab  Android Development] jaiiscool:
Dying to get it!
[Galaxy Tab  Android Development] adi6262:
HumberOS , can you please send your kernel (complied) ?

I am on the make your own diz build + cdesai's vendor files .
[Galaxy Tab  Android Development] niofar:
We are waiting for a long time these words, thank you for your wonderful work :):)
[Galaxy Tab  Android Development] cdesai:
Clone the kernel tree, then copy 4.4.3 toolchain from AOSP/CM9 source to /opt/toolchains, then ./build.sh p1 (in the kernel tree)
[Galaxy Tab  Android Development] adi6262:
aye aye boss !
[Galaxy Tab  Android Development] madstunt:
Got an idea for the cam problem!

All of Samsung's tablets have camera with the same specs, so what if the module is the same ? Maybe, trying to port the drivers from the honeycomb tabs(the 10.1 for example) would be a solution ?

I'm not into deeplyin such things, so probably it's a very lame idea, but shared the idea, maybe it turns out good :)
[Galaxy Tab  Android Development] Alcibiade:
Looks like you're getting really close :)

How does battery life look like so far ?
[Galaxy Tab  Android Development] lambstone:
Nope. Not true. The original tab is 3.2mp whereas the honeycomb ones are 5mp

Sent from a Galaxy S 2 Far Away
[Galaxy Tab  Android Development] madstunt:
You're not right.

Back in time, when samsung announced the 10.1 it has got 5mp shooter, but after the iPad2 was announced they scrapped the original design and they came out with a slimmer model with 3.15 Mp shooter, it became the 10.1 what can you buy in stores everywhere. However they've got devices manufactured with the older design, and it became the 10.1V and it was only sold by Vodafone in limited numbers.

So the 99.9% of G.Tabs got 3.15 MP shooter( 7.0 plus, 10.1, 7.7, 8.9...)
[Galaxy Tab  Android Development] cdesai:
Knew someone would post it, and before you say anything, i already did a build with the toolchain yesterday, nothing else, just the linaro toolchain with the CyanogenMod 9.

First thing - it broke kernel build, had to use a prebuilt kernel.

No big improvements, ran a 0xbench and got a small increment in the score, but then most of the other code is still in review, and using it as it is causes breakage with the proprietary libs.

On a sidenote, i'm doing a build for the kernel changes from humberos' tree, with some fixes, do test it and let me know if anything doesn't work as expected (ofc on the other thread), mostly shouldn't, still being safe, shall merge it after that.

EDIT : DONE, http://get.cm/get/2I9

Flash it, and report back on the discussion thread, shall merge it after that
[Galaxy Tab  Android Development] humberos:
Boot Animation - Freezes

We are getting freezes on boot animation because this:

<6>[ 28.633068] PVR_K:(Error): MMU_Alloc: RA_Alloc of VMArena failed [2512, /home/humberos/bin/android/cm9/kernel/samsung/p1/drivers/gpu/pvr/sgx/mmu.c]
<6>[ 28.633251] PVR_K:(Error): MMU_Alloc: Alloc of DevVAddr failed from heap General ID117440512 [2515, /home/humberos/bin/android/cm9/kernel/samsung/p1/drivers/gpu/pvr/sgx/mmu.c]
<6>[ 28.633488] PVR_K:(Error): DevMemoryAlloc ERROR MMU_Alloc [1637, /home/humberos/bin/android/cm9/kernel/samsung/p1/drivers/gpu/pvr/buffer_manager.c]
<6>[ 28.633657] PVR_K:(Error): BM_ImportMemory: DevMemoryAlloc(0x200000) failed [2332, /home/humberos/bin/android/cm9/kernel/samsung/p1/drivers/gpu/pvr/buffer_manager.c]
<6>[ 28.635661] PVR_K:(Error): AllocMemory: RA_Alloc(0x200000) FAILED [115, /home/humberos/bin/android/cm9/kernel/samsung/p1/drivers/gpu/pvr/buffer_manager.c]
<6>[ 28.639917] PVR_K:(Error): BM_Alloc: AllocMemory FAILED [1257, /home/humberos/bin/android/cm9/kernel/samsung/p1/drivers/gpu/pvr/buffer_manager.c]
<6>[ 28.640100] PVR_K:(Error): AllocDeviceMem: BM_Alloc Failed [398, /home/humberos/bin/android/cm9/kernel/samsung/p1/drivers/gpu/pvr/devicemem.c]

Memory allocation process....

Greetings from Brazil!
[Galaxy Tab  Android Development] D.O.C:
Thread Cleaned once again. Take into consideration that not development posts at this threads only "pollutes it" and makes it hard to keep development. So, it is in you best interest that questions, bugst, request or anything that is not development must go here.

Thread Cleaned.:good:
[Galaxy Tab  Android Development] cdesai:
Good news! :D

For the first time, our 3.0.x port compiled, and i was able to flash it.

Isn't booting yet, but still a good start.

Thanks for humberos for fixing the battery driver, good job man! :)

Anyone here got a UART setup with the tab?

We're booting the kernel off kexec, so reboot and you're back to normal.

i'ld modify the charging cable, but i'm sure i won't be able to do it, i'm not at all good at soldering.

If anyone could help, it'ld be great.

The changes can be found on cm gerrit, and the battery driver fix is on humberos github, i'll gerrit it soon.
[Galaxy Tab  Android Development] cdesai:
http://kan.gd/1o7i ;)
[Galaxy Tab  Android Development] Andy:
If we have to clean this thread again, it will be closed.

As the OP states. Do not submit bug reports.

This thread is for the developers to provide updates & information. Not for users to ask questions that are common sense or can be easily answered by using your friend Google.
[Galaxy Tab  Android Development] PAragao:
Hi,

I am trying to get a build that can encrypt my table (GSM p1000) so he can connect to an exchange server with those policies enabled. In another thread someone said that CM9 RC1 was able to do that, however i tried cm-9.0.0-RC1-p1 but it also failed to encrypt (the cm-9-20120803/4-NIGHTLY-p1 nighties simple went into a reboot loop).

Can anyone confirm if any CM9 build (and which one) is able to encrypt?

What happens btw is the following:

It starts the encryption, and quickly does a reboot, and then it goes to the actual encrypt till 100%, then it reboots again and after I insert the pin it says Encryption unsuccessful! But everything is working, no data was lost on internal memory (external card was removed previously), it just did a factory reset:
[Galaxy Tab  Android Development] cdesai:
Get us logs from the RC build.

I've tried encrypting a few times and it has always succeeded.
[Galaxy Tab  Android Development] paulgerman:
Hi,

How can it get stable? The camera stops working with force close 50% of the times I try to take a picture! And always when I try manual focus.

And the image(preview) resolution in the "camera mode"(photo mode) is veery low(The resulted photos resolution is ok)
[Galaxy Tab  Android Development] cdesai:
Instead of complaining like this, you should get logs when the force close happens and we could do something about it.

There are no major issues, so why can't it be stable when even the nightly builds aren't broken and work just well.

Sent from my GT-P1000
[Galaxy Tab  Android Development] paulgerman:
I just did a logcat after a fresh tab restart. The camera stopped when I did the photo with manual focus. The photo was taken but not saved and then it force closed. I know that the photo was taken because it appeared in the upper right box and then it force closed. After force close it wasn't there anymore.

I attached the txt.

Thank you!
[Galaxy Tab  Android Development] mdalacu:
Hi, I am using the stable release, how can I disable the soft buttons? We have capacitive buttons, so the soft one are a waist of screen space. Right now, I don't have a PC, so I can't search properly, please be gentle... :)
[Galaxy Tab  Android Development] Hammerfest:
Ive asked many times, no (real) answer so far...

If you want to disable the buttons AND deal with a much larger interface you can increase the default DPI from 160 to 240. HOWEVER, aside from making the soft buttons disappear (desired) it will increase the size of everything (implied in increasing the DPI and for me at least, undesired), AND if you are NOT using a Hacked version of the Android Market (Google Play Sex Store) many apps keyed to the 160 DPI will no longer be available.

If you dont mind the larger interface in your effort to get rid of the soft keys, there are quite a few threads here on XDA with "DPI Modified" Market.apk's which you can use to replace the one included in the standard GApps package.

Also seeing as I have had my post with bug reports and logcats deleted (instead of moved...), DO NOT POST BUGS/QUESTIONS HERE, post them... http://xdaforums.com/showthread.php?t=1644000 or not at all.

Quote from a mod: "As the OP states. Do not submit bug reports."
[Galaxy Tab  Android Development] marvz098:
Hi guys what kernel you use in stable cm9?
[Galaxy Tab  Android Development] mr.gibran85:
can someone give me a link for gapps

Thanx
[Galaxy Tab  Android Development] mdalacu:
I have tried it, but the system ui is FC way to offen, what launcher do you recommend?
[Galaxy Tab  Android Development] cdesai:
Since a stable release has been done, we'll accept bugreports, as long as you give us logs.

Also, please continue discussion in the Discussion thread, and post bugreports there as well, since CM9 will no longer be developed and only critical bug fixes will go in.

Discussion thread: http://goo.gl/YRlJu

Closing this thread, but the discussion thread shall stay open :)
[Galaxy Tab  Android Development] humberos:
Hey!

The battery is draining a little fast.

We are using default samsung voltages.

I will update undervolt settings (in kernel) and I will test it again.

Cheers!
[Galaxy Tab  Android Development] Alcibiade:
Thanks for te information ! I guess the fact we don't really have access either to HW acceleration will not help on the battery side. Anyway it's exciting to see you're so close :)
[Galaxy Tab  Android Development] hoss_n2:
no both tabs have same camera , i have both 10.1 and 7
[Galaxy Tab  Android Development] reddog69:
need a little help please

compiled system image and boot image and so on.but I can't build the update zip .
[Galaxy Tab  Android Development] sixstringsg:
I'm betting you didn't follow all the instructions in the OP. Regardless, we're going to need a lot more info to help you.
[Galaxy Tab  Android Development] humberos:
Undervolt

Hi!!!

Since yesterday I am using some undervolt settings (in kernel) and I managed to save battery life (little more).

So, I will upload source to our github soon.

Let's test it!

Cheers!

##EDIT##

Uploaded

Check it - https://github.com/sgt7/p1000-kernel-cm9/commits/
[Galaxy Tab  Android Development] reddog69:
need help

built system image and boot image and recovery and user data but can it stops with os error ,no such file or directory /home/kids/cm9/kernel/Samsung/p1/boot.img. and make out/target/product/galaxy tab/cm_galaxytab-ota-eng.kids.zip Error.1. .thanks
[Galaxy Tab  Android Development] sixstringsg:
You didn't build the kernel first.
[Galaxy Tab  Android Development] reddog69:
thanks

ok thanks bud i will give that a try appreciate the help.i will look back thru pages to see exactly i need to do

---------- Post added at 02:36 PM ---------- Previous post was at 02:13 PM ----------

with ur help i was able to build the kernel and i an in the process of building my update zip.couldnt have done it without ur help.i will let u know how it turns out

---------- Post added at 02:51 PM ---------- Previous post was at 02:36 PM ----------

my update zip flashed fine but i am stuck at a black screen with bottom lights on any suggestions
[Galaxy Tab  Android Development] sixstringsg:
I haven't gotten anything I build myself to flash.
[Galaxy Tab  Android Development] reddog69:
hey

urs builds ok to and flashes but doesnt boot completly either?
[Galaxy Tab  Android Development] sixstringsg:
Correct. I've been trying for about three weeks.
[Galaxy Tab  Android Development] reddog69:
hey

i dont understand it how big is the update zip u end up with
[Galaxy Tab  Android Development] sixstringsg:
~110mb.

10char
[Galaxy Tab  Android Development] humberos:
New Recovery

I built a new recovery for our ramdisk.

Check it here

Enjoy!
[Galaxy Tab  Android Development] humberos:
Kernel Updated

I did some updates in our kernel source.

Features:

1. Touchscreen tweaks

2. BLN function as internal driver (require correct lights lib - /system/lib/hw)

3. New undervolt settings

You can check it here

thanks to @koxudaxi

Enjoy!
[Galaxy Tab  Android Development] jeebspawnshop:
Holy crap, man, you're on fire! ;)
[Galaxy Tab  Android Development] sbradymobile:
Great job so far, thanks for the work. I finally got a running build from this source over the weekend so I thought I would share what I have been working on.

To show the global actions menu (instead of only power off), you can create an overlay for frameworks/base/core/res/res/values-sw600dp/config.xml and set longPressOnPowerBehavior to 1.

In BoardConfig.mk you can set the custom lun path for ums

TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/usb_mass_storage/lun%d/file

I am mounting both emmc and sdcard in vold.fstab so I also added /mnt/emmc as an entry in the storage_list.xml.

For the usb mass storage notification you need to create the StorageNotification in TabletStatusBar (diff attached).
[Galaxy Tab  Android Development] humberos:
Thanks!

Please, can you upload here the diff files for storage_list.xml, vold.fstab and BoardConfig.mk too?

Cheers!
[Galaxy Tab  Android Development] Reb0rn:
Edit: OK then.

| ICS Alpha4 Powered Galaxy Tab | Tapatalk |
[Galaxy Tab  Android Development] Z3rO`:
3 Pages already. And the rom isn't even released.... *sigh*
[Galaxy Tab  Android Development] cdesai:
Its just 1 for me, and it doesnt matter, as its pretty close to AOSP now, we're working on making more hw work and optimizing it for a tablet, and that gonna take time, so be patient

Also guys, no testers needed as of now, we'll post when we need you to test something, thanks for the heads up though
[Galaxy Tab  Android Development] Z3rO`:
I think you misunderstood my post. I sighed about this thread already filling up with useless posts, like the other one. ;-)

[edit]Yes, I understood your post. And I'll stop adding clutter to this thread now :P [/edit]
[Galaxy Tab  Android Development] cdesai:
Actually it was meant for the other people, so that they dont ask ETAs n stuff :)

So in the end, both of us misunderstood our posts, hope you understand this one lol
[Galaxy Tab  Android Development] humberos:
CM9 Network | XT | Data Drivers

Drivers updated!

Commit

bcmdhd Firmware path:

/system/vendor/firmware
[Galaxy Tab  Android Development] cdesai:
Showing 865 changed files with 328,538 additions and 49,978 deletions.

Data statistics working finally :-D

From my fingers to your eyez
[Galaxy Tab  Android Development] tombepa:
+1 for cdma! For GSM! For all! I hope
[Galaxy Tab  Android Development] Hybridesque:
cdesai, are you aiming for this to be a full on proper CM9 for the Tab, as in it'll be getting nightlys and on CyanogenMod's Gerrit/Github?
[Galaxy Tab  Android Development] micha3lall3n:
cdma

http://xdaforums.com/showpost.php?p=20205553&postcount=1215

can a cdma dev look into this for me got sd working just need internal
[Galaxy Tab  Android Development] KazeOne:
CDMA user here, tired of the lack of love so I too hope we see a CDMA version :) and Im willing to test and do whatever else is needed to help move this dev a long.

Edit: to keep the thread clean ^_^ awesome screen shots, cant wait. :)
[Galaxy Tab  Android Development] cdesai:
Added some screenshots, and

Device : https://github.com/sgt7/device_samsung_galaxytab

Vendor : https://github.com/sgt7/vendor_samsung_galaxytab
[Galaxy Tab  Android Development] santroph:
Ok, i'll look into how git works (old dev here, sva and stuff) and now that I have some time (unemployed :( ) i'll try to help.

I have good internet and a fast pc, so, compiling it won't be a problem.

Just don't get me wrong, I have more time, but I won't be abble to dev full time, I still have work and study to do.

Also on GT P1000N here.

Cheers.

Santroph.
[Galaxy Tab  Android Development] omr911:
Isn't this ICS alpha 4 which was removed later...

LOLz:D
[Galaxy Tab  Android Development] cdesai:
Sorry, but I had to do this

From my fingers to your eyez
[Galaxy Tab  Android Development] dickycheung2809:
i really happy when i see this
[Galaxy Tab  Android Development] iorecki:
cdma user here as well...

those screen shots do look awesome :)
[Galaxy Tab  Android Development] devilng:
i'm sorry for my incompetence but can anybody give me links to info about cm9? i'm really interested in new features but cant find it by myself
[Galaxy Tab  Android Development] goughymachine:
If you're wondering about cm9 for the galaxy tab, then you're already reading the thread with the info! Also look to the alpha3 thread situated very near this thread.
[Galaxy Tab  Android Development] jmz:
If you don't have a dev for cdma i will pitch in for cdma. I am building right now....
[Galaxy Tab  Android Development] sbradymobile:
Here are the diffs for the storage stuff. So far I haven't had any problems using /mnt/emmc as the primary storage (my sdcard is only 64mb so I rarely use it) but the comment in storage_list.xml suggests it should be at /mnt/sdcard.
[Galaxy Tab  Android Development] humberos:
Yes!

Thanks!

I will apply your diffs and will build new one.

So, also I will post my results.

Cheers!
[Galaxy Tab  Android Development] EmperorX:
And maybe a flashable zip for us unfortunate ones? I haven't had time to build myself... Now that I do have time my computer died and I am waiting on my new laptop to arrive. It was supposed to get here two days ago but we are experiencing massive snow... If you want to pm me a link I won't distribute it. Lol

I understand this won't happen. But thank you for the hard work man I can't wait until you guys release this :)
[Galaxy Tab  Android Development] humberos:
Yes!

I will upload the "experimental" package.

Cheers!
[Galaxy Tab  Android Development] EmperorX:
<3
[Galaxy Tab  Android Development] jeebspawnshop:
Looking forward to that! ;)

And to make sure that people don't just randomly go installing stuff they don't know about... don't have it placed in the OP. Just leave it normally in the thread here.

That way they'd have to use Search (OMG!) to find it :P
[Galaxy Tab  Android Development] EmperorX:
Pms work too :P
[Galaxy Tab  Android Development] theREDlegion:
+1

Use the search? They'll NEVER find it ;)
[Galaxy Tab  Android Development] Justin^Tan:
Seriously? Omg. You mean the whole package right? The rom? Is it finally over? The long long wait? I'm gonna keep refreshing this thread :-)

sent from heaven above
[Galaxy Tab  Android Development] EmperorX:
Lol I've been refreshing for hours
[Galaxy Tab  Android Development] OsitKP:
AFAIK USB and camera (photo) don't work yet.
[Galaxy Tab  Android Development] ayysir:
hmm if only ppl and devs participated sgt7 ics irc chat then there would been no wait....meh

been running the latest commits and new kernel build for a few days now on cm9.... more or less its ready for a beta release to public