yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] ivaneris:
Re: [KERNEL] CivZ SITHLORD Kernel - for LG ICS roms / New bootloader only

I see we have our prob nearly done ~ solved...and it's must be good news for all of us...:thumbup:

Wich mean...it's one step further of development to this 02X....sweet...:)

Sent from my LG-P990
[LG Optimus 2x] carburano:
Like Civato... I pushed "my" source to Github but i'm not able to cherrypick... BTW.... I really want to do it becuse I wnat to give credit to everyone worked on source (i did 0.00001% of the work)... so I will use Pengus77 miniguide to start :)

Thanks to all real devs to help us "funny contributors" to try to be compliant.

Peace and love
[LG Optimus 2x] tonyp:
Awesome!

A great starting point is the Github tutorial. It is rather basic but gives you a quick overview of the core git commands:

http://try.github.com

After doing that (15min) you already know how to commit your own kernel changes perfectly.

Now you just need the cherry-pick commands pengus explained above and you should be able to do most of the kernel work on git.

At the github webinterface you got sweet buttons next to each commit to copy the git SHA value, that way you can easily copy and use it for a "git cherry-pick".

You can even cherry-pick a range of commits with:

cherry-pick SHA2^..SHA1

(SHA1 has ot be the newer commit. The ^-sign means that this commit gets included, otherwise it's excluded)

Note that I tought git to myself a year ago during one evening, it's really not hard and will save you quite some time after you got around it :)

There do exist great GUIs by Github for Mac and Windows which help a lot in the beginning:

Windows: http://windows.github.com/

Mac: http://mac.github.com/

(unfortunately working on the Linux kernel with Windows is a pain in the ass, so I wouldn't recommend that.

The problem is that Linux is casesensitive with filenames, which Windows is not.)

GUI Clients for Linux: http://git-scm.com/downloads/guis

Additional reading-stuff:

There's this xda thread which covers some more stuff:

http://xdaforums.com/showthread.php?p=31304826

The Git Pro Book is available for free as well, but that would be a longer read.

http://git-scm.com/book
[LG Optimus 2x] uizz:
init.d doesn't work :(
[LG Optimus 2x] pasolvon:
I'm using SITHLORD 2.2 / but little changes for DMX 1.3. Because i like carburano's tweak and rom.

i think it's more stable and smooth than SITHLORD 1.4.
[LG Optimus 2x] ivaneris:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

+1 i think the most advanced and stable is

1.sithlord rf 1.4 ~ i think no bug found...no massive oc for 3d/2d but therefore...it's stable

2.rf 1.9 just like 1.4 but with oc on 3d&2d,script command for led brightness etc....it's stable...better user experience and score than 1.4

3.rx 2.2 lot of terminal command,module,fsync,etc very helpfull (even i didn't use module command) i think it's the best kernel with best user experience and stability....

Anyway..great job civato...:thumbup:

Ps: for civ,,maybe you could make a release for stable kernel (in one folder on devhost maybe?)..i.e the three i've mentioned + stormtrooper etc (well...user might want to try other or sometime prefer old stable release etc)

Sent from my LG-P990
[LG Optimus 2x] R0B3RTF1SH3R:
this is a TIGHT kernel man. like it!
[LG Optimus 2x] pasolvon:
Ynt: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Here is my dmx edit.

http://xdaforums.com/showthread.php?p=38459561

LG-P990 cihazımdan Tapatalk 2 ile gönderildi
[LG Optimus 2x] ahnuc:
The new rom Rev 4.5 and kernel RX2.2_32RH all work fine, no BSOD, any wifi problem, very stable, don't undestand some users are problem.

Thank you for your hard work for our community CIVATO rom / kernel are the best ICS.

Great work!!! :good:
[LG Optimus 2x] ca229872:
Hi civato,

I´ve this kernel RX2.2 but my battery has few life. Can you should say me your setting in setcpu or antutu?. When I say setting is refered to governor, scheduler and profiles settings too please.

I´ve interative and noop but.......
[LG Optimus 2x] ivaneris:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Use savagedzen+row or smartassv2+sio/row

Interactive doesn't much battery friendly

Sent from my LG-P990
[LG Optimus 2x] galpec:
Thank you civato I don't think you are just enthusiast NOW YOU ARE DEVYOU DESERVE IT!

Hello people.

I want to inform that:

1) I installed the 4.5 and it's kernel 2.2. (factory reset first)

2) With setcpu I use 1300MHz of OverClock....using SavagedZen or SmartassV2 with row.

3) With setcpu I UnderVolt it with -100 all the values ie: 216MHz - 675mV...1300MHz - 1100mV

4) On terminal I ran: "ledmin" and "df_on"

Result?: Even with WIFI ON, PHONE ON WITH 3G DATA ON... Great battery,

EDIT: One time happened the bug: With the screen off (or deep sleep), plugged the cable...I had to remove the battery... but I think this is still NVIDIAS fault.

Best regards to all.

Thank you very much @civato. :highfive:
[LG Optimus 2x] ahnuc:
Very good and helpful! :good:

Tks
[LG Optimus 2x] ivaneris:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Very helpfull...i'll try with -75 uv first...

Sent from my LG-P990
[LG Optimus 2x] proyatzu:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Mh.. lets put -100 then :P thx
[LG Optimus 2x] galpec:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

I know that there will be some 'l know it all people', that will say tegra 2 don't accept less than 770mV at the minimum 300MHz, but I do feel for some reason that CIVATO 'has hit the mark' and with this extreme UV, and the excellent volt table by him, we are enjoying our phone, like it had to be at the first time.

Great dual core speed.

Great UI.

Great Voice Clarity.

Great 3G signal.

Great FM app (for me)

Cool pinch to zoom HD camera/video recording.

Great android apps.

Etc...

....With an squeezed battery, that is giving more charge than it once LG promised, with a far better software.

Best regards to all.

galpec
[LG Optimus 2x] cl06:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Me too... :(

But.. my battery life ia great with oc 1300 - zavagedzen / row - ledmed

:thumbup:
[LG Optimus 2x] galpec:
1) Even for some people with the STOCK ROM, it happens so I don't blame civato's work, I blame NVIDIA's.

2) Great for your phone's battery life: We are becomig the testers @civato and all dev's need to their work, let's keep informing all the configs we make to feel better our phone, so @civato and all the great dev's like him can concentrate on their side of the ball.

Best regards to all.

galpec

---------- Post added at 07:38 PM ---------- Previous post was at 07:37 PM ----------

Please inform us if you feel better battery life as I am seeing on my phone, thank you in advance!

Best regards to all.

galpec
[LG Optimus 2x] cl06:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Oh yeah! No blame for civato.. claps to him! :thumbup:
[LG Optimus 2x] proyatzu:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Yes indeed no probls after 2 days of -100 uv and more battery :) thx for your tip
[LG Optimus 2x] ivaneris:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Civs sir...

Carburano said in his thread..that savagedzen, hotplug and smartassv2 doesn't behave as it's should in our phone...our phone is not fully adapted with it etc he said...:confused:

Sent from my LG-P990
[LG Optimus 2x] R0B3RTF1SH3R:
yeah cant figure if its -100 or -75 or smartassv2 that freezes my fone instantly.. =(

ill test tomorrow when free time. i think its the voltage. but ill try default and put on sav2
[LG Optimus 2x] ahnuc:
+1

I was already using - 50 uv, but now use - 100 uv, very good! :)
[LG Optimus 2x] civato:
Correct but I applied a small patch so all the governors run (switch) correctly.

I mentioned that I applied a patch because switching from hotplug to any other governor made one core stuck.

Maybe carb didn't use that patch. Before that patch it is correct hotplug with other governors gave problems like very poor performance.

Did you have any problem ? , crash , freeze , ...... strange behaviour?

@ all users

Please don't report a freeze or crash when you UV to much. -100 is a lot of UV and maybe possible but stable under any given situation?

So a crash in these conditions is user error and not kernel.

Info:

I'm running 24/7 @ 1544MHz and battery life is still OK , I can get true a whole day and still have 25-30% left.

No UV.

I did a run of 3days with one battery charge (some calls , some wifi , wome text messages) interactive/noop 1248MHz no UV.

In the past days I have been building a kernel for the A500 tablet (tegra2 also), I used different OC settings (not like the patch from WKPARK) and I can reach 1648MHz very easy but the tablet got no 3G modem so it needs less voltage.

I'm trying to port those settings but no luck for now when compiling. I fixed some errors but still run into problems.

Maybe I get there maybe not. But I still believe that SithLord is 100% rock solid if the user treads it correctly. (meaning don't use to much UV)
[LG Optimus 2x] carburano:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Hi friend... I reproduced all the issue also with your kernel... In daily use maybe you notice also few strange behaviours but if you force govenors change and check sys/device/system/cpu for both cores you will notice, using cpu master or system tuner that only core cpu0 will have new governor... This causes instability...

If you use no frills cpu it will be good but hotplug will not work...

We need a real dev :)

Sent from DjangoManouche!
[LG Optimus 2x] ivaneris:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Nope..i'm actually almost have no prob...still using savagedzen+row oc at most 1200 (because i need it for 24/7) and for now uv -75mv

That's why i'm asking your opinion about it...

:)

Carb sir...have you try it with setcpu...(civato seems to use it)

Sent from my LG-P990
[LG Optimus 2x] civato:
It is a software problem , systemtuner doesn't do it's job correctly when using hotplug.

Setcpu causes no problem after the little patch I used, but I got a other patch from my m8 ezterry , I used it in the tablet kernel. Maybe that solves also the problem for systemtuner. Or just lift the hotplug governor as I never use it anyway.
[LG Optimus 2x] carburano:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Are you sure setcpu will set both cores to new governor?

Sent from DjangoManouche!
[LG Optimus 2x] civato:
Yes , I got a cpu monitor running all the time and I see both cores come back a life , while with system tuner if I change from hotplug governor I get that one core stuck in that cpu monitor and a freeze.

With setcpu I can switch between governors like a madman and it will always use the second core again and never crashes.

Benchmarks run high scores like they should

In system tuner one core stays death and causes a freeze when changing from hotplug, or it gives really bad score because the one core stays in a different governor resulting in 0 load on that core and a crash, so in my opinion it is only setcpu that can handle hotplug correctly.

But I'm compiling with a new patch from my m8 ez and I will see, report back to you....................just finished compiling so gonna flash it.........
[LG Optimus 2x] carburano:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

The problem is not core wakeup but core governor assignment... It is incorrect.. Core0 with selected core, core1 with interactive one... This is not suggested...

Sent from DjangoManouche!
[LG Optimus 2x] civato:
I know , maybe I expressed my self the wrong way but will report in 5 if the patch does what it needs to.....

Not fully working.....

But did you use a boot.img or just a zImage from my kernel. Because I think I use different ramdisk settings.

I never had any strange behavior with setcpu.

Will keep testing and if I find something I let you know.

EDIT:

I see what You mean now.
[LG Optimus 2x] louiscypherbr:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

I think carbu is right. I'm changing governor from smartassv2 to savadgezen and /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor is right set, but cpu1/cpufreq/scaling_governor still on smartassv2

Edit: I'm using setcpu to change the governor
[LG Optimus 2x] civato:
Good news !

The patch does it work , changing from interactive to smartassV2 to lionheart to interactive to Savagedzen makes both cores got to the correct governor , I checked in sys/.....

But one downside is HOTPLUG isn't usable anymore = swithing to it = freeze now.

Not a problem for me as I will drop it if it caused problems. So RX2.3 will probably have no Hotplug governor(crap anyway on tegra2) but it will have the fix for both cores to be forced to the same governor.
[LG Optimus 2x] cl06:
Oh! it's a great news... I'm facing little issues changing governors! My "press thx" is over so.... For today thanks Civato!:good:

U are the man!!!

:good: :good: :good:
[LG Optimus 2x] carburano:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

I got this solved by myself yesterday but i hate to surrender to hotplug freezing :(

Eheheh...

Sent from DjangoManouche!
[LG Optimus 2x] ivaneris:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Actually i agree with civato..hotplug just mean to save battery when the phone unused...but when we use it...battery life isn't good...performance also...

So what for?it's ridiculous to have a good battery life without using our phone isn't?

---------

About uv..imho it's not always bigger value to uv will bring better battery life...in my experience...i set in all -75mv from -50 and then it's got 'hot' (in a real term) dunno..battery become hot...and not so good performance...battery life isn't so much different...(and i think it's better with -50) even i don't use ram eater app etc....so then revert back to -50mv dunno with uv -100...is it really stable?i doubt it...:confused:

Sent from my LG-P990
[LG Optimus 2x] carburano:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

I was joking... I really think that custom governors are really placebo/useless / funny names

Sent from DjangoManouche!
[LG Optimus 2x] civato:
+1 except for lulzactive and I think I got that one finaly in, now see if it works.......
[LG Optimus 2x] carburano:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Never used it...

Sent from DjangoManouche!
[LG Optimus 2x] civato:
You should , it is very tweakable with the lulzactive app from tegrak.

You can make it really battery friendly or really speedy gonzales.

Oh and it is working , finally also updated the intercative governor. I was missing asm idle file.

doh .. but the governor bug is back with it , strange , I flashed a stock kernel and with that it also happens.

Ah well back to testing.

EDIT:

Governor Bug is fixed but had to dump some governors and I added the favorite of many with succes LULZACTIVE and updated the interactive to the latest version. (Thanks to the patch of ezterry, thanks again my friend)

Available governors for upcoming RX3.0:

Interactive (updated to the latest version)

Lulzactive (yeaaaah) = I will set this up as battery friendly and I will include tegrak LulzActive app to tweak it.

Ondemand

userspace

perfomrance

conservative

powersave

Lionheart

Lazy

Scary

I dumped the others as they don't work correctly with the governor patch (maybe I add them later if I balanced them more) and hotplug makes it freeze so bye bye hotplug.
[LG Optimus 2x] optimusG:
:good::good:

@Civato is there any posibility to upload a [special] version which doesn't wipe the init.d?
[LG Optimus 2x] civato:
INFO Preview of RX3.0

No , to much problems with init.d files from other roms then. You can always copy the scripts from your init.d and put them in the flashable kernel zip (in system/etc/init.d folder) and flash the kernel then. Or just copy them back to the init.d folder and reboot.

RX3.0: Removed please read why. (testers can use the attached kernel but if you ask me it is crap and unstable with these forced linked governors)

EDIT:

Please report back but I think it is not a bug the governor thing. I flashed a stock kernel and switched from interactive to conservative and when I check sys/devices/system/cpu/cpufreq one shows , interactive and one shows conservative.

With RX3.0 my phone gets really hot and unstable now , so I think maybe there is a reason for all this.

Why does stock kernel got the same bug ? or maybe it isn't a bug.

The patch use is for a tablet tegra2 and there it works but I have a feeling that on this phone it got a bad result so share your thougts.

Benchmark , games all are running fine on RX2.2. SO I don't see any point of forcing to link the governors , I will add lulzactive and latest interactive governor but I won't add patch to force link the governors as I think it (as a noob) it is this way for a reason.

What puzzle me even more is why when changing from interactive to performance for example both cores go to Max speed that you set (ok sys/device/...... don't show the same governor) but they both act according to the chosen governor.

So unless someone really can show me it is in fact a bug and not suppose to work this way I'm not putting in that patch as it breaks every smoothness of the phone. I rest my case and maybe as carb said a real dev can give a solid answer with a solid solution to this. And maybe ask LG why it even behave this way on stock kernel.
[LG Optimus 2x] barril:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Thanks download

Enviado desde mi O2X
[LG Optimus 2x] carburano:
No friend it's not bugged... you need to investigate as i did... asyncronous governor setting is mainly app related...as i said in my thread some apps do it correctly, apart for hotplug (which is bugged)... and I repeat I don't think adding governors without fully understand what the code does is a good thing (for example you take governors from other kernels maybe based on different kernel versions and different hardware... and sometime they are not fully ported) ... maybe users cannot notice but I'm curious and I forced behaviours to test my kernel and I found many strange things...

Then many users (not all :)) most of the time install kernels only to take a screenshot of Antutu Bench or Quadrant and then they install other kernels to do same thing again and again... I really want to have a fully functional and stable kernel, for this since two weeks I'm studing cpu freq and governors...

Just to make an example: Smartassv2 settings are too heavy for our phone... it stay most of the time at 760Mhz...

This is why I will never create a thread for my kernel... I'm not a Kernel dev... I'm an enthusiast... but until our contribution to code is 0.00005% we only can call ourselves copypaster :)

EDIT: read what Ezterry wrote in his commit: This is a workaround for many cpu apps that will not cleanly update both CPUs
[LG Optimus 2x] civato:
Thank You ??
[LG Optimus 2x] cl06:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Where`s harsh and Spica? Realy civz... could be a placebo or not but... Only issue I had with your kernel was 10 seconds to screen on when it was in stand by. Games and internet surf (main functions that users needs) was ok! Anyway... thank u so much for your effort and hard work... I apreciate that! :D

Don`t leave us!
[LG Optimus 2x] galpec:
@civato, you are a DEV, period. But also you have personal life, so if the specifics of the linux kernel have to readden that is some trouble we have :D

If it helps you, I ran this command on my ubuntu and noticed this:

# cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_governor

ondemand

ondemand

ondemand

ondemand

All four cores with the same governor, so:

I went to my phone and in the kernel done this:

echo "smartassV2" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

then:

# cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_governor

smartassV2

smartassV2

No burning on my phone...I still have the 2.2 Sithlord kernel

Hope this helps...

EDIT: NOTE1: Noticed that, when I lock the phone the kernel puts "conservative" governor in cpu0 and still "smartassV2" gov. in cpu1

EDIT: NOTE2: My ubuntu has the latest linux kernel.

EDIT: NOTE3: WHAT IF THIS IS A "BUG" OF THE 2.6.39.4 KERNEL?, OR WHAT IF IT IS A FEATURE OF THE LINUX 3.X.X KERNEL?

Best regards to all

galpec
[LG Optimus 2x] carburano:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Maybe you need to read previous posts...

Which app do you use?

Sent from DjangoManouche!
[LG Optimus 2x] galpec:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Mr. @carburano I being following this thread since it started :D

App: setcpu, smartassV2 gov., row sched., -75 UV, and my unix term, adb and unix commands.

I think WIFI battery drain is still considerable, but the kernel for me, even with -100 of UV is rock solid.

And with 3G, data, used normally, FM app, 10 calls, great battery and great NITRO!

We are approaching... just have patience (in investigating) you also are near, unit force please... no one will make more on LINUX kernel as Linus Torvalds done...so...calling one person dev. Or paster compared to Torvalds...its just semantics, perception... ;)

Best regards to all

galpec
[LG Optimus 2x] carburano:
R: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

Ok maybe nobody understood what i said... I didn't want to say that Civato's kernel is bugged.

I wanted to make him aware of a well known problem with governors and app to manage them. Then with 200 funny governors, possibility of errors are more than with 4 governors... Now... I didn't add that patch to kob because with the proper app everything works flawlessly...

Sent from DjangoManouche!
[LG Optimus 2x] galpec:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

In this I feel the same, too much governors are confusing some people.

@carburano, @civato, unite and invite spica, stephan!

Best regards to all

GALPEC
[LG Optimus 2x] SREEPRAJAY:
this is something I did mention to Spica....but he is busy with his studies.....hopefully he sees this post....

did send him a PM too....fingers crossed
[LG Optimus 2x] elxufas:
Re: [KERNEL]CivZ SITHLORD_RX2.2 (MAX OC 1.544GHz) for ICS / New bootloader

:thumbup:

Enviado desde mi O2x.

Un saludo, Elxufas.
[LG Optimus 2x] civato:
Release CivZ_SithLord_再见

01-Mar-2013:

CivZ_SithLord_再见 released

Main goal 100% stable kernel with good battery life, that is why the following changes are applied:

Forced governor linked patch (Make sure both cpu's run at the same governor, even with "setcpu") thanks Ezterry.

Max OC 1500MHz with lower voltage table (see in kernel info) , this to reduce battery consumption.

Removed a bunch of governors as they caused problems in some situations (so it seemed), see kernel ifo for what is included.

LulzActive Governor (with app) , tweaked by me to be less aggressive (if I understand the code as I'm just a copy-paster , hmm)

Last one

, goodluck with finding a other OC kernel, I enjoyed the ride just until the moment the

respect

stopped and the tread got hijacked. (pm is a option it seems)

Oh and again not a dev and not pretending but still I earn the respect for what I do or did, if I don't get that : dan sluit ik de deur achter mij.

All info is also available in OP:

CivZ_SithLord_再见 No Ramhack

CivZ_SithLord_再见_24Ramhack

CivZ_SithLord_再见_32Ramhack

Side note on USB BSOD (screen off and pluging in usb resulting in BSOD)

I noticed that with enabled Dynamic FSYNC or a to high OC it can still occur.

So in that case please turn on screen before plugging in USB.
[LG Optimus 2x] Jannu703:
Re: [KERNEL]CivZ SITHLORD_再见 (MAX OC 1.5GHz) for ICS / New bootloader

Trojan gingerbreak in files? xP