yashsingh1/xdaforums huggingface dataset:
[HD Mini Android Development] mooncmn:
it doesn't mean right,beacaese your spl has some mistakes. i can't point them one by one ,but i think it possible to use haret bur not spl to flash the rom. thank you for the devote!

by the way, how about the haret? what's the progress? and i have heard someone told onliex developer to developthe hspl, how is it going?

thanks.
[HD Mini Android Development] muradmohdzain:
I'm using Garmin Asus M10 WinMo 6.5 Pro. MSM7227 CPU. 480X800 resolution

putting the andboot folder in my Storage Card

andboot taken from Myn Warm android donut (320 X 480)

using the NoMoRootFS for SDCard

executing haret.exe from file explorer producing exception.

can somebody help?

see attachment.
[HD Mini Android Development] mooncmn:
here is discussing hd mini, it's quite different from asus,don't just look at the resolution and cpu,you should know about it's motherboard and memory and so on.

just a bit tips.
[HD Mini Android Development] cardsharing:
Hi, i think you not understand what i want. This is not my spl (this is modified enterbootloader.exe + Cotula spl). This is extracted from Cotula DFT_SSPL_MINI. This tool is for uploading custom roms to phone. If you run this you will see Cotula spl on boot screen instead of htc original spl. If you understand me, i want to modify this puting my modified spl into it (or puting original spl into it for test).

P.S. If we wait for hspl, we will waiting and waiting and waiting...i think we must to make it instead of waiting (you see here no one reply from it developers). I think if we would not made this, this will not be made

Also, opening this file in IDA PRO you will see asm code
[HD Mini Android Development] cardsharing:
Anybody know which box have support for hd mini?
[HD Mini Android Development] cardsharing:
How to patch "file corupted" checking? Haloo is here someone :(
[HD Mini Android Development] -r0bin-:
i know nothing about the program you're trying to patch, but looking at the code, you have:

CMP R0, #0

BEQ loc_11568

in asm language it means, if the test is true, then jump to function "file corrupted"

(BEQ = branch if equal)

there is two ways to deactivate it:

- replace "BEQ loc_11568" by "NOP" (means do nothing) and the program will NOT jump to "file corrupted" function

- replace "BEQ" by "BNEQ" which means, jump to function "file corrupted" only if file is not corrupted. which will work too :-)

I dont know this tool so dont know which one is best to implement, but both of solutions above works

hope it helps...
[HD Mini Android Development] -r0bin-:
what do you mean by "box"?
[HD Mini Android Development] Binder:
I'm confused...

I've got a HD mini and love the hardware but recently started questioning my decision to go with WM. I got here googling looking for android om my hdmini.

Is it, or isn't it possible to get android on the mini? If it is, I'm interested... If not, i'll have to get another phone...
[HD Mini Android Development] cardsharing:
I was try to inject spl into sspl but nothing happen - phone freze. Need someone help to look into it and correct error
[HD Mini Android Development] NetRipper:
Guys. Cotulla has been genuinely working on this device and got pretty far. All his work on HaRET and the kernel has been released. Check the thread here:

http://xdaforums.com/showthread.php?p=11332117

He's unable to continue development on it, but he got an awesome amount of features working. Other developers can pick it up from there.

Be sure to give him a little donation as appreciation if you can miss it.
[HD Mini Android Development] dudesimo:
yea cotulla did such an amazing Job, hope someone will continue his work its nothing much left anyways the biggest part of all is already done we are soooo close lets say 80 percent!!!
[HD Mini Android Development] Rastaman2302:
80 % of the work is done in 20 % percent of the time so let's not get our hopes up too soon ;)
[HD Mini Android Development] schlund:
could someone test audio in ?

in my case this is not working, some feedback would be nice of you :)
[HD Mini Android Development] nsourm:
i have the same problem
[HD Mini Android Development] Biodegradable:
what if i want to revert back to winmo.. how can i do that?
[HD Mini Android Development] nsourm:
you can press the power

