yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] humandroid:
Internal memory set to zero?

Yesterday, I installed tcmbeta thru Windows XP. To achieve this, I copied all Heimdall and tcmbeta-files in one directory an ran the following command from the commandline:

C:..> heimdall flash --kernel zImage --factoryfs factoryfs.ext4 --dbdata dbdata.ext4 --cache cache.ext4

Heimdall reported succes. So I rebooted, entered CWM3 and then rebooted again, happy to see the CM-animation.

I was then able to run Android. Tried some apps, connected to internet thru wi-fi with no FC's or other problems. Everything seemed to run fine until I tried installing apps from the Market:

- Market complained about not having enough space to install anything

Tried another reboot and then noticed this:

- My user settings were gone. Had to set them again.

Looking for a cause:

- In "Properties, Memory" it appears I have no internal memory available.

(but SDcard has 7.38 GB; eMMC has 12 GB)

No internal memory? Obviously, something is not right here.

- Stranger even: Another menu "About Phone, Mem info" shows: 221MB / 443 MB

...?

Does anybody happen to know what went wrong with my install? What should I look into?
[Galaxy Tab  Android Development] 02xda1:
Ok, now I have been searching all night to find my own solution for this but I've come up empty. Flashed cm7 using heimdall. No worries. Internal memory now comes up as 0.00 and will not install some apps and comes up in status bar as a damaged card and asks to format.

Since in this version the internal card won't mount I cannot use Odin, where do I go from here?

What did I miss, and what can I do?
[Galaxy Tab  Android Development] af974:
It's seems that your cache is full, try to wipe it from CWM menù
[Galaxy Tab  Android Development] af974:
I would try to flash the JMK stock safe from Overcome thread using Odin and a full re-partition and then flash again tmc7beta.
[Galaxy Tab  Android Development] Powerza:
Fighting Developer, I can't wait this rom to be stable
[Galaxy Tab  Android Development] humandroid:
Internal memory set to zero?

This worked for me! I have now 1.71GB still available of of 1.87 GB total. Market is working. User settings persist after reboot. Problem solved. Thanks and +1 thumbs up for af974.

One lingering afterthought:

Installing JMK stock safe / Overcome was time consuming but succesful. Learned a lot in the process, but...

Obviously, this problem had to do with partitioning (and maybe ext4-formatting). When installing Overcome through Odin you are supposed to specify a .pit-file for re-partitioning. The tcm7beta-package contains no such file. I suppose I could have tried the .pit-file from JMK-stock for re-partitioning when installing tcm7beta through Heimdall.
[Galaxy Tab  Android Development] n2ikola:
I wanted to do this, so i fallowed all instructions.

I started flashing and it loaded these files here to the tab, and i used modem.bin provided form some guy here jk5. It loaded on the tab till the end, but it didnt want to auto reset and after some time i rebuted it manually and now only that connection form computer to phone is broken. It wanted to load more flashes but i couldnt get it to work. Can you give me the link to official stock and tell me how to fix this?
[Galaxy Tab  Android Development] 02xda1:
finally got odin to recognise it, and now it has stopped halfway through the re-stocking bit after it reboots, says it cannot find e:\

so still no joy.
[Galaxy Tab  Android Development] ravindrank:
Really want to try this (though no camera yet).. Generic GSM Galaxy Tab ..currenty on Overcome 1.6.4 n loving it...

Did anyone try google talk 1.3 .. do voice calls work fine? :D
[Galaxy Tab  Android Development] jamaljmys:
any chance for us TAB users to be as others and get at least tabTweak RC2 in this rom or file to flash it ??
[Galaxy Tab  Android Development] GANJDROID:
Tablet tweaks is in the rom.

| Don't Revive Me Bro! |
[Galaxy Tab  Android Development] jamaljmys:
dear we have the RC1 from TT in this rom, now there is RC2 with huge changes and options, its integrated with CM roms.

look here Bro

http://xdaforums.com/showthread.php?t=1002000&page=179
[Galaxy Tab  Android Development] jamaljmys:
GANJDROID

did you try anything to get the new TT features in this rom?
[Galaxy Tab  Android Development] 02xda1:
Gee, thanks for all the help guys, no really.
[Galaxy Tab  Android Development] TheGrammarFreak:
Maybe no one knows.

Sent from my Galaxy Tab. Now that's dedication
[Galaxy Tab  Android Development] zenkinz:
Whats the point of incorporating TT when TS is fixing the essential features like camera and graphic driver?
[Galaxy Tab  Android Development] Technomancer:
TT features are simply added when I merge and rebuild. No need to port anything.

Every build I post is always done with latest CM7 stuff.
[Galaxy Tab  Android Development] ramboky:
I'm going to assume that's not sarcasm and you're not being a jackass...

My only suggest is to try again. Make sure you follow ALL steps when re-stocking (JMK stock process from Overcome) including the re-partition (check the box) and don't take ANY shortcuts. It's never failed me and I've been abusing my tab with all sorts of half-baked roms for months now.

Failing that, if you can get a working recovery you should be able to discover the state of the internal storage which you can report here for more help.
[Galaxy Tab  Android Development] BeauGiles:
Neat. Is there any more news in regards to progress re: camera, etc? Or are you hopefully awaiting an official Gingerbread release from Samsung (via Optus or Vodafone Australia)?
[Galaxy Tab  Android Development] djEthen:
Is this as fluid as overcome or its still coming.. i have good things about CM7
[Galaxy Tab  Android Development] mrassol:
any news about bluetooth sco ? it's the only thing missing for me
[Galaxy Tab  Android Development] nico1375:
I won't ask for an ETA but is the video driver considered a high/medium/low priority?

(I often use my tab to watch movies, so it would be mpretty useless to me with a broken video driver.)
[Galaxy Tab  Android Development] YoMarK:
Samsung is working on a Gingerbread release for the Tab, some providers stated that they are testing it.

I think the updated kernel would make the life of Technomancer and other dev's(for example spacemouse for the honkeycomb port) a lot easier.
[Galaxy Tab  Android Development] ramboky:
Gingerbread is being rolled out via Kies in Italy as we speak!

Info here
[Galaxy Tab  Android Development] iamloco:
Great news :)
[Galaxy Tab  Android Development] jamaljmys:
thank you for news guys, but we more interested about update for CM7 rom .
[Galaxy Tab  Android Development] baxy:
I believe the point of posting about offical gingerbread is that it may make improving the CM7 rom a little easier for devs.
[Galaxy Tab  Android Development] jamaljmys:
of course pro i fully agree with you and iam in the Q waiting the official. just i want to remind the developer here that we awaiting hi update :D.

thank you
[Galaxy Tab  Android Development] ravindrank:
We have stock gingerbread..fresh on the other thread :)
[Galaxy Tab  Android Development] natious:
So now that gingerbread is officially out, shouldn't the drivers from it fix all the broken things in this cm build?

swyped from a galaxy far far away...
[Galaxy Tab  Android Development] maxtcee:
Stupid question is there anyway to just add cm7 to an existing rom
[Galaxy Tab  Android Development] TheATHEiST:
Well I would have thought a new build will be made based on the official samsung GB rom rather then fixing this one.

No, you will need to flash new rom.
[Galaxy Tab  Android Development] jamaljmys:
this thread still alive ??!!!!:confused:
[Galaxy Tab  Android Development] paulshields:
I certainly hope it is :). Flashed gingerbread on the tab and it's a definite improvement, but I'd still like to get CM7 running without issues on it. If nothing else - I prefer the black colours on things like settings. It's the little things that matter :).
[Galaxy Tab  Android Development] maxtcee:
hopfully the op is working on this since gb is out
[Galaxy Tab  Android Development] iamloco:
It is and I'm sure the OP is working to get this stable before releasing it.

If someone have some skill I'm sure he'll be glad to have some help ;)
[Galaxy Tab  Android Development] TheATHEiST:
Well ofcourse it is. This topic is about a CM7 based GB rom, which is faaaaar superior to a standard GB rom in many many ways.
[Galaxy Tab  Android Development] Technomancer:
It's alive.

The GB binaries will be very helpful, especially when kernel sources are released as well. I am investigating repacking of kernel now with my own initramfs and hopefully Samsung will release kernel sources soon.

Sorry it is going so slow but I am very busy these days.
[Galaxy Tab  Android Development] jamaljmys:
thank you guys

Technomancer: your work is our lonely hope to get CM on our devices.

thank you again
[Galaxy Tab  Android Development] TheATHEiST:
Glad to hear project is still alive bud.

Good luck/Enjoy! :)
[Galaxy Tab  Android Development] DemonGloom:
Guys, just subscribe to https://github.com/techomancer.atom and you will know when Technomancer do anything good with our cm7 port..
[Galaxy Tab  Android Development] Alvin Lai:
Samsung kernel already out

Sent from my Overcome 2.0.0 Galaxy Tab
[Galaxy Tab  Android Development] borodark:
Need 4 Speed and Think Free?

Thanks again, Technomancer!

Can I have a feature request? Is it possible to include Samsung Apps and Think Free Office into CM7 for Tab?

I do not feel well giving up those considering we already kind of paid for having it buying the device. BTW: NFS and Art Reference Library are really cool ;)

And how can I help with this?
[Galaxy Tab  Android Development] paulshields:
I found that I had to rm the /sdcard symlink before cwm would flash any zip files on the sdcard. The symlink is set up in init.rc. Don't have my tab handy at the moment, but I remember it had a comment above about it being needed for gingerbread.

Any chance of getting cwm3 in this kernel?
[Galaxy Tab  Android Development] julianLo:
Wohoo, thanks for the info, i just removed the /sdacrd symlink and CWM worked like a charm.

I had some problems with the google welcome app, but now I have gapps and can start to really test CM7 :)

I found this in the init.rc:

The internal SD-Card gets mounted as /mnt/emmc opossed to /mtn/sdcard so this confuses all kind of programs. Do we want to keep it this way, or change the mountpoints back to samsung default?

Do you have any specific tools to build the initrd, so I can experiment which init.rc settings?
[Galaxy Tab  Android Development] paulshields:
Glad it helped :D.

Really need my tab handy for this, but isn't the external sd mounted under the "internal" sd? So something like this may work?

symlink /mnt/sdcard /emmc
symlink /mnt/sdcard/external_sd /sdcard

Whatever is done, we certainly need a clockworkmod/sd card fix as I'm always running into problems with cwm on this tab :).

[edit]

A thread on google code about some of the "peculiarities" that Samsung introduced with how they manage two sd cards... http://code.google.com/p/samsung-gt-i9000-cyanogenmod/issues/detail?id=95
[Galaxy Tab  Android Development] terminal 7:
brilliant LOL..

I love this - just makes me smile - spot on :)

.
[Galaxy Tab  Android Development] Landroid:
as in cm6 i dont hear my opponent when doing a phone call, but they can hear me! is this a rom problem or a device/user problem?
[Galaxy Tab  Android Development] ivannw:
i cant use adb. it doesnt work. i've extracted init.rc from JM9 fw and compared both. its the same thing.

this means i should study more or give up ? very frustrated.

if someone can help.. add me on msn: ivan.costa (at) hotmail
[Galaxy Tab  Android Development] julianLo:
Same problem here :(
[Galaxy Tab  Android Development] julianLo:
I played around a little bit with the sdcard mount options.. its relatively easy to mount the sdcard under /mnt/sdcard, i just modified the vold.conf and vold.fstab in /etc.

gallery&music work fine when pushing some media files with ADB.

But still I could not mount the sdcard as USB-storage :(

movies, youtube etc. all doesnt work, seems to be the same problem as with the camera. youtube plays the sound but the image is just a green square.

Logcat of camera error (reduced):

dmesg of camera error:

Logcat of youtube error (reduced):
[Galaxy Tab  Android Development] julianLo:
Later I was looking into GPS:

I was looking at LocationManager(https://github.com/cmsgs/android_fr...on/java/android/location/LocationManager.java)

but could't find the implementation class for the ILocationManager Interface. Anybody knows where to find it?
[Galaxy Tab  Android Development] Technomancer:
This is how CM does it, internal sdcard is mounted as /mnt/emmc (embedded mmc)

and external is mounted in normal /mnt/sdcard like in any other android device.

I dont plan to change that.
[Galaxy Tab  Android Development] Technomancer:
I have the GPS figured out with nexus s gps but it requires GB init (because of SEQPACKET socket). That of course screws up another pile of things which I am fixing now.

As for voice calls. I can hear person on the other side just fine. I am using ATT tab. Both earpiece and speakerphone are routed to speaker (SPK) alsa device.

Could you guys with no voice audio try to figure out what you have in common? Do you use Euro Tabs?

What is your output from amix? On mine

~ # amix
id iface dev sub idx num perms type name
1 MIXER 0 0 0 2 rw R INT32 Playback Volume { 0-63 }
2 MIXER 0 0 0 2 rw R INT32 Playback Spkr Volume { 0-63 }
3 MIXER 0 0 0 2 rw R INT32 Playback Headset Volume { 0-63 }
4 MIXER 0 0 0 1 rw R INT32 Capture Volume { 0-239 }
5 MIXER 0 0 0 1 rw ENUM Playback Path { OFF=0, RCV=1, SPK=2, HP3P=3, HP4P=4, BT=5, DUAL=6, RING_SPK=7, RING_HP=8, RING_DUAL=9, EXTRA_DOCK_SPEAKER=10, TV_OUT=11, HDMI_TV_OUT=12, HDMI_SPK=13, HDMI_DUAL=14 }
6 MIXER 0 0 0 1 rw ENUM Voice Call Path { OFF=0, RCV=1, SPK=2, HP3P=3, HP4P=4, BT=5 }
7 MIXER 0 0 0 1 rw ENUM MIC Path { Main Mic=0, Sub Mic=1 }
8 MIXER 0 0 0 1 rw ENUM FM Radio Path { FMR_OFF=0, FMR_SPK=1, FMR_HP=2, FMR_SPK_MIX=3, FMR_HP_MIX=4, FMR_DUAL_MIX=5 }
9 MIXER 0 0 0 1 rw ENUM Codec Tuning { OFF=0, ON=1 }
10 MIXER 0 0 0 1 rw ENUM Codec Status { FMR_VOL_0=0, FMR_VOL_1=1, FMR_OFF=2, REC_OFF=3, REC_ON=4 }
11 MIXER 0 0 0 1 rw ENUM Voice Call Recording { CALL_RECORDING_OFF=0, CALL_RECORDING_MAIN=1, CALL_RECORDING_SUB=2 }
12 MIXER 0 0 0 1 rw ENUM Recording Channel { CH_OFF=0, CH_UPLINK=1, CH_DOWNLINK=2, CH_UDLINK=3 }
13 MIXER 0 0 0 1 rw ENUM Clock Control { OFF=0, ON=1 }
[Galaxy Tab  Android Development] Technomancer:
Try using headphones for voice call. Does it work?
[Galaxy Tab  Android Development] julianLo:
I don't have them with me at the moment, i can test it in the evening (european time ;)).

Do you know why the tab keeps on changing its orientation to landscape on some events (like a force close, or locking the screen).

When I lock the screen logcat says:

D/WindowManager( 2568): I'm tired mEndcallBehavior=0x2
I/power ( 2568): *** set_screen_state 0
I/akmd ( 3756): Stop periodic update.
I/GPSButton( 2647): Update State
I/GPSButton( 2647): Update State
I/WindowManager( 2568): Setting rotation to 0, animFlags=1
I/ActivityManager( 2568): Config changed: { scale=1.0 imsi=232/5 loc=de_AT touch=3 keys=2/1/2 nav=1/1 orien=2 layout=35 uiMode=17 seq=15 themeResource=null}
D/HomeLoaders( 2671): aborting loaders

Does the guide to building from source (http://cmsgs.com/mediawiki/index.php?title=Build_CyanogenMod_for_Samsung_GalaxyTab) still apply?

If yes, I would try it out in the evening.
[Galaxy Tab  Android Development] Technomancer:
The default screen orientation is landscape, so some screens (lockscreen, dialer etc) are in landscape. It can be changed with ro.sf.hwrotation=90 but then touchscreen events are rotated . I had patch for it for Froyo but it is much harder on GB because input layer is all changed. Some day it will be fixed.

Guide still applies. Just use gingerbread branch and apply patches from device/samsung/galaxytab/patches
[Galaxy Tab  Android Development] TheGrammarFreak:
No! Leave it. Please?

Sent from my Galaxy Tab
[Galaxy Tab  Android Development] Evil_Sadness:
Why Not a Install about clockwork mod? The heimdal and odin install is not so comfortable ... :-(
[Galaxy Tab  Android Development] futuregerald:
*sigh* why did I get the Sprint Tab, t-mo is the way to go. too late to return it too.
[Galaxy Tab  Android Development] TheGrammarFreak:
It must kill. It kinda sucks that you guys can't join in on the fun, I feel for you.
[Galaxy Tab  Android Development] theexx123:
You can't get Samsung apps in AOSP builds like CM. The AOSP release from google (wich CM builds on) are very different from Samsungs own versions. It's like asking to get TouchWizard on AOSP. If you enjoy the Samsung apps etc, just stick with their firmware :-)
[Galaxy Tab  Android Development] eromrab:
Hey, I've tried this like 3 times. Each time I flash the tmc7beta it says I have 0 internal storage (the internal sd card and external sd cards show up with space though). It won't let me install anything because I don't have room.

I flash it back to stock and it's fine. Says I have 1.83GB of internal device storage. Help??
[Galaxy Tab  Android Development] TheGrammarFreak:
You may need to format /data to ext4. You have 2 options:

Install overcome 1.6.x and enable voodoo lagfix, then boot to recovery, wipe data/factory reset then boot straight to download mode and flash this

The other option is to boot into recovery and use e2fsck or parted to format the data partition to ext4, (/dev/block/mmcblk0p2) Also note that using parted will wipe your internal SD card
[Galaxy Tab  Android Development] eromrab:
So I went the e2fsck & parted route... it was a bit confusing lol but I found a good tutorial: http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/

Only issue I had was step 7... he mentioned a script, but that didn't work. Had to enter in commands:

ext2 to ext3 (make sure you have your partition number right, e.g. p2 is for the 2nd partition...)

tune2fs -j /dev/block/mmcblk0p2

ext3 to ext4

tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2

e2fsck -fpDC0 /dev/block/mmcblk0p2

That worked. Not sure I gave myself enough internal storage space, but I can always go back and do it later if I need to.

Thanks!
[Galaxy Tab  Android Development] TheGrammarFreak:
/data is around 2GB for the tab normally
[Galaxy Tab  Android Development] Technomancer:
After you flash the kernel and factoryfs.ext4 that comes in tcm7beta.zip with Heimdall just reboot to recovery and select full wipe. It should reformat data, dbdata and cache partitions to ext4.
[Galaxy Tab  Android Development] TheGrammarFreak:
Did not know that, thanks for the info.
[Galaxy Tab  Android Development] eromrab:
Hmmmm, I'm still having issues with mounting Tab as a USB drive... I click the drop down notification and it goes to open something but it just closes and goes back to home screen...
[Galaxy Tab  Android Development] ssserpentine:
Can we finally get tablet tweaks?!?!?!?!?!
[Galaxy Tab  Android Development] TheATHEiST:
Indeed!

Hopefully in new port :)
[Galaxy Tab  Android Development] maxtcee:
tablet tweaks is in the rom how many times does the op have to say it

side note can we ever get an odin or cwm version?

i feel we will have less useless posts on how to,i cant ,what if , bla bla bla

if we can just load it via odin or cwm

not saying that maybe bricking your tab is useless but you get my rift
[Galaxy Tab  Android Development] TheATHEiST:
Sorry, thought somebody said previously they didn't work in this particular port. I haven't been following this project much. Will have a good read and try it out.
[Galaxy Tab  Android Development] ssserpentine:
Also where does it say it in the original post? I flashed this awhile ago and there were no tablet tweaks then.
[Galaxy Tab  Android Development] TheATHEiST:
It seems from some comments that they are in the latest build.

I've just tried flashing this though and cant get past Galaxy Tab boot screen. Also cant seem to connect via Download mode now.

[edit] Just needed to uninstall the heimdall drivers. Gunna start again and try get this flashed properly.

[edit2] Just cant see what im doing wrong, Tried flashing various times, have also flashed the pit prior aswell as tried other way to partition and just cant get past the Galaxy Tab boot screen :(

Any advice?
[Galaxy Tab  Android Development] maxtcee:
Heres a little Write up i did for those of you who are Inept

IF THIS TURNS YOUR ***** INTO A DOG DONT BLAME ME

10 Easy Steps

1 restock using jmk stock safe rom flash hidden pit with odin from from here http://www.multiupload.com/U88JTJ4P10 let it boot all the way up

then flash overcomes kernal from attached for ext4

2 download the tcm7 beta package from first post

3 download and extract heimdall from here https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-suite-1.1.1-win32.zip

4 download and install microsoft visual c from here http://www.microsoft.com/downloads/...5E-6DE6-4D3A-A423-37BF0912DB84&displaylang=en

5 put phone into download mode, connect usb

6 open up heimdall extracted folder read read me on how to install drivers

7 open up heimdall frontend install

pda = factoryfs ext4

kernal = zimage

8 click start

9 reboot when finished

10 go into recovery do full wipe

reboot enjoy

install updated tablet tweaks from here via cwm http://www.mediafire.com/?zbok620rm69qknm

FOR TABLET TWEAKS GO INTO SETTING CYANOGEN MOD AND ENABLE TABLET TWEAKS
[Galaxy Tab  Android Development] maxtcee:
deleteeeeeee
[Galaxy Tab  Android Development] TheATHEiST:
Already done all that yesterday, pretty simple. But after flash it just stays at Gtab boot screen and also wont go into recovery.

Ill try again later again later incase I missed something.

btw, I'm not sure if you was referrig to myself but I am FAR from "inept". Ive been flashing/modding etc for years. Ive tried various times and obviously something is going wrong, Just not sure what it is.
[Galaxy Tab  Android Development] maxtcee:
yea i had the recovery problem as well at first thats why i stated to put on overcomes kernal that will give you ext 4 its preety straight fwwd once you get the hang of it

not refering to you as being inept

i subscribe to this thread and keep getting notifications of ppl having issues loading this so i decided to make these simple instructions

no pun intended
[Galaxy Tab  Android Development] TheATHEiST:
ahhh, the bloody kernel, thats what I havent tried yet :D

Gunna start over and give it a blast :)
[Galaxy Tab  Android Development] maxtcee:
if your comming from gingerbread which im assuming your are

its best to restock using overcomes restock rom flash with hidden pit

then overcomes ext4 kernal

then this rom

also check the apps section

i posted some cm7 goodies
[Galaxy Tab  Android Development] TheATHEiST:
I restocked with the GB stock and the pit and kernel but got same results as before, no boot pas the Gtab screen and no recovery.

Will the 1.6 restock see if it helps.
[Galaxy Tab  Android Development] maxtcee:
yes 1.6 stock not gingerbread stock

i should have clarified that before

just updated my post

thanks for pointing that out
[Galaxy Tab  Android Development] TheATHEiST:
Woohoo, CM boot screen :D

Build has booted but now I cant get through setup, its saying "Slide keyboard open to continue.." ...wtf?

Cant get past this, have searched topic but nobody seems to have mentioned it :(

[edit] n/m I restarted and skipped teh google acount option and got home screen, now to have a play :)
[Galaxy Tab  Android Development] crisvillani:
You should be able to skip through the setup.

Sent from my GT-P1000
[Galaxy Tab  Android Development] TheATHEiST:
Yeah I restarted, skipped the google account setup and went to home screen :)

Shame about the lock scree size issue, does anybody else have that, ive search but cant find any more reference to it.