Governor recall - Samsung Galaxy Player 4.0, 5.0

get it? har har har
lame joke aside, i was wondering if a governor could be manually installed, and if so, how to enable that governor?
specifically, smartassv2 and interactiveX. I recently flashed the Eryigit ROM, chinese stock, and flashed those two governors from zip via CWM (from :
http://rootzwiki.com/topic/10911-co...e-interactivex-and-smartass-v2-cpu-governors/ )
rebooted and checked cpu tuner, set cpu and no frills to see whether or not the governors loaded. no dice.
am i missing something? or is the kernel not friendly to these governors? (still a noob here, somewhat)
PS the zip files contains meta info, and scripts (?) for /etc and /lib. the /etc script (init.d) did install and has been located in the /etc folder, but the "cpufreq_smartassv2.ko" has not (as well as a symsearch.ko file) will extracting those files to the proper folder solve this problem? or is this dangerous? Also, what do I do with athe META-INF folder/ "update-binary" and "update-script" files?
EDIT: and neither are any of the other governor profiles....hm. at least not in /etc or /lib. SO, would anyone know where the profiles are located? and whether or not adding the .ko files will f up my 5.0?

ok. so no biters. so...
the guides available for other devices (eg Neo V, Samsung Note, etc) mentions folders that don't exist on the SGP5 (specifically, /sys/lib/modules, instead showing /sys/modules with one driver).
the bypass seems to be to set up a script in init.d to activate drivers I found online to point to those drivers (smartassv2.ko & symsearch.ko [i've actually little idea what symsearch does and haven't foud much info online, but have noted that the file is encoded and makes reference to the Gen. Pub. License and ARMv7] -) to be placed in an arbitrary root folder- /etc or /lib folder) and edit the "scanning_alternate_governors" file in /sys/modules/system/cpu/cpu0 to list the governors as viable alternative. my question is -
would any of this f* the player up? rather, do you think that has a good chance to irrevocably damage the player? i don't foresee any problems, but then, I am relatively new to linux and android devices.

Related

Help with Audio Mod... [Need help from an Android Dev]

Ok, basically my linux knowledge is very limited and i need help modifying a file that gets written on boot (i don't know if this would even work, so if someone could answer that it would be very much appreciated).
The file i'm looking to change is '/sys/module/q6audio/parameters/speaker_max_gain'. In the latest 2.1 build this file is set to '602', which i think explains the slight volume increase from 1.6 (it was set to '600', but located in 'sys/module/msm8k_cad_volume/parameters/handset_max_gain' instead)
So, does anyone know how to alter this file? I know it gets re-written every time you boot the phone, but i can't find where it's being written from. Is it a kernel thing or am I completely wasting my time with this?
Cheers
UPDATE - Thanks to @VogelDerNacht, i've tried a few things like trying to change the value in the init.rc (echo "value" > sys/module/q6audio/parameters/speaker_max_gain) which didn't work, and i then tried to use a sysctl.conf in /system/etc/ to do the same thing, which also didn't work (don't think the kernel supports this), so now i'm pretty stuck
It seems like i may have to wait for the kernel source to be release now ><
how about creating a simple shell script and having it execute as a service from one of the init scripts ?
its possible the sys entry is not created until later in the boot sequence
DJ_Steve said:
how about creating a simple shell script and having it execute as a service from one of the init scripts ?
its possible the sys entry is not created until later in the boot sequence
Click to expand...
Click to collapse
could you give me an example please? i'm pretty new to all this linux stuff
The problem seems to be that when i add the line in to the init.rc (or any of the init files) it gets overridden by something else (probably the kernel) and i can't get it to apply my changes. I can change it fine whilst the phone is running, but that doesn't do anything because i think these files only get read from once when the phone boots.
I could be completely wrong though, like i said, my linux knowledge is pretty bad ><
First you need to confirm that entry boosts what you want
DJ_Steve said:
First you need to confirm that entry boosts what you want
Click to expand...
Click to collapse
That's the problem. I think it reads from the file only once when the phone boots but i don't know, that's why i want to change it on boot to see if it works
their should be a simple script (.sh extension) in /system/etc that you may be able to edit to add echo *your value > sys path to end of
DJ_Steve said:
their should be a simple script (.sh extension) in /system/etc that you may be able to edit to add echo *your value > sys path to end of
Click to expand...
Click to collapse
Tried that. Tired editing the init.rc, that didn't help. I tried adding a sysctl.conf but i don't think the kernel supports it. I tried editing every .sh file i could find but it looks like the kernel just overwrites everything
ok if you fancy a hand trying to get the volume to boost drop me a pm as i woudln mind being a tester ffor playing with werid options (and since iport android anyway i know my way around

[Q] Help adjust kernel VDD Levels

I am running stock rooted RUU released on 4-19 by jcase.
I loaded Adrynalyne’s kernel 5.10.11 [2.6.32.21] control freak v2. I am able to adjust the VDD levels on the fly using terminal through commands such as
Echo “-25” > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels or adjust each individual speed voltage. Unfortunately, these settings reset after a reboot.
There are two files labeled 00vdd_levels with rwxr-xr-x permissions and a 00vdd_levels~ with rw-r--r—permissions in the /system/etc/init.d folder. I have tried to manually change the voltage levels through root explorer and changed the name of the files to 99vdd_levels, but the stock voltages reload after each reboot. I have spent several hours trying to get these modifications to be permanent. I may be searching for the wrong edit, but I really need some assistance.
Please help me with the scripts or recommend a thread that has the instructions on how to perform these tweaks. TIA
The one with the ~ at the end was probably generated by vi when someone didn't save properly. The file without the ~ is the one to edit. Make sure your settings aren't commented out with a hash (#)
ETA: In fact the ~ file may also be causing a problem. Remove it and see what happens.
Thanks for your reply. I deleted ~file and have spent hours trying multiple methods to get the script working, but I have not been successful. I know have 10 posts so I can post my issue in the development thread made by the kernel dev and hopefully he can help me since he created the kernel.

Custom ROM tweaks

In most of custom ROM description I see
"Dalvik to cache tweak"
"Memory tweak"
etc
What is this ?
Search here and google do not help much.
Modified dalvik.vm.heapsize and Low level memory killers possibly
《tapatalked from galaxy s3》
What exactly modified if there is no init.d scripts ?
Which file(s) added modified for the tweaks ?
Most certainly only the build.prop
It's the configuration files that manages most of the Android userland settings including DPI, Cache, ...
There exist several apps in the market which allow you to hot-change the values. Requires root of course.
However you should only change the values you understand and keep a backup copy of the file. You can mess up the phone pretty bad to the point of not booting or not displaying an usuable interface. If you're backed up, you can always recover through ADB (in Recovery mode) by replacing the file with the original.
I find there is no real need to tweak the file, it's good as-is.
I'd like to remove tweaks, already included in most custom ROM's
Create your own rom
Sent from my GT-I9300 using xda premium

System Terms and Abbreviation

...
First, google is your friend, friend.
But here's something to get you started.
OC means overclocked. The term designates that the cores in your CPU (central processing unit) aren't working on stock frequency but rather on custom one thus resulting in better performance. This sometimes means the CPU is lacking stability and is generating more heat.
MD5sum is a unique value or hash for every file you download. It also called a digital fingerprint of a file. It's intended purpose is to assure a person downloading a file that a latter file hasn't been tampered with. So you get an exact file which the uploader made available for you to download. You have to compare the md5sum value of the uploader to the one you have generated with a specific application.
ext4 is a file system pervading mostly in linux world and thus in andriodOS. Every storage must have a file system (phone memory, SD card etc.)
OK. That's all from me...
Odex means that the apk files are split into the apk and an odex file (increases speed). Deodex means that ththere is no odex file (easier to theme).
Sent from my ICS 3VO with Tapatalk 2

[Q][test] change your rom without flashing anything [DUALBOOT ONLY]

Hi,
when i download some roms, release after release, i saw that, sometimes, only some files are changed.
if i make a little zip with only the differencies comparing two zip, and if i change updater-script
(deleting "delete system" process , deleting flashing kernel lines, generaly, at end of script and managing other things)
can someone confirm that if my updater-script never delete /system/ , i have no risk to "kill" my device ?
i have an idea about the reply but its good to have a thread about this question, no ?
i have test this following when i run a 2nd rom with dorimanx kernel.
- I search about differencies on two spirit releases rom. (using 7zip , good interface to compare and you have the total size of each folder in zip)
- On a structured folder, i keep only the new files from new release.
(apk, binary,priv-app,framework..., comparing them using size files essentialy because using the date as comparison filter never help in this way)
- i run my 2nd rom
1 - Remember us, with dorimanx kernel, when we are dualbooting roms, no matter the position rom you are run at a moment (1rst or 2nd), you will be able to see /system/ and /data/ partitions from the other rom which generaly sleep
2 - On PC, i generaly use WINSCP soft to acces easily on all structured folders of my device. (just let you know)
So,
- i launch WINSCP on PC, then i can log-in as root on my device, 2nd rom runing.
- in the interface gui of WINSCP, on left side, i see my extracted differencies structured with all files and in right side, i can see all folders from my device.
- with the interface gui from WINSCP, i can copy all that i need in /system_pri_rom/ and /data_pri_rom/ , which are the auto-mounted partitons from 1rst rom
- if DEV have moving some apks from /system/app/ to /system/priv-app/ , i move the files too. If DEV have delete some files, i delete too.
- when i reboot my 1rst rom, it booted without any trouble.
result :
the +
i dont flash anything
i dont change kernel
the -
looking for differencies between 2 zip take time
the +/-
i dont format/delete entire system and maybe with time, this can be corrupted.
If someone can help me this way by making a little script which can make the differencies with an output zip , it will be much appreciated
thanks.

Categories

Resources