Running CommRom 2.1. Switched from Comavolt kernel to PBJ -50. Trying to confirm that I am running the kernel that I think that I am. In System Panel, it still references Imnuts' kernel, so I am confused. Can one use Terminal Emulator to identify the kernel? Thanx!
pdb23103 said:
Running CommRom 2.1. Switched from Comavolt kernel to PBJ -50. Trying to confirm that I am running the kernel that I think that I am. In System Panel, it still references Imnuts' kernel, so I am confused. Can one use Terminal Emulator to identify the kernel? Thanx!
Click to expand...
Click to collapse
yes you can use terminal emulator or cpuspy will also tell you kernel
cat /proc/version
Couldn't get cat /proc/version to work in terminal emulator. Any suggestions? I will investigate cpuspy.
Code:
adb shell uname -a
uname -a
Use the first one if your phone is hooked up to your computer, the second one from a terminal emulator on your phone. It should show "[email protected]" if I compiled it.
Related
I have a shell script that uses wget to regularly pull a gif file off of a server to check its status. This script worked fine when I was running Eugene's Vibrant9, but when I replaced that ROM with Bionix Fusion 1.2 the script stopped working. wget only pulls down a portion of the gif and stops.
I just installed Nero v3 and really like it. But the issue with wget remains. I would like to replace busybox with a version with a working wget.
So, with that in mind, is it possible to pull the busybox out of Eugene's Vibrant9 and push it onto my phone running Nero?
If not, I think that I have adequately explained the problem, so any other suggestions as to get a working wget would be well appreciated.
Hi,
I am trying to get my GT-7510 (retail with the latest updates, rooted) mount an NFS share.
I have built the necessary modules and loaded them via insmod.
However, when I attempt to mount a share the tablet freezes. Screen is on, can't connect or ping in any way.
I've tried adb logcat - it just stops showing any output. I've tried getting a core dump without any success.
Is there any way I can see what the dmesg output was when the thing froze? Any suggestions on how to troubleshoot this?
And I don't want to use CIFS because it's slow and it generally sucks.
Thanks in advance!
Does anybody use NFS on the GT-7510?
Hi weasel,
I'm also struggeling with NFS. I tried using pershoot's Kernel with his modules. But I'm not even near to get NFS mounted or the Tab frozen ;-)
Maybe you can share which modules you loaded, which kernel, which mount command, how you issued the command.
So far I don't have a solution but maybe we can find one together!
Here is what I did so far:
[Kernel] - 2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1 (9/13/11; 9.00PM EDT)
Installed the kernel above, loaded the following modules in the following order:
1. sunrpc.ko
2. auth_rpcgss.ko
3. lockd.ko
4. nfs_acl.ko
5. nfs.ko
When I try to mount my nfs share running on a Ubuntu 10.04 server with this command line:
mount -o nolock -t nfs <IP>:/<Path> /sdcard/<mountpoint>
I'm getting the following error message: Invalid argument
Is this a bug in the kernel/module. Am I doing something wrong?
I did get it to work but I had to use the source from Samsung's site and not the android source.
The modules you have listed are correct but you need to use the mount command that comes with busybox because the built-in mount doesn't support nfs. Also check your dmesg output after you load the last module to make sure there are no error messages.
So try using
/system/xbin/mount
instead of just mount
Oh, and I'm using the stock kernel so that's why I needed Samsung's source, you shouldn't need to re-compile your modules.
weasal said:
Oh, and I'm using the stock kernel so that's why I needed Samsung's source, you shouldn't need to re-compile your modules.
Click to expand...
Click to collapse
Did you compile those modules on your own? Do you know any howto for doing that? Or can you even provide me with the modules?
I'd like to use the stock kernel as well!
Thanks again!!
I already managed to compile them on my own. Thanks again for the hint.
For all of you who are searching for the required modules for the stock Kernel as well - please find attached.
The correct mount option:
/system/xbin/mount -t nfs -o nolock <ipaddress>:/<path> <mountpath>
[Q] OpenVPN problem with Pershoot's Kernel and "In Paris" v4 by Task650&Phantom
So I've been having trouble getting openvpn up and running on my tab (p7510 version)
I've installed both the openvpn binary installer and the settings apps fine.
I know my certificates/key/conf are correct as I've tested them elsewhere.
When I try to connect I get the following error:
"FATAL:Cannot allocate TUN/TAP dev dynamically"
I was advised to reflash the latest kernel from Oct 18th and adb push tun.ko from pershoot's lib-2636.4.tar.gz file to /system/lib. That didn't work.
I managed to temporarily avoid it by using adb shell "insmod tun.ko". However every time I reboot the device it comes back because the module isn't loaded again.
Now, I get this error:
"FATAL:Linux ifconfig failed: external program for failed"
Which I cannot figure out how to solve.
Has anyone had these problems before while trying to set this up?
I am using "In Paris" v4 from Task650 & Phantom, and Pershoot's kernel from Oct 18th.
Any help would be appreciated
I'm using VPNC Widget rather than OpenVPN, but the tun.ko needs to be put in "/data/local/modules" then "insmod /data/local/modules/tun.ko" and it survives a reboot.
morkli said:
I'm using VPNC Widget rather than OpenVPN, but the tun.ko needs to be put in "/data/local/modules" then "insmod /data/local/modules/tun.ko" and it survives a reboot.
Click to expand...
Click to collapse
Thanks for the reply, but it didn't seem to work for me. I pushed the same tun.ko to that folder and issued insmod but it didn't stay after reboot.
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.
I have been looking for the stock voltages for some time now, but have not been able to find them. The point is that every (custom) kernel (Abyss, Syah) uses different voltages and I do not know my stock values.
Is there a way to do a dump of the stock voltages, or does anyone know them?
Thanks in advance.
Install Terminal Emulator app from Google Play
Run app and give SU when prompted
In Terminal Emulator, type:
su
cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
ensure space after cat
Cheers
UpInTheAir said:
Install Terminal Emulator app from Google Play
Run app and give SU when prompted
In Terminal Emulator, type:
su
cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
ensure space after cat
Cheers
Click to expand...
Click to collapse
The file does not exist for the (rooted) stock kernel, only for the custom kernels...
here are the stock voltage for each steppings,
1400mhz-------1288mv
1300mhz-------1238mv
1200mhz-------1188mv
1100mhz-------1138mv
1000mhz-------1088mv
900mhz--------1050mv
800mhz--------1000mv
700mhz--------975mv
600mhz--------963mv
500mhz--------938mv
400mhz--------925mv
300mhz--------900mv
200mhz--------900mv
bala_gamer said:
here are the stock voltage for each steppings,
1400mhz-------1288mv
1300mhz-------1238mv
1200mhz-------1188mv
1100mhz-------1138mv
1000mhz-------1088mv
900mhz--------1050mv
800mhz--------1000mv
700mhz--------975mv
600mhz--------963mv
500mhz--------938mv
400mhz--------925mv
300mhz--------900mv
200mhz--------900mv
Click to expand...
Click to collapse
Many thanks. This means pretty much each custom kernel is overvolting. How did you get the values / what is your source?
avdaga said:
Many thanks. This means pretty much each custom kernel is overvolting. How did you get the values / what is your source?
Click to expand...
Click to collapse
More likely that the output is just rounded up?
ie. actual 1288 > 1300 displayed
Sent from my GT-I9300T using xda premium