yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] pronse:
Just wanted to say that I had tried lots of other ROMs and Kernels, etc and this port of CM& is best!

Never mind some bugs but then it would be boring with getting any :)

Super work Technomancer and many thanks!
[Galaxy Tab  Android Development] Technomancer:
How to compile CyanogenMod 7 for Galaxy Tab GT-P1000

First, please read this article http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_CaptivateMTD

You will need the same prerequisites.

Then

Get repo as described there. I put mine in /usr/local/bin

Sync Android tree. You need to use manifest from cm7sgt github.

(If you have more/less than 4 cores modify your -j4 accordingly)

Create a directory for your Android, you will need oer 10GB of free space. It helps a lot to put it on SSD.

repo init -u git://github.com/cm7sgt/android.git -b gingerbread

repo sync -j4

Grab Rom Manager as described.

[ optional

Grab gapps. run vendor/cyanogen/get-google-files -v gb

then export CYANOGEN_WITH_GOOGLE=1

]

You can't (no script) and don't need to copy proprietary files, everything is already included in vendor git.

Setup your android build environment and choose device to build:

. build/envsetup.sh

lunch cyanogen_galaxytab-eng

make -j4

There, it should build with no issues. Sometimes it will complain about API changes, run make update-api then.

From here you have two options.

1. Build Heimdall images. You will need kernel with loop support, losetup, ext4 tools (mkfs.ext4).

cd device/samsung/galaxytab/tools

./buildimage

it will grab stuff from out and create ext4 images. Flash with Heimdall.

2. Build update.zip

make -j4 bacon

How to build kernel

First, you will need the arm toolchain from CodeSourcery. You need arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2

From http://www.codesourcery.com/sgpp/li...q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2

Unpack it in /opt/toolchains. as root

mkdir -p /opt/toolchains

cd /opt/toolchains

tar -xjvf arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2

Then in your CM7 tree

BEFORE YOU BUILD CM7 TREE

cd device/samsung/galaxytab

./kernel.sh defconfig

./kernel.sh modules

This will configure the kernel and build and copy modules to prebuilt directories. The kernel build directory is out/target/product/galaxytab/kernel_build

Build your android tree normally so initramfs is created.

Then again

cd device/samsung/galaxytab

./kernel.sh kernel

This will build the kernel using the initramfs in recovery/root and update prebuilt kernel image.

Now you need to run make on your android tree again so boot.img is updated.

And proceed to buildimage or make bacon as usual.
[Galaxy Tab  Android Development] nobleskill:
Alright sweet. Thank you for taking the time to reply so fully. Greatly appreciated mate and its really helpful too cause if I'm honest I really didnt know anything about the cm7 team, its structure, ethos and so on bbefore now. Hell I didn't even understand it was a team! Oh and it was the big black rock halfway between Sydney and Brisbane for this wondering, so Having it spelled out helps. I'm sorry for misunderstanding the humour mate I really am and didn't want to sound like I was expecting anything from you in the near future or have any expectations at all in many ways. Believe me I get being busy and i really understand having a full plate and then some. Just turns out I managed to clear mine for a while... :-)

Your work thus far is fantastic and literally awe inspiring at the complexity of it all and the courage shown by taking it all on your own back. I want you to know that's my genuine feelings towards this project and yourself even if my crap sense of humor has let me down or if my anal pedantic disposition has offended or annoyed.

Bluetooth? Funny story now you mention it. My dad just got a I9000T, an Australian Telstra variation on the I9000 to allow nextG... or from what I understand its really just cdma or a slightly souped up version. Just can't root it or anything yet because I'm going to contest the sale. He got ripped off basicly and I'm hell pissed. Anyways I'll know tomorrow one way or another so ill let you know. If he is keeping it im rooting it and putting something hot from the oven so cm7 sounds as good as any. B-)

Cheers.

EDIT: woo thank you so so much for taking the time and doing that up above.. I can't tell you how much that means. Seriously too. You didn't have to do that but i am so super glad and thankful you did

Again sincere apologies forthe miscommunications.

Sent from my GT-P1000
[Galaxy Tab  Android Development] zenkinz:
somethinh happened today. suddenly my tab rebooted and the screen density has been reverted to original value, which i had previously set to 240 using the lcd density app.

so i use tha app to change the ld density value again, but it wont boot up properly and i have to shut it down (by press and hold the power button) and the next time restart the tab the screen density remains unchange.
[Galaxy Tab  Android Development] af974:
Change your lcd density in build.prop with a file explore, you will not need anymore any app for that.

