Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,888 Members 52,427 Now Online
XDA Developers Android and Mobile Development Forum

[ROM] [SGH-I757M only] CyanogenMod 9

Tip us?
 
dsixda
Old
(Last edited by dsixda; 27th October 2012 at 04:49 AM.)
#1  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator - OP
Thanks Meter 4911
Posts: 9,577
Join Date: Nov 2007
Location: Ottawa
Default [ROM] [SGH-I757M only] CyanogenMod 9

CyanogenMod 9 for Samsung Galaxy S2 HD LTE (SGH-I757M)

THIS IS AN UNOFFICIAL BUILD OF CYANOGENMOD 9 BUT CAN STILL BE USED AS A DAILY DRIVER.

Quote:
CyanogenMod is an open source replacement firmware based on the Android mobile operating system for smart phones and tablet computers. It offers features and options not found in the official firmware distributed by vendors of these devices.
Bell Canada released the Galaxy S2 HD LTE (SGH-I757M), which is a slight upgrade from its original Galaxy S2 GT-I9100M released the summer before, with now a bigger display and HD resolution. Since Bell hadn't released an ICS update yet, I have ported CyanogenMod 9 (stock ICS / Android 4.0) to the SGH-I757M.

NOTE: I was told by mods to post this thread in this General forum because it's not an I9100.



(Screenshots attached below)


What works:

Pretty much everything for daily use. Click below for details.

 

Code:
Select Code
- Phone calls
- 3G/HSPA/LTE Data
- SMS send/receive
- Wi-Fi
- Video playback
- YouTube (including HD videos)
- Adobe Flash
- Hardware acceleration in browser
- Rear camera (model M5MO) takes photos and videos, and uses flash
- Front camera (model SR200PC20M) - takes photos and videos
- BLN (Backlight Notification on buttons)
- Overclocking/underclocking
- Face Unlock
- Panorama mode for camera
- USB mass storage
- MTP
- Skype
- Audio from speakers
- Play Store
- Vibration and haptic feedback
- Orientation sensor
- Magnetic field sensor / compass (model AK8975)
- Gyroscope (model K3G) 
- Accelerometer (model K3DH)
- Optical sensor, i.e. proximity and ambient light sensor (model TAOS)
- Auto-brightness
- Bluetooth (and A2DP)
- GPS
- Headphone audio
- Torch app
- USB tethering
- Speakerphone
- Wi-Fi hotspot
- Google Goggles
- Lights on capacitive buttons
- Internal and external (micro) SD card access 
  - Note: Internal SD is under /mnt/emmc, micro SD is '/sdcard'
- CPU frequency is being reported correctly as 1512MHz
- MHL (compiled into kernel but not tried yet)

What doesn't work:

 

- I.P. CALLING: VoIP/SIP clients like CSipSimple and Dell Voice crash when making calls, or nothing heard at other end of line when using them. Click here and here for more info. Skype works fine.
- IN CAMCORDER: The 'Silly Faces' effects option for the front/rear camcorders is currently showing a distorted image in the preview screen. However, the video recording itself gets saved perfectly with the chosen effect. Normal front/rear camcorder functionality (i.e. without the silly effects) has no issues. If you want to help out, click here for all the logcat info and analysis for the Silly Faces option.
- IN CAMCORDER: Not really an issue, but the zoom control should not be present in 1080p mode for the camcorder, because it does not zoom in 1080p (limitation of Galaxy S2, not CM9)
- IN CAMERA: No touch-to-focus for camera, although regular focus works fine. A workaround would be to use LgCamera app from the Play Store.
- CAPACITIVE BUTTONS: button lights will not come on when turning device on from sleep; user must touch screen after 10 seconds to turn button lights on (issue is common in CM9 for other SGS2 Qualcomm-based variants)


Download:

WARNING! Do not flash this to a different device model from the one it's meant for. It will not work with the other Galaxy S2 iterations, so don't try it with the Bell Galaxy S2 I9100M (non-HD). DO NOT flash it on the Asian variant of the GS2 HD (SHV-E120) either, as it uses slightly different internal hardware - the ROM will be unstable and the phone component will not work. If you are sure you have the CANADIAN Bell Galaxy S2 HD LTE (SGH-I757M), then click on the button below:

(For questions about CM9 for the SHV-120L, contact skysbird on Twitter or GitHub. I will not discuss that device in my thread.)
 

OLD LINK: http://d-h.st/users/dsi

UPDATE: September 20, 2012: I don't own this device anymore, and am no longer maintaining the builds, please find latest versions here, thanks to XDA user crlogic:

http://d-h.st/users/crlogic


Go to the Dev-Host link above and navigate to the CM9 sub-folder to access the files required for the following steps. Please read the installation instructions carefully.



Support my work:

DONATE / FOLLOW ME





Full instructions for installing:

Download the necessary files:

1) Ensure you have my latest ClockworkMod (CWM) Recovery image for the SGH-I757M. Please refer to this thread for details. NOTE: The original released version of CWM for this device is not compatible with the CM9 ROMs, so update to the latest one please.
2) Download the CM9 ROM from the SGS2 HD LTE / cyanogenmod9 folder found at the big Dev-Host link above.
3) Download the Google Apps (gapps) file from the SGS2 HD LTE / cyanogenmod9 folder found at the link above. The Google Apps are flashed separately from the ROM due to legal requirements (proprietary files). They include Gmail, YouTube, Play Store, Maps, etc.
4) Optional: Download the stock Bell ICS modem (MUGLH2) from the SGS2 HD LTE / factory images folder. You should skip this step if you had earlier flashed the stock Bell ICS update, since it contains that modem/baseband (check your Settings-->About screen to verify the Baseband).

Back up your data:

1) If you're coming from a non-CM9 ROM, back up your apps and data with the Titanium Backup app if you wish. Back up your SMS messages with apps like 'SMS Backup and Restore'.
2) Boot into CWM (hold down power and both volume buttons, let go at the Samsung logo)
3) Enter CWM Recovery and make a Nandroid backup of your current ROM, just in case.

Now flash:

1a) If you have CM9 already installed and want to flash it again: In CWM - wipe cache, then go to Advanced menu and wipe Dalvik cache. Then flash the CM9 zip file.
1b) OR if this is your first time flashing CM9: In CWM - wipe data (factory reset), then flash the CM9 zip file TWICE.
2) Next, flash the zip file for Google Apps - it is recommended to flash this every time you flash a new CM9 ROM!
3) If you had also downloaded the modem, then flash that as well.
4) Reboot phone
5) If you have problems, read the FAQ below and ask questions in this thread if necessary. Please do not PM me about tech support.


Frequently Asked Questions (FAQ), Change Logs, Sources, Acknowledgements, etc.

- NOTE: I do not own this device anymore and cannot provide tech support. All help is found in the following posts.


CyanogenMod 10 - Jelly Bean available?

- Yes it is, go here.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-06-26-04-30-20.jpg
Views:	2604
Size:	23.5 KB
ID:	1163577   Click image for larger version

Name:	Screenshot_2012-06-26-04-35-41.jpg
Views:	2750
Size:	26.1 KB
ID:	1163578   Click image for larger version

Name:	20120626_165525.jpg
Views:	2369
Size:	506.8 KB
ID:	1163581  
The Following 22 Users Say Thank You to dsixda For This Useful Post: [ Click to Expand ]
 
dsixda
Old
(Last edited by dsixda; 27th October 2012 at 04:41 AM.)
#2  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator - OP
Thanks Meter 4911
Posts: 9,577
Join Date: Nov 2007
Location: Ottawa
Frequently Asked Questions

Q. I flashed CM9 after coming from another non-CM9 ROM, and I get errors or phone fails to boot.
A. Make sure you read the instructions in Post 1 for flashing correctly. If you still can't figure it out, go to the "advanced" menu section in the recovery menu and select the log output to see what went wrong. If it says you have an "assert" issue then you obviously have the wrong version of ClockworkMod recovery and you didn't follow the instructions.

Q. How do I restore my phone back to factory conditions so that I don't have a voided warranty?
A. Flash the stock Bell firmware (found at my dev-host link) with Odin. OR download the stock firmware by creating an account at sammobile.com and going to the Firmware section (search for SGH-I757M); then flash it with Odin.

Q. I'm not getting LTE (4G) speeds on my phone with CM9
A. By default the ROM is set to normal GSM (3G/HSPA). You can change it under System Settings --> More --> Mobile Networks --> Network Mode --> LTE/GSM. For some providers like Rogers you may need to manually add the APN for the LTE network as well. To verify you have LTE working, you'll see the "4G" icon on the notification bar. In addition, you can run the Speed Test app to ensure you get LTE download speeds like 25Mbps instead of 4 Mbps. Of course, all this depends on whether your location has LTE towers within its vicinity.

Q. Why do my buttons light up when I get a notification?
A. By default the Backlight Notification (BLN) is turned on. You can disable it under System Settings -> Advanced -> Sensors.

Q. The NFC options can be enabled in the Settings but why doesn't Android Beam work?
A. The device seems to not have the hardware support. The same problem happens in the stock Samsung firmware. However, the online user manual mentions the use of Tags, although when I tried with both stock Samsung 2.3 and CyanogenMod 9 they couldn't read the NFC tags (at the same time I was using an Xperia S and that was able to read the same tags fine). There is discussion going on in this thread stating that we may need an NFC-enabled battery and/or special battery cover. Click here for some debug info from the phone when we turn on NFC.

Q. If I power on the device while the charger is plugged in, it does not turn on. I need to pull out and re-insert the battery to start it again.
A. This is a known issue in CyanogenMod 9 and in AOKP, not just this ROM. You could also try unplugging the phone and holding down the power button for several seconds to turn it on.

Q. How do I access internal storage and also my micro SD card?
A. Internal storage is under the folder /mnt/emmc; micro SD is under /sdcard.

Q. Does FM radio work?
A. No, this device does not have FM radio hardware support.

Q. My battery life sucks.
A. Not my fault, I did not do some geeky tweaks or overclock your phone. The device itself has a crappy battery and you'll notice the same issues in stock. Click here for some battery-saving tips.

Q. I am a newb but want to help out with ADB and/or debugging an issue, how can I?
A. Read here. Also see the following posts on how to get the sources to build the ROM.
The Following 2 Users Say Thank You to dsixda For This Useful Post: [ Click to Expand ]
 
dsixda
Old
(Last edited by dsixda; 1st September 2012 at 06:20 AM.)
#3  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator - OP
Thanks Meter 4911
Posts: 9,577
Join Date: Nov 2007
Location: Ottawa
Change Log

cm-9-20120901-UNOFFICIAL-celoxhd.zip
- Synced up with latest upstream changes to CM9 sources

cm-9-20120829-UNOFFICIAL-celoxhd.zip
- Updated with more binaries from latest Bell ICS update (netmgrd, qmiproxy, sec-ril)
- Updated build fingerprint to GLH2
- Synced up with latest upstream changes to CM9 sources

cm-9-20120828b-UNOFFICIAL-celoxhd.zip
- Updated with many new binaries from latest Bell ICS update, including for Wi-Fi, camera, DivX, GPS, audio, and RIL
- Synced up with latest upstream changes to CM9 sources

cm-9-20120828-UNOFFICIAL-celoxhd.zip
- Disabled some debugging in the kernel, should improve performance
- Synced up with latest upstream changes to CM9 sources

cm-9-20120823-UNOFFICIAL-celoxhd.zip
- Added a fix where camera photos stored on the microSD may still appear in Gallery even if deleted (merged from Skyrocket repository)
- Fixed wrong product string in USB Mass Storage mode (was being reported as SGH-I727 rather than SGH-I757M)

cm-9-20120820-UNOFFICIAL-celoxhd.zip
- first version of I757's CM9 to support the new CWM Touch Recovery
- rebuilt with latest CM9 sources
- enabled VOIP in kernel - not a complete fix but should assist when debugging with logcat and dmesg
- replaced custom capacitive button code with common Snapdragon S3 MSM8660 code (liblights): should save battery, as the capacitive button lights will now turn off after 5 seconds of touch inactivity
-- Now compatible with custom button dim level options in Settings
-- NOTE: Minor issue (also seen in other CM9 MSM8660 devices): button lights will not come on when turning device on from sleep; user must touch screen after 10 seconds to turn button lights on

cm-9-20120723-UNOFFICIAL-celoxhd.zip
- Backlight Notifications (BLN) now blink every 10 seconds instead of staying on. Should improve battery life.

cm-9-20120722-UNOFFICIAL-celoxhd.zip
- Fix for missing modelid_cfg.sh and /system mounting issue during flash

cm-9-20120721-UNOFFICIAL-celoxhd.zip
- Kernel now uses CyanogenMod version of latest kernel sources (I've also included the latest updates for overclocking, which are still under review)
- Updated mpdecision binary (handles CPU performance)
- Updated sec-ril binary (for phone functionality)
- Use Bell LTE as default APN, not AT&T
- Set in-call noise supression
- Enable Samsung SIM Toolkit functionality
- fixed capitalization issue with new DivX DRM library file; was not recognized by system in previous build

cm-9-20120718-UNOFFICIAL-celoxhd.zip
- Included latest ICS Samsung system libraries for sensors, graphics, compass, video, audio, GPS and phone

cm-9-20120717-UNOFFICIAL-celoxhd.zip
- Various minor fixes, including for HDMI output, audio and graphics

cm-9-20120713-UNOFFICIAL-celoxhd.zip
- Front camera now works
- Added SGH-I757M ICS camera binaries
- Updated to newer kernel sources (this allowed the front camera to work with the above binaries)
- Merged kernel configuration with that from SGH-I757M ICS test ROM (generally the same but CM9 version includes BLN and overclocking)

cm-9-20120707a-UNOFFICIAL-celoxhd.zip
- Fixed issue with not being able to adjust maximum CPU frequency; overclocking now works

cm-9-20120707-UNOFFICIAL-celoxhd.zip
- Fixed issue with button lights dimming and sometimes not turning back on when touched
- Added MHL support in kernel

cm-9-20120705a-UNOFFICIAL-celoxhd.zip
- Added back backlight notifications
- Fixed issue when backlight was enabled: After backlight notification came on, and then phone was turned on, the button backlight would turn off
- Fixed issue when backlight was disabled: If you screen brightness was adjusted manually, the button backlight would turn on

cm-9-20120705-UNOFFICIAL-celoxhd.zip
- Correct default CPU frequency is now set, at 1.5 GHz
- Front camera option disabled in camera app, to prevent 'stuck' front camera setting if someone switched to it
- BLN disabled

cm-9-20120703-UNOFFICIAL-celoxhd.zip
- Enhanced NFC support
- GPS Utils
- Updated Adreno drivers
- Enabled CONFIG_MMC_BLOCK_BOUNCE in kernel - may help with SD card read/write performance

cm-9-20120629-UNOFFICIAL-celoxhd.zip
- Fixed optical sensor issues (proximity and ambient light) by using libs for TAOS

cm-9-20120628a-UNOFFICIAL-celoxhd.zip
- backlight fix (first alpha version in this thread)

cm-9-20120628-UNOFFICIAL-celoxhd.zip
- Added wi-fi hotspot functionality
- Fixed NFC so no more errors show up in logcat when enabled/disabled

cm-9-20120625c-UNOFFICIAL-celoxhd.zip
- Phone functionality and SMS enabled (RIL)
- Mobile data (3G/LTE) works

cm-9-20120625b-UNOFFICIAL-celoxhd.zip
- Working rear camera

cm-9-20120625-UNOFFICIAL-celoxhd.zip
- Added kernel modules (Now working: Bluetooth, GPS, Wi-fi, vibration, MTP, USB mass storage)

June 24th build (cm-celoxhd-ota-eng.dsixda.zip)
- Initial alpha version of CM9, boots to system

Past Milestones

June 22, 2012
- Custom ICS kernel created, boots into CWM

June 12th, 2012
- Initial version of ClockworkMod Recovery released
The Following 2 Users Say Thank You to dsixda For This Useful Post: [ Click to Expand ]
 
dsixda
Old
(Last edited by dsixda; 9th August 2012 at 08:04 AM.)
#4  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator - OP
Thanks Meter 4911
Posts: 9,577
Join Date: Nov 2007
Location: Ottawa
Source code

- Link to all my source files for CM9 at GitHub for device "celoxhd". Build instructions are found in my device repo.


Other useful links

- This ROM was featured on one of Canada's top smartphone sites, Mobile Syrup
- This ROM was featured on the xda-developers news portal
- Original discussion on root methods and CM9 for SGH-I757M
- My ClockworkMod Recovery for SGH-I757M
- Rogers LTE APN settings
- Google Now from Jelly Bean


Acknowledgements

- Cyanogen
- Koush (for ClockworkMod)
- Team Chopsticks (borrowed files and help) - #teamchopsticks on IRC Freenode server
- Team Evervolv (for help, especially preludedrew on IRC) - #evervolv on IRC Freenode server
- yurilebbie on IRC channel #teamchopsticks for assistance with overclocking
- adlx.xda (help and support)
- crazy Canuck testers (you know who you are)
- Chainfire (inspiration)
- my awesome Twitter followers (continual help and encouragement)
- and last but not least my wife and daughter for not getting mad as much as they should be for the time I spend on this!!
The Following User Says Thank You to dsixda For This Useful Post: [ Click to Expand ]
 
jonnyjb
Old
(Last edited by jonnyjb; 11th July 2012 at 02:09 AM.)
#5  
Senior Member
Thanks Meter 49
Posts: 223
Join Date: May 2011
Location: Victoria
I'm not sure if I dis something wrong but I did it the same as I had for my sgs i9000 countless times..
Please let me know thanks.
Sent from my SGH-I757M using xda app-developers app
 
jsr84
Old
(Last edited by jsr84; 29th June 2012 at 05:54 AM.)
#6  
Senior Member
Thanks Meter 48
Posts: 189
Join Date: Feb 2012
Location: Victoria
I've watched the development for this device since day one and it's pretty remarkable how quick we went from struggling to find a root method to having CWM and now CM 9. Much thanks to dsixda!

Now down to business. I remember in the original thread someone confirmed that the light sensor was working however, running the latest revision I don't seem to be getting any response from the light sensor, I've tried a few sensor monitoring apps and the brightness wont adjust when set to "Auto Brightness". Has anyone else experienced this?
 
dsixda
Old
(Last edited by dsixda; 29th June 2012 at 06:19 AM.)
#7  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator - OP
Thanks Meter 4911
Posts: 9,577
Join Date: Nov 2007
Location: Ottawa
@johnnyjb that output doesn't really help. It didn't show you flashed anything. Did you get that after a reboot? Use adb to grab /tmp/recovery.log or /cache/recovery/last_log right after flash.

If you are flashing from an external SD card and getting incomplete flashes or it's stuck at boot, then you might have a corrupted SD. This happened to me.
 
dsixda
Old
(Last edited by dsixda; 29th June 2012 at 05:58 AM.)
#8  
dsixda's Avatar
Recognized Developer / Retired Senior Moderator - OP
Thanks Meter 4911
Posts: 9,577
Join Date: Nov 2007
Location: Ottawa
Quote:
Originally Posted by jsr84 View Post
I've watched the development for this device since day one and it's pretty remarkable how quick we went from struggling to find a root method to having CWM and now CM 9. Much thanks to dsixda!

Now down to business. I remember in the original thread someone confirmed that the light sensor was working however, running the latest revision I don't seem to be getting any response from the light sensor, I've tried a few sensor monitoring apps and the brightness wont adjust when set to "Auto Brightness". Has anyone else experienced this?
Set it to lowest brightness manually, then set to auto brightness. You should see adjustment to normal brightness eventually. I do notice the sensor is a bit slow on mine though.
 
jonnyjb
Old
#9  
Senior Member
Thanks Meter 49
Posts: 223
Join Date: May 2011
Location: Victoria
Quote:
Originally Posted by dsixda View Post
@johnnyjb that output doesn't really help. It didn't show you flashed anything. Did you get that after a reboot? Use adb to grab /tmp/recovery.log or /cache/recovery/last_log right after flash.

If you are flashing from an external SD card and getting incomplete flashes or it's stuck at boot, then you might have a corrupted SD. This happened to me.
The phone works but it will freeze when i do much of any thing, then reboot and some times boot loop, but it seems like it is when it is charging, very strange.
And I'll try to get the log for you here or in the morning, thanks again for all your hard long work, and thank your wife for me too.

Sent from my Transformer TF101 using xda app-developers app
 
jsr84
Old
(Last edited by jsr84; 29th June 2012 at 07:09 AM.)
#10  
Senior Member
Thanks Meter 48
Posts: 189
Join Date: Feb 2012
Location: Victoria
Quote:
Originally Posted by dsixda View Post
Set it to lowest brightness manually, then set to auto brightness. You should see adjustment to normal brightness eventually. I do notice the sensor is a bit slow on mine though.
I noticed a small amount of adjustment. I thought I would restore back to GB to compare the sensor using the same app and in GB the app reports the sensor as a "TAOS" sensor in CM9 its reporting the sensor as a "Sharp". In GB the sensor seems to react to different light levels were as in CM9 it wont respond to any light changes.

A screen capture from GB



And one from CM9



I know your plate has enough on in with regards to this port, but it was just something I noticed, I'm not even sure if its relevant.

The Following 2 Users Say Thank You to jsr84 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes