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

Zippy Dufus

Senior Member
Feb 12, 2011
470
177
73
Battery life not good; Talkatone not working

Hello,

Attached are two screenshots showing the battery life for future reference:
  1. with wifi turned on (and that pesky red border visible)
  2. airplane mode - this is the one where it completely powered down

They both seem to drain in about the same time. I am using the ROM without any of the subsequent tweaks and no user activity.

I have now changed my CPU governor from Interactive to On Demand and will repeat the test. Normally, I run all my devices in On Demand mode. I'm not sure that it is going into deep sleep and will be watching for this.

--//--

The phone that I am trying this ROM on has no SMS card. So I installed Talkatone to see if I could make an Internet call. This didn't work well. The input in the phone keyboard on the screen was incredibly laggy and essentially unusable. When managed to put in a complete phone number it could not make the call. Methinks that there is a lot of tweaking and configuration to be done. :(

Great job so far!

Cheers.

--//--

Edit - corrected to "On Demand" ... sorry.
 
Last edited:
  • Like
Reactions: titanic_fanatic

formercontra

Senior Member
Aug 26, 2013
133
128
0
About an hour ago I try to open Trickster Mod, and up pops the 'This app requires root access', and now none of my root apps are working. I rebooted, cleared the cache, it's still behaving as if the phone wasn't rooted.
 
D

Darth

Guest
About an hour ago I try to open Trickster Mod, and up pops the 'This app requires root access', and now none of my root apps are working. I rebooted, cleared the cache, it's still behaving as if the phone wasn't rooted.
I think there's an option somewhere to enable root.....i just forget where. Dev options or security maybe??

______________________________

Sent from my cellular telephone. Battery problems? >>>> http://forum.xda-developers.com/showthread.php?t=2461864
 

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
About an hour ago I try to open Trickster Mod, and up pops the 'This app requires root access', and now none of my root apps are working. I rebooted, cleared the cache, it's still behaving as if the phone wasn't rooted.
Are you using the built in or SuperSu? Can you su in the terminal emulator?

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

RukusX7

Senior Member
Jan 11, 2011
1,470
1,152
0
Red Deer
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.
I have no overlay issues when playing videos. I have debug.composition.type=mdp set in build.prop



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

RukusX7

Senior Member
Jan 11, 2011
1,470
1,152
0
Red Deer
This was surprisingly the case out of the box ;)

Sent from my SGH-I757M using XDA Premium 4 mobile app
Seems that setting to MDP rather that dyn also fixes any glitch issues other than lock screen going blank first push of button from deep sleep

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

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
Seems that setting to MDP rather that dyn also fixes any glitch issues other than lock screen going blank first push of button from deep sleep

Sent from my SGH-I757M using xda app-developers app
Do you have your overlays turned off with MDP? Do you no longer see flickering with those settings?

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

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
Hello,

Attached are two screenshots showing the battery life for future reference:
  1. with wifi turned on (and that pesky red border visible)
  2. airplane mode - this is the one where it completely powered down

They both seem to drain in about the same time. I am using the ROM without any of the subsequent tweaks and no user activity.

I have now changed my CPU governor from Interactive to Performance and will repeat the test. Normally, I run all my devices in Performance mode. I'm not sure that it is going into deep sleep and will be watching for this.

--//--

The phone that I am trying this ROM on has no SMS card. So I installed Talkatone to see if I could make an Internet call. This didn't work well. The input in the phone keyboard on the screen was incredibly laggy and essentially unusable. When managed to put in a complete phone number it could not make the call. Methinks that there is a lot of tweaking and configuration to be done. :(

Great job so far!

Cheers.
Thanks for the shots, my battery has unfortunately not been very good, although I'm seeing a weird wakelock called qcril_fd. It has to do with the radio, and fd means fast dormancy. I don't know if bell supports that, and I don't know if this phone does either. I also can't find the nwk....db (can't remember the whole filename right now) which is the db file where one would supposedly turn off fast dormancy.

In regards to the flickering red border, you did see my post about changing the build type to user instead of eng in the build.prop right? If your just testing, sorry for pointing it out again ;)

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

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
Okay, trying to install the SU binary by clicking the CWM choice did not work, but flashing the SuperSu zip in CWM did. Root apps are now working!
Thanks for letting us know. I used the cwm method when it asked and that worked for me, I'm curious why it didn't work for you. Did it reboot you into cwm? Did cwm give you an error message?

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

formercontra

Senior Member
Aug 26, 2013
133
128
0
Clicking the TWRP/CWM option led to the "SuperSu will now try and boot into recovery, if it doesn't work boot to recovery manually". Clicking OK would just close that message, and going into CWM manually didn't give me anything to flash, or at least I didn't know where the file was stored. So I just found the apk online and flashed that.
 
  • Like
Reactions: titanic_fanatic

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
Clicking the TWRP/CWM option led to the "SuperSu will now try and boot into recovery, if it doesn't work boot to recovery manually". Clicking OK would just close that message, and going into CWM manually didn't give me anything to flash, or at least I didn't know where the file was stored. So I just found the apk online and flashed that.
Wicked, I'll post that and give you a mention on the OP ;)

Sent from my SGH-I757M using XDA Premium 4 mobile app
 
  • Like
Reactions: formercontra

titanic_fanatic

Senior Member
Sep 21, 2012
2,070
1,946
0
35
Calgary
Alright guys, there is no longer a need for the universal init.d app or Rescan media ;) I have two scripts here that will run on boot, one you know as the 91fixoverlays script, it's new partner in crime is the 92disablemediascanner script. If you haven't guessed from the name, it disables your media scanner on boot.

Just rename each file and remove the .txt then cut/copy them to /system/etc/init.d and give each file the same permissions as the other ones that were already there.

After that, you can uninstall universal init.d (one less app to start now) and reboot the phone. The scripts will now run at boot and disable the HW Overlays and the Media Scanner as soon as they are initialized.

EDIT:
Also note that the 91fixoverlays script has changed and you will need to replace the one you have if you've already downloaded it from my earlier post.
 

Attachments

Last edited:

FuryriderX

Senior Member
Aug 11, 2010
415
232
43
Stoney Creek, ON
Maybe you've noticed this too, but if you get the black screen, you can still unlock the phone by swiping where the lock icon would be. Screen doesn't come on though after unlock.

So the phone is coming on, just the screen isn't.

Sent from my SGH-I757M using XDA Premium 4 mobile app
 
  • Like
Reactions: titanic_fanatic

Zippy Dufus

Senior Member
Feb 12, 2011
470
177
73
Thanks for the shots, my battery has unfortunately not been very good, although I'm seeing a weird wakelock called qcril_fd. It has to do with the radio, and fd means fast dormancy. I don't know if bell supports that, and I don't know if this phone does either. I also can't find the nwk....db (can't remember the whole filename right now) which is the db file where one would supposedly turn off fast dormancy.

In regards to the flickering red border, you did see my post about changing the build type to user instead of eng in the build.prop right? If your just testing, sorry for pointing it out again ;)

Sent from my SGH-I757M using XDA Premium 4 mobile app
I corrected my previous post. I meant to say ONDEMAND instead of PERFORMANCE. Sorry.

The device is charged up now and will let it sit. When it is almost drained I'll capture the battery stats. CPUSpy is now installed and I'm interested to see if it goes into deep sleep.
 
  • Like
Reactions: titanic_fanatic