# ADDITIONAL_BUILD_PROPERTIES
#
ro.sf.lcd_density=[COLOR="Red"]200[/COLOR]

You can also change it from PC and push it to phone with adb.
[Galaxy Tab  Android Development] af974:
@Technomancer:

Just in case that you disabled Email from Administartor, as a Recognized Developer you have acces at RD private forum and there is always someone willing to help another dev.ù

If you didn't disabled email from admin, just don't read this post because you already know that.
[Galaxy Tab  Android Development] nobleskill:
Haha talented coder AND a timetraveler! Zomg... male or female? Single?

XD

jk.

Sent from my GT-P1000
[Galaxy Tab  Android Development] k0sh:
he is MOD , i doubt will be SHE :) ... jk too :D
[Galaxy Tab  Android Development] Technomancer:
Humble request from the time traveller:

Could anyone running stock (or stockish) GB ROM dump the SDP records?

start adb shell

run

sdptool browse

and please post the result here, one should be enough

Like this http://pastie.org/2060098
[Galaxy Tab  Android Development] DarkPal:
Techno I am getting Inquiry failed when I run these commands. I started adbshell (am rooted of course). Run sdptool browse. I get inquiring then inquiry failed.
[Galaxy Tab  Android Development] Technomancer:
Try running as root. After adb shell first type su and accept root request.
[Galaxy Tab  Android Development] DarkPal:
Already did. I don't get a root request (guess since I am already rooted). I type su I get a second # in command line. I tried firing up bluetooth and connecting a device but to no avail.
[Galaxy Tab  Android Development] Technomancer:
Weird, thanks for trying. I am trying to find out what is the RFCOMM channel for HFAG and HSAG (headset/handsfree) services in stock ROM. Bluez seems to default to 12, 13 and Android java sources say 11, 10. There are services started from init.rc that assign the channels but I cant tell whether it works right because sdptool seems to return outdated values. I feel like I am going down a rabbit hole though, it is probably not the problem I am looking for ;(
[Galaxy Tab  Android Development] paulshields:
Just want to say thanks a lot for this techno. All installed ok and seems to have compiled cm7 perfectly (though not tried flashing it yet ;)).
[Galaxy Tab  Android Development] OrionBG:
I tried "sdptool browse" command but got the same error! Inquiry failed
[Galaxy Tab  Android Development] nobleskill:
I'm getting inquiry failed to on it. Just to be clear though I'm doing it through terminal emulator of that is the problem? I'm afk so to speak so won't be able to do a PC hookup for atleast a few hours

...

Sorry. Ill check back when j get home incase no one has taken it on.

Sent from my GT-P1000
[Galaxy Tab  Android Development] OrionBG:
Tried both ways! Inquiry failed every time!
[Galaxy Tab  Android Development] nobleskill:
Oh OK. Won't rush what I'm doing to get home so thanks for letting us know. :-)

Sent from my GT-P1000
[Galaxy Tab  Android Development] DemonGloom:
Funny.. Tried this command on CM7 - and it has no output after line

Inquiring ...

Just goes back to shell..
[Galaxy Tab  Android Development] af974:
Techomancer,

i attach here 2 init.rc:

1 from Leo CM7

1 from stock GT-P1000 2.3.3

maybe you can find them usefull to understand bluetooth issue.

For istance, sdptool browse gave me the same output error on stock firmware.
[Galaxy Tab  Android Development] Technomancer:
Thanks guys. If sdptool browse doesn't work please don't bother.

It is probably something else anyway. I'll try comparing sound driver kernel sources with Aries.
[Galaxy Tab  Android Development] natious:
Initial reboot from a fresh install is uber fast, but after i restore my titanium backup its really slow, almost 2mins :(

Whys that?
[Galaxy Tab  Android Development] Technomancer:
See logcat what takes so much time? Probably some app or database is starting slowly? Also you cannot restore some data from Samsung's ROM, like for instance media database format between CM7 and Samsung doesnt match.
[Galaxy Tab  Android Development] robkoehler:
How many apps?
[Galaxy Tab  Android Development] natious:
Ok cool, ill check it out, and im only restoring market apps, no samsung content, also i had to re-flash last night because all of a sudden i was getting com.android.phone force closes, i googled it but there wasnt really a solution :(. it did go away if i removed the sim card tho.

Around 50
[Galaxy Tab  Android Development] Technomancer:
Update

2011-06-13

Rotary Lockscreen bitmaps and Twelve Key Dialer portrait and landscape layouts have been fixed by Fabrizio. Big thanks!

Fixed wrong parameter to ril->setCallVolume, hopefully will make call audio better.

Switched to use Samsung's binary brcm_patchram_plus with the same parameters in init.rc. Bluetooth SCO works now. Magic?

All right folks. Major effin Bluetooth SCO win! It looks like Samsung's binary brcm_patchram_plus and the service startup options from JQ1 ROM did the trick. I still don't know why it was broken but I suspect --pcm_role slave option did the trick.

Also, Fabrizio (XDA user frusso) did a great job of fixing some layouts and bitmaps for us. If you see him in the forum, send him some thanks!
[Galaxy Tab  Android Development] nobleskill:
Lol @ works without Sim card. This is one of my little theories. It may be factually wrong but for whatever reason if I follow it I get less if any issues.

Are you restoring apps that have root access? I always do manual installs on root apps. Don't know what difference it should make but it makes a massive difference in the number er of weird little bugs . The restore data I try to do as little apps as possible because it may look like it went OK but the amount of times its done something that has broken stuff or corrupted a db or whatever its just not worth the time. The little time saved now with data restore is lost 5x over in looking g for bugs and re-flashing and reduces the quality of your tabbing experience at a day to day level.

But yeah logcat will help you find the problem if you can be arsed going through it all.

Sent from my GT-P1000
[Galaxy Tab  Android Development] natious:
So i just restored all my apps but launcher pro, and my reboots are quicker, i had a feeling it was launcher pro because it would always FC on startup
[Galaxy Tab  Android Development] zenkinz:
For some reason lpp always fc on startup, whether it is my dhd, tab or arc. Stock or custom.

Unfortunately the author doesn't seem to slinterested in developing the app anymore.
[Galaxy Tab  Android Development] natious:
Thats unfortunate, im only using it because of the widgets :rolleyes:
[Galaxy Tab  Android Development] nobleskill:
Well done. I love when I catch a naughty little app like that. Haha Natious: 1 Android: well prolly alot but you get the idea. Might be time for GoLauncher. I love that one after avoiding it for some silly reason.

@technomancer thank you for the update today. The added information and links will no doubt help users beyond the scope of this project IMO so kudos. Will be having a crack at it today. My day to day schedule is about to preclude the use of any time for watching videos on my tab. Lol. Thank you again.

@below yeah different versions, restoring setting ect. But i still think go is the most stable and reliable launcher available. B-)

Cheers mate.

Sent from my GT-P1000
[Galaxy Tab  Android Development] Jeffro64:
I use LPP and never have any problem with it at all... Might try a fresh install from the market and see if that helps.

EDIT: LOL... Wrong person, but maybe they will see this post! @Natious... try that and see, like I said no problems with LP here.
[Galaxy Tab  Android Development] slimdizzy:
@ Tech

Since you now have more updates coming out and you have stated that you will not change the file name to help with some type of version info, could you then put it in the "About Phone" section in Kernel Version or something? That would also allow changelog to include the text change in it and therefore would be posted on every release.

Thoughts?
[Galaxy Tab  Android Development] natious:
Is anyone else having difficulty in dropping the volts, i used to be able to -200 on most, but it seems -50 is causing the tab to freeze :(
[Galaxy Tab  Android Development] knightnz:
LPP often benefits from a data wipe after various system updates. It can pay to backup the settings within the app, do a data wipe and then restore the settings, see if that helps. I've had it cause all sorts of wierd problems but restarting it fixes it.

Might have a look at Go Launcher. SPW Launcher is pretty nice, but pricy.
[Galaxy Tab  Android Development] k0sh:
sorry for the noob question ... now i downloaded the update zip .. and flash it ,. it seems like nothing change ? i can't rotate in dialer , layout still same ? did i missed something ?

i'll try to do full re-flash from the zero and i'll update
[Galaxy Tab  Android Development] enyeng:
Woohooo! Thanks a bunch for this. Will flash as soon as I got home!
[Galaxy Tab  Android Development] Technomancer:
Have you enabled rotation in phone settings?
[Galaxy Tab  Android Development] k0sh:
yes its already enabled when i flashed it ... check my previous comment i edit it .

and i'll inform you dude . i don't want to be that person who complain , but i'm really sorry if i did , thanks mate

EDIT : forget about my network , its seems like i put another thing not Modem , but i'll report back after i re-flash again :)
[Galaxy Tab  Android Development] Technomancer:
I'll modify product so the modversion will be ro.modversion=CyanogenMod-7-$(shell date +%Y-%m-%d)-Beta-GalaxyTab-KANG

The changelog in readme is created manually.
[Galaxy Tab  Android Development] k0sh:
@Tech , yeah its work perfectly :) i just needed to enable the senesor rotation , and aslo to reboot the tab to make the lock screen bigger to fit the tab :) ..

but the dialer still small .. i mean is it included with the fix layout or no ?
[Galaxy Tab  Android Development] Technomancer:
It is bigger but not huge. Making buttons much bigger than fingertip is pointless.
[Galaxy Tab  Android Development] nobleskill:
Yeah I found across the board with GB based roms the tolerance to UV is alot smaller. I have been running my current settings, after alot of trial and error, for a while now but am not on cm7. Got a screen cap if ya want to ttry?

Well just in case. I'm off to do a few things so;

Hope this helps.

Sent from my GT-P1000
[Galaxy Tab  Android Development] brycie:
I seem to be having some intermittent wifi issues. Tablet wont connect to stored networks or new ones that require wpa. If I connect to an unsecured network then try the remembered network again then it works fine.

Did this with the 6th June release and doing it with the latest one as well.
[Galaxy Tab  Android Development] Technomancer:
You probably did not reformat or wipe after you installed CM7 first. See if your data, dbdata and cache are mounted.
[Galaxy Tab  Android Development] brycie:
First install I tried the update from overcome and got constant bluetooth force close so I restocked with gingerbread for tablet then installed CM7 via heimdel and it worked fine for a week or so then one morning wifi just wouldn't connect. Connected to btopenzone then back to my saved network and all was fine. Same again today connected to hp printer then back to saved network and it worked.

Will play some more and see what happens.
[Galaxy Tab  Android Development] farahbolsey:
Hi all!

Just wanted to report that with latest ROM, JPZ modem now works fine on Euro tab :):)
[Galaxy Tab  Android Development] Technomancer:
Anything interesting in logcat? Is the current time on the Tab correct?
[Galaxy Tab  Android Development] Technomancer:
For voice calls? It must have been the libaudio fix. Good news ;-)
[Galaxy Tab  Android Development] farahbolsey:
yes for voice calls via tab or even bluetooth device :)
[Galaxy Tab  Android Development] natious:
Ive been using the JPZ modem since the 2nd last release, every other modem gives me extremely low call volume
[Galaxy Tab  Android Development] brycie:
Time is correct. I have just done full wipe reinstall and full wipe will see how it goes this time.

Thanks
[Galaxy Tab  Android Development] slimdizzy:
Thats perfect. Thanks Tech! :D
[Galaxy Tab  Android Development] zenkinz:
Video can doesn't seem to work anymore (press record button but no effect)
[Galaxy Tab  Android Development] paulshields:
Not sure it's ever worked on this release of CM7. It's mentioned in the OP, and there's an open issue against it on git.
[Galaxy Tab  Android Development] TheGrammarFreak:
It's never worked
[Galaxy Tab  Android Development] Coolman4now:
Whoa, thats a huge difference since last month !

the ROM is much more stable, issue free and the performance really is amazing, thank you Techno for your awesome work.
[Galaxy Tab  Android Development] tonyckma12:
Hi, Tech

It seems I can't access the external sdcard any more after shifting the EMMC to sdcard by adb console.

Pleae advise if I can make use of external sdcard again?
[Galaxy Tab  Android Development] OrionBG:
Hi Tech

First I want to thank you about the BT SCO Fix! BT Fandsfrees now work great!

I would like to ask do think of adding some of the extras from the other kernels that are available for the TAB? I mean the LCD/RAM UV, The Stochastic Fair Blue (SFB) network scheduler, Voodoo Sound...

And any idea why the UI is not as fluid as the stock ROM's UI? I don't mean only the launcher! List scrolling is a little laggy, animations too...just a little but still...And for a finally is it possible to Up the volume a little? Both Speaker and BT? It is not as loud as the stock ROM.
[Galaxy Tab  Android Development] TheGrammarFreak:
Use DSP manager to boost the volume
[Galaxy Tab  Android Development] natious:
Ditch adw for the ex version, its much better.

swyped from a galaxy far far away...
[Galaxy Tab  Android Development] nobleskill:
Volume in calls or in general?

B-)

Its early and I'm in a cheeky mood.... so... without Google, or Bing or any search engine, for the round and the match the million dollar question........

What Is stochastic fair blue network sheduler and why is it important?

A hint....

B[l][n] : L x N array of bins (L levels, N bins per level) enqueue() Calculate hash function values h{0}, h{1}, .. h{L-1} ..........

Sent from my GT-P1000
[Galaxy Tab  Android Development] pendevous:
Ok, it seems that the threshold for the 1.2 and 1.4 is -50. Yes, setting it to -200 rebooted my Tab. I tried 100 and so far nothing out of ordinary happened, but I'm going with 50 to be safe. It is set to -100 for me from 800mhz and below. Thanks for that screenshot, man. It really helped my configurations. :)
[Galaxy Tab  Android Development] nobleskill:
Happy it helped but if i could give one piece of advice on this for anyone else, it would almost exclusively be that each chip is different and user based trial and error is worth the effort and the only way to ensure maximum gains within your chips tolerance levels while maintaining system stability as well.

Its a good feeling when you hit the right mark and you got there through enquiry and trials.

B-)

Sent from my GT-P1000
[Galaxy Tab  Android Development] OrionBG:
here is an info about it!

http://www.pps.jussieu.fr/~jch/software/sfb/

I tried this first but DSP Manager seems to to have absolutely no effect on the Bluetooth sound!
[Galaxy Tab  Android Development] TheGrammarFreak:
Yes it does: you adjust speaker, wired headset and bluetooth headset separately.
[Galaxy Tab  Android Development] Technomancer:
It doesn't look like it really helps with anything.

Putting all kinds of experimental crap in the kernel doesn't make it better. Especially that a tablet doesn't have to handle very challenging numbers of simultaneous data connections.
[Galaxy Tab  Android Development] -Mr. X-:
flashed this last night, working just fine, no issues really so far, compiled smartass and interactive modules for it.

here is the quadrant with smart ass

flashable zip attached.

Edit: oh yah i dont bother signing flashable zips, just a heads up.
[Galaxy Tab  Android Development] paulshields:
But what about those who want to turn their Tab into a router??? :rolleyes:
[Galaxy Tab  Android Development] natious:
Wtf, you are explode quadrant!

swyped from a galaxy far far away...
[Galaxy Tab  Android Development] natious:
Beats my 1350, what else have you done

swyped from a galaxy far far away...
[Galaxy Tab  Android Development] -Mr. X-:
Just installed my modules and ran quadrant... nothing special.

i will point out that i don't allow any **** to hang out in the background. i don't run 900 messaging apps or other garbage like that.
[Galaxy Tab  Android Development] Useless_Alias:
My avg quadrant score on Tech's kernel is between 3100-3300.....could someone compile a kineto.so module for the kernel for tmobile wifi calling please?

Ill give Mr. X's a shot later too should be interesting :)
[Galaxy Tab  Android Development] Technomancer:
Excellent. Thank you very much.

Do you want to include your zip the the first post?
[Galaxy Tab  Android Development] Technomancer:
Where can we find this kineto module source?
[Galaxy Tab  Android Development] Useless_Alias:
Good call....I forget...I believe it is most likely closed. I wonder what the other maintainers have done to get it to work. I've been able to execute the app on my tab with the necessary libs and I see it attempting to work via logcat. I doubt I'll be able to find anything but I'll try to find information. Thanks for the rom because its my daily driver and thank you for being willing to entertain the request.
[Galaxy Tab  Android Development] -Mr. X-:
Whats mine is yours man, Love the rom.

If you need a hand getting it into the kernel i can give one. I'm no pro but i did get it working fine compiled in :)
[Galaxy Tab  Android Development] maxtcee:
Glad to see you got your tab working again

thanks for the zip
[Galaxy Tab  Android Development] -Mr. X-:
New main board works wonders :P

i dont trust odin any more though. heimdall all the way for me
[Galaxy Tab  Android Development] natious:
I did a factory reset, applied your .zip, im now gettign 31xx quad scores, also, how did you take a screen shot, i cant work it on cm7 and all the apps i tried suck balls

edit: To anyone else, i remember setting up long hold back button to kill current app, but i cant seem to find it again in the settings.
[Galaxy Tab  Android Development] farahbolsey:
Go to: application>development and uncheck stop app via long-press
[Galaxy Tab  Android Development] maxtcee:
Use shoot me for screen shots
[Galaxy Tab  Android Development] natious:
thanks, i cant work out how to shoot my lockscreen tho :o
[Galaxy Tab  Android Development] DemonGloom:
Strange issue with latest CM7.

When listening to music with A2DP BT headphones, music hangs often if data transmits at the same time via 3G or wi-fi.. THat does not happen on stock 2.3.3 or overcome..

Galaxy Tab p1000 with Prolife BT-55 headphones..
[Galaxy Tab  Android Development] -Mr. X-:
lol @ suck balls

anyways, i dont know iff shoot me can take a snap of the screen shot