yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] darklajid:
Sorry, but that's not true:

darklajid@ts ~ $ cat vold.fstab

#######################

## Regular device mount

##

## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>

## label - Label for the volume

## mount_point - Where the volume will be mounted

## part - Partition # (1 based), or 'auto' for first usable partition.

## <sysfs_path> - List of sysfs paths to source devices

######################

dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1

dev_mount emmc /mnt/emmc 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2

darklajid@ts ~ $ cat voldfstab.awk

internal == 1 && /emmc/ && /\/mnt\/emmc/ { sub(/\/mnt\/emmc/, "/mnt/sdcard"); print; next; }

internal == 1 && /sdcard/ && /\/mnt\/sdcard/ { sub(/\/mnt\/sdcard/, "/mnt/sdcard/_ExternalSD"); print; next; }

# keep rest of file as is:

{ print; }

darklajid@ts ~ $ awk -v internal=1 -f voldfstab.awk vold.fstab > vold.fstab_state1

darklajid@ts ~ $ awk -v internal=1 -f voldfstab.awk vold.fstab_state1 > vold.fstab_state2

darklajid@ts ~ $ cat vold.fstab_state1

#######################

## Regular device mount

##

## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>

## label - Label for the volume

## mount_point - Where the volume will be mounted

## part - Partition # (1 based), or 'auto' for first usable partition.

## <sysfs_path> - List of sysfs paths to source devices

######################

dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1

dev_mount emmc /mnt/sdcard 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2

darklajid@ts ~ $ cat vold.fstab_state2

#######################

## Regular device mount

##

## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>

## label - Label for the volume

## mount_point - Where the volume will be mounted

## part - Partition # (1 based), or 'auto' for first usable partition.

## <sysfs_path> - List of sysfs paths to source devices

######################

dev_mount sdcard /mnt/sdcard/_ExternalSD/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1

dev_mount emmc /mnt/sdcard/_ExternalSD 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2

darklajid@ts ~ $ diff vold.fstab_state1 vold.fstab_state2

11,12c11,12

< dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1

< dev_mount emmc /mnt/sdcard 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2

---

> dev_mount sdcard /mnt/sdcard/_ExternalSD/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1

> dev_mount emmc /mnt/sdcard/_ExternalSD 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
[LG Optimus 2x] Benee:
Yeah the problem is (I hope you understand some bash scripting) that we use case in a for loop. The loop is repeated until there are no arguments anymore (.zip is the end of the string/arguments are seperated with a -). All flags are in this case statement (with only ONE way to write them). Then there is a wildcard (in other words: any arguement that we haven't defined) it is giving this unsupported error and stops the zip immediately. This is a one of many safety mechanism we implemented to ensure that you're device will boot up, even if something was failing.

This is a very simple one and we could add (with a lot of work) a misstyping correction (and with even more a prediction what you wanted to type), but yeah so much work for so little (maybe bad effect - I don't want to read anything like: "added this flag but received something different. I want the old way").

Saw it. But you missed the build.prop. We changed a line here too. If you want to revert something 100% then just reflash cm.
[LG Optimus 2x] Benee:
arg damn. Good post. Thanks. Need to fix this immediately. Serious bug.

Edit: kiljacken fixed it. Will be included in next release. Thanks again for pointing this out.
[LG Optimus 2x] darklajid:
internal == 1 && /emmc \/mnt\/emmc/ { sub(/\/mnt\/emmc/, "/mnt/sdcard"); print; next; }

internal == 1 && /sdcard \/mnt\/sdcard / { sub(/\/mnt\/sdcard/, "/mnt/sdcard/_ExternalSD"); print; next; }

# keep rest of file as is:

{ print; }

Works for me (tm).
[LG Optimus 2x] kiljacken:
Hehe, that's the exactly same solution I just scratched down xD
[LG Optimus 2x] darklajid:
Are we talking about the same thing? I was talking about something like this:

*)

unknown_flags="$unknown_flags -$pp"

;;

esac

done

ui_print "Parsing complete"

if [ -n "$unknown_flags" ]; then

fatal "ERROR: Unknown arguments $unknown_flags"

fi

Same behavior as before if you give one unsupported flag.

Nicer (arguably, imho) behavior if you give more than once unsupported flag.

This is a whole different level. What I was asking for is a simple thing. This would be overkill, I guess?
[LG Optimus 2x] Benee:
Oh super confused me. No we're not talking about the same thing. haha. I think I need more sleep -.-...

Something like that would be easily possible.

Thanks for your ideas again ;).

Edit: added it ;)
[LG Optimus 2x] Benee:
First sorry for double post.

Today I was digging more into the reboot issue. The problem is definitly the ram hack. The bootloader isn't receiving a reboot information at all.

So. We have 2 choices:

1. Remove the ramhack and have a working reboot

2. Keep the ramhack and live with the current issue

It's not possible to add a flag option, because it would require to have a second kernel and I slimmed the kernel down (and don't want to make it fat again) and I don't want to provide 2 zips.

So you're choice. Reboot or Ram.

I will remove or keep it according to the feedback we receive.
[LG Optimus 2x] petyo.tsanov:
1. Remove the ramhack and have a working reboot
[LG Optimus 2x] zebbe77:
+1
[LG Optimus 2x] traxxus:
+1

Do it mate.
[LG Optimus 2x] toastmeisterq:
+1

I miss the reboot function :(
[LG Optimus 2x] tron1:
+1

and another suggestion. Instead of looking for flags in the name of the vorkkernel zip, I would prefer a empty file named vorkkernel-622-boost.txt for example. So I don't have to rename the newly downloaded kernel every time.
[LG Optimus 2x] maini85:
+1

I don't miss the ramhack on standard cm-kernel so i wouldn't miss it here either but therefore have a working reboot again :)
[LG Optimus 2x] xXZaufiXx:
1. Remove Ramhack...

kernel is working fine with MIUI and has the best batterylife !
[LG Optimus 2x] darklajid:
Agreed. No reboot is confusing. Ditch the hack
[LG Optimus 2x] HerrKuk:
Agree

I think RAMhack makes the phone unstable. When i download heavy files (torrents) and plays 3D games at the same time, i usually gets reboots / freezes. It was really bad with 64MB hack, little better with 32.

As i said, i think it's ramhack related
[LG Optimus 2x] darklajid:
Interesting idea.

Would potentially lead to even more situations where you might have flags defined that aren't supported though. Think 20110712 -> 20110717: noboot, boost are gone, so you'd end up with the same issue (renaming the text file instead of the zip, but - yeah..).
[LG Optimus 2x] 75markus:
kill the ramhack ;-)
[LG Optimus 2x] Benee:
Ok. Removed ram hack. commit
[LG Optimus 2x] mauaus:
Cant wait for a new version :)
[LG Optimus 2x] owain94:
it is even more stable and reboot works

lets all love benee for his great work! :D
[LG Optimus 2x] mauaus:
And lets not forget Kiljacken... Awesome work guys!
[LG Optimus 2x] kiljacken:
Thanks for remembering me :)

*Forever Alone*
[LG Optimus 2x] owain94:
Haha sorry mate!

Lets all love kiljacken to!
[LG Optimus 2x] kiljacken:
Hehe, thanks :)

BTW, what do you guys think about my next PC setup: https://spreadsheets.google.com/spr...5q-Ry8MxdGp0ZVpDQTlsb3k4TUZRRzhZWE11Y2c&hl=da

There's still a long time until I can afford it, so I've got a lot of time to hear what you mean about it :D
[LG Optimus 2x] vitaminxero:
I gave it a quick look so far and I like it. The case is too big for my taste, though! Oh yea, you are missing a preorder for Battlefield 3, Crysis 2, etc. =P
[LG Optimus 2x] kiljacken:
I wont be able to afford those games, without waiting several extra months, after the 10 it will take until I can actually afford the hardware..

So unless you're paying it, it won't be on my current list xD
[LG Optimus 2x] raiden-snake:
hi, im using miui firmware"wich i like a lot" but the batery drain is huge, can this kernel make the batery life better? How do i install, just apple update.zip on recovery?
[LG Optimus 2x] Etchelon:
Did I miss something or the download in 1st page is still the bugged 17.07 version with still RAM hack?

Or the new version without RAM hack just replaced the old one at the same download link?
[LG Optimus 2x] TheBo:
@kiljacken Mmm i think it is worth spending some money on a CpU cooler....i can guarantee they are all worth the money....i do a lot of encoding and when you have unoptimized software ... having the cpu stable at 4.2Ghz instead of a stock 2.6Ghz...does a lot of timesaving....

P.s i'm using a Noctua D14 ...running on Air...liquid cooling needed toomuch monthly care for me.

Btw we are OT
[LG Optimus 2x] mauaus:
That machine sure sounds powerful, cant remember the last time i upgraded my rig... haha cant remember the last time i played on it either :p
[LG Optimus 2x] mauaus:
Its not out yet, give them some time should be out soonish
[LG Optimus 2x] kiljacken:
Okay, I'll look into that. The cooler coming with the CPU should be okay for stock speeds, but I might give OC'ing a try.

It's the highest end AMD CPU, with a higher end ATI GPU, so yeah, it's a beast!

And atleast it's better than my crappy AMD Athlon X2 laptop from acer..
[LG Optimus 2x] mauaus:
Who is the CPU king these days Intel or AMD? Bias aside of course? hahah

*** Nice subject while we wait for the next version... Lets hope we dont start a flame war between AMD and INTEL fanboys***
[LG Optimus 2x] kiljacken:
That depends.. If we take a power/$ AMD would win.. If we take power/cpu Intel would win.. The "new" Intel i7 hexa-core 3.4Ghz is baws, but I could buy about 4 AMD Phenom II X6 1100T's for the same price
[LG Optimus 2x] Etchelon:
Ah ok, I asked cos I saw someone saying "it's much more stable now!" but that wasn't either Benee or kiljacken, so I figured the new kernel was available for download somewhere :D
[LG Optimus 2x] arthofer:
To stay OT: If you buy for example a i5-2500K and overclock it with a nice cooling solution, it should beat every AMD Hexacore ^^

Back2Topic: Be nice and give us a Version without Ramhack *throws in 10 bucks* 512MB should be enough ^^
[LG Optimus 2x] mauaus:
Just bought a new apartment so im gonna steer clear from a new PC for now, but i am sooo tempted to upgrade
[LG Optimus 2x] kiljacken:
Okay, I'll build a test build, and let you guys try it out.. Brb
[LG Optimus 2x] mauaus:
Awesome, Beenee and kiljacken keep spreading the love haha
[LG Optimus 2x] kiljacken:
Okay, here is the test build:

http://dl.dropbox.com/u/414744/LGTEST/vorkKernel-LGP990.zip?dl

Please report back with any errors you find
[LG Optimus 2x] mauaus:
do flags work on this zip?
[LG Optimus 2x] HerrKuk:
Probably to early to tell, but i tried to push phone to its limits.

No problem at all

Set CPU stress test also ok
[LG Optimus 2x] arthofer:
At least the -622 Flag works ^^

Starting test now ^^
[LG Optimus 2x] kiljacken:
Yeah, just write them after the LGP990 stuff
[LG Optimus 2x] mauaus:
Thanks a lot Kiljacken :D so far awesomely stable and it reboots with flair and grace
[LG Optimus 2x] Benee:
No. We don't have 512 mb free ram. The mem is divided. So the gpu takes 128 mb from it (512-128=384 (-1 mb for reboot information etc) so 383 free Mb left for apps).

Yeah was a privat test build I gave owain (From time to time I need some testing to be done, but don't want to push it to the whole public guys (you :D). No offense ;) )

Edit: No you can't apply to be in privat beta test.
[LG Optimus 2x] zebbe77:
Everything works fine here as well, thanks
[LG Optimus 2x] arthofer:
Sure we can't use all of the 512 Meg, but in normal use, those 232MB were enough ^^ but Ramhacks werde complicated since the days of HTC Dream (Google G1)

a non-ramhack Version is great because i want to UC/UV (right, underclock and undervolt) my Phone for daily use without the hassle of having the ramhack...
[LG Optimus 2x] Benee:
I don't recommand undervolting. Running with 760 mhz ok (if you like it). But undervolting. arg. The kernel is undervolted already. If you're undervolting it even more, you're not only *potential* damaging your device - You're device will produce heat under load. Heat is bad. Heat is bad for battery drain. Did I mentioned heat is bad?

So I would suggest that you keep the stock values (even thinking about ripping out the undervolting interface).
[LG Optimus 2x] sacredsoul:
Oh crap. I undervolted all values to about -100. Guess ill go back to stock now.
[LG Optimus 2x] Etchelon:
Lol how come??? UV causes heat? I mean, system will heat up if we make it use less current???

Anyway, can you explain what you mean by "kernel is already undervolted"? For example, in pimp my cpu i read 1015 Mhz and 1000 mV but in reality the voltage is lower already?
[LG Optimus 2x] Benee:
Under load your device will heat up faster than without undervolt (same with overvolt. Both can burn out your device). Than there is another point. If your device is getting hotter than you it will need more mv to work propably or it will reboot. So we have on a undervolted device: load -> heat -> electronics produce a higher resistance -> kernel drops out (reboot). A reboot is consuming more battery than you can save with undervolting. I would only recommand -25mv uv if you like it. But you won't notice it really. It won't extend your battery life to 2 full days under heavy use.

Edit: a little sneakpeak :D found some interesting tweaks :o
[LG Optimus 2x] lws803:
Hmmm does the 32mb RAM hack affect anything?
[LG Optimus 2x] Etchelon:
OK I'll trust you on that... Or maybe not, I think I'll do my tests cos you didn't give me good enough response for an engineer like me :D

Anyway thanks for your work, keep up!
[LG Optimus 2x] Benee:
Oh a engineer :D than pick a electro engine which runs with..hrm 440mv and apply 220mv ;) have fun :D
[LG Optimus 2x] Krusher1973:
And then there are the tolerances in every electronic device :p So what works on my device might not work for someone else's :D Anyway my device runs at 760MHz/900mV for everyday use without any problem (I get about 34hours between charges), if I need more speed I just set it to 1400Mhz.
[LG Optimus 2x] petyo.tsanov:
@Benee what "uv/oc" table you recommended?
[LG Optimus 2x] Benee:
so not so heavy use. My batt runs flat after 18 hours. Ok I'm flashing it ~30 times a day (poor flash mem :D). The problem is you need to check if it is stable, when your device is hot. I can't give any support if you are undervolting because it could be a issue with it and so on. Personally I dislike it really (I started to hate it on desire haha :D). Maybe I'm a little bit distracted :D

none ;) leave it.
[LG Optimus 2x] 719rock:
hi bro

THE Mocaco Gr VERSION can used This OC/UV???
[LG Optimus 2x] Benee:
Could you read the first line from the first post, please.
[LG Optimus 2x] unfnknblvbl:
request:

Not setting the density flag (at all) currently seems to force LCD Density to 240dpi. I set my LCD Density to 200dpi via another app, so flashing this kernel was a bit strange when it rebooted back into 240dpi.

Can you change this that so not setting the flag doesn't do anything at all to the LCD Density?

Thanks :)
[LG Optimus 2x] TheBo:
I'm not an engineer, but at some point this should have sense,

I said "at some point" because if a lucky sample tolerates lower values very well, and if voltages are right and well calibrated for stability, this should have no reboots at all, and in that particular case the battery should drain slower himo.

Obviously luck is not normality, and since his work is made to be used from a vast number of people with different samples, differnt ambiental T, humidity , etc...taking this into account Beene has taken his decision, which I agree.
[LG Optimus 2x] Benee:
Erm... Then I don't understand why someone should set it without a value after it (if it does nothing). I changed the behaiviour in next release so it will have a default value of 230 and you can overwrite it with your own preferences.

yeah but then we're not speaking about 100mv down. If we take 1015 Mhz we have 1000mv. So it's 10%. Yeah some devices can handle oc/uv some even can handle ov well but it needs to be tested well and if someone does this I can't help him/her if he/she has problems with reboot. Voltages are imho a thing users shouldn't touch, without a decent knowledge about cpu's etc. No offense ;).

On htc desire I handled it that way: I provided a compile script, a small instuction how to use them and then do what your want with your device. The source code is open and you can do what you want with it ;)

But anyway just my opinion ;)
[LG Optimus 2x] Etchelon:
Well electric circuitry isn't exactly my cup of tea as you noticed, I study chemical engineering, I just know that the lower the voltage, the lower the dissipated power and a cpu just works or doesn't work, "struggling for power and thus heating up" isn't something I conceive, that's why I'm still skeptical :D

Anyway I just sold my desktop PC (to buy this phone lol) and the AMD CPU would stay around 10 centigrades cooler when undervolted from 1.325 to 1.285 V @3200 (2800 stock). A few mV less and it would just freeze, there wasn't a range of values for which it worked undervolted but heating up, it was on off, 1/0.

I might well be mistaken though, that's why I'll do some testing :D

Thanks for the pleasant discussion btw :)

Edit: back on topic, should I leave deadline or switch to noop as scheduler in pimpmycpu? And how about govenors in the cm7 settings? There are 2 (performance and power saver) but none is selected by default, what's that? :D
[LG Optimus 2x] Benee:
Ok here is a detailed explanation to the concept of microprocessor + the difference from a desktop to a phone undervolt.

Basic stuff:

Some math stuff:

Enough math stuff ;):

So it drains less battery and produces less heat. It's true.

But here the big difference is coming from a desktop to a phone: The cooler. You can cool your pc with a good active fan and so having a cool cpu. We carry our small device in our pockets. A desktop cpu isn't put into a small half cm high case. It is in (mostly) colder rooms than our pockets.

So the cpu is heating up -> the resistance is increasing -> we have no "variable" voltages like we have on a pc (neither we have a nice cooler on our phone. Only a passive one ;) )

So you see. The phone has absolutly no chance to lower the heat or to stabilize the cpu again. So it will only heats up more and more until it will dropout.

Noop is ****. Leave it deadline. Optimized it for our devices ;).

And we don't have govenors. You can set one but the cpu isn't reading it suggest current freq.
[LG Optimus 2x] unfnknblvbl:
No, sorry - what I mean is that just flashing the kernel with the default filename seems to result in your dpi being set to 240
[LG Optimus 2x] Benee:
hehe ;) no need to feel sorry. I altered it (in next release) to 230 by default. But good point ;)
[LG Optimus 2x] Wing_Zero85:
Is in this kernel integrated the Voodoo audio module?

thanks in advance :)
[LG Optimus 2x] TheBo:
yes it is....

think it should be reported in the first post, since it is a valuable feature...supercurio has developed for us and vorkKernel includes it...

And to enable it you have ALSO to buy the app from the market (voodoo control Plus) since with the free version it is not working ...(yet).

STEP1. flash the Kernel

STEP2. Buy the app
[LG Optimus 2x] Etchelon:
All right thanks once more! :)

I was afraid to touch those 2 settings, they look like sensible tweaks, good thing I don’t have to.
[LG Optimus 2x] Wing_Zero85:
Thanx ! :)

I think should be added as you said.
[LG Optimus 2x] imayoda81:
how could undervolt produce more heat ? :D :D
[LG Optimus 2x] b3ndech0:
You dont have to wonder about that u ugly robot. What do you think? Riding unicornsharks gives you more friends ore whuuuuuaaat? xD
[LG Optimus 2x] kiljacken:
Herp.. Guess I better take some rest, so I can finish up the kernel flasher APP tomorrow...

Cya
[LG Optimus 2x] Benee:
<3

10Chars
[LG Optimus 2x] JJnJ:
Thank you very much for all your hard work!!
[LG Optimus 2x] b3ndech0:
Lovely, if you do it well ill send you a golden horn and some makeup ;)
[LG Optimus 2x] kiljacken:
Okay, the app is pretty much finished.. I'll just have to make some cleanup, and do some optimization, and then it should be ready to use by next kernel release :D
[LG Optimus 2x] NickHu:
Here's the best analogy I can provide: Fat guys get tired easily, skinny guys get tired easily, somewhere in between is where you get athletes/bodybuilders/etc.

Think of weight as voltage.

Makes sense?
[LG Optimus 2x] TheBo:
Decathlon people and marathon people are pretty much slim ... some muscles and a lot of nerves...lol
[LG Optimus 2x] NickHu:
Skinny != Slim.

I'm talking like, scrawny like.
[LG Optimus 2x] Benee:
Ok first the touchscreen fix was done by arcee (will be in new nightly).

Then erm fixed download link and third wtf pimp my cpu? Hrm haven't checked yet. I'm using tasker with execute plugin for this, hehe. It is working for me that way. But why pimp my cpu is looking for cpu govenors? It doesn't make sense, because tegra drivers handles the scaling, not the standard cpu govenor. They are disabled. Hrm looks like a bug in pimp my cpu.
[LG Optimus 2x] enzoup:
hi. i installed setcpu. after that pimp my cpu worked for overclocking. than i deactivatet setcpu, so it doesent change the frequenzy to 1000 mhz. dont know why this worked. hope it remains working
[LG Optimus 2x] gaeng4665:
If you want pimp my cpu to work, you have to go to settings/cm settings/ and change the cpu governor...
[LG Optimus 2x] manciu:
You're done but, probably many people like me use pymp my cpu to undervolte cpu. Cpasjuste, the pymp my cpu creator, had disabled governor yet in latests pymp my cpu versions.

I think it's a file missing issue...
[LG Optimus 2x] Benee:
Hrm. Ok confirmed workaround:

and a short tutorial for terminal emulator or something else (this is working and you don't have to select a govenor in cm settings)

# get su access
su

# replace the value with max overclock value
# available choice are: 300000, 500000, 800000,
# 1000000, 1100000, 1200000, 1300000, 1400000
echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

# echo apply undervolt. 25, 50, 75, 100.. mv down.
# the first number is the value for 1400 Mhz. The last for 300 Mhz.

# min voltage = 770 Mhz. So it doesn't make sense to underclock the
# 2 last values more than 25 and 0.
echo "50 50 50 75 75 75 25 0" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

If you use tasker you take both echo commands and place a ! in front of them (this requests su - no need for the first command).
[LG Optimus 2x] wapz:
+1 works for me too
[LG Optimus 2x] :
Hi manciu! Can you please tell me exact settings in pimp my cpu you are using for stable undervolting? Thanks!
[LG Optimus 2x] Benee:
Oh. Just noticed that 120511 doesn't have the libsql patch. I will make a flashable zip today (only with the libsql patch) today. Then you can flash it if you want.
[LG Optimus 2x] temasek:
Post removed.
[LG Optimus 2x] manciu:
Me too confirm that selecting governor in CM Settings Pymp My Cpu works properly! :)

Benee thanks for tutorial!

With last vorkKernel I can UV/OC that:

- 1200Mhz 1050mV

- 1100Mhz 975mV

- 1000Mhz 905mV

- 800Mhz 800mV

- 500Mhz 725mV (I know that tegra2 controller can't set a voltage lower that 770mv...)

- 300Mhz 695mV (I know that tegra2 controller can't set a voltage lower that 770mv...)

No stability problem in benchmark and surfing with Opera Mobile... :)
[LG Optimus 2x] Benee:
Oh thanks man :D hehe awesome
[LG Optimus 2x] jastonas:
With cm7. 16 and this kernel, latest pimp my CPU shows me : seems your kernel does not support.... etc etc...
[LG Optimus 2x] manciu:
jastonas, I've solved with that method...
[LG Optimus 2x] jastonas:
Thank you. That worked.

Still, the options were performance and powersave and none was selected... what is/was the default?