yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Q&A, Help & Troubleshooting] regaw_leinad:
I posted this in the XDA general section, but I thought I'd post it here too for some fast help.

I am creating a batch script for signing zips with a whole command interface. I need some help, where as I am stuck. This is also for learning purposes.

I use setlocal enabledelayedexpansion in part of it, and then end that part with endlocal.

But even after endlocal, some of my commands aren't working, they return: (I need the java command to work)

'(command here)' is not recognized as an internal or external command, operable program, or batch file.

These commands will work before I use the set/endlocal variables, but not after.

Any help? I can pm you my bat file if you'd like.

anyone heard of this problem, or how to fix it?
[Touch Pro2, Tilt 2 Accessories] danver1971:
I searched and searched and can find no real reviews. Lots of people here have posted links to various cradles for the TP2, but nobody who has bought them has offered hard reviews of their purchases.

I use my phones data connection to surf from my PC and wanted a cradle that would charge while synced. I bought this one in August of '09.

amazon.com/gp/product/B002FEPP3G/ref=oss_product

It's terrible. It always complains that the charge is not enough for consumption and the battery will drain. And recently it has stopped connecting to the PC at all. Windows will report that there was a problem with the USB device. Syncs fine with just the data cable direct to phone, but of course no charging that way.

Anyway, time to get a new cradle. Not really concerned with charging a second battery, but it would be nice. So what has been decided to be the best cradle for the TP2 (with the USB connection in the center of the phone, not the offset version)?

Thanks in advance.

Dan
[Touch Pro2, Tilt 2 Accessories] danver1971:
Still looking. I guess I have determined that the one I have is the GSM Touch Pro2. Lots of sync cradles on Amazon, but none that have more than about two reviews, usually complaining because they didn't pay attention to the placement of the USB port.

I suppose if no one has really looked into these that much I might have to just embark on that journey. I'll just start buying the various models and post my findings.

Still open to any opinions others have formed about various cradles though.
[Touch Pro2, Tilt 2 Accessories] kimtyson:
I got my cradle from eBay. Here is the link, http://cgi.ebay.com/New-USB-Sync-Cr...wItemQQptZPDA_Accessories?hash=item2eab91cae4. It works and the seller was good. My only issue with it is it is difficult to get the TP2 into the receiving USB plug. I have to move it side to side until I get it to match up. Other than that it works fine.
[Touch Pro2, Tilt 2 Accessories] danver1971:
What all have you done with it? Do you share the internet connection from the phone with a PC through the cradle? Does it get sufficient power to charge the battery(or at least keep it from draining) while using the shared internet through the cradle?
[Touch Pro2, Tilt 2 Accessories] osrix:
personally i now use this type of cradle as it is Universal i won't need to get a new one everytime i change my phone...which is about twice a year!

but this stand/cradle has worked for me well especially as i just use a normal sync cable which also means i can pick up the phone to answer it etc without having to unplug it..works for me.

http://xdaforums.com/showthread.php?t=594722
[Touch Pro2, Tilt 2 Accessories] nextohel:
Disregard post....
[Touch Pro2, Tilt 2 Accessories] JimSmith94:
I bought this same cradle, but am not happy with it at all. If I leave the AC and USB plugs connected when I turn off my computer, it charges the extra battery, but current flows back into the computer and keeps the fans and lights powered. The first time it happened, it had even sucked 70% of my battery overnight! :mad: If I leave only the USB cable connected, the phone naturally doesn't charge overnight and the extra battery doesn't charge either.

I had a cradle for my TouchPro that worked properly. The AC would charge my battery when the computer was turned off, but it didn't send juice back into my computer through the USB cable. I assume it had a diode in the circuit to prevent that.

Does anyone know of a cradle that works as I want (and as it should)?
[Hero CDMA Q&A, Help & Troubleshooting] trindy:
I'm not sure what the problem could be.

When I first wipe the phone everything is fine but as soon as I put a ROM on there I lose the ability to receive phone calls. Every call goes straight to voicemail. At first I thought it was an app causing the problem (YouMail, Timeriffic...). I uninstalled those but still no calls. I did a wipe, phone rings. Put a ROM (no apps yet), straight to voicemail. Right now I'm using Damage 1.5 but that doesn't make a difference because it happens with Fresh & Darch too.

Is there a common setting somewhere that changes and could be interrupting my ability to get calls?

edit.....

Now that I think about it, this all started yesterday when I changed that CDMA auto thing. But that setting doesn't keep after restarts right? And wiping the phone should have cleared that anyway right?
[Hero CDMA Q&A, Help & Troubleshooting] mountaindont:
One word:

nandroid
[Hero CDMA Q&A, Help & Troubleshooting] trindy:
That was the first thing I did :)

I've nandroided (is that a word?) all the way back to January. That's all I've done since this started yesterday. Wipe... New image. Wipe... old backup. Wipe, older backup.

I'm about to smash this thing lol
[Hero CDMA Q&A, Help & Troubleshooting] bcnice20:
go back into the test menu and make sure your phone isn't set to evdo only tht will keep calls from, coming in
[Hero CDMA Q&A, Help & Troubleshooting] gthing:
You only get to ask one question per thread, so I'll answer the one in your title.

Yes.
[Hero CDMA Q&A, Help & Troubleshooting] trindy:
It says I'm on GSM auto (PRL). I'm afraid to change it again. I think thats how I got into this mess in the first place

Gee thanks! lol

After living like this for 2 days I'm thinking it's not so bad. I changed my voicemail message to say I'm having a problem, send me a text and I'll call them back. I dont have angry ex's calling, no kids needing money, no mother complaining. They text me! And if I want to listen to it I'll call them back. It's kinda quiet. I think I like it :D

I'll put it back to stock and take it to Sprint tomorrow. Let them deal with it.
[Touch Pro2, Tilt 2 Themes and Apps] otokirvalidze18:
first of all i'm sorry if i'm posting this thread in a wrong place or if this question was already answered. i was looking thru the forum for days and couldn't find an answer. :rolleyes:

i have t-mobile htc tp2 with stock rom windows 6.1, which i bought in us now i moved back to europe and unlocked the phone from "htc-unlock.com." they send me a software wich i used to unlock the phone. now i want to change the stock rom to something more stable rom with windows 6.5 and i'm interesting if my phone will stay unlocked after changing the rom.

thank you in advance :D
[Touch Pro2, Tilt 2 Themes and Apps] DaveShaw:
Yes, phone unlock is permanent unless you choose to relock it... and not many people do :).

Dave
[Touch Pro2, Tilt 2 Themes and Apps] otokirvalidze18:
thank you for quick responce ;)
[Hero, G2 Touch Q&A, Help & Troubleshooting] xanmanz31:
im trying to root and rom a friends htc sprint hero. am i correct in assuming that his firmware 1.5 is preventing me from flashing. i have another friend who has successfully done this but he cant remember how. and im not sure of his firmware. ive tried using the flashrec 1.1.3 and 1.1.2 along with amon ra. when i run flashrec 1.1.3 it will try to create a backup but then says failed couldnt run command. any help apreciated
[Touch CDMA Android Development] graphic914:
Been running Haret Eclair on sd, ran fine for about a month. Know all of a sudden it lags and recently won't answer an incoming call.

Sounds like mssmison has a good build but not haret. Any knew eclair builds for haret?
[Touch CDMA Android Development] mrkite38:
Haret is not the problem, it's just the launcher that kills winmo and starts linux. Can you make calls ok? what happens when you receive a call?
[Touch CDMA Android Development] graphic914:
I can make call fine, it seems that when screen is locked the phone will start to vibrate for maybe 5 times before the ringer starts. I get 2 rings and miss call. All the time I push the green answer button and it doesn't pick up.
[Touch CDMA Android Development] mrkite38:
Sorry, I should have asked this - what build are you running? I assume something from mssmison?
[Touch CDMA Android Development] graphic914:
mssmison's xrom-eclair-2.1 beta
[Touch CDMA Android Development] mssmison:
turn off vibrate.
[Nexus One Q&A, Help & Troubleshooting] MI_canuck:
anyone care to post the windows usb driver... can't effing install it... the url in the androidsdk app (sdksetup.exe) won't work... dunno if because of my work network, or because i'm on a 64-bit XP machine... in any case.... can't find the USB driver ANYWHERE.... other than through SDK components portal, which I can't access....

i get the following message:

doesn't matter if trying to use the https url or "force" with http:

without the usb driver, i'm SOL and can't do any of the other steps to get my Nexus unlocked/rooted...
[Nexus One Q&A, Help & Troubleshooting] Lemim0uth:
Here you are ;)
[Nexus One Q&A, Help & Troubleshooting] MI_canuck:
thanks! :D.
[HD2 Windows Mobile 6.5 Themes and Apps] geronemo:
Hi,

Just got my hd2 (tmobile) day before yesterday and its amazing, i can go on and on about it :)

on my previous winMo device i had spb mobile shell installed which allowed me to add a shortcut tab "my shortcuts" on the home screen clicking on which would open a window where i could have my favorite programs, contacts, docs etc in one place.

is this possible to do this on the home screen of sense UI, where there are 9 customizable tabs present or is it possible to put a shortcut of any folder on the home screen.

i ask this question because one of tabs on the home screen has a transformers icon on it, and clicking it takes me to the transformers folder on the sd card which has transformers 1 and 2. this same transformers icon/shortcut is also present in programs menu.

i added some mp4 files in the transformers folder on the sd card which has both movies and after doing that when i click on its icon it does direct me to its folder but only shows me the 2 movies not the added mp4 movies.

i hope iam able to explain myself

having a shortcut tab on the home screen which can add a shortcut to a folder would be very helping other than just having the stock program, bookmark, contact options.

thanks in advance. :)
[HD2 Windows Mobile 6.5 Themes and Apps] mystik610:
Touch and hold over an Icon, and drag it off the screen to delete it. Tap to add a new shortcut.

Look into Cookies Home Tab editor to add more shortcuts
[HD2 Windows Mobile 6.5 Themes and Apps] Tomen:
Explore folders, find and select program file and hold it, tap copy, now explore windows folder-startmenu- programs- edit- paste shortcut, done. Now you can add it to quick links. If I understand you right.
[HD2 Windows Mobile 6.5 Themes and Apps] geronemo:
yes you understand completely what iam trying to do,

and thanks for the advice,

but i am trying to do this for a folder not a single file.

i tried coping a few files and or their shortcuts and put them in a folder in programs folder, when i click on home tab slot it show me add quick link menu which shows program, contact, bookmark.

when i go into program it shows me those files but not the whole folder than i am trying to add.

any advice.
[HD2 Windows Mobile 6.5 Themes and Apps] geronemo:
thanks for the link, i am gonna lk into this.

have you tried this already?

do you know if this is uninstallable if i wanna go back to the way things were if i dont like it without permanently changing my sense UI.

thanks
[HD2 Windows Mobile 6.5 Themes and Apps] kaplatz:
I am Resco explorer 2010 and it works well for me. For testing purpose I have created a shortcut of my music folder ( located on Storage Cards) to the startmenue. now I can select it as quicklink... :-)
[HD2 Windows Mobile 6.5 Themes and Apps] tkalli:
If you are referring to Cookies Home Tab editor, yes it is uninstallable.

​
[HD2 Windows Mobile 6.5 Themes and Apps] gilbert11231123:
i have a couple of movies in my storage card and i would like to have an icon on my device to each movie on my storage card, that way i can put them in my quick links ,

The T-MoUS version, has Transformers pre-installed. it has a Transformers icon in the start menu that when selected, it opens a window with both movies lined up in a list type format located in the storage card . Is there a way to create your own?
[HD2 Windows Mobile 6.5 Themes and Apps] geronemo:
i had to return mine today at the store because it had a small spot inside the screen, maybe a dead pixel, giving the same affect as you would see when you would sprinkle a drop of water on LCD.

the store reps. were acting up for a replacement saying that even when they get new onces they have already reserved them for new customers, also the tmobile (611) rep told me they would be able to help me had i purchased the phone online :(

so i returned it :(
[HD2 General] tommy96814:
whos rom does has sense removed thus having that menu that you flick up and down sort of like the miri vanilla roms from the original hd. :confused:
[Hero, G2 Touch General] immya:
hi

anyone know if the new update rumoured to come around april will be able to support full flash as opposed to flash lite?
[Hero, G2 Touch General] PulpzillA:
i think it was said before that the hero would not be able to support full flash because of the cpu not being powerful enough. i think we may get a refined version of flash lite though with 2.1
[Nexus One Android Development] Ivan Dimkovic:
Just rebuilt CM from the source, with JIT enabled (and fixed the code to compile)

* With "plain" CyanogenMod 5.0.x ROM it appears to be at least partly functional (people reporting Linpack jump from 7 to 17 Mflops) but I expect instabilities so JIT is definitely still far from the "prime time"

* It appears that HTC Desire ROM and JIT do not mix well. You will get reboots as soon as you try to unlock via. slider. I am trying to figure out what is causing this

For people that want to experiment - I am providing the precompiled Dalvik libraries with JIT enabled.

DO NOT TRY THIS IF YOU ARE INEXPERIENCED!!!

I assume no liabilities for any problems. Please read the readme first!

JIT Support for Nexus One CyanogenMod 5.0.x / Kernel 2.6.33.1 (Eclair)

By Ivan Dimkovic (psyq321)
--------------------------

NOTE: JIT is totally unsupported and known to be NOT stable!!! There is no guarantee your system will boot at all!!! ALWAYS BACK UP YOUR SYSTEM WITH NANDROID FIRST!!! This package is provided for TESTING PURPOSES ONLY. Author assumes NO LIABILITY WHATSOEVER if you brick your phone!!!

1. What is this?

This package contains several Android system files that enable JIT ("Just in Time") feature in the Dalvik VM. JIT is very unstable and it is not built-in the AOSP or Cyanogen's ROMs. This package contains system files built with JIT feature ON and it could be useful for testing for people that do not wish to recompile the entire ROM

extra_tuning directory contains Dalvik JIT library compiled with WITH_JIT_TUNING option. This option presumably enables even more optimizations for the JIT, but it appears to be totally unstable (I get endless reboot cycle)

2. How to make JIT enabled?

Follow these steps:

- BACK UP YOUR SYSTEM WITH NANDROID (IMPORTANT!!!)
- Connect your phone to the PC

- Copy the Dalvik files to the system directories:

adb remount
adb push libdvm.so /system/lib/libdvm.so
adb push libnativehelper.so /system/lib/libnativehelper.so
adb push dalvikvm /system/bin/dalvikvm

- Go to the shell (e.g. via adb shell, or via ssh) and change the permissions:

chmod 755 /system/bin/dalvikvm
chmod 644 /system/lib/libdvm.so
chmod 644 /system/lib/libnativehelper.so

- Add this line at the end of your system's build.prop

dalvik.vm.execution-mode=int:jit

- Reboot into RECOVERY and wipe Dalvik cache!

- Reboot

3. It does not work? My system keeps rebooting / My system crashes randomly?

Unfortunately, this can happen and this is known issue with JIT. This is the reason why it is not enabled. You are free to look in the AOSP code and try to fix it by yourself, but I suggest to wait until original developers make it stable

Enjoy!
[Nexus One Android Development] Gimpeh:
Try JIT with a none sense rom like Cyanogen.
[Nexus One Android Development] MarcusMaximus04@gmail.com:
Bah! What nonsense..... sorry.
[Nexus One Android Development] Gimpeh:
Don't be so senseless!
[Nexus One Android Development] neva dinova:
it seems people were running it on the g1 for at least a little while what do you think is the difference
[Nexus One Android Development] Ivan Dimkovic:
I am not really sure, maybe HTC Sense components are much more intensive and force the JIT bugs to appear earlier.

Just tried everything (replaced libdvb.so, libnativehelper.so and dalvikvm - and cleaned up the dalvik cache) - and it is a no-go :(

If JIT is ON, SIM card is not accessed at all, I just get the lock screen, which triggers the system reboot if I slide it.

This is all on the HTC Desire a19 ROM... I guess JIT is a bit more stable on a stock ROM.
[Nexus One Android Development] melterx12:
that makes no sense whatsoever.
[Nexus One Android Development] spyz88:
I thought the last time JIT was in CyanogenMod was in cm-5.0 beta 3. I'm pretty sure it wont work on any ROM except that. I would use it but the multi-touch included in it is still the hacked together version.

I miss JIT ;/
[Nexus One Android Development] Ivan Dimkovic:
JIT is just not compiled-in by default in CyanogenMod but it is definitely in the code.

You can still enable it manually, but you need to rebuild the ROM from the source.

If you wish to try it - put this line in the buildspec.mk:

WITH_JIT:=true

Then rebuild everything - and the Dalvik VM will have JIT features inside. Then you need to enable JIT in the build.prop (or by adb manually on runtime)
[Nexus One Android Development] Ivan Dimkovic:
Doh...

Just fetched the latest source from Cyanogen's github...

Looks like CM+JIT compilation is broken now :( There are some asserts in the code (Jit.c, line 48 for example) that are referencing missing structure members (looks like they reorganized structure layouts and moved JIT-specific stuff to another one) so the JIT-enabled code won't compile.
[Nexus One Android Development] Gimpeh:
I saw a bunch of JIT related activity on GITHUB today from Cyan. Perhaps hes testing it again for a new experimental build.
[Nexus One Android Development] bradsh1:
This is one official upgrade I'm really looking forward to. Sadly, I bet it wont be released for another year.
[Nexus One Android Development] Markdental:
yeah. A stable JIT would be a gamechanger.
[Nexus One Android Development] serialtoon:
I thought i was the only one that was interested in on JIT. Either that or Dalvik-Turbo :-P
[Nexus One Android Development] Ivan Dimkovic:
Looks like JIT breakage is coming from the AOSP itself.

What is going on is, in Jit.c (/dalvik/vm/interp/Jit.c) there are places that expect JIT stuff to be in the DvmGlobals structure - however, those elements are in the DvmJitGlobals structure.

For example, line 48 of Jit.c

assert([b][u]gDvm.jitTableSize[/u][/b] &&
!([b][u]gDvm.jitTableSize[/b][/u] & (gDvmJit.jitTableSize - 1))); // Power of 2?

gDvm (which is of DvmGlobals type) has no jitTableSize entry - it is part of gDvmJit

I'll try manually fixing these errors (there are few, and mostly confined to asserts fortunately) tonight but this smells like more things are broken.
[Nexus One Android Development] hotweiss:
I had JIT running on my Magic. It was 99% stable... I am actually hoping that Cyanogen fixes all of the bugs in the Java V8 script engine first. It made a big difference in the Browser.
[Nexus One Android Development] Mi|enko:
IIRC, Cy removed Jit due to stability issues. I think there was a stability concern by just having the code in there, even if it wasn't enabled. You might want to dig through his thread a bit.
[Nexus One Android Development] Ivan Dimkovic:
Hmm

JIT is definitely still in CM's repository... and just by quickly looking at it, it looks exactly the same as in the current AOSP

But it is broken in both. I don't know when exactly it got broken - as the last CM snapshot I had on my Linux VM was from few weeks ago, and the JIT definitely compiled.

Perhaps the breakage is result of some AOSP checkin by Google.
[Nexus One Android Development] Ivan Dimkovic:
Ok, I fixed compilation errors.. rebuilding everything now.

Will test and upload JIT libraries here.
[Nexus One Android Development] jlevy73:
Thanks that would be pretty cool.
[Nexus One Android Development] Nemphys:
I decided to turn JIT back on after flashing the latest .33.2 oc-uv kernel, and I must say it is much more stable than any other shot I have given it so far with previous kernels... Almost 24 hours now and I got no FCs or glitches whatsoever!

Only the desire camera has some issues, otherwise it runs really smooth!
[Nexus One Android Development] chunga:
my first post with xda app :-) going to try jit

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[Nexus One Android Development] commodoor:
Nice it sounds great never tryed it though because it was always unstable. but i want to try it. thnx for the info

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[Nexus One Android Development] diaztradeinc:
sounds interesting.

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[Nexus One Android Development] harmohn:
Always wanted to give JIT a try- this looks like as good a time as any :-)

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[Nexus One Android Development] nazforex:
just installed. so far so good.
[Nexus One Android Development] chunga:
got some reboots :(
[Nexus One Android Development] liam.lah:
Hmm, update.zip didn't work, just got stuck at "X unlocked" screen, did it manually, and my phone booted fine. Did some benchmark tests with linpack, and I am still getting an average of 6.6 (CM5.0.3) UV kernel with desire camera). is there anyway i can check that it worked?
[Nexus One Android Development] flak0:
+1 on this, the only thing that is acting eratic is live wallpapers. there is a slight flash to black during most of them. most noticible in galactic-core donate. It seems JIT is responsible. see below
[Nexus One Android Development] seanowns:
It didn't work:)

zero chance you are getting linpack's of 6.6 with JIT enabled unless you tweaked down the CPU low.
[Nexus One Android Development] Gr8gorilla:
I have been doing some kernel tweaks of my own and I had decided to re-install jitt, now I have redone this twice and both times it has caused a damaged sd card.

The funny thing is, the card mounts just fine and I can copy files to and from it with no problem.
[Nexus One Android Development] liam.lah:
You are right.

I flashed 5.0.6test, and Kmobs latest kernel, then tried the update.zip and it worked. was getting about 16 with JiT. Ran quite well, a couple of FCs, had to restore though, it did a random restart while i was using maps navigation.

Besides in benchmark tests, where would we see performance improvements?
[Nexus One Android Development] pershoot:
JIT for CM5.0.6-test1

http://droidbasement.com/db-blog/?p=81
[Nexus One Android Development] jlevy73:
Thanks man. Very tempting.....
[Nexus One Android Development] jlevy73:
P.S. Like the new site!