+ Reply to Thread
Page 6 of 121 FirstFirst ... 4 5 6 7 8 16 56 106 ... LastLast
Results 101 to 120 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; Hey, I haven't got any experience with editing the registry (in wince), but maybe this will help... ?! CERTMOD. How ...

  1. #101
    Member
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    152
    Thanks
    8
    Thanked 12 Times in 8 Posts
    Hey, I haven't got any experience with editing the registry (in wince), but maybe this will help... ?!

    CERTMOD. How to?

  2. #102
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Hi raangu,
    thats allready an interesting link.

    Mikaelrunia found allready some links to certificates in the registry to.
    so that points us in the good direction.

    Now just need to find out how we can apply the certificate for haret

    ps an other interesting thing to know is if there is a serial/jtag port on the m8 motherboard. Anyone who knwos?
    Last edited by evow04; 07-16-2009 at 10:43 AM.

  3. #103
    Member
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    152
    Thanks
    8
    Thanked 12 Times in 8 Posts
    Quote Originally Posted by evow04 View Post
    Hi raangu,
    thats allready an interesting link.

    Mikaelrunia found allready some links to certificates in the registry to.
    so that points us in the good direction.

    Now just need to find out how we can apply the certificate for haret

    ps an other interesting thing to know is if there is a serial/jtag port on the m8 motherboard. Anyone who knwos?
    i'm not sure, but if you start haret without default.txt or something, the error "unable to lock xxx pages (code xy)" or something like this occurs....
    i think this error occours because it isn't signed (or was that mentioned / solved before!?)! For me "unable to lock" sounds like a security problem...

  4. #104
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    hi raangu.

    Because it sill dont have my m8 i cant test it myself, but as far as i know;
    the modified haret runs on m8 and is giving you 2 options:
    listen mode and running a default.txt

    listen mode works in combination with haret console to monitor the output.
    running a default.txt is still not confirmed to work properly.

    Now if you will try to load a default.txt it will indeed give you an error.
    Reason could be :
    *unknown
    *wrong code in default.txt
    *the runned kernel is not compatibel.
    *the needed files to start haret can not be load due the fact it is not in usermode.

    I am pretty sure like you conclude that without a trusted haret, we wont be able to load in usermode, what means that the needed files can not be loaded properly.
    see for example Maikelrunia磗 log:
    Function 'FreePhysMem' in library 'coredll' at 40026C14
    Unable to load library 'gx'
    'gx' fails problably due the fact it is not allowed to be mounted.
    Now without those files the wince will not be rebooted and will not load a linux kernel.

    So yes indeed , that was why i wanted some help to make haret trusted

    ps about settings for default.txt see above posts about mtype and so on.
    ps 2 : unable to lock , i gues that it means it can not find/load settings that are programmed in the compiled source of haret. (if it is not clear let me know ill try to explain better)
    Last edited by evow04; 07-16-2009 at 11:32 AM.

  5. #105
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    hi,
    just got my m8,
    installed haret and the qi.bin from
    Index of zenvoid.org/software/qi-smartq/
    tried to boot it and got as well error code 6 but only a failure on 10 pages (instead of + 100 pages like other kernels).

    for the moment im guessing thats a good sign if i was able to run in usermode.
    will try to play with it in the coming days.

  6. #106
    Administrator
    Join Date
    Mar 2007
    Location
    Budapest, Hungary
    Posts
    4,485
    Thanks
    237
    Thanked 1,024 Times in 375 Posts
    Congrats for your M8, I hope you will enjoy it, and also have some luck with this project

  7. #107
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    thanks nice2know_u, it should help going faster with this project.
    but eum, it could be that i am sending it back next week cause ive got an enoying dead pixel

  8. #108
    Senior Member
    Join Date
    Dec 2006
    Location
    France
    Posts
    435
    Thanks
    26
    Thanked 19 Times in 11 Posts
    Congratulation Evow for your M8.
    I hope it can help you to be faster to find a way to add Android on M8.
    Maybe you will be the first to add Android on M8 before the Meizu Team!!
    I hope So !

  9. #109
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Thanks Bbee,
    i do not need to be the first one, but i definitely want it to work ;-)

    Guys, i know that there are some people here who understand chinese.
    Could you help me out with the following ;

    www.pudn.com - 程序员联合开发网 源代码数目73万个
    Here are downloads for BSP packages for wince 6 and android
    Both are very interesting but i can not seem to download them
    and i can not read the chinese to understand why:s

    S3C64X0 ?? ??
    The same for this link, there are some interesting downloads like roms wince6
    but i cant download and dont see how to register..

    ow btw, if we get haret to run properly we wil need to use linux kernel 2.7 or above, this supports our device. The same kernel can bemixed with android.
    but first.. haret ;-)

  10. #110
    Senior Member
    Join Date
    Nov 2008
    Location
    Mauritius/Shanghai
    Posts
    277
    Thanks
    7
    Thanked 9 Times in 5 Posts
    pudn -- there is a link at the top and top right corner for english version. you need to register before being able to download.
    Edit: www.pudn.com - more than 600,000 source codes for direct english version.

    S3c64x0 -- that's korean, not chinese
    Last edited by tilai; 07-17-2009 at 08:45 AM.

  11. #111
    Member
    Join Date
    Jul 2009
    Posts
    225
    Thanks
    34
    Thanked 83 Times in 30 Posts
    Quote Originally Posted by evow04 View Post
    Thanks Bbee,
    i do not need to be the first one, but i definitely want it to work ;-)

    Guys, i know that there are some people here who understand chinese.
    Could you help me out with the following ;

    www.pudn.com - 程序员联合开发网 源代码数目73万个
    Here are downloads for BSP packages for wince 6 and android
    Both are very interesting but i can not seem to download them
    and i can not read the chinese to understand why:s

    S3C64X0 ?? ??
    The same for this link, there are some interesting downloads like roms wince6
    but i cant download and dont see how to register..

    ow btw, if we get haret to run properly we wil need to use linux kernel 2.7 or above, this supports our device. The same kernel can bemixed with android.
    but first.. haret ;-)
    I've checked the first link and the site says after registration, user has to upload some source code first, then the user can download resource from it. so, probably forget this link.

    the followings will turn up if downloading anything from the first link
    如果您不是会员,请先【注册会员】,注册后【上载源码】才能成为会员,或者马上【开通VIP会 员】
    translation:
    if you are not our member, please <register> first and <upload source> to become a member, or <become a VIP> right now

    the second link is full of korean... sorry

  12. #112
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    yunfan and tilai,
    first my apologizes i dont know the diffirence between them

    thanks for the translations, i will try to setup an account, cause google show interesting stuff ;-)

    Yet another link (in english) ,
    this is for the development boards but, it gives a clou aswell for
    modifying for android (it is a pdf)
    http://www.armdesigner.com/xsms/html...6113209714.pdf

    The most important page for now is page 3.
    It seems that we could download device drivers , bootloader etc on samsung磗 site if they would allow a useraccount for private use.


    update: (alot) more ebooks on boards with s3c6410 :
    http://www.pdf-search-engine.com/s3c6410-pdf.html
    Last edited by evow04; 07-17-2009 at 09:04 AM.

  13. #113
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    ok,
    for people who want to develop win ce rom could really learn a lot from this pdf,
    http://www.boardset.com/manual/MV641...wsCE_Guide.pdf
    Of course you cant follow this 100 pct , but it gives you clous how to build a rom from scrap.

    On android,
    it seems that smartq 5 is the same cpu, and some people are aswell developing on it, however it is still not usefull for now,
    here are video drivers for linux:
    Linux Video Driver Porting Guide Using s3c6410 - 智器 Q5/Q7 - iMP3随身影音 MP3|MP4|MP3论坛|MP4论坛|MP3下载|MP4下载|耳机论坛| - Powered by Discuz!

  14. #114
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    sometimes i am thinking that i am researching on my own
    source : HaRET user mode fix
    HaRET user mode fix


    On the Maui all applications are started in "user mode". User mode is a protected mode, where the application does not
    have full access to the processor. Most PDA's run their applications in kernel mode, most Smartphones in user mode.

    In order to make the kernel booting HaRET needs access to the processor in kernel mode. Therefore HaRET uses the
    coredll.dll function SetKMode(TRUE). The original HaRET did not expect that it could be run in user mode, that is why
    some modifications are needed, when your device starts HaRET in user mode:

    1. Modify haret.cpp

    Put

    extern "C" BOOL SetKMode (BOOL fMode);
    SetKMode(1);

    just before "hInst = hInstance;".

    2. Modify network.cpp

    Put

    SetKMode(1);
    SetProcPermissions (0xffffffff);

    on line 266 and define in network.cpp

    extern "C" BOOL SetKMode (BOOL fMode);
    extern "C" DWORD SetProcPermissions (DWORD newperms);

    That's it. Those people with smartphones need to sign HaRET with a priviledged certifate. The Maui needs no signing.

    Now HaRET runs in system mode and has full proc permissions.

  15. #115
    Member
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    152
    Thanks
    8
    Thanked 12 Times in 8 Posts
    Quote Originally Posted by evow04 View Post
    sometimes i am thinking that i am researching on my own
    source : HaRET user mode fix
    sometimes you don't only think this, i think but this week i haven't got time... downloaded linux and installed in vm, but nothing more .... so much to do for work and studies atm.... sorry, maybe next week i have a bit more time ...

  16. #116
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    hehe Raangu, i was just joking;-)
    i completly understand, cause i dont have much free time myself at the moment ;-)

    But i will have a look if the above is allready been set in the source of haret, if not i will change it and upload the files.
    But then again we still need to sign it .
    if i could find the bsp for wince6 that supports the 6410 i would make a rom without need for cert, but where to find the bsp :s

    some more info
    source :
    http://pn.org/wordpress/?p=7
    2) And the only relevant difference between those Windows CE versions seems to be the security model – it seems like in previous versions programs always ran in system (or kernel) mode and now they run in user mode by default (and executables have to be signed with privileged certificates to be trusted and so on). So I went back scrapped all my changes to haret except for the cpu detection fix, commented all the switches to kernel mode (and back) in src/memory.cpp and added a SetKMode() call at the beginning of the program (in src/wince/haret.cpp) to switch to kernel mode right at the beginning. I also added a SetKMode() call at the beginning of the scrListen() function (in src/network.cpp) because that one is started as a new thread and SetKMode() only applies to the current thread.
    Last edited by evow04; 07-17-2009 at 01:38 PM.

  17. #117
    Member
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    152
    Thanks
    8
    Thanked 12 Times in 8 Posts
    Hey,

    i was surfing some new and found this on Golem.de: IT-News f黵 Profis

    Droidcon - Android Conference in Berlin
    Barcamp conference and two days

    In November 2009 the first Droidcon held in Berlin, a two-day conference about Google's Android smartphone operating system.
    The Droidcon is aimed primarily at developers, operators of mobile networks, a provider of value-added network and hardware manufacturers.

    On the first day, 3 November 2009, meets the Internet community at a BarCamp, the Droidcamp Berlin, among developers to discuss current issues. The second day, the 4th November 2009, aimed at professionals.

    The program of the conference on 15 September 2009 will be published. Until 1 September 2009 runs of the Call for Papers on the subject Android applications for business, Android applications for the consumer area, developing for Android - the specificity (techniques, methods, concepts), Android - business models, licensing, market environment, as well as Android platform enhancements , features, new ports.

    The venue is the Cube in Berlin Dahlem. Admission for the second conference day will amount to 99 euros, the participation in the Droidcamp is free. (ji)
    "..., features, new ports"... but it's in november

  18. #118
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    could be interesting to go to i gues and berlin is not that far.


    got also some new :
    source : e-con Systems, Article - Windows CE 5.0 vs 6.0
    The major changes in 6.0 are
    • Process address space is increased from 32MB to 1 GB.
    • Number of processes has been increased to 32K from 32.
    • User mode and kernel mode device drivers are possible.
    • Device.exe, filesys.exe, GWES.exe has been moved to Kernel mode.
    • SetKMode and set process permissions not possible.
    • System call performance will improve.
    the above tutorial on haret mentions kmode to be changed...
    but this tells it is not possible in wince6 , we will need to look for a workaround :s

  19. #119
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Certificates can be manually managed here :

    documents - windows - control.exe, this opens
    the following :

    So this means if a certificate is needed we should be able to make one ourself and just add it there.

    Notice also that we can acces the flash disk i guess:


    maybe we could open a serial connection through usb bye using:
    documents - windows - connmc.Exe


    ps: in older firmware i noticed more hidden tools, could be interesting to know that i found this in fw 0915

    I am still beeing bugged due the fact that haret could just not run due wince 6. and this would mean writing a whole new bootloader, but that will take laots of time
    Last edited by evow04; 07-18-2009 at 03:29 PM.

  20. #120
    Member
    Join Date
    Jan 2009
    Location
    Leeuwarden, NL
    Posts
    141
    Thanks
    12
    Thanked 4 Times in 2 Posts


 
+ Reply to Thread
Page 6 of 121 FirstFirst ... 4 5 6 7 8 16 56 106 ... LastLast

Similar Threads

  1. PROJECT: Meizu M8 Nederlandse taal
    By MaikelRunia in forum Dutch
    Replies: 47
    Last Post: 09-02-2009, 10:11 AM
  2. Port Meizu OS to Samsung Omnia i900
    By natedogg20050 in forum Modding & Development
    Replies: 8
    Last Post: 08-17-2009, 12:09 PM
  3. What does the Meizu Rockbox project need?
    By Err0r in forum Rockbox
    Replies: 21
    Last Post: 05-17-2008, 12:12 PM
  4. Meizu M8 Project On Temporary Hold
    By Err0r in forum Meizu M8 News
    Replies: 68
    Last Post: 04-20-2008, 04:02 AM
  5. The USB port
    By vipert in forum Technical
    Replies: 3
    Last Post: 05-03-2007, 04:03 PM