yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] TrymHansen:
I've read through your post three times, and I thank you for the Introduction to Elementary electronics. We're all very impressed, I'm sure.

You however, claimed that when I stated that running a task on THE TEGRA2 at 800Mhz would probably use less energy than running the SAME TASK at 398Mhz I was blatantly wrong. I see no proof of, or even a hint of proof, of this. Anywhere. You're referencing Pentium and AMD architectures, which has as much relevance to ARM-architectures as a bag of mixed nuts does to Arkham Asylum. (To paraphrase Douglas Adams.)

You ask: Why ever downclock?

Because most tasks don't require huge amounts of processing power, and will happily finish in a very short time even when running at 300MHz. As you state, switching up to the higher frequencies incurs additional energy use alone, before even starting the processing.

If you have however, a considerable work-amount (by that I mean a task which will take several hundred thousand cycles, in other words 0.2-0.3 seconds at 1Ghz) I still maintain it will be more energy efficient to do that work in the processors most efficient state, that would on a standard Tegra2 be at 1GHz.

As a counter-question? Why ever upclock?

I'm done with this conversation now, rest assured I will read your answers, but I can tell that continuing this will not be very....energy-efficient.
[LG Optimus 2x] Etchelon:
This is outrageous after erups's kilometric post :D
[LG Optimus 2x] diegonando22:
:eek::eek::eek: too much to read today :D
[LG Optimus 2x] squide:
the equation already tell everything...

if you have time, try put some voltage and frequency in it and compare.. :)

but after all... please take a look of the source of the virtuous_oc first..

https://github.com/rmk40/virtuous_oc_daemon

though we don't have the andrev_oc source,

we believe it referenece quite a lot to that.
[LG Optimus 2x] TrymHansen:
I'm very bad at solving equations with unknown factors. Like C.

I've stated TWICE already I'm on it. And again, yes, unless I'm missing something you're right in that that is not event driven.
[LG Optimus 2x] Striatum_bdr:
So we just have to wait a good willing person that will conduct a practical experiment to build a data table by measuring the time needed to perform a determined task at different frequencies to be able to answer to the question.

As I see this formula I notice that Voltage is squared so little variations have great influences, and the only decreasing factor with upper frequencies is Time. So if Time reduction doesn't balance the voltage + frequency majoration, you'll mathematically have a higher power consumption at higher frequency, even if the task is done in less time.

As I'm a neurologist you can treat me silly and I will accept it as I don't have any skill in physics and electronics :o. And remember that Geneva Agreement is here to protect me. White Flag !! Don't shoot the ambulance !
[LG Optimus 2x] squide:
you don't actually need to know that value for comparison :)

as it will not change in respect with voltage or frequency..

just compare the two equation in terms of C

the difficult part is how can you record the time used for finishing the processes during screen off. As all we know 800MHz should finish the task quicker than 389MHz.. but exactly how much faster is the key :)
[LG Optimus 2x] TrymHansen:
Yeah, realized that just after I pushed submit. Making a spreadsheet now. Real time isn't needed, just theoretical time.

Say a task which at 1GHZ finishes in 1 sec will at 800 MHz finish in 1sec*1000/800 and at 389 at 1sec*1000/398
[LG Optimus 2x] spica1234:
Actually oc daemon is running a while true loop, not even in background plus oc daemon needs to listen only to fb_wake and sleep event. But to take an immedieate effect on user specify freq it starts a while true loop which is unnecessory just because a manual or daemon start does it.

And yes its clue less but at 800mhz power consumption and generated heat is very low. Actually nvidia doesnt use standard governors like conservative or an ondemand but a psuedo governor. May be at 800mhz it listens to suspend process only ,and at diff freq it uses more than usual interpolls to increase/lower cpu freq threasehold.

By practical usage of. 800mhz max freq battery lasts atleast 20% or more rather than non-800 max freq:/
[LG Optimus 2x] TrymHansen:
The jury's in, and here are the results from Norway:

First column: Power, second capacitance (I used a constant of 1 as it shouldn't affect the result whatever it's set at, unless it is not a constant), then frequency (I used the numbers from HP-kernel, which runs at 1015Mhz, not 1GHz), then voltage, then relative time to finish a task which at 1GHz would take 1 second, then at last total energy spent. So although these are not real numbers they should describe the relative energy use of the frequencies.

2200000000	1	1408	1250	0,7102272727	1562500000
1539000000	1	1216	1125	0,8223684211	1265625000
1212750000	1	1100	1050	0,9090909091	1102500000
1015000000	1	1015	1000	0,9852216749	1000000000
648000000	1	800	900	1,2500000000	810000000
363417500	1	503	850	1,9880715706	722500000
248960000	1	389	800	2,5706940874	640000000
128066400	1	216	770	4,6296296296	592900000

...and erup wins! At 389Mhz the CPU uses only 64% of the energy required at 1GHz for the same task.
[LG Optimus 2x] erups:
Say you have P(1MHz) = X (V and C constant).

Then P(2MHz) = 2X.

This is linear, it does not take into account everything.

Also since T=1/F then T(2MHz) = 0.5*T(1MHz)

Things in reality are highly non linear.

Many chips do voltage scaling other than frequency scaling.

I'm not familiar enough with our ARM platform to say, but I would side on voltage scaling being active (albeit less aggressive than what we users would manually do).

The power/performance curve is very similar to cars' power/torque: there is a sweet spot at which you get the best performances out of the power you consume.

But the plethora of transistors, as stated by another user, takes its sweet time to change frequency, so I still maintain that limiting the frequency of the cpu would produce better energy results than not limiting it.

Although to have the ultimate answer, informations beyond my reach (deeply technical power specs from Nvidia) would be necessary.

One could do away by measuring amps and voltage to the core during execution to gauge at an approximation of the actual real situation.

---------- Post added at 07:35 PM ---------- Previous post was at 07:34 PM ----------

Yiiieayyy!

I was starting to feel I was wrong somehow :D
[LG Optimus 2x] miina_tokiha:
so what's the final conclusion, guys?

should we put 389MHz or 800Mhz max value at sleep for max battery reserve?
[LG Optimus 2x] TrymHansen:
The conclusion is that if nothing else matters, set it as low as you can go.

But other things DO matter, like that you don't want a phone which doesn't let you answer before 5 seconds has passed, and most importantly this:

The numbers above describe what is happening when the phone is DOING work. Most of the time it's not doing anything, and entering a deep powersave state. This probably accounts for as much as 97-99% of the time it's "switched off". The only influence you have is over the remaining 1-3%. So I'd go with the default settings of 300Mhz-1GHz to get a pleasant mobile experience.

In short, do not worry about it, you can save a lot more power by turning off wi-fi, 3G, dim the screen etc. than you can ever do by messing with the frequencies.
[LG Optimus 2x] spica1234:
It listens to suspend as per kernel drivers. Whatever freq it runs aftr finishing tasks cpu listens to suspend states for freq scaling. An event wakes cpu up. Suspend wake/resume is very much important deelp sleep state,regardless of app's partial wakeup depends on suspend signal. Actually complicated part is nvidia's written drivers' analogy doest co-ordinate lg drivers.

Atleast in recent GB stock kernels from leaked rom's battery life seemed to be improved which indicates lg has somehow managed to write a decent driver. The chages they made in gb kernel especially in power consumption is admirable. That sources may be could solve many problems;/
[LG Optimus 2x] giuseppe.m:
My script turn off data connection in sleep mode.
[LG Optimus 2x] TrymHansen:
You may still be :) As you say there are a lot of things we don't know about the chip, even wikileaks can't get anything from NVidia.

Anyway, I liked your last post a lot better than the first :)
[LG Optimus 2x] miina_tokiha:
change topics.

will it possible to make the phone wake using volume buttons? (on next ROM release maybe)

I've using 3rd party lock screen (WidgetLocker), set to wake using any button, but don't work.

on Optimus Black P970, I managed to make the phone wake using the gesture button.

my power button a little stiff.
[LG Optimus 2x] spica1234:
Kernel drivers. GPIO mapping I will try to look if possible.
[LG Optimus 2x] miina_tokiha:
thanks, spica.

I surely looking forward for your kernel after stable.

new devices have less & less physical buttons.

if there are only 1 button to wake your device, and that button broken, you're doomed.

(I'm looking at you, Galaxy Nexus)
[LG Optimus 2x] davjan:
Can you post link to your script?

Want to try it
[LG Optimus 2x] shpapy:
Did some else notice that Skype video calling with front camera is reversed?
[LG Optimus 2x] Memhis:
Hello :).

First, to thank author(s) for this, it`s good :).

So, to start. I am coming from stock 10D. I am on it for 24h (v2.0+Sp1+Sp2) and and this is so much smoother. Battery life is little worse then before (a day now, day and half before). Sound (call) is little better. The thing which is bothering me is APN. Before I have using APN On/Off, which have only two functions (Keep MMS enabled and APN On/Off) and it works perfectly and it was all I need. It is not working anymore. I have tried similar programs from market. None works on this ROM. Is there a solution, because this is important in my way of using the phone (I don`t have data plan and would like to receive my MMS anytime) ? Or to go back to 10D?

(Sorry if this was answered before, it is little hard to read 400 pages ;))
[LG Optimus 2x] giuseppe.m:
#!/system/bin/sh

#

(while [ 1 ]

do

AWAKE=`cat /sys/power/wait_for_fb_wake`

if [ $AWAKE = "awake" ]; then

svc data enable

AWAKE=

fi

SLEEPING=`cat /sys/power/wait_for_fb_sleep`

if [ $SLEEPING = "sleeping" ]; then

svc data disable

SLEEPING=

fi

done &)
[LG Optimus 2x] afpapa:
I suppose you don't use the stock camera app but the modified one? It has this problem AFAIK
[LG Optimus 2x] mba780:
Installation

Hi guys,

though this question might be ansered...:

Is it necessary to install in this way:

1. Custom 2.0

2. SP1

3. SP2

4. SP3

or contains SP3 the older service-packs?

thanks in advance for any advice!
[LG Optimus 2x] shpapy:
Stock LG from topo 2. 0
[LG Optimus 2x] TrymHansen:
This program, although strictly not event-driven, does certainly not take much cpu, and could just as easily have been made as a simple script.

What happens is that when you, a program or app, runs

cat /sys/power/wait_for_fb_wake

or

cat /sys/power/wait_for_fb_sleep

the app/script basically falls asleep when trying to cat the state it is not in at the moment. It does not return from the routine until a screen event has happened, at which point 'cat' finally produces some output.

If 'cat' is polling for input or just gets awoken by some signal I don't know (any linux-gurus out there who can tell how this works?), but whatever it is it practically uses no resources. In effect its the same as being asleep. It does not continually run in a loop which was what it first looked like.
[LG Optimus 2x] Bir92:
yes..you should flash 2.0 than Sp1 ,Sp2 and finally Sp3!!
[LG Optimus 2x] CryptKilla:
I found a bub. I dont know if this is kernel or rom problem.

But sometimes my phone is without any sound. I checked everything is on max.

So if i want sound back need to restart phone.

Anyone have an idea what is the problem?

Using topo 2.0 Sp3, RC4 kernel

Sent from my Tapatalk | www.androidhr.isgreat.org
[LG Optimus 2x] ringthar:
Hey there,

I downloaded topogogi 2.0 and flashed sp3 on top of it. I saw that I need to

flash sp1 + sp2 before I install sp3. If I don't do it, will it drain my battery faster?
[LG Optimus 2x] thesgamer:
happens to someone after the first access, settings-> display says error?
[LG Optimus 2x] waynefox:
is it possible to use the Stock android lockscreen on this?

I miss the swipe to set on silent mode when the phone was locked

I tried the Stock AOSP Lockscreen that has been posted here http://xdaforums.com/showpost.php?p=12867828&postcount=1 but that caused a bootloop issue (it wasn't caused by the startup animation as i first thought)

The lockscreen worked fine on Stock 2.2
[LG Optimus 2x] thesgamer:
use widgetlocker
[LG Optimus 2x] ringthar:
How can I install it? I'm not very good with scripts you know :)
[LG Optimus 2x] shpapy:
copy / paste into a new file, change permissions to execute, and run it (terminal / or script manager).

since its while [1] it will keep on running
[LG Optimus 2x] Striatum_bdr:
FAQ are here for that (link in forst page):

http://xdaforums.com/showpost.php?p=18146527&postcount=2126

See question 10.
[LG Optimus 2x] erups:
http://xdaforums.com/showpost.php?p=18146527&postcount=2126

Q10
[LG Optimus 2x] ringthar:
got it. It says it has a syntax error on line 15: Expecting then.

So it wouldnt run for me :(
[LG Optimus 2x] waynefox:
Thanks

I even read the FAQ before considering the ROM. Didn't read it well enough I guess
[LG Optimus 2x] RietHart:
Can someone please post the code switch internal and external? I tried pretty much everything, now I have accepted that I am too noob to figure it out. A little help would be greatly appreciated.

This is the original vold.fstab:

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

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

Can't wait to really start using the rom! It's just that I don't have a sdcard, so I really can't use it unless I get emmc to be seen as the sdcard. Thanks for reading!
[LG Optimus 2x] miina_tokiha:
no problem if you don't have sdcard.

CWM 5 can install zip from internal sdcard.
[LG Optimus 2x] stevvie:
Edit the line in system/build.prop from user.feature.lock_andy=true TO user.feature.lock_andy=false

Thats IT. no need for ANY extra programs.
[LG Optimus 2x] RietHart:
I know, I'm using that already. I just want the rom to think my internal SD card is my external SD card.
[LG Optimus 2x] hansiiification:
Hey guys,

I have topogigi v2.0 with all 3 sps installed. I was on hp kernel for about 4 days but i experienced that it took a lot of time to wake up to the lockscreen. I used andrev oc tool to oc asleep clock but could not recognize a real difference. So today i converted back to neoblaze kernel but the problem still exists. Does anyone else have this problem or knows how to solve it? Thanks for your replies.
[LG Optimus 2x] squide:
1.6 wake up tge quickest by default.
[LG Optimus 2x] afpapa:
By default the max speed during sleep is set to low. Put it higher (with andrev oc utility)
[LG Optimus 2x] wuffi123:
change internal/external sd card

this works fine for me. just replace the original file in system/etc with the extracted attached file using EsFileExplorer or RootExplorer.
[LG Optimus 2x] erups:
UOT Kitchen

I've been playing with the UOT Kitchen.

So far the icons and most framework mods I have selected have worked.

But the bootanimation didn't.

It's still the last one from erestor6 theme morpher.

Why? How can I get rid of it???
[LG Optimus 2x] leonclement:
great roms Topogigi, anyone else noticed these roms (and every other GB rom) i have tried dont scroll as smooth as stock 2.2, especially noticeable when scrolling in Contacts & messages etc, no way near as smooth and fluid as my 2.2 v10d??
[LG Optimus 2x] montresor60:
Back to Topo 2.0 +SPs 1, 2 and 3 and HP6 after two days with Gr4 and one with Blazing Dragon.

Smooth, fast, stable and much better battery. Not too concerned if there are no further updates; this is the best one for me.

Thanks again to all for your time and effort.
[LG Optimus 2x] leonclement:
How smooth does yours scroll? see my post above yours :)
[LG Optimus 2x] montresor60:
Very smooth in long lists and launcher screens - all scrolling is good. I've read about the problems some have but I only saw this in Gr4 and BD.

1.2Ghz / UV -75 - 50
[LG Optimus 2x] RietHart:
Thank you for your effort, but that vold.fstab does not work. There's gotta be more people who are not using an external sd card here right? How did you guys manage to get android to think that your internal sd card was a normal sd card?

::EDIT::

Nevermind. I'm coming from Cyanogenmod, which has problems when you don't have a physical sd card installed. I realize that with this firmware, everything is just fine without a physical sd card. Kick ass!
[LG Optimus 2x] skejpa:
I just cant believe, that you can live without external microSD card. Look, i just type in ebay "microSD 8GB" and it found soma 8GB card for "Approximately US $0.26" with FREE SHIPPING :D Is it so big problem to buy one ? Not mentioning that you will have additional 8GB free space... or look 16GB from Kingstone...

http://www.ebay.com/itm/16GB-Micro-SD-SDHC-TF-Memory-Card-SD-Adapter-class-4-/200668671020?pt=LH_DefaultDomain_0&hash=item2eb8c8ec2c
[LG Optimus 2x] RietHart:
Well I don't think I need more than 6 GB. Also, transfer speeds aren't even close. Run Antutu Benchmark. My sd card speeds are: write: 10.7MB/s and read 16.6 MB/sec. I will be surprised if your micro sd will come close.

Oh and p.s., ofcourse the bidding starts low on ebay. But there is still 12 hours left to place bids, it will be much more expensive by then. But thanks for mentioning it, if SD cards are really that cheap I'll buy one indeed.
[LG Optimus 2x] Craxx:
...when you want to have a really fast external SD Card you have to buy a class10 Card.
[LG Optimus 2x] darksilk:
Hi everyone, this is the first time i try this rom, currently using v2.0 with the 3 SP and i have two questions.

I'm using Antutu cpu master for oc but, performance is the only available governor? As far as i know, performance always keep the highest frequency on and i prefer to use on demand. Performance works different on this kernel?

And last question, is 100% safe use ext4 file system?

I hope someone can help me. Thank you :-)
[LG Optimus 2x] RietHart:
Darksilk: http://xdaforums.com/show...postcount=2126 there's the OC info. And a lot of people are using ext4, haven't seen problems so far. But nothing is 100% safe.

Hm, when I try to make screenshots with either Screenshot It or Screenshot UX I get a blackscreen with the LG logo. Does anyone else experience this?
[LG Optimus 2x] miina_tokiha:
for Topogigi's ROM, better to use Andrev OC Adjuster here:

http://xdaforums.com/showthread.php?p=18273457#post18273457

plus Myrt Undervolt GUI http://xdaforums.com/showthread.php?p=18347505#post18347505

both work better & easier than CPU Master, I've tried it myself.

yes, no 3rd party screenshot app works for O2X.

use the factory default from LG, Home + Power to screenshot
[LG Optimus 2x] TrymHansen:
This thread will answer most of your questions about governors on Tegra 2.
[LG Optimus 2x] waynefox:
One annoying bug I'm experiencing with this ROM is in the web browser

I set my home page to Google but when I reboot the phone it keeps getting reset to ThreeUK. is there any way to stop this?
[LG Optimus 2x] TrymHansen:
Known bug. It is fixed in the browser from 20j, so you could download a MCR GR4 prebake, extract the browser and copy it over.
[LG Optimus 2x] Sckank:
Can anyone be a hero and make a zip or something out of this?
[LG Optimus 2x] Striatum_bdr:
It's not LG default but GB default.
[LG Optimus 2x] eraldo:
Actually screen shot it does work you just click alternate method and it will take a clear screen shot iv used it a dozen times with np.
[LG Optimus 2x] davjan:
LG stock froyo can also take screenshot this way , so it is LG default
[LG Optimus 2x] Striatum_bdr:
It's in GB features as google learnt me when I searched for the way to do it as it wasn't in Power menu like in CM7. LG perhaps added it to Froyo but it's not in aosp Froyo features, and was one of the two improvements offered in GB (with native copy/paste) to respond to iPhone mockers as ios had both for long and not android before GB.
[LG Optimus 2x] waynefox:
Downloaded, MCR GR4, copied the browser, same issue so this hasn't been fixed on v20j. It's the same version browser as on v20e

Looks like a ROM issue
[LG Optimus 2x] TrymHansen:
Sorry to hear that. The issue *is* fixed in 20j (Using GR4 myself), but I guess the guilty party is not in the browser.apk then.
[LG Optimus 2x] waynefox:
Will have to look for another ROM. It's a shame as this one looked OK

Edit:

Looks like I may have sorted it. It's not ideal but I set the homepage to Google in the browser. then set the permissions on the browser preferences XML file to read only. That stops it rewriting the homepage on reboot
[LG Optimus 2x] Zlatan_61:
I'm happy with the ROM, dont think I will be changing any time soon, TBH I'm a bit tired of flashing a new rom every few days and having to restore all the data.

Anyways, you could use another browser, I use Opera Mini, only use the default one when I want to watch something in flash (usually stream a football game).
[LG Optimus 2x] vinylakos:
Guyz is there a way to change the battery indicator to the stock lg ;or any other i really dislike the current one... also its me or the battery is discharging very fast ;; sorry if the questions are answered but i cant read 400+ posts ...
[LG Optimus 2x] salisbury_steak:
You can change the battery by following the instructions here: http://uot.dakra.lt/how_to/

As for battery life, it's working nicely here.
[LG Optimus 2x] luka2858:
Hello everybody. My market wont download since i flashed sp

123.can somebody help?
[LG Optimus 2x] S0ci0:
did you try to reboot?
[LG Optimus 2x] krumcake:
So, is this ROM discontinued now?

No more updates? :-(
[LG Optimus 2x] TrymHansen:
Clever. BTW, did you wipe dalvik-cache after copying the browser.apk from 20j? If not there's a chance you'd in fact still be running the old version. Just a thought. (Will probably install Topo again later today, I can test it myself then.)
[LG Optimus 2x] arnooo:
for your kind information

MR. TOPOGGIGI

father's got a car accident last week. Please pray to his father in order to recover quickly.

and then only tooggigi can be back to his great updates.
[LG Optimus 2x] luka2858:
I did and nothing,then i wiped cache and dalvick cache and

now it works. For now.
[LG Optimus 2x] miina_tokiha:
There are nothing to update anyway.

until Topogigi get official O2X GB Rom.
[LG Optimus 2x] afpapa:
Tomorrow that is? :p

https://www.facebook.com/notes/lg-m...-gingebread-upgrade-available/301421733202487

Topogigi will come back when and if he cans as he is in a difficult stop right now. I don't think it has to do with anything with GB
[LG Optimus 2x] darksilk:
Thank you to @RietHart, @Miina_tokiha and @TrymHansen. Now i understand a bit more about OC'ing in Tegra and actually im using Andrev OC Adjuster.

Thanks!

I have now 2 more question , lol

1. When i connect the phone via USB, only the external sd is found and I need to transfer files to internal sd.

2. How can i get rid of the "3g" icon on status bar? it is there all the time.

Thank you again guys =)