[11/10][P900 Only][KERNEL] Custom kernel [Basic 1.0 | Pro 1.3]

Sterist

Senior Member
Sep 30, 2011
645
123
0
Galaxy S, quadrant 2
p900 doesn't have dialer
z device test detects both cameras..
the camera info being shown and the camera being detected aren't necessarily the same thing

the camera info might be stored in /etc somewhere, build.prop maybe? I really don't know but you could decompile z device test with apk studio, ask the dev, or Google to find out
 

Android.Ninja

Senior Member
Jan 3, 2010
912
1,821
0
here's my observations:

1. Samsung Knox does not get removed as claimed in OP
2. Knox FC every time something is installed and uninstalled (likely under different circumstances too)
3. front camera works perfectly fine
4. rear camera does indeed fail
5. Google camera and 3rd party camera apps fail too
6. Z Device Test still detects all the hardware properties of the rear camera (but maybe that info is retrieved from elsewhere in the /system)
7a. all logcat apps do not work. i waited about 3 to 4 minutes for each to load.
7b. I haven't used it on this tab in a long time so I don't know if kernel caused this
7c. yes, I granted SU to the logcat apps, and later verified that SU wasn't denied.

my relevant info:
p900 USA wifi-only 64gb model
P900UEU1ANC5 (XAR)

edit:
to anyone that cannot boot after installing:

1. try wiping cache and dalvik cache
2. re download and try again if above doesn't fix it
3. if above doesn't fix it and you're on NAE, try updating to ANC5 (or newer?) THEN flashing the kernel again
4. if you're on a version newer than ANC5 that might be the problem and you are out of luck until the kernel is updated for it.

don't ask me about how to update, that's your burden
Thank You for your detailed info. I was able to recreate the same exact info as you reported. Looks like KNOX is still installed and not removed. Camera functions is a permission issue undetermined at this time, but most likely evident. Hardware detected and camera FC on rear startup.
I'm compiling at this time and going to test in a VM enviorment. If It boots and works i'll let you know...
 

Android.Ninja

Senior Member
Jan 3, 2010
912
1,821
0
it's permissive
and camera works in stock kernel with selinux permissive.
z device test sees two cameras, so it doesn't kernel problem. back camera and flashlight dont work for me. front camera works fine. i dont have any ideas except permissions

if anyone want to help, this is a kernel without any mods https://yadi.sk/d/-RWbv8htbYW28

ps: replaced link above. logcat is working here
I believe you are correct. Looks like a possible permission(s) issue. The link above to the kernel without any mods; Can you let me know what the mods are that were implemented in the first release as so I can compile indivisually and test? That would be a great help. Thanks. Do you by chance know how this was ported over? That would also help. Thanks again.
 

Android.Ninja

Senior Member
Jan 3, 2010
912
1,821
0
camera and flashlight problems solved! finally:) it was kernel sources bug
new build i will release soon
Excellent! That's great news. Cant wait to try it out.

Developers don't need no stinkin' signature!
If I've been able to help you, please hit the "Thanks" button. ;)
 

Android.Ninja

Senior Member
Jan 3, 2010
912
1,821
0
Is there a new download link for the updated version?

Developers don't need no stinkin' signature!
If I've been able to help you, please hit the "Thanks" button. ;)
 

bonuzzz

Senior Member
Apr 1, 2005
770
1,759
0
0.9-basic

I decided to build two versions of kernel:
basic - with minimal modifications. pretend to be most stable
pro - with more mods. but maybe less stable.

Version 0.9-basic
features:
knox removal
selinux permissive
ntfs rw support
busybox install
init.d support

I don't have a plan to implement any other mods to this branch, but if you think I forgot something to include "musthave" feature, do not hesistate to write me.

download:
https://yadi.sk/d/sr4sOMRDbZXdY
 
Last edited:

kookahdoo

Senior Member
Dec 14, 2006
301
54
0
I'm a retired deveopler and don't mind helping out a little where I can. I've enjoyed tweaking my P900 to the max & I'm also glad to finally see some stuff coming out here on XDA for the P900 wifi version. Not much activity on any other forum for this device either. Most likely because of the price of the device and people worring about the Knox tripping issue. I noticed on another forum that someone had compiled a fully functional kernel however they too were experiencing issues with the camera. Anybody have any ideas of whats causing the camera issue? I can possibly help out with the developement of a AOSP rom, or a blazing fast slimmed down ROM. I have plenty of developement knowledge in this area, if there are any interest for one. As for the Kernel issues I'm not too familiar with the compiling however most likely could figure it out.

Developers don't need no stinkin' signature!
If I've been able to help you, please hit the "Thanks" button. ;)
I would be interested and willing to donate for a slimmed down ROM
 

Android.Ninja

Senior Member
Jan 3, 2010
912
1,821
0
I would be interested and willing to donate for a slimmed down ROM
Lets see how much interest we get and we'll go from there. Be nice to put a good slimmed down ROM with this awesome kernel. ?

Developers don't need no stinkin' signature!
If I've been able to help you, please hit the "Thanks" button. ;)
 

Sterist

Senior Member
Sep 30, 2011
645
123
0
Galaxy S, quadrant 2
What link did you use to flash the revised kernel?

Developers don't need no stinkin' signature!
If I've been able to help you, please hit the "Thanks" button. ;)
revised kernel could mean two things and if you meant the newest version with the camera fix I don't have that yet.

YouTube won't load anything, just the wheel of death on a white background with a blank left column.

bonuz could you add frandom support? it certainly has it's performance benefits :)
 
Last edited:
  • Like
Reactions: Android.Ninja

Stevethegreat

Senior Member
Nov 28, 2010
1,200
326
0
I decided to build two versions of kernel:
basic - with minimal modifications. pretend to be most stable
pro - with more mods. but maybe less stable.

Version 0.9-basic
features:
knox removal
selinux permissive
ntfs rw support
busybox install
init.d support

I don't have a plan to implement any other mods to this branch, but if you think I forgot something to include "musthave" feature, do not hesistate to write me.

download:
https://yadi.sk/d/sr4sOMRDbZXdY
Hey, glad there to finally see active development for Note 12.2!
One suggestion (of a must have feature) if I may:

Note 12.2 is basically the only tablet in the size of a laptop however due to known restriction there is no easy way to run linux natively on it.

Well ... enabling the Virtual Terminal feature (VT_config) on kernel level enables you to do just that. In conjunction with the chroot method you can have a fully running Linux GUI environment. So may I suggest that you'd also release a 3rd version of/for your kernel, one with VT_config enabled.

See here for example: http://forum.xda-developers.com/showpost.php?p=55424814&postcount=554
@xluco (note 10.1 developer) produces two versions of his kernel.
 

bonuzzz

Senior Member
Apr 1, 2005
770
1,759
0
Frandom is for pro version.

Stevethegreat, it is not difficult to compile with vt support. but what's next? i don't know what will work in linux and i suppose it will be a very hard work to run and adapt linux on this tablet
 

bonuzzz

Senior Member
Apr 1, 2005
770
1,759
0
Frandom is for pro version.

Stevethegreat, it is not difficult to compile with vt support. but what's next? i don't know what will work in linux and i suppose it will be a very hard work to run and adapt linux on this tablet
I thought and I decided not to deal with vt and framebuffer. I wanted to make something i would use myself. I'm not sure I will use CM or linux on this tablet. So I unlikely will do and maintain them.
My goal is to show other rom makers that they can do something with it.
I tried to compile kernel to this tab and did it with success. That's all what I needed for now.
 

hendav

Senior Member
Jun 11, 2010
402
125
0
Frandom is for pro version.

Stevethegreat, it is not difficult to compile with vt support. but what's next? i don't know what will work in linux and i suppose it will be a very hard work to run and adapt linux on this tablet
Is there a pro version available yet? I love the basic version just wondering if I missed it. Thanks

Sent from my SM-P900 using Tapatalk
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone