Jump to content


Photo

[KERNEL] Sub501 Kernel, mods and control apk


  • Please log in to reply
675 replies to this topic

#41
snapilica

snapilica

    Regular

  • Members
  • PipPip
  • 84 posts

Forgive me if this is a noob question, but its right that this is basically a (better) replacement for setcpu (which is not really needed any more after that) ?

Yes you can think of it as a replacement. If it's "better" or not it's your decision. You can even use SetCPU to take advantage of the governors that this script installs, you just use the mod and get rid of the script that switches between governor and use SetCPU to do that. But again, that would mean an app has to monitor your phone and switch between governor and/or throttle the frequency.

I for one don't feel the need for SetCPU anymore, but some might want to use it for even more tweaking (related to battery percentage, etc.)

  • 0
★ Device: HTC Desire S-OFF ☆ Android Version: 2.2 ★ OS: StarBurst Lite 1.2.0 ☆ Build: 2.29.405.5 ★ Kernel: 2.6.32.15-leedroid_2.2f snq ☆ Baseband: 32.49.00.32U_5.11.05.27 ★ HBOOT: 0.93.1 ☆ Others: Data2Ext

#42
zombiefly

zombiefly

    Enthusiast

  • Members
  • PipPipPip
  • 160 posts

Yes you can think of it as a replacement. If it's "better" or not it's your decision. You can even use SetCPU to take advantage of the governors that this script installs, you just use the mod and get rid of the script that switches between governor and use SetCPU to do that. But again, that would mean an app has to monitor your phone and switch between governor and/or throttle the frequency.

I for one don't feel the need for SetCPU anymore, but some might want to use it for even more tweaking (related to battery percentage, etc.)


i've been using the mod with juice defender, which switches off my data between 11.30pm and 6.30am along with intermittently allowing it on a schedule during the day. I'm still testing this combination but so far it appears to be working wonders with the battery life. I guess I could also be using tasker for this as I have that installed also.....

  • 0
---------------------------------------------------------------------
HTC One X
Android ICS
---------------------------------------------------------------------

#43
marcuso

marcuso

    Regular

  • Members
  • PipPip
  • 61 posts
  • Gender:Male
  • Devices:Galaxy Nexus, Motorola Xoom

Yes you can think of it as a replacement. If it's "better" or not it's your decision. You can even use SetCPU to take advantage of the governors that this script installs, you just use the mod and get rid of the script that switches between governor and use SetCPU to do that. But again, that would mean an app has to monitor your phone and switch between governor and/or throttle the frequency.

I for one don't feel the need for SetCPU anymore, but some might want to use it for even more tweaking (related to battery percentage, etc.)


thx ... i think now i got it ;-)

btw: this helped a lot to understand that "governor" stuff ;-)

http://github.com/Cy...q/governors.txt

... I guess i do not need setCPU then because i think having "on-demand" CPU power when awake and lowest when in sleep is just perfect ;-)

  • 0

#44
mr.hachi

mr.hachi

    Newbie

  • Members
  • Pip
  • 10 posts
Thanks for this, nice to have interactive back.

  • 0

#45
Kiran J. Holla

Kiran J. Holla

    Regular

  • Members
  • PipPip
  • 145 posts
  • Gender:Male
  • Location:India
  • Devices:HTC Desire
  • Twitter:@kiranjholla
Thanks for this. Looking at the comments, this really looks like something that can help improve Battery Life.

I currently have MCR R8 installed with Perflock disabled already.

My understanding is that to get this mod working on my Desire, the steps are:

1. Flash the new radio 32.47.00.32_5.10.05.23 available on XDA
2. Flash the RIL from your earlier post
3. Flash the signed_power_update.zip from the first post

That should do it. Am I right?

Regards,
Kiran

  • 0
Kiran J. Holla
Visit me at www.kiranjholla.com

Posted Image

#46
zombiefly

zombiefly

    Enthusiast

  • Members
  • PipPipPip
  • 160 posts

Thanks for this. Looking at the comments, this really looks like something that can help improve Battery Life.

I currently have MCR R8 installed with Perflock disabled already.

My understanding is that to get this mod working on my Desire, the steps are:

1. Flash the new radio 32.47.00.32_5.10.05.23 available on XDA
2. Flash the RIL from your earlier post
3. Flash the signed_power_update.zip from the first post

That should do it. Am I right?

Regards,
Kiran


I believe the RIL is optional.

  • 0
---------------------------------------------------------------------
HTC One X
Android ICS
---------------------------------------------------------------------

#47
snapilica

snapilica

    Regular

  • Members
  • PipPip
  • 84 posts

Thanks for this. Looking at the comments, this really looks like something that can help improve Battery Life.

I currently have MCR R8 installed with Perflock disabled already.

My understanding is that to get this mod working on my Desire, the steps are:

1. Flash the new radio 32.47.00.32_5.10.05.23 available on XDA
2. Flash the RIL from your earlier post
3. Flash the signed_power_update.zip from the first post

That should do it. Am I right?

Regards,
Kiran


1 and 2 go together but you don't need the radio and RIL for battery mod, that's another MOD that is not related to battery.

  • 0
★ Device: HTC Desire S-OFF ☆ Android Version: 2.2 ★ OS: StarBurst Lite 1.2.0 ☆ Build: 2.29.405.5 ★ Kernel: 2.6.32.15-leedroid_2.2f snq ☆ Baseband: 32.49.00.32U_5.11.05.27 ★ HBOOT: 0.93.1 ☆ Others: Data2Ext

#48
zombiefly

zombiefly

    Enthusiast

  • Members
  • PipPipPip
  • 160 posts

1 and 2 go together but you don't need the radio and RIL for battery mod, that's another MOD that is not related to battery.


i'm pretty sure when this mod was posted in the r8 thread, it said the radio was essential for the mod to work! :P

  • 0
---------------------------------------------------------------------
HTC One X
Android ICS
---------------------------------------------------------------------

#49
snapilica

snapilica

    Regular

  • Members
  • PipPip
  • 84 posts

i'm pretty sure when this mod was posted in the r8 thread, it said the radio was essential for the mod to work! :P


Nope, it's 2 different mods (that's why they are on two posts separate (the third one being reserved for CIFS i belive)). Radio was essential for the RIL mod to work. RIL has nothing to do with the battery saving mods.

For the battery saving mods you need signed_power_update (with signed_perflock_update depending on the case) or custom_zip if you wish to bake and not flash.
For the RIL mod you need the specific radio.

Edited by snapilica, 03 September 2010 - 07:13 PM.

  • 0
★ Device: HTC Desire S-OFF ☆ Android Version: 2.2 ★ OS: StarBurst Lite 1.2.0 ☆ Build: 2.29.405.5 ★ Kernel: 2.6.32.15-leedroid_2.2f snq ☆ Baseband: 32.49.00.32U_5.11.05.27 ★ HBOOT: 0.93.1 ☆ Others: Data2Ext

#50
zombiefly

zombiefly

    Enthusiast

  • Members
  • PipPipPip
  • 160 posts

Nope, it's 2 different mods (that's why they are on two posts separate (the third one being reserved for CIFS i belive)). Radio was essential for the RIL mod to work. RIL has nothing to do with the battery saving mods.

For the battery saving mods you need signed_power_update (with signed_perflock_update depending on the case) or custom_zip if you wish to bake and not flash.
For the RIL mod you need the specific radio.


aha. i was in work earlier and didnt really read the posts, i've re-read now and i understand :P

  • 0
---------------------------------------------------------------------
HTC One X
Android ICS
---------------------------------------------------------------------

#51
woti17

woti17

    Diehard

  • Members
  • PipPipPipPip
  • 335 posts
  • Devices:htc desire
wouldn't it be great to have an uninstall.zip for the RIL flash, just in case someone would switch
to an other radio version and doesn't want to do a full wipe?

  • 0

#52
Shakaw

Shakaw

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Desire
Is it possible to install the governors without the scaling script to be able to use them in setCpu?

  • 0

#53
Sub501

Sub501

    Enthusiast

  • Members
  • PipPipPip
  • 295 posts
  • Devices:HTC Desire

Is it possible to install the governors without the scaling script to be able to use them in setCpu?

It will be possible but not now as I'm roaming ... A quick hack is to install the power update then use root explorer to delete 98* scripts from /system/etc/init.d . Take care i can not check right now if setcpu can detect and load new governors. It is better to delete 98mod01... only - this way new governors are loaded during init

Edited by Sub501, 03 September 2010 - 11:06 PM.

  • 0

#54
Nemesii

Nemesii

    Newbie

  • Members
  • Pip
  • 10 posts
  • Devices:HTC Desire
I'm sorry if this is a stupid question, but what exactly does the RIL do? I understand I should only install it if I have the 32.47 etc radio but I'm not really clear on its purpose.

  • 0

#55
snapilica

snapilica

    Regular

  • Members
  • PipPip
  • 84 posts

I'm sorry if this is a stupid question, but what exactly does the RIL do? I understand I should only install it if I have the 32.47 etc radio but I'm not really clear on its purpose.

You can read post #14 of this thread.

