[ROM] [GSM] CM7 Gingerbread Beta 2012-02-19

Search This thread

paulshields

Senior Member
Nov 17, 2006
383
54
Liverpool
Yes, CWM2 is all messed up and mounts both cards to /mnt/sdcard and **** happens. I know.

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?
 
  • Like
Reactions: julianLo

julianLo

Member
Nov 23, 2010
36
6
Vienna
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?

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:
# Backwards Compat - XXX: Going away in G*
symlink /mnt/sdcard /sdcard
symlink /mnt/emmc /emmc
mkdir /mnt/obb 0700 root system
mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000



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?
 

paulshields

Senior Member
Nov 17, 2006
383
54
Liverpool
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 :)

Glad it helped :D.

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?

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

Code:
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
 
Last edited:

terminal 7

Senior Member
Jan 27, 2008
469
45
exeter, uk.
brilliant LOL..

wicked.jpg


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

Landroid

Senior Member
Jul 27, 2010
235
36
Graz
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?
 

ivannw

Senior Member
Feb 13, 2010
53
8
Belo Horizonte
Maybe P1000L has different parition layout or something.
Test if you can mount all needed paritions from adb. Maybe you will have to change your init.rc. Rip initramfs from your stock ROM and see what it is doing.

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
 

julianLo

Member
Nov 23, 2010
36
6
Vienna
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?

Code:
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

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):
D/SEC_Overlay( 2567): overlay_createOverlay:IN w=640 h=480 format=99
E/SEC_Overlay( 2567): Failed to open overlay device : Device or resource busy
W/CameraService( 2394): Overlay create failed - retrying
.......
D/SEC_Overlay( 2567): overlay_createOverlay:IN w=640 h=480 format=99
E/SEC_Overlay( 2567): Failed to open overlay device : Device or resource busy
W/CameraService( 2394): Overlay create failed - retrying
E/CameraService( 2394): Overlay Creation Failed!
W/CameraHardwareSec( 2394): virtual android::status_t android::CameraHardwareSec::cancelPicture() : not supported, just returning NO_ERROR
E/SecCamera( 2394): DeinitCamera: m_cam_fd(14)
E/SecCamera( 2394): DeinitCamera: m_cam_fd2(20)
D/AndroidRuntime( 4404): Shutting down VM
W/dalvikvm( 4404): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 4404): FATAL EXCEPTION: main
E/AndroidRuntime( 4404): java.lang.RuntimeException: setPreviewDisplay failed
E/AndroidRuntime( 4404): at com.android.camera.Camera.setPreviewDisplay(Camera.java:1718)
......
E/AndroidRuntime( 4404): Caused by: java.io.IOException: setPreviewDisplay failed
E/AndroidRuntime( 4404): at android.hardware.Camera.setPreviewDisplay(Native Method)
E/AndroidRuntime( 4404): at android.hardware.Camera.setPreviewDisplay(Camera.java:351)
E/AndroidRuntime( 4404): at com.android.camera.Camera.setPreviewDisplay(Camera.java:1715)
E/AndroidRuntime( 4404): ... 30 more
W/ActivityManager( 2567): Force finishing activity com.android.camera/.Camera
W/ActivityManager( 2567): Activity pause timeout for HistoryRecord{40690bb8 com.android.camera/.Camera}

dmesg of camera error:
<4>[26426.895815] isx005_probe...................................................
<7>[26426.896919] dev:ctrl->mem.base:433b4000, ctrl->mem.size:800000
<7>[26426.902082] dev:fimc2_buff:f9000000
<4>[26426.986826] <MACHINE> isx005_ldo_en(1)
<4>[26427.003317] isx005_cam_nrst(1)
<4>[26427.034201] isx005_init: init setting~~~~~~~~~~~~~~
<4>[26427.096695] <MACHINE> stdby(1)
<4>[26427.139659] isx005_calibration : start
<4>[26427.304261] isx005_calibration : end
<4>[26427.304274] isx005_init: isx005_init_image_tuning_setting~~~~~~~~~~~~~~
<3>[26429.249444] ISX005 0-001a: isx005_set_preview_start: Entering AE stabilization timed out
<6>[26429.505817] pmem: request for physical address of pmem region from process 2711.
<3>[26429.522313] s3c-fimc-1 : fimc_open: Device busy.
.......
<3>[26430.726226] s3c-fimc-1 : fimc_open: Device busy.
<4>[26430.874382] isx005_remove....................................................
<4>[26430.874441] isx005_flash, flash set is 0
<4>[26430.879099] isx005_power_off
<4>[26430.887836] <MACHINE> isx005_ldo_en(0)
<6>[26443.967999] init: waitpid returned pid 9499, status = 00000001
<3>[26443.968160] init: untracked pid 9499 exited

Logcat of youtube error (reduced):
D/SEC_Overlay( 2567): overlay_createOverlay:IN w=384 h=288 format=256
E/SEC_Overlay( 2567): Failed to open overlay device : Device or resource busy
E/SecHardwareRenderer( 2394): Unable to create the overlay!
 

julianLo

