Calling all Note 10.1 Kernel Developers - Galaxy Note 10.1 General

Hello. I have written an app that helps to improve the accuracy of the S-Pen.Currently, it works only on Note phones and Note 8 tablets because Samsung has compiled some S-Pen device driver interfaces out of the Note 10.1 tablet kernels. It is not clear why they did this. I have asked Samsung but gotten no replies. I have confirmed that parts of the kernel code are removed via a couple conditionals in the open source kernel code (and you can see that some of the interface files found on phones and Note 8 do not exist on the Note 10.1 tablet). It seems that the Note 10.1 tablets can suffer from the same issues related to the S-Pen as do the phones/Note 8 and I have many people asking me to make my app work on their tablets. I cannot do so with the stock kernels because of the missing interface files.
A friendly and very helpful XDA member responded to my posting in the General forum here and has produced a kernel that, with very minor modification to the conditional compilation, seems to provide the interface files my Reset Spen app requires (and appears to do so without and ill side effects). And another XDA user installed it and tried my app confirming that it does seem to work on the Note 10.1 with this kernel. This can all be found in the thread.
So I am hoping for some more wide-spread incorporation of this modification into other kernels for the Note 10.1 so that I can support more users with my app and try to solve at least some of their S-Pen issues. If you can do this and can let me know, I can point my users to your kernels.
Thanks.

Here's the relevant commit in the source for my GT-N80XX kernel series.

kcrudup said:
Here's the relevant commit in the source for my GT-N80XX kernel series.
Click to expand...
Click to collapse
Thanks for all.

kernal
hI you seem to be an expert
I am having difficulty to find out what kernal i need to use when I root my note 10.1
it appears everyone knows automatically but I am just not sure
I have never rooted before and dont want to brick my new device
do you have any ones you can recommend that is optimized for spen ?

Related

Looking For Tablet ROM With More Complete S-Pen Support

Hello. I have written an app that helps to improve the accuracy of the S-Pen. It works only on Note phones because Samsung has compiled some S-Pen device driver interfaces out of the tablet ROMs. It is not clear why they did this. I have asked Samsung but gotten no replies. I have confirmed that parts of the kernel code is commented out in the open source kernel code (and you can see that some of the interface files found on phones do not exist on the tablets). It seems that the tablets suffer from the same issues related to the S-Pen as do the phones and I have many people asking me to make my app work on their tablets. I cannot do so with the stock ROMs because of the missing interface files.
So I am wondering if there any non-stock ROMs in which the S-Pen is more fully supported. The missing files are located on my phone in /sys/class/sec/sec_epen/ and the two files I need are called epen_hand and epen_rotation. If anyone knows of any ROMs for the S-Pen equipped tablets that provide these interface files, I would appreciate knowing and may be able to direct some folks to using them.
Thanks
whitedavidp said:
Hello. I have written an app that helps to improve the accuracy of the S-Pen. It works only on Note phones because Samsung has compiled some S-Pen device driver interfaces out of the tablet ROMs. It is not clear why they did this. I have asked Samsung but gotten no replies. I have confirmed that parts of the kernel code is commented out in the open source kernel code (and you can see that some of the interface files found on phones do not exist on the tablets). It seems that the tablets suffer from the same issues related to the S-Pen as do the phones and I have many people asking me to make my app work on their tablets. I cannot do so with the stock ROMs because of the missing interface files.
So I am wondering if there any non-stock ROMs in which the S-Pen is more fully supported. The missing files are located on my phone in /sys/class/sec/sec_epen/ and the two files I need are called epen_hand and epen_rotation. If anyone knows of any ROMs for the S-Pen equipped tablets that provide these interface files, I would appreciate knowing and may be able to direct some folks to using them.
Thanks
Click to expand...
Click to collapse
I think you should post this in the note section. This is the tab 10.1 section
kilometers4 said:
I think you should post this in the note section. This is the tab 10.1 section
Click to expand...
Click to collapse
Oops. You are correct. Sorry. Please ignore!

Looking For Tablet ROM With More Complete S-Pen Support

Hello. I have written an app that helps to improve the accuracy of the S-Pen. It works only on Note phones because Samsung has compiled some S-Pen device driver interfaces out of the tablet ROMs. It is not clear why they did this. I have asked Samsung but gotten no replies. I have confirmed that parts of the kernel code is commented out in the open source kernel code (and you can see that some of the interface files found on phones do not exist on the tablets). It seems that the tablets suffer from the same issues related to the S-Pen as do the phones and I have many people asking me to make my app work on their tablets. I cannot do so with the stock ROMs because of the missing interface files.
So I am wondering if there any non-stock ROMs in which the S-Pen is more fully supported. The missing files are located on my phone in /sys/class/sec/sec_epen/ and the two files I need are called epen_hand and epen_rotation. If anyone knows of any ROMs for the S-Pen equipped tablets that provide these interface files, I would appreciate knowing and may be able to direct some folks to using them.
Thanks
tab 7.7 did not come with s-pen... but Note 8.0 did come with one.
edan1979 said:
tab 7.7 did not come with s-pen... but Note 8.0 did come with one.
Click to expand...
Click to collapse
Oops. Sorry about being so ignorant. I thought they all did. Please ignore!
All the 7.7 needs is an S-Pen like stylus (ex. The Atmel Maxstylus MXT100) to be complete now that JB is finally out. I don't know why Atmel has not released this stylus. Our tab has their hardware thaat would allow the pen to work. They even demoed it on a 10.1 tab. You can find the video on their website. :banghead:
Sent from my GT-P6800 using xda premium

Looking For Tablet ROM With More Complete S-Pen Support

Hello. I have written an app that helps to improve the accuracy of the S-Pen. It works only on Note phones because Samsung has compiled some S-Pen device driver interfaces out of the tablet ROMs. It is not clear why they did this. I have asked Samsung but gotten no replies. I have confirmed that parts of the kernel code is commented out in the open source kernel code (and you can see that some of the interface files found on phones do not exist on the tablets). It seems that the tablets suffer from the same issues related to the S-Pen as do the phones and I have many people asking me to make my app work on their tablets. I cannot do so with the stock ROMs because of the missing interface files.
So I am wondering if there any non-stock ROMs in which the S-Pen is more fully supported. The missing files are located on my phone in /sys/class/sec/sec_epen/ and the two files I need are called epen_hand and epen_rotation. If anyone knows of any ROMs for the S-Pen equipped tablets that provide these interface files, I would appreciate knowing and may be able to direct some folks to using them.
Thanks
I think you're in the wrong section..? This is the Samsung Galaxy Tab 2 section, we don't have support for S Pen.
NocturnalDroid said:
I think you're in the wrong section..? This is the Samsung Galaxy Tab 2 section, we don't have support for S Pen.
Click to expand...
Click to collapse
Oops! Sorry about that. I know that some Galaxy tablets have the S-Pen. Thought this was one. Please ignore!
Haha, that's perfectly okay. I wish we had support! Capactive styli are so annoying to use, and the digitizer on this is in need of some serious fine tuning.

Omni for SM-P605 (Samsung Galaxy Note 10.1 2014 Edition LTE)

I'm a long-time Omni user on my Nexus devices. My wife recently got a Samsung Galaxy Note 10.1 2014 Edition (LTE) as part of her contract, and I cannot begin to explain how frustrating it is to be back in "Samsung's world". The hardware is incredible (Snapgragon 800, 3GB RAM, 2560x1600 display) but it is loaded with bloat on an outdated 4.3 ROM (only the wifi-only model (Samsung Octa) has Kitkat so far).
Now I know that for a device to be supported, it needs a maintainer. This is a very expensive, niche device, and I presume that there are not many users out there that will be suitable. So my question is, what does the job of a maintainer entail exactly? I've built CM for a couple of devices from source before, but that's about the extent of my knowledge with regards to custom ROM development. Is that sufficient?
I'm thinking that this device should be a fairly easy bring-up, being based on the same SOC as the Nexus 5 (amongst others).
How can I make this happen?
StNickZA said:
I'm a long-time Omni user on my Nexus devices. My wife recently got a Samsung Galaxy Note 10.1 2014 Edition (LTE) as part of her contract, and I cannot begin to explain how frustrating it is to be back in "Samsung's world". The hardware is incredible (Snapgragon 800, 3GB RAM, 2560x1600 display) but it is loaded with bloat on an outdated 4.3 ROM (only the wifi-only model (Samsung Octa) has Kitkat so far).
Now I know that for a device to be supported, it needs a maintainer. This is a very expensive, niche device, and I presume that there are not many users out there that will be suitable. So my question is, what does the job of a maintainer entail exactly? I've built CM for a couple of devices from source before, but that's about the extent of my knowledge with regards to custom ROM development. Is that sufficient?
I'm thinking that this device should be a fairly easy bring-up, being based on the same SOC as the Nexus 5 (amongst others).
How can I make this happen?
Click to expand...
Click to collapse
Being a maintainer takes a LOT of reverse engineering skills. Integrating the OEM's blobs with "normal" AOSP or CAF sources can be a royal pain.
The best bet is to try and start your bringup by using a similar device as a starting point. Same platform is OK, same platform AND OEM is better.
For example, all of the Exynos 4210 devices (except the Tab 7 Plus/7.7) share a common device tree and kernel nowadays (the 7Plus/7.7 were too different from others in the family)
All of the Exynos 4412 devices have a common device tree that's inherited, and a common kernel.
Unfortunately, unlike the Note and Note 2, the Note 3 is significantly different from the GS4. However, your device might be similar to a Note 3, so you MIGHT be able to get started by adding Note 10.1 2014-specific parts to the Note3 kernel and modifying the device tree in a similar fashion.
The best way to learn maintainer skills is to find a device that is semi-supported and start working on figuring out how to fix its features that aren't quite working right. (In my case, I worked with atinm on resolving I777-specific issues to get that device lit up, then started working on remaining I9100/I777-common issues in CM back in the ICS days, then started on the Note which was similar to I777/I9100)
Expect to spend a LOT of time Googling stuff and searching through code. "grep", "strings" and "readelf -d" are your friends. (grep is for searching anything, strings is for looking at the strings in a blob, readelf -d shows you what libraries a blob depends on)
Even an experienced maintainer spends ****-tons of time searching for things and digging through data.
Patience is the most critical thing for a maintainer to have.
Entropy512 said:
Being a maintainer takes a LOT of reverse engineering skills. Integrating the OEM's blobs with "normal" AOSP or CAF sources can be a royal pain.
The best bet is to try and start your bringup by using a similar device as a starting point. Same platform is OK, same platform AND OEM is better.
For example, all of the Exynos 4210 devices (except the Tab 7 Plus/7.7) share a common device tree and kernel nowadays (the 7Plus/7.7 were too different from others in the family)
All of the Exynos 4412 devices have a common device tree that's inherited, and a common kernel.
Unfortunately, unlike the Note and Note 2, the Note 3 is significantly different from the GS4. However, your device might be similar to a Note 3, so you MIGHT be able to get started by adding Note 10.1 2014-specific parts to the Note3 kernel and modifying the device tree in a similar fashion.
The best way to learn maintainer skills is to find a device that is semi-supported and start working on figuring out how to fix its features that aren't quite working right. (In my case, I worked with atinm on resolving I777-specific issues to get that device lit up, then started working on remaining I9100/I777-common issues in CM back in the ICS days, then started on the Note which was similar to I777/I9100)
Expect to spend a LOT of time Googling stuff and searching through code. "grep", "strings" and "readelf -d" are your friends. (grep is for searching anything, strings is for looking at the strings in a blob, readelf -d shows you what libraries a blob depends on)
Even an experienced maintainer spends ****-tons of time searching for things and digging through data.
Patience is the most critical thing for a maintainer to have.
Click to expand...
Click to collapse
Thanks Entropy. Sounds like I don't have what's required for the job.
Entropy512 said:
However, your device might be similar to a Note 3, so you MIGHT be able to get started by adding Note 10.1 2014-specific parts to the Note3 kernel and modifying the device tree in a similar fashion.
Click to expand...
Click to collapse
The Note III (LTE) is the N9005, and I think the device code is hlte. I can't find a version of Omni for this device either.
StNickZA said:
The Note III (LTE) is the N9005, and I think the device code is hlte. I can't find a version of Omni for this device either.
Click to expand...
Click to collapse
Yeah, no one has done an Omni bringup yet. IbrahimA was considering doing one based on the CM bringup but he hasn't had the time.

Exynos 5420 CM11 & MIUI

Just found out that other Exynos (5420) devices already have working non-samsung roms (i.e. CM11 & MIUI)... makes me wonder what do they have that we don't?
Source code should be (almost) identical, shouldn't it?
(I know that developement / porting is hard work & I'm certainly not "demanding" anything [that would be quite disrespectful] :angel:... I was just wondering, because up to this point the main argument for why there are no CM / AOSP roms has been the lack of source code for the Exynos SoC)
Cyanogenmod 11.0:
SM-T520 Tab Pro 10.1 WiFi
SM-T700 Tab S
MIUI:
N9000 Note III Exynos
I would also like to know and mantain this post as an informative post and not as a demand or petition; I am just really curious as to what makes our tab so special and if anything can be done about it. Hell, i would even like to try to do it myself but i got no time until winter vacations and i am not sure if this tab is something a begginer like me can start with.
The Arndale Octa (Exynos5420) board also has an AOSP build so there’s probably source lying around in either Linaro’s or Insignal’s git repos (or both).
EDIT:
http://git.insignal.co.kr/
EDIT 2:
https://android.git.linaro.org/gitweb/device/linaro/arndale_octa.git

Categories

Resources