Root SGH-I757

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Wow, what a ROM!! Did notice that during a call my screen didnt go off? Or is that setting in cyanogenmod?

I done about 2 mins of video record and had no issues playing it back aswell

Great work Dsixda, my new daily driver !!!!
Does speakerphone work?

Nevermind, I tested it and it does
 
Last edited:

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Forgot to ask, is the Kernel with this Rom, able to handle OC and UC? Is it a custom kernel?
I don't know and don't care right now. Just want to focus on getting things working now.

Yes it is a custom kernel because it's not stock, I built it from the ground up, sort of.. i had no I757M ICS kernel config file. Check my github to see what was configured in the kernel, maybe there is an OC parameter there.
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Ok so this is what we have so far:

What works:

- Wi-Fi
- Adobe Flash
- Play Store
- Vibration
- Hardware acceleration in browser
- Orientation sensor
- MTP
- Audio from speaker
- NON-HD video playback
- YouTube (including HD videos)
- USB mass storage
- Compass
- Rear camera takes photos, and flash
- Bluetooth (and A2DP)
- GPS
- Phone
- 3G/HSPA/LTE Data
- SMS send/receive
- Headphone audio
- Backlight Notification (BLN)
- Torch app
- USB tethering
- Speakerphone
- NFC (potentially fixed, will be in next update)

What doesn't work:

- Front camera
- Sensors (ambient light sensor, touch button light sensor, proximity sensor)
- Wi-fi hotspot
- Rear camera records SD/HD video but crashes part of the way through playback -- might need OMX libraries(?)
- HD video playback
- MHL(?)


Haven't tried:

- FM radio
 
Last edited:
  • Like
Reactions: jonnyjb

ngautam

Member
Aug 28, 2010
28
3
0
Toronto
kies doesnt pick up the phone :confused: mass storage mode is on and i can see the drives in computer..updated kies to the latest addition// anyone else having the issue ?


edit: i turned on the mtp now kies just says connecting ?
 
Last edited:

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
kies doesnt pick up the phone :confused: mass storage mode is on and i can see the drives in computer..updated kies to the latest addition// anyone else having the issue ?
Why do you need Kies? It can't read it because there is no CSC and the product code info.
 

ngautam

Member
Aug 28, 2010
28
3
0
Toronto
contacts are stored on the computer via kies.
another issue i found was if you watch youtube on the browser the sound doesnt come from the speaker it comes from the headset area. i havent tried the youtube app yet.
 

jonnyjb

Senior Member
May 8, 2011
260
55
0
Calgary
Awesome Work.

Ok so this is what we have so far:

What works:

- Wi-Fi
- Adobe Flash
- Play Store
- Vibration
- Hardware acceleration in browser
- Orientation sensor
- MTP
- Audio from speaker
- NON-HD video playback
- YouTube (including HD videos)
- USB mass storage
- Compass
- Rear camera takes photos, and flash
- Bluetooth (and A2DP)
- GPS
- Phone
- 3G/HSPA/LTE Data
- SMS send/receive
- Headphone audio
- Backlight Notification (BLN)
- Torch app
- USB tethering
- Speakerphone
- NFC (potentially fixed, will be in next update)

What doesn't work:

- Front camera
- Sensors (ambient light sensor, touch button light sensor, proximity sensor)
- Wi-fi hotspot
- Rear camera records SD/HD video but crashes part of the way through playback -- might need OMX libraries(?)
- HD video playback
- MHL(?)


Haven't tried:

- FM radio
I'm Amazed at how much stuff is working in such a short time. I Remember my Galaxy S i9000, i had to wait Months before using it because nothing worked, here we are 3-4 days since you started and we have an almost fully working Rom.
GOOD WORK. you are Awesome.
Thanks for all your hard work on this.
 
  • Like
Reactions: dsixda

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
I'm Amazed at how much stuff is working in such a short time. I Remember my Galaxy S i9000, i had to wait Months before using it because nothing worked, here we are 3-4 days since you started and we have an almost fully working Rom.
GOOD WORK. you are Awesome.
Thanks for all your hard work on this.
Thanks, but the sensors and the front camera are going to be a big battle. If we get the stock I757 ICS TouchWiz ROM for this device, then it would probably help in that regard.
 

markdexter

Senior Member
Oct 24, 2010
1,185
304
0
I myself am using it all day today, so far battery life seems OK. Plus I can turn data off. Save more battery while at work! Such a nice rom . Love the UI. Didn't like the look of ics when I first seen it, now I'm using it, best Android version so far!

Sent from my SGH-I757M using xda premium
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Geez, I'm having trouble getting a proper build out for the NFC fix. I had "fixed" it by adding two library files and making the logcat errors go away, but after adding it to the compiled ROM, I think I had messed up the kernel, because now the option for NFC does not appear in the Settings menu. I'm rebuilding from scratch again. That takes a few hours, but I am at work now anyway.

In the meantime, I was getting a lot of errors while flashing this morning, mainly to do with the backuptool.sh that's in the updater-script commands. But it would also exit from random places and the ROM wouldn't get fully flashed. ?? I had to do a nandroid restore and flash the CM9 rom again.

For those who want to help out but are not into downloading the source, here are some things that you can do to hack around with the files -

1) Install the SDK and get adb working (e.g. adb devices, adb logcat)
2) To copy files to the /system partition:

Code:
adb shell mount -o rw,remount /dev/block/mmcblk0p24 /system
adb push <name of file on pc> /system/<path to destination on phone>
e.g.
adb push sensors.default.so /system/lib/hw/


I need help on the front camera and the sensors.

Camera (front and rear?) involves:
/system/lib/liboemcamera.so
/system/lib/hw/camera.msm8660.so

(among others)

Sensors (proximity, ambient light, capacitive touch) involve:
/system/lib/hw/sensors.default.so
(Some ROMs have /system/lib/hw/sensors.msm8660.so)
I think there is also a file called lights.msm8660.so (or similar) that controls the backlight and capacitive lights. I didn't try changing that.


MSM8660 is the SoC (chipset) that Qualcomm uses for this device, commonly used by the other SGS2 LTE variants (not the I9100 which is not LTE) and several HTC devices.

I've tried pushing the sensor and camera files from other devices like the Skyrocket and Hercules, as well as from our GB stock ROM, but no luck.


BTW, use logcat a lot to see what's going on. One way to save to file without copy and pasting the terminal output is:

Code:
adb logcat > logcat.txt
I believe the above works for Mac/Linux and Windows


To see the current kernel configuration (hardware specs that were provisioned) on the device:

Code:
adb pull /proc/config.gz
gunzip config.gz  <--- Linux/Mac only;  use 7zip in Windows to unzip
You will get a file called "config"


EDIT: I was just wondering if someone could try the camera libs from the stock SHV-120L ICS ROM (Asian SGS2 HD)
EDIT2: Or the camera and sensor libs from the Galaxy Note (versions without the middle button)
 
Last edited:

markdexter

Senior Member
Oct 24, 2010
1,185
304
0
My Battery life has been Incredible using CM9, Unplug it from the charger this morning at 5.00am, 10 texts, 6mins of phone calls, ive come home with 78%.

With the stock Gingerbread Rom it was similar usage come home with 55-60%

I did scale down the CPU a little to 1350mhz. Also you can lower the screen brightness even more tan you could with GB.

Ive noticed that after finishing a call the screen is sometimes black, i have to press power to turn the screen back on then press end.
Weird thing is, had the same issue with my Samsung Captivate when the early versions of GB where released over a year ago.
Auto-Screen brightness does work with this Rom too!!
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
My Battery life has been Incredible using CM9, Unplug it from the charger this morning at 5.00am, 10 texts, 6mins of phone calls, ive come home with 78%.

With the stock Gingerbread Rom it was similar usage come home with 55-60%

I did scale down the CPU a little to 1350mhz. Also you can lower the screen brightness even more tan you could with GB.

Ive noticed that after finishing a call the screen is sometimes black, i have to press power to turn the screen back on then press end.
Weird thing is, had the same issue with my Samsung Captivate when the early versions of GB where released over a year ago.
Auto-Screen brightness does work with this Rom too!!
Auto brightness works?? I thought I saw it once adjusting after a reboot but not afterwards.

I'm currently fixing nfc and potentially I have a fix for wifi hotspot.
 
  • Like
Reactions: markdexter

markdexter

Senior Member
Oct 24, 2010
1,185
304
0
Dsixda you may have Broken all Dev records for having the fastest Unofficial Cyanogenmod build working Ever!!!!

This really is a nice Rom though. Did you consider opening a new thread?

We should have our own thread by now!!! We have CWM recovery, Root, Custom Roms, Including ICS before it has officially been released!!;)
 

dsixda

Inactive Recognized Developer
Nov 1, 2007
9,588
5,303
0
Ottawa
Dsixda you may have Broken all Dev records for having the fastest Unofficial Cyanogenmod build working Ever!!!!

This really is a nice Rom though. Did you consider opening a new thread?

We should have our own thread by now!!! We have CWM recovery, Root, Custom Roms, Including ICS before it has officially been released!!;)
Yeah I can open one but the camera/sensor issues are really bugging me. I'm trying to lay off on the work a bit as I've spent too many hours debugging already.
 

jonnyjb

Senior Member
May 8, 2011
260
55
0
Calgary
is there a good wiki on how to build a custom CM9, so that i can look into it and see if i can help with this. i have never done it before but im kinda computer savvy so i would like to help if i can. im searching it but if some one has a great link that would be appreciated and do i use your Kitchen dsixda to work on it?
 

dsixda

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