[ROM][CM10.2][RECOVERY][KERNEL][DEV][SGH-I757M]UNOFFICIAL CM10.2 For Bell SGH-I757M

formercontra

Senior Member
Aug 26, 2013
133
128
0
Hard to tell thus far, my Saturday night routine is usually very tough on the battery but it seemed to do pretty well.... it jumps to deep sleep a lot more than any other ROM I've used.

Once I've set up the brightness levels and the new expanded governor settings, I'm very optimistic about this phone's charge. Like I said though, it'll be another few days until it settles.
 

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
Great work TF!! never thought I'd see 4.3 on this device!!! Awesome job!!! ;)

Battery problems? No matter the rom or android version.... >>>> http://forum.xda-developers.com/showthread.php?t=2461864
This is excellent, especially the part about rebooting after unplugging the charger. I can't remember the specifics, but it had to do with the charging cord and the source such as the wall or computer. One of the combinations caused a vbus_present wake lock which never terminated until you reboot. That is what rebooting after charging is supposed to fix. I can see the proof with gsam ;)

Thanks for that!

Sent from my SGH-I757M using XDA Premium 4 mobile app
 
D

Darth

Guest
This is excellent, especially the part about rebooting after unplugging the charger. I can't remember the specifics, but it had to do with the charging cord and the source such as the wall or computer. One of the combinations caused a vbus_present wake lock which never terminated until you reboot. That is what rebooting after charging is supposed to fix. I can see the proof with gsam ;)

Thanks for that!

Sent from my SGH-I757M using XDA Premium 4 mobile app
LOL. That's my signature. Unbelievable how many posts in the t989 section with people just saying their battery dies too fast.....and they have no idea why. I made a thread.....but it disappears down the list. So I linked it in my signature. Its easy to track down battery issues with the right tools.....and fix them, or report to the dev if its rom related. Also, people are always comparing battery life and picking roms there based on others advice. And comparing battery life is practically useless. LOL


Yeah, I charge with about 3 different cables and wall plugs....and I don't think any are my original .....so rebooting is a good idea. Also can stop the dreaded media process draining issue.....sometimes.

And greenify is really cool too! ;)

Battery problems? No matter the rom or android version.... >>>> http://forum.xda-developers.com/showthread.php?t=2461864
 

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
I have two cameras, two galleries, two calendars.

Sent from my SGH-I757M using xda app-developers app
If you look in /system/app, do you see Gallery2.apk and GalleryGoogle.apk?

I have had similar weird things happen where it seems like my wiping/formatting didn't fully complete and left old versions of system apps. I haven't noticed it with calendar though, just the camera and Gallery I suppose because they are one in the same app.

Sent from my SGH-I757M using XDA Premium 4 mobile app
 

RukusX7

Senior Member
Jan 11, 2011
1,470
1,152
0
Red Deer
If you look in /system/app, do you see Gallery2.apk and GalleryGoogle.apk?

I have had similar weird things happen where it seems like my wiping/formatting didn't fully complete and left old versions of system apps. I haven't noticed it with calendar though, just the camera and Gallery I suppose because they are one in the same app.

Sent from my SGH-I757M using XDA Premium 4 mobile app
I'll look into it when I get home from work in a few days. Otherwise this ROM is super amazing!

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

FuryriderX

Senior Member
Aug 11, 2010
415
232
43
Stoney Creek, ON
If you look in /system/app, do you see Gallery2.apk and GalleryGoogle.apk?

I have had similar weird things happen where it seems like my wiping/formatting didn't fully complete and left old versions of system apps. I haven't noticed it with calendar though, just the camera and Gallery I suppose because they are one in the same app.

Sent from my SGH-I757M using XDA Premium 4 mobile app
I had 2 calendars too. Just uninstalled one with titanium backup haha. Going to try the sensor fix. Thank you!

Sent from my SGH-I757M using XDA Premium 4 mobile app
 

RukusX7

Senior Member
Jan 11, 2011
1,470
1,152
0
Red Deer
OK. Forget my tip on enabling kernel samepage merging to fix the lock screen.

I am currently testing an old tweak I had for Dadoes ROM. I've forced GPU rendering.

Comment out the first line in /system/lib/egl/egl.cfg using the # symbol

#0 0 android
0 1 adreno200

In same folder rename libGLES_android.so to libGLES_android.so.bak

Now edit build.prop

Change debug.composition.type=dyn to
debug.composition.type=gpu

dev.pm.dyn_samplingrate=1 to
dev.pm.gpu_samplingrate=1

Reboot a couple times.

Report back if it works. This might fix the notifications drawer issue too. I had the freeze up as well. The only reason I could see is back to the glitch Titanic_fanatic mentioned about the phone deciding between using CPU or GPU to draw the screen. So I made the decision for the phone.

Also in developer options change your animations to off or .5 to speed things up some. Seems to help with going from screen off to lock screen.

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

---------- Post added at 10:05 PM ---------- Previous post was at 09:36 PM ----------

So far its working for me. :)

Sent from my SGH-I757M using xda app-developers app
 
Last edited:

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
OK. Forget my tip on enabling kernel samepage merging to fix the lock screen.

I am currently testing an old tweak I had for Dadoes ROM. I've forced GPU rendering.

Comment out the first line in /system/lib/egl/egl.cfg using the # symbol

#0 0 android
0 1 adreno200

In same folder rename libGLES_android.so to libGLES_android.so.bak

Now edit build.prop

Change debug.composition.type=dyn to
debug.composition.type=gpu

dev.pm.dyn_samplingrate=1 to
dev.pm.gpu_samplingrate=1

Reboot a couple times.

Report back if it works. This might fix the notifications drawer issue too. I had the freeze up as well. The only reason I could see is back to the glitch Titanic_fanatic mentioned about the phone deciding between using CPU or GPU to draw the screen. So I made the decision for the phone.

Also in developer options change your animations to off or .5 to speed things up some. Seems to help with going from screen off to lock screen.

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

---------- Post added at 10:05 PM ---------- Previous post was at 09:36 PM ----------

So far its working for me. :)

Sent from my SGH-I757M using xda app-developers app
Me too so far. I just sat here for 5 mins turning the screen on and off, and I can't get it to go black... fingers crossed ;)

Sent from my SGH-I757M using XDA Premium 4 mobile app
 

RukusX7

Senior Member
Jan 11, 2011
1,470
1,152
0
Red Deer
If you let it sleep, it still goes black. But comes on second click. Could try both this and kernel samepage merging together? Do you think its a ram thing?

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

FuryriderX

Senior Member
Aug 11, 2010
415
232
43
Stoney Creek, ON
The notification drawer has frozen like this twice. Everything still works, but the status bar only unfreezes after reboot. The second time, all the icons were gone and only the frozen bar and the wallpaper were visible.
I had this happen once too. Going to try the fix mentioned. Proximity and rotation work great now after downloading and inserting that .so file!

Sent from my SGH-I757M using XDA Premium 4 mobile app
 

FuryriderX

Senior Member
Aug 11, 2010
415
232
43
Stoney Creek, ON
Okay. So i reverted all my changes to stock. Then instead of changing the following line in build.prop to GPU, I used mdp.

debug.composition.type=MDP

Lock screen works a lot better. I also enabled zram for 18%.



Sent from my SGH-I757M using xda app-developers app
So, you uncommented that line in egl.cfg, renamed the .bak file to .so, set dyn.samplingrate.GPU back to dyn.samplingrate.egl (?) and changed only debug.composition.type to MDP?

Sent from my SGH-I757M using XDA Premium 4 mobile app
 

RukusX7

Senior Member
Jan 11, 2011
1,470
1,152
0
Red Deer
So, you uncommented that line in egl.cfg, renamed the .bak file to .so, set dyn.samplingrate.GPU back to dyn.samplingrate.egl (?) and changed only debug.composition.type to MDP?

Sent from my SGH-I757M using XDA Premium 4 mobile app
Don't over complicate this. Lol if you made any changes revert to what it was before you changed it.

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

RukusX7

Senior Member
Jan 11, 2011
1,470
1,152
0
Red Deer
The graphics performance is amazing! I also hit 10916 in antutu! Amazing!

The only annoyance for me is the lock screen still blanks once and a while. Comes back after only one click of button tho! Battery life should be better tho....

Sent from my SGH-I757M using xda app-developers app
 
  • Like
Reactions: titanic_fanatic

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
The graphics performance is amazing! I also hit 10916 in antutu! Amazing!

The only annoyance for me is the lock screen still blanks once and a while. Comes back after only one click of button tho! Battery life should be better tho....

Sent from my SGH-I757M using xda app-developers app
Yeah, and init.d actually works I just discovered. My 91fixoverlays is getting some reworking though since when it runs, SurfaceFinger is not running and consequently it fails. I'm writing a loop to check for the SurfaceFlinger, and when it finds it, it will run the command to disable HW Overlays and exit. The universal init.d app reports our kernel as not supporting it since it cannot write the test file to the sdcard on boot. Alas, we have a working init.d ;)

I'll upload the new 91fixoverlays script after I get it working just right ;)

Sent from my SGH-I757M using XDA Premium 4 mobile app

EDIT:

I should also mention that at the top of my list for fixing is adding bln control from the settings menu, black lockscreen and stuck notification drawer. These are most annoying to me and hope I can fix them soon. Not sure where to look yet though. Will keep digging like I always do.
 
Last edited: