[ROM][Beta][CM9][9/28/12] Galaxy Exhibit 4G

Search This thread

jocala

Senior Member
Jul 4, 2010
3,329
1
2,550
Ocala
This is a port of CyanogenMod 9 (Android 4.0.x) for the Samsung Exhibit II 4G. It is very much a work-in-progress. There are no guarantees whatsoever that it will work to your requirements or that it will progress beyond its current state. Major kudos to Arco68 for his help in getting this going; you would not have this ROM except for him.

Here is a video by dennis96411, showing CM9 on the Exhibit II

What seems to work
Phone
Wifi
SMS/MMS
GPS
Bluetooth audio
Amazon Market
HW accelerated display
Headphone detection
Microphone detection
T-Mobile Wifi-calling (works for most)
init.d support
CIFS networking
Camera (Stock Camera only, 3rd-Party apps mostly don't work)
Haptic keyboard feedback
Market/Play
Gmail
Browser
Screenshots
Streaming video

What does not work (NO ETAs)
911 Emergency Calls
Torch app (check thread for alternatives)

CM9 for the Galaxy Exhibit is NOT vulnerable to USSD dialer exploits.

Vanishing text
The content of text buffers sometimes disappear when touched (messages in: gmail,yahoo,fb). Wiping cache has fixed this for some. Long-press of back key and restarting app for others.

Facebook
Facebook sync is not included in AOSP. 3rd-party apps are available in the market.

3g vs 4g
Cyanogen Mod views UMTS as 3g whereas the stock Exhibit II rom views it as 4g. Even though you see 3g on your status bar, your actual speed should be unchanged from stock.

Changing band preference
In dialer, enter Service Mode via
You should see:
[1] Automatic
[2] WCDMA Band Preference
[3] GSM Band Preference

To force WCDMA only, tap option 2, on next screen tap option 6 - WCDMA All

To force GSM only, tap option 3, on next screen tap option 7 - GSM All

You can use the back button to verify your settings took effect. To exit, tap menu button, quit. This change does not survive a reboot. If you use this frequently, save it as a contact.



WIFI Problems
Wifi is working fine for almost everyone using CyanogenMod 9 Galaxy Exhibit build (and also for the Galaxy W). If you are one of the very few having difficulties, a possible fix has been posted that may help: WiFix Manager.

Installation
Installation requires a CWM-based recovery. Download/update Galaxy Exhibit Custom CWM Recovery here.

Updating CyanogenMod 9
Once you have a stable install you're happy with you can apply future updates w/o any wiping. If for some reason a wipe is required, I'll make that known.

Download CM9 Beta
Core2idiot's CM9 Nightlies

Google Apps
Google Apps gapps-ics-20120429-signed.zip .... Mirror

Kernel sources

Copy the downloaded cm9 beta and gapps zip files to your internal or removable sdcard.

Back up your data.

Start Custom Recovery (cwm): Press & hold Vol-Up, then press & hold Power. Shortly after the plain white Samsung logo appears, release both buttons. Recovery should start after the color Samsung/T-Mobile Exhibit logo.

CWM Keys:
Home key = enter
Back key = back
VolUp/Dwn = highlight choice

If installing over a non-CM9 ROM you must do a ROMwipe before installing.

Select "Install zip from sdcard." Choose the cm9 beta zip from sdcard or external sdcard, depending on where you placed it. Highlight the cm9 beta zip file then press Home. Confirm the choice and installation will proceed. You may also install Google Apps (gapps) at this time. Gapps does not include all Google apps. Those not included are available from the market.

Please DO NOT PM me with support questions! Post them in this thread!
 

Attachments

  • Screenshot_2012-03-06-03-27-40.jpg
    Screenshot_2012-03-06-03-27-40.jpg
    22.7 KB · Views: 14,226
  • Screenshot2.jpg
    Screenshot2.jpg
    30.8 KB · Views: 13,552
  • Screenshot3.jpg
    Screenshot3.jpg
    22.3 KB · Views: 13,176
Last edited:

jocala

Senior Member
Jul 4, 2010
3,329
1
2,550
Ocala
Compile CM9

Portions copied from Motorola Droid X CyanogenMod Wiki

Thanks to Arco68 for hand-holding and patches. Any mistakes are mine.

These instructions assume that you will be using an Ubuntu 10.10 Linux system (or a close relation, Debian, Linux Mint,etc). Setting up a Linux partition or creating a Linux VM are beyond the scope of this post.

First, Install the Android SDK

Next, install the linux build packages required. I install using apt-get:

For 32-bit & 64-bit systems
apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool

For 64-bit only systems
apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

NOTE: gcc-4.3-multilib g++-4.3-multilib is no longer available for Ubuntu 11.04 64-bit, but should still build without issue.
NOTE: On Ubuntu 10.10, and variants, you need to enable the partner repository to install sun-java6-jdk:

add-apt-repository "deb http://archive.canonical.com/ maverick partner"

NOTE: sun-java6-jdk <> open-java6-jdk!
These instructions assume an "android" directory located in your home

Install repo
Code:
mkdir ~/bin
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo 
chmod a+x ~/bin/repo
Download CM9 source
Code:
mkdir ~/android/system
cd ~/android/system
repo init -u git://github.com/CyanogenMod/android.git -b ics
repo sync -j16
This can take hours. When done, ~/android/system should be at least 11Gb in size.

Next:
Code:
cd ~/android/system/frameworks/base
git remote add arco git://github.com/arco/android_frameworks_base.git
git fetch arco
Download kernel source
Code:
mkdir -p ~/android/system/kernel/samsung/ancora_tmo
cd ~/android/system/kernel/samsung/ancora_tmo
git init
git pull https://github.com/arco/samsung-kernel-msm7x30.git

Repeat the pull command occasionally to obtain updates.
Download ancora_tmo device directory
Code:
mkdir -p ~/android/system/device/samsung/ancora_tmo
cd ~/android/system/device/samsung/ancora_tmo
git init
git pull git://github.com/Jocala/device.ancora_tmo.ics.git

Repeat the pull command occasionally to obtain updates.
Download ancora_tmo vendor directory
Code:
mkdir -p ~/android/system/vendor/samsung/ancora_tmo
cd ~/android/system/vendor/samsung/ancora_tmo
git init
git pull git://github.com/Jocala/vendor.ancora_tmo.ics.git

Repeat the pull command occasionally to obtain updates.
Set up prebuilts:
Code:
cd ~/android/system
./vendor/cm/get-prebuilts
Applying cherry-picks
You'll need to gain at least a rudimentary knowledge of
using git and github. Teaching this is beyond the scope
of this howto. Cherry-picks must be re-applied after each
repo sync.As time goes by they also get merged, so it may be that some
cherry-picks are no longer required. You can check their status here.

Attached to this post is a script (reposync.txt) that will do a repo
sync then apply current cherry-picks. I keep it in my
android/system directory. Rename and chmod 0755.

Set up your environment & build

Code:
. build/envsetup.sh
lunch cm_ancora_tmo-userdebug
brunch ancora_tmo
Building takes at least an hour. If everything worked, you should have a
out/target/product/ancora_tmo/cm-9-SOMEDATE-UNOFFICIAL-ancora_tmo.zip file

============

CCACHE

If you have room on your build system you can speed
your builds up considerably by using ccache. ccache is a compiler
cache. It speeds up re-compilation of C/C++ code by caching
previous compiles and detecting when the same compile is
being done again.

Install it with apt-get: sudo apt-get ccache

Set environment vars for Android use:
(I put these exports in my .bashrc)
Code:
export USE_CCACHE=1
export NDK_CCACHE=ccache
Set a cache size of 10G for optimal results:

Code:
ccache -M 10G
Check the status of your cache with the command:
Code:
ccache -s 

Returns:

cache directory                 /home/jocala/.ccache
cache hit                         106673
cache miss                         18379
called for link                     3758
preprocessor error                     5
not a C/C++ file                    4425
unsupported compiler option          678
no input file                       4565
files in cache                     36758
cache size                           3.2 Gbytes
max cache size                      10.0 Gbytes
 

Attachments

  • reposync.txt
    638 bytes · Views: 131
Last edited:

stab244

Senior Member
Dec 17, 2009
1,412
303
Bay Area
Nice! Downloading right now. Too bad dev-host seems pretty slow but oh well.

EDIT: Okay not that slow... Gotta wait for back ups. Can't wait.

Installed. Rebooting.

Well it boots. No GAPPS but I can deal with that for right now.

EDIT: Home button doesn't work. Went into setting and couldn't use the home button to straight to home screen. Also sees my SD card as blank. Hopefully that didn't mess it up. Maybe it is talking about the internal SD card.

EDIT: Yeah it was just the internal because I used the SuperWipe script beforehand.

That was all that I can find so far. Flashing back because I need to be able to use my phone during the school day so I don't get bored in class lol.
 
Last edited:
  • Like
Reactions: jocala and PeteM95

jocala

Senior Member
Jul 4, 2010
3,329
1
2,550
Ocala
Nice! Downloading right now. Too bad dev-host seems pretty slow but oh well.

EDIT: Okay not that slow... Gotta wait for back ups. Can't wait.

Installed. Rebooting.

Well it boots. No GAPPS but I can deal with that for right now.

EDIT: Home button doesn't work. Went into setting and couldn't use the home button to straight to home screen. Also sees my SD card as blank. Hopefully that didn't mess it up. Maybe it is talking about the internal SD card.

EDIT: Yeah it was just the internal because I used the SuperWipe script beforehand.

That was all that I can find so far. Flashing back because I need to be able to use my phone during the school day so I don't get bored in class lol.

Google Apps for ICS in 2nd post. External SD is mounted as /emmc or /mnt/emmc by CM9, not /mnt/external_sd.

In CWM references to "internal sd" seem to actually point to our external sd.
 

stab244

Senior Member
Dec 17, 2009
1,412
303
Bay Area
Google Apps for ICS in 2nd post. External SD is mounted as /emmc or /mnt/emmc by CM9, not /mnt/external_sd.

In CWM references to "internal sd" seem to actually point to our external sd.

Yeah I saw that. Still don't get why home button didn't work for me. Any one else have it not work?

Sent from my SGH-T679 using Tapatalk
 
Dan has apologised, so let's forgive and forget.

Okay, I will forgive him, but if I see 10 replies from him with "ey can supercharge/port diz hax plz devs make it faster" everyday I'm holding onto the grudge.

Now, onto matter of business, the ROM runs smooth, but I didn't wipe data (I wiped system/cache/dalvik cache) so all the apps from my old ROM are still present. Everything runs smooth, it seem to have fixed my call log crash problem and gave 357.5MB of RAM, a ~1.5MB increase. Will play with it more when I get home.
 

jocala

Senior Member
Jul 4, 2010
3,329
1
2,550
Ocala
Yeah I saw that. Still don't get why home button didn't work for me. Any one else have it not work?

Sent from my SGH-T679 using Tapatalk

For me, all buttons work except home. ICS was designed for phones w/o capacitive buttons, but I wonder if it's a scan code issue.

EDIT: scan code is correct: 102
 
Last edited:

dswaggz

Senior Member
Jun 12, 2010
1,237
52
Okay, I will forgive him, but if I see 10 replies from him with "ey can supercharge/port diz hax plz devs make it faster" everyday I'm holding onto the grudge.

Now, onto matter of business, the ROM runs smooth, but I didn't wipe data (I wiped system/cache/dalvik cache) so all the apps from my old ROM are still present. Everything runs smooth, it seem to have fixed my call log crash problem and gave 357.5MB of RAM, a ~1.5MB increase. Will play with it more when I get home.

Hey did u try camera yet

via SWAGG GANGG ™
 

stab244

Senior Member
Dec 17, 2009
1,412
303
Bay Area
Camera says that it cannot find a camera.

Hmm I can help debug the home button on the weekend. Can't really help out on the weekdays.

Sent from my SGH-T679 using Tapatalk
 
Here's what I have so far:

Working:
  • Cellular network [EDGE/3G/4G/etc]
  • Wi-Fi
  • Bluetooth
  • GPS
  • Keyboard haptic feedback
  • Accurate cellular network [H+ for HSPA+ and 3G for UMTS] and battery [1% increment] indicators
  • CUSTOM BOOT ANIMATIONS! [I installed the CyanogenMod 7 one using ROM Toolbox, looking very awesome every time I start the phone]

Not working:
  • Camera [See logcat]
  • Market crashes when attempting to add Google account [Paid apps that uses Market for authentication may not work]
  • Browser crashes [See logcat]
  • Email crashes [Current solution is to freeze the app and use an alternative email client]
  • Exchange services crashes [Same as above]
  • Most options in Dev Tools crash
  • Headphone jack [Probably not recognized, will do logcat]
  • Home key
  • LED light

Here are some logcats:
Camera
Code:
E/CameraService(  135): Camera HAL module not loaded
E/CameraHolder( 2365): fail to connect Camera
E/CameraHolder( 2365): java.lang.RuntimeException: Fail to connect to camera service
E/CameraHolder( 2365): 	at android.hardware.Camera.native_setup(Native Method)
E/CameraHolder( 2365): 	at android.hardware.Camera.<init>(Camera.java:302)
E/CameraHolder( 2365): 	at android.hardware.Camera.open(Camera.java:264)
E/CameraHolder( 2365): 	at com.android.camera.CameraHolder.open(CameraHolder.java:131)
E/CameraHolder( 2365): 	at com.android.camera.Util.openCamera(Util.java:267)
E/CameraHolder( 2365): 	at com.android.camera.Camera$4.run(Camera.java:1098)
E/CameraHolder( 2365): 	at java.lang.Thread.run(Thread.java:856)

Browser
Code:
E/libEGL  ( 5409): call to OpenGL ES API with no current context (logged once per thread)
E/AndroidRuntime( 5409): FATAL EXCEPTION: pool-1-thread-3
E/AndroidRuntime( 5409): android.database.sqlite.SQLiteException: table bookmarks has 12 columns but 13 values were supplied: , while compiling: INSERT INTO bookmarks SELECT * FROM bookmarks_temp;
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteStatement.acquireAndLock(SQLiteStatement.java:260)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:84)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1899)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1839)
E/AndroidRuntime( 5409): 	at com.android.browser.provider.BrowserProvider$DatabaseHelper.onUpgrade(BrowserProvider.java:333)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:170)
E/AndroidRuntime( 5409): 	at com.android.browser.provider.BrowserProvider2$DatabaseHelper.importFromBrowserProvider(BrowserProvider2.java:505)
E/AndroidRuntime( 5409): 	at com.android.browser.provider.BrowserProvider2$DatabaseHelper.onCreate(BrowserProvider2.java:453)
E/AndroidRuntime( 5409): 	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:165)
E/AndroidRuntime( 5409): 	at com.android.browser.provider.SQLiteContentProvider.delete(SQLiteContentProvider.java:178)
E/AndroidRuntime( 5409): 	at android.content.ContentProvider$Transport.delete(ContentProvider.java:213)
E/AndroidRuntime( 5409): 	at android.content.ContentResolver.delete(ContentResolver.java:827)
E/AndroidRuntime( 5409): 	at com.android.browser.Controller$PruneThumbnails.run(Controller.java:377)
E/AndroidRuntime( 5409): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime( 5409): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime( 5409): 	at java.lang.Thread.run(Thread.java:856)
E/SQLiteOpenHelper( 5409): Couldn't open browser2.db for writing (will try read-only):
E/SQLiteOpenHelper( 5409): android.database.sqlite.SQLiteException: table bookmarks has 12 columns but 13 values were supplied: , while compiling: INSERT INTO bookmarks SELECT * FROM bookmarks_temp;
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteStatement.acquireAndLock(SQLiteStatement.java:260)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:84)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1899)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1839)
E/SQLiteOpenHelper( 5409): 	at com.android.browser.provider.BrowserProvider$DatabaseHelper.onUpgrade(BrowserProvider.java:333)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:170)
E/SQLiteOpenHelper( 5409): 	at com.android.browser.provider.BrowserProvider2$DatabaseHelper.importFromBrowserProvider(BrowserProvider2.java:505)
E/SQLiteOpenHelper( 5409): 	at com.android.browser.provider.BrowserProvider2$DatabaseHelper.onCreate(BrowserProvider2.java:453)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:165)
E/SQLiteOpenHelper( 5409): 	at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:231)
E/SQLiteOpenHelper( 5409): 	at com.android.browser.provider.BrowserProvider2.query(BrowserProvider2.java:863)
E/SQLiteOpenHelper( 5409): 	at android.content.ContentProvider$Transport.query(ContentProvider.java:178)
E/SQLiteOpenHelper( 5409): 	at android.content.ContentResolver.query(ContentResolver.java:316)
E/SQLiteOpenHelper( 5409): 	at com.android.browser.DataController$DataControllerHandler.doQueryBookmarkStatus(DataController.java:192)
E/SQLiteOpenHelper( 5409): 	at com.android.browser.DataController$DataControllerHandler.handleMessage(DataController.java:153)
E/SQLiteOpenHelper( 5409): 	at com.android.browser.DataController$DataControllerHandler.run(DataController.java:122)
E/DataController( 5409): Error checking for bookmark: android.database.sqlite.SQLiteException: Can't upgrade read-only database from version 0 to 32: /data/data/com.android.browser/databases/browser2.db

General crashing that is ongoing
Code:
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/AudioHardwareMSM7X30(  135): updateDeviceInfo: E rx_device 6 and tx_device 11
E/AudioHardwareMSM7X30(  135): updateDeviceInfo: X cur_rx 6 cur_tx 11
E/libgenlock(  639): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/libgenlock(  639): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/libgenlock( 2327): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/libgenlock( 2327): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/libgenlock( 2327): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/AudioHardwareMSM7X30(  135): updateDeviceInfo: E rx_device 6 and tx_device 11
E/AudioHardwareMSM7X30(  135): updateDeviceInfo: X cur_rx 6 cur_tx 11


I will update it if I get more. Jocala do you want to get on the IRC? We can communicate faster and I can do more troubleshooting.
 
Last edited:

cars1189

Senior Member
Jun 6, 2009
557
819
Atlanta
Last edited:
  • Like
Reactions: det0xx and jocala

urmothersluvr

Senior Member
Aug 15, 2010
426
52
can anyone edit the framework-res.apk to enable on screen keys. i cant get apktool to recompile after i edit the bools.xml and dimens.xml.
 

jocala

Senior Member
Jul 4, 2010
3,329
1
2,550
Ocala
Here's what I have so far:

Working:
  • Cellular network [EDGE/3G/4G/etc]
  • Wi-Fi
  • Bluetooth
  • GPS
  • Keyboard haptic feedback
  • Accurate cellular network [H+ for HSPA+ and 3G for UMTS] and battery [1% increment] indicators
  • CUSTOM BOOT ANIMATIONS! [I installed the CyanogenMod 7 one using ROM Toolbox, looking very awesome every time I start the phone]

Not working:
  • Camera [See logcat]
  • Market crashes when attempting to add Google account [Paid apps that uses Market for authentication may not work]
  • Browser crashes [See logcat]
  • Email crashes [Current solution is to freeze the app and use an alternative email client]
  • Exchange services crashes [Same as above]
  • Most options in Dev Tools crash
  • Headphone jack [Probably not recognized, will do logcat]
  • Home key
  • LED light

Here are some logcats:
Camera
Code:
E/CameraService(  135): Camera HAL module not loaded
E/CameraHolder( 2365): fail to connect Camera
E/CameraHolder( 2365): java.lang.RuntimeException: Fail to connect to camera service
E/CameraHolder( 2365):     at android.hardware.Camera.native_setup(Native Method)
E/CameraHolder( 2365):     at android.hardware.Camera.<init>(Camera.java:302)
E/CameraHolder( 2365):     at android.hardware.Camera.open(Camera.java:264)
E/CameraHolder( 2365):     at com.android.camera.CameraHolder.open(CameraHolder.java:131)
E/CameraHolder( 2365):     at com.android.camera.Util.openCamera(Util.java:267)
E/CameraHolder( 2365):     at com.android.camera.Camera$4.run(Camera.java:1098)
E/CameraHolder( 2365):     at java.lang.Thread.run(Thread.java:856)
Browser
Code:
E/libEGL  ( 5409): call to OpenGL ES API with no current context (logged once per thread)
E/AndroidRuntime( 5409): FATAL EXCEPTION: pool-1-thread-3
E/AndroidRuntime( 5409): android.database.sqlite.SQLiteException: table bookmarks has 12 columns but 13 values were supplied: , while compiling: INSERT INTO bookmarks SELECT * FROM bookmarks_temp;
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteStatement.acquireAndLock(SQLiteStatement.java:260)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:84)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1899)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1839)
E/AndroidRuntime( 5409):     at com.android.browser.provider.BrowserProvider$DatabaseHelper.onUpgrade(BrowserProvider.java:333)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:170)
E/AndroidRuntime( 5409):     at com.android.browser.provider.BrowserProvider2$DatabaseHelper.importFromBrowserProvider(BrowserProvider2.java:505)
E/AndroidRuntime( 5409):     at com.android.browser.provider.BrowserProvider2$DatabaseHelper.onCreate(BrowserProvider2.java:453)
E/AndroidRuntime( 5409):     at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:165)
E/AndroidRuntime( 5409):     at com.android.browser.provider.SQLiteContentProvider.delete(SQLiteContentProvider.java:178)
E/AndroidRuntime( 5409):     at android.content.ContentProvider$Transport.delete(ContentProvider.java:213)
E/AndroidRuntime( 5409):     at android.content.ContentResolver.delete(ContentResolver.java:827)
E/AndroidRuntime( 5409):     at com.android.browser.Controller$PruneThumbnails.run(Controller.java:377)
E/AndroidRuntime( 5409):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime( 5409):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime( 5409):     at java.lang.Thread.run(Thread.java:856)
E/SQLiteOpenHelper( 5409): Couldn't open browser2.db for writing (will try read-only):
E/SQLiteOpenHelper( 5409): android.database.sqlite.SQLiteException: table bookmarks has 12 columns but 13 values were supplied: , while compiling: INSERT INTO bookmarks SELECT * FROM bookmarks_temp;
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteStatement.acquireAndLock(SQLiteStatement.java:260)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:84)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1899)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1839)
E/SQLiteOpenHelper( 5409):     at com.android.browser.provider.BrowserProvider$DatabaseHelper.onUpgrade(BrowserProvider.java:333)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:170)
E/SQLiteOpenHelper( 5409):     at com.android.browser.provider.BrowserProvider2$DatabaseHelper.importFromBrowserProvider(BrowserProvider2.java:505)
E/SQLiteOpenHelper( 5409):     at com.android.browser.provider.BrowserProvider2$DatabaseHelper.onCreate(BrowserProvider2.java:453)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:165)
E/SQLiteOpenHelper( 5409):     at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:231)
E/SQLiteOpenHelper( 5409):     at com.android.browser.provider.BrowserProvider2.query(BrowserProvider2.java:863)
E/SQLiteOpenHelper( 5409):     at android.content.ContentProvider$Transport.query(ContentProvider.java:178)
E/SQLiteOpenHelper( 5409):     at android.content.ContentResolver.query(ContentResolver.java:316)
E/SQLiteOpenHelper( 5409):     at com.android.browser.DataController$DataControllerHandler.doQueryBookmarkStatus(DataController.java:192)
E/SQLiteOpenHelper( 5409):     at com.android.browser.DataController$DataControllerHandler.handleMessage(DataController.java:153)
E/SQLiteOpenHelper( 5409):     at com.android.browser.DataController$DataControllerHandler.run(DataController.java:122)
E/DataController( 5409): Error checking for bookmark: android.database.sqlite.SQLiteException: Can't upgrade read-only database from version 0 to 32: /data/data/com.android.browser/databases/browser2.db
General crashing that is ongoing
Code:
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/AudioHardwareMSM7X30(  135): updateDeviceInfo: E rx_device 6 and tx_device 11
E/AudioHardwareMSM7X30(  135): updateDeviceInfo: X cur_rx 6 cur_tx 11
E/libgenlock(  639): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/libgenlock(  639): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/libgenlock( 2327): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/libgenlock( 2327): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/libgenlock( 2327): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/libgenlock(  132): genlock_release_lock: GENLOCK_IOC_RELEASE failed (err=Invalid argument)
E/msm7x30.gralloc(  132): free_impl: genlock_release_lock failed
E/AudioHardwareMSM7X30(  135): updateDeviceInfo: E rx_device 6 and tx_device 11
E/AudioHardwareMSM7X30(  135): updateDeviceInfo: X cur_rx 6 cur_tx 11
I will update it if I get more. Jocala do you want to get on the IRC? We can communicate faster and I can do more troubleshooting.

