yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] karolbe:
Hello,

Do you know that it is possible to enable JIT in Dalvik JVM?

http://groups.google.com/group/0xlab-devel/browse_thread/thread/1edef26f4e5b7427

According to the Dalvik developers it is possible to backport JIT to the Donut tree and gain ...1.74x in performance!!! It would be awesome if someone could spend some time and create a ROM with that patches applied.

Anyone?

Karol
[G1 Android Development] lbcoder:
I think you misread somewhere.

It is a *new feature* they are *adding in*. The current JIT in AOSP/master is in development (i.e. incomplete). You can play with it if you want, but you should consider this to be a future new feature that will be added to official builds.
[G1 Android Development] karolbe:
Well, I though that this is xda developers forum, place where even experimental Android features are welcome (vide extra memory hack and others...:-)

And while English is not my native language I doubt that I have misread it. The current master tree ALREADY contains JIT implementation PLUS there are patches which allow using it in the Donut tree. So even though it is experimental it is worth checking out because it apparently it can be compiled and tested...

I would do this by myself, but since a week or so I am unable to update my donut tree, I am getting "fatal: The remote end hung up unexpectedly" messages :(
[G1 Android Development] rpcameron:
The current master branch in AOSP is eclair. If you use repo to sync the AOSP source, then build, the branch it pulls out (according to the output from envsetup and the lunch menu I receive) is eclair (2.0). I doubt that the donut branch has the code for the Dalvik JIT.

It *may* be possible to backport it to donut (1.6), but why when 2.0 is running on the Dream except for some AV/codec issues without problem?
[G1 Android Development] karolbe:
Let me quote developers behind JIT in Dalvik....

This is from the link I pasted in my first message...

And why? Well, because there will be no full Eclair build for G1 until HTC releases some closed source components which currently doesn't work with the Eclair kernel. So this is still worth trying out, I doubt that those components will be released in near future...
[G1 Android Development] rpcameron:
Ah, I stand corrected. It looks like it is indeed workable to get 1.6 with a JIT Dalvik. However, once HTC (or Qualcomm) releases the needed A/V drivers, 2.0 will be fully functional on the Dream. But, this might be nice in the interim.
[G1 Android Development] IConrad01:
Is that just the Eclair Dalvik version, or is it also the JIT-enabled Eclair Dalvik?

There /is/ a difference between the two.
[G1 Android Development] cyanogen:
I've had the JIT-enabled Dalvik running for a bit (on CM 4.2.5), but it's a memory hog and has a weird performance profile. It will shave 4 seconds off your "Benchmark PI" score, but interactivity of the device suffered. And it crashes sometimes.

If you want to try it (CM-4.2.5 only), here's a copy of the file:

http://n0rp.chemlab.org/android/testing/libdvm.so
[G1 Android Development] coolbho3000:
Yeah, I tried it out, and the phone seemed to be less responsive. When I tried to install an app the phone rebooted, and now it seems to be booting to a certain point and then shutting down again. Nice progress though.
[G1 Android Development] tnleeuw:
Memory Hog.

That's what I was afraid off, that a JIT would hog memory. And if there's 1 thing that my G1 is really short of, it's memory. RAM for running applications. So no please no more memory hoggging on my G1! ;-)

I'm afraid that memory hogging is kind of unavoidable for a JIT.

Just my 2ct.

--Tim
[G1 Android Development] IConrad01:
Anyone tried this with the memhack and CompCache running?

EDIT: Running it myself now. Can't see any lagginess; everything seems to be running quite snappily. Going full-time with it now.
[G1 Android Development] knaries2000:
I haven't done any java stuff for a while, so I might be off. Anyways, since this is a vm library change, I assume it runs in mixed mode (dynamnically compiles the java byte code when needed), which may cause performance issues. Is there a way for us to pre-compile all the java code in the apps with jit? and have the apps run natively without the dalvik vm at all? This would be the most desirable. I think the biggest weakness in android is the dalvik vm. It is a huge memory hog. If we can use jit to compile the apps into native instructions then theoretically we shouldn't need the vm to run at all.

If this jit is run in mixed mode, if it is done correctly it should still help. You should see performance increases on the second time you run the app.
[G1 Android Development] IConrad01:
Umm... that's just not how JIT interpreters work.

Seriously -- JIT compilers don't change the core data of the application at all; they just translate bytecode into machinecode within the runtime environment in order to speed up the execution of frequently-encountered "strings" of code within the application as they are encountered.

Seriously: try this link [ http://psyco.sourceforge.net/doc.html#how-does-it-work ] to get a better understanding of why what you just suggested displays a bit of ignorance regarding the topic-at-hand.
[G1 Android Development] knaries2000:
A bit of ignorance is a compliment. Like I said I have not done any java work for a long time. What I don't understand about jit the way it is done, is why not go all the way and generate the native code similar to the odex files, and just by pass the vm all together. If they are going to the trouble of compiling byte code into native instructions anyway.. why not just do it once and get it over with instead of compiling it over again and again... for short running tasks like most apps on android, it may very well be a perf hinderance.
[G1 Android Development] IConrad01:
Well, I can think of a few reasons.

1) High-level programming languages are just plain easier to write for. Python, for example, uses an interpreter (VM) as well -- though you can compile it once and be done with it. High-level languages, as such, typically don't compile well because of the lack of "symmetry" that you get between higher-level languages and actual machine code. (Remember, my friend, the The Story of Mel O_o)

2) JIT compilation in interpreters get you //near// compiled performance from non-compiled code. In other words; you write the program to the VM once. The VM then gets compiled one time for each platform, (Remember; despite being essentially the same hardware the Dream is somehow two different boards each of which would require a separate compile... :/) and this will only get worse over time. Now, the programmer doesn't have to specifically call up devices based on the platform but rather on the VM. He doesn't have to re-compile for each CPU/integrated-board circuit. You don't have to store, for example, one version of an app for Dreams/MT3G's, one for Heroes, one for Droids... and down the road, one for the MIPS chips, etc... Saves massively on storage considerations for centralized distribution repositories like the Market itself is.

3) VMs can be functionally isolated, preventing most forms of malicious program code escalation. Sandboxing programs is far easier when those programs are running in their own VMs. Each program/task is initiated within its own VM, which makes initialization and garbage-cleanup rather simple. For such an open-to-communications platform as a mobile phone, that can only be a good thing. Natively compiled code typically doesn't play so well with such sandboxing.

Those are just the thoughts off of the top of my head. I feel it important to note that IANAP.
[G1 Android Development] eug89:
I'm trying the libdvm.so cyanogen posted on my 32A magic (288MB of RAM) and so far it's all working well, and it seems much faster
[G1 Android Development] hetaldp:
Using 4.2.5 on 32A Magic with 4.2.4 Radix Kernel with New JIT Based libjvm.so

Everything Works Well and Never had any Force Close but is that 4.2.4 Kernel from Radix actually uses JIT.

@cyanogen 32A have 288 MB ram i can test JIT based Dalvim if you want me to test it
[G1 Android Development] Funkstar De Luxe:
Ok, I integrated this lib with Cyan 4.2.5. Running comp-cache and Ram hack, 16GB class 2 SD.

Initial impression (based on 20 minutes of playing);

No change in OS speed. No crashes yet. Apps (especially game emulators) have a noticeable increase in speed. I have no technical information to back up my claims, nor do I have the possibility of an ABX comparison. Sorry.
[G1 Android Development] knaries2000:
Thanks for the explanation, I buy #3 as far as security is concerned, we all know those virus taking advantage of overflow instructions in windows. But As for #2 I don't mean to have developers compile the byte compile to native, but have the vm on our phone compile it on first run and save the native instructions in file similar to how it generates the dex files on first run. This way it'll not have to recompile every time it runs. I just wish there is a way to avoid the dalvik-vm.

I irks me how much memory the dalvik-vm hogs up. A simple battery widget takes 12-16mb of memory.. It has a few pics and bytecode that simply goes to the system driver go get a number. I mean the whole ext3 filesystem driver uses less memory. Same with those widgets for task killing, they take up well over 10 mbs, which kind of defeats the whole purpose. I could write a simple tiny script that uses kill and do the same job without taking up 10m+ in the background.

We all here complain about our hardware, but I feel like these are more of software problems. anyways, that's just my rant... i hope the memory issues in vm gets better in later release.
[G1 Android Development] Funkstar De Luxe:
Could anyone upload that again? The link is dead.
[G1 Android Development] :
Anyone still got this file? Would love to install it again
[G1 Android Development] aaraya1516:
http://www.4shared.com/file/228890494/bb3cf61c/vmlibs.html
[Hero, G2 Touch Q&A, Help & Troubleshooting] AndyG:
Hi All,

im really tempted to jump and replace my ELF with a HERO. ( i know newbie style question coming up and i apologise but i HAVE looked before i asked lol )

ok, i use text editing lots on my ELF, i make notes in word etc and is there something i can use that it compatible with the HERO that i can make text notes on and save and refer to at a later point ??

( yes i know quick office reads mobile office but i need an editor more really. something i can create. it doesnt have to read mobile office , just make notes )

any ideas ???

cheers

AndyG
[Hero, G2 Touch Q&A, Help & Troubleshooting] foxmeister:
There are plenty of "notepad" type apps on the Market for free, but the paid app DocumentsToGo offers a full "office" type experience (i.e. read and writes Word and Excel files).

Regards,

Dave
[Hero, G2 Touch Q&A, Help & Troubleshooting] IVBlindfireVI:
I made the switch from a Elfin to the Hero and I can't ever go back. The hero is an amazing device.
[Hero, G2 Touch Q&A, Help & Troubleshooting] AndyG:
Well i jumped... its an amazing device from my first impressions...( but im sure as i get questions i will be buggging ppl lol )
[Hero, G2 Touch Q&A, Help & Troubleshooting] OnlyTheBrave:
I made the same jump...

Yes, from Elfin (onyx 4.x) to hero..

I'm very satisfyed, even if I did not put my sim into hero, yet :)

Does anybody knows if I can copy all my stuff (messages, contacts and appointments) from WM 6.1 to hero? Something like pimbackup, or other methods...

It would be great!

I thank you all
[General Questions and Answers] digiitz:
Hello

I am looking for a piece of software that simply does the following:

When a windows mobile device is removed from the power source (car charger in this case), a notification is sent either via SMS or GPRS to another device or computer stating the last GPS reading coordinates from the handheld.

Is that available?

Thanks!
[HD2 General] Megacamz:
Hey people, Just started setting up my HTC HD2 when i came to the last page of the setup and pressed "finish" the device locked up and crashed :-(

Then when i put the phone back on none of the settings i had set worked and the setup option was no longer there it just went straight through to the UI.

What do i do to pretend it never happened as if im starting again?
[HD2 General] Nara-e-Mastana:
Hard reset:

Hold "volume up + volume down and press soft reset button" (all together)

Soft reset button is under battery cover
[HD2 General] hnparedes:
With the HD2 switched off, press Volume down + Volume up and then briefly press send end key. The bootloader should appear.
[HD2 General] htc-hd2:
To perform a clear storage.

1. On the Home screen, slide to the Settings tab and then tap Security > Factory reset.

2. Enter “1234” and then tap Yes.
[HD2 General] Megacamz:
so which method is right? lol
[HD2 General] br3nt:
both, one is via GUI (windows screen) the other is manual/mechanical way :)
[Touch Pro2, Tilt 2 Windows Mobile General] Fingaluna:
Hi Folks,

Wonder if anyone can help me with this...

I am using an AT&T Tilt2

Stock ROM

TF3D Running

Email application that comes with the phone

Email server type POP3

Email sorting set to "Received"

When emails arrive, they are sorted based on when they arrive, not when they were sent by the sender/writer. Since the "Newest" emails are pulled down from the server first, this has the email traffic displayed on my phone out of order. Also, the phone displays the time of the email as the time the device actually received it, rather than when the email was sent by the sender (as is done by Outlook).

This drives me a little nuts as I get many, many emails in a day and sometimes the "conversation" seems a little dis-joineted as the messages are out of order...

So now my question: Is there a hack/fix/registry tweak that would sort email based on when it was sent by the sender rather than when it arrived at the phone?

I would rather not move away from the stock email application as I very much like the "Preview Envelope" in TF3D (although it would be great if there was a "Delete" button on the preview - but that's another topic!).

Thanks
[HD2 Accessories] savvakis:
Program hungs when the AudioManager is executed to play mp3s copied on the Storage Card. Anyone knows a solution?
[HD2 Accessories] Jamod:
AudioManager

Yep same problem here..... ive tested the adapted AudioManager found @ XDA for the HTC Touch Pro.... it helped... only i could not get into the messages menu... so it didnt help after all.... anyone any idea?
[HD2 Accessories] vincenttanakiam:
I had this problem also and returned my HD2 and got another one which had the same problem.

The thing is that it seems that the HD2 has issues when sd cards are inserterd.

Format your card on a pc and then on your phone.

Copy/ past the files photo's or mp3's via active sync.

It worked for me.

Its a firmware problem among other problems that are revealing now.

I hope this helps you.
[HD2 Accessories] shu8i:
on mine it was a certain mp3 file, which crashed audiomanager. try copying your albums 5 by 5.. and see which one is causing the problem
[HD2 Accessories] jonboyuk:
Which would take years if you use a 16Gb card with 4000mp3's!

Alternatively check out the fixes here (I had the same problem)

http://xdaforums.com/showthread.php?p=4976936&posted=1#post4976936
[Touch GSM General] carpintero:
for the cookers ,is it posseble to intergrate M2D 2.5 in to wm 6.1 i have seen this on the forum with diamond see link http://xdaforums.com/showthread.php?t=565078 tel me can it be done:confused:
[Touch GSM General] chota_shivaji:
- All the versions of M2D 2.5 are for VGA or WVGA resolutions.

- I did not find any version for QVGA which is the resolution of Elfin/Elf.

- I guess some one has to either port these to QVGA or we have to wait till QVGA version is released in QVGA phone (that probably has a new WM 6.5 kernel).

- Unfortunately, the porting involved here looks to be a huge task in itself. :(
[Touch GSM General] carpintero:
thanks for the explanation
[Touch GSM General] crapula512:
i'd like to see a rom like this...
[Touch GSM General] srgudhka:
the porting work is already in process. you van have a look here. its done by pcarvalho, one of the xda's on his polaris. http://www.youtube.com/user/pcarvalho7xda#p/u/2/tUsN79tXGUk
[Touch GSM General] bobnaldo:
i'd like to see a rom like this (2)...
[Touch GSM General] lokura:
the video is 2.1 not 2.5, any way i have tested both on my topaz and i prefer 2.1, the question is has the touch 3D capabilities? we are talking about touch flo 3D
[G1 Apps and Games] su27:
I recently found Toggle Data widget. It looks good near Donut's Power Control.

I'm looking for more similar styled widgets or application icons. Do you know any?
[G1 Apps and Games] su27:
Is it possible to replace Power Control Bluetooth toggle with APN on/off?
[G1 Apps and Games] AdrianK:
Nope, don't think we've been able to edit the Power Control toggles yet. By the way, there's an app called "Toggle Data", it's not really an app, just an icon which will let you toggle.
[G1 Apps and Games] su27:
Right...

:rolleyes:
[G1 Apps and Games] su27:
For those who are interested in finding donut style white icons - there is another one - Reader Widget Small.

It shows unread google reader messages and after clicking opens GR in browser.
[G1 Apps and Games] WiredAnim:
something else you might want to look at it manups hero style widgets (you can search the theme section) and there are about 10 different toggle widgets. they dont look like the donut power control but if you download them change the pngs and then sign it they can look however you want aka the power control sytle. hope that helps.
[G1 Apps and Games] su27:
I'd certainly replace power control+toggle apn with hero widgets if they gave me the same functionality. But I can't find APN on/off hero style toggle button...
[Touch Pro2, Tilt 2 Themes and Apps] iris_aim:
i had been using iconsoft phonex 2.02 for sometime and really missed htc messaging...I hate default windows clint and also1 that comes with this soft...when i saw faqs on the official URL i saw this...

http://www.iconsoft.com/?language=en&menu=aebfa2749b24417f#a25

How can I change the standard SMS and Email application for a different one? (for advanced users only)

Support for launching different (third-party) SMS and Email applications has been added [HKEY_CURRENT_USER\ Software\ Iconsoft\ PhonEx\ Options]:

SMSClientApp – path to SMS application

SMSClientParam – launch parameters (%s is the phone number)

EmailClientApp – path to Email application

EmailClientParam – launch parameters (%s is the email address)

Example for tmail.exe (MSOutlook .exe file):

SMSClientApp : \Windows\tmail.exe

SMSClientParam: -service "SMS" -to %s

EmailClientApp: \Windows\tmail.exe

EmailClientParam : mailto:%s

For other SMS and Email applications, please request the launch parameters from their developers.

i am a noob..can some1 please give me parameters for htc sms/email application..would greatly appriciate it
[Touch HD Themes and Apps] malmida:
Its oficial :D

http://mobile.microsoft.com/windowsmobile/en-us/downloads/get-marketplace.mspx
[Touch Diamond2, Pure General] hawkagent:
I'm currently using WM6.1 on my diamond 2, I want to flash it to a WWE WM6.5 cooked rom, is it possible to install chinese input on it? Where do i find the software?

Thanks
[Touch Diamond2, Pure General] konanda:
Try this WWE WM6.5 Official Rom RUU_Topaz_S_HKCSL_WWE_2.17.831.2_Radio_Sign_Topaz_61.44tc.25.32_4.49.25.17_Ship that can be found here http://www.giesecke.tk/xda/index.php?dir=Official_ROMs/WM6.5/&sort=date&order=desc
[Touch Diamond2, Pure General] ng_tim:
I think hawkagent's idea is to use cook rom but still want to have the chinese input method.

In fact I have the same wish - I just flashed my Diamond 2 with Dutty's ROM. It is nice but the only missing part for me is the Chinese input method.

Is there any method we can "extract" the IME from official rom (like Diamond 2 official WM6.5 rom in Hong Kong) and use in whatever cook rom we have?
[Touch Diamond2, Pure General] davonhui:
me too,another hong kong here.

i used the sip of a4 or touchpal.

but they all worse than office one.

i really hope some master can make the chinese input(hong kong one)into the cooked

help
[Upgrading, Modifying and Unlocking] eseng45:
hi guys!!good day to all of you!

i just wanna ask on how can i download i phone theme to my xda.because im having a hard time to apply to my phone i need your help guys or if you have i phone theme file just post it to my thread and for me to download thanks to all of you!!!.
[Imagio General] braindoc:
Is there a program that will do what the title of the thread suggests? That is, I want to be able to force whatever screen is currently displayed to rotate to landscape when I press the multimedia button. I do not want any auto-rotation. I want to be able to completely control when the screen rotates.
[Imagio General] Americanmetal:
You can do it under the buttons menu in settings

I have mine set as 'Okay'
[Imagio General] braindoc:
I'm sorry but I don't see that option. When I select Buttons -- Multimedia Key it only allows me to assign a program to opne or some simple commands such as <OK/Close>, <Context Menu>, <Scroll> etc.
[Imagio General] HTCexy:
See If this reg tweak will help you out

http://pocketnow.com/thought/bringing-manual-screen-rotation-back-to-the-touch-diamond

Or This Program

http://www.1800pocketpc.com/2008/11/16/screen-rotatornet-manual-screen-rotation-utility-for-windows-mobile.html
[Imagio General] braindoc:
The reg edit worked, thanks.
[Imagio General] HTCexy:
Hey you are welcome! I tried it on mine to and like it well.
[Touch Pro2, Tilt 2 Windows Mobile General] AxlR:
Anyone knows is this phone (USA T-Mobile) works in Europe??
[Touch Pro2, Tilt 2 Windows Mobile General] LJKelley:
It 100% works on GSM and EDGE (2G and 2.5G)

As for 3G, I assume it may work on the 2100 band in Europe (does anyone know enough to clarify on that). However your operator in Europe may work on another band than 2100, since there are two 3G bans in Europe. Generally operators used 2100 first and then subsequent licenses were other bands. So in Norway, I know both 3G carriers use 2100 exclusively, but you should check with your carrier and clarify that T-Mobile USA supports the EU 2100 band and not just AWS (which is a mix of 1700 and 2100).
[Touch Pro2, Tilt 2 Windows Mobile General] AxlR:
Thanks for quick reply. 3G works on WCDMA standard? If it is so, my operator use 2100 mhz so maybe it will be working, it will be my first 3G phone so I'm not sure what I suppose to check.
[Touch Pro2, Tilt 2 Windows Mobile General] AxlR:
I found this:

http://forums.t-mobile.com/t5/T-Mob...1;jsessionid=2085F63B05DB5B6FFA511D3C33A9EE69

According to this site TMobile touch pro 2 phone use Bands: 1 (2100) & 4 (AWS 1700/2100).

Band 1 is Europe standars so I hope it will be wroking.

I let you know when I get the phone.
[Touch Pro2, Tilt 2 Windows Mobile General] LJKelley:
Any particular reason you are getting the USA T-Mobile version and not the EU version or one from a local carrier?

Also the T-Mobile version is locked, so you will need to unlock it using the tools on this site.

If you get 3G or not should be pretty obvious. If an H or 3G icon appears, you have 3G. Otherwise if the data icon shows E or G then its only getting 2G.
[Touch Pro2, Tilt 2 Windows Mobile General] aZzz.bZzz:
the main reason is the price

tmo $450 vs eu $650
[Touch Pro2, Tilt 2 Windows Mobile General] AxlR:
Yes main reason is the price. I get this phone for 270$ in my country it coasts about 550$. I know I must unlock it but first I must get it to my hand.
[XPERIA X1 Q&A, Help & Troubleshooting] ehytee7:
My phone froze so I took off the battery and restarted it. It turns on but when it gets to the Windows Mobile Start up (green screen), it just doesn't load and would shut off after. I've tried a couple of times turning it on, and same things happens. I wouldn't get pass through the start up screen.
[XPERIA X1 Q&A, Help & Troubleshooting] Ganondolf:
have u got an official or custom rom?