yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] CrawnberyJack:
@master dev , have you tested your own rom?

i really want to see a real buglist. do you have one? you have only two bugs that you are fixing over two releases..and nothing. we are very curious if your rom is better than original cm10. did you know about the rom bugs? because..if you don't test your own rom and .. you have a small buglist.. you think that we will test the rom for you? that won't really happen .

or somewhow.. you have a better rom than cm 10?

and just..by the way.. you said that flashing is only for devs. we already jave two unnoficial cm10 from devs.. do you think that they will flash your nightly?

and why did do that?

" - Undervolt WLAN "

and

" - Reduce BL voltages" ?

by the way.. you can't undervolt the wlan. because it's a newtork. you applied a patch so.. you can undervolt the whole router...so the router can undervolt your wlan?

i can barely understand some of your fixes. some of them they aren't even ... real.

would you please.. explain? and add a screenshot with "wlan" ? so we can see the signal power after you "undervoled wlan".
[LG Optimus Black] rrgrrg:
You can try revolution remix i myself am impressed with it its not on xda but it was made by him . I thought its rubbish but it isnt . Im not his lawyer but he can do a great job and every dev tells him not to be in a hurry . I dont know why he doesnt listen !!
[LG Optimus Black] Edvin73:
Kids.:cool:
[LG Optimus Black] nicholaschw:
Come on :) Its not that im in a hurry. is that i care for users
[LG Optimus Black] rrgrrg:
if u REALLY care for users like me you would have posted the rom instead of side-talking :(
[LG Optimus Black] Hbohd:
First of all, i want to say that i compiled my own kernel, used some tweaks from boype's github (just for learning purposes) and in MY opinion undervolting wlan decreases battery usage when you are using wifi, so it's big advantage. That's real UV, as far as i remember i saw it even in huexxx kernel (correct if i wrong).

I dont really understand how does it work. Is it that wlan drivers delivers less voltage to wifi module?

To the second thing "reduce bl voltages". It's just about brightness of touch buttons on the bottom of our beloved Optimus Black. By decreasing voltages you achieve less bright buttons. It also lengthen battery life.

In my opinion these tweaks are really basic (because even I could do them), let's see how much can nicolas learn :)
[LG Optimus Black] nicholaschw:
Sorry :) Im still in camp. Shall Up Nightly 2 This coming week. Then So on and so forth, Nightlies will be daily releases, Unless there are no changes

The modules make the drivers deliver less voltage.

Take note that Undervolting does not mean high battery life improvement, the percentage increase in life will be 1-3% at the most.

About BL UV, i can consider that, but i am trying to apply a method to allow Voltage controlling by users for it. So, Let me try to apply :)

Over/Under clocking is the thing to take note. Overclocking to 1200MHz, Or 1.2GHz, will cause the battery consumption to increase by 86%, as told by xonar, so if i can add a 100MHz step, The battery life of CM10 will be a big leap.

Shall Aim Everything for 4.2(JB)
[LG Optimus Black] redy2006:
Nicholas Chen,

Do not says ETA's when you can't applied it.. Never make a promise if you can’t keep..

You work "underground": reading, learning, hacking, patching, baking, testing, from your internal resources (read: by yourself), and not just posting each progress with promises like that... Also for a kind of undervolting, it also need to be tested for at least few days, to test the progress... not just saying that you implement it, tell everyone so soon that succeeded applied it and release it ASAP, but then might burning other's phone.. This also a process of learning to be patient.. Developers isn't kind of famous and glory, it has a responsibility..

Bro, it's been few month past, but why you're still not learning properly? Go back and read again what B.Jay's said, about

the ultimate last warning

.
[LG Optimus Black] nicholaschw:
Anything at Senior's demand. Im feeling shag after the camp. And the WLAN UV is working and does not fry anything.

Shall release Nightly 2 when theres time.
[LG Optimus Black] rrgrrg:
Take your time mate but don't post a useless topic to show yourself . You should always create the topic

When you have done a progress that makes it usable for members and you tested it completely .
[LG Optimus Black] nicholaschw:
Updated OP with new build

Since many PMs to me were related for having a ROM Only and Kernel Only Styled zip, The ROM will never include my kernel. Take note that you will have to flash the kernel after flashing the ROM to enjoy everything.

The next build shall have a TouchWiz themed Settings Menu And SystemUI
[LG Optimus Black] JaredMLG:
I've tried it and it is very smooth like project butter is finally working perfectly(some would beg to differ)No FCs so far.So I think all is good. Also,no need to be afraid of frying ur phone;)
[LG Optimus Black] nicholaschw:
Skate, before you post, check my github THOROUGHLY. That way, u will understand how the WLAN is undervolted. AFAIK, has no relation to the phone. Router is a Router, and undervolt saves power.
[LG Optimus Black] gabwerkz:
UV WLAN is nothing new. It roots to knzo, huexxx. Even without the OP's existence, this was used from Nova kernel, Diana kernel, Free Optimus Project, Boype's kernel.

https://github.com/Huexxx/diana/commit/de85227514ad0cbdcc45de4e5654f5664451fd98

https://github.com/chenleicpp/lge-kernel-sniper/commit/69824c4a83751591c37f5d0e2517d6a7c8bd3f10 -> https://github.com/chenleicpp/lge-kernel-sniper/commit/1bd83bf8c33da73d21ea6545d8fb3be7b78060ca
[LG Optimus Black] re4lsk:
my opinion.

and in my opinion is not that good if you have a big house or multiple floors house, it will affect the Tx strenght of the wireless antenna and doesn't save that much battery.
[LG Optimus Black] gabwerkz:
Mine is just for info ;) it's not mandatory to use any kernel with a tweak of it. Stay with stock sniper kernel, stock gingerbread kernel etc.

We always have a choice.
[LG Optimus Black] nicholaschw:
We all know that. You should look thoroughly at his post. Anyways, Give me comments related to the OP.

Yes it does, But at least the small amount was still saved, which if you keep reducing voltages for other parts, little shall become alot. :)
[LG Optimus Black] gabwerkz:
double post.....
[LG Optimus Black] nicholaschw:
Oh to add on, The WLAN Is Undervolted. But the maximum voltage is not UV so much.

Release Candidate under test.

Will include various tweaks and 4.2 UI addons.

Stay Tuned

EDIT

I believe 1.1GHz is of course better than 1GHz and that Voltages may vary in small differences so i decided to clock it at 1.1GHz with the same 1GHz OC.

Milestone 1 is up, and the OC proves to power up the benchmark by 200-300

Shall add more Options of clocking soon

Enjoy ~~~~
[LG Optimus Black] Huexxx:
Your github repo doesn't show any new commit regarding your latest changes...

Have you forgotten to push your repo maybe?
[LG Optimus Black] Edvin73:
:laugh::laugh::laugh:Nice one.
[LG Optimus Black] nicholaschw:
The push doesent seem to work after updating to Git 1.8.0. I will downgrade back to 1.7.X and try again
[LG Optimus Black] Norby55:
I've put this on my P970. It works pretty well, some parts of the UI work better than before. I am using CM10 and it's a bit of a improvement.

It would be interesting to see the implementation of more governors (like SmartAss). A bit of tweaking and this Kernel is set to be a really good one!

Keep it up!
[LG Optimus Black] ardom:
Hello I want to flash this ROM on my Girlfriends Optblack, is anyone kind enough to provide me links to the proper procedures.

Here is the screenshot of her phone information:

Sent from my HTC Sensation XE with Beats Audio Z715e
[LG Optimus Black] nicholaschw:
You need to have root and CWM recovery. Find those in Nooby's Big noob thread. Then flash this and wipe data/factory reset, wipe cache & wipe dalvik cache

SmartAss is ported into the github already, shall implement it soon :)

Drop Me A Thanks!
[LG Optimus Black] ardom:
I found this ROM Converter but I dont know how to identify which V20b.kdz version is her phone., there are a lot of firmwares with v20b, may i know how to identify the correct one, I dont want to mess up her phone with my mistakes though :)

Sent from my HTC Sensation XE with Beats Audio Z715e
[LG Optimus Black] nicholaschw:
Download any v20 Kdz file, and put it alongside the converter. Then convert, and use smartflashtool. U can head to the General section with the Video guide by wagstuff13
[LG Optimus Black] ardom:
It's not gonna cause Bootloop or Brick the phone if ever I did not use the v20b similar with hers? Or it doesnt matter long as it is v20? Thank you for the response.

Sent from my HTC Sensation XE with Beats Audio Z715e
[LG Optimus Black] nicholaschw:
It does not matter.

EDIT

I will now put focus on the kernel. Once the ROM's RC1 Is out, I will stop in place for CM10.1. Till then, there will be no releases of the ROM.

Kernel seems to be obedient and goes to every freq available

ANOTHER EDIT

Well, I have completed R4+. I may not be uploading as i have found policies regarding more OC AND UC. So, stay tuned for Underclocking for those Battery Lovers!

EDIT AGAIN

Great Progress on battery life in R4!

WLAN UV Proved itself!
[LG Optimus Black] rrgrrg:
that is good 5 hours ,, shall wait to r4+
[LG Optimus Black] ontour:
Seems very nice, is the R5 your lastest release?
[LG Optimus Black] nicholaschw:
Yep. Not gonna update OP yet. I need to run tests to ensure it saves more than R4+, if not its useless.

EDIT

Ok, Enjoy R5 :) The battery savings should be noticeable from Normal Kernel 3.0.8 now. Few reports from CM10 Discussion Thread that it has the inability to be able to utilize all Clock Speeds available. Heres what R5 is capable of. 300-700MHz Clocked. The reason why theres 900 & 1100 is because i did not immediately change to them.
[LG Optimus Black] rrgrrg:
now thats what i call great job , downloading and testing :)
[LG Optimus Black] ontour:
Wich governor are you using there?
[LG Optimus Black] nicholaschw:
InteractiveX

No-Op

Clocked @ 400-700MHz

Note that Governors are tweaked.

And, Even downclocking didnt cause lags :)
[LG Optimus Black] 123r4ka456:
using R4 for two days....

i found 1 annoying bug,,,,,

sometimes softkey is off(permanently) and will turned on again after lock-and-unlocking.....

and....could you add more OC freq???

and disable vsync too....
[LG Optimus Black] nicholaschw:
Not a Bug from Kernel :)

Anyways, I will try to add more freq steps. Vsync.... Hmmm, I shall consider as it affects many things
[LG Optimus Black] 123r4ka456:
are you sure it not kernel related issue???

because i didnt found this problem with plain cm10

i tried everything, wipe data + cache..... even format cache + data + system, and reinstall cm10+r4.....no luck so far
[LG Optimus Black] N00BY0815:
It is a kernel issue. Check rmcc s git, he twice added commits concerning softkey light.
[LG Optimus Black] nicholaschw:
Bug report accepted :) I reproduced what u said :) Shall fix now.

Yep, Saw that :) Ty
[LG Optimus Black] N00BY0815:
Maybe you also wanna make 2 version with different LED timeout (or one without any softkey light at all). See here, how it works and how it is timed:

https://github.com/CyanogenMod/lge-kernel-sniper/commit/6294166ba32c3733b5ce9f8abf4e2aaed72d5e16
[LG Optimus Black] nicholaschw:
Im just wondering, Whats the best timeout timing? And Where in the fish can i set the leds to be dimmer
[LG Optimus Black] kretos:
Nice to see such active development. And what's more you listen to comments. I hope that CM10 will not end like CM7. Does video recording works in your rom? In CM10 (but older build from last week) the camera stops when recording stops.
[LG Optimus Black] nicholaschw:
From what i see from here, The recording is nothing. When i press record, the screen hangs(Still able to go to home or anywhere else just that camera recording freezes). When i press stop, it still freezes.
[LG Optimus Black] N00BY0815:
Try to set it to a lower resolution first, record something short, set HD again, then try again. For me this worked jus fine, dont know, if it is still working...
[LG Optimus Black] nicholaschw:
Thanks But when u posted this, i made a reboot :) Recording back to normal :)
[LG Optimus Black] N00BY0815:
At the beginning of the file, you ll find:

#define BD2802_CURRENT_WHITE_PEAK 0x5A /* 18mA */

#define BD2802_CURRENT_WHITE_MAX 0x32 /* 10mA */

#define BD2802_CURRENT_BLUE_MAX 0x32 /* 10mA */

Set them to a lower value (i think in decimal number it's between 50 and 90), 5 mA should then be: 0x19 and you can still lower it more then. CMIIW.

Best timing out for me e.g. is 1.5 seconds, since i only need to tap the screen then to see my softscreen, they go out quickly again and dont drain battery too much. But set it to any value you like. You can offer even more versions, if you want to, but I'd say a maximum of 2, because otherwise it gets too hard to maintain them all.

It's would be even better, if we could control them through a script, or a settings submenu. I think it should somehow be possible to echo a value, that is being applied after, but I think xonar_, redy, or gabz e.g. are better ppl to talk about stuff like that. Maybe Huexxx can even help you and all other CM10 users out a bit there, since it seems, he is a quite good coder as well ;) Just ask him about his ZeusTweaker, because there I think you can at least turn the LEDs on and off completely. Then you should also be able to apply values for timeout, color,... as well.
[LG Optimus Black] RomWiz:
I have the prob sometimes when unlocking phone when there is a led notification (cm10 kernel).

Sent from my Slim Jelly phone
[LG Optimus Black] nicholaschw:
Thanks soo much. Anyways, Like what u posted, i shall implement a lower voltage to further save power. How big is our battery? 1540MAh? Thats 5mA for our LED. should be a big increase in battery life.

Thats what im wondering of. Anyways shall solve it.
[LG Optimus Black] kretos:
In my case 1st recording didn't work - the app freezed when I pressed stop. The video file was not usable. The 2nd went fine but 3rd again was with freeze. Didn't change the resolution.
[LG Optimus Black] nicholaschw:
Nope :) It worked fine for me :)

New Note for all users:

After Flashing the kernel, Make a reboot to somehow allow the recording to work perfectly. If you did not, the recording will freeze no matter what
[LG Optimus Black] N00BY0815:
I am currently not at CM10, but maybe you can try to echo these values:

on: value 17

off: value 0

to this file:

/sys/bus/i2c/drivers/BD2802/2-001a/0x01

Havent tried it myself, but I looked at the values, after I changed softkey timeout to on or off in ICS leak, which is pretty much the same kernel.

EDIT:

And to set a value to brightness, I think you need to echo values to:

/sys/devices/platform/omap/omap_i2c.2/i2c-2/2-0060/backlight/aat2870_i2c_bl/brightness

(copied from cyclon 1978's thread)It's 10 in ICS leak, I think maximum can be 31, so then you already had your ability to contol on/off + the brightness of the LEDs. If now anyone could write a little app, or scripts, or you give the users a how to use it, everyone will be happy with his LEDs ;)
[LG Optimus Black] xonar_:
Those voltages are measure in 0.2mA (I use the calculator in programming mode to convert to and from hexedecimal, I found it's easiest and fastest) (In C it really doesn't matter if the values are in hex or normal since it evaluates to the same thing)

0x5A = 90

0x32 = 50

0x19 = 25

It will make a noticeable difference although it's not something you can put a number on since it depends on how much the phone is using to start with and that changes with usage.

Writing a small app is easy (20-30min maybe,if al you do is buttons and running scripts on button press). The problem is it will be kernel specific since everything in sys is generated by kernel.

I'm waiting for official P970 ICS kernel before I start working on kernels. I think Huexx is also waiting.

@nicholaschw

I just finished my last subject I have to study hard for (read I got my life back :D) so if theres any question you still want to ask me go ahead . I know I said it to be Monday but I got my dates mixed up.

I might still be preoccupied for a short while since I'm waiting on USACO results. (read checking website in irrationally short periods )
[LG Optimus Black] N00BY0815:
But if it's just soo little work for a skilled person and CM10 kernel probably stays pretty much the same, why dont you or someone else who has time, just quickly write it? I am currently learning C, so I dont wanna learn Java for now, in order not to mess all things up. But as soon, as I am skillful enough, I ll try to write something small ;)
[LG Optimus Black] xonar_:
Supper first then I'll quickly see if I can throw something together. I have to prioritize.

Good luck in learning C. It's a really nice and powerful language (My second favourite next to python). I think it would be better if you started on a easier language since C easily gets really complicated even on simple problems. C++ is alot better to learn than C since it's got a lot of common functions already preprogrammed for your convenience. (Not nearly as much as Java. Java literally spoon feeds you the whole way).
[LG Optimus Black] pkb_always4u:
C, its my favor. Here to help if needed!
[LG Optimus Black] gabwerkz:
I think it would be ideal to try 200, 500, 800, 1.1Ghz. Just a suggestion though...

Then try playing with the value of this https://github.com/nicholaschw/ARM-Project/blob/master/arch/arm/mach-omap2/omap2plus-cpufreq.c#L546
[LG Optimus Black] nicholaschw:
Ok devs, I love you so much man. Im so delighted with your assistance. Anyways, Due to that OC of 1.1GHz, I realised this kernel fixed The Vibration Issue. Wow man, now i know whats hard work digging into source codes! MIND BLOWING. Implementing Nooby's LED In about, 12Hours? Just woke up suddenly at 2AM. xonar_, Pleaseeeeeeeeee Help me in adding new opp.. I know where to add and in the end i get a build error that said its not a function.
[LG Optimus Black] N00BY0815:
Even i can include a lower softkey brightness or turn it off completely, so it should just take you minutes, maybe half an hours if you sleep 20-25 minutes of that time ;) i can later give you the source, where lg turned the keys off completely.
[LG Optimus Black] nicholaschw:
LOL! They did?! Hahas :) Anyways, I just want the LED to be at 1mA. Just need to find out how to get the hexedecimal. XONAR, Lend me your calculator :B
[LG Optimus Black] gabwerkz:
You should check and study this, either direct or terminal emulator.

/sys/devices/system/cpu/cpu0/cpufreq/stats/trans_table

cat /sys/devices/system/cpu/cpu0/cpufreq/stats/trans_table

KSM and zRAM is also supported on 3.0 kernel, if you want to test them search on how to activate them. Just don't forget to "echo" your swappiness cause you made it 0 as well.

Samples are:

# Activate KSM
echo 1 > /sys/kernel/mm/ksm/run
echo 1200 > /sys/kernel/mm/ksm/sleep_millisecs
echo 200 > /sys/kernel/mm/ksm/pages_to_scan

echo 60 > /proc/sys/vm/swappiness
# Set zRAM size (64 or 128)
echo $((1024*1024*128)) > /sys/block/zram0/disksize

/system/xbin/busybox mkswap /dev/block/zram0
/system/xbin/busybox swapon /dev/block/zram0

or

mkswap /dev/block/zram0
swapon /dev/block/zram0

If you don't find them helpful/necessary, just remove the lines.
[LG Optimus Black] nicholaschw:
Lol :) Thank you :) Shall check later. Btw, What does that do?
[LG Optimus Black] gabwerkz:
It's a frequency statistics. Like how fast one frequency scaled up/down to another frequency.
[LG Optimus Black] nicholaschw:
Ok. Gabz, Can you help out jhash tweaking and RAM? Noticed that RAM Management is very very poor. Please commit my git. ;)

EDIT

RC1 Uploading

ALL 4.2 Features available with tbe newer version of photo sphere.

Enjoy ~~~

Quality of photo(Friend Tested from his OB)

A few screenshots on RC1

Tapatalk upload limit reached.. shall do somethin about it

Anyways, Uploading RC1 now

UPLOADED

Updated OP.

Please use my kernel and clock to 1.1GHz before using PhotoSphere as there may be lags

EDIT AGAIN

Added New tutorials on usages for more tips.

We did a 9Hour Sleep challenge. The battery lost 5% for the whole night, so thats a small improvement! Lets aim forth and reach 1%!
[LG Optimus Black] :
OK... I flashed M1 kernel on latest CM10 (19th's)... to see if the guy did learn... and I can't oc to 1200, nor uc to 200... did I miss something or is it that I'm still a bit naive about the 3 name guy? Too bad...

Edit: yep, I got it, m1 is not m2 but it's not clear: m2 is described but not available... still a bit of a hurry about achievements... updating first post after tests and release should be the way to avoid this kind of confusion...
[LG Optimus Black] nicholaschw:
Okay :) Noted. The Kernel currently OCs to 1.1GHz. Short after, i will add more clock rates. stay tuned.
[LG Optimus Black] redy2006:
Can you give us kernel logs? I don't have time to test..
[LG Optimus Black] :
Me? Logcat?
[LG Optimus Black] N00BY0815:
No logcat, he needs a dmesg.
[LG Optimus Black] :
Dmesg's what I thought first, so, with m1 kernel on 19th's, here you are:

http://pastebin.com/GNGDvzRY

Tell me please if something's naughty in that...
[LG Optimus Black] N00BY0815:
Nice to see help on this thread, but could you maybe make a more recent one? With the latest kernel. I am also using another rom (v28c) recently...
[LG Optimus Black] :
Ok. No big deal. First post's such a mess with flashy annoucement that I thought m1 was the latest... but, my bad.

Just rebooted to recovery - no wipe at all - and here's R5 ("ARM Project R5") 's dmesg:

http://pastebin.com/4K9VVkJ0

@nicholas: Why not naming stuff like 0.1, 0.2, etc... and of course following a normal build-test-release process to avoid losing yourself and users in a multi-hell-flavored kernels and/or roms? Don't take it the wrong way, at least you're building a cm10 oc'd kernel, and that's a good thing.

Edit: And... Got SOD... Nnnh...

Now wipin' cache and dalvik...
[LG Optimus Black] N00BY0815:
Thats a good point I think and dont always give codenames, since it confuses more, than it actually helps...
[LG Optimus Black] rrgrrg:
stupid dropbox is down , please re-upload rc1 rom :(
[LG Optimus Black] nicholaschw:
Let me just carry on to Milestone 2. Just take note that the format is CM Styled.R5 is the latest. anyways, thanks for that dmesg

Re uploading.
[LG Optimus Black] :
Not so good example to follow, I think, as we all remember the "stable" cm7... but maybe I'm too "debianized" to be at ease with this version of vocabulary. To me stable is stable, and testing is usable. Other kinky names just bore me.

Please take example on Huexxx... simple and continuous updates naming, and testing stuff is clearly declared, like when he made ROMs to track SODs or kernels to test different ways to go forth...

I bet it'd be simple for you too to go this way.
[LG Optimus Black] nicholaschw:
FINE! I shall use vX :)

Updating OP with new mirror to downloads

Thanks anyways :)

Subsequent versions now use version numbers

Thank everyone reading for using my kernel. I love you guys. You made my day by getting 69 Downloads for R5. I hope you guys love it :)

Soon, the big surprise comes..

EDIT

LED errors. WTF.

At least I have a dmesg from a user
[LG Optimus Black] rubencho:
logcat not working

Hi nicholaschw

It seems logcat is not working, this is what I get when trying ti run...

shell@android:/ # logcat
Unable to open log device '/dev/log/main': No such file or directory

Thanks!
[LG Optimus Black] nicholaschw:
LOL. Get me a dmesg
[LG Optimus Black] rubencho:
dmesg

Here you are

http://pastebin.com/eRM5D02v

Regards

EDIT:

Strange, I had to remove

rm /dev/log/main

from /system/etc/init.d/02Logger. Never had to do this in other ROMs...
[LG Optimus Black] nicholaschw:
Nice to see everyone helping

Because i added a tweak to disable logging in the ROM.