Anyway as a sidenote, 24h since last unplugged and my battery is at 75%, which is amazing.

Edited by snapilica, 04 September 2010 - 08:13 AM.

  • 0
★ Device: HTC Desire S-OFF ☆ Android Version: 2.2 ★ OS: StarBurst Lite 1.2.0 ☆ Build: 2.29.405.5 ★ Kernel: 2.6.32.15-leedroid_2.2f snq ☆ Baseband: 32.49.00.32U_5.11.05.27 ★ HBOOT: 0.93.1 ☆ Others: Data2Ext

#56
Kiran J. Holla

Kiran J. Holla

    Regular

  • Members
  • PipPip
  • 145 posts
  • Gender:Male
  • Location:India
  • Devices:HTC Desire
  • Twitter:@kiranjholla

Nope, it's 2 different mods (that's why they are on two posts separate (the third one being reserved for CIFS i belive)). Radio was essential for the RIL mod to work. RIL has nothing to do with the battery saving mods.

For the battery saving mods you need signed_power_update (with signed_perflock_update depending on the case) or custom_zip if you wish to bake and not flash.
For the RIL mod you need the specific radio.


Thanks for the clarification and apologies for the noob question that follows.

But, what exactly does an RIL Mod do? Why is it required? What happens if I flash just the radio and not the RIL?

Regards,
Kiran

  • 0
Kiran J. Holla
Visit me at www.kiranjholla.com

Posted Image

#57
CaspaTheGhost

CaspaTheGhost

    Enthusiast

  • Members
  • PipPipPip
  • 153 posts
  • Gender:Male
  • Location:West London
  • Devices:Galaxy Nexus
  • Twitter:@Caspa_TheGhost

Hello everybody,

Just let me know how is your battery life after installing those mods.

Cheers


Hey mate, installed both to the custom R8 ROM I've been running for a while (perflock disabled and new radio)... Checked using aLogcat and is working so have uninstalled Setcpu...

Phone is currently on 72%, that's after coming off the charger at 91% 3hrs 20 ago...

WiFi always on, connected for 30 mins at home, had 10mins of calls, exchange and gmail on push, 15mins browsing via 3G/H including posting this!

I'll see how it goes...

Also have autokiller installed and running, but no other power/task manager/battery type programs...

  • 0

#58
snapilica

snapilica

    Regular

  • Members
  • PipPip
  • 84 posts

Thanks for the clarification and apologies for the noob question that follows.

But, what exactly does an RIL Mod do? Why is it required? What happens if I flash just the radio and not the RIL?

Regards,
Kiran


Again read my short explanation in post #14. RIL is sort of like the "driver" for the radio that's being used by the OS.

Each ROM has it own RIL drivers associated with the radio that the ROM shipped with. Usually when you use a new radio it's a good idea to use the RIL from it too as it may improve the performance of that radio. You didn't need a RIL up until now because you used radios that were shipped with the official 2.09 ROM, but this latest radio is from 2.14 (i think) CHT (or HK i dunno exactly) ROM. So what the OP did is based on the files from this post and made a diff to add the ones that needed to be for MCR ROM (as the one from the XDA post is for OpenDesire).

You don't NEED to use the RILs for the new radio to work as the existing RIL driver can communicate with the radio just fine, but some say that using the updated RIL improves GPS lock time or improves 720p camera. It's all subjective and only you can be the judge if it improves something or not. So far with this RIL mod nobody complained about any bugs so it's safe to try it (with the XDA mod for OpenDesire though people were complaining the phone lost signal after a few minutes of booting up, this does not happen with this the MCR mod).

  • 0
★ Device: HTC Desire S-OFF ☆ Android Version: 2.2 ★ OS: StarBurst Lite 1.2.0 ☆ Build: 2.29.405.5 ★ Kernel: 2.6.32.15-leedroid_2.2f snq ☆ Baseband: 32.49.00.32U_5.11.05.27 ★ HBOOT: 0.93.1 ☆ Others: Data2Ext

#59
Shakaw

Shakaw

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Desire

It will be possible but not now as I'm roaming ... A quick hack is to install the power update then use root explorer to delete 98* scripts from /system/etc/init.d . Take care i can not check right now if setcpu can detect and load new governors. It is better to delete 98mod01... only - this way new governors are loaded during init


I've deleted the 98mod01, but looks like I need to keep the other script cause setCPU wont detect the governors without it.

  • 0

#60
efx_9

efx_9

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:HTC Desire
Hi.
Is there anyway to MOD ambient light sensor like Cyanogen 6 do, to use full scale?
I think is there some info in their Repository (http://github.com/CyanogenMod) like source code or something.
Tks

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users