+ Reply to Thread
Results 1,061 to 1,080 of 2415
[project]Port android to meizu M8
This is a discussion on [project]Port android to meizu M8 within the Meizu M8 Android forums, part of the M8 Firmware category; Originally Posted by r3wDy the tree is defentily patched. if in the android way (there are android specific things innit) ...
-
02-08-2010 #1061Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsMaybe it would be a good idea just to dump it out of the system? If i am right there are only about 10 rc versions available? I mean it isnīt the end of the world, unfortunally it is not really my playground otherwise i would do it. If one assists me i could try to do it when i find some sparetime

r3wdy, i am wondering the following for a while, are we sure everything can be ripped out wince using the tinyloader? i mean how can we be sure that it is a match with wince not using a proper loader like normally used by android (uboot?)?So we must see if this feature is disaled in the uart driver we use. If this is on by driver, maybe the baseband is on, but the serial port is not correct.
I will write my driver and try it
-
02-09-2010 #1062Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsWe casnt be sure that everything can be ripped out.
In fact it hasnt anything to do with the loader. What i do is disassemble the nk.exe (kernel) from windowsce. (last fw). With the messages from the debug output, im able to find the intresting code sections. Meizu used the smdk6410 wince6 bsp. We have the source of this (partially).
So i can find excact the debug messages from the m8 in these codes. Then i know which functions going to be calles, and so im able to find the proper part asm code in the file. This part is then converted to c.
Im really sure that i found the functions i mentioned (initGPIO, init blockpower set h and cclock and stuff).
But of course i cant be sure that this is all, as im not he mega reverse asm pro haxx0r
-
02-09-2010 #1063Senior Member
- Join Date
- Jul 2009
- Posts
- 320
- Thanks
- 21
Thanked 14 Times in 9 Postsas we all know generally android phones have more hardware buttons than the meizu m8 there might be a solution for that .. it seems this company that makes the geeksphone one made an android mod to the ui so it would have those keys on screen
just thought it might help
YouTube - GeeksPhone One en Xataka
maybe if we dig more we might find the android fw they're using and port it over
or even contact the firm that makes this phone (it must be some kind of a start-up with some sort of a hacker that knows it all about android and modding it into hardware) they might give us a hand here ? i personally won't do it for a simple reason ... i would love to but i know nothing about these stuff and i wouldn't know what to say to them
so i hope i helped at least in some way
maybe a french user in our forum could try and locate them or help out with the contacting as it seems they're located in france (paris i presume)
-
02-10-2010 #1064Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postsbut you are becoming one

ow okay, i was thinking that using the loader some functions are called different then used under CE.In fact it hasnt anything to do with the loader.
silent-neo, you can always try but since there point is selling hardware i donīt expect much help , could be wrong though!
So more interesting news (next to the fact that lang2 made it possible to load the disk & that we might have an rc 4 release, thanks again m8īy! )
I am still trying to find some usefull stuff for our android but canīt spend much time on it atm, just like the godfather from our used linux kernel.
But he could provide me with limited but very usefull feedback...
I will qoute :
So i am understanding this that we might be able to run android 2.1 with the 27 kernel from him - this when ripping out the Multitouch from newer kernels..android 2.1 , you just need modify a little thing only,like this:
eclair\frameworks\base\libs\ui\EventHub.cpp
device->classes |= CLASS_TOUCHSCREEN | CLASS_TOUCHSCREEN_MT;
modify to
device->classes |= CLASS_TOUCHSCREEN ;
make
copy directory system to mydroid.img, run ok.
because of the 27 kernel not support multi-touch driver yet, you can port multi-touch driver from 31 kernel.
Who wants to try? with some luck we got an rc5 then :D
edit:
a bit of topic, but yet interesting to have in the future when android runs fine on m8 series : this hackLast edited by evow04; 02-10-2010 at 09:36 AM.
-
02-13-2010 #1065Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 PostsThought I'd move to this thread for the topic.
The reason why my new image doesn't have sound is: it's turned off in the config file by default and I never looked. So I tried to turn it on... which leads to another problem: the new codec for SE is only supported in 2.6.32. Actually banxian mentioned it before. I tried to backport it and it prove too much of a job. So we might have to go to the new kernel.....
What else exactly needs the new tree?
-
02-13-2010 #1066Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 PostsI've generated a zImage file that has sound enabled for FE. Could somebody try it? Mine is a SE. You'd have to create your own dual-boot xip.bin though.
Here is the link: zImage-alsa-enabled.zip
-
02-13-2010 #1067Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Postsnice work

Im right now writing a linux device driver which initialzes the baseband just like the mux0710 did. Then i will see if i can get an answer. maybe just dont get an answer because i ask the wrong way
Im hacking a little bit on the serial driver as we need to manage flow control by software. with little patch this can be done with ioctls.
But i stuck on how use std. serial port functions in kernel, as there is no clib :/ ^^
ill stay tryin
-
02-13-2010 #1068Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postsr3wdy, can you confirm that audio now works on FE?
at least the patches mentionned in the wiki, other changes are pretty unknown that is why wou would need to compare kernels :-)What else exactly needs the new tree?
Btw for SE audio, did you append this patch too?
-
02-13-2010 #1069Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 PostsI seem to remember that the WIFI chip needs SPI driver from the latest kernel. True?
I need an address for a 2.6.32 s3c6410 patched tree (I think). Anybody got an url?
That's only part of it. Here (zImage-alsa-enabled.zip) is the full patch. It uses too many features from the new kernel to be easily backported to 27. But of course porting M8 patches towards 2.6.32 is a even bigger job.Btw for SE audio, did you append this patch too?
-
02-13-2010 #1070Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsIndeed, that is what r3wdyīs research pointed out.
for the kernel, normally the basic kernel should contain support for the soc, but you could have a look on linux-2.6-samsung.git, thatīs a kernel build by samsung devīs.
There should also be a kernel from aesop.or.kr, but i do not know the latest revision number.
edit, the most recent aesop kernel is on gitorious
edit M900 from samsung could be a similar kernelLast edited by evow04; 02-13-2010 at 02:05 PM.
-
02-13-2010 #1071Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Posts
-
02-13-2010 #1072Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 PostsThe stock kernel has all the patches? You can see I'm pretty new to this.

Also, from looking at the top level Makefile, the bill tree is based on 2.6.27 stock kernel.
-
02-13-2010 #1073Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsHere is the samsung git
http://git.kernel.org/?p=linux/kerne....git;a=summary
the se dont has a spi wlan chip, i think se has sdio chip.
Look 4 drivers here
Drivers - Linux Wireless
i have no knowledge on sdio dunno what it is or how it workx.
Hopefully its easier than spi ^^
-
02-14-2010 #1074Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postslol :-)
R3wdy,
did you every try to run the samsung kernel?
edit:
i noticed i could repartition the m8īs movinand in win 7 control panel - computer management. Going to have a look how hard it would would be to add a 2nd partition and edit tinyloader to be able to load it from there, it would be a better bugfix (i think) then lang2īs solution & would make it easier in the future if we could really install android there?
edit:
Lang2, the android image works fine in combination with /disk,i could open all my mP3īs but ofcourse no sound.Wanted to run usbnet.. but didnīt work either
Last edited by evow04; 02-14-2010 at 06:21 PM.
-
02-16-2010 #1075Senior Member
- Join Date
- Jul 2009
- Posts
- 320
- Thanks
- 21
Thanked 14 Times in 9 Poststhe day android fully works on the m8 will be the day the M8 reborn !!! the hardware is just perfect for the android experience (mind few of the buttons ) :'(
-
02-16-2010 #1076Senior Member
- Join Date
- Jul 2009
- Posts
- 320
- Thanks
- 21
Thanked 14 Times in 9 Postsi found this :
Sim Toolkit Application (STK) | Android Open Source
i donno if it helps but it seems to be a way to interact with the baseband :S i think
-
02-18-2010 #1077Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Postsre. was in munic for work.
Now im back. thats the standings:
No sry, we cant use this application. The problem is not how to communicate with the baseband. There are RIL (radio interface layer) implementations in the android sourcetree. I looked at them, and there are mux0710 (gsm protocol) implementation.
So i think we could do this (in any way, i dont think implementing such a thing is easy, but with this documentation source i think we could do it)
The problem is communication at all. The baseband has an own firmware (version can be seenin phone info). To cumunicate with it at commands are used. But to use this at commands, we need to get the commands to the baseband. (enabling it or seting the comport right etc)
Problem at all: we dont even know if the baseband is connected to the comport. And we dont even know if we can enable it with gpio. maybe its i2c bus or maybe spi oder sdio. or maybe it uses the modemctronl memory and not the comport....
All we know is from the reversed windows drivers and thos showing that it should be gpio and comport, but sure is this not.
My problem right now: im trying to write a kernel driver for lilnux which behvaes like the mux07190.dll in windows ce. But i cant use clib function in kernel space. So fopen fread and fwrite and stuff is not avaliable there.
Anyone knows hot to communicate with the comport in kernel space??
uh
too much text ^^
-
02-19-2010 #1078Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 PostsDid anybody try the alsa enabled kernel and managed to hear audio?
@evow04
I tried usbnet as well and it wasn't working for me. I might try it again.
The 2.6.32 kernel tree doesn't appear to be patched with Android code. Strange. I'll checkout a Android experimental kernel and have a look.
@r3wDy
There is inb() and outb() for accessing IO ports. No experience with them though. But if it's only reading/writing to comport, what's stopping you from doing it from the user space?
-
02-20-2010 #1079Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsOn my SE it doesnīt do a thing :-)
Maybe r3wdy can confirm it? he has an FE:-)
too bad, i thought it was me doing something wrong.@evow04
I tried usbnet as well and it wasn't working for me. I might try it again.
what one? from google, git, samsung,..?The 2.6.32 kernel tree doesn't appear to be patched with Android code.
I thought that the way android interacts starting from .32 was another way(not sure) then in older kernels.
-
02-20-2010 #1080Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 Postsandroid.git.kernel.org Git
I'm not even sure what version it is. Just read some that there is an experimental tree that's supposed to be the latest.
What difference?I thought that the way android interacts starting from .32 was another way(not sure) then in older kernels.
Similar Threads
-
PROJECT: Meizu M8 Nederlandse taal
By MaikelRunia in forum DutchReplies: 47Last Post: 09-02-2009, 10:11 AM -
Port Meizu OS to Samsung Omnia i900
By natedogg20050 in forum Modding & DevelopmentReplies: 8Last Post: 08-17-2009, 12:09 PM -
What does the Meizu Rockbox project need?
By Err0r in forum RockboxReplies: 21Last Post: 05-17-2008, 12:12 PM -
Meizu M8 Project On Temporary Hold
By Err0r in forum Meizu M8 NewsReplies: 68Last Post: 04-20-2008, 04:02 AM -
The USB port
By vipert in forum TechnicalReplies: 3Last Post: 05-03-2007, 04:03 PM




Reply With Quote
SPH-M900_OpenSource.zip => linux 2.6.27 