Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[dev][kernel][sgp512] 17.1.1.a.0.402

OP adwinp

1st June 2014, 02:09 AM   |  #1  
adwinp's Avatar
OP Senior Member
Flag urandom
Thanks Meter: 162
 
1,692 posts
Join Date:Joined: Jun 2008
More
SGP512 Kernel, first attempt since I just got the device yesterday.
- close to stock
- disabled a few modules which are rather not going to be used
- disabled debug
- integrated wlan driver & configured so that it loads properly
- integrated exFAT

Instructions:
- unzip contents, copy over the modules to /system/lib/modules (remember to set the correct permissions)
- reboot into bootloader & flash the kernel
Code:
fastboot -i 0x0fce flash boot boot.img
fastboot -i 0x0fce reboot
Download binaries: https://drive.google.com/file/d/0B8r...FNHYWZhSHQ5VW8
source
The Following 6 Users Say Thank You to adwinp For This Useful Post: [ View ]
1st June 2014, 09:08 AM   |  #2  
Senior Member
Thanks Meter: 194
 
784 posts
Join Date:Joined: Aug 2011
Er... nice that someone starts developing for this device... but:

- what is wrong with the stock WiFi driver? I don't see any problems...

- exFAT is already integrated, no need of special kernel...

Doesn't seem very flash-worthy
1st June 2014, 09:57 AM   |  #3  
Junior Member
Thanks Meter: 2
 
20 posts
Join Date:Joined: Jul 2012
I would really appriciate a custom kernel for the Tablet so that we can undervolt the cpu and change frequencies and governors.

But wouldn`t it be the best and easiest way to port (of course with the approval of doomlord) his already existing doomkernel from the Z2 phone?
1st June 2014, 12:02 PM   |  #4  
adwinp's Avatar
OP Senior Member
Flag urandom
Thanks Meter: 162
 
1,692 posts
Join Date:Joined: Jun 2008
More
Quote:
Originally Posted by hasenbein1966

Er... nice that someone starts developing for this device... but:

- what is wrong with the stock WiFi driver? I don't see any problems...

- exFAT is already integrated, no need of special kernel...

Doesn't seem very flash-worthy

You won't be able to use the stock modules if you start messing too deep with the kernel & there is no in-kernel (3.4.0) driver for the bcm4339 which the Z2 uses, unless you want to mess with the brcmfmac driver.
Try using the compiled kernel I attached without copying over the associated wifi driver.

Quote:
Originally Posted by Frankus99

I would really appriciate a custom kernel for the Tablet so that we can undervolt the cpu and change frequencies and governors.

But wouldn`t it be the best and easiest way to port (of course with the approval of doomlord) his already existing doomkernel from the Z2 phone?

You can already change the freqs & governors with tools like PerformanceControl.
The only part which would need coding is UV control & a sysfs interface for it.
I'll do it sooner or later in my free time, but seeing as I don't have much of the latter, you'll surely see the features being implemented by other devs. Or you can code/port it yourself ;]

This post was never intended to being a starting point for developing a kernel for the community. I got the device 2 days ago & prepared my base for private kernel development & since I didn't see any posts related to a kernel base for the Z2 Tablet I wanted to share it so that interested parties could have a good starting point.
It was NEVER intended for end users.
Last edited by adwinp; 1st June 2014 at 12:07 PM.
The Following 6 Users Say Thank You to adwinp For This Useful Post: [ View ]
5th October 2014, 09:32 PM   |  #5  
spider623's Avatar
Senior Member
Flag Limassol
Thanks Meter: 310
 
1,267 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by adwinp

You won't be able to use the stock modules if you start messing too deep with the kernel & there is no in-kernel (3.4.0) driver for the bcm4339 which the Z2 uses, unless you want to mess with the brcmfmac driver.
Try using the compiled kernel I attached without copying over the associated wifi driver.



You can already change the freqs & governors with tools like PerformanceControl.
The only part which would need coding is UV control & a sysfs interface for it.
I'll do it sooner or later in my free time, but seeing as I don't have much of the latter, you'll surely see the features being implemented by other devs. Or you can code/port it yourself ;]

This post was never intended to being a starting point for developing a kernel for the community. I got the device 2 days ago & prepared my base for private kernel development & since I didn't see any posts related to a kernel base for the Z2 Tablet I wanted to share it so that interested parties could have a good starting point.
It was NEVER intended for end users.

ok, sony released the kernel code on git some time ago, any news with your kernel?
6th October 2014, 08:59 AM   |  #6  
adwinp's Avatar
OP Senior Member
Flag urandom
Thanks Meter: 162
 
1,692 posts
Join Date:Joined: Jun 2008
More
Quote:
Originally Posted by spider623

ok, sony released the kernel code on git some time ago, any news with your kernel?

I release this kernel since there were none at that time, at least none integrating the wifi driver & exfat.
Till then, the kernel development for the Z2 tablet took off, so there's no need to keep this post updated.
8th October 2014, 09:40 PM   |  #7  
spider623's Avatar
Senior Member
Flag Limassol
Thanks Meter: 310
 
1,267 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by adwinp

I release this kernel since there were none at that time, at least none integrating the wifi driver & exfat.
Till then, the kernel development for the Z2 tablet took off, so there's no need to keep this post updated.

really? i haven't seen any other kernels around
13th October 2014, 07:18 PM   |  #8  
Moscow Desire's Avatar
Senior Moderator - Resident Troll Killer
Flag Somewhere in a Deep Cave on the Troll Kings Throne
Thanks Meter: 6,233
 
7,467 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by spider623

really? i haven't seen any other kernels around

Uhmmm.... me neither to be honest.

However, it's extremely nice to see people taking part in kernel development. It's not so easy as one thinks. It's a lot of "trial and error" before something can be released to the public.

(patiently awaiting my Z2 tomorrow)

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes