yashsingh1/xdaforums huggingface dataset:
[HD Mini Android Development] Mystikal57:
oh..okay

I hope my hd mini get a good battery life one day :) :D
[HD Mini Android Development] spithash:
Battery

Hello guys i am using the nand version of android.I had a big problem with the battery drain.It was 100% and in 10 hours went to 8%...

I searched for a while and i downloaded a this app and i calibrated my battery.

After that i used the *#*#4636#*#* method from derefas.

Now after 24 hours my battery is still at 72% :D

I hope i helped :P
[HD Mini Android Development] zalaros:
It works as long as you don't connect to internet via gprs/3g/hsdpa ;) If you connect only using wifi the battery life is ok :)
[HD Mini Android Development] ashu's htc:
headset is working???

anybody found problem of headset during call ???? in sd build ???
[HD Mini Android Development] swissly:
Hello Schlund,

it's a long time we have not heard from you. We all know that this is not the only thing you have to do in life and that you do not get any money for your great work. :(

However some status updates would be highly appreciated. Are you on holiday right now? Perhaps skiing in Switzerland? ;)

Even if you do not have the time to work on this project right now please let us know things like "I will be on holiday for the next two weeks" or "I have many other projects going on next week and will not be able to work on this here".

This would leave us much quieter here and we would not have to check every other hour if there is a new release from you... :p

Thank you very much for your understanding and keep up the great work!! I am still hoping bluetooth will be next to be fixed to finally have a full working PHONE. :cool:
[HD Mini Android Development] munjeni:
"Cut screen DONE! by derefas" Hallo dude, I will be glad to see what was "screen cut" problem! Google haven't translator for it :)

EDIT:

found it here -> https://github.com/schlund/2.6.35-photonic-kernel/commit/54310bb5df756dc2ef75a36c7860e2327155b41b but again not understand what was problem with screen :), do you want to explain better (what was "indicators" for the problem about screen cut)?
[HD Mini Android Development] prohibeat:
Yes.

1. Please explain what's that cut screen problem. My screen looks ok ;)

2. Will next updated release require installing os from scratch or will it be flashable update ?

3. What needs to be done to completely erase/format/reflash everything android related? I'm paranoid because with first install everything was fine apart from battery life. Now device seems like it learned the battery and it's life is similiar to past use with WM but after messing with settings and wiping user data few times I get unresponsive device during incoming call, random force closes, missing icons and randomly changing ringtones lol. I repaired permissions but I would like to COMPLETELY remove everything and start from beginning with experience I have now. So should I flash WM and then repeat steps from Schlund's instructions or format everything from recovery and reinstall zip?

Or should I wait for next release ? Thanks :)
[HD Mini Android Development] munjeni:
reflash using recovery!

@derefas, here is init.d that I use in my aria cm7 (include usefull init scripts: apps2sd, auto detect ext2,3,4 and mount if sd card have ext-partition, cpu scaling, swap mount...etc), you need 3 primary partitions on your sd card (fat32, ext4, swap - best is creating 3 partitions trought recovery!!!)... please try and let me know...

Anyone tried game "need for speed shift" :eek: tested and it working without frezing!
[HD Mini Android Development] schlund:
Hey guys,

i have announced that i am running low on time for some weeks :/

happily derefas found the solution for the "cut screen" bug, have tested it today and happily the artifacts are completely gone now.

i have started to fix all the sound and arcoustic bugs, but there is still some work to do. this will be my part for the next release.

When it's done, i will try to create an update for existing systems, too. but i am not going to promise anything, it depends on how many things have to be changed. well, there are also some official updates from cyanogenmod that will be included. so, we will see ;) simply be patient
[HD Mini Android Development] ¨K¨:
I would like to learn how to develop Android, so I can help on this development.

I have Ubuntu and (I think) all the software needed to develop, so I'm ready to go from there on.

found it here

are there any good websites for beginners?

I've searched a lot already, but there is so much (too much) information out there... don't know where to start.

thx!
[HD Mini Android Development] schlund:
if there are more people interested in that, i will write a little howto
[HD Mini Android Development] rigo007:
it could be really interesting...;) thanks in advance!
[HD Mini Android Development] ¨K¨:
that would be great! thx a lot.

in the meantime, I've found some interesting stuff; about vim editor and about yaffs and unyaffs.

ow btw, after 3 days 14 hrs and 18 min, (with calls, texting, wifi, agenda,...), I still had 11% of batt left and no issues whatsoever. :)

charging now.

again, thx a lot Schlund, I'm totally in love with this little phone!
[HD Mini Android Development] kdapp:
it could be really interesting... i will be never to old to learn!
[HD Mini Android Development] derefas:
hi guys! i think i fix pm soon, now i rewrting pm driver
[HD Mini Android Development] kacperz1:
Hello,

I am also interested in a little how-to. Maybe I can help fix bugs for hd mini. I have experience in OOP languages.
[HD Mini Android Development] tzacapaca:
I'm also interested

+1 :D
[HD Mini Android Development] Ciccius:
I'm interested, too. thx!
[HD Mini Android Development] kdapp:
Does it fix the powerdrain ????
[HD Mini Android Development] ncla2000:
hey derefas I need your help:)

I searched a lot but I cannt find the original code of lk and recovery ?

can you give me your lk or recovery code vis git? with a lot thanks

on derefas savvsa kernenal

--------after some changes i get the phone less power use

--------REmanager Startupmanager installed

--------First delete some unuse apps from system/app/ with RE

androidterm

carhomegoogle

cmstatus

develoment

downloadproviderUI

drmprovider

dspmanager

filemanager

fm

fotakill

googlbackutransport

googlecalendarsyncadapter

googlecontactssyncadapter

googlefeedback

googlepartnersetup

googlequicksearch

latinime.apk

latinimetutorial

marketudater

meadiauploader

music

protips

rommanager

stk

talk

userdictionaryprovider

vending

voicediale

vpnservices

-------Second starupmanager disable some apps from system

dialler

downloadmanager

fota kill

email

google one time init

media storage

after use to powerless and recharge once

the battery use shows four sections

---display

---mobile standby

---phone idile

---android system

THEN the phone works well more than 1 day:D
[HD Mini Android Development] huahaonam:
I Need Solution Fix battery one day :) WM 2-3day
[HD Mini Android Development] ncla2000:
android 1day(24hours+) is noraml

other andoid phones uses like this.
[HD Mini Android Development] kdapp:
Yes but 10 a 12 hour is not normal, my phone goes dead within this time

HTC HD MINI -->Nand Android:)
[HD Mini Android Development] disciplinedhtc:
On Saturday I installed the NAND version and I must say I'm really impressed, this is a great piece of work, thanks a lot to Schlund who made our Minis more interesting now (for those who were thinking to buy a new device, but couldn't find a compact-enough one).

My impression. I haven't tried all functions, but most of everyday's ones (GPS, Wifi, Camera) work perfectly, I'd say, no troubles at all. To those who are not 100% sure about flashing (as I was) I can say that, after coming from googlecode SD release, this is definitely a step forward.

Battery charge drops down as soon as you have a continuous 3G session, even after using PRL trick through hidden menu. I read that Derefas was writing something about it, hope this may take some improvements. However my battery is quite fuc*ed up after 2 years and last months of (seemingly) unhealthy recharging through googlecode rels. After this I think I'll be buying a new battery since I know I can now use my Mini for quite a decently long time.

One question: ADWLauncher settings may be quickly backed up. Is there anything similar for CyanogenMod settings or is the Free version of Titanium backup the best way to go?

Forgot 2nd question: I set CPU on Ondemand 245/787Mhz, after reading this some pages ago. Has anyone experienced better compromises between battery & performances with other settings?
[HD Mini Android Development] ncla2000:
For now, the support for the following devices is included:

Sony Ericcson Xperia X1 (KOVS110) (fully working/NAND ROM ready (wifi is unstable, so not yet ready for everyday use))

HTC HD Mini (work started. framebuffer works, usb does not)

HTC Touch Pro 2 (ACL has confirmed booting and flashing with kernel 2.6.27.46. He maintains a clone of the LK repository)

HTC HD2 aka Leo https://github.com/cedesmith/cLK

--------------------------------------------------------------------------------

can anybody help me ? i cannot find the lk code for hdmini and recovery code.
[HD Mini Android Development] schlund:
Recovery: https://github.com/CyanogenMod/android_bootable_recovery/tree/gingerbread

LK: https://gitorious.org/lk-msm7200a-htc-wince

whats your plan ?
[HD Mini Android Development] munjeni:
You are definitely right! I has htc hd2 that is realy big phone (its notebook :)) and I back to "compact one" Aria that is same as Photon and I'm very happy with small compact device that runing on "sufficient 800mhz" and not use hd2 for long time... definitely the right choice is Photon with all things fixed in android!

usb working in my cwm touch recovery (I tested!), not tried other recoveries. Usb in android not working. After comparison hd mini vs aria at first glance I see (adb shell mount output) there no external sd-ext partition (ext2,3 or 4) in our build so it meant something in initrd need to be added/changed to look like in htc aria! Allso (not 100% sure) I think aria (ls /dev) have msm_video or something about video device (not sure... will look later in aria), so maybe its reason why we have not working video! I got photon today (need to jtag/dump flash for trying photon dump in htc aria, aria dump in photon allso) and will try to fix something (will collect all informations for example log output from: mount, ls dev, ls input...etc from photon and will compare with aria... maybe I find something interesting that we fail to see/port but needed for photon... and will report here all my opinions (I think it will help you here)... wait two days until I collect all
[HD Mini Android Development] schlund:
USB is working in both, recovery and android
[HD Mini Android Development] diemhenmobile:
phone not work
[HD Mini Android Development] munjeni:
Working? Ok. But why some guys reporting here that not working in his phone, maybe sd card vendor? But again our kernel is new version so there should not be a problem with sd card? Other opinion I got about video in kernel 2.6.35 is video (low format worked in 2.6.32) not working in any way from youtube app :confused:, allso "vibration" in log in dmesg is very frequent... etc
[HD Mini Android Development] derefas:
hi munjeni, did you have any ideas about power managment problem? we have about 40-50 mA in sleep
[HD Mini Android Development] munjeni:
I don't know but see my previous post about "vibration" in dmesg, maybe its problem? Why vibration is frequent and what cause vibration start? Allso there is some logs about recording:eek: but I not used recording...
[HD Mini Android Development] derefas:
about video - mp4 work but slow on 600 mhz , youtube work too
[HD Mini Android Development] munjeni:
Hmmm, I tried but not working. Also there is problem with adreno (for example in aria: when I turn screen off there is very fast off efect but in photon off efect is very slow) hmmm why? Also screen moving left-right in aria is very fast but in photon its very slow (like something brakes screen, or like passes through an filter)! Did you tried to totaly remove libgles.android.so? All video things have an problem but hmmm, what is problem I realy not understand. Also unknown video queue like before I see in log!
[HD Mini Android Development] schlund:
Everytime you press a softbutton the device will vibrate
[HD Mini Android Development] munjeni:
Aha, ok ok so its only "printk" enabled, ok.
[HD Mini Android Development] schlund:
About video: i think a problem with queue id's could be possible. I have seen they are hardcoded in android proprietary libs and differ to kernel
[HD Mini Android Development] munjeni:
one more thing I noticed (I will confirm later when I return aria), from dmesg log in photon: high mem or low mem (not sure now but I think I seen it) there low or high mem is 5xx.mb but in aria its 300mb... maybe photon use nand instead of ram? So maybe its reason for slow response?

photon dmesg:

<5>[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
<5>[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
<5>[ 0.000000] DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
<5>[ 0.000000] vmalloc : 0xe5800000 - 0xf8000000 ( 296 MB)
<5>[ 0.000000] lowmem : 0xc0000000 - 0xe5400000 ( 596 MB)
<5>[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
<5>[ 0.000000] .init : 0xc0008000 - 0xc0028000 ( 128 kB)
<5>[ 0.000000] .text : 0xc0028000 - 0xc04df000 (4828 kB)
<5>[ 0.000000] .data : 0xc04e0000 - 0xc051f7e0 ( 254 kB)

EDIT:

aria have high mem (as I recall...will confirm later) 300mb + 5xxmb lowmem... I think! We will comare later... going now to dump photon... do you want something, I will dump?
[HD Mini Android Development] maqbulsayed:
two issues found

Hi All,

1st and foremost, thanks to all the developers for the Nand Version, I was waiting for this for a long time.

I have been using the NAND version and found 2 issues

1. The hold button gets pressed while on call... I guess we need to change the dialer or work on the proximity sensor driver.

2. USB theethering & Wi-Fi Hotspot is not working for me.

Not sure if anyone else is facing this problem.

Regards,

Maq
[HD Mini Android Development] ncla2000:
thanks a lot !

I used to use basic-QB-VB-VB.NET

I am new to C and linux

I will spend two hours on this everyday.

I could do some test for you.
[HD Mini Android Development] disciplinedhtc:
Today I've been testing my Android Mini more carefully, there's something about signal which requires some fixing probably. In places where I normally get a low-to-medium 3G signal, I have poor/unstable signal and switching to 2G (going to roaming under a different carrier). In other words, signal reception seems to be weaker, compared to WM and to google code release as well. Place I'm referring to is where I spend most of my day so it's quite a reliable observation. Have you guys experienced same weaker signal reception?
[HD Mini Android Development] multicoms:
HI There, i understand all your GPS is working but mine till today still not working and i don't know really what is the root cause.

I did flash back to WInmo and the GPS is working fine there and turn r175, after flash back nand the GPS is dead again, maybe is my radio not updated?

Any one may post the update here for me to update the radio version? appreciate if any one can help.
[HD Mini Android Development] kostas.seres:
mini

hello

i try it yesyerday

looks very good but it stuck all the time

my battery went crazy 0%

i think it is too heavy for my mini

or i did something wrong

pitty

couse i like android

i try another release today

thanks
[HD Mini Android Development] kdapp:
hi all,

I have a sollution for the battery drain for the HTC Mini HD

1. Reboot, on HTC screen Press and hold Volume up to enter bootloader recovery

2. Use Volume down to go to advanced and press phone hangup.

3. In Advannced and Debugging Menu use Volume down to go to wipe battery Stats and pres phone hangup

4. In the next menu use Volume down to go to yes - wipe battery Stats and press phone hangup

Just wait till ready and reboot the phone

My battery drained whitin 8 hour.

Now my batery works for add least 24 hour :D

:) HTC Mini HD - Nand install :)
[HD Mini Android Development] prohibeat:
1. You can disable hold button in phone settings, don't remember but probably in cyanogen settings.

2. Not working for me too.

3. Anyone can send/receive mms? Any solution to this ?
[HD Mini Android Development] derefas:
i think i found problem of video, video decoder and encoder don't use queue (wtf? wrong values?), i set null to vdec queue in adsp , and video work like before (only low)

i try to found on android side which queue used for vdec

NEW: Okay i fix video encode video can record only in low but if high video can't save m4vh263decoder says that failed to decode video frame
[HD Mini Android Development] munjeni:
Hey, how you fixed recording... I also working now with video... please share fix maybe we get idea together? But I working now in old kernel and added this part of code for test:

case ADSP_IOCTL_SET_CLKRATE: {
unsigned long clk_rate;
if (copy_from_user(&clk_rate, (void *) arg, sizeof(clk_rate)))
return -EFAULT;
return adsp_set_clkrate(adev->module, clk_rate);
}

that code not existed in old kernel!!!
[HD Mini Android Development] derefas:
i changes queue for encode

#define QDSP_mpuVEncCmdQueue from 4 to 6

#define QDSP_rxMpuDecPktQueue from 6 to 4

and replace string in table which in msm_adsp like defined in adsp_info(for old kernel adsp_photon )

forgot, i disable vdec_lp_mode

Okay high video can encode , but can not play , problem with vdec

Ha-ha can make but can't play LOL
[HD Mini Android Development] Rcgzantvoo:
Me 2! Keep up the good work Schlund!
[HD Mini Android Development] krammoer:
Hello Where can download this version?
[HD Mini Android Development] puxus:
Oh, no!!! Allready 3 pages about nothing! Guys, why don`t you just press "Thanks"? Schlund, I think you should clean from flame this thread, including mine post ;)
[HD Mini Android Development] MobileMini:
Posting here, keeps the forum alive ;)

Nice that people are still making progress here! Much respect for you devs, doing this for free is really admirable!
[HD Mini Android Development] peter08po:
This means we all give big support to devs :D

We are not spamming, but giving encouraging :p
[HD Mini Android Development] havlaz:
YEAAAAA !!!!!!

waiting for the relese....
[HD Mini Android Development] prohibeat:
Hi. I don't know if this is the right place to post questions. Sorry if I'm wrong.

My Sandisk card could not handle booting of the initial SD/Haret version from another thread. Will this be likely issue with this release too? Instructions from Schlund (best regards) point out that NAND version will use SD card to some extend too. Should I get more suitable card or will NAND version work with all cards ?

Thanks to all devs who contributed to this project.
[HD Mini Android Development] schlund:
for nand boot sd-card is only needed once to install lk bootloader. The loading procedure is very small and nothing is written to the card so it should work with every card! if you dont know you can simply try to boot to fastboot console after i have uploaded the files. the boot procedure from sdcard doenst change anything, so its safe!

and no, asking your question here is absolutely right ! :)
[HD Mini Android Development] fabian_s:
NICE Installation guid schlund! So now we just need the download links and we can go testing! So happy right now :)
[HD Mini Android Development] schlund:
links updated now, first release is online

happy testing !

EDIT:

Interesting for me to know:

After installing NAND build please check your wifi mac adress if it is the same as in winmobile. if you are not sure be so nice and post it here please. Thanks !
[HD Mini Android Development] Vogelhaus7:
i have an black screen since 20 minutes with the Sd-version after starting haret.

but idk if it is my mistake :o
[HD Mini Android Development] HALOHA:
I installed it.

And Mac address is correct,GPS is working.great work.
[HD Mini Android Development] jomaga:
I get allways Wifi error and a few blinking bands in the left side of the screen (more noticeable in the pages placed to the left of the main screen)

I flashed the image from the previous nand version (unmounting and formating) and then restored a previous backup. I'm going to make a fresh install to check Wifi and screen

GPS working good

Anyway, good work
[HD Mini Android Development] schlund:
you have to flash the new bootloader!! It contains important changes for wifi calibration!

@Vogelhaus7:

Honestly i did just a quick test with SD-Build. Installing booting testing all the features, but didnt notice anything wrong. Gonna wait for other reports :)
[HD Mini Android Development] Vogelhaus7:
Schlund pls look at pm, sry for that :(
[HD Mini Android Development] jomaga:
Done, thanks!

Working perfect now
[HD Mini Android Development] HALOHA:
Bottom light still always light.....but not light highest now.

And it can be closed....so I think it's not a big problem.

THANK again.
[HD Mini Android Development] edition-:
Looks great schlund!

Going to test it tomorrow.

Any chance we are going to see a sense ROM too? :)
[HD Mini Android Development] NoxinHH:
Moin Schlund...

Looks great, I have installed it on my 3 devices. WiFi is working fine,

all three devices have different MAC addresses. Installation was

VERY easy, your install batches are quite cool. :)

Have a nice day & thanks!

Noxi
[HD Mini Android Development] munjeni:
Please try this changes -> http://gitorious.org/2-6-32-photon/testing/blobs/master/arch/arm/mach-msm/include/mach/msm_adsp.h I allready played with it... maybe it will work in new kernel?
[HD Mini Android Development] derefas:
i will try, but i don't think that enc can use 6 and 9 queue
[HD Mini Android Development] munjeni:
Ok, its for rec, but I plaing with videotask... see dmesg for some debugs using queues from previous link
[HD Mini Android Development] derefas:
Don't work enc, dec after 5 times start video with very freeze

but with dmesg all ok ...

i think we can not use queue's from other devices
[HD Mini Android Development] munjeni:
Ok. When I reorder this:

#define QDSP_mpuVDecCmdQueue 4

#define QDSP_mpuVDecPktQueue 5

to:

#define QDSP_mpuVDecCmdQueue 5

#define QDSP_mpuVDecPktQueue 4

and allso in adsp, audio not working! So why its related to audio becouse its VDecPkt... there we need absolutely to look forward for possible video fix... something there is not good.

EDIT:

Low video freze (previously worked perfect)!!! I think posible fix for video is fixing audio queues (becouse there is high defined audio and low defined audio in youtube video)... think audio cause frezing in video? :)
[HD Mini Android Development] munjeni:
Did you got working audio with that config?
[HD Mini Android Development] disciplinedhtc:
Sounds too good to be true but it's worth trying... any other feeback about this? It's really about 3G usage plus intensive screen activity, I think..
[HD Mini Android Development] kdapp:
3g is always off on my phone, intensive screen activity is posible
[HD Mini Android Development] derefas:
Yes i am using 2.6.35 may be solution in this
[HD Mini Android Development] munjeni:
Ok, I will try to debug adsp in aria and will post here results. As I promised here is some diference between dmesg from aria/photon about memory (lowmem is ram?):

photon:

<5>[ 0.000000] vmalloc : 0xe5800000 - 0xf8000000 ( 296 MB)
<5>[ 0.000000] lowmem : 0xc0000000 - 0xe5400000 ( 596 MB)

aria:

<5>[ 0.000000] vmalloc : 0xd3000000 - 0xf8000000 ( 592 MB)
<5>[ 0.000000] lowmem : 0xc0000000 - 0xd2c00000 ( 300 MB)
[HD Mini Android Development] derefas:
ram_console: no valid data in buffer (sig = 0xea000006)
[HD Mini Android Development] n3on_CZ:
Hi schlund,i am also interested in little development tutorial..

Anyway thanks to all who are making android on minies possible!
[HD Mini Android Development] munjeni:
I agre! Here is some debug logs for low video/high defined video:

- look for line that contain "module=" ... its for offsets defined in adsp.h

- look for "queue_id" ...its defined here

cam_dmesg camera/camcorder: