| |
[project]Port android to meizu M8This is a discussion on [project]Port android to meizu M8 within the Modding & Development forums, part of the Meizu M8 category; erzincano,
Great! one step forward for you aswel!
Can you provide more information about your device? (firmware, device with wifi, ...
06-26-2009
|
#21
|
|
Valued Member
Join Date: Aug 2008
Location: Belgium
Posts: 1,668
Thanks: 63
Thanked 104 Times in 79 Posts
|
erzincano,
Great! one step forward for you aswel!
Can you provide more information about your device? (firmware, device with wifi, non wifi, 8-16gb,..)
Maybe we can find a patern this way.
nice2know_u, do you own a m8?
if yes can you also try to run haret and see what it does?
if not, maybe you can try to make android kernel with the info i found on the web? (see above about android kernel and arm chain for ARM1176)
other update concerning :
"unlocking" the phone or setting something in the registry to allow unsigned binaries
to try running haret in system mode
Source : Unlock your HTC Windows Mobile device for unsigned applications and certific - Forums
xxxxx Unlock your HTC Windows Mobile device for unsigned applications and certificates
xxxxxUse the registry editor "regeditSTG2" attached to change
HKEY_LOCAL_MACHINE\Security\Policies\Policies (then press "values")\ 00001001 = 2 -->Change the value data from 2 to 1
HKEY_LOCAL_MACHINE\Security\Policies\Policies00010 05 = 16 --> Change the value data from 16 to 40
HKEY_LOCAL_MACHINE\Security\Policies\Policies00010 17 = 128 --> Change the value data from 128 to 144
The following reg editors DONT work
REGEDIT
REGEDITSTG
SGS Explorer
A possible alternative could be to run the "SP_AllowCertificateInstall.cab"
And then the HTC application unlocker attached
other clou´s :
msgoodies: Solution for adding own root certificates to Windows Mobile 5 devices - Updated
Windows Mobile Powered Device Security Model
Windows Mobile Team Blog : All About "Application Locked"
So who will try to change the registry and run haret to see if it runs like we want? ? ;-)
be sure to make a backup first of all your data!
|
|
|
06-26-2009
|
#22
|
|
Passing By
Join Date: May 2009
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
|
8 gb, with wifi, firmware 0.9.1.0
|
|
|
06-26-2009
|
#23
|
|
Valued Member
Join Date: Aug 2008
Location: Belgium
Posts: 1,668
Thanks: 63
Thanked 104 Times in 79 Posts
|
thanks!
so we know at this point that a default m8 device with wifi running firmware :
0.9.0.6 // 0.9.1.0
does not run Haret in system mode without changes.
who try´s the above procedure to edit registry and run haret again?
|
|
|
06-26-2009
|
#24
|
|
Administrator
Join Date: Mar 2007
Location: Budapest, Hungary
Posts: 3,262
Thanks: 102
Thanked 483 Times in 180 Posts
|
HKEY_LOCAL_MACHINE\Security\Policies\Policies
This location does not exist in registry...
|
|
|
06-26-2009
|
#25
|
|
Valued Member
Join Date: Aug 2008
Location: Belgium
Posts: 1,668
Thanks: 63
Thanked 104 Times in 79 Posts
|
if you have the m8 registry open,
can you explore the KEY_LOCAL_MACHINE\Security\ tree?
cause the explanations are based on win ce5, so it could be different on ce 6.
like for example an other name or so.. instead of \Policies\
- The unsigned applications policy (SECPOLICY_UNSIGNEDAPPS) is checked to determine whether unsigned applications are allowed to run on the device.
- If unsigned applications are allowed to run on the device (SECPOLICY_UNSIGNEDAPPS=1), then the Unsigned Prompt policy is checked. If the Unsigned Prompt policy (SECPOLICY_UNSIGNEDPROMPT) is 1 then the user is not prompted and the application is allowed to run privileged. If the Unsigned Prompt policy is zero (SECPOLICY_UNSIGNEDPROMPT = 0), then the user is prompted to specify whether to allow the unsigned application to run. If the user allows the application to run, the application runs privileged.
maybe you find : SECPOLICY_UNSIGNEDPROMPT ?
also have a look here : http://download.microsoft.com/downlo...rity_Model.doc
in this ms document you find other names aswel like : SECROLE_USER_AUTH,...
Did anyone use the meizu m8 sdk?
if yes, is there an Microsoft Authenticode tool integrated or an other function to sign/provide certificate for the developped app?
Cause signing Haret could solve the issue aswel i think.
Last edited by evow04; 06-26-2009 at 01:06 PM.
|
|
|
06-26-2009
|
#26
|
|
Administrator
Join Date: Mar 2007
Location: Budapest, Hungary
Posts: 3,262
Thanks: 102
Thanked 483 Times in 180 Posts
|
Nope, I have looked through the Security tree and no such thing is there...
|
|
|
06-26-2009
|
#27
|
|
Valued Member
Join Date: Aug 2008
Location: Belgium
Posts: 1,668
Thanks: 63
Thanked 104 Times in 79 Posts
|
and searching for
SECPOLICY_UNSIGNEDAPPS
SECPOLICY_UNSIGNEDPROMPT
SECPOLICY*
in the registry, does this returns anything?
maybe meizu changed the name
ps nice2know_u , i saw you have an active account on the meizu forum.
maybe you could ask it there how make haret signed or how to disable the security policy?
ps2
can someone explain what this is about?
http://bbs.meizu.com/thread-851117-1-1.html
Last edited by evow04; 06-26-2009 at 09:47 PM.
|
|
|
06-27-2009
|
#28
|
|
Valued Member
Join Date: Aug 2008
Location: Belgium
Posts: 1,668
Thanks: 63
Thanked 104 Times in 79 Posts
|
Last edited by evow04; 06-27-2009 at 01:19 PM.
|
|
|
06-27-2009
|
#30
|
|
Freshman
Join Date: May 2009
Posts: 32
Thanks: 2
Thanked 2 Times in 2 Posts
|
evow04,
Is S3C64xxxx the same CPU as the one in the M8?
|
|
|
06-27-2009
|
#31
|
|
Dutch Moderator
Join Date: Jan 2009
Location: The Netherlands
Posts: 1,094
Thanks: 62
Thanked 106 Times in 44 Posts
|
I have to say, that this is going to look quite interesting.
The best would be to develop android before Meizu does  .
|
|
|
06-27-2009
|
#32
|
|
Valued Member
Join Date: Aug 2008
Location: Belgium
Posts: 1,668
Thanks: 63
Thanked 104 Times in 79 Posts
|
MartO,
according the information provided by you in post 16 in this topic
and according nice2know_u his information in post 10 in this topic,
the application processor is S3C6410 (based on the ARM1176JZF-S).
it seems logic that the S3C6410 is within the S3C64XX series.
@LVL,
it is indeed very interesting,
only problem is that i do not have a lot of time to work on this cause im very busy with some development for the office and missing the device it selfs makes it hard to test ofcourse. But i guess i will order one asap.
So anyone who wants to help is welcome ofcourse,
then it could be running before meizu is ready with it ;-)
things that needs to be tested at the moment:
* how to enable unsigned apps on m8 (see above)
* patch haret (see above) to support cpu properly and try to run it again.
* try to make android build with the above git
|
|
|
06-28-2009
|
#33
|
|
Freshman
Join Date: May 2009
Posts: 32
Thanks: 2
Thanked 2 Times in 2 Posts
|
Evow04,
Thanks for clearing my doubts...
I'll try patching Haret and run it on my M8. I'll then post the haretlog.txt
|
|
|
06-28-2009
|
#34
|
|
Passing By
Join Date: May 2009
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
|
How can I patch Haret ?
|
|
|
06-28-2009
|
#35
|
|
Administrator
Join Date: Mar 2007
Location: Budapest, Hungary
Posts: 3,262
Thanks: 102
Thanked 483 Times in 180 Posts
|
I have created a topic at xda-developers, hopefully someone will be able to help us!
Link
|
|
|
06-28-2009
|
#36
|
|
Freshman
Join Date: May 2009
Posts: 32
Thanks: 2
Thanked 2 Times in 2 Posts
|
Ok, I need your help to apply the patch to Haret.
Correct me if I' wrong...
1-.First you need the patch file with patch file extensions.
2-.Also a program to apply that patch, TortoiseSVN.
3-.The source code of the file to patch, Haret Source Code.
I've tried the steps to patch the file but it seems that I dont know which file in the source code I need to patch.
|
|
|
06-28-2009
|
#37
|
|
Valued Member
Join Date: Aug 2008
Location: Belgium
Posts: 1,668
Thanks: 63
Thanked 104 Times in 79 Posts
|
erzincano,
i never patched this kind of stuff,
however there is some info on the haret wiki it is very poor explained.
source :
http://handhelds.org/cgi-bin/cvsweb..../haret/INSTALL
HaRET is now compiled with the gcc toolset. ....
The gcc toolset in use is from the cegcc project. See
CeGCC's web page for more info.....
The recommended way to build haret is with the prebuilt cegcc rpms found at:
SourceForge.net: CeGCC - Cross development for Pocket PC: Files
Obtain the cegcc-mingw32ce package (version 0.50 is known to work) and
install it. After installing cegcc, one should be able to compile
haret (cd /path/to/haret; make)....
Source :
HaRET - Handhelds.org MoinMoin Wiki
The source is available from CVS:
cvs -d  server:anoncvs@anoncvs.handhelds.org:/cvs login
CVS password: anoncvs
cvs -d  server:anoncvs@anoncvs.handhelds.org:/cvs co haret
You will need to grab the source and the tool used to compile it,
apply the patch before sending the make command that compiles haret.
MartO,
i assume that you are looking for the files that are mentioned here:
Attachment ? gnufiish
for example : src/wince/haret.vcp ?
nice2know_u,
thats a great idea! I do hope someone will provide some help there,
how ever i know it will be hard to gain info from there (at last thats my experience in te past)
btw, did you have a change to look further on the security issue?
tx
|
|
|
06-28-2009
|
#38
|
|
Freshman
Join Date: May 2009
Posts: 32
Thanks: 2
Thanked 2 Times in 2 Posts
|
Evow02,
I think I getting the point on the patch file thanks to the web page you posted, but it seems I'm not doing something or I might get a wrong Haret Source Code.
Any place where I can download Haret 0.5.2 Source Code?
|
|
|
06-28-2009
|
#39
|
|
Valued Member
Join Date: Aug 2008
Location: Belgium
Posts: 1,668
Thanks: 63
Thanked 104 Times in 79 Posts
|
MartO,
the source is easy to find if you have a CVS client, download a client;
windows : TortoiseCVS: About
Ubuntu : --> Applications --> Add/remove --> search for "CVS"
open the CVS client, and just enter commands
like previously posted :
cvs -d : pserver:anoncvs@anoncvs.handhelds.org:/cvs login
CVS password: anoncvs
cvs -d : pserver:anoncvs@anoncvs.handhelds.org:/cvs co haret
ps i typed a "space" between "":" & "pserver" to avoid the smiley "  "
goodluck with it!
|
|
|
06-28-2009
|
#40
|
|
Administrator
Join Date: Mar 2007
Location: Budapest, Hungary
Posts: 3,262
Thanks: 102
Thanked 483 Times in 180 Posts
|
You can use the Code button instead of the Quote button to input text without smileys
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Hot Deals for Meizu Products |
Related Threads |
|
|
|
All times are GMT. The time now is 01:33 AM.
|
|
|
|
|