Go Back   Android Forums > Android Phones > ZTE Force 4g LTE > Force 4g LTE - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By sonicbluemustang

test: Reply
 
LinkBack Thread Tools
Old July 22nd, 2013, 08:42 AM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default I finally get the performance I want!

I always knew this phone had some pretty good hardware, I always wondered why it felt so sluggish though. I feel like the second core is off most of the time though. I used kernel tuner and changed the scheduler to deadline and turned cpu1 on, I left the governor as is. You guys might wanna try it. Swype for me is now lag free, and opening up gallery is buttery now. I can't wait for this custom kernel to be released and see what this phone can really do!
^ original post ^

setting cpu1 on and changing scheduler
Remember, you need to be rooted!

Quote:
As rhino889a and Sepero mentioned the goal is turn on CPU1 by this command echo 1 > /sys/devices/system/cpu/cpu1/online and apply it on boot.

2. Locate init.qcom.post_boot.sh in /system/etc folder with your root browser (I used Rom Tool Box)

3. Create a backup file of this (i.e. init.qcom.post_boot.bak)

4. Now Modify the original init.qcom.post_boot.sh file

5. Our Board is msm8960. Find msm8960 related code block.

case "$target" in
"msm8960")
...
...
;;
esac

6. At the end of case block you see below.

chmod 220 /sys/devices/system/cpu/mfreq
chown root.system /sys/devices/system/cpu/cpu1/online
chmod 664 /sys/devices/system/cpu/cpu1/online

7. Add echo 1 line. Change chmod 664 to 444

chmod 220 /sys/devices/system/cpu/mfreq
chown root.system /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu1/online
chmod 444 /sys/devices/system/cpu/cpu1/online

8. Save the file. Make sure your change is applied.

9. Restart the phone.

10. After restart, check if CPU1 is online. You can use app or open up /sys/devices/system/cpu/cpu1/online and see if its value is 1

11. If you don't like this feature, remove modified lines (remove echo 1 line. Change chmod 444 to 664) or delete .sh file and rename .bak file to .sh. Make sure restart the phone.
As for setting the scheduler, I made an init.d script with these two lines:

[HIGH]echo "scheduler-name" > /sys/block/mmcblk0/queue/scheduler;
echo "scheduler-name" > /sys/block/mmcblk1/queue/scheduler;[/HIGH]

This sets the scheduler both for internal memory and the sdcard. As for which scheduler you should use, refer to this post: http://forum.xda-developers.com/showpost.php?p=23616564&postcount=4
:I went with deadline, but it's all personal preference.

References/sources:
http://forum.xda-developers.com/showpost.php?p=23616564&postcount=4
(Guide) Unleash the Dual Core!! (Enable CPU1)

I've added copies of my own files for those of you who just want to "drag and drop"
Attached Files
File Type: zip speedfix.zip (2.4 KB, 16 views)

donjuro is offline  
Last edited by donjuro; July 24th, 2013 at 06:08 PM.
Reply With Quote
sponsored links
Old July 22nd, 2013, 11:17 AM   #2 (permalink)
Member
 
crunchyymango's Avatar
 
Join Date: Jul 2013
Location: Georgia
Gender: Male
Posts: 188
 
Device(s): Zte Force 4g LTE [Rooted]
Carrier: Boost Mobile

Thanks: 107
Thanked 25 Times in 21 Posts
Default

Where is the scheduler option?
crunchyymango is online now  
Reply With Quote
Old July 22nd, 2013, 11:43 AM   #3 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default

Misc.
Not sure about this but it could be possible cpu1 could still be turned off by other apps. If possible, hopefully the kernel being built well keep it on at all times. I have Rom toolbox pro, so I just use the cpu tools in there. I don't like having to many of the same apps, or even apps that perform the tweaks for me, I feel it slows my phone down, that's why I'm so excited for this new kernel and the development happening.
donjuro is offline  
Reply With Quote
Old July 22nd, 2013, 01:55 PM   #4 (permalink)
Member
 
