+ Reply to Thread
Results 241 to 260 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; Don't believe me? You're welcome to dig through his posts to find that one reply [JW's profile]...
-
09-15-2009 #241Administrator
- Join Date
- Mar 2007
- Location
- Budapest, Hungary
- Posts
- 4,485
- Thanks
- 237
Thanked 1,024 Times in 375 PostsDon't believe me?

You're welcome to dig through his posts to find that one reply
[JW's profile]
-
09-15-2009 #242Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsHum

Im interested. I dont know if i want android but im interested in the project, so i decided to look at it. Im goung to build a Debug Cable. Once i flashed en PowerPC Board with UBoot Stuff, so i want do have a look at this. I think we are able to tranfer and boot something from such a cable
-
09-15-2009 #243Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postswoot
that would be a nice job 
time wil tellandroid is coming with the same ui
Aloha r3wDy !
I do think i (correction : we) could use the help on it!
When needed give me a yell, i have the needed tools distributed by samsung like you could read in the older replies.
This could make work easier.
My current issue on the debug is transfering data to the m8 using the serial debug cable, this to be able to get in the eboot option menu.
So someone would need to double check my pin layout, once fixed
it would be a mather of dumping the flashdisk and modify eboot or even try to upload using wifi/normal usb modus.
Btw i finally found someone who was going to try to solder my pins on the debug cable, so i could do some more testing, now need to find time to drop off my cable there
edit,
r3wDy:
not sure if you have seen this topic (i gues just want to make sure
)
[How-To] Serial debug connectionLast edited by evow04; 09-15-2009 at 07:25 PM.
-
09-15-2009 #244Dutch Moderator
- Join Date
- Jan 2009
- Location
- The Netherlands
- Posts
- 1,583
- Thanks
- 117
Thanked 173 Times in 72 PostsBen je Nederlands?
Dan kan je ook gewoon in de Nederlandse sectie reageren en vragen: http://www.meizume.com/dutch
-
09-15-2009 #245Administrator
- Join Date
- Mar 2007
- Location
- Budapest, Hungary
- Posts
- 4,485
- Thanks
- 237
Thanked 1,024 Times in 375 PostsYup, you have to register at the bbs
-
09-15-2009 #246Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsYes i saw this. I have skilled co workers in my company (they build electric devices) so i think they will help me outedit,
r3wDy:
not sure if you have seen this topic (i gues just want to make sure
)
[How-To] Serial debug connection
Im more the software type 
But as i worked with the PPC Board, (there was uboot on) you could flash some code dirct into ram and boot from there without touching the eeprom. So i think such a way must also be avaliable in eboot (need will read about eboot). This would make things at beginning much easier and i think so it wouldnt be possible to brick the phone
BTW to the haret problem: The windows registry doenst need alls the values. If you want to use a key which isnt there, yiu can simply create it, boot again and windows will use it if it finds it
Maybe to try the certified thing we just need to create the key
Last edited by r3wDy; 09-15-2009 at 08:35 PM.
-
09-16-2009 #247Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsGreat :-)
If they build electronic devices i am pretty sure that soldering 5 small pins will not be a big deal for them ;-)
You are correct about uboot, it allows lots of customizations.
But eboot is an MS product, so do not expect to much about it.
i did not be able yet to get in the bootloader options
(due my serial cable problem)
But googling show that there is mostly not much to find :

image source :
https://secure.intrinsyc.com/support...rfPod_270M.htm
But even if there is not a lot to find it should be possible to make changes to create a dualboot option .
On the dualboot part i must say that ive read that there are tools from samsung that could be used to save images in the /disk location to load firmware from there (i thought it was called memorycard boot or something)
About Haret, a few pages back in this topic i posted a dump on why haret would not run (lots of errors), it seems that haret is not compatible with ce 6 due the fact it uses an other programming structure then older ce versions, so except if you fully understand and can mod haret it is useless for now.
Ow the following we could try if we could have a good debug cable:
source : ::: MICROVISON :::Last edited by nice2know_u; 09-17-2009 at 11:58 AM. Reason: Linked images and text removed, because they loaded very slowly, making the thread impossible to read.
-
09-16-2009 #248Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 Postswe must be carefull. Writing Code to nand Flash most likely will kill CE completely. I dont know if the meizu loader would fix such a problem. I see download to flash (if we could get there) we could download an image to flash and boot from there. So wince would not be oerwritten and we could try lot of things out. We must be clear, if we can boot an android kernel we are far far from finished, more likely left with a unusable device. So i think we must find a way to preserver windows ce on device
Did you try to set te meizu to upgrade mode while cable connected? maybe there are more informations for us
I have no cable yet. i need to get such an usb/ttl converter first
-
09-16-2009 #249Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsOkay i got me a cable now (killed Datacable from my samsung :D )
and ... wow the m8 talks very very much
im impressed.
But i didnt managed to get into the ebootmenu
pressed spaces and enters and much more -> no reaction.
So i think of two reasons:
-> My cable is not correct wired.
ergo: I will doublecheck and solder it tomorow.
But i think reason two is the "better" one:
-> The tx port isnt connected so we can press as much buttons as we want, it wont respond.
this can only be checked if we could see the board of a meizu (anyone with a defect one?)
Maybe when im drun eneugh i will dissasmble mine, but i cant promise (love it :D )
For now i will study the logs from my terminal and do research on eboot on the internet.
greets
-
Member who thanked r3wDy for the post:
-
09-16-2009 #250Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsAnd me again

Ive found out (maybe its known already) that there are several samsung debug tool, which are mainly come with eval boards.
On of this tools is dnw.exe seems to be a samsung debug tool, with USB download capabilities.
So i searched and found this website:
ÉÏÔØ/ÏÂÔØČÕÖū
All chineses but there you can download the dnw.exe tool, i hanvt tried but imgound to check this now
We need to try every tool on this page
maybe one could be usefull
PS. im registred by pudn and now i need to upload 5 files/docs to activate this acc :/ im working on it
Last edited by r3wDy; 09-16-2009 at 11:01 PM.
-
09-17-2009 #251Passing By
- Join Date
- Aug 2009
- Location
- China
- Posts
- 14
- Thanks
- 25
Thanked 0 Times in 0 Postspictures of M8 & M8se
I hope it usefulLast edited by kohain; 09-17-2009 at 02:06 AM.
-
09-17-2009 #252Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsYes it is indeed surprising, most devices are so closed and do mostly offer little debug output i think Meizu still needs to learn in that option ;-)wow the m8 talks very very much
im impressed.
jup i faced the same problem, thatīs why i was looking for someone to confirm if they have the same issue. However it could be still a problem of wiring, i think i will agree with your idea that it could be a missing link in the Tx port.But i didnt managed to get into the ebootmenu
pressed spaces and enters and much more -> no reaction.
errr.. it is been a while can not remember it :P so i do not dare to say.try to set te meizu to upgrade mode while cable connected
it is an option, but if i am following you correctly then you would try to boot an other os from the eboot bootloader, and as far as i found eboot and android are not compatible. if they were the problem allready was solveddownload an image to flash and boot from there.
So just guessing you would like to try to add a bootloader to the android image?
agree with that one!if we can boot an android kernel we are far far from finished
that is why i mentioned the smartq device in this topic, it does dualbooting between android and win ce. It uses the same cpu so theoratical it should be possible to use some input from that device.find a way to preserver windows ce on device
Yes indeed, i did mention it in this topic, the wince topic and i thought in the serial debug part to (see pictures there it shows the dnw tool).(maybe its known already) that there are several samsung debug tool
The Wince topic contains the original BSP from samsung smdk6410, and in one of the subfolders there is the usb driver and DNW tool.
I know that this topic is becomming very long, but maybe it could be usefull for you to read it from the beginning it could point you to some interesting things.
On the "pudn" you will be able to download immediatly after the uploads, best ways to search on it is using the terms : s3c6410 / smdk6410 / 6410
There are some documents about the proccesor, some tools like the ifusing tool, dnw, dualboot tool (=> witch problably is the most interesting to invest)
there are few with a broken device, but they did not answer on the request to open it up.(anyone with a defect one?)
Mine is also 'broken' but i am not going to open it because i am in the middle of the RMA proces and in one of the following days i will need to ship back to meizu, so i do not want to loose warranty just yet
r3wDy, could you provide me with details on how you attached your pins to the cable? Cause the schematic i provided in the debug topic show that the tx port could be the other pin next to it, but i could not test it due soldering problems.
ps, if we could get busybox on it it should be possible to mount the "drives" that contain bootloaders etc so we could dump the contents.
edit :
is this a 5 or 10 pins cable ?(killed Datacable from my samsung :D )Last edited by evow04; 09-17-2009 at 07:47 AM.
-
09-17-2009 #253Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsHi!
ive read it form the beginning, but i just cant remeber all the links ive clicked
Just noticed that some of my links arnt new 
Its not an USB cable, ist an serial Cable, one side it was Serial, other side a samsung mobile connector. But the cable had a rs232 chip init, so i cuted the samsung part and connect4ed an usb. I use only three wires, rx,tx and gnd. because i get all the bootmsgs i think the connections are correct. On USB side i just connected like in you pic. i will try to set the tx to another pin when im at home.(killed Datacable from my samsung :D )is this a 5 or 10 pins cable ?
I just read through the manual of the smdk6410 eval bolard and there are shematics of the cpu, so i managed to find the jtag pins. Now im going to look at the pictures if i can find any exter jtag pins.
Got me the DNW tool and the drivers too. I think with this tool we should be able to download an image to the device without the need of the serial connection. But im unsure. i will try at home what dnw is saying
. And maybe wo then could download uboot.
But again i must say, that if we manage to get uboot on the device and running, i think it wont be that easy to geht CE back onnit :/
PS i think that because the most meizu devices are somehow development devicesYes it is indeed surprising, most devices are so closed and do mostly offer little debug output i think Meizu still needs to learn in that option ;-)Yes it is indeed surprising, most devices are so closed and do mostly offer little debug output i think Meizu still needs to learn in that option ;-)
So we are lukcy, i dont think the final will talk that much
Last edited by r3wDy; 09-17-2009 at 08:52 AM.
-
09-17-2009 #254Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsAnd again

(lets pump this thread up
)
Just s short update:
I just searched for jtag pins.
i thought the pins near the sim card insert would be really nice
The problem: i searched the internet and found others who build jtag devices for their mobiles. But non of them found the pins nearly by each other. so i think they are spread all over the mainboard
We cant find those pins without measuring the mainboard, and we have no mainboard to measure :/
I will try to measure those pins near the sim but i dont think that they help much.
But fortuantely we still have a bootloader on our device, so i wont give up flashing with dnw or something.
-
09-17-2009 #255Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsHellow there ;-)
I understand, it happens often for me to:cant remeber all the links ive clicked
there are to many links on this matter but non really good enough

Great cause i was wondering how you managed it to do without the ttl ;-)Its not an USB cable ....
That should be enough to be usefull,only three wires, rx,tx and gnd
Myself i use the VCC also, that is because i can manually overwrite on my ttl convertor what vcc to use but i like it more that i use the M8 its own vcc for not damaging my hardware.
But i must say that to receive the debug output it is enough to have the rx and ground (i think), so if i am somewhere mistaken there are 3 pins left over that could be the TX connection towards m8.
So if everything works out like it should, it could be that i can confirm this next week if my pins are re-soldered .
One bad connected wire could be the problem we can not enter eboot menu.
The schematics are pretty clear, but because i did not open my m8 and used the provided pictures i was unable to confirm/trace back the Jtag headers.shematics of the cpu, so i managed to find the jtag pins. Now im going to look at the pictures if i can find any exter jtag pins.
So opening will be the only otherway to find jtag so we could dump the flash through it.indeed, this makes me believe that jtag should be there to!because the most meizu devices are somehow development devices
And combined with the debug output , i do really think they did not close the tx pin towards m8.
I think not, according the manual (see the wince bsp package : it is included in one of the folders) it claims to work the following way:DNW tool ....... should be able to download an image ...... without the need of the serial connection.
*hookup serial
*hookup usb or network link
*enable eboot menu through serial port
*enter memory location in setting for usb transfer
*then start to transfer data
yes, but if we manage to get uboot on it, we would have the possibility to add a menu to it to select the eboot loader?manage to get uboot on the device and running, i think it wont be that easy to geht CE back onnit :/
And in an old post here it seems that once meizu launched firmware including an eboot, but i never figgured out cause there is little info to find about it.
(if we manage to use both tx/rx it could become interesting to order a 10 pins plug that contains debug ánd usb/activesync modus)
-
09-17-2009 #256Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Posts



uhu it is true, and even then : i have no idea how you could be able to find the diffrence in the jtag pins wit standard tools...But non of them found the pins nearly by each other
except if you would desolder the s3c6410 chip, then we would be able to find it. but who is that going to do
-
09-17-2009 #257Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsOk really last post this morning.
After research think we should try to go this way:
1. replace eboot with uboot
2. get uboot booting windows ce. (direct or with the help of eboot)
3. From now we can load and execute images from ram without destroying the phone
4. Start expermineting with the android kernel
I found this:
BeagleBoard - Discussions - How to get Windows CE 6.0 on BeagleBoard...
There it is clearly stated that you can boot eboot out of uboot, and so boot an windows ce from uboot (indirect) . And somehow uboot is able to boot wince direct (ive read about it too)
To try, i will use my Windows CE5 pda (ipaq) because im scared of fraggin my phone :D.
The only problem is, i think i neeed kind of dnw.exe for my pda first. then i can try such things.
Man this freaks me out
i just cant wait to get home to try all this crazy shit :D
-
09-17-2009 #258Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsAloha,
becarefull!cant wait to get home to try all this crazy shit :D
Make a backup first, it could otherwise ruin everything on the ipaq.
Good then we have an agreement how we are going to do things?this way:
1. replace eboot with uboot
2. get uboot booting windows ce.
[U-Boot-Users] U-Boot WinCE booting support?
This an other confirmation about the uboot to eboot/winCe story.
So, the following will become required:
*Serial cable with tx support to m8/jtag device
*a backup of the original ebootloader (win ce image is not needed)
*Uboot that comes with SMDK6410 (Most chance it will run from stock on m8)
*Uboot that will be adapted with an end-UI to select to OS when booting
*Uboot with patch to eboot/WinCE support
*Help for development and testing
if it has a serial debug port hyperterminal/teraterm will give you acces to read the output.dnw.exe for my pda
If we can acces the tx pin to m8 we can continu to write uboot as described a few replies earlier, following we could try to run the smartqs android build as it is the closest to m8 for now.
If we can not use tx to m8 we will need to find yet an other way.
(damn why do we try to load unix from windows and not the other way around, it could be a lot easier ;-) )
Question to all you out there, who could try to figure out what the Meizu m8 firmware with eboot does, needs, produces,... ?
tx
-
09-18-2009 #259Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsYesterday ive ordred an 11pin mini USB Cable.
Wen need such a thing to build an usb/serial plug.
Ive read that the HTC datacables have the same connector too, and so i build an HTC cable on ebay (3,5) there should be an 11pin miniUSB connector onnit.
With this cable we could try to use dnw.
Meanwhile i did research on wince and founf very intersting things.
HaRET doenst run because its not in system (kernel) mode, and direct memory access is forbidden in usermode.
Its not that easy to get an application in windowsce6 in kernelmode, because the functions which did that arnt avaliable in ce6.
On a mircosoftsite ive read:
To get a driver/process in kernel mode, it must be startet from another kernelmode process.The kernel mode and user mode concept from Windows CE 5.0 does not exist in the same way in CE 6.0. In CE 6.0, modules (DLLs) are loaded in the kernel process, a user process, or both. Therefore, any thread owned by a module loaded in the kernel process is said to run in kernel mode. In addition, any thread owned by a module loaded in a user process is said to run in user mode.
So ive we could get haret startet by a kernel mode process, maybe it could boot uboot for us.
After more research on windows ce 6 i found the following:
This is the bringerBoot Sequence Specifications
- You cannot specify command-line parameters for executables. This is unchanged from previous versions of Windows Embedded CE.
- Application-loading sequences are specified under the HKEY_LOCAL_MACHINE\Init registry key.
- You can specify the load order of system DLLs, executables, and applications under the HKEY_LOCAL_MACHINE\Init registry key. The OS launches executables listed under this key and loads DLLs under this key into the kernel.
- You can specify which DLL entry point to call when the application starts.
- The startup sequence is similar to the service startup sequence in Services.exe and the registry enumerator.
When we set HaRET in this key.... do you think what i thinkYou can specify the load order of system DLLs, executables, and applications under the HKEY_LOCAL_MACHINE\Init registry key. The OS launches executables listed under this key and loads DLLs under this key into the kernel.
i need regedit for my meizu couldnt find it yesterday, the only link was down
-
09-18-2009 #260Administrator
- Join Date
- Mar 2007
- Location
- Budapest, Hungary
- Posts
- 4,485
- Thanks
- 237
Thanked 1,024 Times in 375 PostsHere's the registry editor which works for M8

RapidShare: 1-CLICK Web hosting - Easy Filehosting
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

