yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Unified Development] twistedumbrella:
[MENTION=4401403]friedrich420[/MENTION]: if you come across the new tap2wake thing I was adding, I would wait on it. The only thing good in there right now are my comments on the first and last commit that sum up where it stands.

I keep trying to find you a headset at reasonable price, too. Got close but it was another "coming soon" deal. I will keep looking.
[Galaxy Note 4 Unified Development] friedrich420:
thank you so much my friend :)

actually no i havent looked at your git for a few days.. been lost in lolli land ;)

You think you are getting there my man?

I gave up on it since Note 3 and just used yank's touchwake..
[Galaxy Note 4 Unified Development] twistedumbrella:
This one looked neat but it was written like a middle school paper. Terrible spacing, random references to other stuff... a mess.
[Galaxy Note 4 Unified Development] friedrich420:
hahhahaa :D

Ill go take a look you got me curious
[Galaxy Note 4 Unified Development] twistedumbrella:
I decided to do that waiting on a Unity build. Oculus decided an effective method to release an update would be:

Fix SDK compatibility with the free version of Unity at the cost of breaking paid pending major game changes

Pack all of the new files alongside any that didn't change to keep the version number of the existing SDK

Publish it to the download site under the existing name, date, and listing with no indication of an update

Make a forum post in the general section (not the SDK one) telling people an update was in downloads

Have the support team leave their account signed in, but not responding about where the **** the update is
[Galaxy Note 4 Unified Development] Pafcholini:
Finally i found how to fix the override of the CPU min freq.

In cpufreq_limit.c i changed the handle->min = min_freq to handle->min = 0;

Now Synapse and other control apks save my min freq well.

Powered by ET
[Galaxy Note 4 Unified Development] twistedumbrella:
I think there was something similar with hardlimit that was done somewhere along the way. Given all the issues, it may be better using that one (the regular limit).
[Galaxy Note 4 Unified Development] Pafcholini:
Rigth now I'm using the regular limit. Also i changed the permissions for scaling_min_freq to fix 100% the issue.

Also I saw that the interactive gov came with Hispeed_freq to 1190400 and if you changed this value to the max freq after 1 min is back to 1190400...

Powered by ET
[Galaxy Note 4 Unified Development] twistedumbrella:
The hispeed is a bit of a misnomer. It means the max speed until the load exceeds a predefined value.
[Galaxy Note 4 Unified Development] android-DEP:
Don't know how else to help with the discussion but just found a link to the AT&T kernel source code for the first build and NK3 update. Hope that helps out in someway.

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=Sm-n910
[Galaxy Note 4 Unified Development] 4aces:
Just donated 10 bucks in SKU for a nice drink my friend. You do awesome work :)

Regards

The Echoe Team
[Galaxy Note 4 Unified Development] twistedumbrella:
Thanks! I have started to wonder what the tox screen will look like if I died. I think I have more caffeine than plasma in my blood.
[Galaxy Note 4 Unified Development] 4aces:
Hahaha damn than please forget about the drink and let the surgeons get unseen research material on someone else :D
[Galaxy Note 4 Unified Development] twistedumbrella:
The caffeine isn't going to kill me. Its probably going to be something silly like a meteorite.
[Galaxy Note 4 Unified Development] Pafcholini:
[MENTION=4401403]friedrich420[/MENTION] check this commit :

https://github.com/Pafcholini/Nadia...mmit/52610bcf84dc510812c760c6dc23e92d410872b5

No more apply/cancel for the min_freq :D

Powered by ET
[Galaxy Note 4 Unified Development] friedrich420:
ooohhhh :) :)

I love you my man!!

Thank you!! :)
[Galaxy Note 4 Unified Development] twistedumbrella:
Well played. I was reading up on boost before. Many kernels drop it. On Nvidia, it OWNS cpufreq. Your settings are just theoretical.
[Galaxy Note 4 Unified Development] Pafcholini:
I was reading and i saw that the nexus 6 have the same issue and franco found the way to fix it.

Powered by ET

---------- Post added at 06:30 PM ---------- Previous post was at 06:27 PM ----------

If you check the cpu1 scaling_min_freq you will see that the min freq is not 300MHz.

Powered by ET
[Galaxy Note 4 Unified Development] friedrich420:
I did and you are right..

It worked my man especially in conjunction with synapse.. It completely allows for the min frequency to stick now !!

Well done my friend!! :)
[Galaxy Note 4 Unified Development] twistedumbrella:
Modding his Galaxy Nexus kernel was how StarKissed started. SKU was meant to add all of the stuff that was exclusive to franco.Updater into something that worked with other kernels.
[Galaxy Note 4 Unified Development] friedrich420:
You guys should use your connections with him to help us maybe with boeffla?? (if it at all possible on snapdragon) ;)

I think its the only thing thats missing from our kernels now.. A sound control..
[Galaxy Note 4 Unified Development] Pafcholini:
Boeffla made initial implementation for wcd9320 ... I tried but the result was the same as faux sound ... reboot with black screen every time when I try to enable the sound control.

Powered by ET
[Galaxy Note 4 Unified Development] friedrich420:
i dont get it..

especially why the reboot...

and both me and twisted whenever we grabbed logs from faux rebooting, it never gave any serious clues..

---------- Post added at 07:50 PM ---------- Previous post was at 07:43 PM ----------

i just received confirmation from a fake sview cover user that "1" makes it work and "0" makes it not work :) :good:

You did it again Mr. Twisted ;)
[Galaxy Note 4 Unified Development] Pafcholini:
Great Twisted!!!

Powered by ET
[Galaxy Note 4 Unified Development] twistedumbrella:
I wouldn't call what I have a connection, considering I was taking what he was already making and releasing it with more options. It was a lot like what some dude is trying to do over in Shield tablet, only I never threadjacked him to do it.

I have mixed feelings about supporting Faux, though. As a developer, he seems proficient. He has a lot of stuff he made himself that's great. Most of it is dated 2011, though. He seems to sort out a lot of issues. Many things he commits as his fix-up or derp resolution are more the result of changing layouts and create the issues, though. He started the Note 4 kernel, even announced updating Faux Sound for it. That was November. He gets things running fast, but drops kernels without a word in their threads (Nexus 5). He is quick to provide help for his app, but you have to follow Google + to get support. It all feels commercial, like it disappears with the paycheck.

To clarify: buy the app to support what he's done, but let him fix his code.
[Galaxy Note 4 Unified Development] Pafcholini:
Guys, check my last commit. I imported interactive from Shamu and the lag has gone.
[Galaxy Note 4 Unified Development] twistedumbrella:
That's the old interactive. Sans boost.

//#define CONFIG_MODE_AUTO_CHANGE
//#define CONFIG_MODE_AUTO_CHANGE_BOOST

/* Target load. Lower values result in higher CPU speeds. */
#define DEFAULT_TARGET_LOAD 75

Roughly the same end result
[Galaxy Note 4 Unified Development] Pafcholini:
I compared both of them and the old one has better smoothness.

---------- Post added at 10:46 PM ---------- Previous post was at 10:29 PM ----------

I was desperate with interactive. all was lag, lag and lag and with the stock kernel interactive is smoothness. I just compiled the source with the old interactive and the lag disappeared
[Galaxy Note 4 Unified Development] Pafcholini:
[MENTION=4401403]friedrich420[/MENTION] :D
[Galaxy Note 4 Unified Development] friedrich420:
YOU DA MAN!!!!!

WOW!!

Bravo my friend :) :)
[Galaxy Note 4 Unified Development] twistedumbrella:
LOL @ http://xdaforums.com/showthread.php?t=2929152

I think that tantrum is better than any theme that could've been there before.
[Galaxy Note 4 Unified Development] Pafcholini:
[MENTION=4401403]friedrich420[/MENTION] are you adapting Fauxsound for Synapse? I'm trying it but i can't set the headphones and speaker.
[Galaxy Note 4 Unified Development] twistedumbrella:
It looks like you need Integer.parseInt(STRING_VALUE)
[Galaxy Note 4 Unified Development] friedrich420:
Exactly the same situation so i gave up on it lol

the problem is that for those 2 options the values are for both left and right ear.. so its something like 20 20

i think thats where things get messed up..

On the s4 i had it figured on stweaks but what i tried so far was unsuccesful
[Galaxy Note 4 Unified Development] Pafcholini:
I'll try it later again. Maybe we can change the code to separate the left and the right in 2 different files. I'll check it.
[Galaxy Note 4 Unified Development] Pafcholini:
One step up :D
[Galaxy Note 4 Unified Development] twistedumbrella:
One day I'll have to look into that app. I imagine what seems like a simple cast issue in Java is probably a whole different issue for that.
[Galaxy Note 4 Unified Development] Pafcholini:
If you want you can check the source code of this apk.

In a few minutes I'll upload the two scripts for the sound. I need a help i can't solve the issue :(

---------- Post added at 02:15 PM ---------- Previous post was at 01:42 PM ----------

Those are the 2 scripts that make the mic gain and cam mic gain (everything is it ok):

#config.json.generate.sound

{ SSeekBar:{
title:"Adjust microphone volume",
max:10,
min:-30,
step:1,
default:`echo $(/res/synapse/actions/input /sys/kernel/sound_control_3/gpl_mic_gain)`,
action:"input /sys/kernel/sound_control_3/gpl_mic_gain"
}},
{ SSeekBar:{
title:"Adjust camera microphone volume",
max:10,
min:-30,
step:1,
default:`echo $(/res/synapse/actions/input /sys/kernel/sound_control_3/gpl_cam_mic_gain)`,
action:"input /sys/kernel/sound_control_3/gpl_cam_mic_gain"
}},

#Input

if [ -f $1 ]
then
if [ ! -z $2 ]
then
L=/sys/kernel/sound_control_3/gpl_sound_control_locked
val=$2
checksum=$((255 - $val))
if (("$val" < "0"))
then
sum=$((1 + $val))
checksum=`echo $sum | busybox awk '{$NF *= -1; print}'`
val=$(($val + 256))
fi
echo 0 > $L
echo $val $checksum > $1
echo 1 > $L
fi
sound=`cat $1`
if (("$sound" > "50"))
then
sound=$(($sound - 256))
fi
echo $sound
fi

And those are the scripts for the headphone gain and speaker gain:

#config.json.generate.sound

{ SSeekBar:{
title:"Set headphone volume",
max:10,
min:-30,
step:1,
default:`echo $(/res/synapse/actions/output /sys/kernel/sound_control_3/gpl_headphone_gain)`,
action:"output /sys/kernel/sound_control_3/gpl_headphone_gain"
}},
{ SSeekBar:{
title:"Set speaker volume",
max:10,
min:-30,
step:1,
default:`echo $(/res/synapse/actions/output /sys/kernel/sound_control_3/gpl_speaker_gain)`,
action:"output /sys/kernel/sound_control_3/gpl_speaker_gain"
}},

#Output

if [ -f $1 ]
then
if [ ! -z $2 ]
then
L=/sys/kernel/sound_control_3/gpl_sound_control_locked
val=$2
addval=$(($2 + $2))
checksum=$((255 - $addval))
if (("$checksum" > "255"))
then
checksum=$(($checksum - 256))
val=$(($val + 256))
fi
echo 0 > $L
echo $val $val $checksum > $1
echo 1 > $L
fi
while read soundl soundr; do sound=$soundl; done < $1
if (("$sound" > "50"))
then
sound=$(($sound - 256))
fi
echo $sound
fi

The difference is that the headphone and speaker files has 2 values left and right (ej. 0 0)

Also the negative values are from 255 to 226 that means from -1 to -30.

I tried to make it to another way but doesn't worked.

Something is wrong in the output script but I can't understand well this script.
[Galaxy Note 4 Unified Development] thehacker911:
Info:

Sourcecode update:

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=SM-N910F

A developer write me at the Faux sound brings an error in update 1 .

https://github.com/Hybridmax/Hybrid...mmit/f8771a46429ed40e23269be9590d2c8ae93b3db6
[Galaxy Note 4 Unified Development] twistedumbrella:
I didn't think faux ever added a sound for Note 4, so chances are the error is caused by a bad copy of the port.
[Galaxy Note 4 Unified Development] Pafcholini:
Hybridmax reverted the commit. For me everything works well on Faux Sound.
[Galaxy Note 4 Unified Development] twistedumbrella:
I cherry picked it. Merged pretty clean even with the 3.6 already there
[Galaxy Note 4 Unified Development] Pafcholini:
Finally I got it! Placiano helped me with the script and now everything works well!!
[Galaxy Note 4 Unified Development] friedrich420:
Bravo my friend!!

May ask what the differences were?

:good::good:
[Galaxy Note 4 Unified Development] Pafcholini:
Here you have friedrich! https://mega.co.nz/#!1YMjTSaR!EPcMUtMKHsZlnln0k-apuwWC80eEHaV6vtW7kvDWu2c

Please, give credits to "Placiano".
[Galaxy Note 4 Unified Development] friedrich420:
Absolutely!!

I really dont know how to ever make it up for you my good man!! THANK YOU FOR EVERYTHING! !
[Galaxy Note 4 Unified Development] Pafcholini:
Placiano added the headphones PowerAmp but the values are wrong. He is trying to fix it.
[Galaxy Note 4 Unified Development] thehacker911:
I have made a kernel with update 1 Sourcecode and ramdisk updated to NK4. Now the S-Pen is not working. Would be almost as if the sensor would not go. If the any of you have experienced this?
[Galaxy Note 4 Unified Development] Pafcholini:
I didn't try the new source code yet. I'll report later.
[Galaxy Note 4 Unified Development] twistedumbrella:
Once I can find time I wanted to take the update and do a Git diff to the original. That'll be one easy way to see what changed or if it's even beneficial to update.
[Galaxy Note 4 Unified Development] thehacker911:
https://github.com/HRTKernel/Hacker_Kernel_SM-N910F/commit/bdb0fc3a8e78280c2cd04c920284efaf8fc33acd

Commit for NK4 sources with ramdisk.
[Galaxy Note 4 Unified Development] friedrich420:
You are right.. i just tried with the new sources and i have the same problem with spen..

once again bravo samsucks... idiots!!

edit: fixed it!!!!!! :)

I used drivers/input/touchscreen/wacom and stm folders from previous source and everything is fine..

But.... IDIOTS!!! IDIOTS!! IDIOTS!! (Obviously im referring to some lazy samsucks engineers)
[Galaxy Note 4 Unified Development] thehacker911:
Thanks my friend! You made my day!
[Galaxy Note 4 Unified Development] friedrich420:
hey i owe you for faux sound ;)
[Galaxy Note 4 Unified Development] thehacker911:
I have Samsung written about it. Hopefully the manure does not come with the Lollipop source.
[Galaxy Note 4 Unified Development] friedrich420:
lol :D

i was thinking of the same actually just now ;)

here's my commit my friend: https://github.com/friedrich420/AEL...mmit/b9567f0e9a6ea6f0d7031304d6096528262139f8
[Galaxy Note 4 Unified Development] thehacker911:
Thanks you!
[Galaxy Note 4 Unified Development] friedrich420:
My friends i just wanted to let you know that my new github is here

https://github.com/friedrich420/AEL_NOTE4_N910FXXU1ANK4

Im an amateur as i said many many times.. Thankfully this time i didnt merge the changes manually ;)
[Galaxy Note 4 Unified Development] Pafcholini:
I updated the faux sound to 3.6

https://github.com/Pafcholini/Nadia...mmit/644ce4a6271dc263ad380d683e1b933051f06592

---------- Post added at 03:25 PM ---------- Previous post was at 02:36 PM ----------

someone know how to update the old Source code replacing it with the update1 on github?

I'm too lazy to cherry piks all the commits again haha
[Galaxy Note 4 Unified Development] friedrich420:
Im sure umbrella does.. i wish i did my friend.. it would have saved me a lot of time..

Can i ask a completely noob question pls? How do i revert a cherry pick that i already commited on git hub?
[Galaxy Note 4 Unified Development] Pafcholini:
If you made git push you need to make git revert. If you just cherry picked go to .git and delete the file of the commit.
[Galaxy Note 4 Unified Development] friedrich420:
Last question i promise; )

So it would be git revert [the ssa of the commit on my tree i want to revert]?

i.e git revert b085gddj4eyigfj
[Galaxy Note 4 Unified Development] twistedumbrella:
Yes. That is the most straight forward.

If it is the most recent commit, you could also follow it with

git reset --soft HEAD^
(I do it twice, since ^^ doesn't always work)
git push -f

That makes it so it never happened
[Galaxy Note 4 Unified Development] friedrich420:
Thank you so much my friends!! It will make my life so much easier and my github much better :)
[Galaxy Note 4 Unified Development] twistedumbrella:
The easiest would be make a branch, take the old, commit, overlay the new, commit, cherry pick that commit to your intended branch.
[Galaxy Note 4 Unified Development] friedrich420:
[MENTION=5068852]thehacker911[/MENTION] where did you get SaberMod 5 toolchain from? I cant seem to find it anywhere..

Im bored lol :D
[Galaxy Note 4 Unified Development] thehacker911:
It is build from source. You need it?
[Galaxy Note 4 Unified Development] friedrich420:
Im really bored and i thought of maybe trying to compile with it and test it..
[Galaxy Note 4 Unified Development] thehacker911:
https://www.dropbox.com/s/6mzo1yja810vjk1/arm-eabi-5.0.zip?dl=0

Have Fun :D
[Galaxy Note 4 Unified Development] friedrich420:
Thank you so much!! :)
[Galaxy Note 4 Unified Development] Pafcholini:
Fried can you share the sabermod 10?
[Galaxy Note 4 Unified Development] thehacker911:
https://www.dropbox.com/s/sx7xgqabzfbbyl5/sm_arm-eabi-4.10-2014-11-08.zip?dl=0

Sabermod 4.10 Toolchain build from source.
[Galaxy Note 4 Unified Development] twistedumbrella:
I stopped trying to use that on Mac after the dev got a little too involved in monitoring the fork.
[Galaxy Note 4 Unified Development] Pafcholini:
I just want to try it because i always use linaro.
[Galaxy Note 4 Unified Development] thehacker911:
Linaro is better. I use the 4.9.3 Linaro Toolchain.
[Galaxy Note 4 Unified Development] twistedumbrella:
It's nice to try them all out. I settled for using Google's standard build. Its the only one that has a dedicated Mac version and not some gnu hack that runs on Mac with macports and homebrew in a Linux virtual machine with wine etc etc
[Galaxy Note 4 Unified Development] twistedumbrella:
Finally got a connection to opensource.samsung.com that didn't die after 10 minutes and after the 8 hours it took to download what takes 20 minutes on any other site, https://github.com/StarKissed/stark...mmit/f90624b70e8e8d8690800cebb2c9befe8f3e4666 is the update for Tmo, but there may be something that didn't merge in dtb.

The DTS files that came with the update: https://github.com/StarKissed/stark...mmit/054a6992c733b321d270154d98925ebb940abfea

Fix for the Sammy oops: https://github.com/StarKissed/stark...mmit/575ea214325450826fdcff81d83eaf5c203fe0c3

Fix performing build clean: https://github.com/StarKissed/stark...mmit/1654cd021974e3f7d9408531cbc65849f9ce923a
[Galaxy Note 4 Unified Development] Pafcholini:
Nice! Finally i made it creating new repo...

Btw, Friedrich how you enabled the KSM? I tried to enable it from the config but the toolchain doesn't compile the ksm.c
[Galaxy Note 4 Unified Development] friedrich420:
hmmm... try this my friend:

https://github.com/friedrich420/AEL...mmit/1ce05db1d7577611066e1434d83933ec9325ae79

and also enable it from the config
[Galaxy Note 4 Unified Development] Pafcholini:
I cherry picked this one and i enabled it in the config ... no luck, I'll check it at the night. Thanks
[Galaxy Note 4 Unified Development] :
Tried odexed and deodexed lolipop zips and odin lollipop but gear vr doesn't work with the new lollipop release. Hope you guys can do something when the source drops
[Galaxy Note 4 Unified Development] Pafcholini:
Nice, Samsung made some updates :D

Powered by ET
[Galaxy Note 4 Unified Development] friedrich420:
i know!!

i saw it and i was happy about it!!

The stock kernel seems to be very solid on battery so far..
[Galaxy Note 4 Unified Development] thehacker911:
Has any of you put the lollipop kernel to run? With me is constantly IMEI away no matter what I do.
[Galaxy Note 4 Unified Development] Pafcholini:
What about that?

Powered by ET
[Galaxy Note 4 Unified Development] friedrich420:
Delete SecurityLogAgent.apk from system/app
[Galaxy Note 4 Unified Development] Pafcholini:
Thanks friedrich! You are crack. Btw I cherry picked all my commits from KK to LP. Everything it's ok except the Synapse. If I add the serviceinit to init.rc for the Synapse the kernel get bootloop. I'll try to add the serviceinit to another file... arrrg!

Powered by ET
[Galaxy Note 4 Unified Development] twistedumbrella:
That is quite possible. I know Sprint from T-Mo barely squeaks past.

Sadly I cannot diff the entire source and have results in any reasonable amount of time...
[Galaxy Note 4 Unified Development] ktoonsez:
When I was saying earlier about starting all over, that is exactly what I am using, Samsung N910F source, nothing "T" in it yet. And yes there is a butt load of diffs between the "T" and "F", the "T" to "P" to "V" are identical.
[Galaxy Note 4 Unified Development] friedrich420:
We have a winner!!!!! :) :)
[Galaxy Note 4 Unified Development] ktoonsez:
So that was the "C" version? If so can u try the "D" again? Only diff between the 2 is the ramdisk. Also the guy on the "G" says he is using echo ROM and cant hit the OC steps, can u on the version u r on right now?
[Galaxy Note 4 Unified Development] twistedumbrella:
https://github.com/StarKissed/international-ramdisk/commit/1b64d2a44bb26063f200b0d3a67251f8fdfa2fec

Yeah, the ramdisk in "C" is almost identical to the one [MENTION=4401403]friedrich420[/MENTION] posted in the build he said was working back in your main thread and nothing added should prevent boot.
[Galaxy Note 4 Unified Development] friedrich420:
you mean he doesnt see them? or they are there but choosing them changes nothing?

it was the C that worked.. ill retry the D and then flash back the C one to check the G guy's report..

---------- Post added at 10:31 PM ---------- Previous post was at 10:23 PM ----------

I redownloaded the D version to eliminate the possibility of a bad zip i guess flashed and it booted!!!!!!!!!!

you can set the frequency in faux clock but when you go check the scaling_max_freq it shows as max 2649600 even though i have it set at 2.99...
[Galaxy Note 4 Unified Development] ktoonsez:
AWESOME!!!!!!!!!!!!!!! Guess it was a bad download :D

You need to use KTweaker to enable the OC steps check box and then move the slider to the 2800 step or something like that. The other guy can see the steps and everything just can get the CPU to reach those speeds using a benchmark app.
[Galaxy Note 4 Unified Development] twistedumbrella:
Did you overclock the 2.5 (v1 I think?) or did you append one of the 2.7 ones and swap out the pvs-config-ver?

...I guess I should just go look before I ask stuff like that...
[Galaxy Note 4 Unified Development] ktoonsez:
Only added to the 2.7 and then the main table freq, didnt have to mess with the pvs-config.
[Galaxy Note 4 Unified Development] friedrich420:
With ktweaker it actually shows the oc value you set in the scaling_max freq file.. is it normal that just with faux's app it wont register the oc value?
[Galaxy Note 4 Unified Development] ktoonsez:
I have a sysfs for locking out OCing so that the stupid Samsung thermald binary doesnt set your CPU to 3072 after being done with thermal throttling. File is:

scaling_max_freq_kt

Need to set that prior to the scaling_max_freq
[Galaxy Note 4 Unified Development] friedrich420:
I run an antutu with 2.8 as max.. it never went higher than 2.6 (i have the coufreq in status bar module enabled) but when looking at cpuspy i see that it reached that even for just 2 seconds...
[Galaxy Note 4 Unified Development] twistedumbrella:
Yeah, I went back and looked and your 3 is a 2.7. For some reason mine was a 2.5

You may need https://github.com/StarKissed/Note-4-AEL-Kernel/commit/b912bb394ec7e03f1db3f183f08858b99d124c29
[Galaxy Note 4 Unified Development] ktoonsez:
Try version "E" Please and see if anything changes:

http://ktoonsez.jonathanjsimon.com/note4/TW/KT-NOTE4-KK4.4-TW-N910-11.13.2014E.zip