Join Date: Aug 2011
Posts: 101
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 4 Times in 4 Posts
Default

There's an option under settings in the top right of the app to prevent other apps from disabling cpu1.
andrew.johnson is offline  
Reply With Quote
Old July 22nd, 2013, 01:56 PM   #5 (permalink)
Member
 
Join Date: Aug 2011
Posts: 101
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 4 Times in 4 Posts
Default

Might wanna add the fact that you need to be rooted to use the app as well.
andrew.johnson is offline  
Reply With Quote
Old July 22nd, 2013, 04:59 PM   #6 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default

No, I know. I'm not gonna keep any apps yet. I wanna see how this kernel turns out first. Otherwise using apps to do your work would be a waste of resources.
donjuro is offline  
Reply With Quote
Old July 22nd, 2013, 10:28 PM   #7 (permalink)
Member
 
crunchyymango's Avatar
 
Join Date: Jul 2013
Location: Georgia
Gender: Male
Posts: 188
 
Device(s): Zte Force 4g LTE [Rooted]
Carrier: Boost Mobile

Thanks: 107
Thanked 25 Times in 21 Posts
Default

Donjuro. Where is the deadline option mentioned above?
crunchyymango is online now  
Reply With Quote
Old July 23rd, 2013, 02:17 AM   #8 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default

If you're using kernel tuner, it's a scheduler under misc.
donjuro is offline  
Reply With Quote
Old July 23rd, 2013, 04:11 AM   #9 (permalink)
Member
 
AMOCO's Avatar
 
Join Date: Mar 2012
Posts: 327
 
Device(s): ZTE Force 4g LTE ICS 4.04 1.5MHz Dual Core(Snapdragon) CPU Rooted
Carrier: Boost Mobile

Thanks: 24
Thanked 63 Times in 54 Posts
Default

I installed Kernel Tuner & Enabled CPU1,
This how they should run all the time,Like your CPU in your computer.
I was wondering why the phone was a little sluggish.With a 1.5GHz Dual Core CPU in it.
I to hope this can be fixed with a new kernel,And I understand that a lot if not all apps only use one core most of the time.


Sent from my N9100
AMOCO is offline  
Reply With Quote
Old July 23rd, 2013, 02:59 PM   #10 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default

So you agree too that this phone runs better and should have the second core enabled at all times?
donjuro is offline  
Reply With Quote
sponsored links
Old July 23rd, 2013, 06:46 PM   #11 (permalink)
Member
 
Join Date: Aug 2011
Posts: 101
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 4 Times in 4 Posts
Default

Prettu much all dual core phones with 4.0 and above have that power saving feature enabled. The only drawback I see from enabling both would be more battery drain.
andrew.johnson is offline  
Reply With Quote
Old July 23rd, 2013, 07:03 PM   #12 (permalink)
Member
 
sonicbluemustang's Avatar
 
Join Date: Dec 2010
Location: Tallahassee
Gender: Male
Posts: 397
 
Device(s): ZTE Force Samsung Galaxy S4 (the wifes)
Carrier: Not Provided

Thanks: 5
Thanked 74 Times in 64 Posts
Default

I really don't see enough slow down on this phone to need any modification to it. I am very carefule about what I install on it as for apps. No crapola for sure.
sonicbluemustang is offline  
Reply With Quote
Old July 23rd, 2013, 09:02 PM   #13 (permalink)
Member
 
AMOCO's Avatar
 
Join Date: Mar 2012
Posts: 327
 
Device(s): ZTE Force 4g LTE ICS 4.04 1.5MHz Dual Core(Snapdragon) CPU Rooted
Carrier: Boost Mobile

Thanks: 24
Thanked 63 Times in 54 Posts
Default

Quote:
Originally Posted by donjuro View Post
So you agree too that this phone runs better and should have the second core enabled at all times?
Agreed.

Sent from my N9100
AMOCO is offline  
Reply With Quote
Old July 23rd, 2013, 09:03 PM   #14 (permalink)
Member
 
AMOCO's Avatar
 
Join Date: Mar 2012
Posts: 327
 
Device(s): ZTE Force 4g LTE ICS 4.04 1.5MHz Dual Core(Snapdragon) CPU Rooted
Carrier: Boost Mobile

Thanks: 24
Thanked 63 Times in 54 Posts
Default

Quote:
Originally Posted by andrew.johnson View Post
Prettu much all dual core phones with 4.0 and above have that power saving feature enabled. The only drawback I see from enabling both would be more battery drain.
I agree with this too.

Sent from my N9100
AMOCO is offline  
Reply With Quote
Old July 23rd, 2013, 11:25 PM   #15 (permalink)
Member
 
crunchyymango's Avatar
 
Join Date: Jul 2013
Location: Georgia
Gender: Male
Posts: 188
 
Device(s): Zte Force 4g LTE [Rooted]
Carrier: Boost Mobile

Thanks: 107
Thanked 25 Times in 21 Posts
Default

Quote:
Originally Posted by sonicbluemustang View Post
I really don't see enough slow down on this phone to need any modification to it. I am very carefule about what I install on it as for apps. No crapola for sure.
Do you play any high end games on it?
crunchyymango is online now  
Reply With Quote
Old July 24th, 2013, 12:10 AM   #16 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default

I think lag is even on the simplest games. I see lag in con dozer too, but once I enabled the second core, it was all butter. I don't see the problem with leaving the second core enabled, I don't think the the cores being disabled is the same across all phones, I think what may be the same on many, but not all, is the governor. I'd leave mines to ondemand2 to still save power, but I'd like to have both cores enabled at all time, this phone already has a long battery life, I just want the performance.
donjuro is offline  
Reply With Quote
Old July 24th, 2013, 12:19 AM   #17 (permalink)
Member
 
AMOCO's Avatar
 
Join Date: Mar 2012
Posts: 327
 
Device(s): ZTE Force 4g LTE ICS 4.04 1.5MHz Dual Core(Snapdragon) CPU Rooted
Carrier: Boost Mobile

Thanks: 24
Thanked 63 Times in 54 Posts
Default

Quote:
Originally Posted by donjuro View Post
I think lag is even on the simplest games. I see lag in con dozer too, but once I enabled the second core, it was all butter. I don't see the problem with leaving the second core enabled, I don't think the the cores being disabled is the same across all phones, I think what may be the same on many, but not all, is the governor. I'd leave mines to ondemand2 to still save power, but I'd like to have both cores enabled at all time, this phone already has a long battery life, I just want the performance.
Agreed,Like I said in an earlier post.
Both cores should be enabled,Like computer CPU's.
Like donjuro said,The only reason it's disabled is to conserve power and prolong battery life.

Sent from my N9100
AMOCO is offline  
Reply With Quote
Old July 24th, 2013, 12:44 AM   #18 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default

But would it make too much of a difference in battery performance if both cores are enabled? Like I said, I would leave the governor to ondemand2 to save battery, I wouldn't be using the cpu at full tilt, only what I need when I need it. What I really wonder is if it uses more power to constantly turn the second core on and off, and if it would be saving more power to just leave it in at all times. Besides, what's the point of having a dual core phone if you only use it like it's a single core phone?
donjuro is offline  
Reply With Quote
Old July 24th, 2013, 01:18 AM   #19 (permalink)
Member
 
AMOCO's Avatar
 
Join Date: Mar 2012
Posts: 327
 
Device(s): ZTE Force 4g LTE ICS 4.04 1.5MHz Dual Core(Snapdragon) CPU Rooted
Carrier: Boost Mobile

Thanks: 24
Thanked 63 Times in 54 Posts
Default