button and hold it.a menu will appear choose power off or something like that.

and then press it again to power o
[HD Mini Android Development] NetRipper:
It is not like flashing android permanently. You run it once. When you restart your phone, Windows Mobile will just boot up again.
[HD Mini Android Development] Biodegradable:
ok thank you for the info just new to winmo environmentv:(.. anyways my audio in is functioning but not that good sound quality
[HD Mini Android Development] kun2866:
http://xdaforums.com/showthread.php?t=952996
[HD Mini Android Development] _Madmatt:
Okay, I'm running Cotulla's Users package for one day now, and I really like it! I downloaded the Devs pack, but I dont understand a f*ck of it. However, I'd like to see the following things done in the near future:

- Battery driver (very stupid to see that LED going all the time)

- WiFi (I feel disconnected from the world :p)

Thanks guys! We did a HUGE step forward already!
[HD Mini Android Development] derefas:
Cotulla give us please some info how to compile you dev pack

In Ubuntu i am so poor
[HD Mini Android Development] SHAYDER:
short manual how to compile kernel.

1) Install libncurses. Type in console

"sudo apt-get install libncurses5-dev"

2) Download arm toolchain http://www.codesourcery.com/sgpp/lite/arm/portal/package7851/public/arm-none-linux-gnueabi/arm-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

3) Unpack toolchait to /home/<user name>/arm-2010/

Where <user name> is you user name.

4) Unpack kernel sources from "PHOTON_KERNEL_2.6.29.tar.gz" to /home/<user name>/photon/

5) Replace line in "~/photon/Makefile" from

"CROSS_COMPILE=/home/cotulla/arm-2009q1/bin/arm-none-linux-gnueabi-"

to

"CROSS_COMPILE=/home/UserName/arm-2010/bin/arm-none-linux-gnueabi-"

where UserName is you user name. Dont use "~" in path.

6) Config file. Type in console:

"make photon_defconfig"

sample

arthur@HP-ProBook-4510s:~$ cd photon-2.6.29/
arthur@HP-ProBook-4510s:~/photon-2.6.29$ make photon_defconfig
#
# configuration written to .config
#

7) Compiling kernel. In the same console:

"make zImage"

You kernel compiled to "~/photon/arch/arm/boot/zImage"
[HD Mini Android Development] derefas:
so android system in system.ext2 to see files

1)go to terminal

2)sudo -s

3)cd /home... the path with image

4)mount -o loop system.ext2 /mnt

5)Open /mnt directory , change files

Good Luck
[HD Mini Android Development] gabbana-music:
What command does all to the contrary? After change files
[HD Mini Android Development] Rastaman2302:
I've been testing the rom Cotulla posted in the other thread, and besides the known issues and the fact that it messed up my date settings in winmo (28 july 2041 lol) it's working fine :)

it's a little bit slower than winmo but still useable.

A few remarks though:

It seems like the keyboard is a bit off, if i press on the lower halve of a key or just under it, it responds, otherwise, I get a wrong letter.

It kind off messed up some registry tweaks I made in winmo.

I hope you guys can make this rom fully functional. I'm gonna shut up and let you work now ;)

(not posting in the other thread, it's getting a bit over-spammed...)
[HD Mini Android Development] schlund:
Hey guys,

i've build a new system image:

Froyo 2.2, multilanguage(THIS MEANS NEARLY EVERY LANGUAGE!!!) (Latin, kyrill, chinese) including APNs.

including Superuser permissions, terminal emulator

Download:

http://www.bb-projects.de/Liberty_Froyo_System.rar

Just replace this file with the one from Cotulla. Be sure that there are no caches and previous data-images!!

Disclaimer:

This system build is for development ONLY! Dependent on the latest kernel (Cotulla's 2.6.29) it will NOT have full functionality!! This is ONLY meant to make developing easier and will NOT fix the kernel!!

I will NOT give support to this build! Only if there are serious questions from people that intend to develope i am going to answer!
[HD Mini Android Development] derefas:
russian include?
[HD Mini Android Development] Adrien95120:
I replace that of Cotulla is good with yours?

and French as well?
[HD Mini Android Development] tzacapaca:
Froyo 2.2, multilanguage(THIS MEANS NEARLY EVERY LANGUAGE!!!)

Disclaimer:

I will NOT give support to this build! Only if there are serious questions from people that intend to develope i am going to answer!

p.s. dude use google translate if you can't understand what people are talking about here ;)
[HD Mini Android Development] Adrien95120:
I use google translation but it's really the **** ^ ^

I often do not understand anything! : S
[HD Mini Android Development] -r0bin-:
good job schlund!

this is strange, the latest ARIA kernel is 2.6.32

is it normal we take older release?
[HD Mini Android Development] schlund:
cotulla portet 2.6.29, i wasnt able to find a new one, yet. Where did you get it?
[HD Mini Android Development] mooncmn:
some bug

i try the haret and find some bug. 1the power always say to connect to power. and the light on the left is always shining. 2can not find sd card. and lots of software cannot uses without sd card. 3when turn off the screen the button light can not turn off. 4wifi and gprs cannot use. 5the sound is ok. 6my rom is vodafone 1.41. please help. ..thanks.
[HD Mini Android Development] _Madmatt:
Is the HTC Liberty the same as the Aria? Because I think he used the Liberty kernel and thought there is maybe a possibility to get WiFi drivers of Aria kernel and mix?
[HD Mini Android Development] MobileMini:
So we have 3 similar phones:

1. HTC HD Mini

2. HTC Aria (Liberty?)

3. HTC Gratia

http://www.gsmarena.com/htc_aria-3392.php

The website says on the top that the Aria was previously named Liberty.

According to this website they have the same specs:

http://www.gsmarena.com/compare.php3?idPhone1=3585&idPhone2=3392

What I also was wandering. HTC has a developers site with their own kernel sources, did you guys had a look over there?

http://developer.htc.com/

HTC Aria - Éclair - 2.6.29 kernel source code:

http://dl4.htc.com/RomCode/Source_and_Binaries/liberty-2.6.29-21f066a6.tar.gz
[HD Mini Android Development] codiak:
Dude, thats normal. Have you read the first Post of this Thread?
[HD Mini Android Development] tzacapaca:
hey r0bin,i found something regarding kernel versions..HTC didn't release the source code of 2.6.32

here is the source(HTC Facebook)

http://www.facebook.com/topic.php?uid=101063233083&topic=15891
[HD Mini Android Development] -r0bin-:
latest kernel from cyanogen:

https://github.com/CyanogenMod/htc-kernel-msm7227

it's a 2.6.32

attached is the standard version I have (compiled with default configuration MSM7227)

warning, you must change the mtype version in startup.txt:

cotulla used 3162, on this kernel you must use 2434
[HD Mini Android Development] tzacapaca:
hmmmm i found this: Linux kernel 2.6.32 for Android on MSM7227 (Espresso, Legend, Liberty) :D
[HD Mini Android Development] codiak:
Are there any benefits with this kernel?
[HD Mini Android Development] -r0bin-:
i have no idea, i cannot test on my Mini, SD card not working (i have to buy new one)

new kernel release = new drivers = could solve the wifi / GPRS / battery issue

if someone can test it and let us know...
[HD Mini Android Development] xicofixas:
Link is not working, can you upload it again please? public host might be better.

thanks
[HD Mini Android Development] MobileMini:
I tried your kernel in combination with Liberty_Froyo_System.rar and changed the startup.txt to 2434. It didnt work on my phone, Haret just crashed (with loading bar on screen). I waited for 10min and after that pulled the battery. It seemed that Haret didnt pass the kernel bootup, there were no new directories or files created on my SD card. So android did not boot.

The version of Cotulla did work without any problems.
[HD Mini Android Development] schlund:
this untouched kernel wont work, we will have to do major changes for Photon support.

it is not that much to do, just take a look at cotullas kernel source and merge it with liberty source

btw download should work again, to much hits a day made server security alert :D

EDIT: For your understanding:

HTC HD mini (Codename: Photon)

HTC Aria = HTC Gratia (Codename: Liberty)
[HD Mini Android Development] extremetech:
Wow Damn Fast

Very fast Android on HD Mini... Wow if all porting will be done it's like having a new phone... Was going to replace my hd mini for an android phone.. For now a working MIC will do the job :P

Thanks Cotulla We really Appreciate your work...:)
[HD Mini Android Development] _Madmatt:
Thanks! But I don't think Aria = Gratia ;) There will be diffirences in radio's and that stuff. European network isn't the same as US network :) So, for GPRS data we should take a look at the Gratia source (if available!).
[HD Mini Android Development] schlund:
Yes, but it supports both networks.. my old siemens from 2003 was also able to :)

BTW: aria and gratia use the same source
[HD Mini Android Development] -r0bin-:
i think its only a matter of fine-tuning for the drivers

if we can get console access to the linux (such as putty) it would be easier to debug
[HD Mini Android Development] _Madmatt:
Isn't that possible with HaRET console? :)
[HD Mini Android Development] -r0bin-:
no, haret console works only as long as you are in Windows Mobile

once in android haret is not working anymore

by the way, seems that to speed up android loading we could create an "ext2" partition on the sd card.

see here:

http://www.androidonhtc.com/wiki/Downloads

i need to buy a new sd card to test :)
[HD Mini Android Development] codiak:
I don´t see an info about a speed up on the link you posted.

In my opinion its nice to have all android data in one file!
[HD Mini Android Development] _Madmatt:
Interesting! As my SD card does not contain interesting data, I can just format it with a Ext2 partition to test it ;)

PS: They're talking about a rootfs.img file, I never saw that one appear? :o

EDIT: For now it's not working to partition using GParted... :( Will keep trying!
[HD Mini Android Development] cardsharing:
If you want to connect to phone like putty, try this in attachment from command line.

Connect phone to usb port and from command line type:

adb-windows.exe shell
[HD Mini Android Development] AllGamer:
in case you missed the very 1st post...
[HD Mini Android Development] 美 兽:
I thought most people were attracted by her outlook, size and weight! But why is wm....
[HD Mini Android Development] youkid90:
That is only the begining......
[HD Mini Android Development] sadzkii:
install android

how to install android to windows mobile ..?

please help me...

I want to try it
[HD Mini Android Development] kipill:
Hey,guys!

Hello!

I'm use a HTC Mega and try to port Android on this device.But my Assembler is no good...I read all this thread and I think problem in asmstuff.S code.I try to run haret from Cotulla but "turning off MMU..." and device return to WinCE(((Please, help something, many users HTC Jade,Iolite,Mega( all who has msm7225 ) wait Android...
[HD Mini Android Development] tzacapaca:
hi

in order to use haret you need to patch it/adapt it for msm7225

try this http://www.mail-archive.com/haret-devel@lists.linuxtogo.org/msg00013.html

Cotulla's patched haret from hd mini forum is for msm7227 so it will not work for msm7225
[HD Mini Android Development] kipill:
Yes,I know this and I try this.This patch included in code Haret7227.May be problem with cpu flush cache function?And why in default.txt for HTC Photon RAM size 0x01000000?(As I know Photon has 380MB).
[HD Mini Android Development] schlund:
size/map is defined in kernel itself .. :)

as far as i know msm7225 is very similar to 7227, first of all you should map your windows memory to know where to set the init and kernel. Then you should add basic support for 7225 similar to 7227, (and of course you will have to use photon source for haret).
[HD Mini Android Development] -r0bin-:
hi kupill,

there is no expert in haret on the hdmini forum: Cotula was the one helping us.

all i know is, there seems to be a bug in the MSM7227 for the flush function, it is known in the kernel architecture (see make menuconfig of kernel 2.6.32) so you may investigate here.

you can also try asking the question on irc (htc-linux chan, or something like this)

good luck!
[HD Mini Android Development] kipill:
Thank you for answers!!Will try:)
[HD Mini Android Development] munjeni:
Hi, if haret return to win after executing, i think haret is ok, but you need kernel and initrd. Try to add some code to the initrd to write to example: /mnt/ sdcard/output.log. If you see output.log in your sdcard, haret working but you need to correct some parts of kernel, or, if you not see output.log, you know haret stoped after mmu trampoline, or maybe kernel fault. This is hardest part finding what prevent booting
[HD Mini Android Development] schlund:
no, if haret successfully flushes all caches and reset's device it wont be able to return to wm ..
[HD Mini Android Development] munjeni:
Ohhh you are right!:o
[HD Mini Android Development] derefas:
about headset

log:

I/AudioHardwareMSM72X:@ 130): Routing audio to No microphone Wired Headset (0,8
)
I/AudioHardwareMSM72X:@ 130): doAudioRouteOrMute() device 8, mMode 0, mMicMute
1
V/HeadsetObserver( 292): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=0, DEV
PATH=/devices/virtual/switch/h2w, SEQNUM=974, ACTION=change, SWITCH_NAME=Headset
}
W/Vold ( 125): Ignoring unknown switch 'Headset'
V/HeadsetObserver( 292): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=130, D
EVPATH=/devices/virtual/switch/h2w, SEQNUM=920, ACTION=change, SWITCH_NAME=Heads
et}
W/Vold ( 125): Ignoring unknown switch 'Headset'

problem with switch from speaker to headset

when headset plugged and starting music in player switch func don't work and headphone muted.

problem only in our system image , with kernel all good

files which need fix

lib/libaudio.so

source:

AudioHardware.cpp/h

framework/services.jar

source:

services/java/com/android/server/HeadsetObServer.java

we need change

private static final int BIT_HEADSET = (1 << 0);

private static final int BIT_HEADSET_NO_MIC = (1 << 1);

to

private static final int BIT_HEADSET = (1 << 1);

private static final int BIT_HEADSET_NO_MIC = (1 << 0);

and we need source of framework from our 2.2.1 froyo build to make this, good luck

i am too lazy to make this
[HD Mini Android Development] iPlasm:
I think Derefas is right.

And isn't there another more stable Android system.ext2 to use for our photon?
[HD Mini Android Development] schlund:
be more specific, "unstable?". if you dont like it, dont use it, or make your own. But please dont spam the developers thread
[HD Mini Android Development] iPlasm:
I'm Sorry to say, I was think Derefas is right and there are many Systems for our photon to use,

And I didn't said our system is unstable! I mean maybe there is more stable system.ext2 one.
[HD Mini Android Development] tzacapaca:
derefas was NOT talking about system,he was talking about headset(read again!) !

and there are NOT many system.ext2 versions,just 2.1 and 2.2 !

and as I said before on other thread developers are NOT interested in porting other Android versions AT THE MOMENT,because there are still things which must be fixed/ported for a FULLY working Android.

p.s. dude,if you don't know what are you talking about better don't...you embarass yourself,really :)(and it seems your signature doesn't match :rolleyes:)
[HD Mini Android Development] DominicTei:
Looks like thunderstorm will coming to the forum.... hide*:p

Keep up the good work anyways!!
[HD Mini Android Development] iPlasm:
Well Derefas him self says: (problem only in our system image , with kernel all good) and I know he is talking about headset fixing...

And my info is not about system versions 2.1, 2.2, 2.3 no!

I mean... oohh how can I say... maybe my english problem...

my meaning IS: some difficult images of these System.ext2, for example now we're using that's include multi-language, another one doesn't include that.

If you Remember when Cardsharing needed the image system, So me,others and Schlund posted the links of difficult images. and at last Schlund gave the multilanguage once.

I hope you understand meaning of me....
[HD Mini Android Development] schlund:
liberty-images, yes, but all of them would have been ported to photon..
[HD Mini Android Development] iPlasm:
Yes :) Exactly that was I meaning.

So all of them are same? I don't think so...
[HD Mini Android Development] bruce2728:
Is this a dev thread or pointless arguement thread?
[HD Mini Android Development] schlund:
i did NOT say that!

dont you understand what i am trying to say ? those images we were talking about, are images for HTC LIBERTY (known as HTC aria, HTC gratia). if you want them to run on photon, you need to PORT them. there is no native photon rom available!

What we are doing here is porting a liberty image/kernel to run on photon.

And now, please STOP spamming developers thread !
[HD Mini Android Development] iPlasm:
OK, :)

I didn't know were talked about, And Sorry for any spamming,... I never like spamming please know me. ;)
[HD Mini Android Development] kipill:
I found short vibration in GPIOS (on my HTC Mega):

GPIOS(5) 92d00850=00000c06
GPIOS(11) 92d00844=00030c06
GPIOS(5) 92d00850=00000806
GPIOS(11) 92d00844=00030806

Please tell me - how I can add this into asm code?
[HD Mini Android Development] -r0bin-:
lol, the Photon forum really needs a moderator!

kipill, please, this thread is about Photon development, not Mega.

If you want help on your issues, please create a separate thread, but don't spam this thread. thank you :cool:
[HD Mini Android Development] -r0bin-:
how can you be sure it works if you dont test it? ;)

it would help if you cant compile to test your fix, it's difficult for us to use it otherwise...

thank you for your help anyway :cool:
[HD Mini Android Development] munjeni:
Changed and recompiled kernel and services.jar but not working, no mic and no audio on headset!

# logcat | grep Headset
logcat | grep Headset
I/SystemServer( 214): Headset Observer
W/BluetoothHeadset( 214): Proxy not attached to service
D/BT HSHFP( 318): Starting BluetoothHeadsetService
V/HeadsetObserver( 214): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=129, D
EVPATH=/devices/virtual/switch/h2w, SEQNUM=895, ACTION=change, SWITCH_NAME=Heads
et}
W/Vold ( 157): Ignoring unknown switch 'Headset'
V/HeadsetObserver( 214): Intent.ACTION_HEADSET_PLUG: state: 1 name: Headset mic
: 0
I/AudioHardwareMSM72XX( 162): Routing audio to No microphone Wired Headset (0,8
)
V/HeadsetObserver( 214): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=0, DEV
PATH=/devices/virtual/switch/h2w, SEQNUM=905, ACTION=change, SWITCH_NAME=Headset
}
W/Vold ( 157): Ignoring unknown switch 'Headset'
V/HeadsetObserver( 214): Intent.ACTION_HEADSET_PLUG: state: 0 name: Headset mic
: 0
V/HeadsetObserver( 214): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=130, D
EVPATH=/devices/virtual/switch/h2w, SEQNUM=909, ACTION=change, SWITCH_NAME=Heads
et}
W/Vold ( 157): Ignoring unknown switch 'Headset'
V/HeadsetObserver( 214): Intent.ACTION_HEADSET_PLUG: state: 1 name: Headset mic
: 1
I/AudioHardwareMSM72XX( 162): Routing audio to Wired Headset

About sensors, only log with compas because we not have it, and i not see permision denied:

# logcat | grep Sensors
logcat | grep Sensors
E/Sensors ( 214): Couldn't find or open 'compass' driver (No such file or direc
tory)
E/Sensors ( 214): Couldn't find or open 'compass' driver (No such file or direc
tory)
^C

My opinion: Because we have working mic on headset this have no sense because we need fix for audio route and not route for microphone!
[HD Mini Android Development] -r0bin-:
thanks for taking the time to test it!

guys, if you have some spare time and want to help devs, please have a look here:

http://xdaforums.com/showpost.php?p=14485688&postcount=1

thanks :cool: