yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] ramgear:
I assume you dont know how to write script then copy my attached script into /system/etc/init.d and reboot it will disable 4 cores online by default, oh it also disable dynamic fsync, I use myself you all can change to 1 to enable by default.

Edit: sorry, i dont know how to attach file from tapatalk. Can u tell me? :confused:

Edit: use script like this

#!/system/bin/sh

# dynamic fsync: 0 - disable, 1 - enable

echo 0 > /sys/kernel/dyn_fsync/Dyn_fsync_active

# dynamic cpu on/off

echo 1 > /sys/module/intelli_plug/parameters/intelli_plug_dyn_on_off
[Nexus 4 Android Development] GzC:
Yes, many people does not know how to write script or such. So a user friendly profile would be appreciated.
[Nexus 4 Android Development] ramgear:
Actually application do the same thing like this, but it help you to do it instead do it by yourself. But I like to write script bcuz it faster than request app owner to add new feature support. :p
[Nexus 4 Android Development] GzC:
Everyone have their own likes.No one's right and no one's wrong. :beer:

Edit:

Applying the script seems creating one minor issue, dynamic fsync will turned off by default.
[Nexus 4 Android Development] ramgear:
I dont think so, even you enable 1 core but setting to high performance such as gov, it will drain more battery than all core at min freq. Online all core not bad temp or battery, it depend on your setting too. Such as ondemand gov it ok with dyn on/off cpu depend on demand but it not stay on min freq. I stay on all core online but set interactive gov then it stay at min when idle, very cold no hot or drain battery. :confused:
[Nexus 4 Android Development] GzC:
It does not drain at idle, of course. But when you do multitasking you will know what I'm saying, I reach 50c on cpu by only listen to music while browsing xda. Battery drain all the way down from 96 to 80 in very short of time (I mean it, it drain way more faster than what I get with two cores mode). Never had this happen with only two cores online. I've set the governor to intellidemand, it's less aggressive than ondemand or interactive. Basically four cores online and two cores online will do the same job in term of apps operation and gaming, aside from benchmark scores and "some" cpu intensive apps (mp3 or video converter etc). So I see no point to let all cores goes online.

Edit:

It's great to let user toggle between four cores or two cores online easily, there's where eco mode come in handy. :)
[Nexus 4 Android Development] inzaghi75:
Can I use the latest version with pa rom 4.3?

Gesendet von meinem Nexus 4 mit Tapatalk 4 Beta
[Nexus 4 Android Development] okmijnlp:
No.

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] FuPete:
Battery drain seems pretty much the same as with Intelliplug.

I'm using Hyper Governor, no heat when playing poker or browsing, but very nice performance in GTA Vice City (Playing maxed-out).

Please do not revert this feature! :D

I'm getting easily 4h of screen on time, maybe some minutes less than with Intelliplug, but the performance is great :good:
[Nexus 4 Android Development] Virus1x:
I can't get it to boot past Google screen using current rasbean
[Nexus 4 Android Development] notbrodie:
isn't rasbean on 4.3? this kernel is only for 4.2.2 roms

UPDATE: rasbean is definitely 4.3. if you want a kernel similar to this, you're going to need to get faux kernel 19b3
[Nexus 4 Android Development] Tylog:
Look what base the Rom you use is.

This kernel is at the moment only for 4.2.2 roms. 4.3 roms didn't work with it. Be sure you flash the right kernel for the right Rom :) better look two times before you brick your device. Not easy with the nexus but it could happens :)

GT-I9505 / Nexus⁴ Tapatalk
[Nexus 4 Android Development] mtnlion:
Personally I'm liking the four cores on. I actually seem to be running cooler than before.
[Nexus 4 Android Development] GzC:
If the following issue is solve (from what I saw on my phone), then applying the patch will be totally cool for me. I also like the patch actually, just can't stand for such issues:

1. max cpu speed will auto underclock to 1.3/1.1 ghz instead of what I've set for, I think it's throttling (too fast to throttle with four cores active).

2. eco mode does not functional with the patch applied.

3. some cpu governor don't really compatible with the patch. That's why the phone heats up a lot.

It's just my point of view though. I can use the script provided if I need, no biggie. ;)
[Nexus 4 Android Development] hlt4668:
If your CPU is getting throttled, change your thermal settings.......
[Nexus 4 Android Development] GzC:
I checked back my throttle limit, I've set it to higher temp, but it's still throttle when temp get pass 50c...
[Nexus 4 Android Development] lessirey:
That would actually be due to the new touch driver from 4.3 :)

Sent from my Nexus 4
[Nexus 4 Android Development] Ace42:
Do you have Mp decision on?
[Nexus 4 Android Development] GzC:
No, I was using intelli_plug.

Seems the patch create some issue with intellidemand governor, it will automatic set the speed to 1.3/1.1 ghz when selected, it also scale to highest speed often.
[Nexus 4 Android Development] aeroman:
hey guys i tried this kernel, want to set with trickster mod, but on every new start lost trickster

the settings, views on start Dirty Reboot, it is maybe not compatible with Trickster Mod?

Regards
[Nexus 4 Android Development] Ace42:
Ah the intellidemand has new parameters that behave according to active/inactive, sometimes it'll even modify the current max frequency allowed.

@anarkia Not sure if this is a silly question, but I wanted to know if the GPU control applies to all cores, since motorola announced that the 320 GPU features 4 cores & not 1.
[Nexus 4 Android Development] ak:
I dont know, this is hardware spech:

APQ8064[54] 28 nm LP ARMv7 Up To 1.7 GHz Quad-core Krait L0: 4 kB+4 kB, L1: 16 kB+16 kB, L2: 2 MB Adreno 320 (QXGA/1080p) at 400 MHz Dual-channel 533 MHz (8.5 GB/sec)Adreno 320 S4 Pro, S4 Prime

Snapdragon 600

3.0 1.1 1.2 EGL 1.4, SVGT 1.2 Direct3D feature level 9_3, Direct Draw and GDI.
[Nexus 4 Android Development] GzC:
I've been following faux's recommended settings all the time. Since this kernel had changed so much compare to faux one, I think I'll need new recommended settings then. Any suggestions please?
[Nexus 4 Android Development] ramgear:
Thank you all, I have new eco+ mode right now (just name it for joke).

I integrate on/off cpu into eco mode by specify min/max on/off using eco mode.

It will online 1 core by default in sleep mode, min 2 core + on/ off on demand (max 4 by default) in online mode.

Edit: more info, it can change min/max parameters

-min/max to 4 to online all cores

-min/max to 2 - same as prev eco mode

-min 1 max 4 same as disable eco ... for?:what:

etc.
[Nexus 4 Android Development] GzC:
Cool,I gonna love this feature! Thanks a lot for listening, I truly appreciate it. :thumbup:

Edit:

Looking forward for Android 4.3 kernel when it got stable. :beer:

Edit 2:

Care to share your settings in faux clock? :D
[Nexus 4 Android Development] Phonerix:
Which kernel is better 0.51/52 or 0.69? In which version battery drain is smaller? I do not know English so well to understand all posts :(

Can we expect new version with "eco mode+"?
[Nexus 4 Android Development] Ace42:
I find it odd that only Moto mentions the GPU having 4 cores, unless the moto X actually has a quad version of the 320. Anyway sorry for getting off topic.

No, I haven't bothered since I don't recognize the new settings.
[Nexus 4 Android Development] manpildo:
Sorry for the noob question, but what is the best cpu governor for optimal battery life and performance? I'm thinking most likely interactive and ondemand?
[Nexus 4 Android Development] okmijnlp:
Is there any way to delete sys/module/intelliplug? I'm really not feeling v.069, so I reverted to an earlier version, but snake charmer isn't working, I think it's probably because of those files. Root explorers won't work.

Thanks!

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] GzC:
Anyone have recommended settings apart from what faux suggested? :)
[Nexus 4 Android Development] malcho:
Just came back from vacation.Flashed cm10.2.I noticed improved battery life.anarkia is it time to move on to 4.3?

Sent from my Nexus 4
[Nexus 4 Android Development] Vingelstad:
He`s waiting for faux to release a stable 4.3 source.
[Nexus 4 Android Development] Higadeb:
I'm walking in with my hands up here! I've done some searching around and Googling and I can't work out what "AK" is or what "Hybrid meets AK" means. I've been using Faux for about 6 months now and saw this thread; can anyone tell me the difference between this & Faux's original kernel?

Cheers & sorry for what I presume is a very dumb question!
[Nexus 4 Android Development] szucsgf:
AK is a short form of "Anarkia", which is the name of this kernel's Dev. This is a hybrid, using faux kernel as a base and adding Anarkia's (AK's) optimizations.

The change logs in the op and features list in the second part tell you what AK has implemented in addition to faux kernel features.
[Nexus 4 Android Development] Higadeb:
Awesome, thanks! :)
[Nexus 4 Android Development] bleuwave:
Can't wait for AK's 4.3 kernel and the BLE (battery life extender) feature specifically as I need to use that.
[Nexus 4 Android Development] davidbar93:
Cab you please share your experience with this kernel? I'm on franco kernel right now ,it is good for me but I think that maybe there are better kernels :)

It has nice features ,so can you tell me how actually it works? Fast ,smooth ,good battery?

Don't tell me to test is by myself ,I just want some feedback from the users. I'm newbie ,bought N4 just 3 days ago so please understand me.

Thank you.
[Nexus 4 Android Development] okmijnlp:
Is anyone else having problems changing Interactive's hispeed_frequency? I've set it to 810mhz but it always reverts to 1.8ghz on a reboot? (yeah I've checked set on boot' :)) thanks very much :)

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] aeroman:
had similar problems, must disable mpdecision and Intelli-Plug.

I solved it this way, that the core remains stable or how set. :)

(what else could help frequency lock)

Maybe Fastcharge does not work with this kernel?

Greetings

*tapatalked* Nexus 4
[Nexus 4 Android Development] okmijnlp:
I have to disable intelliplug too? That's kinda odd. Thank you ever so much for your help! :)

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] smartymcfly:
Same thing happens here.

Ramgear or anyone who knows how to ...... how would I write a script to set CPU max freq to 1512 at boot. I get the green screen if it is at 1836 and sometimes I can not get into an app fast enough on reboot to lower it even though I have selected set on boot it doesn't stick
[Nexus 4 Android Development] Kirpman:
I got something weird going on here with fauxclock. When I press vibration, screen, z controll menu the app always force closes. Did wipe everything but stilõ..
[Nexus 4 Android Development] okmijnlp:
Make a file in system/etc/init.d give it the permissions in the picture, and inside the file type

echo 810000 > /sys/kernel/msm_cpufreq_limit/cpufreq_limit

Change 810000 to whatever you want.

Enjoy ^_^

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] okmijnlp:
If someone can figure out how to delay initd, this should work. I think the hispeed frequency is set by the kernel, I'm not sure, I've used this script and disabled set on boot in faux but who knows.

Anyway, here you go.

echo 810000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] lessirey:
To put it very simple.. I've tried pretty much most of those kernels available around here.. I've never bothered trying anything else after I've been to this one :)

Sent from my Nexus 4
[Nexus 4 Android Development] ak:
Im working hard for find a solution to compile kernel with linaro 4.8.2 but for now i dont have a solution.

Thanks a lot szucsgf for support!
[Nexus 4 Android Development] szucsgf:
My pleasure. I'm sorry to say I've been on 4.3 lately so I haven't tried v069 yet. But I've read the interesting things you and ramgear are testing. Very cool stuff. Wish I could see the effects of 4 cores always online. Snappy as hell I'm sure!
[Nexus 4 Android Development] Phonerix:
Even if I have another kernel than this, on sdcard my phone create folder "com.teamkang,fauxclock"

How about this? Is this folder harm my phone? If i delete this folder, after reboot it appears :(
[Nexus 4 Android Development] 309041291a:
Prima drivers seem to sacrifice battery and give me lag and withdrawl
[Nexus 4 Android Development] ak:
What is the problem?

there are a lot of dir created by custom rom ...

Its only a dir. ;)
[Nexus 4 Android Development] ak:
battery drain is the same of old drivers ... but with an improvement for signal.!
[Nexus 4 Android Development] 309041291a:
Really?

I host upgraded from 37 to 69 and my battery is worse with the same settings :/

Sent from my AK NEXUS⁴ : ANARCHISM
[Nexus 4 Android Development] smartymcfly:
Does it matter what I name it such as

maxfreq810000.sh

or

maxfreq810000

I see files in there with .sh and with just names..
[Nexus 4 Android Development] ak:
v069 have a different hotplug/cpu/gpu/thermal settings from v037.

Try v052 if you want to compare battery with new prima drivers.
[Nexus 4 Android Development] ak:
the name = maxfreq810000 = with the right permissions.

the scripts inside (use notepad++):

#!/system/bin/sh

echo 810000 > /sys/kernel/msm_cpufreq_limit/cpufreq_limit
[Nexus 4 Android Development] smartymcfly:
So if I wanted interactive hi_speed to be 702 and CPU max freq 1512 I could make a file in the init.d folder with the following:

echo 1512000 > /sys/kernel/msm_cpufreq_limit/cpufreq_limit

echo 702000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq

Then do I need to name it anything special or use smanager to set it on boot?
[Nexus 4 Android Development] ak:
example:

https://github.com/anarkia1976/AK-scripts

set permission:

755 and root shell
[Nexus 4 Android Development] okmijnlp:
Yeah that's right.

Name it whatever. Unfortunately the high speed command doesn't work for interactive. No idea why :(.

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] qwahchees:
Anyone have a good setup with settings for battery and performance?
[Nexus 4 Android Development] okmijnlp:
Max 1.134ghz Min 162mhz

Eco mode

Snake charmer

Interactive

Hi speed 810mhz

320gpu with simple

Uv by 125, I tried 200 but apparently that'll use more battery :confused:

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] qwahchees:
Does eco stop the 3rd and 4th core from turning on?
[Nexus 4 Android Development] okmijnlp:
Yeah. I don't ever game or anything like that, so these settings would be bad for most people, but they're great for me.

On average I get 3hours screen time at 50% brightness, only 3g, about 50 minutes of Tango, few hours of Viber, 20 mins of music.

I can't say how good it is on wifi, I have a full time job so I never get to check :)

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] smartymcfly:
As far as performance I can't vouch for as I don't run any intensive apps but I don't get any lag using interactive governed with 1512 CPU max freq and 702 interactive high_speed

And under volt -100

Mostly all on LTE

Pretty good so far the best results I have had in 6 months for just over half of a charge.
[Nexus 4 Android Development] manpildo:
How far can you guys UV? My most stable result comes with only -25mV, but I see many of you UV by as much as -150. I tend to get the Watchdog DemiGod green screen with everything lower than -50.
[Nexus 4 Android Development] okmijnlp:
I've been able to hit -200 but someone told me that might actually use more battery than save it. So I'm back to -150.

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] manpildo:
One question. In FauxClock app, under "SoC" tab, do you have C2 or C3 enabled? Do you even use fauxclock for undervolting?
[Nexus 4 Android Development] okmijnlp:
All are checked except C2. And yes I use faux to undervolt :).

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4

---------- Post added at 12:37 AM ---------- Previous post was at 12:34 AM ----------

FINALLY got interactive hi speed frequency working!

This now waits 60 seconds for any apps to set up interactive, cpu steps, etc. Then the correct files are in place (cpu/cpufreq/interactive/) so that this script will finally work.

Thanks guys!

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] manpildo:
And you have never experienced the green AP Watchdog screen?
[Nexus 4 Android Development] okmijnlp:
Edit: sorry, I've never had the green screen. Only ever the yellow one, maybe twice.

Sent from my Carbon powered AKFAUX fueled monster NEXUS 4
[Nexus 4 Android Development] Ace42:
Luckily no, however I had a demi something screen related to the modem.
[Nexus 4 Android Development] smartymcfly:
I'm about to charge phone but wanted to update the s.o.t for a full cycle with -100 under volt 1512 max freq and interactive govererner with 702 high speed and sioplus 512 readahead
[Nexus 4 Android Development] ramgear:
[MENTION=3685904]anarkia1976[/MENTION] , using min 2 cores alway on and dynamic on/off 2 cores seem smooth enuf. I fix min freq limit based on cpu0 min freq instead used lowest freq from freq table. If you interesting :D:D:D
[Nexus 4 Android Development] aeroman:
Yes mate, that is my experience so far. :)

Maybe you can use additional the frequency lock, that helps too. ;)

Greetings

*tapatalked* Nexus 4
[Nexus 4 Android Development] hlt4668:
Sounds good. Looking forward to trying this!
[Nexus 4 Android Development] ramgear:
Try my custom build 069.1 from my sig.

Any suggestion please let me know.

Seem anarkia will have new version soon. (found changing in his git :D )
[Nexus 4 Android Development] aeroman:
what is with your Build other or better? :D

Greetz

*tapatalked* Nexus 4
[Nexus 4 Android Development] xxxMADxxx:
does this support PGM?
[Nexus 4 Android Development] Kirpman:
No ideas? :/
[Nexus 4 Android Development] ak:
Ramgear have good ideas ... and he is a good guys .... i want to suggest try exp versions and post feedback please .... :D
[Nexus 4 Android Development] ak:
The same problem for me with last new version and old 4.2.2 roms ... i have made a fresh clean of gapps + pa! :good:
[Nexus 4 Android Development] ak:
Im here and for me the kernel is fun and patch will make your desire to experiment.

When you're ready send me the patch as well .....
[Nexus 4 Android Development] Kirpman:
me too. I did a full wipe on the phone and reinstalled rom and everything..:/
[Nexus 4 Android Development] aeroman:
sounds good. :)

Just before boredom at work, then I test it once. ;)

Regards

*tapatalked* Nexus 4
[Nexus 4 Android Development] ramgear:
I'm lucky, it ok after clear fauxclock data.

---------- Post added at 09:03 AM ---------- Previous post was at 08:59 AM ----------

Exp 69.2 has min/max/sleep online cores & changable sampling rate :D

I'm using 100ms (default 200 same as original)

Edit: this is eco mode modification so you can disable by eco switch.
[Nexus 4 Android Development] Kirpman:
That did not work for me :( I dunno what to do.
[Nexus 4 Android Development] atxbang56:
I only see 069.1 on your CustomAK Drive folder

CARBONized from my Pretty CoOl AK/Faux PoWeReD Nexus 4 !
[Nexus 4 Android Development] ramgear:
OIC, it is in upper folder, moved into shared folder. :p
[Nexus 4 Android Development] ak:
Ramgear can you send me the patch ... i want to make a new kernel with new linux 3.4.56 and your modifications! ;)
[Nexus 4 Android Development] ak:
i have find a solution:

for Compile 4.3 kernel with GCC Linaro 4.8.2 stay tuned guys:
[Nexus 4 Android Development] ak:
4.8.2 linaro

Code pushed enjoy:

https://github.com/anarkia1976/AK-eva333/commits/ak-4.3-101 :fingers-crossed:
[Nexus 4 Android Development] malcho:
I'm inpatient:) Do you plan to release kernel?

Sent from my Nexus 4
[Nexus 4 Android Development] ciprianruse88:
This is fantastic ! Well done !:D:thumbup:

"Using the search button won't get u killed" <-- taptalk signature
[Nexus 4 Android Development] Kirpman:
Any morw ideas for me also?
[Nexus 4 Android Development] ramgear:
Patch file here. Don't know how to attach file.

https://docs.google.com/file/d/0B0Hh7WuhEiuqVm1UZTVCaDNLNVU/edit?usp=docslist_api

Intelli:

- intelli_plug.c

Min limit:

- cpufreq.c

- cpufreq_limit.c

Edit: any problem please let me know, I generate using giggle tool. Can't access internet from notebook now.

---------- Post added at 11:26 AM ---------- Previous post was at 11:17 AM ----------

Will try next 4 hours, we will see new ak performance soon. :D
[Nexus 4 Android Development] Phonerix:
AK please build amazing performance kernel with ramgear's patch :D

We know you can :)
[Nexus 4 Android Development] ramgear:
BTW, I still like fixed core online than dynamic on/off. Fixed seem faster and smooth than dynamic bcuz it no need to check stat calculate and on/off core delay. :confused:
[Nexus 4 Android Development] ak:
Im working hard for porting new faux kernel for 4.3 to ak style ... stay tuned guys! :silly:
[Nexus 4 Android Development] ramgear:
Thank for your hard work, I will stay on 4.2.2 till I found nice rom for me. Cannot use stock more than 1 hour :p:p:p
[Nexus 4 Android Development] Phonerix:
You porting 4.3 to 4.2.2?
[Nexus 4 Android Development] ak:
This is impossible ... im sorry! :D
[Nexus 4 Android Development] Phonerix:
How about 4.2.2 kernel? You won't build kernel with ramgear patch? 4.3 roms are not as customizable as 4.2.2 :)

btw. good luck!
[Nexus 4 Android Development] ramgear:
I think he mean it impossible to port 4.3 into 4.2.2. I have something to check if it related to some lagging.
[Nexus 4 Android Development] -iNSiGhT-:
Hi all,

I just flash 4.3 but I can't delete the "com.teamkang.fauxcl" folder (which was installed with AK-Faux kernel) with Solid Explorer or E's Explorer...

Any clue?

Envoyé depuis mon Nexus 4 en utilisant Tapatalk 4
[Nexus 4 Android Development] Phonerix:
AK said yesterday that is only folder and it doesn't matter :D
[Nexus 4 Android Development] ak:
The folder is located into sdcard you can delete it with all explorer around the world .. isn't necessary special permissions or app.

Remember:

- fauxclock app create this folder ... if you have installed it ... uninstall and delete.
[Nexus 4 Android Development] -iNSiGhT-:
This folder is installed by the kernel zip (it's in zip/sdcard/), and I can't delete it with Solid Explorer nor ES Explorer...

And all this even if I've no more fauxclock installed...

Envoyé depuis mon Nexus 4 en utilisant Tapatalk 4

---------- Post added at 03:11 PM ---------- Previous post was at 03:06 PM ----------

In fact, it's the kernel_support.xml file that I can't delete...

Paranoid mako
[Nexus 4 Android Development] ciprianruse88:
Stefano, untill faux figures out how to oc without giving users green screen please port the 019b4 mainline edition which is without oc.

Sent from Inferno
[Nexus 4 Android Development] ak:
Im waiting a stable line of faux kernel .... i have see stability with latest patches for me and my fast chip :D.

I want to port some ak features before a 4.3 kernel release .... it would be useless to make a kernel equal to faux line! :angel:
[Nexus 4 Android Development] ciprianruse88:
Yes ! Ofc :) . I just wanted to state that I am 100% sure that there is a problem with oc on 4.3 after reading all reports from users on faux thread and franco statement about problems with oc on 4.3 and him not implementing yet.:thumbup:

Sent from Inferno
[Nexus 4 Android Development] ak:
I have see ... the same faux reported that he is working hard on this.
[Nexus 4 Android Development] Zlatan9.:
Anarkia do you still use MIUI?