yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] tyrnight:
# dalvikvm -h

Unrecognized option '-h'

dalvikvm: [options] class [argument ...]

dalvikvm: [options] -jar file.jar [argument ...]

The following standard options are recognized:

-classpath classpath

-Dproperty=value

-verbose:tag ('gc', 'jni', or 'class')

-ea[:<package name>... |:<class name>]

-da[:<package name>... |:<class name>]

(-enableassertions, -disableassertions)

-esa

-dsa

(-enablesystemassertions, -disablesystemassertions)

-showversion

-help

The following extended options are recognized:

-Xrunjdwp:<options>

-Xbootclasspath:bootclasspath

-Xcheck:tag (e.g. 'jni')

-XmsN (min heap, must be multiple of 1K, >= 1MB)

-XmxN (max heap, must be multiple of 1K, >= 2MB)

-XssN (stack size, >= 1KB, <= 256KB)

-Xverify:{none,remote,all}

-Xrs

-Xint (extended to accept ':portable', ':fast' and ':jit')

These are unique to Dalvik:

-Xzygote

-Xdexopt:{none,verified,all}

-Xnoquithandler

-Xjnigreflimit:N (must be multiple of 100, >= 200)

-Xjniopts:{warnonly,forcecopy}

-Xdeadlockpredict:{off,warn,err,abort}

-Xstacktracefile:<filename>

-Xgc:[no]precise

-Xgenregmap

-Xcheckdexsum

-Xincludeselectedop

-Xjitop:hexopvalue[-endvalue][,hexopvalue[-endvalue]]*

-Xincludeselectedmethod

-Xthreshold:decimalvalue

-Xblocking

-Xjitmethod:signture[,signature]* (eg Ljava/lang/String\;replace)

-Xjitverbose

-Xjitprofile

Configured with: debugger profiler hprof with_jit show_exception=1

[1] Segmentation fault dalvikvm -h

is it supposed to say Seg Fault?
[Hero CDMA Android Development] toastcfh:
BFS has to built into and added to the linux kernel source. It's not part of any kernel mainline at all. Only way to get Bfs working in a kernel is to patch and compile the kernel with it. BFS is not in this build at all. The files brain **** scheduler use to be BFS are not in any mainline kernels at all. It's an experimental scheduler.
[Hero CDMA Android Development] DevinXtreme:
I'm pretty excited to try this ROM out. I'm waiting until you have everything fixed up and AOSP working (mostly, I like the original dialer and phone).

I tried 1.1b the other day and wasn't a fan. It just felt weird to me. I love AOSP, but some things just didn't work for me. I really like Fresh, and I've done a lot to make it what I have it as today.

However, I hate sense. It's slow and laggy and, for me, entirely useless. I really want JIT enabled. I used DConfig to disable sense and use JIT, but that just caused a boot loop.

So, now that you've made yours Fresh-based, I'm really excited to give it a shot (again). Like I said, I'll wait until you have the AOSP stuff ported over and posted, but the second that happens, I'm all over it.
[Hero CDMA Android Development] toastcfh:
There is nothing in our build that enables or controls bfs. It's allin the kernel is not an option in a mainline kernel. Many files have to be added and modified to have bfs instead of cfs
[Hero CDMA Android Development] jakejm79:
I said probably, I didnt say definitely.

Also it still appears that enabling of JIT via the DC config still isn't working, when running the above command after a reboot I get:

#dalvimvm -h
dalvimvm: not found

On the second reboot it just loops on the bootscreen

This is with a fresh install of 2.01 with a wipe of everything.

Logcat here
[Hero CDMA Android Development] tyrnight:
it was a mistype..

dalvikvm -h
[Hero CDMA Android Development] mrinehart93:
Are you sure you're flashing 2.01? Because I've flashed it a few times now, and I haven't had any problems with JIT. All I can say is make sure you wipe dalvik, data, and ext partition(even if you don't have... can't hurt).

@Toast: Well whatever change I did to the kernel certainly didn't slow things down... I noticed a speed improvement without JIT enabled. Here is what I edited...

write /proc/sys/kernel/sched_latency_ns 10000000

write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000

write /proc/sys/kernel/sched_min_granularity_ns 100000

EDIT:

To the people having problems with JIT: Have you been editing any part of the ROM (including update-script) before flashing it? Because that very well may be messing it up for you. Things that happen at the first flash had to be edited in order to get stuff to work. BTW, I'm testing a new version right that'll be up soon if it passes quality control.
[Hero CDMA Android Development] jakejm79:
OK now I get this

# dalvikvm -h
dalvikvm -h
Unrecognized option '-h'

