Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,779,383 Members 51,228 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
jocala
Old
(Last edited by jocala; 17th November 2012 at 09:03 PM.)
#1  
jocala's Avatar
Senior Member - OP
Thanks Meter 2011
Posts: 2,196
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Default [ROM][Beta][CM9][9/28/12] Galaxy Exhibit 4G

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
Quote:
*#*#2263#*#*
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!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-03-06-03-27-40.jpg
Views:	13946
Size:	22.7 KB
ID:	933657   Click image for larger version

Name:	Screenshot2.jpg
Views:	13277
Size:	30.8 KB
ID:	933677   Click image for larger version

Name:	Screenshot3.jpg
Views:	12900
Size:	22.3 KB
ID:	933678  
The Following 137 Users Say Thank You to jocala For This Useful Post: [ Click to Expand ]
 
jocala
Old
(Last edited by jocala; 20th March 2012 at 08:17 PM.)
#2  
jocala's Avatar
Senior Member - OP
Thanks Meter 2011
Posts: 2,196
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Reserved





/10char
The Following 21 Users Say Thank You to jocala For This Useful Post: [ Click to Expand ]
 
jocala
Old
(Last edited by jocala; 5th September 2012 at 03:55 AM.)
#3  
jocala's Avatar
Senior Member - OP
Thanks Meter 2011
Posts: 2,196
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Default 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

Quote:
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.
Quote:
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
Attached Files
File Type: txt reposync.txt - [Click for QR Code] (638 Bytes, 118 views)
The Following 22 Users Say Thank You to jocala For This Useful Post: [ Click to Expand ]
 
stab244
Old
(Last edited by stab244; 5th March 2012 at 07:50 PM.)
#4  
stab244's Avatar
Senior Member
Thanks Meter 178
Posts: 1,100
Join Date: Dec 2009
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.
Phone: OnePlus One
ROM: Official CM nightlies
Kernel: Sensei Kernel

Want to play League of Legends?
Click here!
The Following 2 Users Say Thank You to stab244 For This Useful Post: [ Click to Expand ]
 
dennis96411
Old
#5  
dennis96411's Avatar
Senior Member
Thanks Meter 368
Posts: 742
Join Date: Dec 2011
Location: _
Downloaded and installed at school, will help you get some logcats and troubleshoot the ROM when I get home

Very nice work, I just hope trolls (dswaggz) don't clutter up this thread with useless crap.
The Following User Says Thank You to dennis96411 For This Useful Post: [ Click to Expand ]
 
jocala
Old
#6  
jocala's Avatar
Senior Member - OP
Thanks Meter 2011
Posts: 2,196
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Quote:
Originally Posted by stab244 View Post
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.
The Following 2 Users Say Thank You to jocala For This Useful Post: [ Click to Expand ]
 
jocala
Old
#7  
jocala's Avatar
Senior Member - OP
Thanks Meter 2011
Posts: 2,196
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Quote:
Originally Posted by dennis96411 View Post
Downloaded and installed at school, will help you get some logcats and troubleshoot the ROM when I get home

Very nice work, I just hope trolls (dswaggz) don't clutter up this thread with useless crap.
Dan has apologised, so let's forgive and forget.
The Following 2 Users Say Thank You to jocala For This Useful Post: [ Click to Expand ]
 
stab244
Old
#8  
stab244's Avatar
Senior Member
Thanks Meter 178
Posts: 1,100
Join Date: Dec 2009
Quote:
Originally Posted by jocala View Post
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
Phone: OnePlus One
ROM: Official CM nightlies
Kernel: Sensei Kernel

Want to play League of Legends?
Click here!
 
dennis96411
Old
#9  
dennis96411's Avatar
Senior Member
Thanks Meter 368
Posts: 742
Join Date: Dec 2011
Location: _
Quote:
Originally Posted by jocala View Post
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.
 
dswaggz
Old
#10  
Account currently disabled
Thanks Meter 52
Posts: 1,224
Join Date: Jun 2010
Look guys i apologize an thanx jocala

via SWAGG GANGG

The Following User Says Thank You to dswaggz For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes