+ Reply to Thread
Results 961 to 980 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; Guys, if i well understood the pictures are fakes. banxian, i can understand the loss of interest cause you still ...
-
12-06-2009 #961Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsGuys, if i well understood the pictures are fakes.
banxian, i can understand the loss of interest cause you still have a life next to it
-
12-06-2009 #962Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsI kniw its lot of work, and im am investigatind as much smaung driver i can but we dont get any fast progress here...
the problem is that we have reaches a point from where progress can only by achieved by much try and error and investigation things....
and we are right now two developers as i see (dont saw bill for a while...) and now christmas holidays are on the doors and time for the famaly will be taken so dont expect fast pogress here... im working onnit but yes... it will take time, if it can be done
-
12-06-2009 #963Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postshi r3wDy, you are right and i do think we are all aware that for the current needed 'drivers' we would need more dev´s or more time

btw what kernel from git can run without major changes on the m8?
-
12-08-2009 #964Member
- Join Date
- Mar 2009
- Posts
- 130
- Thanks
- 1
Thanked 113 Times in 35 Posts
I got some 1.8mm zipper pins today.
I tired to debug by printk a week ago.
-
12-10-2009 #965Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsHi Banxian,
so you will be trying to debug using jtag then?
Just received my replacement for m8, got an m8se instead, so now the pain starts all over again. Will see how to connect serial debug first cause if i am right according loonix the pins do not match on se like on fe ?
but the experiments will not be for immediatly since i am having a very busy time now.
-
12-10-2009 #966Dutch Moderator
- Join Date
- Jan 2009
- Location
- The Netherlands
- Posts
- 1,589
- Thanks
- 117
Thanked 173 Times in 72 PostsLast edited by LVL; 12-10-2009 at 03:01 PM.
Ben je Nederlands?
Dan kan je ook gewoon in de Nederlandse sectie reageren en vragen: http://www.meizume.com/dutch
-
12-11-2009 #967Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsAs i said i think we will be back in full motion in the next yearbut the experiments will not be for immediatly since i am having a very busy time now.
Im very busy right now too and as said such things like family and christmas and stuff exists too
-
12-11-2009 #968Member
- Join Date
- Aug 2009
- Location
- Austria
- Posts
- 222
- Thanks
- 44
Thanked 10 Times in 10 PostsWing Linux
perhaps there are good people which can help us?
-
12-11-2009 #969Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Poststhanks for the link bpm! I will have a look onto it.
You´re right, end of the year means lots of work and family events :-)back in full motion in the next year
indeed and i am happy with ityou finally have it
!!!!!!!
except.. i really hoped the wince was more stable since 3 months ago, seems not .. damn thing crashed twice allready
@Banxian & r3wdy;
since it is been a while i would need some help to get started again, so few questions;
Is android still getting loaded after tinyloader by using busybox to load the linux kernel that then loads the rootfs from the /disk?
Or is Tiny loader loading the kernel directly?
Reason why i am asking this is cause i think it is about time that we can use some disk space.
For now something loads the fysical drive to find mdroid.img, but can the mounting system detects virtual drives aka partitions? if so we should try to devide the /disk in 2 partitions where we can place the (extracted) rootfs & wince stuff... this way applications will be usefull?
Cause loading the disk to load the img to load a the same partition will provide issue´s..
I wanted to try myself to repartition the /disk but i realized that if i can not use the serial debug port i could get stuck and would need to request a new replacement and that is a no-no for me right now
I also was wondering if we could load haret (you know this right?) by using tinyloader, this to use the Reverse Engineering Tools ?
Next question is where i could find the images used by tinyloader since my mother language is dutch and i would prefer to modify so it is been written in dutch instead of english
And does anyone have feedback allready on serial/jtag on M8se?
-
12-11-2009 #970Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsTinyloader loads the linux kernel direct by copieng it to ram and jumping to it.
Android is then startet from the init.rc file.
Now that you have a m8 again i can send you finally the seiral plug i have on my desk for weeks :P
erm okay...
as we have linux running, we dont need any debug tools like haret and stuff.
i personaly use bills m8 kernel for development of drivers and stuff becaus there i can use nfsroot and control the m8 from telnet which is the best way i think.
(personal reminder: take a look at the partially ported kernel sources form banxian so we can get 30 or 32 kernel running)
To the images: i think tinyloder draws this things for itself so you would need to change the sourcecode to change the language. i hope you are familar with c/c++
and finally (just to not loose the target)
We have android running but no hardware support.
We know what baseband and wlan chip is used.
i personally think the a phone which cant be used to phone is useless so i concentrated on the baseband chip.
I think the chip must be enabled somehow, because under linux i cant find a answering modem on com1. So i looked at some samsung kernels to see how it is done but im very unsure. I didnt found anything. Without hw documentation its very hard to find such a (maybe) gpio setting.
In these directions we need to do the investigations.
-
12-11-2009 #971Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsThanks for clearing that out r3wdy!
Problem is that still no one confirmed the serial port on m8SE
So telnet is not an option.. and it is the reason why i am a bit scarred to re-partition myself cause if it fails i am screwed: Can not use eboot menu to recover the movinand.
But maybe if i can´t hold myself anymore i will try to repartition /disk.
About the baseband, did you check the git for android source, There are some examples on baseband?
And about the baseband, that was why i reffered to haret, people over at XDA forums seems to use it with lots of succes to build a baseband /... 'driver'.
Do you know on what kernel android 2.0 is based?so we can get 30 or 32 kernel running
it is been a long while, so i wil take slow start :-) That was why i will be focusing in the beginning on the easier ports to get back on track ;-)hope you are familar with c/c++
-
12-16-2009 #972Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsNo i didnt had a look on android2.
As said imn focused only on the sgold2 chip right now.
And yes i had a look at the ril implemetations in android but these are useless without a confirmation that the sgold2 is on and answering.
hum right now im kind of out of ideas how to find the way to enable this thing.... its just too much to try to find it through disassembeling the windows codes because thats that much code...
I will try to change the com port in my windows registry and start the phone connected to serial line, i know that the phone cant start with the wrong com port (i think because i needs the radio to be initialized)
maybe i can see something through the error output...
another interesting thing i found is the nkdbgprintfw function which prints plenty of debug messages, but i think not to the serial port. There seems to be a tool in windowcs6 package which can dump these messages. this could help us too i will have a look at itLast edited by r3wDy; 12-16-2009 at 08:36 AM.
-
12-16-2009 #973Member
- Join Date
- Aug 2009
- Location
- Austria
- Posts
- 222
- Thanks
- 44
Thanked 10 Times in 10 Postsis there anything in the m8 sdk to talk to the modem?
perhaps we can find infos inside the sdk?
i did not find english docu for the sdk so it is hard for me to find anything with it.
-
12-16-2009 #974Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsI just went through the mux710.dll code which inits the com ports and i could restore this informations:
This is what is done to init the modem.Handle to comport:
MOV r3 sp,#0x414+arg_0
add R3 0x28
CreateFile
GetCommState
<init comstate struct>
SetCommState
EscapeCommFunction 5 (Sends the DTR (data-terminal-ready) signal.)
SetCommMask E1 (1110 0001) EV_ERR | EV_BREAK | EV_RLSD | EV_RXCHAR
memset
SetCommTimeouts
Call ResetRadio (function)
sprintf AT+IPR=230400
EscapeCommFunction 4 (Clears the RTS (request-to-send) signal.)
sleep 0x64
EscapeCommFunction 3 (Sends the RTS (request-to-send) signal)
strlen
WriteFile (At command -> com)
Sleep 0x2bc
GetCommState
(mov r3 38400) seems baudrate setting
SetCommState
Sleep 0x3E8
sprintf AT+XPOW=4,200,0
EscapeCommFunction 4 (Clears the RTS (request-to-send) signal.)
sleep 0x64
EscapeCommFunction 3 (Sends the RTS (request-to-send) signal)
strlen
WriteFile (AT->com)
we can clearly see how to send at commands to the chip. Its done by clear rts line for 0x64 and then set it again. Then the command is written to the port.
The ResetRadio function seems to be realtively os independant as there are very few call to imported funcions, so maybe one can ript the code out of the dll. I think in there ineresting stuff is done. Another intresting thing is the CommTimeOut structure and the ComState Structure which we should investigate.
The first at command is sent after the reset radio so if we can get infos to switch it on, i think its in there.
But maybe just sending AT commands the right way might help.
I will investigate further
-
-
12-16-2009 #975Junior Member
- Join Date
- Dec 2009
- Posts
- 72
- Thanks
- 12
Thanked 1 Time in 1 PostJust want to say you people are doing a great job here!! Would be so awsome if the meizu community will make this work.

Don't think I can help at the moment because my programmer skils are very limited.
Keep up the good work!
-
01-03-2010 #976Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsIm just here to say that im still working on this

New year and christmas is over and i will get back to active development soon
-
-
01-03-2010 #977Senior Member
- Join Date
- Jul 2009
- Posts
- 320
- Thanks
- 21
Thanked 14 Times in 9 Postsgood luck dude
great work
-
01-05-2010 #978Passing By
- Join Date
- Dec 2009
- Location
- Belarus
- Posts
- 6
- Thanks
- 5
Thanked 0 Times in 0 PostsHello, help with where to get Dualboot package: 8gb to firmware 0,9,5,186 or'll show what to do?
-
01-05-2010 #979Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Posts
-
01-07-2010 #980Freshman
- Join Date
- Dec 2009
- Posts
- 23
- Thanks
- 0
- Thanked 7 Times in 1 Post
good luck to all who are helping to make this happen android is cool
btw im on my meizu
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
