[ROM] [SGH-I757M only] CyanogenMod 9

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
I'm not concerned about battery life right now, I'm trying to get all the core items out of the way first. I spent over five hours last night on the video, but no luck. I am about to give up since there's no point wasting this much time with no result. Feel free to help out, since so far I have been on my own and I've hit a wall. I'm no expert, just a newb.

If you want to save time with an issue, do a logcat and see what's actually happening.
 
Last edited:

the_leviathan

Member
Jun 26, 2012
14
8
0
if i am coming from stock rom. should i just install cm9 first or do i have to have the previous cwm installed first ?
In order to flash CM9, you need to have the latest clockwork mod recovery installed.

Take a look at dsixda's other thread for details on how to install cwm, then follow the steps in the first post of this thread to install CM9.

dsixda's cwm thread:
http://forum.xda-developers.com/showthread.php?t=1707126
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Last edited:

jsr84

Senior Member
Feb 21, 2012
191
47
0
Victoria
I found a temporary solution to the CPU overclock issue. It would seem that programs such as Set CPU and voltage control have the ability to override CM9's control over the CPU. I've lowered the Max CPU frequency in Set CPU to 1350 and while it still reports the max frequency in the performance menu as 1800 its never goes over 1350.
 

goodhanrry

Member
Mar 22, 2008
28
39
0
Hi!
You will need to get the kernel configuration from /proc/config from your phone when you run the stock ICS E120 firmware. From that, you can build the kernel with correct front camera and phone/provider configuration. Then you need to rebuild the CM9 source.

Bell's GS2 HD uses the SR200PC20 front camera instead of S5K5BAFX like yours and all other GS2s. You can see that in the kernel configuration. Rear cameras are the same though.

By the way, if the light sensor and proximity sensor doesn't work then use sensors.default.so from your stock ROM.
Thanks a lot,for your CM9!

I download the cm9 sourcecode,and build the E120L kernel with config of E120L.It can start with your cm9 smoothly,but phone not works!

Anything I have to do?
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Thanks a lot,for your CM9!

I download the cm9 sourcecode,and build the E120L kernel with config of E120L.It can start with your cm9 smoothly,but phone not works!

Anything I have to do?
You will have to do a logcat and see the log while it is booting up.. it should tell you what service is having problems, and also may tell you what library file is missing .
 

123abcalex

Member
Jul 2, 2012
14
3
0
Great Work

First thing, great work on this ICS ROM, all of your very hard work is definitely not going unrecognized.

I recently got the galaxy s2 hd lte handset and was disappointed to see it is and probably will remain a 'rare' device, it will never gain the popularity of the galaxy s2 or s3 and thus will probably have much less development for it. Bell is sure taking its sweet time to release the ICS stock ROM and I would not expect to see it any time soon, knowing what type of company it is (thank god I got my phone 'unlocked'). When we finally do get the stock image things will be different but for now I want to extend my thanks to dsixda for putting in the effort.

That being said, perhaps I can share my experience with the ROM. I had a bit of trouble flashing it. The first time (after having installed the up to date recovery and having rooted phone) I did not wipe and just installed it, of course it looped and crashed. After a wipe it installed first time (June 28th version) but when I went to upgrade to June 29th version it did not go so smoothly. I followed the same procedure, wipe and install from external SD but it kept looping and crashing. Also once or twice it got to the initial setup procedure but crashed on the first or second step. I got it to work by installing June 28th version (which I could no longer reliably install either) and without wiping installed the June 29th over it (maybe it randomly worked as well, not sure if this 'procedure' did anything special). Also in the course of this, while it was looping and crashing, I removed the battery to stop this, but simply removing it and replacing it was no good, it kept looping and crashing, I needed to remove it for a longer period of time (more than a few seconds) to avoid loops.

As of now the ROM work relatively well for me, but I am having a problem web browsing. If I load up a content heavy page (not a mobile version of this page) and scroll fast, my phone will automatically freeze up. Anything extra demanding appears to freeze up the phone and I need to remove the battery for a few seconds to get it to boot again. I suspected perhaps this had to do with the processor speed (being at 1800+ MHz by default in the ROM) and the fact the app was too demanding of the processor, but I cannot for the life of me change this, when I set it to anything else it will automatically change back to the max setting. Is it possible the phone's internal SD is corrupt and need to be formatted? (can this even be done?)

Fingers crossed that Bell gets their sorry ass into gear and releases ICS soon and we can finally use our phone as intended and again thanks dsixda for your work put into this.
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Try flashing from internal storage, not the microsd. For some reason I was also having problems from microsd but I attributed it to the fact it was corrupted before. No problems since.

If you are unable to access internal storage due to boot loop, use adb to copy the ROM there, e.g.:

adb push nameOfMyRom.zip /mnt/emmc/
 

TrainAss

Senior Member
Sep 18, 2009
206
18
0
Edmonton
First off, Thank you. SOO very much for the rooting instructions. I lost my Samsung Galaxy S (GT-i9000m) on Saturday to a corrupted internal SD card. This was an issue with the Bell SGS, and I got lucky.

Did some hunting around, and when no one would sell me an SGS3 (and those that were selling it, had a huge markup.), and the Nexus was out of stock everywhere, I settled on the SGS2 HD LTE. It's similar specced to the SGS3, only a lower-res screen (which, TBH, is fine with me). When I saw your rooting instructions, I was very excited. I've held off on your ICS Rom for a bit, but am watching it closely. I'll flash it soon, I'm sure. Especially once the speed issues have been resolved. I'm not a dev, so I can't really offer any assistance. I've never programmed w/Android before either.

Have you asked in any of the other forums for assistance? Someone might be able to shed some light on the issues.
 

jsr84

Senior Member
Feb 21, 2012
191
47
0
Victoria
All the info I can find on the 2 devices show they have the same resolution at 1280 x 720, and the S2 HD has a higher pixel density.
 
Last edited:

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Hi guys,
I just found something in the kernel related to the SD card drive that was not enabled:

# CONFIG_MMC_BLOCK_BOUNCE is not set

I've noticed on the stock GB ROM, as well as in ICS kernels for other devices such as the Skyrocket, have this enabled. Perhaps this may be the reason for SD card flashing issues. Nonetheless, I'll put out a new recovery image perhaps tonight when I get back from my long weekend vacation. Apparently this parameter also enhances the read/write speed.
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Fingers crossed that Bell gets their sorry ass into gear and releases ICS soon and we can finally use our phone as intended and again thanks dsixda for your work put into this.
I know a Bell employee in Toronto who has had this ICS ROM for a couple of weeks and has strung me along, saying he could provide me some files from it (but is afraid for his job/privacy if he dumps it). Well I've emailed him twice the last several days, even left my cell #, saying that I could come over with my laptop and get the required files, but he hasn't responded. I'm even in Toronto on holiday at the moment without a response from him. Really REALLY annoying... I understand that he's concerned about his job, but why lead us on like that???

I've been trying to fit whatever time I can this long weekend (Canada Day, bro-in-law's marriage) to get something to work but have had no luck. I've notified MobileSyrup, Engadget, etc. to at least get some exposure and development interest for this device, but nobody seems to care. If devices like the Rogers GS2 get attention and coverage for CM9, why not our superior device?

If someone here could at least download the sources that would be a help.. I am by no means a hacker or an experienced AOSP/CM developer; I've figured almost everything out so far by Googling. We just need another person here with pretty good Linux experience and above-average knowledge of ADB. Also, C programming and knowledge of Makefiles is not required but an asset.

Start here: https://github.com/dsixda
 
Last edited:
  • Like
Reactions: TrainAss

the_leviathan

Member
Jun 26, 2012
14
8
0
I know a Bell employee in Toronto who has had this ICS ROM for a couple of weeks and has strung me along, saying he could provide me some files from it (but is afraid for his job/privacy if he dumps it). Well I've emailed him twice the last several days, even left my cell #, saying that I could come over with my laptop and get the required files, but he hasn't responded. I'm even in Toronto on holiday at the moment without a response from him. Really REALLY annoying... I understand that he's concerned about his job, but why lead us on like that???

I've been trying to fit whatever time I can this long weekend (Canada Day, bro-in-law's marriage) to get something to work but have had no luck. I've notified MobileSyrup, Engadget, etc. to at least get some exposure and development interest for this device, but nobody seems to care. If devices like the Rogers GS2 get attention and coverage for CM9, why not our superior device?

If someone here could at least download the sources that would be a help.. I am by no means a hacker or an experienced AOSP/CM developer; I've figured almost everything out so far by Googling. We just need another person here with pretty good Linux experience and above-average knowledge of ADB. Also, C programming and knowledge of Makefiles is not required but an asset.

Start here: https://github.com/dsixda
First off, happy Canada day to you sir.

Second, I've recently been subjected to some pretty serious crap at work, resulting in dramatically reduced hours for the rest of the summer. Hooray :/

The good news is that now I have time to do some reading and get into development. Hopefully soon I'll be out of testing and will be able to give you the support you've been asking for. I've got some experience with Linux and programming, so at least that's a start.

Keep up the good work man, I'll keep you posted.
 
Last edited:
  • Like
Reactions: dsixda

TrainAss

Senior Member
Sep 18, 2009
206
18
0
Edmonton
All the info I can find on the 2 devices show they have the same resolution at 1280 x 720, and the S2 HD has a higher pixel density.
I read on Samsung's website that the S2 HD LTE wasn't as high., but you're right. WIN!

---------- Post added at 12:56 PM ---------- Previous post was at 12:51 PM ----------

I know a Bell employee in Toronto who has had this ICS ROM for a couple of weeks and has strung me along, saying he could provide me some files from it (but is afraid for his job/privacy if he dumps it). Well I've emailed him twice the last several days, even left my cell #, saying that I could come over with my laptop and get the required files, but he hasn't responded. I'm even in Toronto on holiday at the moment without a response from him. Really REALLY annoying... I understand that he's concerned about his job, but why lead us on like that???

I've been trying to fit whatever time I can this long weekend (Canada Day, bro-in-law's marriage) to get something to work but have had no luck. I've notified MobileSyrup, Engadget, etc. to at least get some exposure and development interest for this device, but nobody seems to care. If devices like the Rogers GS2 get attention and coverage for CM9, why not our superior device?

If someone here could at least download the sources that would be a help.. I am by no means a hacker or an experienced AOSP/CM developer; I've figured almost everything out so far by Googling. We just need another person here with pretty good Linux experience and above-average knowledge of ADB. Also, C programming and knowledge of Makefiles is not required but an asset.

Start here: https://github.com/dsixda
This is prob. a stupid question, but I shouldn't have an issue flashing your rom, and then if I wanted to, go back to the (hacked) GB rom that the phone came with (provided by your links) right?
 

the_leviathan

Member
Jun 26, 2012
14
8
0
I read on Samsung's website that the S2 HD LTE wasn't as high., but you're right. WIN!

---------- Post added at 12:56 PM ---------- Previous post was at 12:51 PM ----------



This is prob. a stupid question, but I shouldn't have an issue flashing your rom, and then if I wanted to, go back to the (hacked) GB rom that the phone came with (provided by your links) right?
I've done this myself in the early stages of testing, there is no issue switching between roms sir.
 
  • Like
Reactions: TrainAss

the_leviathan

Member
Jun 26, 2012
14
8
0
excellent. I'm really missing ICS
Dsixda has really done a superb job in an incredibly small window of time.

I've been using the alpha as my primary OS for about a week now and, save a few of the little things (particularly lack of private calling which I use everyday at work), it runs silky smooth