yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] sanpei:
if somebody care about the 640*480 buggy option in camera, use this apk in attachment of this post instead at current.

the camera subsystem and software interface designed by Google is terrible, maybe it's the reason in in essence that Qualcomm/HTC's implementation just like hell.

enable this function may need some modification to the kernel.

the memory grayscale picture with memory leaks seems can be fixed (Qualcomm showed a workaround in there code which I haven't tested, and other solution are not so perfect too), but making a libcamera.so (which won't let people blame me) need some time.

it takes time. :(
[myTouch 3G, Magic Android Development] capychimp:
so using that apk, you get what out of it? sorry i didn't get it ;)
[myTouch 3G, Magic Android Development] vincentlee6148:
I would also like !:o
[myTouch 3G, Magic Android Development] capychimp:
you mean to connect to the sdcard or?
[myTouch 3G, Magic Android Development] vincentlee6148:
I mean when i touch the "connect to the computer,happen FC!"

the v0.3pre can't happen!:confused:
[myTouch 3G, Magic Android Development] capychimp:
well doesn't function anyway ;) you need usb mount (it is in modded version) or download it from market
[myTouch 3G, Magic Android Development] vincentlee6148:
ya!

Just report bug!

Because i never use this item!

And normal use mountusb!:)
[myTouch 3G, Magic Android Development] kenny wong:
Dear sanpei:

Why the full screen Weather animation show the sun is blue.....?
[myTouch 3G, Magic Android Development] capychimp:
good question mine is too ;)
[myTouch 3G, Magic Android Development] tiger2z:
used google app(gmail market..) show error"the application google apps (process com.google.android.googleapps) has stoped unexpectedly.please try again." reinstall Problem Solving!
[myTouch 3G, Magic Android Development] lifeisjustgreat:
any livewallpaper support after the update ? anyone ?
[myTouch 3G, Magic Android Development] capychimp:
no live wallpaper yet
[myTouch 3G, Magic Android Development] FirstNoobToBrickHisPhone:
A blue sun...?
[myTouch 3G, Magic Android Development] ahmgsk:
ya that is a problem with sunny day weather animation

its just small prob
[myTouch 3G, Magic Android Development] capychimp:
it's just the color, no problems for running the rom
[myTouch 3G, Magic Android Development] asero:
Hubay should have used the PM if it's intended for one person.... :D

Anyway, it's nice to see there's really some progress here... keep it up ahmgsk, sanpei, and everyone!
[myTouch 3G, Magic Android Development] cashoplz:
Translation:

Sanpei bro, hows 2.6.32 going?

So far I loved this ROM however it does eat up your battery

I belive it is MIN 480 and MAX 528 therefore it feels like its draining my battery

Other than that the speed is awesome...

I hope your new ROM with 32 bit core (!?!) will release soon.

In the end, he was asking if the guy is living in China, and also inviting him to an android chat group on QQ (A messenger), saying that it has some well known professional developers in that group.
[myTouch 3G, Magic Android Development] sanpei:
sorry, I don't have QQ. if we can hold discussions in public forum, i will join in. then everyone who have interests in development can get bonus from our discussions. (the information will have more valuable if we share them more)

the CPU frequency is 480Mhz ~ 528Mhz only when screen is on, we can't use same policy as old radio have because new radio have some different. this behavior is same as HTC official ROM.

对不起，我没QQ :(， 如果咱们可以在公开论坛上讨论，我会加入的。这样任何一个对开发感兴趣的同志都可以从中受益。（知识共享的越多，价值越大嘛 :)）

只有屏幕亮的时候，CPU频率才锁定在480～528之间。咱们不能使用旧的radio的策略，因为新的radio有些不同。这些调整频率的行为（我的kernel）是和HTC官方ROM一样的。

另外别这么客气，别扭....
[myTouch 3G, Magic Android Development] hubay520:
Yes, as long as we enjoy you to do a new kernel, we feel very honored.

What do you complete the degree of the kernel 2.6.32?

We are looking forward to it.

There are 2.6.29 this kernel, power consumption quickly, possibly faster than reason.

I recently saw the Internet hero's 2.1senseROM, found that the kernel is 2.6.29-8 *****, I did not note a specific figure. You can use it? Or to change it to a new use of radio to let 32A

You can use it？init.d scripts directory add cpu frequency control script！
[myTouch 3G, Magic Android Development] sanpei:
for .32 kernel, i don't have enough time, but i will do my best, as quick as possible. and I think there are no big problems to make it done.

for the battery life of .29 kernel, i plucked the phone at 12pm yesterday , and the level is more than 90% at 10am today.

i can not use the hero kernel because the hero kernel do not contains sapphire supports. and I won't add the cpu freq control soon, because it is not the most important thing to be provided.
[myTouch 3G, Magic Android Development] LoGaY:
any review about the bugs?
[myTouch 3G, Magic Android Development] k0l0r3k:
Can't find hacked nav maybe someone got link?
[myTouch 3G, Magic Android Development] sanpei:
here: http://xdaforums.com/showthread.php?t=630887
[myTouch 3G, Magic Android Development] barthd:
Downloading new version.... 12 kb/s -.- Hope it's worth it ;)
[myTouch 3G, Magic Android Development] Dark_Elf:
Hi,

do I have to wipe in order to install the 0.2 version?

Thanks :)

EDIT: for the update from 0.1 I mean
[myTouch 3G, Magic Android Development] Sphaerophoria:
bluetooth fixed? i love you :)

honestly great job I've started working on something similar and can really appreciate the work you've put in.
[myTouch 3G, Magic Android Development] ahmgsk:
Thanks bro

this will help me in my next build

Edit : did u get my email??
[myTouch 3G, Magic Android Development] scylla69:
BT really works :)

that's cool.

+ it seems to be little bit less memory consuming. although, it's too early to say that for sure.

I've encountered one FC right after first boot during configuration but it hasn't affected anything.

Thanks sanpei :)
[myTouch 3G, Magic Android Development] k0l0r3k:
mayby stupid question but how to transfer files over BT?:)

and found one bug in 0.2 when i turn of wifi i get unable to stop wi-fi
[myTouch 3G, Magic Android Development] Dark_Elf:
Strange I didn't have any problems in stopping WiFi.

To send files over BT go in the Photos application, then click on Share, select Bluetooth and select the photos you want to send, then click Next and connect to the destination device ;)
[myTouch 3G, Magic Android Development] scylla69:
no such wifi 'bug' on my phone.

and you can transfer files via some file manager or, if it's photo via e.g. "gallery".
[myTouch 3G, Magic Android Development] Knaxe73:
need help...

i think i bricked my HTC magic 32a after doing the update for new radio it doesn't stop booting up all i see is the ROGERS LOGO over and over. i tried to press home+end and other button combinations but nothing happens it's still booting up again and again. i don't know what to do anymore, any suggestion guys.. :(:(:(
[myTouch 3G, Magic Android Development] Marcop200:
Does you PC find the magic with:

adb devices

during the boot?
[myTouch 3G, Magic Android Development] Dark_Elf:
Is it just my imagination or the battery doesn't drain as in 0.1?
[myTouch 3G, Magic Android Development] Knaxe73:
where can i find that ADB DEVICES? my phone is connected via usb (charging) right now but my pc doesn't find my phone.
[myTouch 3G, Magic Android Development] bigfire0918:
no Chinese in the language list?

sanpei, thanks for your work. I just downloaded and updated to v0.3. But I cannot find the Chinese from the language list. May you add it? Thanks.
[myTouch 3G, Magic Android Development] kencix:
I'm not able to go past the setup screen. always FC. Tried 2 diff SD cards. Use Hero recovery. Latest one.
[myTouch 3G, Magic Android Development] vincentlee6148:
Try use morelocale2 from market! it's free!
[myTouch 3G, Magic Android Development] bogdannt:
how can i activate app2sd on this rom

i want to activate app2sd to this rom and i don't know how. i read that it is activated auto if i have swap/ext2/fat, but when i install app they all go to the phone memory. because now i have only 20 mb free space.
[myTouch 3G, Magic Android Development] bogdannt:
themed version

and another question is capychim's themed rom the 0.3 version or is 0.3 pre?
[myTouch 3G, Magic Android Development] mastermid:
Still have FC settings at first boot. I tried with swap/ext2 and without. Many times formatted card (fast and full). Tried recovery hero 1.5.2 and 1.6.2 - nothing. If you ask - yes, I did wipe.

Still FC :/
[myTouch 3G, Magic Android Development] orochi9999:
thx a lot for ur hard work!!

I'm downloading it~

I have a question about that if I use C6 SDcard and formate to swap(128MB)/ext2/fat32, can it speed up my phone?
[myTouch 3G, Magic Android Development] timmy1980:
I haven't tried it myself yet but I think I read somewhere that to get around this issue you can boot the first time with no sim card, complete setup and then shutdown and put your sim back in.
[myTouch 3G, Magic Android Development] sanpei:
err.. i have no idea...

thank you, hope that helps :)

in my opinion, it won't be faster except your sdcard is faster than internal NAND.

app2sd should be used in this situation (unless you will install a lot of app and your /data don't have enough space):

we use swap on NAND, then we need provide enough space by move apps to sd.
[myTouch 3G, Magic Android Development] mastermid:
Yea!!! Man, I love u :D No FC, setup wizard has started! Big thx :)

(I have been trying to deal with this problem for few days)
[myTouch 3G, Magic Android Development] sanpei:
please help me to test this libcamera.so (alpha)

it don't support zoom, etc, and it is unstable. but it should take pictures normally and won't have memory leaks when picture has been taken then preview.
[myTouch 3G, Magic Android Development] JcMatos:
Is this supposed to be used with the HTCCamera.apk you post before?
[myTouch 3G, Magic Android Development] timmy1980:
No probs, it wasn't really my discovery I just read it somewhere else, glad it worked, may have to give this one another go!
[myTouch 3G, Magic Android Development] ishuffler:
i need HTC_CIME
[myTouch 3G, Magic Android Development] JcMatos:
Testing libcamera.so

First results testing the new libcamera.so (I'm not using the HTCCamera.apk posted):

3M Pictures is OK and the preview is in color!! :)

VGA Video still black.

Sometimes the camera application just closes.

Will test further to check memory leaks...
[myTouch 3G, Magic Android Development] LoGaY:
anyone know what's the command for install it?
[myTouch 3G, Magic Android Development] anonymous2183:
It's seems you enter the camera first, it's ok for preview, but if you camcorder first, it quit without any FC dialog, and you can't enter camera again, just show a black screen.

and i found another prob, when you play a long mp4, you can adjust the progress forward and backward, after serval times the video frozen, you can only push home button to get back and can not shutdown by press button.
[myTouch 3G, Magic Android Development] m06nj4:
Here you are

http://www.mediafire.com/?mxzgxyktygq

please rename it to "update.zip"

and then flash it in the recovery

It works well in my phone(zhu yin and handwriting...etc)
[myTouch 3G, Magic Android Development] anonymous2183:
more tests with new libcamera.so found when you in camera, then try to switch to corder then quit the program, vice versa. but you can enter it again, and seems no harm to system by a memory watcher.
[myTouch 3G, Magic Android Development] capychimp:
new links are all v0.3 not pre
[myTouch 3G, Magic Android Development] sanpei:
make sure you didn't choose VGA (640*480) at current, it won't work and may cause more problems.
[myTouch 3G, Magic Android Development] Leffo:
Solution to FC problem

I found a solution for the FC problem on first boot preventing the setup to run and leaving the screen black.

I have tried everything concerning formatting the SD card (even changing it for an new) and now also trying to boot without the SD card present.

Nothing helped. Still getting the dreaded FC.

Then in desperation I removed the SIM card and - heureka - I booted into the setup. Completed the setup - as much as I could without the SIM card - and after that put the SIM card back again.

Perhaps somebody can explain the technicalities behind that, but I dont really care.

So now I am also running Sanpei ver. 0.3. Looks great with Capychimp´s mod

EDIT. Realize that it is already posted. Didn´t see that. Sorry

/Leffo
[myTouch 3G, Magic Android Development] _faber_:
This solution described on page 79. =)
[myTouch 3G, Magic Android Development] Leffo:
Sorry

Sorry. Didn´t see that.

/Leffo
[myTouch 3G, Magic Android Development] capychimp:
so you got it working now?
[myTouch 3G, Magic Android Development] Leffo:
FC problems

Yes, its working now and it is a great ROM

A big thanks to Sanpei and you

/Leffo
[myTouch 3G, Magic Android Development] ctalbot:
Any remedy for the sleep of death issue?
[myTouch 3G, Magic Android Development] m06nj4:
I have already downloaded Legend RUU of Asia TW.

How could I add Plurk widget and Plurk sync to Sanpei's Legend Sense 0.3 from this RUU?

I have no idea :(
[myTouch 3G, Magic Android Development] kiepas96:
your fix for camera is also working on VillainROM, great work thank you

when i choose effect for ex. sepia i got reboot

on deafult settings is ok!

cheers
[myTouch 3G, Magic Android Development] e_sela:
Now I get preview photo in color but after few photos I still get a freeze and then need to take out battery :-(
[myTouch 3G, Magic Android Development] magician32A:
I encountered this FC problem in Case's Legend ROM for old radio about 2 weeks ago and fixed it by booting without a SIM after flashing. You can read more about it in the thread at: http://xdaforums.com/showthread.php?t=647724

Sanpei, maybe you can look more into this? Seems to be an issue with the Legend dump, where it tries to autodetect the operator and throws an exception when it cant.

Cheers

D/AndroidRuntime( 480): Shutting down VM

W/dalvikvm( 480): threadid=3: thread exiting with uncaught exception (group=0x4001e390)

E/AndroidRuntime( 480): Uncaught handler: thread main exiting due to uncaught exception

E/AndroidRuntime( 480): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.OperatorPickerSetupWizard}: java.lang.NullPointerException

E/AndroidRuntime( 480):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596)

E/AndroidRuntime( 480):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2621)

E/AndroidRuntime( 480):	at android.app.ActivityThread.access$2200(ActivityThread.java:126)

E/AndroidRuntime( 480):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)

E/AndroidRuntime( 480):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 480):	at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 480):	at android.app.ActivityThread.main(ActivityThread.java:4595)

E/AndroidRuntime( 480):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 480):	at java.lang.reflect.Method.invoke(Method.java:521)

E/AndroidRuntime( 480):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

E/AndroidRuntime( 480):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

E/AndroidRuntime( 480):	at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 480): Caused by: java.lang.NullPointerException

E/AndroidRuntime( 480):	at com.android.settings.OperatorPicker.getOperatorAdapter(OperatorPicker.java:85)

E/AndroidRuntime( 480):	at com.android.settings.OperatorPickerSetupWizard.getOperatorAdapter(OperatorPickerSetupWizard.java:77)

E/AndroidRuntime( 480):	at com.android.settings.OperatorPicker.onCreate(OperatorPicker.java:47)

E/AndroidRuntime( 480):	at com.android.settings.OperatorPickerSetupWizard.onCreate(OperatorPickerSetupWizard.java:34)

E/AndroidRuntime( 480):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

E/AndroidRuntime( 480):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544)

E/AndroidRuntime( 480):	... 11 more

I/Process ( 96): Sending signal. PID: 480 SIG: 3

I/dalvikvm( 480): threadid=7: reacting to signal 3

I/dalvikvm( 480): Wrote stack trace to '/data/anr/traces.txt'
[myTouch 3G, Magic Android Development] Leffo:
APN crash?

As I told you I have now got past the FC of the setup proces by removing the SIM card as told by other users.

Still got a problem, though. When I try to see the APN list in order to modify, I get an FC. I think the same as the one in the setup proces with the SIM card present.

Anyone seen that, too?

/Leffo
[myTouch 3G, Magic Android Development] capychimp:
you don't have teledanmark working automatic?
[myTouch 3G, Magic Android Development] Leffo:
I get a network error trying to connect to Market. Don´t know if it is caused by the APN list. Perhaps not. Bu t the APN list shouldn´t give an FC after all
[myTouch 3G, Magic Android Development] capychimp:
true i never tried edit it.

i just tried i don't get any errors on it
[myTouch 3G, Magic Android Development] Leffo:
I think it has something to do with the TDC network in Denmark. Perhaps it uses another protocol or indentification or something. Try to look at post 811
[myTouch 3G, Magic Android Development] ginoyang:
How to make swap on NAND? I have use "SWAPPER" and it provide swap on SDCARD file or swap partition. But I think NAND will be faster than SDCARD. How should I do it?

Also, in p.77 the HTCCamera.apk you post. Should I just ADB PUSH it into /system/app or ? There's no odex file, would anyone teach me how to do that? Thanks dude.
[myTouch 3G, Magic Android Development] sanpei:
1. I haven't tried :)

2. rm original HTCCamera.apk and odex, then push the new apk.
[myTouch 3G, Magic Android Development] sanpei:
and no other developers make a pure HERO CDMA port for us?

I am tired to make it myself....
[myTouch 3G, Magic Android Development] robocik:
i am testing villain 5 alpha, which is based on HERO CDMA...

but there are still some issues with dialer, when you have + in front of the number it is replaced by 011... not good
[myTouch 3G, Magic Android Development] sanpei:
couldn't it be replaced by Legend Dialer?
[myTouch 3G, Magic Android Development] robocik:
nope... gfx buggs + the problems remains...
[myTouch 3G, Magic Android Development] sanpei:
-__-

maybe we should work on hardware layer and be waiting for HERO GSM release. I have many career jobs todo and not too much time to waste :( .

I suppose that there won't be new bugs when HERO GSM version would be released.

conclusion

main bugs now:

1 camera bug and unstable relative it --> working on

2 button led --> haven't look, but shouldn't be very complicated

3 charge led/"awake time" --> haven't look, battery/power/USB driver related, it could be fixed if htc-kernel-2.6.27's driver can be used (may need some modification)

4 Connect to PC --> haven't look, USB drivers related, it could be fixed if a port of htc-kernel-2.6.27's driver can be used (may need some modification)

5 other unstable may be caused by DSP operation fault, we may be able to fix it by some kernel tweaks.

problems we would meet probably :

it seems that HTC won't release new kernel sources which can be used as a reference, since there are no new phone would use MSM7X00 chips.

so if some new proprietary libs must work with new drivers, and we don't know how to implement them since we don't have any Radio/Hardware documents. we should use old driver and old proprietary libs.

until now, with the nearly Sense 2.1 of HERO, I think we could get a so-so ROM.
[myTouch 3G, Magic Android Development] ginoyang:
I had tested the camera with sanpei's libcamera.so and found when u use twidroid or buzz with picture, after picture toke the screen will freeeze and couldn't upload to those services until press home~~~

Playing music, go to astro to delete a file in SDCARD, music sound will stop but play icon still remain, press pause and play again or change another song will keep playing~~~
[myTouch 3G, Magic Android Development] capychimp:
new themed

Brand new themed version, much better done uploading now, find it under my main post, you find it on first page or in my signature. still uploading, but screenshoots are up
[myTouch 3G, Magic Android Development] kenny wong:
bug report:

Using Bluetooth headset to listen music some time have a few seconds or a few minutes the sound will be interrupt need reboot the phone. can fix it?
[myTouch 3G, Magic Android Development] iivanovic:
Next release?

Hi, Sanpei and everyone else ! :)

Please, can u give me an information will next rom release have camrera bug fix? Camcorder is not so important as picture taking ;)

And, when we should expect it to be released ;)

Thanks and sorry for boring u ;)

Take care
[myTouch 3G, Magic Android Development] than33:
I found way to give ROM big kick in speed: disable indexing of everything in search options.
[myTouch 3G, Magic Android Development] iivanovic:
Wow, owesome! I will keep it in mind, so, just after I deploy ROM, I will disable it ;)

Thx :D
[myTouch 3G, Magic Android Development] ginoyang:
About the testing result for HTCCamera.apk patch which sanpei posted. Preview will not black & white, but it could only take one picture and then program will exit itself. I don't know if you could understand my poor english.;)
[myTouch 3G, Magic Android Development] Filgaliel:
How do I disable the irritating constant trackball flashing ?
[myTouch 3G, Magic Android Development] than33:
install this as update:

http://www.villainrom.kriev.com/Villain4.0/modifications/UpdatedVillainROM4.0TrackballLEDFix.zip

It works very good!
[myTouch 3G, Magic Android Development] capychimp:
how much function is there in the trackball with that fix?
[myTouch 3G, Magic Android Development] iivanovic:
Well, I understood good enough to realize what is a point ;)

Btw, It's not poor at all, u have going well so far ;)

Thx for informing :)

Btw, where is a pach? Or I'm blind or I really cannot find it :D
[myTouch 3G, Magic Android Development] than33:
It works normal, as it should and as it was working in stock rom.
[myTouch 3G, Magic Android Development] Filgaliel:
I have encountered another problem. Often, when the screen sleeps the phone won´t turn back on and I have to remove the battery to turn it back on..
[myTouch 3G, Magic Android Development] Krzysiec:
Known problem Death In Sleep ... Sleep Of Death ... etc ... That`s main problem (and battery drain issue) i don`t use 2.1 for now ... Still waiting for someting stable/ official ...
[myTouch 3G, Magic Android Development] stratux:
connect to pc forced close anyone?
[myTouch 3G, Magic Android Development] miyu-hitori:
It's the first vpn working 2.1 sense rom,I have test it,thank you ,sanpei,you give me the chance to see the facebook & twitter messeges with htc sense rom for the first time :D
[myTouch 3G, Magic Android Development] than33:
I got strange looking blue sun in full screen animation (after unlocking screen). Enyone know why it is blue? Enyone has the same?

It shows only when weather is 'Sunny'.
[myTouch 3G, Magic Android Development] blizard80:
yes it gets blue... but works ok :)
[myTouch 3G, Magic Android Development] iivanovic:
Hi everyone!

Please, is there any fix for keypad backlight? And trackball is running backlight abnormally fast :)))

How to fix this?

Btw, one more think:

I installed a rom and when started Advanced task killer it shows me a million started programs and around 32MB ram free. Of course, I killed all processes and got 93MB free. But, just after one minute if I again access to Advanced task killer all programs are listed as running and there's again 32MB free only?

Any idea?
[myTouch 3G, Magic Android Development] than33:
My idea is: do not run adnvanced task killer! It can only make your system unstable. Don't worry about memory. Did You ever received 'out of memory'? Closing programs makes system working slowly because everything need to start again.

If you really want to work with memory not being used install 'autokiller'.