Welcome to the EternityProject DualCore Enhancement Thread!
What do we have here?
EternityPRJ_MCPU is a CPUFREQ governor that optimizes SMP doing a fast poweron/off of the second core.
It will make your device to act more smoothly and faster in some conditions.
How-To:
After downloading and extracting the module archive...
With ADB:
Code:
adb push cpufreq_eprj_hotplug.ko /data/local/
adb shell
su
insmod /data/local/cpufreq_eprj_hotplug.ko
exit
exit
Then use an Android app, like Script Manager, to autoload it everytime your device boots (optional) using this command (as root):
Code:
insmod /data/local/cpufreq_eprj_hotplug.ko
For activating it, open SetCPU and select the "eternityprj_MCPmot_hotplug" governor.
That's all.
Download:
Module: HERE
Source: HERE
Making it to work with every RAZR out there:
If this won't work on your RAZR, please post the output of this command:
Code:
cat /proc/kallsyms | grep cpu_up
...and your ROM version. I'll make it to work for your RAZR, too
The EternityProject Developer,
-kholk
kholk said:
Welcome to the EternityProject DualCore Enhancement Thread!
What do we have here?
EternityPRJ_MCPU is a CPUFREQ governor that optimizes SMP doing a fast poweron/off of the second core.
It will make your device to act more smoothly and faster in some conditions.
How-To:
After downloading and extracting the module archive...
With ADB:
Code:
adb push cpufreq_eprj_hotplug.ko /data/local/
adb shell
su
insmod /data/local/cpufreq_eprj_hotplug.ko
exit
exit
Then use an Android app, like Script Manager, to autoload it everytime your device boots (optional) using this command (as root):
Code:
insmod /data/local/cpufreq_eprj_hotplug.ko
For activating it, open SetCPU and select the "eternityprj_MCPmot_hotplug" governor.
That's all.
Download:
Module: HERE
Source: HERE
The EternityProject Developer,
-kholk
Click to expand...
Click to collapse
how does this work? is it like a kernal????
It's a kernel module.
Confirmed working on Verizon CDMA Razr. Thanks!
Is there a way to use terminal emulator to do this from phone?
spimonkey34 said:
Confirmed working on Verizon CDMA Razr. Thanks!
Click to expand...
Click to collapse
Same here just used Root Explorer and terminal to do everything. So far performance seems the same will see how it goes over a day or two
Sent from my DROID RAZR using XDA App
juicehead9 said:
Is there a way to use terminal emulator to do this from phone?
Click to expand...
Click to collapse
Do the same commands you should do with adb shell, only thing is you need to put the module in /data/local in another way, e.g. cp /sdcard/Download/mymodule.ko /data/local/
Benchmarks performance will be the same, it'll work only in real world operations as it will only hotplug and use the CPU1 faster.
juicehead9 said:
Is there a way to use terminal emulator to do this from phone?
Click to expand...
Click to collapse
Yes. Copy the file into /data/local using root explorer or the like.
Then, with terminal emulator, just run the two lines of following 'adb shell' (su and insmod lines).
Sent from my DROID RAZR using XDA App
It worked perfectly thanks!
oh the future looks sooooo promising. Great work kholk!
how does this affect the battery life? does it drain it even more?
OK o did it but not sure how to tell if its working.. like the other person said it ill work in th real world but how do we tell... sorry for the noob question
Sent from my DROID RAZR using xda premium
royalbloodvi said:
how does this affect the battery life? does it drain it even more?
Click to expand...
Click to collapse
You won't notice it, it will drain like 3-4% more battery in a day.
blkghost22 said:
OK o did it but not sure how to tell if its working.. like the other person said it ill work in th real world but how do we tell... sorry for the noob question
Sent from my DROID RAZR using xda premium
Click to expand...
Click to collapse
How does your device feel when you open an application? When you surf with your browser? When you play into menus etc?
Does it feel more reactive?
This does effectively add reactivity to your CPUs, thing that won't change benchmarks results because benchmarks will take the CPU to its MAX prior starting to calculate. That's why something that works in real world operations isn't making benchmarks results to be higher.
Yeah, after installing I definitely see a nice smooth scrolling performance, and unlocking is really fluid as well.
Great work, Kholk! You should take this over to Rootz, it's like a zombieland in there, everyone's doubting the phone and such. :x
i have installed SetCPU and activated the correct Governor, everything looks fine, no errors.
How do i know if this works? (i could not set a script with script manager).
Any permission need to be granted ?
read write execute??
@b.o.n.s
If you've selected the eternityprj_MCPmot_hotplug governor, it's working.
@xalainm
Just do what I wrote on the first post.
Though it's in the source, it's always good form to credit the original authors.
Edit: Oh, come on. You've even changed MODULE_AUTHOR.
Edit2: I see the claims in your OP regarding performance, but can you walk us through the algorithm used here?
Can u give me the exact command for script manager... for some reason i can't do it
Sent from my DROID RAZR using xda premium
blkghost22 said:
Can u give me the exact command for script manager... for some reason i can't do it
Sent from my DROID RAZR using xda premium
Click to expand...
Click to collapse
This is what I have done in Script Manager.
create a new script name it whatever you like and put the command below in the script,
Code:
insmod /data/local/cpufreq_eprj_hotplug.ko
tick run as root and run at boot
save it.
Related
So I flashed the dream kernel, and I need to figure out how to manage the tweaks. Such as call recording, and everything else. I know how to do speed tweak but what are some other terminal commands i can do for the dream kernel.
It uses the same ramdisk and sysfs as the Imoseyon kernel. There are lots of commands. The easiest way to exploit most of them is to use scriptfusion.
loonatik78 said:
It uses the same ramdisk and sysfs as the Imoseyon kernel. There are lots of commands. The easiest way to exploit most of them is to use scriptfusion.
Click to expand...
Click to collapse
okay, but what is scriptfusion? the only thing i know is speedtweak.sh
Daxxer2007 said:
okay, but what is scriptfusion? the only thing i know is speedtweak.sh
Click to expand...
Click to collapse
scriptfusion is a script that you can install or flash in place of Imoseyon's speedtweak.sh, or use it on any kernel with a sysfs interface. It's a project of TwistedUmbrella. It works pretty much the same way as the basic speedtweak.sh script, but has many more options and is updated VERY frequently.
Okay, so how do I get it, and how would I access it?
Sent from my HTC ThunderBolt using XDA App
Oh and how do I access call recording on ltb 2.5
Sent from my HTC ThunderBolt using XDA App
As far as I know, Imoseyon's kernels are call recording enabled. That means Dreamkernel is too. ScriptFusion can be found in the dev section. It's developed by TwistedUmbrella. He describes 2 ways of installing it; via the app or via command line. I prefer command line, it doesn't waste space for an app. He provides the commands to do it. Should look something like "bash /sdcard/location_of_speedtweak.sh speedtweak.sh fusion"
All Imoseyon derived kernels have a basic speedtweak.sh script built in. To use it, open up a terminal emulator, type "su" at the prompt to gain superuser access, then type "speedtweak.sh" You'll see a menu with some options, just select what you want and you're off to the races.
ScriptFusion takes the speedtweak.sh concept and expands on it greatly. It works all the same though.
Fair warning: whatever changes you make to a Imoseyon derived kernel will survive boot. That means if you select extreme undervolting at 1.92GHz overclocking and it crashes, you'll be restoring from a backup or flashing a new ROM and kernel.
If you use ScriptFusion, you can download a .zip called guiltyverdict which will remove whatever changes you made in speedtweak.sh. Much easier than flashing a new ROM!
Okay, can you explain the differences between the interactive ondemand and other governors I am currently on interactive because that was pre selected.
Sent from my HTC ThunderBolt using XDA App
Use interactiveX unless you have problems
Sent from my TBolt using my f***king thumbs...
Imo explains it on the OP, or second post of his lean kernel thread in the dev section
courtesy of my rooted bolt
Ok..
I can push the modules into the appropriate folder on the phone and I can run the commands which add it to the cpu governer selection (it took me awhile to realise I had to run 'su' command first ooops!).
However, upon rebooting the smartass governer dissappears from the selection tab and returns to 'ondemand' even if restore upon boot is selected. I assume the module is only temporarily loaded via the 'insmod' and 'echo' commands.
So I pulled the hw_config.sh and added the commands to the end under a new #tag (for ease of keeping things seperate). The same commands listed in the smartass thread. Pushed in back to the phone, But... smartass still wouldn't load and the cpu governer switched permanantly to 'performance' - even when I removed the commands from the config file
Had to restore my cwm backup to fix the issue.
I noticed that the config file makes reference to the ondemand module so wondered if this causes conflict with the smartass one??
I'm fairly new to modding stuff. Anyone got smartass working on gintonic1.3? Can they tell me the proceedure they used?
Sent from my U20i using Tapatalk
sory,i u use minicm7 v7 u can use it w/o problem..just edit hw config.sh
#x8smartass
insmod /system/lib/modules/x8_smartass.ko
azadtaufiq said:
sory,i u use minicm7 v7 u can use it w/o problem..just edit hw config.sh
#x8smartass
insmod /system/lib/modules/x8_smartass.ko
Click to expand...
Click to collapse
I'll give it a go. Thank you very much!
Sent from my U20i using Tapatalk
This guide was taken and revamped with files included from here http://forum.xda-developers.com/showthread.php?t=1067662
I do not take any credit for anything besides revamping the codes to fit new filenames and making the guide a bit easier.
I finally managed to get java to work with firefox. I test out runescape and it works great on minimum graphics setting may be able set higher.
This is a guide to run Java on webtop on any firmware version and more than likely (but untested) any hdmi hacks/mods.
Prerequisites: Rooted phone and minor knowledge of how to run terminals
webtop2sd (http://forum.xda-developers.com/showthread.php?t=1119555) installed would be a major help simply because lxterminal is so much easier to use!
If you refuse to use webtop2sd, terminal emulator on the market will work just fine.
Download this http://www.megaupload.com/?d=PF56FTWD
Extract the ejre1.6.0_27 folder and move to phone
Copy the ejre1.6.0_27 folder to
/usr/lib/
Ingore this code if you are running from lxterminal
Code:
su
/usr/bin/sudo -u adas bash
Click to expand...
Click to collapse
In lxterminal or whatever terminal
Code:
sudo ln -s /usr/lib/ejre1.6.0_27/lib/arm/libnpjp2.so /usr/lib/firefox-addons/plugins/libnpjp2.so
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/java
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/java_vm
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/javaws
sudo chmod 755 /usr/lib/ejre1.6.0_27/bin/keytool
Click to expand...
Click to collapse
If you get "link failed File exists" run this. then run the ln command
Code:
sudo rm /usr/lib/firefox-addons/plugins/libnpjp2.so
Click to expand...
Click to collapse
You can also use root explorer to set permission for the files
Set to this:
read write execute
X --- X----- X
X ---------- X
X ---------- X
I will try to make updates to this whenever possible.
If anyone could tell me an easy way to take a screenshot from the weptop I would gladly take some and upload.
Someone test Runescape >.>
Mossys said:
Someone test Runescape >.>
Click to expand...
Click to collapse
I have it running flawlessly. Autosetup actually asks for high but I use safemode.
I have no idea how to post screenshots of webtop but I know its possible.
Also I'd like to add that if you do his method and download the current version... Java runs very very slow. This version is much better.
Minecraft?!?!?! I don't have a TVs with HDMI right now or I'd try this myself!
Sent from my MB860 using xda premium
jerrygooch said:
Minecraft?!?!?! I don't have a TVs with HDMI right now or I'd try this myself!
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
hell yeah!! im with you on this lol. i dont have a hd tv xd
Quite possible, I'm not a Minecrafter so I wouldnt know. But feel free to try, I dont see why it wouldn't work.
I'll try to get my hands on some screenshots later after doing some digging on how-to's and update this a little bit.
You could try imagemagick. Not sure if it's in the repos though. I'm about to head off to work or I'd try it.
If it's installable just type in a terminal window.
Code:
import -window root whatever.png
xfce4-screen-shooter
Stephen Who said:
If anyone could tell me an easy way to take a screenshot from the weptop I would gladly take some and upload.
Click to expand...
Click to collapse
if you use xfce you can use xfce4-screen-shooter
dubyajaysmith said:
if you use xfce you can use xfce4-screen-shooter
Click to expand...
Click to collapse
Could you post a link to the exact download for this? I could include it in my post.
I dont own a laptop dock anymore by I thought there was a screenshot function built into webtop. (Printscreen key or ctrl+alt+c).
Also I dont think minecraft will work cause it has native libraries for x86.
Very correct, ctrl+alt+c works.
There is no printscreen key though.
Yeah, no luck with Minecraft. It starts to load then just displays a white screen.
REAVER117 said:
Yeah, no luck with Minecraft. It starts to load then just displays a white screen.
Click to expand...
Click to collapse
I'll see what I can come up with right now.
Edit: I get a blackscreen when trying to run the Minecraft Classic, so it seems thats a no go on Minecraft on this release.
Mossys said:
Someone test Runescape >.>
Click to expand...
Click to collapse
Uploaded screens of Runescape and Minecraft(not working)
Yep, imagemagick works, once you install it.
Works
Thxs
No problem man.
can anyone give me a setup towards this?
I've currently have xterm working, I've installed synaptic. Iceweasel...
There is a major step im missing. I cant launch firefox off the tab, but I can launch Iceweasel via xterm.
Mossys said:
can anyone give me a setup towards this?
I've currently have xterm working, I've installed synaptic. Iceweasel...
There is a major step im missing. I cant launch firefox off the tab, but I can launch Iceweasel via xterm.
Click to expand...
Click to collapse
I dont quite know much about the modded versions of Firefox, but I would assume it acts and functions the same as Firefox itself? Ie, there is an addon folder?
That or get your firefox back working by backtracking your Iceweasel.
Hey guys, I came up with a basic set of tools which I find useful. You may redistribute , include in any custom ROMs and/or distributions.
This includes:
Rewrite /default.prop for ADB
Install and deploy busybox in /system/xbin
install bash, ipctool, strace, tcpdump, and viewmem binaries.
To install, you must be rooted.
Unzip the attached file
place it on your nook.
cd to the folder you installed
Run the following
Code:
sh /sdcard/BHT/run.sh
Please note, I use Android Market app QuickSSH to get into my nook terminal, your results may very.. I hope someone else grabs these files and makes it all more user friendly. I've got too many other things going on.
I encourage other developers to include these valuable debugging tools in their packages.
You, sir, are a monster! You get my vote.
Sent from my Nexus S using xda premium
AdamOutler said:
Hey guys, I came up with a basic set of tools which I find useful. You may redistribute , include in any custom ROMs and/or distributions.
This includes:
Rewrite /default.prop for ADB
Install and deploy busybox in /system/xbin
install bash, ipctool, strace, tcpdump, and viewmem binaries.
To install, you must be rooted.
Unzip the attached file
place it on your nook.
cd to the folder you installed
Run the following
Code:
sh /sdcard/BHT/run.sh
Please note, I use Android Market app QuickSSH to get into my nook terminal, your results may very.. I hope someone else grabs these files and makes it all more user friendly. I've got too many other things going on.
I encourage other developers to include these valuable debugging tools in their packages.
Click to expand...
Click to collapse
I can turn this into an apk, if you don't mind. By turn on adb with this method, adb will be rooted and the device will still be allowed to sleep?
brianf21 said:
I can turn this into an apk, if you don't mind. By turn on adb with this method, adb will be rooted and the device will still be allowed to sleep?
Click to expand...
Click to collapse
By all means. Please do.
My vote too. I just hope after you win that you keep up the great work on the Nook Tablet. The last two weeks or so have looked very promising towards getting custom roms on here and a lot of that has to do with Adam's hard work along with a few others
Nearly all of these are already in snowball-mod, but I'll include ipctool, and viewmem for the next release.
cfoesch said:
Nearly all of these are already in snowball-mod, but I'll include ipctool, and viewmem for the next release.
Click to expand...
Click to collapse
How did you get default.prop reread into memory? The only think I can see is the 2nd init hijack? Am I missing something a lot easier?
brianf21 said:
How did you get default.prop reread into memory? The only think I can see is the 2nd init hijack? Am I missing something a lot easier?
Click to expand...
Click to collapse
Note, I said "nearly all". I don't really see though how changing /default.prop would keep over reboots... rootfs is stored in memory and recreated every time, isn't it?
I've added the binaries to NT Hidden Settings. I have not implemented /default.prop swap yet. I have to play with hijacking init before I do. Thanks again.
brianf21 said:
I've add the binaries to NT Hidden Settings. I have not implemented /default.prop swap yet. I have to play with hijacking init before I do. Thanks again.
Click to expand...
Click to collapse
cool. where are you hosting that binary? I currently have a mirror set up at nook1.adamoutler.com for easy access... When someone gets a new device, they need to download 3 things onto their device to make it a real tablet.. nook1=hidden settings, nook2=homecatcher, nook3=market.. I may change 3 to launcherpro, but hidden settings is the number1 tool required for the nook Tablet.
AdamOutler said:
cool. where are you hosting that binary? I currently have a mirror set up at nook1.adamoutler.com for easy access... When someone gets a new device, they need to download 3 things onto their device to make it a real tablet.. nook1=hidden settings, nook2=homecatcher, nook3=market.. I may change 3 to launcherpro, but hidden settings is the number1 tool required for the nook Tablet.
Click to expand...
Click to collapse
Homecatcher? I mean, I understand if you want to keep using the B&N store and stuff, but if you don't care about the B&N stuff, then the hacked SystemUI.apk is a way better option than Homecatcher.
But then, you're advancing "launcher pro", while I would more generally say "any non-B&N launcher"...
I added another option to nt hidden settings to run adb as root. It doesn't require a reboot and it automatically turns off auto mount. I am using nemith's adbd.
remount / as rw
stop adbd
replace /sbin/adbd
remount / as ro
setprop to turn off auto mount
start adbd as root
It's not persistent after reboot, but it works and doesn't kill the battery. I am not going to bother with hkvc's hijacking init method, because it looks like you, hkvc, bauwks, and nemith will be able to replace the os soon. Thanks.
Good Afternoon.
I working on an Android application, but I'm stuck on a problem now. I want to shut down permantly one (or more) of the four CPU cores of my android device. I found a way through ADB but none through Java.:crying:
Can anyone help me out?
Thanks in advance!
GiorgosKanellis said:
Good Afternoon.
I working on an Android application, but I'm stuck on a problem now. I want to shut down permantly one (or more) of the four CPU cores of my android device. I found a way through ADB but none through Java.:crying:
Can anyone help me out?
Thanks in advance!
Click to expand...
Click to collapse
What's the ADB command to do that? There should be a way to integrate some shell commands into java code.
Well I want this ADB piece of code into java in some way.
adb root
adb stop mpdecision
adb shell
echo "0" > /sys/devices/system/cpu/cpu1/online
echo "0" > /sys/devices/system/cpu/cpu2/online
echo "0" > /sys/devices/system/cpu/cpu3/online
Click to expand...
Click to collapse
GiorgosKanellis said:
Well I want this ADB piece of code into java in some way.
Click to expand...
Click to collapse
Hi, can you turn off cpu cores permanently..since boot?. Or when reboot phone it get back load all cores? Thank you
Try using app kernel auditor mod I think it can do what you want
Sent from my iPhone 4s using Tapatalk I also own a g900v
[email protected] said:
Try using app kernel auditor mod I think it can do what you want
Sent from my iPhone 4s using Tapatalk I also own a g900v
Click to expand...
Click to collapse
Thank you, but kernel adiutor or another kernel manager don`t apply changes since early boot (early init). It apply changes once the phone loads the rom and enters on launcher
I need modify kernel image boot.img or something similar
There is boot img which holds
Kernel img ram disk and one other img I can't remember the name of
A custom kernel may be required
Sent from my iPhone 4s using Tapatalk I also own a g900v