Browser & Gmail work here w/o FCs.

I am testing with a clean phone, gapps only. I've added an IRC channel to my sig.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 137
    This is a port of CyanogenMod 9 (Android 4.0.x) for the Samsung Exhibit II 4G. It is very much a work-in-progress. There are no guarantees whatsoever that it will work to your requirements or that it will progress beyond its current state. Major kudos to Arco68 for his help in getting this going; you would not have this ROM except for him.

    Here is a video by dennis96411, showing CM9 on the Exhibit II

    What seems to work
    Phone
    Wifi
    SMS/MMS
    GPS
    Bluetooth audio
    Amazon Market
    HW accelerated display
    Headphone detection
    Microphone detection
    T-Mobile Wifi-calling (works for most)
    init.d support
    CIFS networking
    Camera (Stock Camera only, 3rd-Party apps mostly don't work)
    Haptic keyboard feedback
    Market/Play
    Gmail
    Browser
    Screenshots
    Streaming video

    What does not work (NO ETAs)
    911 Emergency Calls
    Torch app (check thread for alternatives)

    CM9 for the Galaxy Exhibit is NOT vulnerable to USSD dialer exploits.

    Vanishing text
    The content of text buffers sometimes disappear when touched (messages in: gmail,yahoo,fb). Wiping cache has fixed this for some. Long-press of back key and restarting app for others.

    Facebook
    Facebook sync is not included in AOSP. 3rd-party apps are available in the market.

    3g vs 4g
    Cyanogen Mod views UMTS as 3g whereas the stock Exhibit II rom views it as 4g. Even though you see 3g on your status bar, your actual speed should be unchanged from stock.

    Changing band preference
    In dialer, enter Service Mode via
    You should see:
    [1] Automatic
    [2] WCDMA Band Preference
    [3] GSM Band Preference

    To force WCDMA only, tap option 2, on next screen tap option 6 - WCDMA All

    To force GSM only, tap option 3, on next screen tap option 7 - GSM All

    You can use the back button to verify your settings took effect. To exit, tap menu button, quit. This change does not survive a reboot. If you use this frequently, save it as a contact.



    WIFI Problems
    Wifi is working fine for almost everyone using CyanogenMod 9 Galaxy Exhibit build (and also for the Galaxy W). If you are one of the very few having difficulties, a possible fix has been posted that may help: WiFix Manager.

    Installation
    Installation requires a CWM-based recovery. Download/update Galaxy Exhibit Custom CWM Recovery here.

    Updating CyanogenMod 9
    Once you have a stable install you're happy with you can apply future updates w/o any wiping. If for some reason a wipe is required, I'll make that known.

    Download CM9 Beta
    Core2idiot's CM9 Nightlies

    Google Apps
    Google Apps gapps-ics-20120429-signed.zip .... Mirror

    Kernel sources

    Copy the downloaded cm9 beta and gapps zip files to your internal or removable sdcard.

    Back up your data.

    Start Custom Recovery (cwm): Press & hold Vol-Up, then press & hold Power. Shortly after the plain white Samsung logo appears, release both buttons. Recovery should start after the color Samsung/T-Mobile Exhibit logo.

    CWM Keys:
    Home key = enter
    Back key = back
    VolUp/Dwn = highlight choice

    If installing over a non-CM9 ROM you must do a ROMwipe before installing.

    Select "Install zip from sdcard." Choose the cm9 beta zip from sdcard or external sdcard, depending on where you placed it. Highlight the cm9 beta zip file then press Home. Confirm the choice and installation will proceed. You may also install Google Apps (gapps) at this time. Gapps does not include all Google apps. Those not included are available from the market.

    Please DO NOT PM me with support questions! Post them in this thread!
    36
    adios

    I'm moving to a Galaxy S2, so my work on CM9 is going to draw to a close. If you have a build environment running and would be interested in continuing development for the community, please PM me. It's been a fun ride and I'd like to thank everyone for their support.
    22
    Compile CM9

    Portions copied from Motorola Droid X CyanogenMod Wiki

    Thanks to Arco68 for hand-holding and patches. Any mistakes are mine.

    These instructions assume that you will be using an Ubuntu 10.10 Linux system (or a close relation, Debian, Linux Mint,etc). Setting up a Linux partition or creating a Linux VM are beyond the scope of this post.

    First, Install the Android SDK

    Next, install the linux build packages required. I install using apt-get:

    For 32-bit & 64-bit systems
    apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool

    For 64-bit only systems
    apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

    NOTE: gcc-4.3-multilib g++-4.3-multilib is no longer available for Ubuntu 11.04 64-bit, but should still build without issue.
    NOTE: On Ubuntu 10.10, and variants, you need to enable the partner repository to install sun-java6-jdk:

    add-apt-repository "deb http://archive.canonical.com/ maverick partner"

    NOTE: sun-java6-jdk <> open-java6-jdk!
    These instructions assume an "android" directory located in your home

    Install repo
    Code:
    mkdir ~/bin
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo 
    chmod a+x ~/bin/repo
    Download CM9 source
    Code:
    mkdir ~/android/system
    cd ~/android/system
    repo init -u git://github.com/CyanogenMod/android.git -b ics
    repo sync -j16
    This can take hours. When done, ~/android/system should be at least 11Gb in size.

    Next:
    Code:
    cd ~/android/system/frameworks/base
    git remote add arco git://github.com/arco/android_frameworks_base.git
    git fetch arco
    Download kernel source
    Code:
    mkdir -p ~/android/system/kernel/samsung/ancora_tmo
    cd ~/android/system/kernel/samsung/ancora_tmo
    git init
    git pull https://github.com/arco/samsung-kernel-msm7x30.git
    
    Repeat the pull command occasionally to obtain updates.
    Download ancora_tmo device directory
    Code:
    mkdir -p ~/android/system/device/samsung/ancora_tmo
    cd ~/android/system/device/samsung/ancora_tmo
    git init
    git pull git://github.com/Jocala/device.ancora_tmo.ics.git
    
    Repeat the pull command occasionally to obtain updates.
    Download ancora_tmo vendor directory
    Code:
    mkdir -p ~/android/system/vendor/samsung/ancora_tmo
    cd ~/android/system/vendor/samsung/ancora_tmo
    git init
    git pull git://github.com/Jocala/vendor.ancora_tmo.ics.git
    
    Repeat the pull command occasionally to obtain updates.
    Set up prebuilts:
    Code:
    cd ~/android/system
    ./vendor/cm/get-prebuilts
    Applying cherry-picks
    You'll need to gain at least a rudimentary knowledge of
    using git and github. Teaching this is beyond the scope
    of this howto. Cherry-picks must be re-applied after each
    repo sync.As time goes by they also get merged, so it may be that some
    cherry-picks are no longer required. You can check their status here.

    Attached to this post is a script (reposync.txt) that will do a repo
    sync then apply current cherry-picks. I keep it in my
    android/system directory. Rename and chmod 0755.

    Set up your environment & build

    Code:
    . build/envsetup.sh
    lunch cm_ancora_tmo-userdebug
    brunch ancora_tmo
    Building takes at least an hour. If everything worked, you should have a
    out/target/product/ancora_tmo/cm-9-SOMEDATE-UNOFFICIAL-ancora_tmo.zip file

    ============

    CCACHE

    If you have room on your build system you can speed
    your builds up considerably by using ccache. ccache is a compiler
    cache. It speeds up re-compilation of C/C++ code by caching
    previous compiles and detecting when the same compile is
    being done again.

    Install it with apt-get: sudo apt-get ccache

    Set environment vars for Android use:
    (I put these exports in my .bashrc)
    Code:
    export USE_CCACHE=1
    export NDK_CCACHE=ccache
    Set a cache size of 10G for optimal results:

    Code:
    ccache -M 10G
    Check the status of your cache with the command:
    Code:
    ccache -s 
    
    Returns:
    
    cache directory                 /home/jocala/.ccache
    cache hit                         106673
    cache miss                         18379
    called for link                     3758
    preprocessor error                     5
    not a C/C++ file                    4425
    unsupported compiler option          678
    no input file                       4565
    files in cache                     36758
    cache size                           3.2 Gbytes
    max cache size                      10.0 Gbytes
    22
    This is true. My phone always says 3G, but switches to H when downloading, then goes back to 3G.

    Also, even though he's now ignored, Nightlies aren't forced updates. You can flash over the update whenever YOU want. They're just always supplied on a nightly basis in case there have been any changes to the repos. Since it's CM9 there probably won't be many new changes, but its still offered...

    Sent from my SGH-T679 using xda app-developers app

    It's always hilarious when a newcomer shows up who absolutely knows it all, refuting everything we only think we know about our phones.

    I think the idea of nightlies is great, I never had the resources. I've replaced the OPs download link with a link to Core2Idiot's nightly page.

    On another note, I've decided to keep my Exhibit as a dev device, so I'm going to continue busting my head with 911 for a while at least. I'll post if I have any breakthroughs.