yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] MCT_:
Fine tuning √ 2

This build M87, dedicated to all those who attempt though somehow to save the battery power, at night read the forums and plagued Google questions.

Testing of the Governor "Ondemand - battery" for power saving.

v4.5.0-M87-N7100.zip
[Galaxy Note II Original Android Development] david_91:
an answer please?
[Galaxy Note II Original Android Development] surdustef:
Testing now with max frec at 1.6 ghz
[Galaxy Note II Original Android Development] muzliamir92:
Will try now
[Galaxy Note II Original Android Development] surdustef:
Ondemand battery is reducing to power the phone's performance overall,apps ar lagging (instagram,fb) ,phone won't wake up if i got notifications from whatsapp.
[Galaxy Note II Original Android Development] MCT_:
The main culprit of gluttony is surfaceflinger :)

Of course what we not will build here a principle of operation of the system.

Try to use swappiness.

+ It is possible to choose here:

http://xdaforums.com/showpost.php?p=65019588&postcount=5589

Only dirty...sh

Fixes:

By default dirty2 (for ondemand - batt).

(dirty3 default system).

...To adjust 012345 (as for me, 1 would be fine).

Swappiness 90.

v4.5.0-M88-N7100.zip

By and large, I post it here to try variations (You have at least eight variants to try).

I don't use "instagram", in any form.

...In any case, thanks.

I chose "ondemand" because it has only nine control files.

It's not distracting to other errors.

Packages groups will be assigned separately for each of the Governor if they pass the test, as energy-saving.
[Galaxy Note II Original Android Development] dr.harsh:
Really impressed with the variant M84-v4.5.0-N7100.These are the results on very heavy usage. CPU maxm frequency set to be 1200 MHz and governor set as conservative-battery.Not allowed android system to enter deep sleep.Continuous wifi usage with my walkman mod(tends to increase battery drain) and experimenting with files,reboots and all works,even with all these ,really gave good results.There is no lag anywhere in the system and smooth as charm.

Sound-Boeffla and equalizer-Boeffla Bass treble (no satpr) with walkman mod

Overall working without any issues[emoji106]

Sent from my SM-N910C
[Galaxy Note II Original Android Development] MCT_:
[MENTION=7074918]harsh09046[/MENTION]

Already, on the previous page v4.5.0-M88-N7100.zip

What is this Rom?

===========================

Fonts soon..

+marshmallow...adaptation.
[Galaxy Note II Original Android Development] dr.harsh:
This is Eclipse V6 ROM by AC.

This is the link to what I used...

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

Well thanks for your hectic efforts

Sent from my SM-N910C
[Galaxy Note II Original Android Development] MCT_:
Thanks for the info.

Just have a little time before the next work week.

I not worked in some time due to weather conditions.

Basically not too much time for development.
[Galaxy Note II Original Android Development] dr.harsh:
One issue I noticed now.I am using the same kernel i mentioned in my post,i was getting notifications while my phone was locked,when i tried to unlock it,mobile didnt turned on!then again i had to restart my phone.

Governor as conservative-battery

Sent from my SM-N910C
[Galaxy Note II Original Android Development] MCT_:
1) First of all, you should switch to a newer version.

2) Conservative batt, has dy default swappiness =0 (I did this to check page-cluster=3 drop_caches=3)

3) dirty2.sh -p type in the terminal, if it goes well, I'll fix it. (but first swappiness ~30,90..)

http://xdaforums.com/showpost.php?p=65029369&postcount=5600

Deep sleep depends on the prefix "mem" and controls it swappiness.

Moreover, the additional load can lead to impaired memory handling.

The rhythm is also very important.

I get in a deep sleep, 2-0 mA consumption.

,mcgp3.sh -p To accelerate the boot speed applications.
[Galaxy Note II Original Android Development] vansh_bond07:
Which version should have to download for get best battery results without any lag or something else
[Galaxy Note II Original Android Development] dr.harsh:
Okkk..now flashed your new variant.Now everything is on default.Governor as conservative which has cpu maxm freq as 1600MHz and default swapiness value.Will check now.

Sent from my SM-N910C
[Galaxy Note II Original Android Development] MCT_:
Yes, I check it now too.

Conservative-battery / Got one "not wakes up".

fix errors "Conservative-battery", "Ondemand-battery".

v4.5.0-M91-N7100.zip

The biggest problem with these governors is that they have no connections to the management of long sleep.

If the ondemand Governor is "powersave_bias" , the conservative Governor doesn't even have this it.

Ondemand has 9 values management, Conservative has only 7.

WakeLock only understands the excitation process by pressing the button.

If there is no higher rhythm, he won't Wake up.

I'll try to do it later.

If it will work , it be one of the most energy-saving governors.
[Galaxy Note II Original Android Development] dr.harsh:
This tym,will go with this on 'demand battery' with your new variant

Sent from my SM-N910C
[Galaxy Note II Original Android Development] dr.harsh:
This is the result of M88-v4.5.0 with governor as conservative-battery.

Now I will flash M91-v4.5.0 and will put governor as ondemand battery[emoji106]

Sent from my SM-N910C
[Galaxy Note II Original Android Development] MCT_:
M91-v4.5.0 conservative-battery will work now, but maybe it will be not as economical.

I return the savebattery and performance of the conservative Governor, as soon as I deal with wakelok.
[Galaxy Note II Original Android Development] dr.harsh:
Just now I faced boot up issue.When I rebooted my phone,it got stuck on boot logo then i again restarted.

Governor-conservative battery

Variant-M91-v4.5.0

Same problem with ondemand-battery also.Stuck on boot logo.

I went back to variant M88-v4.5.0.Now its working fine

Sent from my SM-N910C
[Galaxy Note II Original Android Development] MCT_:
Well with wakelok I solved the problem.

Now I'm curious, why do you not start the device :)

This happens when you change the Governor or it is a global problem, after installing the kernel?

Have you tried just to reboot your device after flashing?

There is another little problem...

....When you use these governors, it is not recommended to flash anything, or load and download.

At least while it is in development.

Just, switch to another Governor to do so. Otherwise I'm not responsible for the integrity of the archives :)

Like a GPU, it skips frames during acceleration.

Now it's a similar situation, but it happens to the CPU.
[Galaxy Note II Original Android Development] dr.harsh:
Yes I know well about that.I did restart after flashing new agni kernel and didnt use my phone for that time.

But It is okk.Will flash new variant and try again.Thank You for your efforts[emoji106]

Sent from my SM-N910C
[Galaxy Note II Original Android Development] MCT_:
Build M 97 on the basis of v4.5.0:

Automatic permissions for AGNi in the system directory "init.d".

Files in the directory 0777 receive when you start the device.

Registered governors chown system/.

Improving the performance of governors conservative-battery & ondemand-battery.

Attempt to achieve minimum power consumption and I think I succeeded.

Minor bug fixes...

Release

of M-series to save battery power (will be offered for the developer, if successfully pass the test).

Will likely be suggested in any case because besides me, especially not wanting to test the build.

The changes apply only to governor ondemand.x and conservative.x, other governors did not receive any changes.

-- v4.5.0-M97x-N7100.zip

Monday at work, my time will be very limited, maybe my absence will even like, to some local residents.

I assure you, my presence here is temporary and no cause for concern.

I just like AGNi and Governor ondemand )

Governors with power-saving feature, just a little bonus for those looking for a solution to the problem.

Thank you for your patience.
[Galaxy Note II Original Android Development] surdustef:
Conservative-battery seems to be smoother than ondemand battery.I'm using it with cpu uv at 60mv , 1 .5 ghz and 10 swapiness.I like the fine tunning you did.
[Galaxy Note II Original Android Development] MCT_:
Already have better.

He does not send in a swap, during deep sleep.

(I have no idea who would want to do it at night, to Bang in the inability to Wake up from a long sleep).

He makes 100 days until the next charge, when are in a deep sleep.
[Galaxy Note II Original Android Development] surdustef:
Phone still doesn't wake up after some time ,going back to zzmoove inzane :)
[Galaxy Note II Original Android Development] omdevsinh:
Please share your agni settings????
[Galaxy Note II Original Android Development] MCT_:
The code that I attached above, just we will waive the inclusion of some heavy services at "power" of the device (for those governors who do not have support deep sleep).

I already get successful operation of the device.

Just a little time is necessary I was doing this (To select the configuration option, to calculate Bitrate).

[MENTION=5260797]omdevsinh[/MENTION]

A little later, will do it.
[Galaxy Note II Original Android Development] RamHa:
Well, my friends phone made 101 days in deep sleep special force mode-yesterday(waked up).
[Galaxy Note II Original Android Development] muzliamir92:
Please share latest agni kernel on your mod latest?because i tried try but my device cannot screen on after its locked ..
[Galaxy Note II Original Android Development] MCT_:
If we increase the pace of CPU, we don't need the support of the Governor for deep sleep.

But if we want to make it economical, we need the support of deep sleep, which must be the Governor.

The Governor's ondemand & conservative, very economical in terms of energy, but they do not support deep sleep.

If I give you a zip file at the moment, your device Wake up, but the decoder will not work.

The decoder will not work globally, for all governors, but now the device works very quickly and economically.

You want that option? I'm ready to load zip...

Or I need some time to sort out.
[Galaxy Note II Original Android Development] surdustef:
What about ZaneZam governor?It has a battery save option maybe you cand collaborate with him.
[Galaxy Note II Original Android Development] MCT_:
[MENTION=3978286]king118[/MENTION]

ZaneZam uses /sbin/busybox sleep 2 but also, it uses different profiles.

This is all the options available to me.

The other parameters, the developer indicates when compiling the kernel.

Of course, the developer can solve this problem.

But, we haven't even reached the first stage of testing in which you need to determine what kind of settings will be used for the Governor.

What would the Developer see what he can do with it.

The options are constantly changing, and no one wants to try it because of the problems long sleep.

Ondemand & conservative - change the processor frequency statically i.e. at equal intervals.

They can't blow up the screen with heavy processes that accompany the inclusion.

To activate the screen, the desired intermediate frequency or process that will help him.

It can make the wakelock, i.e. the mechanism which controls the process and specifies which service to sleep, and what to awake.

__________________________

The problem was that the wakelock will throw the values you see in the code above, with sleep mode to awake.

When we try to reduce the load on the CPU, wakelock does not have time to do the transfer of values and gets the oops.

All ingenious is simple :)

In General , there are two options.

The power saving feature for ondemand and conservative governors, but without the health wakelock.

Or ondemand and conservative Governor from forced performance gain, with a wakelock.

Now there is no especially time to look at it closer.

And it seems to me that the simple use of script will not do here....although, I still try.

Is rigidly secured to gubernatorov ondemand & conservarive:

/sys/power/wake_unlock ApmAudio ApmOutput KeyEvents radio-interface ril-rfs xmm626x

/sys/power/wake_lock MediaPlayerService_Decode

Unfortunately, at the moment, I can't get it...because of monitoring.

I can only kill this process. :p
[Galaxy Note II Original Android Development] lenana:
On Agni 4.4.9 sometimes phone won't wake up on sleep, any help or directions as to where I should read?

---------- Post added at 12:28 PM ---------- Previous post was at 12:16 PM ----------

Send me the zip too
[Galaxy Note II Original Android Development] MCT_:
My device comes out of a long sleep successfully.

Value added for the service of the zygote.

Acceleration of batch processing for groups.

Fix swap.

Fix some bugs.

-------------------------------

Quick correction and fix some syntax errors:

Gradually remove some test code [1]

v4.5.0-M100f-N7100.zip

--------------------------------------

The manually wakelock, that allows the device to work without the switch services:

Watching what is happening in this directory now and see what appears after you install the kernel.

/sys/power/wake_lock
/sys/power/wake_unlock

It also disables the background processes wakelock that will considerably save the consumption of battery power and will enable to reduce time of release from a long sleep.

I left only the decoder, will add the rest as needed.

v4.5.0-M100f_KW-N7100.zip

Be careful, keep on the SD card another zip file to return to if anything goes wrong [2]

-----------------------------------------------

When this will work 100%, treatment packages, too [1]

=======================================

Don't flash the zip, if you set the Governor to ondemand or conservative [2]

Testing of the packages cgroup mount points for process groups , it can affect the integrity of the zip archive.

Good luck :cool:
[Galaxy Note II Original Android Development] lenana:
Confirmed, waking from deep sleep. Will update incase I experienced issues
[Galaxy Note II Original Android Development] yreham:
Does any body have problems with the smart dock..I'm on the latest kernel 4.5.0 and eclipse rom v6 thank you
[Galaxy Note II Original Android Development] MCT_:
I deleted all the questions from this post, because I solved all their problems using logwrapper.

(The problem was in the PowerManager_WakeLock opps and attempts to fall off a SD card at very low power consumption.

Also, this was accompanied by a loss of performance with prolonged use Tweaker, its default value of cleaning up RAM.)

