yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Android Development] Marc0601:
Wakeup problem solved but wakeup is a little slow
[Galaxy Note II Android Development] ComicoX:
[MENTION=7427799]pascua28[/MENTION]

I don't have any bugs with the last beta. I even managed to undervolt the CPU -50 for almost a full day without a problem

(It had one freeze)
[Galaxy Note II Android Development] lord_muad_dib:
So far so good:good:
[Galaxy Note II Android Development] pascua28:
You may want to also install synapse and undervolt int and mif. And then increase abb voltages
[Galaxy Note II Android Development] hishamnoobie:
And the results would be?
[Galaxy Note II Android Development] Marc0601:
What will do this??
[Galaxy Note II Android Development] ComicoX:
I will try
[Galaxy Note II Android Development] waihung0626:
Sometimes the game sounds automatically amplified and broken
[Galaxy Note II Android Development] lord_muad_dib:
I have a little feature request.

Since boeffla config doesn't show the current gpu speed, is it possible to show it in synapse?

Thanks
[Galaxy Note II Android Development] pascua28:
Increasing abb voltages allows the hardware to capture the power leakage. In simple terms, we overvolt the abb to reduce leakage power which is the greater cause of power inefficiency. So, increasing abb voltage results to an increased battery life. As always, too much will result instabilities so just change it only to small amounts
[Galaxy Note II Android Development] hishamnoobie:
Can you add the changes as default in next build??
[Galaxy Note II Android Development] Whirlinurd:
[IMG="Note 2 my Voltage Chart"]http://i65.tinypic.com/121a03t.jpg[/IMG]Hi.

Made an effort these last days to make a lowest voltage table that is stable per frequency after a stress test. Looking what was possible on my phone before the phone locked up.

Collected the following voltages from left to right.

Exynos: The voltages compiled from the datasheet of the Exynos 4412 manufacturers.

Stock: The voltages as they are upon first install.

Extreme: Attainable voltage before crash adding a 0.05v for a margin of error. (This means a 0.025v undervolt should still be possible. Depends of the stability of the CPU.)

Mhz - Exyn. - Stock - Extreme

0200 - 0.875 - 0.913 - 0.875

0300 - 0.900 - 0.938 - 0.900

0400 - 0.900 - 0.963 - 0.900

0500 - 0.900 - 0.975 - 0.900

0600 - 0.925 - 0.988 - 0.900

0700 - 0.925 - 1.000 - 0.900

0800 - 0.925 - 1.025 - 0.925

0900 - 0.950 - 1.063 - 0.950

1000 - 1.000 - 1.113 - 1.000

1100 - 1.075 - 1.163 - 1.000

1200 - 1.150 - 1.213 - 1.050

1300 - 1.225 - 1.275 - 1.100

1400 - 1.300 - 1.313 - 1.125

1500 - 1.375 - 1.400 - 1.125

1600 - 1.425 - 1.425 - 1.200

1704 - 1.450 - 1.425 - 1.275

Did not include 1800mhz and above. The stress test started throttling at every voltage back to 1400mhz. Do not think this would gain much performance in this case.
[Galaxy Note II Android Development] lord_muad_dib:
dayum this is some great research job :)

is it possible to store and choose multiple profiles in synapse?
[Galaxy Note II Android Development] ComicoX:
[MENTION=7427799]pascua28[/MENTION]

On update 7.0.1beta apps has started crashing randomly (before changing voltages)
[Galaxy Note II Android Development] pascua28:
they crash when you undervolt the GPU too much. also you will see weird squares/graphic glitches
[Galaxy Note II Android Development] pascua28:
No, as I said, every device is different. Others can undervolt lower than other devices. Like my phone, I can go with -100mV on both CPU/GPU., -75mV on Internal and -50mV on memory. Your mileage will vary of course. Stable voltage values for others may not be stable for others
[Galaxy Note II Android Development] pascua28:
I experimented on different toolchains. So far, I found that combining sabermod and ubertc gives the best performance
[Galaxy Note II Android Development] ishtiak02:
How do I combine and apply those two toolchains ?
[Galaxy Note II Android Development] mzj4213:
Toolchains are used during build process.
[Galaxy Note II Android Development] pascua28:
You just take their sources, add ubertc libraries to sabermod source and compile. Then you get a combination of the two
[Galaxy Note II Android Development] daviking222:
App line and camera problem

How to solve camera and video source occurred? This problem is very annoying due to solving the problem need reboot!

A popular chat app call "line" in Asia area always has problem when transfering video file and using in-app video recorder.

Before transfering video, the app compress video but always fails and causes never send out the video. And then camera can not use and any video can not decode and play.

And using in-app video recorder always have wrong color.

Can not change to other chat app due to too many people using this app.:eek:

Sometimes using Google duo change front/back camera will cause the problem…

Here is the log.
[Galaxy Note II Android Development] Bastion46:
Those problems are probably related to your rom, not kernel.

All Nougat roms i tried have some problem with camera and mediaserver.

If this is realy a problem you should try some KitKat roms.
[Galaxy Note II Android Development] ishtiak02:
OTG doesn't seem to be working. Can anyone confirm ?
[Galaxy Note II Android Development] Marc0601:
It is working dude but doesn't work in twrp :(
[Galaxy Note II Android Development] ishtiak02:
I'll try again changing my OTG connector then
[Galaxy Note II Android Development] pascua28:
Hi guys Hybrid v7.1 for N7100 and N7105 is up!

Changes:

overhauled ARM instruction sets
[Galaxy Note II Android Development] mad1mystic:
Thanks will test it out.
[Galaxy Note II Android Development] waihung0626:
where is download link for N7105
[Galaxy Note II Android Development] lord_muad_dib:
great, i'd say it all boots faster, i'll test it further for stability

it's on the first post on the n7105 link, as usual
[Galaxy Note II Android Development] waihung0626:
[MENTION=7427799]pascua28[/MENTION],hi guys,Can you try to add fiops this IO scheduler?
[Galaxy Note II Android Development] GerGre:
Hi guys since v7.x on incoming calls the sreen stays dark. Is this only me (n7100 + aicp + xposed, no magisk) or faced it anybody too?
[Galaxy Note II Android Development] h_maharaj:
No such problem for me (Aicp as well + Magisk but no Xposed). There is a 4-5 second delay before screen comes for an incoming call but that is the case with all Nougat roms for our device.
[Galaxy Note II Android Development] logosA:
exactly 5 seconds from the moment call sound starts to play, until the screen from black turns to caller id screen

AICP , BOEEFLA v7.1 , LINEAGE SU, no xpose, no magisk (of course) :)
[Galaxy Note II Android Development] kaederukawa7:
[MENTION=5554397]logosA[/MENTION] based on your experience ..what is your fav rom for N7100 ? ( best signal, battery life and smoothness )
[Galaxy Note II Android Development] logosA:
I am an AICP guy, this is my first choice, but CRdroid, Xenon-HD, ColtOS and Nuclear Rom are in my favorites list as well

The order I gave you here, is my personal classification, based only on my preferences
[Galaxy Note II Android Development] h_maharaj:
I vote for AICP as well especially with the updated stock kernel which fully supports Magisk (there are zero battery drain issues like there used to be) and has fixed the issue with MTP host. Rom offers good customisation options (not as much as RR) combined with great battery life especially with the stock kernel.

Don't know if you have experienced this but I've found that Hybrid kernel has greater idle battery drain especially with WiFi on. AICP stock kernel offers much better standby time. Too bad it is nowhere near as customisable as Hybrid.
[Galaxy Note II Android Development] logosA:
I have tested all the hybrid kernel from v6 to V7.1. Fastest than them all seemed to be V6 and better battery life in idle mode looked to me V7.01 beta.

I dont know what customizations add more to the 'stock' kernel. Sound improvement is one thing I have noticed and one of the main reasons I use them.

Also Antutu performance seems to be rising 2.500-3000 points with the use of the hybrid kernel.

But so far none of them gave me 80+ hours in standby mode that the last retrokernel did.

Except that a good rom gives a better performance to the kernel and vice versa.

We thank very much the creator of the hybrid kernel [MENTION=7427799]pascua28[/MENTION], because he has done an outstanding job here given us the ultimate boost to Nougat roms for our phone.

Thank you man, hope you will lead us to OREO as well, we need you opening the path

:good::):good:
[Galaxy Note II Android Development] pascua28:
I've committed some stuff regarding power management earlier this morning to hopefully enhance power efficiency. Though I can't qualitatively measure the difference (my battery has been wonky because it's old and sometimes shuts down at 40%).

I've been focusing on upstreaming some parts of this kernel. Though, I only managed to upstream some in the recent updates.
[Galaxy Note II Android Development] hishamnoobie:
"alarm_rtc" and "l2_hsic" drains battery in idle.

Is it related to ambient display? It was enabled when this occured but now i disabled it.
[Galaxy Note II Android Development] pascua28:
No. For how long is the l2_hsic been awake?
[Galaxy Note II Android Development] hishamnoobie:
16 min

6.5%

---------- Post added at 04:00 AM ---------- Previous post was at 03:59 AM ----------

I am not saying it is a issue,since i am the only one who has it
[Galaxy Note II Android Development] pascua28:
Alright just disabled the wakelock. It is an issue ;)
[Galaxy Note II Android Development] kaederukawa7:
which version bro that has updated stock kernel and mtp issue fixed. can u give me.the link ?
[Galaxy Note II Android Development] ishtiak02:
https://xdaforums.com/galaxy-note-2...12-1-official-nightlies-t3569395/post75464844
[Galaxy Note II Android Development] kaederukawa7:
link you gave is last 2017 rom and now im on latest rom 2018 ... patch is already included on my currwnt version right ??

btw which one that u prefer latest 2017 or latest 2018. ??
[Galaxy Note II Android Development] ishtiak02:
I gave you the link to last kernel update. It's a kernel not a ROM. You can flash it over your ROM
[Galaxy Note II Android Development] kaederukawa7:
ow ok ... sorry. missed that heheheh thx bro.
[Galaxy Note II Android Development] h_maharaj:
Customisation can squeeze out more SoT. I get more SoT with Hybrid than with stock. There are better governor options available on Hybrid, multi core power saving, ability to underclock GPU and undervolt CPU and GPU. -50mV CPU and -100mV GPU is perfectly stable for me. I undervolt even more on the lower frequencies without issue and this helps alot since the phone spends most of the time at lower frequencies. It's only the greater WiFi drain on Hybrid that results in standby time taking a hit.
[Galaxy Note II Android Development] pascua28:
I will be testing this kernel on a note 2. Hopefully, if my classmate will let me root his note 2
[Galaxy Note II Android Development] h_maharaj:
Thanks. Don't know if this helps any but I took an idle log with BBS, WiFi on but sync and Wifi scanning off. com.android.server.action.NETWORK_STATS_POLL was going crazy with 273 wakeups over 6 hours.
[Galaxy Note II Android Development] jekhor:
I had similar issue with battery drain and l2_hsic wakelock eating 25% of time. But issue was caused by too many wakeups and l2_hsic wakelock just is activated at every resume. Battery was stopped draining after disable of waking by sensor hub IRQ in kernel sources. I know, this should broke some things (SmartLock related for example), but it is working for me now – almost zero of battery loss for overnight.

One thing I didn't test – disable ambient display, it is enabled and I like it :)
[Galaxy Note II Android Development] hishamnoobie:
How did you disabled it?
[Galaxy Note II Android Development] jekhor:
Here is the diff:

diff --git a/drivers/sensorhub/atmel/ssp_dev.c b/drivers/sensorhub/atmel/ssp_dev.c
index 852358b6f617..ae220f432afe 100644
--- a/drivers/sensorhub/atmel/ssp_dev.c
+++ b/drivers/sensorhub/atmel/ssp_dev.c
@@ -320,7 +320,7 @@ static int ssp_probe(struct i2c_client *client,

data->bSspShutdown = false;
enable_irq(data->iIrq);
- enable_irq_wake(data->iIrq);
+// enable_irq_wake(data->iIrq);
pr_info("[SSP]: %s - probe success!\n", __func__);

enable_debug_timer(data);
@@ -379,7 +379,7 @@ static void ssp_shutdown(struct i2c_client *client)
disable_debug_timer(data);
if (data->bSspShutdown == false) {
data->bSspShutdown = true;
- disable_irq_wake(data->iIrq);
+// disable_irq_wake(data->iIrq);
disable_irq(data->iIrq);
}

Right solution should be to find which sensor is configured to generate wakeup events and why, then disable cause of this. But I didn't find.
[Galaxy Note II Android Development] Ariskwn:
Tried the latest kernel version on my note II (ROM Nougat Tilak's Lineage OS 7.1.2), and i found a stuttering sound when playing music (and streaming from spotify) over bluetooth (headphones). Anyone having the same problem?
[Galaxy Note II Android Development] Dxnxsh:
Disable AudioFX
[Galaxy Note II Android Development] pascua28:
Changes:

Added fiops

block updated to Linux 3.3

disabled l2_hsic wakelock

more power management enhancements

optimized arm instruction sets (part2)

*and more

Build will be online later
[Galaxy Note II Android Development] Ariskwn:
Had it removed. I installed audio mod tho (sauron+jamesDSP)
[Galaxy Note II Android Development] Dxnxsh:
Anymore problem ???

I'm using sauron too. It's working fine.
[Galaxy Note II Android Development] Ariskwn:
Yes still have the problem.
[Galaxy Note II Android Development] pascua28:
You have to disable boeffla sound if you use another sound mod
[Galaxy Note II Android Development] pascua28:
Yes
[Galaxy Note II Android Development] pascua28:
Are you trying to watch YouTube through the app or through a browser?
[Galaxy Note II Android Development] 4kki94:
Through app only audio start but black screen
[Galaxy Note II Android Development] :
He is trying through with the app I guess.
[Galaxy Note II Android Development] pascua28:
New build is up. Please let me know if proximity sensor is working or not
[Galaxy Note II Android Development] Marc0601:
Through YouTube and Facebook has problem i will try new version now
[Galaxy Note II Android Development] pascua28:
I'm compiling the kernel now to hopefully fix video playback issue. Sorry for your troubles.
[Galaxy Note II Android Development] xress7:
Hello thank update everything is working after 3 year open beoffla kernel now i m very thank to you all effort.

I want setting mdie but only adj g adj b adj r I want more customize like agni kernel mdie......

Media player for ROM not working becos video kernel i m using uc browser for video..

Thank you everything.
[Galaxy Note II Android Development] Marc0601:
Media playback problem still exists in the new update 3
[Galaxy Note II Android Development] pascua28:
I haven't yet uploaded the build that hopefully fixes video playback.
[Galaxy Note II Android Development] pascua28:
Hi guys! New build is up! Waiting for your feedback regarding video playback and proximity sensor
[Galaxy Note II Android Development] Marc0601:
Same problem in version 4 (media playback)
[Galaxy Note II Android Development] pascua28:
You can try toggling on or off Disable HW Overlay (found in Settings -> Developer options) for the meantime. Honestly, I can't figure out what's wrong. If only note 2 experienced developers will help us. :crying:
[Galaxy Note II Android Development] Marc0601:
Tried to toggle disable hw overlay and same problem ?
[Galaxy Note II Android Development] xress7:
Try fing here https://gitlab.com/ParanoidNote/void-kernel/commits/master
[Galaxy Note II Android Development] pascua28:
What is fing?
[Galaxy Note II Android Development] Marc0601:
can you please try to solve the problem?
[Galaxy Note II Android Development] xress7:
Find sory wrong spell

I pilipino
[Galaxy Note II Android Development] pascua28:
I've tried and still trying. I suspect it is the defconfig because video playback works fine on my s3.
[Galaxy Note II Android Development] Marc0601:
Good luck dude and thanks for your hard work and hoping that you found a solution
[Galaxy Note II Android Development] pascua28:
Thanks for your suggestion. The sensorhub need not to be awake during lpm. Will you try adding this:

To drivers/base/power/wakeup.c under wakeup_source_activate() and test?

if (!strcmp(ws->name, "l2_hsic)) {

wakeup_source_destroy(ws);

}
[Galaxy Note II Android Development] jekhor:
No, I don't like this approach (it's too dirty :)). After sensor IRQ disabling, l2_hsic wakelock almost disappeared from wakelock statistics for me. This wakelock is not and issue itself: it is activated at start of resume process and deactivated soon after resume completion but resume process takes too much time: 560 msecs. Some time after resuming is needed to setup modem interface, so l2_hsic wakelock takes upto 2 seconds at resume. If phone is waked up too often, l2_hsic will appear in the stats but problem is in wakeup events frequency really.

See the attached file with wakelock debug enabled. Trace parts between "PM: SLEEP" lines. "WAKEUP_INTx_PEND: 0x11, 0x0, 0x0, 0x0" shows that two IRQs are pending at wakeup – SSP_Int (sensor hub) and noname 356 IRQ. Waking up is enabled for SSP_Int, not for 356.

One sensor with wakeup flag is proximity sensor but I still didn't find which app or system setting can ativate it (on-body detection is disabled).
[Galaxy Note II Android Development] Ariskwn:
How to do that?
[Galaxy Note II Android Development] Dxnxsh:
Hmm seems like he didn't enable boeffla sound..any idea OP
[Galaxy Note II Android Development] hishamnoobie:
Can you implement intelliPlug?
[Galaxy Note II Android Development] pascua28:
It' s unstable. Will implement mpdecision instead.
[Galaxy Note II Android Development] pascua28:
It seems that irq wake is unnecessary. Also, the latest patches have the pm_suspend_freeze implemented. So we have a freeze mem power state
[Galaxy Note II Android Development] pascua28:
Hi guys! Experimental build is up!

Changes:

block updated to Linux 3.3

fiops I/O scheduler

added PM_SUSPEND_FREEZE

single threaded wakelock (experimental)
[Galaxy Note II Android Development] Dxnxsh:
Pascua, every update that you released after v6 will lower the antutu score..hope you can fix it.
[Galaxy Note II Android Development] Valkyrie146:
To be fair, the antutu score doesnt really mean anything. As long as our device feels smooth and the user experience is uncompromised i dont think how much our devices score really does much of anything.
[Galaxy Note II Android Development] pascua28:
In reality, antutu scores are not so important. By the way, I'm not yet done upstreaming
[Galaxy Note II Android Development] pascua28:
My antutu score haven't changed though @ stock settings (1.4GHz, pegasusq, cfq) on my s3
[Galaxy Note II Android Development] pascua28:
Guys, can you check if "fiops" is present in io scheduler? I think i uploaded an old file. Also can you check the date and time in Boeffla -> overview and read the kernel version?
[Galaxy Note II Android Development] Dxnxsh:
In v6 my phone able to get 35000 but now it's only like 33000 something
[Galaxy Note II Android Development] Valkyrie146:
Here
[Galaxy Note II Android Development] waihung0626:
extemal SD Default use fiops IO
[Galaxy Note II Android Development] nNeFeroN:
I can't flash v8, getting error

---

Re-downloaded zip, works now.
[Galaxy Note II Android Development] jekhor:
It is not unnecessary because of wake-up sensors existence: https://source.android.com/devices/sensors/suspend-mode
[Galaxy Note II Android Development] AbdAbd10:
hi' i didn't try the 8v but i tried all the 7Vs and they all have a problem with the sound when i set an alarm the phone won't ring or it might start beeping after 5m or so from the time that i set and the same when i get call too the phone won't ring or the same just little beep and I'm not using any sound mod or whatever and sometimes the screen get stuck while I'm calling someone and i cant end the call but the v6 is working fine but sometimes the stuck scren while im calling happen
[Galaxy Note II Android Development] lord_muad_dib:
Flops present on N7100
[Galaxy Note II Android Development] Marc0601:
Hey guys i have noticed that stock cpu voltages of hybrid kernel isn't correct

So when u set cpu to 1800+ your phone restart

So i went to void kernel and got the right voltages

And it is working perfectly

The phone got faster and battery life got stronger
[Galaxy Note II Android Development] waihung0626:
can you share your boefla settings;)
[Galaxy Note II Android Development] lord_muad_dib:
standby battery usage definitely improved on kernel v8 :D [MENTION=7427799]pascua28[/MENTION] can you add zram/swap as an option again? even if it's not default

thanks
[Galaxy Note II Android Development] fathio:
Do your phone get hot with that much volt??, mine is stable with 2000 [MENTION=8282165]1388[/MENTION]v
[Galaxy Note II Android Development] waihung0626:
Use v4a sound effects, hibernate play songs, song will cassette
[Galaxy Note II Android Development] pascua28:
What version did the sound stuttering problems occured?
[Galaxy Note II Android Development] AbdAbd10:
all the v7 for me but i didn't try the v8 cuz i don't think that u fixed it when it appeared in 7v so i think the v8 has it too but i might be wrong cuz i didn't try v8
[Galaxy Note II Android Development] Marc0601:
No sounds problems with me

---------- Post added at 11:12 AM ---------- Previous post was at 11:12 AM ----------

Disable audio fx and this should solve the problem

---------- Post added at 11:36 AM ---------- Previous post was at 11:12 AM ----------

Hi Guys ! Welcome to N7100 repo.

We've gathered all 7.1 roms from XDA and also some extra stuff to improve your experience. Just search and you will find it. Enjoy?

Telegram Channel :

https://t.me/n7100repo
[Galaxy Note II Android Development] pascua28:
Will check
[Galaxy Note II Android Development] Marc0601:
Thanks Very Much dude :fingers-crossed:
[Galaxy Note II Android Development] AbdAbd10:
where do i find this audio fx thing cuz i don't use any sound mod so i don't know about this thing
[Galaxy Note II Android Development] Marc0601:
There is an app called audio fx came with almost nougat rom open it and disable audio fx
[Galaxy Note II Android Development] AbdAbd10:
hmm didn't even know about it till now haha time to try the v7 again and see what will happen

---------- Post added at 02:28 PM ---------- Previous post was at 02:08 PM ----------

it fixed thx for the help
[Galaxy Note II Android Development] Marc0601:
Welcome dude :)
[Galaxy Note II Android Development] pascua28:
My s3 also has irq wakelocks for proximity and accelerometer. Successfully disabled them. Commit is pushed to github now. And yes, just figured out most of the time hsic wakelocks are caused by modem
[Galaxy Note II Android Development] pascua28:
Why not v8?
[Galaxy Note II Android Development] waihung0626:
at all,and play games(Honour of king) sometimes get no sound,But voice conversations are normal.
[Galaxy Note II Android Development] Marc0601:
Disable audio fx and this should solve your problem

---------- Post added at 02:42 PM ---------- Previous post was at 02:38 PM ----------

Hey guys this is the best settings of boeffla config app for best battery life and performance

To apply this profile go to boeffla config app then go to profiles then press load then choose this profile that's it

Profile download link: https://www.mediafire.com/download/s8032h4h7msispp
[Galaxy Note II Android Development] AbdAbd10:
because it's an experimental version I'm waiting for the final version
[Galaxy Note II Android Development] waihung0626:
so,I this kernel can't use other audio Fx

I try your profile, thanks very much!
[Galaxy Note II Android Development] Ariskwn:
I tried the v7
[Galaxy Note II Android Development] Marc0601:
Hey [MENTION=7427799]pascua28[/MENTION] why kernel speed is decreasing after every update??? V6 final was the fastest version(35.000 antutu score) and now v8 is very slow (33.500 antutu score)??

Can u please make a new fast version??

Thanks :)