yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Original Android Development] MCT_:
There are thousands of reasons why you can get freeze.

/system/etc/~apks_count_list.txt

delete("/system/app/GoogleEarth.apk");

delete("/system/app/SysScope.apk");

delete("/system/app/KNOXAgent.apk");

delete("/system/app/KNOXAgent.odex");

delete("/system/app/KNOXStore.apk");

delete("/system/app/KNOXStore.odex");

delete("/system/app/KNOXStub.apk");

delete("/system/app/KNOXStub.odex");

delete("/system/app/ContainerAgent.apk");

delete("/system/app/ContainerAgent.odex");

delete("/system/app/KnoxVpnServices.apk");

delete("/system/app/KnoxVpnServices.odex");

delete("/system/app/KnoxAttestationAgent.apk");

delete("/system/app/KnoxAttestationAgent.odex");

delete("/system/app/ContainerEventsRelayManager.apk");

delete("/system/app/ContainerEventsRelayManager.odex");

delete("/system/lib/libknox_encryption.so");

delete("/system/lib/libknoxdrawglfunction.so");

delete("/system/containers/framework/KNOXModeSwitcher.apk");

delete("/system/containers/framework/sec_container_1.zzzKnoxLauncher.apk");

delete("/system/etc/secure_storage/com.sec.knox.seandroid/ss_id");

delete("/system/etc/secure_storage/com.sec.knox.store/ss_id");

Signature programs etc...

If you get ROOT, you need to go next.

From removal of signature verification and checking the integrity of files, to remove unwanted software.

Your a device verification data with servers and full of errors 100%.

What I can advise further, I don't know..

You don't have a log of action, nothing with them..

How are you going to solve their problem?
[Galaxy Note II Original Android Development] dimi_229:
Thank you!

From list you gave I have only "/system/lib/libknox_encryption.so" witch just deleted :)

Edit: I also find and delete " apks_count_list.txt"
[Galaxy Note II Original Android Development] MCT_:
This is one of thousands that needs to alarm you.

You cannot solve their problems without the action log.
[Galaxy Note II Original Android Development] voyager20021:
Last build still freezing with dock.

I used Eclipse Rom v4 for a few days and agni 4.3.9 that comes with it it's rock stable w/o freeze in dock
[Galaxy Note II Original Android Development] dimi_229:
Well... it seems like my android cannot function without that file :) . After I delete it my phone stuck at Samsung logo so I just copy back to lib and set permision in recovery and Android start normally.

By the way - witch rom ar you using and one more question (silly one) where and in witch log I must look to see why it's freezing.

Thank you!
[Galaxy Note II Original Android Development] robert1337:
i dont know if this problem connected with dock or not, but with hdmi it still freezes after 2 or 3 reconnects (just keep plugging in an out)
[Galaxy Note II Original Android Development] MCT_:
If without this file, your device doesn't work, are you connected to KNOX and I do not understand how you use your device with it.

I removed his swipe and all that is connected with it.

Is is possible for you to blockade your bootloader.

My N7100XXUFND3 and I will not be forced to abandon it, even at gunpoint :)

This section asked about how to create a log:

http://xdaforums.com/galaxy-note-2/orig-development/rom-aosp-n7100-t3202114/page14
[Galaxy Note II Original Android Development] dimi_229:
I'm not connected with knox (I don't know either why not boot without that file as my rom is "deknoxed" and debloated (?!)

Well... seems I'm on ND1.

Anyone knows if I can update to ND3 without loosing rom, I am on DN4 but with many, many modifications and mods and I do not want to lose them?!

(I see is hard to find nd3 bootloader only... I have 30 min of search with one find but with broken link to download)
[Galaxy Note II Original Android Development] dimi_229:
Sorry for mess...it seems bootloader IS ND3 but baseband is ND1

Anyway... seems I have conflicts with init.d tweaks. Now when I clean the folder I have more than 10hours without freezes while is with "ondemand" governor tuned by [MENTION=3132251]MCT_[/MENTION]. But SOT could be better :D (next I change some options in agni settings)

Android do not report app battery usage correct in this screenshot not showing mxplayer in witch I watched a movie (with all system sounds redirected to bluetooth headset) and ttorrent in backgroud download 1Gb file. Also I have very weak gsm signal while roaming. (0-2 bars from 6)

So... it is decent SOT ;)
[Galaxy Note II Original Android Development] voyager20021:
Phone just froze with ondemand gov without dock. Twice.
[Galaxy Note II Original Android Development] dimi_229:
So I'm not the only one with this problem :) . Instead for me seems not freezing anymore after I clean init.d folder and delete "system/etc/apks_count_list.txt" I have aprox. 17h without problems - witch is a record with "ondemand". Now I just unplug from charger to see SOT and eventually if it froze after some modiffications in agni settings like undervolt (by -50mv CPU and GPU) and scheduler (sio).

Witch rom are using and what do you have in init.d folder?!

P.S.: without bluetooth allways on, gear fit connected and audio redirected to bl.headset couple of times per day/1 to 3h, I think SOT will go to 7-8h for sure with medium to hard usage.
[Galaxy Note II Original Android Development] surdustef:
+1 for intelliactive
[Galaxy Note II Original Android Development] voyager20021:
Eclipse v4 rom and i only changed ac and usb charging current + ignore safety margin. No cpu or gpu UV
[Galaxy Note II Original Android Development] MCT_:
I think you are using excessive memory consumption ram, which does not loosen.

When the CPU is running slowly, you rarely get freezing.

When the CPU processes the information faster, freeze you get quick.

But the result will be one.

You must have several modes of RAM.

~ Games = 200-300 (i.e. this is the maximum value when the RAM is released)

~ Everyday = 400-500

It does not control the CPU.
[Galaxy Note II Original Android Development] RamHa:
oh God!? I thought that Agni kernel is without sucha buggs and lags???? Cheese man(dev) , solve that problem with SOT and freezings(seems that is connected to weather, couse here is freezing temp now :D )
[Galaxy Note II Original Android Development] dimi_229:
Good sign... 50% battery and almost 4h of SOT (with bluetooth on and gearfit connected all the time and watching 1h movie on bluetooth headset, location is on battery mode, display light is on 1/4 wifi on, 2emails notification on, flipboard notif, fb, tweeter and for other 3 apps on.)

But no game, mostly browsing/commenting xda app, facebook, instagram, tweeter, default internet app.

And most IMPORTANT - no freezing!!
[Galaxy Note II Original Android Development] dimi_229:
...think I achieved great results with ondemand...

I fell asleep last night and forgot to disable BTheadset witch redirect all system sounds and consumes alot of battery as it remain active until user disable audio routing (yesterday remain active for 4h16 min from 7 hour-4min of SOT). Normally after watching a movie or some reviews from youtube I disable it.
[Galaxy Note II Original Android Development] MCT_:
It allows you to monitor only the cycles of charging and discharging of the battery.

You can't leap like a rabbit through the settings and get a normal result.
[Galaxy Note II Original Android Development] dimi_229:
Today I want to try more settings in agni (like disable zram - I think android is slender witout it) to see how it goes.

With " S46enable_001bkprofiles_020-batt-save" and "S46enable_001bkprofiles_030-batt-save" system restarts several times so I deleted from init.d.

LMK is set to medium as you see in pic.

Until now behave well ... going to see throughout the day. But first charge batery 100%.
[Galaxy Note II Original Android Development] dimi_229:
Yes, I know but I want to get a somewhat stable combination that includes the settings witch are proven to be positive in my opinion. As you know too many "positive" settings = blockages and restarts.

Then I will do tests over several charge cycles and daily uses.

Hope you get the idea... ;)
[Galaxy Note II Original Android Development] MCT_:
You can see in the many topics of discussion, the problems with freezing and reboot the device.

Ie, given the statistics, the problems of a global nature.

Why do you exclude the possibility of repairs Google services, and look for the core problem?

Because I don't get the freeze and restart.

But I get an error 403 in the Google market, because of sanctions, because I live in Crimea.
[Galaxy Note II Original Android Development] rdee:
Thank you for your work so far!

Hi, I have to report with tear in my eye that kernel 4.4.8 does not work with the Note 2 Smart Dock. (At least in my case...) When I connect it to the dock, it freezes. Sometimes it survives connection is when you press display and slide a bit TW home to the side. Then hold homescreen it this position and insert phone to dock. TW home has focus I guess.

Then when docked when it goes to sleep it takes a while to wake up (first time). Other wake-ups are quick. (maybe just mine setup or rom...)

My setup:

Note 2 GT-N7100

Phantom ROM 13 N7100XXUFNI4

Kernel 4.4.8.

wifi/bt - OFF

kernel setting - all set to default or stock default

Dock - Smart Dock Multimedia Hub with mouse connected

I can support some log files just tell me names. I am not a rom developer just a BFU who develops in Java world..
[Galaxy Note II Original Android Development] MCT_:
Yes, this problems is known.

http://xdaforums.com/showthread.php?t=2311094&page=528

http://xdaforums.com/galaxy-note-2/orig-development/rom-aosp-n7100-t3202114/page14

MobiCore INIT response = 0
MobiCore RTM has initialized!
MobiCore IDLE flag = 0
MobiCore driver address 43e51e90, size = 3933
MobiCore RTM Notified back!
MobiCore Driver loaded and RTM IDLE!
MobiCore RTM has been uninitialized!
load_kernel: loading boot image from 106496..
Verify_Binary_Signature: failed.
pit_check_signature (BOOT) invalid.
[TIMA trusted boot]: SEAndroid MAGIC failure (boot.img)
Set invalid sign flag
No need to update kernel type.
[Galaxy Note II Original Android Development] dimi_229:
Yes... ok... I never excluding enything... then why you do not provide to us the real solutions? Not manny of us have developer skils; we try to gather as many informations/solutions/tweaks as we can from others who confronted with various problems and try to make a better android world.
[Galaxy Note II Original Android Development] MCT_:
Because the world has gone mad and is working on more security, than just to make people happy.

Nobody pulls codes developments Google or Samsung.

To anticipate innovations impossible...In these projects invested millions of dollars.

And you need two days to solve all their problems.:good:

Google confirms the authenticity of the signature of applications and certificates... the slightest deviation causes a reboot (All that is not of his sandbox is malicious).

Samsung checks for the status of "official", with its software.

Android essentially is a network axis.

The development of the network, it's aerobatics developer.
[Galaxy Note II Original Android Development] psndna88:
ok guys test this v4.4.8_test5 build for DOCK !!! :eek::eek::cyclops:
[Galaxy Note II Original Android Development] voyager20021:
First insert instant freeze. Still no go.

Second try same result.
[Galaxy Note II Original Android Development] RamHa:
New version is on the way, right? I mean v4?
[Galaxy Note II Original Android Development] psndna88:
08-11-2015 Update v4.4.8

Revert "ARM: vfp: fix saving d16-d31 vfp registers on v6+ kernels" | Revert "ARM: 6203/1: Make VFPv3 usable on ARMv6" | Revert "ARM: 7566/1: vfp: fix save and restore when running on pre-VFPv3 and CONFIG_VFPv3 set" | Restore arch/arm/vfp to "GT-N7100_SWA_KK_Opensource_Update1_NI1" state | ReApply wm8994 updates from SAMSUNG OSRC I9305 EUR KK Update | mali: support mali fence from SAMSUNG OSRC SWA KK N7100XXUFNI1 Update 1 | Properly apply power/battery code from SAMSUNG OSRC SWA KK N7100XXUFNI1 Update 1 | Fix build error due to touchwake-charger-mode when CHARGE Control is disabled | Revert "lmk: properly consider cached memory usable" | Revert "squashed updates/changes for cgroup.c futex.c bio.c" | Revert preivious drivers/staging/android/binder.c commits | Revert "sensors: cm36651: fix build with debugging enabled" | futex: bring to GT-N7100_SWA_KK_Opensource_Update1_NI1 state

otg: when removing ED from readyQ also set flag | Bring drivers/usb/gadget to GT-N7100_KK_Opensource_Update1 state" | CONFIG_USB_HID_KBD_MOUSE_ROLE now controls "USB HID Keyboard/Mouse ROLE support for Android device" | Restore arch/arm/vfp to "GT-N7100_SWA_KK_Opensource_Update1_NI1" state
[Galaxy Note II Original Android Development] robert1337:
downloaded 4.4.8 final, tried connecting HDMI, the kernel didnt freeze after 3 times omg i was so happy, then after a while i connect HDMI for the fourth time its still froze...

oh well.. reverted to 4.4.3 for now
[Galaxy Note II Original Android Development] MCT_:
Ondemand

Works very well, for CM it worked too.

Thank you.

Unfortunately, the dock and HDMI does not have the resources to verify.
[Galaxy Note II Original Android Development] redbull1:
For me work's it too. Great job.

Gesendet von meinem A0001
[Galaxy Note II Original Android Development] psndna88:
compiling another build rebased from v4.4.3 including commits which shouldn't interfere in mhl hdmi or dock
[Galaxy Note II Original Android Development] psndna88:
new v4.4.8 build for test, TEST for dock n hdmi
[Galaxy Note II Original Android Development] robert1337:
sorry man i really dont like to be a bearer of bad news, but it is still freezing.

anyways keep up the good work, i appreciate it as your kernel is the only kernel compatible with 4.4.4 :good:
[Galaxy Note II Original Android Development] eywan:
Just wondering if this dock affected by the USB charging just like USB tethering. Because for my case, USB tethering didn't works if I set USB charging rate other than the default. I didn't use dock though,.
[Galaxy Note II Original Android Development] MCT_:
Can be this problem "freeze" is related to "Boeffla Sound", ie, with stereo sound if mounted on the stand ?

With the "stereo sound", handle my headphones, but for the Soundbox, is the problem of distortion.
[Galaxy Note II Original Android Development] psndna88:
usb charging current changing from default creates issues with usb tethering and adb i saw

i hope u all tested with keeping usb current to default setting..?

boeffla sound was there in v4.4.3 as well its not an issue
[Galaxy Note II Original Android Development] MCT_:
I have no problems. But with the installation on the dock, there is a sound function that you are installing.

I have the following problem, and they were even before installing Agni:

Also , at the time of the game, when you play the game and install the charger cable.

The cable is connected / the sound on this.

You get a strange active position pressing on the screen.

Ie, the game goes crazy, the positions of the keys on the screen reacts poorly (Sometimes burns the proximity sensor, dark red light).

(On another ROM is no, this happens on Stock).

Perhaps the problems are related and it all fits in one banal sound connect to cable, or sound connection with docking station device.
[Galaxy Note II Original Android Development] eywan:
Ya correct it affects adb also. But for me it's not a problem. Whenever I need it I just change to default in Agni control.
[Galaxy Note II Original Android Development] evrest:
I think samsung need some kind of verification to be able to work with dock, thats what I had read in couple of years ago so not sure what it was....
[Galaxy Note II Original Android Development] psndna88:
test another build for dock n hdmi

it has debugging enabled, so logs should give clues

feel like leaving this bug as im tired of it but i don't wanna do that ~ frustrating ~
[Galaxy Note II Original Android Development] robert1337:
omg i dont know what you did but... it doesnt freeze anymore in HDMI after plugging in 10 times... (dont know about dock because i dont use it)

will test it more :D
[Galaxy Note II Original Android Development] MCT_:
[MENTION=4365701]psndna88[/MENTION] Please add multiple contexts for testing:

~

Kernel Features (Enable/Disable Function)

...

...

Tweaking the settings of the CPU..

Tweaking the settings of the RAM..
[Galaxy Note II Original Android Development] psndna88:
test this build for hdmi & dock

Revert "Implement kexec-hardboot (newer kitkat-kexec-new branch)"

hope it works
[Galaxy Note II Original Android Development] robert1337:
this one freezes on the first hdmi connection
[Galaxy Note II Original Android Development] psndna88:
no problem, i have more tests coming ur way,

new build, same as the previously reported working one with debugging disabled

test
[Galaxy Note II Original Android Development] robert1337:
this one does not freeze on hdmi :)
[Galaxy Note II Original Android Development] psndna88:
ok build 4, try ..
[Galaxy Note II Original Android Development] voyager20021:
Sorry guys, I'm away from home for next 3 weeks and no dock so can't test till i get back. Please test new builds. Thanks
[Galaxy Note II Original Android Development] kidkree1:
Can anyone recommend a good setting for battery and performance, I don't get an hour off this build, Im trying ZaneZam Battery Plus to see how that gov works out for me, I meanly use my cell for chat, games and internet.
[Galaxy Note II Original Android Development] robert1337:
i got to attend an event today, ill test it when i get back home
[Galaxy Note II Original Android Development] MCT_:
[MENTION=4365701]psndna88[/MENTION]

I've been testing and made some changes in the profile to "ondemand".

If You may choose the time to look at these amendments.

View attachment Ondemand_v3.zip
[Galaxy Note II Original Android Development] rdee:
Wonderful :)

testing PSN_AGNi_pureSTOCK-v4.4.8n-DeBuG - dalvik & cache wiped, no settings changed

Dock tested 10+ times and no freeze.

dock functions:

audio out OK

External USB HDD OK

Charging OK

USB Mouse - NOK - Phone sees the mouse, "Mouse connected' message appears but there is no pointer on the screen and no mouse evets received

Other:

Could not wake up when screen off - 2 times (now OK, I guess that it stops freezing when TW restarts wit error message)

Phone restarted when I received call while screen off and could not wake up.

PSN_AGNi_pureSTOCK-v4.4.8n4 - no debug - - dalvik & cache wiped, no settings changed

Dock tested 10+ times and no freeze.

dock functions:

audio out OK

External USB HDD OK

Charging OK - Changed ignore unstable power to ON

USB Mouse - OK

So far no freezes...

Which log files might help?
[Galaxy Note II Original Android Development] psndna88:
thanks

PSN_AGNi_pureSTOCK-v4.4.8n4 works, so now i understood the cause and ill push an update soon in main DL page

thankyou
[Galaxy Note II Original Android Development] dimi_229:
Yupii... Dock working here to. Anyway I have another isue - phone restarts (soft restart) when I put to charge (wall charger or dock). No matter what goveror. And same as [MENTION=1022325]rdee[/MENTION] sometimes not wakeup from screen off.
[Galaxy Note II Original Android Development] voyager20021:
SOD again? Does it happen when answering a call too?
[Galaxy Note II Original Android Development] dimi_229:
Nope. Until now I was able to answer and speak fine. It is not related with calls. I do not have yet idea why. I even uninstall latest installed apps and probe some agni settings.

Now I have 4h without problems, in 5min. I'll do a dock test.

Edit: Still restarting after 20-30 sec from the moment I put phone in dock or in charger. I don't know if it is just coincidence or it seems it begining from the "tests". I will try another governor and after this flash previous stable agni versions to see if it is happend again.
[Galaxy Note II Original Android Development] patneetsaini:
+1
[Galaxy Note II Original Android Development] psndna88:
10-11-2015 Update v4.4.8r2

ReApply wm8994 updates from SAMSUNG OSRC I9305 EUR KK Update | mali: support mali fence from SAMSUNG OSRC SWA KK N7100XXUFNI1 Update 1 | Properly apply power/battery code from SAMSUNG OSRC SWA KK N7100XXUFNI1 Update 1 | Fix build error due to touchwake-charger-mode when CHARGE Control is disabled | Revert "lmk: properly consider cached memory usable" | Revert "squashed updates/changes for cgroup.c futex.c bio.c" | Revert previous drivers/staging/android/binder.c commits | otg: when removing ED from readyQ also set flag | Bring drivers/usb/gadget to GT-N7100_KK_Opensource_Update1 state" | CONFIG_USB_HID_KBD_MOUSE_ROLE now controls "USB HID Keyboard/Mouse ROLE support for Android device" | Fix build error due to touchwake-charger-mode when CHARGE Control is disabled | Bring drivers/usb/gadget to GT-N7100_KK_Opensource_Update1 state" | Update IOSCHED_BFQ v7r2 --> v7r8 (codeworkx) | Enable setting security contexts on scardfslp | Revert "Squashed commit - Disable various debugging" (DOCK FREEZE FIX) | Advanced Ondemand Control at end of AGNi Control
[Galaxy Note II Original Android Development] dimi_229:
What should happen when when press agni ondemand governor control?! Nothing happen there.

Strange thing - I installed previous (4.4.7) and still soft restart when I tried to charge. (It is not charger - I tried 2 pcs. + dock - still the same).
[Galaxy Note II Original Android Development] psndna88:
it shows extra settings in agni control. if u cant see it exit it and let it load

these are lot of new scripts by [MENTION=3132251]MCT_[/MENTION] in addition to existing ones so agni control startup time will increase

soft restart is something else, check logcat

kernel error mostly freeze or hard reboot
[Galaxy Note II Original Android Development] dimi_229:
:) solved with softresets - according to logcat it was "Chrome dev" so I unninstaled and voila: no more resets.

Ondemand extra settings not working in my case - it's display as in picture.
[Galaxy Note II Original Android Development] psndna88:
it is displayed in middle of agni control settings not in the last section...
[Galaxy Note II Original Android Development] dimi_229:
:(

That may be so but for me in the middle sections does not appears something new, only sound related settings.
[Galaxy Note II Original Android Development] eywan:
Same goes to me..no extra option for on demand. What I noticed is my agni control app slightly different from my wife's phone. (I installed same rom same kernel). Her kernel features got something Rev 2 I can't remember correctly. On the cpu undervolt if I not mistaken. Doesn't really care though because this kernel running fine on mine. Just to stretch it out.
[Galaxy Note II Original Android Development] dimi_229:
Yap.... same here cpu Undervolting sometimes apears sometimes does not. And Ac charge rate sometimes apply some not (I like to charge at 1500mah as docking have some problems when charge phone at hi rates (cannot provide curent for both charge and dock function - usb, hdmi, sound)
[Galaxy Note II Original Android Development] dimi_229:
Another isue.... I set Ondemand Battsave and after restart is still pegasusq (?!)

And, as you see, no CPU undervolt options!

Permisions in init.d seems wrong.
[Galaxy Note II Original Android Development] psndna88:
all working as it should at my end

after activating ondemand control, exit agni control, (u can swipe it out of recents) . and restart it to detect the new scripts and load them

as there are lot of scripts it will take more time

this will last upto reboot and once rebooted it wont show settings unless tuened on manually, but ondemand control selections if made are saved in init.d and applied upon reboot like other settings.

ondemand battery save works here, undervolting options too
[Galaxy Note II Original Android Development] dimi_229:
For me something is wrong with agni control. I tried again as you write. No ondemand file in init.d (previously I setup manually permisions and worked with ondemand batt but now when set ondemand nothing is added in init.d)

And current charge sometimes not set acordly to agni control (and now cu undervolt appear again)