Here I will write something when it will be longer free time.

Don't quote this message.
[Galaxy Note II Original Android Development] lenana:
This is just amazing! Deep sleep 4.5.0 works great ?
[Galaxy Note II Original Android Development] najeebebrahim:
Your governer and profile please
[Galaxy Note II Original Android Development] lenana:
Agni-normal optimised and ZZmoove ZaneZ-InZane cpu max at 1.8ghz and no undervolting
[Galaxy Note II Original Android Development] yreham:
I'm on this kernel and conservative battsave my phone won't wake up ..can you share your agni profile thank you

I switched to on demand and it wakes up cpu at 1200
[Galaxy Note II Original Android Development] MCT_:
Please wait for the weekend.

All already works, but takes some time to pull codes.

Just a lot of work and I wouldn't want to do it in haste.

Adaptation data governors, was not an easy task, given the lack of time for this.

But it helped AGNi to get a lot of new possibilities (for those who understand this).
[Galaxy Note II Original Android Development] yreham:
Thanks for reply ..I'm on ondemand for now
[Galaxy Note II Original Android Development] Thiefyo:
does this kernel works on android 6.0.1 cyanogemod?
[Galaxy Note II Original Android Development] ironman.70:
Kernel for Cyan is here: http://xdaforums.com/showthread.php?t=2231374
[Galaxy Note II Original Android Development] zepp79:
Hi to all. I'm very noob and I' m trying to customize my note 2.

I just installed the latest version of the kernel. Unfortunately I do not find agni control among the apps installed . I tried several times to flash the kernel without success. What can I do? Thank you
[Galaxy Note II Original Android Development] MCT_:
Hi,

I chose a little time to solve some problems connected with the output device from a long sleep.

v4.5.0-M100fQIoop_FixDS-N7100.zip

Please write your comments about bugs and suggestions.

I have to do more than 50 reboot the device and some firmware in Rom day to fix some bugs.

This is a very long, but for me it will work in any case.

The main question is, will this work for you.

So write... about your device...

.

[MENTION=1125093]zepp79[/MENTION]

Go through File Manager and install apk.

The root file system ==> /res/app/AGNi_Control.apk
[Galaxy Note II Original Android Development] WarriorMax:
How to have double tap to wake in addition to touch to wake.?
[Galaxy Note II Original Android Development] yreham:
Eclipse v6 and this I came out of 6h deep sleep. Conservative battsave....any special profile we could use. ..thank you
[Galaxy Note II Original Android Development] MCT_:
It is possible, but need to program.

It makes the launcher to turn off and for this to include the need to program.

Wakelok will send it in a long dream.

I'll try later.

Eclipse v6 <- It has the standard sound when you turn?

I did it, but will remove the sound file and it returns.

If the sound was modified, it make it standard

I let go a little performance for ondemand & conservative - batt and a few minor fixes...new build soon to be.
[Galaxy Note II Original Android Development] RheRa:
My apps on sdcard won't load after v4.5.0-M100fQIoop_FixDS-N7100.zip
[Galaxy Note II Original Android Development] MCT_:
Will be fixed in the next build.

Thanks.
[Galaxy Note II Original Android Development] yreham:
I flashed the kernel restarted but I don't see the sound setting like yours.im going to reboot and get back to you

---------- Post added at 12:10 PM ---------- Previous post was at 11:41 AM ----------

Well I don't see that sound in settings in control app
[Galaxy Note II Original Android Development] psndna88:
welcoming new round of donations... ..
[Galaxy Note II Original Android Development] yreham:
Also I tried to change the font does not work...maybe I'm not doing some thing right!
[Galaxy Note II Original Android Development] omdevsinh:
I also face this problem. Pls fix
[Galaxy Note II Original Android Development] MCT_:
Try this, the card should work now.

1)

v4.5.0-M102fQIoop_FixDsPsd_U3m-N7100.zip- + Platform.xml + Scripts Ondemand + PowerOn + Fix system/radio conservative.

Should be: /system/etc/permissions/platform.xml

<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>

==========================================

2)

Return values the sd card:

v4.5.0-M101fQIoop_FixDsSd_U3m-N7100.zip - But I think that there will be problems with long sleep.

==========================================

:) It's disabled, don't have time.
[Galaxy Note II Original Android Development] yreham:
I said that I rebooted my phone but since I did that the phone won't come out of sleep sometimes and when I turned on mobile data it got worst. Sometimes it wakes up sometimes it doesn't . The only change I did was turn off zram from the moment I installed it. going to turn it back on and see
[Galaxy Note II Original Android Development] MCT_:
I would not advise you to use zram, otherwise you will need to reinstall the kernel.

I asked questions about it, developer. He answered me and I deleted my post.

I not know where he is, it caches the data after that, it's the dumping is not working properly.
[Galaxy Note II Original Android Development] yreham:
When I install kernel zram is on by default
[Galaxy Note II Original Android Development] MCT_:
Well...

The following amendments next weekend.

To try, to test ... suggestion and comments...feel free...

Good luck to everyone and good working week, thanks.

=========================================

Fixed media group.

Remove non-working codes.

Fixed interval ops for the service.

Fixed some bugs auto reboot device.

Correction of a script governors (for performance).

Fixes code cleaning for manual memory management.

v4.5.0-M105fQIoop_FixDsPsd_U3m-N7100.zip
[Galaxy Note II Original Android Development] lenana:
Got freezes the first few minutes but the problem seems to have gone away. Will continue testing
[Galaxy Note II Original Android Development] MCT_:
Ok, a bit of time on it.... because freeze my too...

Quick fix, that would governors (dattery) received (noop) scheduler for (ext).

Fix scripts scheduler, that they would not appear in the directory init.d in two copies and make mistakes.

v4.5.0-M106fQIoop_FixDsPsd_U3m-N7100.zip
[Galaxy Note II Original Android Development] zepp79:
Great! Thank you very much :D
[Galaxy Note II Original Android Development] lenana:
Lol i dont understand your post, is there need for update? My phone hasnt frozen again
[Galaxy Note II Original Android Development] MCT_:
Yes, there is a need to update.

If you include schedext-noop, row, etc... remains init.d/schedext-default .

It makes a mistake.
[Galaxy Note II Original Android Development] lenana:
Sometimes cpu gets stuck at maximum frequency....any fix?

Has occured twice on pegasus 2 core. Only fixable by rebooting
[Galaxy Note II Original Android Development] Aetos7:
Hi [MENTION=4365701]psndna88[/MENTION] , before i flashed your kernel i have disabled touch key light. Now they are on again, but in the settings of the phone they're disabled.

How i can disabled again? Peraphs through the controll app? I don't see any item of the list.

Thanks
[Galaxy Note II Original Android Development] lenana:
See attached photo friend
[Galaxy Note II Original Android Development] MCT_:
Problem recording to the internal memory of the device known to me.

I made a workaround in the post above -> platform.xml.

Now I chose the time to, do a lot of work on the Kernel and corrected a serious error.

Please, verify the health of internal memory, SD card and USB.

v4.5.0-M110fQIoop_FixDsPsd_U3m-N7100.zip

Working kernel totally changed, therefore, test the performance and energy consumption.

Also, we have the disable and enable of cleaning up memory when screen off:

Need to check this out.

_______________________________

Guys, really no time... a lot of work.

I shall be here, but I can't guarantee a quick fix.

So I would like to thank you for your patience regarding the errors SD card.

I hope that the issue solved.
[Galaxy Note II Original Android Development] lenana:
By recording do you mean writing to internal memory? My device writes correctly. The cpu frequency got stuck because of xposed module called performance profile. Its now fixed. Could I use M106 as a daily driver?
[Galaxy Note II Original Android Development] MCT_:
If you believe that your device is correctly writes to the internal memory, enter the following command in the terminal (Putting any file named ~t5 in the directory /sdcard):

su
rm sdcard/t5

Your file should be removed.

In build 110, you can see the following command, sdcard and sdcard1...successfully.

su
rm sdcard/t5
rm sdcard1/t5

What makes in turn Tweaker ~ with change of frequency of the CPU.

The scripts runs on the internal sdcard.

Yes, of course ...if you want :)
[Galaxy Note II Original Android Development] lenana:
Sorry for the many questions but using "PSN_A PSN_AGNi_pureSTOCK-v4.5.0-M106fQIoop_FixDsPsd_U3m-N7100_4.4.x_AROMA.zip" cannot corrupt my memory, right?

I wanted to use M106 since its performance is tuned up already. You said M110 needs to be tested for performance and energy consumption...