Quote:
Originally Posted by donjuro View Post
But would it make too much of a difference in battery performance if both cores are enabled? Like I said, I would leave the governor to ondemand2 to save battery, I wouldn't be using the cpu at full tilt, only what I need when I need it. What I really wonder is if it uses more power to constantly turn the second core on and off, and if it would be saving more power to just leave it in at all times. Besides, what's the point of having a dual core phone if you only use it like it's a single core phone?
No,Shouldn't.
Because the cores split the work load,Instead of the one core doing all the work load

Sent from my N9100
AMOCO is offline  
Last edited by AMOCO; July 24th, 2013 at 01:21 AM.
Reply With Quote
Old July 24th, 2013, 04:01 PM   #20 (permalink)
Member
 
sonicbluemustang's Avatar
 
Join Date: Dec 2010
Location: Tallahassee
Gender: Male
Posts: 397
 
Device(s): ZTE Force Samsung Galaxy S4 (the wifes)
Carrier: Not Provided

Thanks: 5
Thanked 74 Times in 64 Posts
Default

Quote:
Originally Posted by crunchyymango View Post
Do you play any high end games on it?
yes I play only a couple of games like Iron man 3, Solar Warfare those two are my favs. But the difference may be that I have removed most of the apps that want to run in the background like most of the Google apps and there is several, Browser, mms, Sprint stuff everything I don't use or need. I did a wipe once after they were gone and let me tell u it was a different phone. Kinda like running Slim Rom.
crunchyymango likes this.
sonicbluemustang is offline  
Reply With Quote
sponsored links
Old July 24th, 2013, 06:01 PM   #21 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default

Updated original post
donjuro is offline  
Reply With Quote
Old July 29th, 2013, 09:53 PM   #22 (permalink)
not really so scary
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 16,608
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 30,591
Thanked 14,075 Times in 6,874 Posts
Default

Interesting thread, guys!

BTW, I've moved your thread over to the all-things-root area for you.

Cheers!
scary alien is online now  
Reply With Quote
Old August 6th, 2013, 02:19 PM   #23 (permalink)
Member
 
redjama's Avatar
 
Join Date: Mar 2013
Location: Denver, PA
Gender: Male
Posts: 225
 
Device(s): N9100
Carrier: Boost Mobile

Thanks: 4
Thanked 39 Times in 31 Posts
redjamax1@gmail.com
Default

Anyone notice any excessive battery drain from having both cores on at the same time??
redjama is offline  
Reply With Quote
Old August 6th, 2013, 09:38 PM   #24 (permalink)
Member
 
crunchyymango's Avatar
 
Join Date: Jul 2013
Location: Georgia
Gender: Male
Posts: 188
 
Device(s): Zte Force 4g LTE [Rooted]
Carrier: Boost Mobile

Thanks: 107
Thanked 25 Times in 21 Posts
Default

Quote:
Originally Posted by redjama View Post
Anyone notice any excessive battery drain from having both cores on at the same time??
Nope none that is noticeable
crunchyymango is online now  
Reply With Quote
Old August 6th, 2013, 10:15 PM   #25 (permalink)
Member
 
redjama's Avatar
 
Join Date: Mar 2013
Location: Denver, PA
Gender: Male
Posts: 225
 
Device(s): N9100
Carrier: Boost Mobile

Thanks: 4
Thanked 39 Times in 31 Posts
redjamax1@gmail.com
Default

How do I get the settings to save after a reboot??
redjama is offline  
Reply With Quote
Old August 6th, 2013, 11:06 PM   #26 (permalink)
Senior Member
 
Join Date: Aug 2012
Location: Phoenix AZ
Gender: Male
Posts: 1,118
 
Device(s): ZTE Warp - DroidSmith 1.7.3 ZTE Force - DroidSmith Force 0.7 ZTE Warp 4G - Stock JB 4.1.2
Carrier: Boost

Thanks: 150
Thanked 625 Times in 401 Posts
Default

Quote:
Originally Posted by redjama View Post
How do I get the settings to save after a reboot??

It will need to be done via an init.d script
jimsmith80 is offline  
Reply With Quote
Old August 7th, 2013, 12:22 AM   #27 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2013
Location: Aurora, IL
Gender: Male
Posts: 407
 
Device(s): ZTE Force
Carrier: Boost Mobile

Thanks: 44
Thanked 40 Times in 35 Posts
Default

For the option to turn the second core on, it shouldn't have to be done with an init.d script, for that we edited system files. However, for the scheduler, there is an init.d script. That I'm hoping can be built into a ROM, instead of having to use a script.
donjuro is offline  
Reply With Quote
Old August 7th, 2013, 01:19 PM   #28 (permalink)
Senior Member
 
Join Date: Aug 2012
Location: Phoenix AZ
Gender: Male
Posts: 1,118
 
Device(s): ZTE Warp - DroidSmith 1.7.3 ZTE Force - DroidSmith Force 0.7 ZTE Warp 4G - Stock JB 4.1.2
Carrier: Boost

Thanks: 150
Thanked 625 Times in 401 Posts
Default

Quote:
Originally Posted by donjuro View Post
For the option to turn the second core on, it shouldn't have to be done with an init.d script, for that we edited system files. However, for the scheduler, there is an init.d script. That I'm hoping can be built into a ROM, instead of having to use a script.

Your correct. It does not have to be done through a script, but in my opinion it is the correct way to do it. That or modification to the kernel
jimsmith80 is offline  
Reply With Quote
Old August 7th, 2013, 04:50 PM   #29 (permalink)
ROM Developer
 
junkie2100's Avatar
 
Join Date: Mar 2012
Gender: Male
Posts: 3,166
 
Device(s): ZTE Warp Sequent, Samsung Transform Ultra, Samsung Galaxy Prevail, HTC Evo 4G
Carrier: Boost Mobile

Thanks: 65
Thanked 622 Times in 481 Posts
Default

You can do it without init.d. unpack the boot.img in the android kitchen, add it to the init.rcs on boot section and after echoing to the file chmod it to only be readable that way no app can turn it off
__________________
junkie2100 is offline  
Reply With Quote
Old August 7th, 2013, 04:57 PM   #30 (permalink)
ROM Developer
 
junkie2100's Avatar
 
Join Date: Mar 2012
Gender: Male
Posts: 3,166
 
Device(s): ZTE Warp Sequent, Samsung Transform Ultra, Samsung Galaxy Prevail, HTC Evo 4G
Carrier: Boost Mobile

Thanks: 65
Thanked 622 Times in 481 Posts
Default

Or you could take the entire init.d script and add it to the init.rc. should be directly translatable
junkie2100 is offline  
Reply With Quote
sponsored links
Old August 8th, 2013, 02:22 PM   #31 (permalink)
Senior Member
 
Join Date: Aug 2012
Location: Phoenix AZ
Gender: Male
Posts: 1,118
 
Device(s): ZTE Warp - DroidSmith 1.7.3 ZTE Force - DroidSmith Force 0.7 ZTE Warp 4G - Stock JB 4.1.2
Carrier: Boost

Thanks: 150
Thanked 625 Times in 401 Posts
Default

Your right, but so far all my edits to the boot image have failed. Same for rbhero too
jimsmith80 is offline  
Reply With Quote
Old August 8th, 2013, 02:56 PM   #32 (permalink)
ROM Developer
 
junkie2100's Avatar
 
Join Date: Mar 2012
Gender: Male
Posts: 3,166
 
Device(s): ZTE Warp Sequent, Samsung Transform Ultra, Samsung Galaxy Prevail, HTC Evo 4G
Carrier: Boost Mobile

Thanks: 65
Thanked 622 Times in 481 Posts
Default

Well mouse and i have had no trouble at all modifying the boot.img. the reason the oc kernel wont work is because it still isnt compatable with the phone yet, its gonna take some serious work kuz its avid code not force code and nobody has the force code

Editing just the init.rc though as long as youre careful should work tho i know it works for us
junkie2100 is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > ZTE Force 4g LTE > Force 4g LTE - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:31 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.