[Q] Install Android on China Navigator WinCE 6 - Windows Mobile Development and Hacking General

Hello,
Recently i bought a chinese navigator with Windows Embedded CE 6. The device specs are:
Platform=AT8X0
OEM=BSP Version: AIVCE6_NANO_Rel1.04.1.01
core=ARM1136JF-S
name=AT840
vend=SiRF
Im trying to install android from this thread: forum.xda-developers.com/showthread.php?t=619980
Now, when i run HaRET, it says: "haret is not running on 'system' mode. Major functionallity...", then haret opens and when i hit the run button it says: "Failed to lock 379 pages (code 6)".
This is the log file from haret:
===== HaRET 0.5.2 =====
Setting KMode to true.
Old KMode was 0
Finished initializing output
Loading dynamically bound functions
Function 'AllocPhysMem' in library 'coredll' at 40026BF8
Function 'FreePhysMem' in library 'coredll' at 40026C3C
Unable to load library 'gx'
Unable to load library 'gx'
Unable to load library 'gx'
Unable to load library 'gx'
Function 'LoadLibraryExW' in library 'coredll' at 4003AF48
Function 'NLedSetDevice' in library 'coredll' at 4005168C
Function 'GetSystemPowerStatusEx2' in library 'coredll' at 4002C894
Function 'SleepTillTick' in library 'coredll' at 40026C68
Function 'CreateToolhelp32Snapshot' in library 'toolhelp' at 4012107C
Function 'CloseToolhelp32Snapshot' in library 'toolhelp' at 401210CC
Function 'Process32First' in library 'toolhelp' at 40121190
Function 'Process32Next' in library 'toolhelp' at 40121208
Function 'Module32First' in library 'toolhelp' at 401213EC
Function 'Module32Next' in library 'toolhelp' at 40121470
Function 'Heap32ListFirst' in library 'toolhelp' at 4012155C
Function 'Heap32ListNext' in library 'toolhelp' at 40121680
Function 'Heap32First' in library 'toolhelp' at 4012178C
Function 'Heap32Next' in library 'toolhelp' at 401218FC
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Detecting current machine
Trying to detect machine (Plat='AT8X0' OEM='BSP Version: AIVCE6_NANO_Rel1.04.1.01')
Wince reports processor: core=ARM1136JF-S name=AT840 cat= vend=SiRF
Looking at machine Alpine
Looking at machine Apache
Looking at machine AximX50
Looking at machine AximX5
Looking at machine Beetles
Looking at machine Blueangel
Looking at machine Himalaya
Looking at machine Magician
Looking at machine Universal
Looking at machine H1910
Looking at machine H1940
Looking at machine H2200
Looking at machine H3600b
Looking at machine H3700
Looking at machine H3800
Looking at machine H3900
Looking at machine H4000
Looking at machine H4300
Looking at machine H5000
Looking at machine H6340
Looking at machine HX2000
Looking at machine HX4700
Looking at machine Sable
Looking at machine Wizard
Looking at machine Hermes
Looking at machine Trinity
Looking at machine Athena
Looking at machine G500
Looking at machine Artemis
Looking at machine Herald
Looking at machine Prophet
Looking at machine RX3000
Looking at machine Treo700wx
Looking at machine e310
Looking at machine e740
Looking at machine Acer_n30
Looking at machine Mio_P550
Looking at machine Kaiser
Looking at machine Loox5xx
Looking at machine Loox400
Looking at machine MioA701
Looking at machine Wallaby
Looking at machine Raphael
Looking at machine Jornada820
Looking at machine H3100
Looking at machine H3600a
Looking at machine Tornado
Looking at machine Libra
Looking at machine Generic Intel PXA27x
Looking at machine Generic Intel PXA
Looking at machine Generic Intel StrongArm
Looking at machine Generic TI OMAP
Looking at machine Generic TI OMAP15xx
Looking at machine Generic Samsung s3c24xx
Looking at machine Generic MSM7xxxA
Looking at machine Generic MSM7xxx
Looking at machine Generic Atlas
Looking at machine Generic ARM 920t
Looking at machine Generic ARM 926
Looking at machine Generic ARM v6
Looking at arch Generic Intel PXA27x
Exception on arch Generic Intel PXA27x detect
Looking at arch Generic Intel PXA
Exception on arch Generic Intel PXA detect
Looking at arch Generic Intel StrongArm
Looking at arch Generic TI OMAP
Looking at arch Generic TI OMAP15xx
Looking at arch Generic Samsung s3c24xx
Looking at arch Generic MSM7xxxA
Looking at arch Generic MSM7xxx
Looking at arch Generic Atlas
Looking at arch Generic ARM 920t
Exception on arch Generic ARM 920t detect
Looking at arch Generic ARM 926
Exception on arch Generic ARM 926 detect
Looking at arch Generic ARM v6
Exception on arch Generic ARM v6 detect
Detecting ram size
WinCE reports memory size 67108864 (phys=51556352 store=2269184)
Mapping mmu table
Exception on mmu table lookup
Unable to map in mmu table! Many functions will not work.
Build L1 reverse map
Found 0 uncached and 0 cached L1 mappings (ignored 0).
Not registering command IGPIO
Not registering command WG|PIO
Not registering command GPLR
Not registering command GPDR
Not registering command GAFR
Not registering command GPIO
Not registering command GPIOST
Registering command LOADLIBRARYEX
Registering command NLEDSET
Not registering command TRACE
Not registering command TRACEMASK
Not registering command TRACE2
Not registering command TRACETYPE
Not registering command TRACE2TYPE
Not registering command TRACEFORWATCH
Not registering command INSN
Not registering command INSNREENABLE
Not registering command INSNREG1
Not registering command INSNREG2
Not registering command INSN2
Not registering command INSN2REENABLE
Not registering command INSN2REG1
Not registering command INSN2REG2
Registering command KILL
Registering command PS
Registering command LSMOD
Registering command ADDR2MOD
Not registering command AC97
Not registering command ATIDBG
Initializing for machine 'Default'
Haret is not running in 'system' mode. Major functionality will not be present.
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='AT8X0' OEM='BSP Version: AIVCE6_NANO_Rel1.04.1.01')
CPU is ? running in user mode
Enter 'HELP' for a short command summary.
Running WSAStartup
Starting gui
In initdialog
Found machine Default
executing startup.txt
HaRET(1)# set RAMSIZE 0x08000000
HaRET(2)# set ramaddr 0x10000000
HaRET(3)# set MTYPE 1667
HaRET(26)# set cmdline "ppp.nostart=0 mddi.width=240 mddi.height=320 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=0 no_console_suspend"
HaRET(27)# boot
boot KERNEL=zimage INITRD=
Opening file zimage
boot params: RAMADDR=10000000 RAMSIZE=08000000 MTYPE=1667 CMDLINE='ppp.nostart=0 mddi.width=240 mddi.height=320 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=0 no_console_suspend'
Boot FB feedback: 1
Failed to lock 379 pages (code 6)
Calling WSACleanup
Shutting down
My questions:
1) is there a form to load android from Windows Embedded CE 6? If not,
2) how can i replace windows embedded CE 6 with android?

As far as I know, ROMs are device-specific, so You just can't flash a random device with random ROM. You need a ROM that's specifically cooked for that specific device.
That being said, I am not familiar with Haret. And I could be wrong

mpedrozoduran said:
Hello,
Recently i bought a chinese navigator with Windows Embedded CE 6. The device specs are:
Platform=AT8X0
OEM=BSP Version: AIVCE6_NANO_Rel1.04.1.01
core=ARM1136JF-S
name=AT840
vend=SiRF
Im trying to install android from this thread: forum.xda-developers.com/showthread.php?t=619980
Now, when i run HaRET, it says: "haret is not running on 'system' mode. Major functionallity...", then haret opens and when i hit the run button it says: "Failed to lock 379 pages (code 6)".
This is the log file from haret:
===== HaRET 0.5.2 =====
Setting KMode to true.
Old KMode was 0
Finished initializing output
Loading dynamically bound functions
Function 'AllocPhysMem' in library 'coredll' at 40026BF8
Function 'FreePhysMem' in library 'coredll' at 40026C3C
Unable to load library 'gx'
Unable to load library 'gx'
Unable to load library 'gx'
Unable to load library 'gx'
Function 'LoadLibraryExW' in library 'coredll' at 4003AF48
Function 'NLedSetDevice' in library 'coredll' at 4005168C
Function 'GetSystemPowerStatusEx2' in library 'coredll' at 4002C894
Function 'SleepTillTick' in library 'coredll' at 40026C68
Function 'CreateToolhelp32Snapshot' in library 'toolhelp' at 4012107C
Function 'CloseToolhelp32Snapshot' in library 'toolhelp' at 401210CC
Function 'Process32First' in library 'toolhelp' at 40121190
Function 'Process32Next' in library 'toolhelp' at 40121208
Function 'Module32First' in library 'toolhelp' at 401213EC
Function 'Module32Next' in library 'toolhelp' at 40121470
Function 'Heap32ListFirst' in library 'toolhelp' at 4012155C
Function 'Heap32ListNext' in library 'toolhelp' at 40121680
Function 'Heap32First' in library 'toolhelp' at 4012178C
Function 'Heap32Next' in library 'toolhelp' at 401218FC
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Detecting current machine
Trying to detect machine (Plat='AT8X0' OEM='BSP Version: AIVCE6_NANO_Rel1.04.1.01')
Wince reports processor: core=ARM1136JF-S name=AT840 cat= vend=SiRF
Looking at machine Alpine
Looking at machine Apache
Looking at machine AximX50
Looking at machine AximX5
Looking at machine Beetles
Looking at machine Blueangel
Looking at machine Himalaya
Looking at machine Magician
Looking at machine Universal
Looking at machine H1910
Looking at machine H1940
Looking at machine H2200
Looking at machine H3600b
Looking at machine H3700
Looking at machine H3800
Looking at machine H3900
Looking at machine H4000
Looking at machine H4300
Looking at machine H5000
Looking at machine H6340
Looking at machine HX2000
Looking at machine HX4700
Looking at machine Sable
Looking at machine Wizard
Looking at machine Hermes
Looking at machine Trinity
Looking at machine Athena
Looking at machine G500
Looking at machine Artemis
Looking at machine Herald
Looking at machine Prophet
Looking at machine RX3000
Looking at machine Treo700wx
Looking at machine e310
Looking at machine e740
Looking at machine Acer_n30
Looking at machine Mio_P550
Looking at machine Kaiser
Looking at machine Loox5xx
Looking at machine Loox400
Looking at machine MioA701
Looking at machine Wallaby
Looking at machine Raphael
Looking at machine Jornada820
Looking at machine H3100
Looking at machine H3600a
Looking at machine Tornado
Looking at machine Libra
Looking at machine Generic Intel PXA27x
Looking at machine Generic Intel PXA
Looking at machine Generic Intel StrongArm
Looking at machine Generic TI OMAP
Looking at machine Generic TI OMAP15xx
Looking at machine Generic Samsung s3c24xx
Looking at machine Generic MSM7xxxA
Looking at machine Generic MSM7xxx
Looking at machine Generic Atlas
Looking at machine Generic ARM 920t
Looking at machine Generic ARM 926
Looking at machine Generic ARM v6
Looking at arch Generic Intel PXA27x
Exception on arch Generic Intel PXA27x detect
Looking at arch Generic Intel PXA
Exception on arch Generic Intel PXA detect
Looking at arch Generic Intel StrongArm
Looking at arch Generic TI OMAP
Looking at arch Generic TI OMAP15xx
Looking at arch Generic Samsung s3c24xx
Looking at arch Generic MSM7xxxA
Looking at arch Generic MSM7xxx
Looking at arch Generic Atlas
Looking at arch Generic ARM 920t
Exception on arch Generic ARM 920t detect
Looking at arch Generic ARM 926
Exception on arch Generic ARM 926 detect
Looking at arch Generic ARM v6
Exception on arch Generic ARM v6 detect
Detecting ram size
WinCE reports memory size 67108864 (phys=51556352 store=2269184)
Mapping mmu table
Exception on mmu table lookup
Unable to map in mmu table! Many functions will not work.
Build L1 reverse map
Found 0 uncached and 0 cached L1 mappings (ignored 0).
Not registering command IGPIO
Not registering command WG|PIO
Not registering command GPLR
Not registering command GPDR
Not registering command GAFR
Not registering command GPIO
Not registering command GPIOST
Registering command LOADLIBRARYEX
Registering command NLEDSET
Not registering command TRACE
Not registering command TRACEMASK
Not registering command TRACE2
Not registering command TRACETYPE
Not registering command TRACE2TYPE
Not registering command TRACEFORWATCH
Not registering command INSN
Not registering command INSNREENABLE
Not registering command INSNREG1
Not registering command INSNREG2
Not registering command INSN2
Not registering command INSN2REENABLE
Not registering command INSN2REG1
Not registering command INSN2REG2
Registering command KILL
Registering command PS
Registering command LSMOD
Registering command ADDR2MOD
Not registering command AC97
Not registering command ATIDBG
Initializing for machine 'Default'
Haret is not running in 'system' mode. Major functionality will not be present.
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='AT8X0' OEM='BSP Version: AIVCE6_NANO_Rel1.04.1.01')
CPU is ? running in user mode
Enter 'HELP' for a short command summary.
Running WSAStartup
Starting gui
In initdialog
Found machine Default
executing startup.txt
HaRET(1)# set RAMSIZE 0x08000000
HaRET(2)# set ramaddr 0x10000000
HaRET(3)# set MTYPE 1667
HaRET(26)# set cmdline "ppp.nostart=0 mddi.width=240 mddi.height=320 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=0 no_console_suspend"
HaRET(27)# boot
boot KERNEL=zimage INITRD=
Opening file zimage
boot params: RAMADDR=10000000 RAMSIZE=08000000 MTYPE=1667 CMDLINE='ppp.nostart=0 mddi.width=240 mddi.height=320 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=0 no_console_suspend'
Boot FB feedback: 1
Failed to lock 379 pages (code 6)
Calling WSACleanup
Shutting down
My questions:
1) is there a form to load android from Windows Embedded CE 6? If not,
2) how can i replace windows embedded CE 6 with android?
Click to expand...
Click to collapse
BUMP... a year later, there has to be some more info. On this? I'm looking to do the exact same thing. How about running Android from the SD? Any additional info, it links will help. Thanks

i also ahve a 4` Chinese YF intl GPS ...
can some one port an android build into that ...
very eager to delete wince 5

hello , i`m looking to do the same but i didnt find out yet ?

Bump again
These Chinese GPS units are everywhere and they are cheap as hell. Would buy one today if we could get Andriod running on them. The WinCE Roms are readily available on GPSPassion Forum and
austech.info/gps/40751-chinese-gps-firmware-thread.html
They aren't the experts on the Windows platform that those on this site are. Seems like it should be simple for those that know?

I'm looking for the solution too. I think that topic will grow. I will try today some tricks on my china device, and try to report effects.

Hello,
Any thoughts on this?
I too would like to see Android on my "generic" Chinese HU

sergani said:
Hello,
Any thoughts on this?
I too would like to see Android on my "generic" Chinese HU
Click to expand...
Click to collapse
Can't count how many threads started to this topic here at XDA. If you'ld have read them all carefully you'ld have noticed that it's not possible to replace WinCE by Android. All you could try is to get a dual-boot solution up and running. And even this I failed to do so, because couldn't find an Android version that matches the techn. specs of an WinCE ( navigation ) device.

True, Thanks
Sent from my GT-N7100 using Tapatalk

Hate to necro-bump, but I bought one of these chinese gps units.
There is an android icon which boots what I can only guess is an android emulator within WinCE 6.
This gives full android functionality running in parallel with the wince interface. In fact, the units GPS runs on the android emulated part (iGo)
I can extract files somehow and post for you guys if someone tells me how (know nothing about wince)

there should be some way of putting windows explorer for wince on your sd card and launching it. From there perhaps you could copy the android launch app onto the sd card?

Related

EVC4: writing console application

I want to port some fairly simple command-line utilities from desktop win32 to mobile. I have the powertoys console working, so all is fine there.
I have evc4, but I can't fathom how to build a console application. I just want to take some regular ISO C and build it, but evc is forcing me to have a WinMain, and there's no mainCRTStartup in the library to use as an alternate entrypoint.
I've googled and found nothing.
I'd appreciate some pointers from someone who has done this! Or is EVC just the wrong tool?
Cheers,
Graham.

HaRET Linux

I hope to meet some people willing to help me,
HaRET works out of the box for me doesnt recognizes my devices MTYPE It only says MSM72xx default, but seems HaRET works fine cause when trying to boot a linux image i get till "Go Go Go ..." But only with one kernel config i got a fullscreen purple flicker. But no console seen till now!
As i'm new to such stuff I want to write down all my expiriences to get things to work, for others with new devices.
I did in haret console:
INPUT: print VRAM %08x
OUTPUT: 0x10000000
INPUT: pfh 0x10000000 640*480 0x00ff
(640*480 is my windows mobile resolution, 0x00ff is blue color code 0xffff is white and 0x0000 is black colorcode if you do 640 * 2 you will get 2 blue lines not full screen repaint)
i did an mmu dump i was told it would help me in haret console i did
INPUT: log mmutrace.txt
INPUT: dump MMU
now i could connect to my device and in de dir of haret i got a file called mmutrace.txt (i attached it)
For more detailed logging create an empty file called earlyharetlox.txt in the same dir haret.exe is lýing in.
I Will write on when i get more to know, hopefully soon.
Greets Neutron
ps. sorry for my englisch im not that good at it

Eclipse project set up on WinXP

Hello!
I want to set up project in Eclipse, that can be found on:
http://android.git.kernel.org
This one would be interesting for me:
http://android.git.kernel.org/?p=pla...7039647;sf=tgz
I tried with creating new project from existing source, but i have a LOT of errors (unknown classes... etc). Is it possible to set up mentioned project on WinXP? How?
If Linux is the only option, is there any precise manual? I'm new to Linux and I have ubuntu installed.
How do git and repo work?
Regards
it's the same on linux as it is on windows.
unknown classes will not be solved by using linux as OS.

[Q] Android NDK UnsatisfiedLinkError: findLibrary returned null

Since two days, I get this error :
Code:
java.lang.UnsatisfiedLinkError: Couldn't load MyCPPProject from loader dalvik.system.PathClassLoader[dexPath=/system/framework/com.google.android.maps.jar:/data/app/com.mypackage.myApp-3.apk,libraryPath=/data/app-lib/com.mypackage.myApp-3]: findLibrary returned null
I'd like to compile a project c ++ natively in android application. The project compiles fine on another PC but not on mine. I tried to create a new workspace, install another eclipse and plenty others solutions but it still does not compile.
How can I fix it ? The android project generate myApp.apk but not myApp-3.apk. Why compiler try to load myApp-3.apk ?
Thanks

Having difficulty launching emulator in Android Studio.

I'm new to development, but I thought I'd try my hand at it. I got android studio, and after a little trouble shooting got it to work, but I cannot get the emulator to work. When I try I get the following error: "J:\Users\Tatsuno\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_S_API_21 -netspeed full -netdelay none
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!"
I enabled virtualizing in my bios (I hope I did it right, I've never done it before) and attempted to install intelhaxm-android.exe. but when I tried to install that I got the following error: "VT not suported
This computer does not support Intel virtualization Technology (VT-x). HAXM cannot be installed
Please refer to the intel HAXM documentation for more information"
As I understand it, my problem is that my computer isn't acknowledging that virtualizing is enabled. any ideas on how to fix this?
Standard emulator very slow, use Genymotion or some other fast emulator

Categories

Resources