FORUMS

[FTF] Sony Xperia Z Lollipop Release

Sony rolled out a Lollipop update for Xperia Z just yesterday. If you still haven’t gotten … more

Original Moto G Receives Lollipop, OTA Captured

The original Moto G was released almost two years ago. Motorola still continues to … more

Device Review: No.1 X1 Rugged Smartphone

We are almost at the end of Q2 for 2015, and we have seen most of the flagship phones for the … more

When a Friend or Family Member Asks for a Phone Recommendation, What Do You Tell Them?

The majority of us here at XDA would consider … more
Post Reply Subscribe to Thread Email Thread

[KERNEL] XPLOD 3.0.24 opensource kernel

9th March 2012, 09:27 PM |#1  
XpLoDWilD's Avatar
OP Senior Recognized Developer
Flag France
Thanks Meter: 14,577
 
Donate to Me
More
Hi there,

This is a development thread.
Don't ask for ETAs. Don't ask what's working. Don't ask how to use.

It is not yet in an usable state.

Quote:

INFORMATION

This is an attempt to make a homemade 3.x kernel for our beloved Galaxy S II. I'm targetting the GT-I9100 only for now, if you wish to get it running on other variants (I9100G for instance), feel free to port it to your device and do a pull request.

I started it off Origenboard 3.0.4 kernel patched to 3.0.24, so that we get the most up-to-date opensource drivers, removing the need of porting Samsung drivers from 2.6 (gingerbread) kernel.
We'll be able to merge proprietary stuff from Samsung when they release it (audio and modem mainly), but thanks to what we'll already have we'll have a proper 3.x kernel without any Samsung crap (such as their MTP implementation that is borked it seems).

Quote:

GIT REPOSITORY

http://github.com/xplodwild/android_...msung_galaxys2

Quote:

WHAT'S WORKING

  • Keys GPIOs
  • Regulator and battery (it loads well but Android doesn't show it's charging)
  • Screen/framebuffer
  • Touchscreen
  • MFC (untested but should work from Origen)
  • RTC Clock
  • Touchkeys

Quote:

MAJOR ISSUES

  • Phone never wakes from deep sleep (<== We definitely need experts on this one)
  • ADB works only after unplugging and replugging USB cable (issue almost located)

Quote:

HOW TO HELP

Well, start forking, do stuff and make pull requests so I merge it and everyone enjoys. I'd need some help for the major issues above (especially the deepsleep issue).

If you're not a developer, well, buy me a coffee, there's a donation button on the left of this post

I'll keep you informed when it'll be ready for "public" use.
Last edited by XpLoDWilD; 14th March 2012 at 01:39 AM.
The Following 112 Users Say Thank You to XpLoDWilD For This Useful Post: [ View ]
 
 
10th March 2012, 02:20 AM |#2  
Senior Recognized Developer
Flag Owego, NY
Thanks Meter: 25,256
 
Donate to Me
More
  • Phone never wakes from deep sleep
  • cpufreq is stuck at 200Mhz in ondemand governor
My guess is that these might be connected - or does conservative work?

Our device becomes very unhappy if it enters suspend when the regulators aren't set high enough to support 200 MHz.

As an experiment - if you set the default voltages for 200/500 to match 800 and it fixes things, that's the problem. If it still breaks - it's something else and I have no clue what.
The Following 3 Users Say Thank You to Entropy512 For This Useful Post: [ View ]
10th March 2012, 07:51 AM |#3  
pulser_g2's Avatar
Developer Admin / Senior Recognized Developer
Thanks Meter: 11,342
 
More
Quote:
Originally Posted by Entropy512

[*]Phone never wakes from deep sleep[*] cpufreq is stuck at 200Mhz in ondemand governor

My guess is that these might be connected - or does conservative work?

Our device becomes very unhappy if it enters suspend when the regulators aren't set high enough to support 200 MHz.

As an experiment - if you set the default voltages for 200/500 to match 800 and it fixes things, that's the problem. If it still breaks - it's something else and I have no clue what.

I was just thinking that Iirc it puts the device into 800 when waking, or something like that...
10th March 2012, 10:06 AM |#4  
XpLoDWilD's Avatar
OP Senior Recognized Developer
Flag France
Thanks Meter: 14,577
 
Donate to Me
More
Quote:
Originally Posted by Entropy512

Our device becomes very unhappy if it enters suspend when the regulators aren't set high enough to support 200 MHz.

As an experiment - if you set the default voltages for 200/500 to match 800 and it fixes things, that's the problem. If it still breaks - it's something else and I have no clue what.

I had the same issue when I haven't enabled the governors, so the CPU was stuck at 1200MHz but won't wake up either from a deep sleep.
I'll have a try with the voltage, but my guess is more that there's some steps missing (the default 2.6 kernel seems to have a "low power mode" in which the board gets before waking up, if I understood it correctly).

At the same time, I'm giving a try with the 3.3 branch at Linaro (check android-3.3 branch at my github). It's harder than 3.0 because there's no more s3c framebuffer, it seems to go directly to FIMD, and the LCD panel has to be setup through SPI.
The Following 13 Users Say Thank You to XpLoDWilD For This Useful Post: [ View ]
14th March 2012, 01:39 AM |#5  
XpLoDWilD's Avatar
OP Senior Recognized Developer
Flag France
Thanks Meter: 14,577
 
Donate to Me
More
Some update:
- Touchkeys, clock and various things added/fixed
- Patched to 3.0.24
Edit:
- Added sdcard mounting

Cool stuff should come very quickly
Last edited by XpLoDWilD; 14th March 2012 at 02:17 AM.
The Following 50 Users Say Thank You to XpLoDWilD For This Useful Post: [ View ]
14th March 2012, 05:39 AM |#6  
sam razzy's Avatar
Senior Member
Flag Ma sweet home
Thanks Meter: 512
 
More
Good work...
---deleted some post----


Sorry u can delete this post as it making thread very ugly..

_____________________

Sent From My Phone
The Following User Says Thank You to sam razzy For This Useful Post: [ View ]
14th March 2012, 09:09 AM |#7  
Senior Member
Thanks Meter: 28
 
Donate to Me
More
just buy u a expensive coffee! Work hard!
14th March 2012, 09:38 AM |#8  
Senior Member
Thanks Meter: 164
 
More
Quote:
Originally Posted by XpLoDWilD

Cool stuff should come very quickly

Does this mean you are smelling Samsung source code somewhere? ;)

boba
The Following User Says Thank You to polford23 For This Useful Post: [ View ]
14th March 2012, 10:01 AM |#9  
iamnotkurtcobain's Avatar
Senior Member
Flag Vienna
Thanks Meter: 3,292
 
More
Yeah do you smell sources?

Sent from my GT-I9100 using XDA
14th March 2012, 10:42 AM |#10  
XpLoDWilD's Avatar
OP Senior Recognized Developer
Flag France
Thanks Meter: 14,577
 
Donate to Me
More
Quote:
Originally Posted by boba23

Does this mean you are smelling Samsung source code somewhere? ;)

boba

We'll do our best without them.
The Following 25 Users Say Thank You to XpLoDWilD For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
3.0, galaxys2, kernel, samsung
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes