I had to go through the kernel input handler code, then the Android InputReader and EventHub in order to discover there is a tiny proprietary pen configuration file that must be installed in the right place.@equilibriumtr
How did u manage to get the S-Pen to work in Portrait...what did u change and how.
Thanks,
Your fellow friend and dev.
Shawn5162
Can confirm it worked for me 2.6.33. Try againdidn't work for me on twrp 2.6.3.3
Thank for the Info man ... maybe if you try with a newer version or Philz's recovery , you can get it to boot as it worked with mine ... Good luckdidn't work for me on twrp 2.6.3.3
could u give e a copy of the new updated file and let me know to directory path to place it inI had to go through the kernel input handler code, then the Android InputReader and EventHub in order to discover there is a tiny proprietary pen configuration file that must be installed in the right place.
You can also follow the commits in the github source page (links in the first post) to be aware of the changes made to the code.
any1?can someone upload modified updater script? thx
P600 and P601 are based on Samsung Exynos processor. P605 is qualcom based.I want to buy this device. However, there seem to be two different versions. One with the Samsung 8-core and another one with a Qualcomm Snapdragon 4-core CPU. Thy both go under the name P600. Which version is supported by this CM version?
@Aletheia@Pazzu510
What about the cm s pen add-on ? I don't know about the sensors but at least you can get the attached/detached broadcast.
Thanks for the heads up about the streaming bug!@equilibriumtr
It seems that the video streaming problems I been having are related to a HLS bug in android 4.3 and onwards (possible addressed in factory release of L), not a bug that's unique to your build. Thought you should know so you don't waste your time researching what in the end is a Google screw up.
@Pazzu510
What about the cm s pen add-on ? I don't know about the sensors but at least you can get the attached/detached broadcast.
I can confirm that with the CM spen addon the pen actions are detected propperly and with the Note Buddy you can even achieve almost the same results like with the stock rom. (on attach/detach actions, pop up notification with apps shortcuts on detuch atc.)Thanks for the heads up about the streaming bug!
About spen, I can tell you that I've confirmed that attach/detach events are emitted from the kernel without problems. I didn't test EventHub though.
That is a setting not a bug. Go to settings, Brightness, adjust and move how much light will be mited for different LUX detected on the sensor; 0 lux is tab used on pitch dark room and 5000lux is as far as the sensor can detect.I think I've found another wee bug. In a completely dark room, with the adaptive brightness on and set to lowest brightness at darkest settings, it doesn't actually go to that setting. From what I can determine, it's sitting at about 20%. Can anyone confirm this?
Yes but 3g functionality is not implemented yet.Can I flash this on P601 (3G version)?
@equilibriumtrAbout spen, I can tell you that I've confirmed that attach/detach events are emitted from the kernel without problems. I didn't test EventHub though.
At least i can now decide that most of the roms out there for the note series have no broadcasts of these events and i have decided to then rely on the cm addon. Still, it would be suuuuper nice to have this broadcast and share them with all the cm roms out there. With that and milti window multitasking on cm, or xposed for that matter, all samsung gimmicks could be cloned on all devices and without touchwiz.Explanation of how it works:
The android system automatically adds event files for each input device it detects when being installed. These event files are located in /dev/input/eventX where X denotes a particular device. These event files can be read using native C code for which I use an API provided by Radu Motisan which can be found here and also a bit more information about the event files can be found there. So now using this interface I find the event file for the S Pen and then continously read it to see if the value of the S Pen sensor has been changed. Whenever it changes I broadcast the corresponding Intent which was broadcasted by Samsung so that any applications which work based on that Intent can work even on these ROMs without having to change any of their code.
An interesting thing is that this feature is already present in CyanogenMod i.e S-Pen Power saving mode which disables the s pen touch decoder when the s pen is inserted. I fail to understand why they are not doing the same thing that I am doing through my application and save all of us the trouble.
As I said, I already set that. Sorry if it was difficult to understand, talking about the two different types of brightness can be confusing to follow.That is a setting not a bug. Go to settings, Brightness, adjust and move how much light will be mited for different LUX detected on the sensor; 0 lux is tab used on pitch dark room and 5000lux is as far as the sensor can detect..
So maybe i'm just doing it wrong. I tried on 2.8.1.0 and it fails on "updating partition details". Is this the right way? Download rom->unzip rom-> go to META-inf > com >google> android and replace the current updater script with the one you supplied -> rezip -> flashAlright Dear friends ... Here is the Updater Script which is Edited to be able to flash this Great ROM on TWRP ... So Just Extract the Zip and Replace the " Updater-Script " in the address ( in extracted ROM zip ) " META-inf > com > android > google " and Re compress the ROM and try flashing it using TWRP ... I think it should work Now ... Thanks @Aletheia for providing me the File ... Please inform me if it's OK now or not ... Thanks in advance
NOTE : as our friend @smac7 said , it seems that it doesn't work with TWRP 2.6.3.3
With Best Wishes
Hitman1376