dalvikvm: [options] class [argument ...]
dalvikvm: [options] -jar file.jar [argument

The following standard options are recogniz
-classpath classpath
-Dproperty=value
-verbose:tag ('gc', 'jni', or 'class')
-ea[:<package name>... |:<class name>]
-da[:<package name>... |:<class name>]
(-enableassertions, -disableassertions)
-esa
-dsa
(-enablesystemassertions, -disablesystem
-showversion
-help

The following extended options are recogniz
-Xrunjdwp:<options>
-Xbootclasspath:bootclasspath
-Xcheck:tag (e.g. 'jni')
-XmsN (min heap, must be multiple of 1K,
-XmxN (max heap, must be multiple of 1K,
-XssN (stack size, >= 1KB, <= 256KB)
-Xverify:{none,remote,all}
-Xrs
-Xint (extended to accept ':portable', '

These are unique to Dalvik:
-Xzygote
-Xdexopt:{none,verified,all}
-Xnoquithandler
-Xjnigreflimit:N (must be multiple of 10
-Xjniopts:{warnonly,forcecopy}
-Xdeadlockpredict:{off,warn,err,abort}
-Xstacktracefile:<filename>
-Xgc:[no]precise
-Xgenregmap
-Xcheckdexsum
-Xincludeselectedop
-Xjitop:hexopvalue[-endvalue][,hexopvalue
-Xincludeselectedmethodadb
-Xthreshold:decimalvalue
-Xblocking
-Xjitmethod:signture[,signature]* (eg Lja
-Xjitverbose
-Xjitprofile

Configured with: debugger profiler hprof wi

[1] + Stopped (signal) dalvikvm -h
[2] Segmentation fault dalvikvm -h

Then on the 2nd reboot I still get the boot loop.

I have wiped everything and was with an untouched v2.01 ROM, I will download again and see if it makes any difference.
[Hero CDMA Android Development] toastcfh:
That isn't bfs. All u did was modify cfs. In that event tasks are still being scheduled the same way cfs does it. Just because u change latency values doesn't make it the same. Look at the bfs patch sets and u will see. Also the human eye can only detect latency lag at 6-7 ms u have it set to 1ms therfore sacrificing other parts of cfs with no gain. The scheduler has to be built for what ur asking it to do. Bfs is built for latency and scheduling tasks for machines without massive processors. U using cfs and hacking it the way u are is effecting through put
[Hero CDMA Android Development] stevecaldwell:
just flashed Sushi 2.01. Has anyone experienced the audio loss issues...like where phone calls are dead with this one?

I haven't tested it yet, but the reason I moved over from Fresh 2.0d is because I was having so many issues with the phone piece.
[Hero CDMA Android Development] mrinehart93:
People with JIT problems: after wiping dalvik and data, flashing, and booting up, go into DConfig and enable JIT like this.

Disable A2SD(only because I don't use it)

Enable JIT

do NOT press Banned Apps

Save CFG

Do it in that order.
[Hero CDMA Android Development] mrinehart93:
This ROM doesn't have the HTCMusic.apk, which was causing the problems there... This has the AOSP music app, so it should be fixed.
[Hero CDMA Android Development] jakejm79:
I followed that exactly, and I still get the exact same issues
[Hero CDMA Android Development] mrinehart93:
Re: [ROM] Sushi ROM v2.01 4/28/10 | Wakelock FIXED | BFS | DConfig fixed

I have to say, I really can't think of anything else going wrong except that your downloads may be getting corrupted. I've flashed this so many times, and I'm error free every time. Maybe try downloading it on a different computer and then transferring it from there? I'll see if I can get TrevE to test this. BTW, I was running linpack and I got 3.683mflops :-)

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] XxsydenxX:
.........

</Random>

Someone mind posting a screen shot of 2.01

I'm still rocking my wake locked 1.1b for its AOSP look.
[Hero CDMA Android Development] Envynet:
Are you running a swap partition?? Im not sure if this would mess it up but it is possible.
[Hero CDMA Android Development] mrinehart93:
It looks the exact, same except for these differences:

-"Clear" button is black again

-"People" app (until AOSP Contacts/Phone is more stable/fixed)

-Browser is the HTC Browser (only kept it because of Flash support...)

Yeah, those are really the only differences. I'll post some new screenshots if you really want though.
[Hero CDMA Android Development] XxsydenxX:
No need to post. I can live with those changes, I'll update it.

EDIT: Also, If you really want i can try to port over AOSP contacts so it's not broken for you.
[Hero CDMA Android Development] mrinehart93:
Yeah. Also, if you're getting force-closes from HTC apps, post what those apps are. I've removed every HTC app that doesn't play well with JIT, so there is no way the HTC apps are FC'ing because of JIT.
[Hero CDMA Android Development] ppjuarez:
AOSP Apps

man please update to AOSP apps, the htc apps run to slow, aosp is great
[Hero CDMA Android Development] Envynet:
Well I know I can say jit is boot looping me everytime. There is no way it is user error and I'm tired of seeing people say well you didnt wipe this or do that.
[Hero CDMA Android Development] mrinehart93:
Alright, seeing as everyone is saying it is user error, upload the ROM that you have been flashing to a hosting site, and post the link here. I'll try flashing the ROM that's giving you trouble, and I'll see what happens.
[Hero CDMA Android Development] mrinehart93:
Added a white USB icon to the "Mods" section. It replaces the old USB icon (had the black background) with an icon that has a transparent background.
[Hero CDMA Android Development] kelsonelso:
Re: [ROM] Sushi ROM v2.02 4/29/10 | AOSP look | Modded Kernel

awesome! will download/flash as soon as i get home. :) your efforts are greatly appreciated.

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] mrinehart93:
Thanks. Glad someone appreciates it :) I couldn't find the icon in ANY AOSP ROM, so I had to bust out photoshop and the eraser tool haha.
[Hero CDMA Android Development] dirkyd3rk:
me to man i for sure appreciate your hard work, im flashing now to see the new aosp look now. once again, thanks.............

EDIT: also i forgot to mention, i dont know if its just me, but when ever i use my default browser it keeps asking me over and over to share my location and i click save it etc and once i close it, it still manages to ask me again, also it doesnt save my bookmarks, ive tried over and over it just wont save my em. yes i wiped and yada yada yada, is this an issue?
[Hero CDMA Android Development] kelsonelso:
i'm looking to push the AOSP dialer .apk from Sushi 1.1b to the newest 2.02. what is the name of the correct .apk for me to push?
[Hero CDMA Android Development] mrinehart93:
I believe you need to push Contacts.apk, Phone.apk, and HtcDialer.apk. I'm not sure, I don't have the ROM in front of me right now.
[Hero CDMA Android Development] dirkyd3rk:
hey how to i push that file through adb......im sorry for the noobieness lol
[Hero CDMA Android Development] mrinehart93:
Drag the file(s) into the folder containing ADB. Then, open a command line in that folder by Shift-RightClicking a blank area in the folder. Then click Open Command Line Here. Then type this:

adb push nameofapp.apk /location/of/app

If you're referring the the PCSCII.apk, push that to /system/app.
[Hero CDMA Android Development] Rsoehelk:
so to push something I have to put the file in the and folder??? I think u just taught me how to use adb lol cuz I never used it lol

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] mrinehart93:
Yeah that's how you do it. Or, you can add adb to the PATH, but that is more complicated and varies (I think) in different Windows versions
[Hero CDMA Android Development] kelsonelso:
i've had success in pushing files before, but for some reason none of the changes i'm making seem to take effect. for instance, when i push Browser.apk from 1.1b, i get the 1162 KB/s dialogue which would suggest i successfully pushed the .apk, yet after i reboot i STILL have the old htc browser. any suggestions?
[Hero CDMA Android Development] Rsoehelk:
I'm no expert I'm a join to say the truth but I think it supposed to take off the old HTC browser first. ido how u do it though. lol

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] mrinehart93:
Yes, it is possible that the old one is not being overwritten. This could be because the names are different... ie. Browser and browser are two different files according to Linux. But if you want to remove the old one, you do this:

adb remount

adb shell

rm /system/app/Browser.apk
[Hero CDMA Android Development] ballinouttacontrol:
Boot loop too

Yep I did exactly that. Flashed data and dalvik two times each just to make double sure. Then flashed the ROM. Signed into Google then facebook. Went into the DConfig and followed your steps above exactly. Didn't even look at Banned apps. Saved the CFG and it saved successfully.

After two reboots I get a bootloop.

I get haptic feedback like its about to finish booting, but the Sushi guy comes back again and again and again.
[Hero CDMA Android Development] Rsoehelk:
what?! I may be right?!? muahahhaha then the evil villain is born lol

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] kelsonelso:
weird. i thought by doing a push, the new file would overwrite the old one? oh well, after removing the old, then pushing the new, everything worked perfectly. thanks!
[Hero CDMA Android Development] kelsonelso:
sorry... another question. i'm trying to remove the htc "people" app now that i've successfully pushed aosp "contacts," but what's the name of the file?
[Hero CDMA Android Development] Rsoehelk:
YES YES I WAS RIGHT MUAHAHAHA!!!

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] japin:
Anyone else having problem with the USB? I cannot get it to hook up to my pc at all, I can get a command prompt with shell, but cannot transfer files unless I use the recovery console, it works, just a pain in the ass for now. And nice job on your first ROM, I loves me some vanilla and AOSP
[Hero CDMA Android Development] daveydave:
That was an easy fix, but I stumbled on it. Just long-press on a text input field and select Touch Input for the input method. Bye Bye error.

This is EASILY my favorite ROM so far! I love Vanilla, and the Google NAV works on this one, unlike IC3ROM.

VERY nice!
[Hero CDMA Android Development] bron019:
Wow thanks for this ROM i was waiting for something like this
[Hero CDMA Android Development] mrinehart93:
Try rebooting... This happened to me when it was being tested a few days ago.
[Hero CDMA Android Development] dirkyd3rk:
Taskbar

instead of EVDO up there in that beautiful taskbar, you should make it just show 3G IT WOULD BE BADASSS
[Hero CDMA Android Development] mrinehart93:
Yeah, I know that is how the actual Vanilla taskbar is. I'll try and do it... but I can't make any promises. I've never actually themed anything, but I'll definately give it a whirl. I'm not very fond of the EvDo there myself, but I thought it was good enough for the timebeing.

Also, a new build is now posted in the first post that should fix the VoiceSearch problem as well as the alarm problem.
[Hero CDMA Android Development] radxcoresteven:
Downloading now, let you know what I think in a bit. This seems like it has a LOT of potential! Can't wait.
[Hero CDMA Android Development] jakejm79:
Anybody else have an issue with the phone not sleeping?
[Hero CDMA Android Development] dirkyd3rk:
Cool no doubt im not complaining at all man great work, im testing it out right now, the only prob i had was the voice search like the rest of the guys, but its fixed now, thanks dude the evdo i could live with......
[Hero CDMA Android Development] mrinehart93:
Re: [ROM] Sushi ROM v1 4/23/2010

The phone does sleep... try having it in sleep for 5 minute and then see if the awake time goes down.
[Hero CDMA Android Development] jakejm79:
OK I will try that, i know most of the other roms that I have tried will do it within in seconds of hitting the end key, I did have it plugged in (AC) for 5 hours untouched and it didnt sleep once (awake = total).
[Hero CDMA Android Development] kramboid:
ah why didn't i think of that? must have been too late at night. thanks for the info, i'll try it again tonight
[Hero CDMA Android Development] TrevE:
if your phone isn't sleeping dial *#*#4636#*#* go to battery history change to partial wake usage. Whats #1?
[Hero CDMA Android Development] mrinehart93:
Hey guys! Just letting you know I was able to change the EvDo icons to 3G icons! Rejoice! I'll test it out and if it works, I'll upload them for you. It's not really a big change, so it won't require a new ROM flash (unless you would like a new ROM uploaded with the 3G icons in it), just an ADB push.
[Hero CDMA Android Development] daveydave:
Disable menu key for lock screen?

I love this ROM. Everything I've wanted vanilla, nothing I don't. I was wondering though, the IC3ROM I was using before (also vanilla) had it so the menu button wouldn't unlock the phone. I figured it was a 2.1 vanilla lockscreen thing, but your lockscreen still lets you unlock the phone by double-tapping menu. Any way to disable that? I seem to always unlock my phone in my pocket and when I pull it out it's on voice search looking for something random it heard.

Thanks again for a great ROM!
[Hero CDMA Android Development] mrinehart93:
That's because Ic3ROM uses the patched version that disabled that. Mine doesn't. I'll incorporate that into it as soon as I can find the version with Menu disabled.
[Hero CDMA Android Development] mrinehart93:
Would anyone mind if I removed some wallpapers from the launcher? All in all, the wallpapers that come with it take up about 7.5MB of space... which is ridiculous. If you have any wallpapers that you deem absolutely necessary to be kept, please post which one here. Or, I could just take out all the wallpapers and put them in a folder separate from Launcher that would go on the sdcard.
[Hero CDMA Android Development] Tipharet:
Nah, take it out I dont like the crosshatch pattern anyway. Could you also revert back to the normal HTC dialer. I like the AOSP dialer but the problem is that when you use it it borrows from the HTC dialer anyway. I would just use it as my default but when I want to go to contacts it takes me to AOSP.

I also am having a sleep issue and phone codes arent working either. But this ROM is one of the faster 2.1 roms ive used. Thanks.
[Hero CDMA Android Development] ihakr:
Finally!

I have been trying to work on a rom like this but have been unsuccessful. Thanks for the best birthday present ever!
[Hero CDMA Android Development] TrevE:
for your sleep issue get spare parts from the market. you can see wake usage from there too.
[Hero CDMA Android Development] mrinehart93:
HtcContacts.

I just thought of something... I have never signed into Facebook on my phone. Is everyone here that is trying to enable JIT and getting problems signing into Facebook?
[Hero CDMA Android Development] Rezza2k4:
Thank you for adding the white taskbar back in.
[Hero CDMA Android Development] DevinXtreme:
So my marketplace is broken. I can browse just fine. I can search alright (the search bar is maligned). I can download just fine. But as soon as I install or uninstall, com.android.vendor force closes. I thought it was JIT but I still have the problem after disabling. Any ideas?

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] mrinehart93:
Strange. I've been using the marketplace a lot and I haven't had any force closing problems. The search bar is aligned strange, but that's not a big concern right now. Did you flash 2.02, and did you wipe your dalvik cache and data/factory reset before flashing it over? Also, make sure you wipe your EXT partition (even if you're not using it... can't hurt).
[Hero CDMA Android Development] ballinouttacontrol:
I did. I signed in at first boot. I will try now to NOT sign in and enable JIT using your steps listed before and let you know what I get. After wiping and reflashing of course
[Hero CDMA Android Development] mrinehart93:
Yeah, definitely try that. I know that Facebook used to be on the banned app list on the old versions of the TrevE mod.
[Hero CDMA Android Development] DevinXtreme:
I did a full wipe before updating. Data, dalvik, and ext. I applied a couple metamorphs to fix the the notifications screen and get a clear power control widget, but those worked fine on my last ROM (Fresh 2.0d). I also restored all my apps using titanium backup. I am using Sushi 2.02 with the USB Icon mod.

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] ballinouttacontrol:
Unfortunately got stuck back in boot loop. Here's what I did.

Wiped both data and dalvik twice for good measure.

Flashed ROM. Accepted defaults for location services, signed into google and skipped the rest.

Went to DConfig per your instructions earlier. Didn't touch the banned list or even open it. Just disabled a2sd as I don't use that and just enabled JIT and saved. Rebooted the first time fine. Sent a couple of txt messages to the wife then rebooted a second and now stuck in the loop.
[Hero CDMA Android Development] dec3ption:
Go into Manage Applications in the settings menu and uninstall updates for the market..worked for me :)
[Hero CDMA Android Development] DevinXtreme:
Just to be sure I have the right thing, are you talking about the market updater? That's all that I can see.

EDIT: Nevermind. I got it.

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] dec3ption:
No it should be the actual Market...
[Hero CDMA Android Development] mrinehart93:
hey guys, good news. HtcFacebook is the cause of the bootlooping. Mdawg tested this for me. First, he booted and enabled JIT. He checked to see that JIT was working, and it was. He was able to reboot fine without bootlooping. Next, he signed into Facebook, and then rebooted. When he rebooted, he got bootloops. So, don't sign into Facebook :) Atleast don't sign into HtcFacebook (the one integrated into Sense and such).
[Hero CDMA Android Development] ballinouttacontrol:
I got the bootloop without signing into Facebook at all. Its always 2 reboots for me AFTER enabling JIT.
[Hero CDMA Android Development] mrinehart93:
Ok, try this. Right when you flash it, open up adb

adb remount

adb shell

rm /system/app/HtcFacebook.apk

exit

reboot

Then go and enable JIT. Once JIT is enabled, just keep rebooting your phone without doing anything and see if it bootloops then... so basically just boot your phone, once it's booted, reboot. Once it boots again, reboot. Just keep doing that and see if it gets stuck in a bootloop.
[Hero CDMA Android Development] DevinXtreme:
Yeah, I got it after a minute :p Working like a charm now. Thanks!!
[Hero CDMA Android Development] mrinehart93:
Bootloop is fixed?
[Hero CDMA Android Development] dec3ption:
No that was a problem with the market...

I just flashed this and I'm waiting to see if the bootloop gets fixed before I enable JIT or sign in to facebook haha
[Hero CDMA Android Development] mrinehart93:
Haha ok. So did you have a duplicate market or something? Do you still have the market after removing it? I'm curious.
[Hero CDMA Android Development] DevinXtreme:
rofl.

I had the problem where my market was force closing if I tried to install or uninstall anything from it. I just uninstalled the market updates so that I had the factory market, and it worked perfect.
[Hero CDMA Android Development] dec3ption:
There's an issue with the market and I'm not sure how it happens, but you can download apps, and then the market will FC when it tries to install. To fix you just have to go to Manage Apps and uninstall updates for the market :confused::confused::confused: