yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] toastcfh:
from my workings with jit in various roms. is that in some roms it works well and others it doesnt. ive found that aosp builds tend to have the best luck with jit as in not having high issue rates. ive added and removed it from builds that ive made for the heroc for my own reasons. one being as i or the beta testers i used wouldnt have any issues. but as soon as i released it and the rest of the community would use the build, issues would then begin to arise from having JIT enabled. because not everyone sets up their phone the same nor uses it in the same manner. so i ended up making it a users choice to setup jit or not and just leaving it out of my hands to deal with. as when i release a build i shoot for stable and fast for all users. with as little bugs and issues as possible. ive found other methods to increase speed and stability that have show good results for all users of my builds. plus i found most users want a fast and stable base build that they can just add to or mod to their liking.

again this is all based on the users on the Heroc forums. i assume the Eris will be in the same boat, as its basically the same device.
[Droid Eris Android Development] jcase:
I have been running jit fine for a while now, however I reboot my phone atleast twice a day messing with stuff.
[Droid Eris Android Development] toastcfh:
only twice :P
[Droid Eris Android Development] jcase:
Alteast twice :)
[Droid Eris Android Development] jamezelle:
trying to get this running on my rom experimentally and it loads fine then dalvik crashes the system

this is what logcat gives me

D/VoiceDialerReceiver( 661): onReceive Intent { act=android.intent.action.BOOT_COMPLETED cmp=com.android.voicedialer/.VoiceDialerReceiver }
I/HtcLockScreen( 472): touch ACTION_DOWN
D/LockExchangeUtils( 472): isLockExchangeEnabled = false
D/LockExchangeUtils( 472): isLockExchangeEnabled = false
I/HtcLockScreen( 472): touch ACTION_UP
W/dalvikvm( 472): No implementation found for native Ldalvik/system/VMRuntime;.disableGcForExternalAlloc (Z)V
W/dalvikvm( 472): threadid=41: thread exiting with uncaught exception (group=0x4001e2e0)
E/AndroidRuntime( 472): Uncaught handler: thread WindowManagerPolicy exiting due to uncaught exception
E/AndroidRuntime( 472): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 472): java.lang.UnsatisfiedLinkError: disableGcForExternalAlloc
E/AndroidRuntime( 472):	at dalvik.system.VMRuntime.disableGcForExternalAlloc(Native Method)
E/AndroidRuntime( 472):	at com.htc.lockscreen.HtcLockScreen.onInterceptTouchEvent(HtcLockScreen.java:2643)
E/AndroidRuntime( 472):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:897)
E/AndroidRuntime( 472):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:924)
E/AndroidRuntime( 472):	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:924)
E/AndroidRuntime( 472):	at android.view.ViewRoot.handleMessage(ViewRoot.java:1697)
E/AndroidRuntime( 472):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 472):	at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 472):	at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:611)
I/Process ( 472): Sending signal. PID: 472 SIG: 9
D/dalvikvm( 594): GC freed 2926 objects / 229136 bytes in 167ms
D/CalendarProvider( 644): deleteRowsForRemovedAccounts need to check count: 0
D/CalendarProvider( 644): deleteRowsForRemovedAccounts need to check count: 0
V/CalendarProvider( 644): onAccountsChanged
D/CalendarProvider( 644): deleteRowsForRemovedAccounts need to check count: 2
V/CalendarProvider( 644): accounts didn't contains: Account {name=jamezelle1@gmail.com, type=com.google} -- SKIP [no need to delete]
E/ActivityThread( 531): Failed to find provider info for call_log
I/ServiceManager( 52): service 'activity' died
I/ServiceManager( 52): service 'meminfo' died
I/ServiceManager( 52): service 'batteryinfo' died
I/ServiceManager( 52): service 'telephony.registry' died
I/ServiceManager( 52): service 'entropy' died
I/ServiceManager( 52): service 'power' died

i would really like to get it working any help is appreciated :)
[Droid Eris Android Development] binny1007:
i ran into constant crashing trying to get this working? It seems as though sense does not play nice with jit enabled.
[Droid Eris Android Development] justinisyoung:
yeah, its the main sense elements that don't play nice with jit. i've tried messing with it a few times before, but eventually its pretty much the non-sense roms(or AOSP) that work with jit. unless there's some sort of tweak we can do to sense(both the lockscreen and sense itself), jit probably won't work with non-aosp roms.
[Droid Eris Android Development] nilo85:
I got it to work! =)

I have been spending some hours reversing the libdvm.so and how dalvik works and i have been successfull on enabling it.

What I did was to get the latest android sources, enable jit in buildspec.mk.

After this, i get the same error as you got.

So i modified the dalvik/vm/native/dalvik_system_VMRuntime.c, here is a diff:

--- a/vm/native/dalvik_system_VMRuntime.c
+++ b/vm/native/dalvik_system_VMRuntime.c
@@ -178,6 +178,13 @@ static void
Dalvik_dalvik_system_VMRuntime_getExternalBytesAllocated(
RETURN_LONG((s8)dvmGetExternalBytesAllocated());
}

+static void Dalvik_dalvik_system_VMRuntime_disableGcForExternalAlloc(
+ const u4* args, JValue* pResult)
+{
+ RETURN_VOID();
+}
+
+
const DalvikNativeMethod dvm_dalvik_system_VMRuntime[] = {
{ "getTargetHeapUtilization", "()F",
Dalvik_dalvik_system_VMRuntime_getTargetHeapUtilization },
@@ -195,6 +202,10 @@ const DalvikNativeMethod dvm_dalvik_system_VMRuntime[] = {
Dalvik_dalvik_system_VMRuntime_trackExternalFree },
{ "getExternalBytesAllocated", "()J",
Dalvik_dalvik_system_VMRuntime_getExternalBytesAllocated },
+ { "disableGcForExternalAlloc", "(Z)V",
+ Dalvik_dalvik_system_VMRuntime_disableGcForExternalAlloc },
{ NULL, NULL, NULL },
};

I have also attached the compiled libdvm.so if anyone wants to try.

Note: Sense is crashing some times,with OutOfMemory exception, probably due to my dummy implementation of the function.

Would be cool to get this "stable" =)
[Droid Eris Android Development] jamezelle:
hmm i tried running your patch but it didnt fully take on the source

jamezelle@jamezelle-laptop:~/mydroid/dalvik$ patch -p1 < /home/jamezelle/desktop/dalvikpatch
patching file vm/native/dalvik_system_VMRuntime.c
Hunk #1 succeeded at 177 with fuzz 2 (offset -1 lines).
missing header for unified diff at line 18 of patch
can't find file to patch at input line 18
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| Dalvik_dalvik_system_VMRuntime_getTargetHeapUtilization },
--------------------------
File to patch:
[Droid Eris Android Development] nilo85:
Patch

Hi, it was just a simple "git diff" command, seems to be a little bit different from patch format.

I was recently wiping my phone, and at init starting with this libdvm.so, and i noticed that there was another symbol not beeing exported, was to tired to look it up at that time, but running a already dexopted system, seems pretty "stable", except of Launcher crashing from time to time of OutOfMemory.

Here's a patch for the previous post:

*** mydroid/dalvik/vm/native/dalvik_system_VMRuntime.c	2010-03-12 12:15:12.000000000 +0100
--- mydroid_edit/dalvik/vm/native/dalvik_system_VMRuntime.c	2010-04-08 19:38:12.000000000 +0200
***************
*** 178,183 ****
--- 178,190 ----
RETURN_LONG((s8)dvmGetExternalBytesAllocated());
}

+ static void Dalvik_dalvik_system_VMRuntime_disableGcForExternalAlloc(
+ const u4* args, JValue* pResult)
+ {
+ RETURN_VOID();
+ }
+
+
const DalvikNativeMethod dvm_dalvik_system_VMRuntime[] = {
{ "getTargetHeapUtilization", "()F",
Dalvik_dalvik_system_VMRuntime_getTargetHeapUtilization },
***************
*** 195,200 ****
--- 202,209 ----
Dalvik_dalvik_system_VMRuntime_trackExternalFree },
{ "getExternalBytesAllocated", "()J",
Dalvik_dalvik_system_VMRuntime_getExternalBytesAllocated },
+ { "disableGcForExternalAlloc", "(Z)V",
+ Dalvik_dalvik_system_VMRuntime_disableGcForExternalAlloc },
{ NULL, NULL, NULL },
};
[Nexus One General] 3Shirts:
I found a nice neat way to refresh the media library (so the music list and gallery) without doing a reboot or having to mount the SD card to a computer.

You need BetterCut.

1) Open it and choose to make a new shortcut (tap no to the dialog)

2) Choose 'Activity'

3) Find 'Media Scanner' in the list and choose it

4) Rename or change the icon if you want (optional)

5) Tap create!

You can now run that shortcut to update the media on your phone whenever you move things around with a file manager or rename them for example.

To use it, just run it then press home and it will run in the background. Wait a bit for it to scan and you are all set. If you open the gallery straight after running it, you will notice it takes a long while to update but wait and it will load.
[Nexus One General] seeking:
i do not see media scanner as an option under activity
[Nexus One General] craigacgomez:
you could also use the Media Scanner option in the Dev Tools app...
[Nexus One General] pwkpete:
Ok, maybe it sounds a bit strange, but I'm wondering if there is a way to reverse the direction of the screen rotation?

I always seem to accidentally press the power button when in landscape or my palm presses against the special keys, it's getting annoying. I think it would be easier the other way, and as I use my right thumb more, my left won't contact the screen as much...

I can't be the only one.... :)

Thx!
[Nexus One General] renboy2:
Cyanogen has a 360 degrees rotation built in the phone options - so anything that can rotate 90, can rotate to the left right and upside-down.
[HD2 General] magicjb82:
Hi Everyone,

This is my first post, so please be gentle with me. I have had a little search around, and still can't find a solution to my problem.

I recently flashed to Oz rom 1.5 , and I'm on radio 2.07.50.27_2.

So basically no matter what setting I put the volume to, my ringtone and notifications are always the loudest they can be (obviously not if its on silent or vibrate) I have tried changing ringtone back to the default one, and its exactly the same. Is there a reg edit I can do? Does anyone else suffer from this?

Let me know your thoughts!

Cheers :)
[HD2 General] Archer:
You can have it set to have different volumes for system sounds and ringtones.

When you click one of the volume buttons, do you have "System" and "Ring" tabs at the top of the page? If you do, make sure you're on the ring one to set ringtone volume. This can also be done from the "Sound & Display" options on the settings tab.

Hope this helps mate :)
[HD2 General] magicjb82:
Thanks johncmolyneux, I've already tried that and it makes no difference. I have it set so there is only one volume control (so system and ringtone volume is combined) ... any other ideas?
[HD2 General] Archer:
Sorry mate, I know that was a bit of an obvious thing to check, but you never know on here ;)

I guess my only advice would be to go back to the ROM thread and ask there. Maybe it's a problem with that.
[HD2 General] magicjb82:
no prob mate... I have asked there as well and the chef wasn't sure either...

are there any registry things I can check? I was thinking maybe my phone thinks 'level 1' on the volume is actually 'level 5' or something?

its so annoying-scares the life out of me every time someone calls!
[HD2 General] Archer:
Having never had a problem with this myself, I've got no idea where this particular data is stored. It does sound like something that would live in the registry though, so I'm sure that someone on here will be able to help you out. There's some walking encyclopaedias of Windows registry on here! lol

Good luck getting it sorted mate.
[HD2 General] magicjb82:
any one out there now where in the registry I should look?

cheers in advance!
[Touch Viva, MDA Basic ROM Development] lecamtran:
Opal Rom WM6.5 D20 Build 21896.5.0.91 PV COM2 WWE

​

Rom Info:

- OS Ship Rom Opal 1.27.707.1 WWE.

- Build new 21896.5.0.91 group COM2.

- Using HTC Manila 2D v2.0 1919.1432_04 from Mega.

- Integrated applications needed as ClearTypeTuner v2.0, ClearTemp v1.3, PIM Backup v2.8, CleanRam v2.1, PocketRar v3.93,...

- The D20 to build 21896 new glitches, applications operate normally, showing weather Full Today screen...

- The rom is still the Icon of the author Lechux from XDA, thanks!

- Integrated AutoInstall...

- Integrated Office Mobile 2010.

To face this rom computer you are required to HardSPL (introduced) and should HardReset rom to your face after working with the standard new rom... Thanks!

DOWNLOAD

​
[Touch Viva, MDA Basic ROM Development] GerardRosP:
I'm going to try this one...

From v28 to D20...

Let me see... I'll comment something...
[Touch Viva, MDA Basic ROM Development] bikas4u:
Please let us know about the battery life as well :)
[Touch Viva, MDA Basic ROM Development] imblfmstr:
Hope the battery is fine with this ROM
[Touch Viva, MDA Basic ROM Development] jagan2:
@lecamtran: Build 21897 is leaked, may be u would like to cook that. :)

Offtopic: imblfmstr, if possible come online, i need you for testing rom.....and finalizing. Will be waiting.
[Touch Viva, MDA Basic ROM Development] fabian6328:
probadoo

es demasiado lento consume 66% de ram !!!!
[Touch Viva, MDA Basic ROM Development] lecamtran:
:)

Please wait for the D21 build 21897 COM2....:D

I don't understand what you say...:confused:
[Touch Viva, MDA Basic ROM Development] imblfmstr:
Dear Lecamtran

I wanted to ask about the battery life in this ROM

In D19 it was good as compared to previous ROMs
[Touch Viva, MDA Basic ROM Development] fabian6328:
consumes 66% of the ram
[Touch Viva, MDA Basic ROM Development] htc t viva:
can u metion how much of memory and program memory this rom will consume ???
[Touch Viva, MDA Basic ROM Development] fabian6328:
73MB of RAM
[Touch Viva, MDA Basic ROM Development] mehulkarate:
battery life

how is battery life of this rom?
[Touch Viva, MDA Basic ROM Development] aidinvm_ultimate:
i've not tried this rom but think it's battery life like another ones

maybe max 1 day in normal usage
[Touch Viva, MDA Basic ROM Development] illass:
What abaut battery? is it stable? or like all other 6.5 roms... 2 days maximum... :)
[Touch Viva, MDA Basic ROM Development] _spiritus_infernus_:
good one ROM.. but a lil batteryfrainful and have a one problem - when turning screen off (by power btn) audio playback stops. can anyone say where is problem? it happens with any of used audio players (CoreCodec Player, Nitrogen, withMP3, WinMedia Player, etc).

and with that ROM my opal almost burned.. )) but reasons I don't know..
[Touch Viva, MDA Basic ROM Development] JoxeeM:
:o So cool.

I need something.

I install a new theme, but delete the theme of "home weather", I can spend the theme please. :D
[Touch Viva, MDA Basic ROM Development] nnwiro:
Please someone help me out.i downloaded t5355 windows mobile rom and used it to flash touch viva clone(p888m21) and now it will start,connect to computer via activesyncro but will nt display any thing on screen again.Pls i need serious help because the owner is on my neck.

my email is nnwiro@gmail.com.please please i really help.
[Touch Viva, MDA Basic ROM Development] jagan2:
@nnwiro: First of all its your mistake why did you flashed when its not a touch viva, just its coz its name is viva doesnt means its viva. The clone phone has diff chip set.

And there is absolutely no way that me or anyother on xda can help you out.

Although all i could suggest is try to do the samethign as if u will do with viva, try to enter into bootloader mode (if its there) and flash another rom.
[Touch Viva, MDA Basic ROM Development] sufiyan:
Itz a great rom. Works good.... Thanks 4 dis rom....:)
[Touch Viva, MDA Basic ROM Development] sufiyan:
Hey dude please can u make touch flow look more like 3D.

Animated whether is possible?:)
[Touch Viva, MDA Basic ROM Development] 15957240125:
why?i can't download?
[Touch Viva, MDA Basic ROM Development] vitocataorev:
can you include reading chinese in the os?
[Touch Pro, Fuze General] z3wl:
yesterday i've noticed that when i turned on the camera a spot apeared. i did a hard reset and a fost reset but no luck. i think that the camera sensor must have a problem or something. i've atached a photo so u can see. what do you think? what should i do? i've cleaned the camera with everything i've got and it's ok. but the spot won't disapear. help please
[Touch Pro, Fuze General] z3wl:
i've updated my htc touch pro with the ROM from htc site. and no luck. the spot is still there. do you think it must be replaced with a new one?
[Touch Pro, Fuze General] freakzone:
Hi, before you return the phone, remove the back cover and wipe the camera and the back cover with something, if the spot is still there, go to the repair service, good luck :)
[Touch Pro, Fuze General] gmanfuzing:
after doing all of that, id call warranty and see if i could get a fuze or possible a tilt 2 replacement
[Nexus One Themes and Apps] britoso:
This is a simple metamorph theme that replaces one image with a transparent one in Settings.apk. Tested with CyanogenMOD and Froyo but should work on all.

Attached.

(Apply with MetaMorph, place the zip in <sd>\AndroidThemes )

Screenshot from frankzua77:

Updates:

5/27/10:added blue lights version. reboot after applying the morph.. Fixed missing lights (still green)

4/19: Added .xml to support the new Metamorph.

7/26/2012: JellyBean version here: http://xdaforums.com/showpost.php?p=29380396&postcount=12
[Nexus One Themes and Apps] Casao:
If you want to email it to draecas@gmail.com I can provide a mirror.
[Nexus One Themes and Apps] britoso:
Thanks, Just needed to get to my PC.
[Nexus One Themes and Apps] johnp888:
hmmm, i tried installing with metamorph and it didn't seem to work, any suggestions? using cm 5.0.5.2. thanks for the help.

- update

ooops, nevermind, it works with 5.0.5.2!!! thanks for the morph
[Nexus One Themes and Apps] frankzua77:
!!

Cool britoso, thanks! Can u see it? Can u see it ? :D (im on cyan 5.0.5.1)
[Nexus One Themes and Apps] britoso:
Cool. Nice widgets! Whats that clock and weather?

ps: using your screenshot in the OP!
[Nexus One Themes and Apps] frankzua77:
!!

____________________

cool! Im using beautiful widgets - home - with a neon-transparent skin on it. PM me
[Nexus One Themes and Apps] britoso:
Ok. I'm looking for a modded Genie/Weather widget that takes up only 3/4 columns (lots of wasted space on the right side in stock).
[Nexus One Themes and Apps] PhantomRampage:
This looks awesome! (first time morphing anything)

Thanks man :D
[Nexus One Themes and Apps] frankzua77:
!!

REQUEST: Britoso can you make the music widget transparent? :D
[Nexus One Themes and Apps] britoso:
Sure, here you go http://xdaforums.com/showthread.php?p=5973156
[Nexus One Themes and Apps] agrover5279:
Does this work with 5.0.5.3? Doesn't want to change for me.
[Nexus One Themes and Apps] SubyWill:
works for me :)
[Nexus One Themes and Apps] britoso:
it should. try removing and re-adding the widget
[Nexus One Themes and Apps] agrover5279:
I had the widget already loaded so I removed it and tried to reapply it and then put it back and still doesn't come up.
[Nexus One Themes and Apps] Paraglider1982:
Nice work, I like it :)
[Nexus One Themes and Apps] FormelLMS:
Cool idea.

Keep up the good work!
[Nexus One Themes and Apps] nak#57:
Hi Britoso just a quick question but will this work on the stock rom correct. I have the att version and rooted but kept it on the stock rom (just waiting till a more stable desire rom) but I really like your transparent apps
[Nexus One Themes and Apps] britoso:
yes it will. They are google's apps, I'm just making a few images transparent. :)
[Nexus One Themes and Apps] kbeeveer46:
How do we undo this morph? This is the first morph I've ever done.
[General Questions and Answers] kuli17:
Hi i've got motorola milestone from uk vodafone and since i get it i cant watch movies on youtube i can search log in etc but when im trying to watch it just keep loading and nothing happens , any1 know whats going on?
[Nexus One Q&A, Help & Troubleshooting] hah2110:
What radio is recommended for a mix of battery/signal and, what are the chances of having a corruption and what would I do if I had a problem.
[Nexus One Q&A, Help & Troubleshooting] grainysand:
If the radio you downloaded is bad, then your phone will most likely be bricked and will have too be sent back to HTC. Do a check sum first.

Radio doesn't affect battery life as far as I know.
[Nexus One Q&A, Help & Troubleshooting] hah2110:
What do you mean do a check sum?
[Nexus One Q&A, Help & Troubleshooting] seanowns:
md5sum.

Google it. There is software that check's the files "md5sum". You use this software on the downloaded File(radio, rom etc..) The person who uploaded the file should provide a md5sum.

You compare your downloaded md5sum vs the one provided by whomever uploaded it and they should match which means u have the same exact file.

This should help avoid at least 1 part of the "bricking" risk.
[Nexus One Q&A, Help & Troubleshooting] GlenH:
I'm not sure there is any point in updating the radio, unless you are suffering from the infamous '3G issue'.

Also, as far as I am aware this issue only occurs for people on T-mobile in the US, so unless you are one of them, you might as well not bother.

I've updated my radio twice, but I haven't noticed any difference (I'm on Orange, in the UK).
[Nexus One Q&A, Help & Troubleshooting] hah2110:
I'm T-mo in the US - lol
[Nexus One Q&A, Help & Troubleshooting] BlackElvis79:
Somewhat off topic, but could the radio that one has affect them seeing (or not seeing) the improved network speed on tmobile? (7.32mbps) our something like that. Some are reporting 3mbps on their phones. Im lucky if I get 1mbps on off-peak testing.
[Nexus One Q&A, Help & Troubleshooting] Devastatin:
I do not have 3.5g in my area yet.

But i updated my phone to EPE54B and noticed a significant improvement in 3g speeds in my area.

I could not break 500 kps before the upgrade (after around 50+ speed tests around the area).

After the upgrade I now receive a normal of 850 - 898. about a 50% improvement overall.
[Nexus One Q&A, Help & Troubleshooting] hah2110:
Could you tell me how you performed this upgrade? What is EPE54B? I thought the radio was the long number? Did you have an update.zip file?
[Nexus One Q&A, Help & Troubleshooting] uansari1:
If you're asking such basic questions, then stop. Do a substantial amount of research and familiarize yourself with the various files that can be flashed and the risks, etc. It's clear you don't know your phone. FYI, flashing to Radio can BRICK your phone.
[Nexus One Q&A, Help & Troubleshooting] ernvillanueva90:
what he means by "BRICK" is that your phone could break beyond repair. you would have to send it in to HTC and chances are bc you rooted it your warranty is void and therefore would have to pay for repairs.
[Nexus One Q&A, Help & Troubleshooting] jn_vista:
Okay, and for those of us who are search challenged can you post a link of the new ERE45 radio?
[Nexus One Q&A, Help & Troubleshooting] BlackElvis79:
Old Radio: (4.03.00.21)

New Radio: (4.04.00.03)
[Touch Pro2, Tilt 2 Themes and Apps] wookie01:
hy guys, i have a question: i usually use a htc touch pro 2 brand tim with wm 6.1. i use internet connection with no problem , but i can't use programs like cinetrailer that should shown me trailers of the films in the cinema. whe i try to play a trailer it stops and, trying to open windows media player and tells me "impossible to play the file. server proxy doesn't respond. it's possible that server proxy would be temporarly disabled or options impostations of the proxy would'n be corrects"... what can i do? please help me..

bye:confused:
[Touch Pro2, Tilt 2 Themes and Apps] jorisvdende:
I think you could try another Browser or try to change your Browser User-Agent ?