yashsingh1/xdaforums huggingface dataset:
[Vibrant General] flameinthefire:
I have locked hardware vibrant should I take the chance of installing clockwork. And flash rom's Cuz what if I get stuck in vibrant screen than I can't do anything. I bricked my last phone. By usin Odin by adb. It just froze on Odin after that there was no going back. So what should I do?
[Vibrant General] xplanowestx:
I personally have had no issues flashing at all. I do not have a locked vibrant but I've literally pulled the cable when in the middle of flashing with odin just to try to brick it, which thankfully I've had good luck thus far. However this is up to your discretion. If you feel competent enough to do it, then go for it. Otherwise if you feel that you'd rather not risk another brick then i'd step back.

Good Luck
[Android Software Development] Synestr:
Hello all, I am looking for speciffic coding assistance. I have been up for hours trying to figure it out and am having no luck.

I have recently created an Analog clock that I would like to include with a theme I have made. However I am running into an issue with the clock not launching the alarms when pressed. Clock looks and works great, just nothing happens when pressing the clock.

This is what my code looks like as of now:

MYPACKAGENAME

public void onReceive(Context context, Intent intent)
{
String action = intent.getAction();
if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action))
{
RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.customwidget);

Intent AlarmClockIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER).setComponent(new ComponentName("com.google.android.deskclock", "com.google.android.deskclock.DeskClock"));
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, AlarmClockIntent, 0);
views.setOnClickPendingIntent(R.id.Widget, pendingIntent);

AppWidgetManager.getInstance(context).updateAppWidget(intent.getIntArrayExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS), views);
}
}

Deskclock is the correct one to use right, due to being in 2.2 and all? What am I missing or doing wrong?

All I want it to do is launch the alarms when pressed.....

Any help is appreciated!

Syn

edited coz i forgot to hit code snippet....
[Desire Q&A, Help & Troubleshooting] mr_rx7_:
Hi all,

I've noticed the Power Control Widget (PCW) from OpenDesire 4.0.4 offers more toggles and an options page, but the PCW in LeeDroid 2.1 doesn't.

I really want the "proper" 2G only/2G+3G toggle and so far, only the PCW from OD has it. Every other widget set I've tried only gives me a shortcut to the mobile network settings page, and the PCW widget from LeeDroid doesn't have that the toggle/shortcut at all.

Is there a way to copy the widget from OD to LeeDroid?
[Desire Q&A, Help & Troubleshooting] jshields:
Not at the moment or probably never
[Droid Eris Android Development] Peter234:
Seriously.

What is is the advantage of the cache2cach? One I know: the easy switch between various ROMs and to Froyo. Other than that?

It boils down to this: Is the internal storage of the phone different from the SD card? I *think* both are built on the same technology, so they should not be different as far as reliability is concerned. (limited number of write cycles...)

Any thoughts?

Peter

PS.;: X-posted to Eris' All things Root...
[Droid Eris Android Development] roirraW "edor" ehT:
Nice to meet you, Seriously, let me be Frank. :D

The phone's internal memory is faster than the SD card, at least the stock Class 2 8GB SD card. I still had to move the Apps2SD because of the number/size of the Apps I have, but having the Dalvik in the cache partition has been noticeably faster than when I had it on the SD card.

Otherwise, another advantage of the cache2cache is that with moving the Dalvik to the cache partition, as long as you don't have quite as many Apps as I do, then doing this frees up a LOT of internal memory that can now be used for Apps. Again, the internal phone memory is faster than the stock SD card.

It can also be argued what exactly the quality of the stock SD card is, given that they cheaply went the Class 2 route. But at least it's something.

If you research different flash devices (whether thumb drives or Solid-State Disks), look at reviews or such, you'll find that there's many differences in quality of flash technology.

When I buy a 8GB micro-SD card at Micro Center for less than $10, it's lower quality (and slower) than at least some cards that cost over $30.
[Droid Eris Android Development] Hungry Man:
Internal memory is faster than external... I see no reason to put all of your apps on the SD, I really don't get putting your cache on it, which should be as fast as possible.
[Droid Eris Android Development] doogald:
FWIW, I don't use apps2sd or cache2sd myself (I am running KF right now), but I tested my class 6 SD card today, and it is [edit] slightly [/edit] faster than internal NAND at both reads and writes.
[Droid Eris Android Development] roirraW "edor" ehT:
Cool, good to know!
[Droid Eris Android Development] suppliesidejesus:
So, wait a moment, where is the dalvik cache relocated to with cache2cache?
[Droid Eris Android Development] Psygno:
Is cache2cache something that froyo roms could use?
[Droid Eris Android Development] roirraW "edor" ehT:
In the Cache partition, which normally (without having Dalvik there) is at the most 5% full out of 130MB available. Normally, Dalvik is in the regular, internal phone memory.

This is my understanding.
[Droid Eris Android Development] zach.xtr:
Following is a list of points that guided me in creating cache2cache as a feature:

* Cache2cache is just cool :cool: and being cool is fun!

* Internal memory is more stable than the sd card

* For most internal memory is faster as we have not invested in a class 6 or better SD card

* As a DBA in a past life it REALLY bugs me when disk space is not used effectively and I noticed (for whatever reason) HTC did not make use of the /cache/ file block (partition) on our phones. a 125MB + space is A LOT at over 1/5 of our phones total ROM space

* you can run the report_system_settings GScripts on any of my ROMs or the following code from adb to see what file blocks are on your phone

adb remount
adb shell busybox df -h

* Although I have not taken the time to test, in other computer work I have done it is a good idea to separate the disk of the cache files (which get read A LOT) from your other system files for better I/O.

* Without cache2cache the /data/ file block fills up fast even with standard Apps2sd as the dalvick-cache files can get large

I have not reviewed how Froyo stores files but my guess is it will be very similar to CM 5.x in which case cache2cache will help some but CyanogenMod already writes the dalvik-cache for SYSTEM apps (only) to the /cache/ file block (this is what gave me the idea in the first place!). So redirecting the dalvik-cache of the market or (/data/ apps) to the /cache/ file block will help as you probably still have about 100mb + of unused space...

Can folks that are running Froyo please follow the instructions in this post and post the content of the file and we will see if cache2cache would help Froyo ;)

Have fun!
[Droid Eris Android Development] suppliesidejesus:
I come bearing the burden of knowledge!! Below you will find my pull of the partitions on the ROM. I'm running KaosFroyo v35. As you can see, my /cache/ partition is 30% used, so there is definitely 70% more space there to play with.

Filesystem Size Used Available Use% Mounted on

tmpfs 95.5M 12.0K 95.4M 0% /dev

tmpfs 95.5M 0 95.5M 0% /mnt/asec

/dev/block/mtdblock3 170.0M 113.8M 56.2M 67% /system

/dev/block/mtdblock5 159.5M 90.8M 68.7M 57% /data

/dev/block/mtdblock4 130.0M 38.4M 91.6M 30% /cache

/dev/block/vold/179:1

14.9G 7.0G 7.9G 47% /mnt/sdcard

/dev/block/vold/179:1

14.9G 7.0G 7.9G 47% /mnt/secure/asec

/dev/block/dm-0 3.1M 1.5M 1.6M 48% /mnt/asec/com.google.android.stardroid-1
[Droid Eris Android Development] zach.xtr:
okay nice!

So how do these numbers change as you load more market apps on your phone? I would anticipate that the /cache/ value stay largely constant around 38.4M?

Also can you produce an output file of the "ls" command for the /cache/dalvik-cache/ directory and post as an attachment?
[Droid Eris Android Development] dbnaruto:
So can I install cache2cache or does it need to be built into the ROM?
[Droid Eris Android Development] Atamagaokashii:
It needs to be built in at this point. Only xtrRom and xtrSense have it right now, since zach is the one that wrote the code.
[Droid Eris Android Development] tenzomonk:
actually, if you use a2sd v2.7.5.1 (.2) you can use cache2cache.

adb remount

adb shell

a2sd cachepart

phone will reboot... pull battery, boot into recovery, wipe dalvik. restart... and you're good to go :)

-----------------------------------------------------------

adb remount

adb shell

a2sd cachepartreset

Same as cachepart above, but erases the contents of the dalvik-cache after move. This performs both the a2sd cachepart and a2sd resetcache all in one command.

File removed: /data/.dalvikcache

http://xdaforums.com/showpost.php?p=7021609&postcount=5
[Galaxy S I9000 Q&A, Help & Troubleshooting] shivankit:
I do not understand why is samsung trying to be smart and using the RFS file system instead of the more popular YAFFS2 system. Can we have a fix that uses the YAFFS2 file system instead of this ****ty RFS system. I think that will unlock the real potential of the phone.
[Galaxy S I9000 Q&A, Help & Troubleshooting] tylerham:
AFAIK, YAFFS2 requires a lower level of access to the flash chip then is (currently?) possible with the Samsung chip in the phone.
[Galaxy S I9000 Q&A, Help & Troubleshooting] shivankit:
Surely that cannot be a limiting factor for long. After all it is just coding and not a hardware limitation so if YAFFS2 can work on other Cortex A8 based processors then it can on the hummingbird as well init?
[Galaxy S I9000 Q&A, Help & Troubleshooting] tylerham:
It's the actual hardware interface to the Samsung brand flash chip in the phone, not the processor.

Better info than I can provide:

http://xdaforums.com/showthread.php?p=7793762&highlight=yaffs2#post7793762

http://xdaforums.com/showthread.php?p=7802488&highlight=yaffs2#post7802488

http://xdaforums.com/showthread.php?p=8023161&highlight=yaffs2#post8023161
[Galaxy S I9000 Q&A, Help & Troubleshooting] Aery:
I hope when Samsung releases 2.2 Sources anyone will be able to port the whole firmware to another filesystem.
[Galaxy S I9000 Q&A, Help & Troubleshooting] shivankit:
Right got it :) thanks for that Tyler. So seems like it will take more time till someone can figure out how to do it.
[G2 and Desire Z Q&A, Help & Troubleshooting] Anderdroid:
Which phone has more power in the CPU and GPU combined?
[G2 and Desire Z Q&A, Help & Troubleshooting] androidtoy09:
Nobody can answer your question creditably, yet.

I’m not sure if you’re trying to bring up another debate about Vibrant vs G2 thread on purpose or unintentionally but provided you have a Vibrant, I can guess that you are in-secure about your Vibrant
[G2 and Desire Z Q&A, Help & Troubleshooting] sheek360:
im sure the gpu in the galaxy s is unmatched,

as far as the processor goes; im not sure... my $ is on the hummingbird lol
[G2 and Desire Z Q&A, Help & Troubleshooting] Superfrag:
I have a feeling both will tie out. In real world scenarios, I don't think any of them will be noticeably better. Of course, I can be wrong, all we can do is wait for the phone to come out.
[G2 and Desire Z Q&A, Help & Troubleshooting] atlp99:
While we are all guessing,

I would say that the CPUs are probably a draw between the Hummingbird in the Galaxy S and the Scorpion in the G2.

The GPU in the Galaxy S is most likely a little bit more powerful than the GPU in the G2.

The real question is what will the real world performance difference be?

Will the performance advantages of 2.2 be big enough to make the G2 perform better than the Galaxy running 2.1 (my guess is it will). Also how much performance will be noticeable in daily use? The app drawer opens quicker on the Mytouch Slide than on the Vibrant, even though the Vibrant hardware is more powerful.
[G2 and Desire Z Q&A, Help & Troubleshooting] vdub804:
its all in the drivers, specs wise the vibrant is more powerful but samsumg sucks when it comes to compiling for android, my bet is the htc vision will be way faster just because they know how to utilize the hardware
[G2 and Desire Z Q&A, Help & Troubleshooting] Superfrag:
Hmmm, that does make a lot of sense.. Similar to manufacturers optimizing drivers for desktop hardware..

Typos and other gibberish courtesy of Swype via Vibrant.
[G2 and Desire Z Q&A, Help & Troubleshooting] sheek360:
just played with an oc'd vibrant with the lag fix

omfg it smokes! its super responsive too
[G2 and Desire Z Q&A, Help & Troubleshooting] tubaking182:
yes but it's not fair to compare that to a stock G2, if you wanna compare phones you have to compare them on the same level(STOCK) if not then you are comparing apples and oranges.

you can't say that the vibrant is faster because you overclocked the processor and applied a lag fix but then left the G2 running 80MHz on stock firmware. i will bet that on stock firmware G2 will win because HTC has always made better phones, and the GPU isn't being wasted on that pretty screen and is instead being used to do stuff people care about(not lagging out on minor apps). wait till the phone comes out and compare them side by side while running stock on both
[G2 and Desire Z Q&A, Help & Troubleshooting] Superfrag:
Yup, I'm pretty sure that on Stock G2 will win.
[G2 and Desire Z Q&A, Help & Troubleshooting] sheek360:
wasnt comparing, just made an observation. Im sure there will be hell to pay once the g2 gets an OC
[G2 and Desire Z Q&A, Help & Troubleshooting] master.peterm:
and if you overclock it to 1.2 GHZ it will kill the noobingbird processor :P

GPU proformence..... huming bird probably barrrrrrrrrreeely works, although touchwiz may take some performance out
[G2 and Desire Z Q&A, Help & Troubleshooting] sheek360:
With jit enabled on 2.2.... I doubt anyone can really see a diff
[G2 and Desire Z Q&A, Help & Troubleshooting] silverton:
But the Vibrant comes pre-loaded with Avatar!! :O

No but really, I returned my Vibrant and am waiting for the G2 to hit the shelves.

I had my vibrant running a vanilla android rom and I loved how big the screen was, but I didn't like how much like an iPhone it was, so I bricked it (accidently) and took it back and the silly GPS issues of course, ugh, that was irritating!
[G2 and Desire Z Q&A, Help & Troubleshooting] ddrum2000:
Although I agree with you about the apples to oranges comparison, it is still a valid comparison because the Vibrant comes out of the box with TouchWiz and the G2 comes out of the box with vanilla android. Probably the most interesting comparison would be:

-Vibrant w/ TouchWiz (out of the box)

-Vibrant w/ vanilla (custom ROM of your choice)

-G2 w/ vanilla (T-mo's build)

-G2 w/ vanilla (custom ROM but the same one as for Vibrant, for example Cyanogen on both)
[G2 and Desire Z Q&A, Help & Troubleshooting] tubaking182:
but since cyanogenMOD is not on vibrant(and no one really knows when it will be) and we know it will hit the G2 we can't do a fair comparison yet, since your normal everyday tmo customer is not going to root the phone, they would be comparing it as stock out of the box vibrant vs. stock out of the box G2. i still think that since the G2 will run vanilla android vs. touchwiz the G2 will win, especially since the GPU won't be taxed as hard trying to power that overkill of a screen on the vibrant. 3.7 inch lcd screen is more than enough for me 4.0 SAMOLED is a bit overkill, step down the SAMOLED to SLCD and it would be ok.

i also believe that 4.3 inches is freaking huge for a screen and there is no need for it.

back on topic though we will find out in what 2 weeks? i think we can wait just a little longer
[G2 and Desire Z Q&A, Help & Troubleshooting] Anderdroid:
Hey we aren't every day users. We're XDA users. So... This is about us, not 'them' :p
[G2 and Desire Z Q&A, Help & Troubleshooting] ImSoHungry:
Ok, I am in a dilema...

I had the N1, I switched to Sprint for the Epic because I wanted a nice android phone with a qwerty. Now Tmo decides to introduce the G2, and now I am stuck trying to decide between the Epic and the G2. I have until Thursday to return the Epic if I decide to switch to the G2.....

HELP!
[G2 and Desire Z Q&A, Help & Troubleshooting] Superfrag:
IMO, G2. Has more internal memory as well.
[G2 and Desire Z Q&A, Help & Troubleshooting] greengoldmello:
im in a similar situation, but its not a dilemma really, because the epic has bad reception for sprint, and even worse for 4g. sprints 4g speeds barely scratch the speedtest speeds i got on my vibrant and n1, and i have to fight with it (hold it different ways, go outside, etc) to get it to keep a connection in an area to which sprints coverage map says has "indoor" 4g coverage. get the g2, sprints 4g network is so far a joke.
[G2 and Desire Z Q&A, Help & Troubleshooting] dabezt1:
Raw numbers the Vibrant probably has the edge, specially its GPU. But real world performance would be to close to even notice the difference, just like with all the new highend phones.

The main factor in choosing between the two comes down to one being a larger and slimmer touchscreen only phone, vs the slightly smaller and bulkier phone with a good physical keyboard. All personal preference. And HSPA+ only makes a difference to some depending on location. Besides most tmo users dont really care or know enough of vanilla android. Why do you think the sidekick was so big when it was out. That OS was ****.

Its gonna be awesome when hspa+ gets to tucson later this year, but ive never been a keyboard guy.
[G2 and Desire Z Q&A, Help & Troubleshooting] ericc191:
I think the G2 will feel faster. TouchWiz or whatever it's called really bogs down on my mom's Vibrant. Now, when the Vibrant gets 2.2, things might change. We also have to factor in the fact that the G2 will have kernels galore (thanks to the amount of developer support it should receive.) Ranging from 800-1100, I suspect.
[G2 and Desire Z Q&A, Help & Troubleshooting] ImSoHungry:
I decided to get the G2, I'm returning the epic tomorrow after work. Ill use my N1 until the G2 is out since I doubt there are preorders left. Now the question is how do I get it for the new contract price if I am on the everything + plan? If I have to switch to a contract then I will just get the 450 one, especially since I won't get the 15% military discount from Tmo :-(
[G2 and Desire Z Q&A, Help & Troubleshooting] theclueless:
raw power, i must say hummingbird beats the current snapdragon with adreno 205...

software optimization, snapdragon utilization is unmatched
[G2 and Desire Z Q&A, Help & Troubleshooting] tubaking182:
why wouldn't you get the discount? if you went to a contract plan you would get a discount on the plan just not the phone. i know they offer military discount but i do not know how much it is
[G2 and Desire Z Q&A, Help & Troubleshooting] Anderdroid:
Honestly.... I've gotten used to touch only. So I'm keeping my Vibrant. Also the newest Froyo ROM from Eugene is fully useable and AWESOME so ;). I've got Launcher2 on it and Touchwiz removed, this thing flies.

HOWEVER. IF I had to choose between a G2 and an Epic 4G, it would be the G2 hands down.

So Vibrant > All, G2 > Epic :P (IMO)

CM6 will be out eventually for the Vibrant. Can't beat the Vibrant's hardware or the SAMOLED. I also got my GF a Fascinate which is also gorgeous. I full flashed it to Cricket on their new $55 android plan. You'd be surprised how decent Cricket's 3g is. Faster than my Backflip on AT&T, according to tests. Lol!
[G2 and Desire Z Q&A, Help & Troubleshooting] Kubernetes:
Loving my Vibrant, but all of the top phones are equally snappy at this point. I imagine you'll barely be able to tell the difference between a Vibrant and a G2 in normal day-to-day use. Yeah, benchmarking will tell us all, but in real life the difference is de minimus.
[G2 and Desire Z Q&A, Help & Troubleshooting] Jorsher:
An old post, but just to stifle any misinformation -- screen size has nothing to do with GPU utilization. The resolution is what matters, and both screens are 480x800. A mile-wide screen wouldn't tax the GPU any harder if it was still 480x800.

Anyway --

As far as performance:

GPU: Vibrant > G2

The CPU, I don't know. Are there any CPU-only benchmarks of the two?

Between the two, G2 would probably feel faster since it doesn't have any skins.
[G2 and Desire Z Q&A, Help & Troubleshooting] lviv73:
I have Epic and I gotta say its loads apps fast but my Mts3g was way smoother,i think its because Epic only has 324mb ram(rest is used for cache) thats why it lags a bit,but yeah samsung needs to code **** better and drop their rfs file system.
[EVO 4G Q&A, Help & Troubleshooting] jjarn:
im new to this so im trying to figure out all this stuff. i recently rooted my phone using unrevoked, i believe i did it right but who knows. can someone please let me know the advantages and disadvantages of using unrevoked or another rooting tool im just looking to speed up my phone remove the lag remove some of the sprint apps and able to get some cool apps on my phone any help will be greatly appreciated
[EVO 4G Q&A, Help & Troubleshooting] rugedraw:
The older method of Unrevoked was known to break 4G for some people. I don't know, because I've never used it, but I haven't heard any complaints from the people using the new Unrevoked.

To check if you phone is rooted properly, simply download the Superuser from the market and install it (you may already have it if it came on the rom you installed). If you do have, download shootme from the market and see if it allows you to take a screen shot of your phone. If it does, you're rooted.

What I don't understand, is why would you root the phone if you don't know what rooting does or what it can do for you.
[EVO 4G Q&A, Help & Troubleshooting] jonnybrx:
I like the unrevoked root as it is easy to do and easy to remove.

The best part of rooting for me is installing custom roms and getting rid of the bloatware from sprint. Also by installing one of the new custom roms you will get the new leaked HTC OTA update (thanks to flipz) which makes the EVO a lot more usable because you actually get decent battery.

Wifi tether and quickboot are nice too.

Go try a new rom with some interesting additions like bakedsnack or vaelpack and you'll soon get the hang of it. First thing you need to do is install a custom recovery. You can use clockwork or amon ra, but I've had a few problems with clockwork so I would recommend amon ra. Either of these let you install custom roms and do nandroid backups.
[EVO 4G Q&A, Help & Troubleshooting] jjarn:
thanks to both of yall i did properly root my phone a friend told me about it i looked it up and being the person i am i had to do it lol ill learn the more advanced stuff as i go could either one of yall tell me the best place to get roms and kernals i know i would like to enhance the performance of my phone and remove stock sprint apps
[EVO 4G Q&A, Help & Troubleshooting] dom085:
Best place to get roms and kernels would be under the development forums on this website.

They are specific to the phone (ie you likely cannot run a Desire rom on your EVO).

Always backup your nand with whatever recovery image your using before flashing new stuff, that way you can always get back to where you were if you screw something up.
[EVO 4G Q&A, Help & Troubleshooting] NYCHitman1:
Is anyone (besides myself) having issues downloading or installing apps from the Market? :confused:

I'm using Fresh 3.2 w/ the stock kernel
[EVO 4G Q&A, Help & Troubleshooting] _MetalHead_:
I have major problems with the market. One work around that I figured out and hopefully it will work for you too is to start your market downloads (they get hung up, right?) and then go into fresh updater and download something. I usually just download the Fresh Updater Fix over and over. The download from fresh updater triggers the market download to start. It works for me EVERY time.
[EVO 4G Q&A, Help & Troubleshooting] Pbrussell:
what if your not on a fresh rom?