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

Search This thread

a0b1c2

Senior Member
Jul 2, 2012
255
107
Hi,

The above is a beautiful test case. It captures exactly the situation. Let me know whether you'd like me to test anything more.

btw, I wrote the following hack (yes, it's a hack!)which, when run via cron will check whether my phone is eating battery or not. Once it detects your phone is eating battery, it'll stop chimping at you until the condition clears. At which point, it'll send you a message saying all is well.

To configure, set:

  • PHONE_HOSTNAME_OR_IP - the hostname or IP of your phone.
  • WHOM_TO_NOTIFY - the email address to mail the event. I have mine set to mail me a text page.

Code:
#!/bin/bash

PHONE_HOSTNAME_OR_IP=clucker
WHOM_TO_NOTIFY="send-me-a-text-page@example.com"

RESULTS=`ping -c 5 $PHONE_HOSTNAME_OR_IP | sed -n '/transmitt/,/rtt/p'`
NOTIFY_HISTORY=/var/tmp/.`basename $0`

case $RESULTS in
   *transmitted*) 
      RCVD=`echo $RESULTS | sed 's/^.*transmitted, //g' | awk '{ print $1 }'`
      if [ -n "$RCVD" -a $RCVD -ge 1 ] ; then
         AVG_PING_TIME=`echo $RESULTS | sed 's/^.*mdev = //g' | cut -d'/' -f2`

         if [ -n "$AVG_PING_TIME" ] ; then
            #
            # Strip away decimals
            #
            AVG_PING_TIME=`echo $AVG_PING_TIME | sed 's/[.][0-9]*//'`

            #
            # Do we need to raise an alarm?
            #
            if [ $AVG_PING_TIME -lt 10 -a ! -f $NOTIFY_HISTORY ] ; then
               Mail -s "Phone burning battery ..." $WHOM_TO_NOTIFY < /dev/null
               touch $NOTIFY_HISTORY
            #
            # All is well ... :)
            #
            elif [ $AVG_PING_TIME -ge 10 -a -f $NOTIFY_HISTORY ] ; then
               Mail -s "Phone is well" $WHOM_TO_NOTIFY < /dev/null
               rm -f $NOTIFY_HISTORY
            fi
         fi
      else
         rm -f $NOTIFY_HISTORY
      fi
   ;;
esac
 
  • Like
Reactions: jocala

afwolfpacked

Senior Member
Mar 6, 2012
889
286
Delran, NJ
Hi Jocala!

09/10 looks cool so far!

Thanks!

Mega

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

Confirmed MMS no longer needs a subject to send a picture via stock SMS/MMS app. Camera won't take picture to send in MMS so take pic then send. Torch still not functioning nor light in video mode so not sure what changes was made but does seem to run faster and focus beautifully.

Personally I like the pictures better on this phone over the sgs3 but like I say all the time it isn't the megapixel that makes the camera pictures but rather the quality of the camera.

I noticed no changes in contacts either but as above it does seem faster.

Next is actually running a benchmark to compare with old score. V6 always gets disabled on new flashes so it will be compared at same level as 0902 version

Thanks again jocala. Always improving and never resting on laurels.

Antutu reports ram increased 6 points. 2d increased 20 points. 3d increased 9 points. Rest is same and that score was compared against my best which had v6 running. Outstanding work with whatever you did. Note: I checked and ensured v6 was inactive for test.

Test scores highest yet. Previous build w/v6 3558. This build 3579.

Battery. 2 hours 35 minutes. 52% used. Wifi downloaded new build. Nandroid backup romtoolbox backup ran 3 antutu test 7 reboots. Used to end at 25% or lower in previous rom upgrades doing same routine.

Sent from my SGH-T679 using xda premium
 
Last edited:

crhylove

Senior Member
May 6, 2010
513
100
47
Honolulu
www.openairships.com
The 9/2 Build was giving me occasional power offs. So far the new build seems very good. Faster than before buy a lot. Of course I haven't installed Google now yet. Speaking of which, which version of Google now should I install, and how? Is the Google app's in the original post still the best 1? Or should I use M 7?

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

jocala

Senior Member
Jul 4, 2010
3,334
1
2,555
Ocala
The 9/2 Build was giving me occasional power offs. So far the new build seems very good. Faster than before buy a lot. Of course I haven't installed Google now yet. Speaking of which, which version of Google now should I install, and how? Is the Google app's in the original post still the best 1? Or should I use M 7?

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

I don't use Google Now, and haven't kept up with it's progress. If the gapps/now zip would benefit from an update, please let me know.
 

afwolfpacked

Senior Member
Mar 6, 2012
889
286
Delran, NJ
M7 for Google now. As side note just tried camera and flash doesn't work in any mode for me. Any others have same side effect.

Modified: Flashlight HD in test tools with on loop picture mode the light does work so it isn't hardware related.

Sent from my SGH-T679 using xda premium
 
Last edited:

ArtfulDodger

Senior Member
Apr 2, 2012
2,328
1,464
Louisville
www.youtube.com
The 9/2 Build was giving me occasional power offs. So far the new build seems very good. Faster than before buy a lot. Of course I haven't installed Google now yet. Speaking of which, which version of Google now should I install, and how? Is the Google app's in the original post still the best 1? Or should I use M 7?

Sent from my SGH-T679 using xda app-developers app
I've tried multiple versions and it's somewhat inconsistent. Sometimes you get notifications, sometimes you don't. I got notifications for public transit and though accurate to a point, I never could seem to get them for the direction I was needing to go or on the side of the street I was on. I had the best luck with Reekotubbs version.

Another thing is I suspect this eats a lot of memory and slows down the phone. I think I'm going to hold off installing it and see if performance is better without it.
 

T679noob

Senior Member
Jan 14, 2012
514
173
I used to flash over previous builds, but have been pretty particular, considering the increase in stability. Can I flash over previous, by just wiping cache/davlik?

I'll romwipe if this isn't recommended. Cutting corners this week. Too much going on :)

Sent from my SGH-T679 using Tapatalk 2
 

Mwas.

Senior Member
Sep 14, 2011
227
54
Celtics Nation
OnePlus 7T
I used to flash over previous builds, but have been pretty particular, considering the increase in stability. Can I flash over previous, by just wiping cache/davlik?

I'll romwipe if this isn't recommended. Cutting corners this week. Too much going on :)

Sent from my SGH-T679 using Tapatalk 2

Last two builds including this I've just wiped dalvik/cache and have been just fine.

Sent from my SGH-T679 using xda app-developers app
 
  • Like
Reactions: T679noob

IRX120

Senior Member
May 28, 2012
1,915
653
Atlanta
I switched back to 0902 because it seems faster.
@jocala Also the partition on the phone for storing apps is only 1000mb or so. Since I don't use USB storage would it he possible to resize the USB storage partition and add another gig to the app partition?
I'm a little confused as to how all that stuff works

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

tom_yellowblue

Senior Member
Feb 7, 2012
65
14
After upgrading I lost Gmail and Google Now but not Google Maps. Previously I had the Google Now package installed. I wiped davlik/cache (not system) and installed the CM9 update. After it booted gmail was missing and I was back to the regular Google search (Google Now was gone). Do you always have to re-install one of the google packages when updating the ROM? I took the instructions in the first post to mean you only had to install them the first time.

It's not a big deal, I just installed gmail from the Play store and everything was fine. It was just weird that gmail and Google Now disappeared but not Maps.
 

afwolfpacked

Senior Member
Mar 6, 2012
889
286
Delran, NJ
OK fresh clean install with every app as before and all settings as before. Bench marked 3582 this time. Now camera lights with camera and video

Tried Android restore wipe dalvik and cache reflashed but still lost light. Apparently I was running buggy before I flashed over 0902 but 0910 is faster and fixes issues that didn't bother me before.

Thanks again jocala.

Sent from my SGH-T679 using xda premium
 

ricedragon

Senior Member
Feb 1, 2012
65
11
For those that had speakerphone issues, the latest rom seems to have fixed it! Thanks jocala. Will keep testing the latest build!

Sent from my cm_tenderloin using xda app-developers app
 

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.