Results 1 to 20 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; Hi all! Welcome to the Android development thread! A lot is been changed over the past year, most of all ...
-
06-25-2009 #1Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Posts
[project]Port android to meizu M8
Hi all!
Welcome to the Android development thread!
A lot is been changed over the past year, most of all thanks to the release of a kernel by Meizu themselfs.
Since multiple teams do work on a port of android to m8, it is hard to keep track in a forum post.
Therefor if you want to work on a port, review a status or other use the following links:
Android Development
- Developers FAQ
- End-users FAQ
- USB to serial
- JTAG
- Mpack
- & more .... => see wiki
FAQ
Please feel free to help us maintain the wiki, you can simply register and edit content right away to keep things up-to-date.




Last edited by evow04; 08-06-2010 at 07:04 AM.
-
5 members have thanked evow04:
-
06-25-2009 #2Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Posts[YOUTUBE]http://www.youtube.com/watch?v=MSpVUyxhedI[/YOUTUBE]
[YOUTUBE]http://www.youtube.com/watch?v=o-nY6G4mxiA[/YOUTUBE]









Last edited by evow04; 08-06-2010 at 06:45 AM.
-
2 members have thanked evow04:
-
06-25-2009 #3Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Posts*content deleted*
Last edited by evow04; 08-06-2010 at 06:40 AM.
-
Member who thanked evow04 for the post:
-
06-25-2009 #4Passing By
- Join Date
- May 2009
- Posts
- 15
- Thanks
- 2
Thanked 0 Times in 0 PostsI can't get connect via haret to my pc it try's to connect to 169.254.2.1 and it say's he couldn't get a connection because the target denied and my usb ip is 192.168.55.101 if I change it exit the console. (maybe it's because I have win 7 64 bit)
-
06-25-2009 #5Junior Member
- Join Date
- Apr 2009
- Location
- UK
- Posts
- 75
- Thanks
- 10
Thanked 1 Time in 1 PostPresumably you don't mean the same thing in console for USB and wifi connections?
Edit: Maybe you did... strange way of phrasing it if so. Did you mean that? What is the IP for USB? :SLast edited by Rich4443; 06-25-2009 at 06:00 PM.
-
06-25-2009 #6Junior Member
- Join Date
- Apr 2009
- Location
- UK
- Posts
- 75
- Thanks
- 10
Thanked 1 Time in 1 PostHaret won't run properly for me...
I get: "Haret is not running in 'system' mode. Major functionality will not be present." whenever I run Haret on the m8. I've tried it when unplugged and connected by USB and from explorer.exe.
Edit: Just found this thread:
HARET 0.5.2
Looks like others have same problem.Last edited by Rich4443; 06-25-2009 at 06:10 PM.
-
06-25-2009 #7Junior Member
- Join Date
- Apr 2009
- Location
- UK
- Posts
- 75
- Thanks
- 10
Thanked 1 Time in 1 PostThis is all I can get without system mode:

======== Connecting to haret ========
Exception on cpu id detect
Welcome, this is HaRET 0.5.2 running on WindowsCE v6.0
Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF
Detected machine Default/generic (Plat='miniOne' OEM='Meizu miniOne')
CPU is ? running in user mode
Enter 'HELP' for a short command summary.
HaRET(1)#
Edit: It looks like I can run commands properly. Do you want me to try anything specific?Last edited by Rich4443; 06-25-2009 at 06:12 PM.
-
06-25-2009 #8Freshman
- Join Date
- May 2009
- Posts
- 32
- Thanks
- 2
Thanked 2 Times in 2 PostsI think the ARM 11 cpu of the M8 it's not supported by Haret.
Anyone can confirm this?
Also... how can we get Haret to run on "system mode"?
-
06-25-2009 #9Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postserzincano ,
the ip 169.x.x.x is so far i know not a valid ip.
this is an explanation from wikipedia:
moreinfo see here : ExtremeTech Discussions - 169. IP Address Help169 is known in the computing world as the first number of an automatic IPv4 address assigned by TCP/IP when no external networking device is contactable
About the tools that are suddenly closing i can say that a 64 bit and win 7 system mostly gives problems while using develpoment tools. (my experiences)
Rich4443,
could you provide the steps you have made to get haret connected to your pc, it could help erzincano, cause there could be a flaw in my howto or maybe just a better and easier explanation can do the trick.
about the system mode, i still did not figure everything out about haret yet due the fact i can not try it myself. However, it is a good start that it runs in normal mode.
This is what google says about it :
(source Re: [Haret] spv c 100 (HTC #!) Oxygen) haret 0.52 problem )> Haret is not running in 'system' mode. Major functionality will not be
> present.
I've only seen a handful of reports on this. What's happening is that
the WinCE OS isn't letting haret do any privileged instructions. This
basically prevents haret from doing anything interesting.
The other reporters were able to fix this by unlocking their phone.
Strange thing is that the device has no simlock, maybe it is an issue about firmware, could you inform us what firmware you have on your lovely m8?
And could you say if you have a beta (with wifi) or a production device?
what we can see in your log that meizu keeps calling the device "miniOne"
The bad news is that haret can not say what cpu is used, does anyone knows where to find cpu info on m8 provided by meizu? Cause this will be needed to proceed further in the project.
reason :About running commands, i would say try to play around?The HaRET tool should work on WinCE (2.10 or later) based ARM
processors (arm v4 or later).
(example :dump cp to find cpu info)
and can you try this :
maybe we can find some interesting info in the log.On haret 0.5.x, there is an ability to turn on logging very early in the startup. To do so, create a file "earlyharetlog.txt" in the same directory as "haret.exe". Then run haret.exe - a file "haretlog.txt" should be created in the same directory.
ps thanks for helping!
ps 2 MartO you were just a bit faster then me about the cpu issue, thanks to contribute!Last edited by evow04; 06-25-2009 at 09:05 PM.
-
06-25-2009 #10Administrator
- Join Date
- Mar 2007
- Location
- Budapest, Hungary
- Posts
- 4,853
- Thanks
- 262
Thanked 1,140 Times in 438 PostsThis should be the specs sheet of M8's cpu:
SAMSUNG's Digital World
-
06-25-2009 #11Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 Postsupdate on the system mode issue:
source :The code was unable to place itself in "system" mode. Other users
have been able to resolve this problem by either "unlocking" the phone
or setting something in the registry to allow unsigned binaries. (I
don't have a clear report on how it was resolved.)
Re: HTC S310 (HTC Oxygen) haret.log: msg#00027 handhelds.haret
@nice2know_u thanks! i will have a look on to it!
-
06-25-2009 #12Junior Member
- Join Date
- Apr 2009
- Location
- UK
- Posts
- 75
- Thanks
- 10
Thanked 1 Time in 1 PostOk so steps I took: (basically what you said)Rich4443,
could you provide the steps you have made to get haret connected to your pc, it could help erzincano, cause there could be a flaw in my howto or maybe just a better and easier explanation can do the trick.
1. Installed python and extracted haret console zip on PC.
2. Copied Haret exe to M8
3. Ran the exe with USB unplugged (in user mode) with wifi on.
4. Clicked on listen for connection (in the M8 program).
5. Started connection by typing:
(this is from C:\python26 as my python is not integrated into cmd)
python "C:\Program Files\HaretconsolePackageForWin\haretconsole\conso le" 192.168.0.8 9999
(192.168.0.8 is the M8's IP on my wifi network)
I found that same explanation on google (no way to run as admin or equivalent).Strange thing is that the device has no simlock, maybe it is an issue about firmware, could you inform us what firmware you have on your lovely m8?
And could you say if you have a beta (with wifi) or a production device?
I have the latest official firmware (0.9.0.6?) and as you might have guessed from my instructions I have a wifi version.
I'll try the logging thing now.and can you try this :
On haret 0.5.x, there is an ability to turn on logging very early in the startup. To do so, create a file "earlyharetlog.txt" in the same directory as "haret.exe". Then run haret.exe - a file "haretlog.txt" should be created in the same directory.
Glad to help any developers. I'd probably not use Android but it would be nice to see.ps thanks for helping!
-
06-25-2009 #13Junior Member
- Join Date
- Apr 2009
- Location
- UK
- Posts
- 75
- Thanks
- 10
Thanked 1 Time in 1 PostOk this flat-out doesn't work...On haret 0.5.x, there is an ability to turn on logging very early in the startup. To do so, create a file "earlyharetlog.txt" in the same directory as "haret.exe". Then run haret.exe - a file "haretlog.txt" should be created in the same directory.
-
06-25-2009 #14Junior Member
- Join Date
- Apr 2009
- Location
- UK
- Posts
- 75
- Thanks
- 10
Thanked 1 Time in 1 PostOk as for connecting via USB I was probably being dumb. The Haret console comes with a batch file named console-activesync.bat which connects to 169.254.2.1. So I guess that's the USB connection's "IP" and you probably have to be in activesync mode. Hope that helps people without wifi.
Edit: just read erzincano's post properly. If it says the M8 denied the connection then the IP is right. Did you press the listen for connection button in Haret.exe on the M8?Last edited by Rich4443; 06-25-2009 at 09:35 PM.
-
06-25-2009 #15Junior Member
- Join Date
- Apr 2009
- Location
- UK
- Posts
- 75
- Thanks
- 10
Thanked 1 Time in 1 PostHaRET(7)# dump cp 1
EXCEPTION on access to coprocessor 1 register 0
EXCEPTION on access to coprocessor 1 register 8
c00: ffffffff | c08: ffffffff
EXCEPTION on access to coprocessor 1 register 1
EXCEPTION on access to coprocessor 1 register 9
c01: ffffffff | c09: ffffffff
EXCEPTION on access to coprocessor 1 register 2
EXCEPTION on access to coprocessor 1 register 10
c02: ffffffff | c10: ffffffff
EXCEPTION on access to coprocessor 1 register 3
EXCEPTION on access to coprocessor 1 register 11
c03: ffffffff | c11: ffffffff
EXCEPTION on access to coprocessor 1 register 4
EXCEPTION on access to coprocessor 1 register 12
c04: ffffffff | c12: ffffffff
EXCEPTION on access to coprocessor 1 register 5
EXCEPTION on access to coprocessor 1 register 13
c05: ffffffff | c13: ffffffff
EXCEPTION on access to coprocessor 1 register 6
EXCEPTION on access to coprocessor 1 register 14
c06: ffffffff | c14: ffffffff
EXCEPTION on access to coprocessor 1 register 7
EXCEPTION on access to coprocessor 1 register 15
c07: ffffffff | c15: ffffffff
HaRET(8)#
Looks like system mode might help us...
-
06-25-2009 #16Freshman
- Join Date
- May 2009
- Posts
- 32
- Thanks
- 2
Thanked 2 Times in 2 PostsFor starts I think we need a version of Haret that recognize the CPU of the M8. The ARM1176JZF-S.
Maybe at xda-developers.com we might get helpLast edited by MartO; 06-26-2009 at 01:19 AM.
-
06-26-2009 #17
Great initiative! We've all got to start somewhere, and hopefully this may turn out to be a viable alternative to Meizu's offering.
-
06-26-2009 #18Valued Member
- Join Date
- Aug 2008
- Location
- Belgium
- Posts
- 2,434
- Thanks
- 127
Thanked 189 Times in 130 PostsRich4443,
i will change the haret tut to yours. thanks for your specs btw.
(ps : it is not dumb, the.bat file could be writen in a better way)
About your cpu dump, it is sure for now that Haret does not support arm11 like Marto suggested.
MartO,
did you ever try the mailing list from haret support, to find info about support on the cpu or details why system mode does not run?
erzincano,
can you try to follow Rich4443 instructions and see if you can get system mode?
about the haret console and usb connection:
i found : HpIpaqRx3715Draft - Handhelds.org MoinMoin Wiki
It explains how to connect trough usb in *nix (ubuntu):
I thought aswel that the haretlog.txt only could be made trough usb conenctions, but i can not find the confirmation anywhere.USING SYNCE:
/!\ Be sure to have ipaq kernel module loaded, you should have some similar output:
pc$ lsmod | grep ipaq
ipaq 38288 0
usbserial 29148 1 ipaq
*
Execute dccm which handles the SynCE connection:
pc$ dccm
*
In another shell, replace /dev/tts/USB0 with the proper device (debian: /dev/ttyUSB0):
pc# synce-serial-config /dev/tts/USB0 10.10.10.1:10.10.10.2
0:10.10.10.1:10.10.10.2
You can now run synce-serial-start to start a serial connection.
pc# synce-serial-start
synce-serial-start is now waiting for your device to connect
*
Now you can issue the SynCE commands: (debian: synce-[command])
pc$ pstatus
(iPaq info)
pc$ pls "/iPAQ File Store/"
(Filestore files)
pc$ pmkdir "/iPAQ File Store/Linux/"
pc$ pcp rx3715/default.txt ":/iPAQ File Store/Linux/default.txt"
pc$ pcp rx3715/haret-0.3.6.exe ":/iPAQ File Store/Linux/haret-0.3.6.exe"
pc$ pcp rx3715/initrd ":/iPAQ File Store/Linux/initrd"
pc$ pcp rx3715/zImage ":/iPAQ File Store/Linux/zImage"
*
After you are done, call as root:
pc# synce-serial-abort
synce-serial-abort has requested shutdown of the current connection.
now for the good news;
our cpu is supported by Android, there are builds allready existing.
carefully read as builds existing for the CPU
source :
[android-porting] Re: Porting Android to ARM11 Mpcore
source : transplant Android to S3c6410,install android on smartq5 in the future | JT's World> Hi,guy!
>
> It's easy to port android for S3C6410!
>
> Kernel with android patch:
>
> git clone git://www.kandroid.org/samsung-s3c6410-android.1.0
attachment : http://www.jiongtang.com/blog/wp-con...nt_android.pdf
=> i cant read this cause it is chinese/japanese
source : About Google Android: Android on S3C6410 target board
source : s3c6410porting Samsung Android system transplanted into film development board official Docu www.pudn.comLong time since we successfully ported Android on PXA270 evaulation board.
As you know, Google opened android full sources last year.
After that, we ported android to various system, and here is one of them, Samsung S3C6410 based target board.
So i know where not ready with fully understanding haret, but we could actually start to build a kernel allready for android.Describe: Samsung Android system transplanted into film development board official s3c6410 steps (select downloading for file)
This just by using the arm chain provided in the above quote´s. Not sure if it will work like it should, but better this then nothing?
If this is done we could try to follow haret instructions on booting linux.
But i am not sure that without system mode it will work, however, if we get an error we can always find a solution ;-)
For people whou would try to build the kernel you would need ubuntu,:
*full install : Download Ubuntu | Ubuntu
*you can use the live cd (installs nothing) Download Ubuntu | Ubuntu
*Wubi : Wubi - Ubuntu Installer for Windows this installs next to windows whitout making dangerous changes.
for other needs see: Get source ?(Android Open Source Project)?
JkPwNsTeR,
no problem, together we can try to make it work!
only issue i have is that i still need to order an m8 somewhere:s
-
Member who thanked evow04 for the post:
-
06-26-2009 #19Passing By
- Join Date
- May 2009
- Posts
- 15
- Thanks
- 2
Thanked 0 Times in 0 PostsI get it with xp worked^^
but I can't get in system modeLast edited by erzincano; 06-26-2009 at 09:32 AM.
-
06-26-2009 #20Administrator
- Join Date
- Mar 2007
- Location
- Budapest, Hungary
- Posts
- 4,853
- Thanks
- 262
Thanked 1,140 Times in 438 PostsKeep up the enthusiasm guys!

I'd be glad to help but I'm not sure how
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 Community DevelopmentReplies: 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