Member
Nov 23, 2010
36
6
Vienna
Later I was looking into GPS:
E/AndroidRuntime( 5020): FATAL EXCEPTION: main
E/AndroidRuntime( 5020): java.lang.RuntimeException: Unable to resume activity {com.eclipsim.gpsstatus2/com.eclipsim.gpsstatus2.GPSStatus}: java.lang.IllegalArgumentException: provider=gps
E/AndroidRuntime( 5020): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2222)
E/AndroidRuntime( 5020): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2237)
.....
E/AndroidRuntime( 5020): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 5020): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 5020): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5020): Caused by: java.lang.IllegalArgumentException: provider=gps
E/AndroidRuntime( 5020): at android.os.Parcel.readException(Parcel.java:1326)
E/AndroidRuntime( 5020): at android.os.Parcel.readException(Parcel.java:1276)
E/AndroidRuntime( 5020): at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:646)
E/AndroidRuntime( 5020): at android.location.LocationManager._requestLocationUpdates(LocationManager.java:582)
E/AndroidRuntime( 5020): at android.location.LocationManager.requestLocationUpdates(LocationManager.java:446)
E/AndroidRuntime( 5020): at com.eclipsim.gpsstatus2.SensorActivity.onResume(SensorActivity.java:544)
E/AndroidRuntime( 5020): at com.eclipsim.gpsstatus2.GPSStatus.onResume(GPSStatus.java:186)
E/AndroidRuntime( 5020): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
E/AndroidRuntime( 5020): at android.app.Activity.performResume(Activity.java:3833)
E/AndroidRuntime( 5020): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2212)
E/AndroidRuntime( 5020): ... 12 more

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?
 

Technomancer

Retired Recognized Developer
Feb 15, 2010
562
425
SF Bay Area
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?

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.
 

Technomancer

Retired Recognized Developer
Feb 15, 2010
562
425
SF Bay Area
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
Code:
~ # 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 }
 

julianLo

Member
Nov 23, 2010
36
6
Vienna
I have a Euro Tab, I guess Landroid too (since he's also from Austria)

my amix output:
Code:
~ # amix
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 }


ok, i tried it once more, here is the output of dmesg & logcat
Code:
dmesg
<6>[33855.394856] power_supply battery: s3c_bat_store: voice call 2G = 1
<7>[33855.498338] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33855.498394] [Vibtonz] DISABLE
<4>[33855.550850] [cmc]27(16)
<7>[33855.573201] [TSP] key_led_store: keyled is on.
<4>[33855.573483] [cmc]34(34)
<7>[33855.589371] [TSP] key_led_store: keyled is on.
<4>[33855.589642] [cmc]41(65)
<7>[33855.595603] [TSP] key_led_store: keyled is on.
<4>[33855.600770] [ wm8994.c (wm8994_startup,1663) ] Turn on codec
<4>[33855.607284] [cmc]48(97)
<7>[33855.611559] [TSP] key_led_store: keyled is on.
<4>[33855.622908] [cmc]56(133)
<7>[33855.625544] [TSP] key_led_store: keyled is on.
<4>[33855.646856] [cmc]63(164)
<4>[33855.666390] [ wm8994.c (wm8994_set_playback_path,410) ] routing to SPK
<4>[33855.666400]
<4>[33855.666412] [ wm8994_p1.c (wm8994_set_playback_speaker,1813) ]
<7>[33855.707921] [TSP] key_led_store: keyled is on.
<4>[33855.708097] [cmc]70(196)
<7>[33855.716044] [TSP] key_led_store: keyled is on.
<4>[33855.724421] [cmc]77(227)
<7>[33855.725939] [TSP] key_led_store: keyled is on.
<4>[33855.741946] [cmc]84(259)
<7>[33855.773049] [TSP] key_led_store: keyled is on.
<4>[33855.773180] [cmc]91(291)
<7>[33855.779945] [TSP] key_led_store: keyled is on.
<4>[33855.790842] [cmc]99(327)
<7>[33855.792871] [TSP] key_led_store: keyled is on.
<4>[33855.810403] [cmc]106(358)
<7>[33855.853320] [TSP] key_led_store: keyled is on.
<4>[33855.853465] [cmc]113(390)
<7>[33855.866677] [TSP] key_led_store: keyled is on.
<6>[33855.868460] request_suspend_state: wakeup (0->0) at 33855870846812 (2011-01-31 09:15:19.151013283 UTC)
<4>[33855.868922] [cmc]120(421)
<7>[33855.888667] [TSP] key_led_store: keyled is on.
<4>[33855.888806] [cmc]127(453)
<7>[33855.913461] [TSP] key_led_store: keyled is on.
<4>[33855.913604] [cmc]128(457)
<7>[33855.915263] [TSP] key_led_store: keyled is on.
<7>[33857.780021] [TSP] Finger[0] Down  (130,71) size : 3
<7>[33857.784192] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33857.784209] [Vibtonz] DISABLE
<7>[33857.784757] [Vibtonz] enable_vibetonz_from_user : time = 30 msec
<7>[33857.785220] [Vibtonz] ENABLE
<7>[33857.815316] [Vibtonz] DISABLE
<7>[33857.818272] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33857.818288] [Vibtonz] DISABLE
<7>[33858.027555] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33858.027571] [Vibtonz] DISABLE
<7>[33858.028111] [Vibtonz] enable_vibetonz_from_user : time = 40 msec
<7>[33858.028552] [Vibtonz] ENABLE
<4>[33858.049584] fg_read_soc : SOC(30), data(0x1eb0)
<4>[33858.049893] fg_read_vcell : VCELL(3705), data(0xb94a)
<4>[33858.050493] fg_read_current : CURRENT(-711mA), AVG_CURRENT(-176mA)
<4>[33858.051056] s3c_bat_status_update: call power_supply_changed
<7>[33858.051875] [TSP] Finger[0] Up    (106,466) size : 2
<7>[33858.068207] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33858.068227] [Vibtonz] DISABLE
<6>[33858.261132] power_supply battery: s3c_bat_store: voice call 2G = 1
<4>[33858.331734] [ wm8994.c (wm8994_shutdown,1693) ] Stream_type = 0, Stream_state = [0x1],  Codec State = [0x1]
<4>[33858.331751] [ wm8994.c (wm8994_shutdown,1708) ] Turn off Codec!!
<4>[33858.331761] [ wm8994_p1.c (audio_ctrl_mic_bias_gpio,330) ] MICBIAS Off
<4>[33858.332381] [ wm8994.c (wm8994_startup,1663) ] Turn on codec
<7>[33858.398670] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33858.398686] [Vibtonz] DISABLE
<4>[33858.616013] [ wm8994.c (wm8994_set_call_path,525) ] routing  voice path to  SPK
<4>[33858.616022]
<4>[33858.616034] [ wm8994_p1.c (wm8994_set_voicecall_speaker,3393) ]
<4>[33858.616045] [ wm8994_p1.c (audio_ctrl_mic_bias_gpio,323) ] MICBIAS On
<4>[33865.231180] printk:do_inquiry fsg->cdrom 0 curlun->id 1
<4>[33865.231545] printk:do_inquiry fsg->cdrom 0 curlun->id 0
<6>[33870.885227] power_supply battery: s3c_bat_store: voice call 2G = 0
<7>[33870.993173] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33870.993230] [Vibtonz] DISABLE
<7>[33871.115772] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33871.115803] [Vibtonz] DISABLE
<7>[33871.116516] [Vibtonz] enable_vibetonz_from_user : time = 50 msec
<7>[33871.117094] [Vibtonz] ENABLE
<7>[33871.167124] [Vibtonz] DISABLE
<7>[33871.169848] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33871.169875] [Vibtonz] DISABLE
<7>[33871.218060] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33871.218078] [Vibtonz] DISABLE
<7>[33871.218614] [Vibtonz] enable_vibetonz_from_user : time = 50 msec
<7>[33871.219077] [Vibtonz] ENABLE
<7>[33871.269158] [Vibtonz] DISABLE
<7>[33871.271245] [Vibtonz] enable_vibetonz_from_user : time = 0 msec
<7>[33871.271257] [Vibtonz] DISABLE
<4>[33871.286283] [ wm8994.c (wm8994_set_playback_path,410) ] routing to RCV
<4>[33871.286291]
<4>[33871.287040] [ wm8994_p1.c (wm8994_set_playback_receiver,1503) ]
<4>[33871.300140] [ wm8994.c (wm8994_shutdown,1693) ] Stream_type = 0, Stream_state = [0x1],  Codec State = [0x1]
<4>[33871.300157] [ wm8994.c (wm8994_shutdown,1708) ] Turn off Codec!!
<4>[33871.300168] [ wm8994_p1.c (audio_ctrl_mic_bias_gpio,330) ] MICBIAS Off
<4>[33871.300844] [ wm8994.c (wm8994_startup,1663) ] Turn on codec
<4>[33871.365666] [ wm8994.c (wm8994_set_playback_path,410) ] routing to SPK
<4>[33871.365676]
<4>[33871.365688] [ wm8994_p1.c (wm8994_set_playback_speaker,1813) ]
~ # logcat -d
logcat -d
D/WifiService( 2566): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@40861ea0}
I/System.out( 2684): [INFO:37662898]: LogSource: Running flush
I/System.out( 2684): [INFO:37662911]: LogSource: Sending payload [bytes=589]
I/System.out( 2684): [SEVERE:37662925]: LogSource: AsyncHttpRequestImpl.run(): exception thrown : www.google.com: java.net.UnknownHostException
I/System.out( 2684): [INFO:37662925]: LogSource: Resending com.google.masf.protocol.PlainRequest@40632cd8
W/WifiService( 2566): misformatted scan result for: b4:14:89:14:15:20   2437    185     [WPA-EAP-TKIP+CCMP][WPA2-EAP-CCMP]
W/WifiService( 2566): misformatted scan result for: 00:16:e3:cf:0e:f4   2462    174     [WEP]
I/System.out( 2684): [INFO:37664925]: LogSource: Running delayed flush
I/System.out( 2684): [INFO:37664936]: LogSource: Running flush
I/System.out( 2684): [INFO:37664949]: LogSource: Sending payload [bytes=589]
I/System.out( 2684): [SEVERE:37664960]: LogSource: AsyncHttpRequestImpl.run(): exception thrown : www.google.com: java.net.UnknownHostException
I/System.out( 2684): [INFO:37664962]: LogSource: Resending com.google.masf.protocol.PlainRequest@40632cd8
D/WifiService( 2566): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.BinderProxy@40861ea0}
W/WifiService( 2566): misformatted scan result for: b4:14:89:14:15:20   2437    185     [WPA-EAP-TKIP+CCMP][WPA2-EAP-CCMP]
W/WifiService( 2566): misformatted scan result for: 00:16:e3:cf:0e:f4   2462    174     [WEP]
I/System.out( 2684): [INFO:37668962]: LogSource: Running delayed flush
I/System.out( 2684): [INFO:37668974]: LogSource: Running flush
I/System.out( 2684): [INFO:37668988]: LogSource: Sending payload [bytes=589]
I/System.out( 2684): [SEVERE:37669002]: LogSource: AsyncHttpRequestImpl.run(): exception thrown : www.google.com: java.net.UnknownHostException
I/System.out( 2684): [INFO:37669004]: LogSource: Resending com.google.masf.protocol.PlainRequest@40632cd8
D/dalvikvm( 2749): GC_EXPLICIT freed 180K, 58% free 2720K/6471K, external 1330K/1822K, paused 149ms
I/System.out( 2684): [INFO:37677004]: LogSource: Running delayed flush
I/System.out( 2684): [INFO:37677015]: LogSource: Running flush
I/System.out( 2684): [INFO:37677036]: LogSource: Sending payload [bytes=589]
I/System.out( 2684): [SEVERE:37677055]: LogSource: AsyncHttpRequestImpl.run(): exception thrown : www.google.com: java.net.UnknownHostException
D/ProtoRequestListener( 2684): requestFailed()
D/dalvikvm( 3061): GC_EXPLICIT freed 349K, 53% free 3430K/7239K, external 1330K/1822K, paused 166ms
W/WifiService( 2566): misformatted scan result for: b4:14:89:14:15:20   2437    183     [WPA-EAP-TKIP+CCMP][WPA2-EAP-CCMP]
W/WifiService( 2566): misformatted scan result for: b4:14:89:14:17:30   2412    166     [WPA-EAP-TKIP+CCMP][WPA2-EAP-CCMP]
W/WifiService( 2566): misformatted scan result for: 00:16:e3:cf:0e:f4   2462    172     [WEP]
I/AudioService( 2566):  AudioFocus  requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
I/TelephonyRegistry( 2566): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=2GVoiceCallStarted interfaceName=pdp0 networkType=1
D/AccelerometerListener( 2696): enable(false)
I/GPSButton( 2672): Update State
D/AudioHardwareInterface( 2394): setMode(RINGTONE)
V/AudioHardware( 2394): setMode() : new 1, old 0
D/AudioFlinger( 2394): setParameters(): io 1, keyvalue routing=2, tid 2541, calling tid 2394
D/AudioHardware( 2394): AudioStreamOutALSA::setParameters() routing=2
D/AudioHardware( 2394): AudioStreamOutALSA::write: AudioHardware pcm playback is exiting standby.
V/AudioHardware( 2394): open pcm_out driver
D/AudioHardware( 2394): openPcmOut_l() mPcmOpenCnt: 0
V/alsa_pcm( 2394): pcm_open(0x00027000)
V/alsa_pcm( 2394): pcm_open() period sz multiplier 8
V/alsa_pcm( 2394): pcm_open() period cnt 4
D/StatusBarService( 2672): Notification has fullScreenIntent; sending fullScreenIntent
I/ActivityManager( 2566): Starting: Intent { act=android.intent.action.MAIN flg=0x10840000 cmp=com.android.phone/.InCallScreen } from pid -1
V/alsa_pcm( 2394): pcm_open() period_cnt 4 period_sz 1024 channels 2
V/AudioHardware( 2394): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware( 2394): open playback normal
V/AudioHardware( 2394): write() wakeup setting route SPK
W/AudioFlinger( 2394): write blocked for 88 msecs, 106 delayed writes, thread 0xc758
I/WindowManager( 2566): Setting rotation to 1, animFlags=1
I/ActivityManager( 2566): Config changed: { scale=1.0 imsi=232/5 loc=de_AT touch=3 keys=2/1/2 nav=1/1 orien=1 layout=35 uiMode=17 seq=10 themeResource=null}
W/ResourceType( 2696): getEntry failing because entryIndex 65 is beyond type entryCount 1
I/power   ( 2566): *** set_screen_state 1
I/GPSButton( 2672): Update State
W/InputManagerService( 2566): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@408f29e8 (uid=10018 pid=2773)
W/IInputConnectionWrapper( 2773): showStatusIcon on inactive InputConnection
D/dalvikvm( 2566): GC_EXPLICIT freed 383K, 49% free 5739K/11079K, external 6693K/8358K, paused 83ms
W/ResourceType( 2696): Attempt to retrieve bag 0x01010041 which is invalid or in a cycle.
D/InCallTouchUi( 2696): onDialTrigger(whichHandle = 1)...
I/phone   ( 2696): acceptCall: incoming...
D/InCallTouchUi( 2696): updateState: Too soon after last action; not drawing!
D/WifiService( 2566): ACTION_BATTERY_CHANGED pluggedType: 2
D/dalvikvm( 2749): GREF has increased to 301
I/AudioService( 2566):  AudioFocus  requestAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
D/dalvikvm( 2749): GC_CONCURRENT freed 171K, 54% free 3029K/6471K, external 1330K/1822K, paused 2ms+5ms
D/dalvikvm( 2749): GREF has decreased to 199
D/Sensors ( 2566): ProximitySensor::readEvents
D/AccelerometerListener( 2696): enable(true)
D/AudioHardwareInterface( 2394): setMode(IN_CALL)
V/AudioHardware( 2394): setMode() : new 2, old 1
V/AudioHardware( 2394): setMode() in call force output standby
D/AudioHardware( 2394): AudioHardware pcm playback is going to standby.
V/AudioHardware( 2394): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware( 2394): closePcmOut_l() mPcmOpenCnt: 1
V/AudioHardware( 2394): setMode() openPcmOut_l()
D/AudioHardware( 2394): openPcmOut_l() mPcmOpenCnt: 0
V/alsa_pcm( 2394): pcm_open(0x00027000)
V/alsa_pcm( 2394): pcm_open() period sz multiplier 8
V/alsa_pcm( 2394): pcm_open() period cnt 4
V/alsa_pcm( 2394): pcm_open() period_cnt 4 period_sz 1024 channels 2
V/AudioHardware( 2394): openMixer_l() mMixerOpenCnt: 0
D/AudioHardware( 2394): AudioStreamOutALSA::write: AudioHardware pcm playback is exiting standby.
V/AudioHardware( 2394): open pcm_out driver
D/AudioHardware( 2394): openPcmOut_l() mPcmOpenCnt: 1
V/AudioHardware( 2394): openMixer_l() mMixerOpenCnt: 1
V/AudioHardware( 2394): open playback normal
D/AccelerometerListener( 2696): orientation: vertical
D/AudioFlinger( 2394): setParameters(): io 1, keyvalue routing=1, tid 2541, calling tid 2394
D/AudioHardware( 2394): AudioStreamOutALSA::setParameters() routing=1
V/AudioHardware( 2394): setIncallPath_l: device 1
V/AudioHardware( 2394): setIncallPath_l() Voice Call Path, (1)
D/AudioHardware( 2394): AudioHardware pcm playback is going to standby.
V/AudioHardware( 2394): closeMixer_l() mMixerOpenCnt: 2
D/AudioHardware( 2394): closePcmOut_l() mPcmOpenCnt: 2
D/dalvikvm( 2773): GC_EXPLICIT freed 340K, 52% free 3075K/6343K, external 1983K/2383K, paused 113ms
I/AudioService( 2566):  AudioFocus  abandonAudioFocus() from AudioFocus_For_Phone_Ring_And_Calls
I/TelephonyRegistry( 2566): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=2GVoiceCallEnded interfaceName=pdp0 networkType=1
I/PowerManagerService( 2566): clearUserActivity for 10000ms from now
D/AudioHardware( 2394): AudioStreamOutALSA::write: AudioHardware pcm playback is exiting standby.
V/AudioHardware( 2394): open pcm_out driver
D/AudioHardware( 2394): openPcmOut_l() mPcmOpenCnt: 1
V/AudioHardware( 2394): openMixer_l() mMixerOpenCnt: 1
V/AudioHardware( 2394): open playback normal
D/AccelerometerListener( 2696): enable(false)
W/WifiService( 2566): misformatted scan result for: b4:14:89:14:15:20   2437    168     [WPA-EAP-TKIP+CCMP][WPA2-EAP-CCMP]
W/WifiService( 2566): misformatted scan result for: b4:14:89:14:17:30   2412    165     [WPA-EAP-TKIP+CCMP][WPA2-EAP-CCMP]
W/WifiService( 2566): misformatted scan result for: 00:16:e3:cf:0e:f4   2462    174     [WEP]
D/AudioHardwareInterface( 2394): setMode(NORMAL)
V/AudioHardware( 2394): setMode() : new 0, old 2
V/AudioHardware( 2394): setMode() reset Playback Path to RCV
V/AudioHardware( 2394): setMode() closePcmOut_l()
V/AudioHardware( 2394): closeMixer_l() mMixerOpenCnt: 2
D/AudioHardware( 2394): closePcmOut_l() mPcmOpenCnt: 2
V/AudioHardware( 2394): setMode() off call force output standby
D/AudioHardware( 2394): AudioHardware pcm playback is going to standby.
V/AudioHardware( 2394): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware( 2394): closePcmOut_l() mPcmOpenCnt: 1
D/AudioHardware( 2394): AudioStreamOutALSA::write: AudioHardware pcm playback is exiting standby.
V/AudioHardware( 2394): open pcm_out driver
D/AudioHardware( 2394): openPcmOut_l() mPcmOpenCnt: 0
V/alsa_pcm( 2394): pcm_open(0x00027000)
V/alsa_pcm( 2394): pcm_open() period sz multiplier 8
V/alsa_pcm( 2394): pcm_open() period cnt 4
D/AudioFlinger( 2394): setParameters(): io 1, keyvalue routing=1, tid 2541, calling tid 2394
V/alsa_pcm( 2394): pcm_open() period_cnt 4 period_sz 1024 channels 2
V/AudioHardware( 2394): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware( 2394): open playback normal
V/AudioHardware( 2394): write() wakeup setting route SPK
W/AudioFlinger( 2394): write blocked for 84 msecs, 135 delayed writes, thread 0xc758
D/AudioHardware( 2394): AudioStreamOutALSA::setParameters() routing=1
I/ActivityManager( 2566): Starting: Intent { act=android.intent.action.VIEW typ=vnd.android.cursor.dir/calls flg=0x10000 cmp=com.android.contacts/.DialtactsActivity } from pid 2696
I/ActivityManager( 2566): moveTaskToBack: 7
I/WindowManager( 2566): Setting rotation to 0, animFlags=1
I/ActivityManager( 2566): 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=11 themeResource=null}
W/IInputConnectionWrapper( 2696): showStatusIcon on inactive InputConnection
I/GPSButton( 2672): Update State
D/AudioHardware( 2394): AudioHardware pcm playback is going to standby.
V/AudioHardware( 2394): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware( 2394): closePcmOut_l() mPcmOpenCnt: 1
D/dalvikvm( 2566): GC_EXPLICIT freed 221K, 49% free 5696K/11079K, external 6693K/8358K, paused 194ms

When I speak into the other phone (the one i used to call the tab with) I hear some kind of echo of my voice, seems just like the tab routs the sound back.

PS: Has anybody succeeded in mounting the internal sd-card as usb storage to the computer?
 
Last edited:

julianLo

Member
Nov 23, 2010
36
6
Vienna
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:
Code:
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.
 

Technomancer

Retired Recognized Developer
Feb 15, 2010
562
425
SF Bay Area
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).
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.

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
 

TheGrammarFreak

Senior Member
Jul 29, 2010
2,815
678
twitter.com
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

No! Leave it. Please?

Sent from my Galaxy Tab
 

Evil_Sadness

Member
Aug 11, 2009
35
3
Hamburg
Why Not a Install about clockwork mod? The heimdal and odin install is not so comfortable ... :-(

Sent from my GT-P1000 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 90
    Hi everyone,

    First, read the readme.txt in the zip file.

    You flash it at your own risk. Backup everything. Learn how to use Heimdall. If it eats your dog it's not my problem :p . Many things are broken - post about it in the thread if nobody posted before. If you have any idea how to fix things, post too or PM me.

    Requirements: GSM (Euro, US ATT/TMO tabs), with JQ1 (Gingerbread) unprotected bootloaders that can run Euro JQ1 ROM and gt-p1000_mr.pit partitioning.
    Modem versions:
    ATT: use I9000UGJK3 modem (this is what I am using)
    TMO: try JK5
    Euro: reports say that JK5, JPZ modems work
    HK: user reports JK5 modem works.
    CDMA: This ROM does not support CDMA Tabs.
    LTN: experimental kernel included.

    The archive with the build with Heimdall is here http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-08-05.zip
    Please use heimdall to install. This zip file is not for flashing with CWM. Unzip and read the readme.txt in the zip file. Flash using the Heimdall command line (below).

    The update zip for CWM is here http://gtab7.nexus-lab.com/cm7sgt/cm-7-20120805-UNOFFICIAL-galaxytab.zip, (GSM only, no LTN), please be sure to flash it from recovery that supports EXT4 or flash it once so it updates kernel/recovery, reboot to new recovery and flash it again. If you encounter any problems, use the Heimdall version.

    P1000L/N
    There is experimental P1000L kernel and bootloaders included in LTN directory in Heimdall package. It should work on P1000L and maybe P1000N.
    Big thanks to Humberos for patches and testing. Adventureous souls with Latin Tabs please try it and report how it worked for you. You should have Gingerbread bootloaders and partitioning done first, so it should be easy if you are already running Gingerbread on your P1000L/N.

    Installation using Heimdall

    normal update from previous CM7 version, or a flash from another Gingerbread ROM:
    Code:
     heimdall flash --kernel zImage --factoryfs factoryfs.ext4
    full flash and repartition:
    Code:
     heimdall flash --repartition --pit gt-p1000_mr.pit --primary-boot boot.bin --secondary-boot sbl.bin --kernel zImage --factoryfs factoryfs.ext4 --cache cache.ext4 --dbdata dbdata.ext4
    Please be careful and double check your Heimdall command line when you flash bootladers, you may brick your Tab pretty bad.

    If you get stuck on first reboot after install, or your settings aren't saved it means your data partitions need to be reformatted to ext4. This should be handled by setup_fs in init.rc.
    If it didn't happen, start adb and run
    make_ext4fs /dev/block/mmcblk0p2
    make_ext4fs /dev/block/stl10
    make_ext4fs /dev/block/stl11
    Or try full wipe in recovery.

    make_ext4fs is slightly wonky so you could use "/system/bin/mke2fs -t ext4 -m 0" instead (recovery is also using make_ext4fs internally to wipe partitions)

    Samsung apps, Swype, Gapps etc
    This is an unofficial port of CyanogenMod. I am striving to give us the pure CyanogenMod experience on Galaxy Tab.
    So, there are no Samsung apps and don't ask for them.
    There is no TouchWiz and don't ask for it.
    It comes with ADW Launcher and if you want anything else, there is plenty of launchers in the Market.
    If you want Google Apps, get it from the usual place http://goo-inside.me/gapps/ and install from recvery after flashing update.zip. The Heimdall version has Gapps integrated right now.
    There is one stupid annoyance on Google sign-in welcome screen. It asks to slide open the keyboard (which we don't have and for now I can't find this setting). So skip the whole set up and sign in to Google account from Settings->Accounts&Sync.
    Swype: there is no Swype. Since Swype has a policy of allowing Swype on modded ROMs as long as the original ROM had Swype integrated, if somebody cares to make flashable zip with Swype I can link it from OP.

    Market issues.
    Market 3.x has much stricter rules about DPI and device checks. So very often it shows apps as not compatible with CM7 on GalaxyTab.
    Just go to Settings->Applications and uninstall updated Market it will go back to 2.x for a while.
    Or try tool like OldMarket http://xdaforums.com/showthread.php?t=1240344
    You can also change build.prop yourself, you will need to change two lines:
    ro.build.tags=test-keys to ro.build.tags=release-keys
    and
    ro.sf.lcd_density=200 ro.sf.lcd_density=240
    reboot, delete Market data from Settings->Applications

    Big thanks to junkshow for investigating it.

    sources at http://github.com/cm7sgt

    How to report bugs
    If you think you have found a bug.
    - verify you can repeat it, make sure it is not caused by the fact you did not wipe the device by rebooting to recovery and using wipe when you first installed CM7. Particularly when coming from other ROMs that use ext4. When coming from RFS your partitions should have been reformatted on first boot but wiping after install will not hurt.

    Please read existing open and already closed issues at http://github.com/cm7sgt/android_device_samsung_galaxytab/issues
    If your bug is new.
    Please see if it is upstream (general CM7 not related to Tab) bug, see in CM7 issues tracker http://code.google.com/p/cyanogenmod/issues/list
    If it is already there, please stop or add a comment there.
    If the bug is about generic issue, please try to verify it it also happens on other CM7 devices. If so, you should post it in CyanogenMod issues.
    If the bug is Galaxy Tab specific, like, some hardware functionality is missing, some driver not working. Dialogs messed up because of resolution etc, this means it belongs to Galaxy Tab device issue tracer and I can fix it.
    In this case please open new issue here http://github.com/cm7sgt/android_device_samsung_galaxytab/issues
    Please use pastie.org or something like that for posting logs.

    SDCARD controversy
    By default, the real micro SD is /mnt/sdcard, the internal mmc is /mnt/sdcard/external_sd, like in Galaxy S CyanogenMod builds.
    If you don't like it, you can swap the devices, go to Settings -> CyanogenMod settings -> Application and check Use internal storage [ ] checkbox.
    Reboot, now internal will be /mnt/sdcard, external will be /mnt/sdcard/external_sd like in Samsung's Android.

    In recovery, real sdcard in /sdcard, internal sdcard (embedded MMC) is /emmc.
    If you want to flash zip from /emmc just go in recovery "install zip from sdcard" -> "choose zip from internal sdcard" -> choose whatever you want to flash.
    --
    attachment.php


    Current status:
    Voice calls: OK (make sure to use modem.bin compatible with JQ1 RIL)
    3G data: OK
    Wifi: OK
    Bluetooth: OK
    Camera: Photos OK, video encoding (movie capture) back OK, front corrupted
    Sensors: seem OK
    GPS: OK
    Recovery and initramfs: CWM, partitions get mounted, wipe works, havent tried backup/restore
    Video playback: overlay and copybit work, OMX libraries are in and decoding works.

    Changelog:
    2012-08-05 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-08-05.zip http://gtab7.nexus-lab.com/cm7sgt/cm-7-20120805-UNOFFICIAL-galaxytab.zip
    Fixed Bluetooth MAC address issue. Now it is read correctly from EFS. Thanks to ableeker.

    2012-07-28 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-07-28.zip http://gtab7.nexus-lab.com/cm7sgt/cm-7-20120728-UNOFFICIAL-galaxytab.zip
    Update to latest from CM7 git.

    2012-02-19 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-02-19.zip http://gtab7.nexus-lab.com/cm7sgt/update-cm-7-2012-02-19-Beta-GalaxyTab-KANG-signed.zip
    Update to latest from CM7 git. set default DPI to 240 to fix market issues, advanced users can set any DPI they want anyway.
    Go back to stock dialer layout because it has changed a lot.

    2011-11-02 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2011-11-02.zip http://gtab7.nexus-lab.com/cm7sgt/update-cm-7-2011-11-02-Beta-GalaxyTab-KANG-signed.zip
    use android socket for wpa_supplicant control interface. anyone upgrading to this version please delete their /data/misc/wifi/wpa_supplicant.conf
    thanks to jt1134, removed extra field in mfc interface in kernel which prevented it from working with aries OMX libraries
    updated media_profiles.xml to expose 1024x600 and 800x600 resolutions for camcorder. its not perfect but at least video recording works now. front cam produces broken video.

    2011-10-31 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2011-10-31.zip http://gtab7.nexus-lab.com/cm7sgt/update-cm-7-2011-10-31-Beta-GalaxyTab-KANG-signed.zip
    update to latest from git. we are little past 7.1.0.
    fix key setting for AP mode
    new init.rc/init.gt-p1000.rc unified with CDMA device

    2011-10-09
    move download cache to /data/cache_download and system dalvik cache to data, it should fix download issues with large APKs
    fix bluetooth keyboard keypad rotation issue
    move touchscreen event rotation to kernel to to clean up frameworks/base
    use switchable pair and new stacked mounts in vold for /mnt/sdcard and and /mnt/sdcard/external_sd

    2011-09-20
    Update to latest from git.
    Merged P1000L/N kernel. P1000L kernel included in build.
    Voodoo Sound update to V10. Switch to JHASH3 hash function in kernel.
    Disabled NEW_AP in Wifi driver, fixed hotspot mode.

    2011-08-07
    Update to latest from git. Android 2.3.5.
    Added BLN kernel driver and LIGHT_ID_NOTIFICATIONS -> /sys/class/misc/backlightnotification/notification_led device to liblights. Big thanks to Neldar.
    Fix geolocation/networklocation settings in props and frameworks' config.xml
    Update EGL driver and pvrsvrkm kernel driver to latest from EF17 Sprint GB release.

    2011-07-20
    Update to latest from git.
    Merge changes from Sprint GB kernel source release. Merge relevant kernel changes to up to 2.6.35.10.

    2011-06-21
    Enable CRT screen off/on animation.
    Add virtual flag to capacitive buttons to enable vibration when they are pressed.
    Increase HCI baud rate to 3M, hopefully this will help A2DP issues with BT keyboards.

    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?

    2011-06-06
    Add attribute for available frequencies, fix cpufreq sysfs permissions so CMParts can access it.
    Change compile options for kernel to cortex-a8. Enable Tiny RCU.
    Fixed calls from other places in the kernel that used olde speed levels and caused frequency spikes to 1.2GHz.
    Fixed Low Power Mode (it properly starts /lpm.rc and displays charging animation).

    2011-06-05
    Added 10-point Multitouch to kernel (thanks to The_Double and hoss_n2)
    Added overclock (1.4GHz) and undevolt (thanks to Richard Trip and Koxudaxi)
    Added Voodoo Sound V9 (thanks to Supercurio and Richard Trip)
    Switched to (some) Crespo EGL SOs, hopefully will fix some OpenGL issues.

    2011-06-03
    Add usb_connected switch to kernel, fixes usb mounting and usb connection detection.
    Use mke2fs instead of make_ext4 for formatting in OTA and setup_fs. Should be more reliable.
    Added download mode to reboot menu.

    2011-05-30
    Fix problems with headphones/headsets and libaudio, kanged common-aries libaudio.
    Added OMX libraries and overlay from common-aries.

    2011-05-28r2
    Fixed setup_fs so it properly formats partitions.
    Enabled more tablet tweaks (soft buttons).
    Removed format for .android_secure in recovery, should fix wipe.

    2011-05-28
    Switched to Gingerbread kernel 2.6.35.7 recently released by Samsung.
    Use JQ1 binary drivers for OpenGL, sensors, lights, copybit, overylay, camera etc, so they all work!
    Portrait is default orientation now, ro.sf.hwrotation=90 is set and touchscreen events are rotated in input layer so they match.

    <cut short, more in readme.txt>

    Big thanks to noobnl, coolya, codeworkx, rotohammer, KhasMek, deodexed, captainkrtek, lilstevie, a_snowman, frusso, humberos, koxudaxi, spacemoose, oldmacnut and others for help, advice, testing etc etc.

    DEVS ONLY HERE ---------------------------------------

    How to build 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

    since kernel.org gits are still down, until they are back up you need to sync repo tool from github, so use this command line, thanks to Disgustipated for pointing it out.
    curl https://raw.github.com/android/tools_repo/master/repo > ~/bin/repo
    chmod a+x ~/bin/repo
    repo init -u git://github.com/cm7sgt/android.git -b gingerbread --repo-url=git://github.com/android/tools_repo.git

    repo sync -j4

    Grab Rom Manager as described.

    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.

    (for Latin kernel use kernel_ltn.sh script and use kernel_ltn file it produces)
    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.
    10
    Little update

    Hi guys,

    I haven't been doing much with CM7 recently, but here is a little update that should bring you up to date with current CM7 tree and set default DPI to 240 to solve market issues.

    2012-02-19 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-02-19.zip http://gtab7.nexus-lab.com/cm7sgt/update-cm-7-2012-02-19-Beta-GalaxyTab-KANG-signed.zip
    Update to latest from CM7 git. set default DPI to 240 to fix market issues, advanced users can set any DPI they want anyway.
    Go back to stock dialer layout because it has changed a lot.





    Also, I looked into the disappearing files issue some people have reported. From quick Google search it seems other people see it on other CyanogenMod devices too. It could be caused by errors on SD cards maybe? With fsck deleting the files after the card has been corrupted?

    There is also this Android bug, but it seems to have been fixed http://code.google.com/p/android/issues/detail?id=3692

    Also, if you have problems with disappearing files, what setting do you use for this? Settings -> CyanogenMod Settings -> Application settings -> Use internal storage
    This setting is used for swapping mount points for /mnt/sdcard and /mnt/sdcard/external_sd
    8
    Update 2011-11-02

    This should fix wifi issues from previous update, but make sure to delete /data/misc/wifi/wpa_supplicant.conf and reboot.
    yes, you will lose your stored APs but it is necessary because the config template changed.
    2011-11-02
    use android socket for wpa_supplicant control interface. anyone upgrading to this version please delete their /data/misc/wifi/wpa_supplicant.conf
    thanks to jt1134, removed extra field in mfc interface in kernel which prevented it from working with aries OMX libraries
    updated media_profiles.xml to expose 1024x600 and 800x600 resolutions for camcorder. its not perfect but at least video recording works now. front cam produces broken video.
    6
    Fabrizio fixed layout for landscape dialer and rotary lockscreen, they will be included in the next release.
    6
    hi all,

    could somebody help me out please? I just can't install the ROM. I'm using Heimdall Frontend 1.3.0; downloaded the tcm7beta-2011-08-07.zip; extracted this .zip file; phone is detected by Heimdall in download mode; loaded the factoryfs.ext4 under "Load package", but after extraction finished, I'm getting this error message: "firmware.xml" is missing from the package.

    I've downloaded and extracted the tcm7beta-2011-08-07.zip again but I'm getting the same error message. start button in Heimdall is not active, can't flash...

    when I'm trying to load zImage, I'm getting this error from Heimdall: "Tar header contained an invalid file size."

    what am I doing wrong? why it's not working for me? please help me.
    thank you.

    The new version of Heimdall is a little funny.

    What you want to do is extract the zip you have downloaded to a known directory, then open up heimdall. Click on the "Flash" tab then click on the browse button next to the PIT file option. Navigate to the pit file supplied with the ROM and select it. Now, underneath the box to the right you need to click on Add. When you do this a drop down menu to the left will become active. Change the highlighted option to Kernel, then underneath it click browse. navigate to the extracted zImage and select it. Now click add again, change the dropdown to factoryfs then click browse, select "factoryfs.ext4". Heimdall will issue a warning about the extension, just ignore it and carry on. Do the same process for cache (cache.ext4), and dbdatafs (dbdata.ext4). It will issue the warning for both of them, just ignore it and carry on.

    Once done the flash button becomes active, and you can go!

    If you need/want pictures, let me know. I'll update this post :D