yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] xanthinealkaloid:
Check this out

How funny is this?...I'm looking around XDA for info on date formatting, and I stumble across this post JsChiSurf over in the EVO 4G forums.

http://xdaforums.com/showpost.php?p=11753928&postcount=187

It's so simple...I'm far to new to this smali stuff, so I had no idea this method of manipulating the string would work.

Anyhow, I manually merge the appropriate changes into our StatusBarPolicy.smali, then created a diff for ya'll to see the changes.

--- StatusBarPolicy.smali.orig	2011-08-14 15:19:35.000000000 -0500
+++ StatusBarPolicy.smali	2011-08-14 15:29:04.000000000 -0500
@@ -4919,7 +4919,7 @@
.end method

.method private final updateClock()V
- .registers 5
+ .locals 6

.prologue
.line 889
@@ -4948,6 +4948,22 @@

invoke-virtual {v1, v2}, Ljava/text/DateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

+ move-result-object v1
+
+ const-string v4, " PM"
+
+ const-string v5, ""
+
+ invoke-virtual {v1, v4, v5}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
+
+ move-result-object v1
+
+ const-string v4, " AM"
+
+ const-string v5, ""
+
+ invoke-virtual {v1, v4, v5}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
+
move-result-object v1

iput-object v1, v0, Lcom/android/server/status/IconData;->text:Ljava/lang/CharSequence;

This is certainly the most direct way to do it by totally removing the am/pm indicator....Thanks, JsChiSurf!!!
[Epic 4G Android Development] TheManii:
Code diff seems to work perfectly, i'll do a code analysis in psuedocode soon and explain what the code does, but basically it does (one of the two ways) what i expected needed to get done;

Basically it:

get formatted date from java/text/dateformat and shove it into string1

shove it into a tempory string2

make temporary string2 with " AM" and temporary string 3 with ""

calls the replacecharsequence(string1, string2, string3)

which does "for every time it sees string2 inside string one, replace it with string3"

and does the entire thing again for PM

it seems to work perfectly with 12/24h clock just like on GB, no messy moving the entire statusbar rightwards
[Captivate Q&A, Help & Troubleshooting] groovydude1981:
I just switched to the samsung captivate (build number:ECLAIR.UXJI2) after being an iphone user for years. I put in every mod in that i could, unlocked it, & jailbroke it as much as humanly possible. Android is totally new to me. I have sucessfully rooted my device, but have no idea how to unlock the nand protection in order to install busy box so that I can install certan apps and utilities. My other problem is that I dont know what nand is, what busybox is, or what they do. I'm unfemilliar with the android terms as well and what they do, sush as flash, rom, ect.

I put 20 hrs of research in, in the last 3 days on line, and all i got done was a root.

I know im asking alot, but i can return the favors of android info with iphone info.

Thanks in advance to who ever helps me.
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Did you download busy box app from market?

Busy box is a set of commands that many root programs utilize
[Captivate Q&A, Help & Troubleshooting] diablo009:
After u root:

1. Go to market and search for busybox and install it.

2. Open busy box, and follow the steps in it install the required commands.

You should be good now.
[Captivate Q&A, Help & Troubleshooting] diablo009:
@mcord11758: * one more collision * :)
[Captivate Q&A, Help & Troubleshooting] mcord11758:
We are in sync
[Captivate Q&A, Help & Troubleshooting] diablo009:
oops. wrong word. u sure know how to phrase ur sentences. r u in any business/management role?
[Captivate Q&A, Help & Troubleshooting] mcord11758:
I am in sales, but my educational background Is business
[Captivate Q&A, Help & Troubleshooting] ridethelight:
Wow, I had my phone rooted and flashed within an hour of even learning what it all was.

Video tutorials are the best way to learn the basics, and once you have a grasp of what youre doing written instructions become easier to understand.

I recommend watching as many ROM review and install videos as possible, make sure to watch them more than once and while youre actually doing the steps.
[Captivate Q&A, Help & Troubleshooting] groovydude1981:
thanks for the quick responce

I did download busybox from the market, but it tells me that everything is unavailable, and that my phone is rooted but my nand protection is still on. Plus busybox tells me that it can't find itself, whatever that means. lol

Pls let me know how to correct this.

By the way I used super 1 click 1.6.3 to root my device.

Thanks ppl your all awsome.
[Captivate Q&A, Help & Troubleshooting] groovydude1981:
I also watched lots of videos, but could not find anything specific to my device. What other device videos are compatible in content with my samsung captivate?

thanks again.
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Did you click install in busy box?
[Captivate Q&A, Help & Troubleshooting] groovydude1981:
I dont know why but Itried busy box again and it installed. Now i think I just need nand protection removed andthe on click lag fix installed. it still wont install
[Captivate Q&A, Help & Troubleshooting] mcord11758:
I would not use one click lash fix, but that is just me. If you want a lag fix consider a custom rom. One click lag fix is obsolete
[Captivate Q&A, Help & Troubleshooting] groovydude1981:
thanks for the heads up. I installed the one click lag fix for now. When i learn how to use custom roms, ill uninstall it and use an up to date rom.
[Captivate Q&A, Help & Troubleshooting] jlt220:
some help

This is probably a great place for you to start.

http://xdaforums.com/showthread.php?t=887525

there is a one click out there with root, unroot, and non market apps. i'm looking for it for you

EDIT

Here it is

http://xdaforums.com/showthread.php?t=803682

Also before doing too much i'd familiarize yourself with the ODIN one click and learn about it as well as download mode so you know how to fix a bricked phone, well a soft bricked one.
[Captivate Q&A, Help & Troubleshooting] groovydude1981:
I used super 1 click to root my phone, but anything you can send me is most appreciated. I will not be able to thank you enough.
[Captivate Q&A, Help & Troubleshooting] SNadler:
Try rooting again with Galaxy one click root.
[Captivate Q&A, Help & Troubleshooting] groovydude1981:
What will galaxy one click do for me that super one click wont?
[Captivate Q&A, Help & Troubleshooting] avgjoegeek:
They both essentially do the same thing. After your phone has been rooted you need to see if you can find the Super User app. It should be installed on your phone.

I've meant to update the Q&A sticky with what versions are easy to root.. so I apologize for not having it there. :rolleyes:

When you install anything that requires root access (hence why your phone is rooted to begin with ;) ) you would get a pop up requesting to have that application gain root access.

But.. there are only a few 3rd party apps that require root access if your not going to flash a custom ROM.

Titanium Backup btw will install the latest version of BusyBox for you - it is a highly used application to backup your system and applications for your phone.

Another highly used application is ROM Manager (used for flashing ROMs)

I would highly suggest you get familiar with how you restore your phone back to stock - then check out teh sticky under the dev forum on how to flash a custom ROM.

Then your on your way to becoming a fellow flash junky :)
[Legend General] abhishek_turbo911:
htc legend connects to particular kind of hotspot type in my university. The thing about this is tha , we have to enter login id and password given to us before we can actually start accessing the net.

So , my legend connects but it does not load anything not even the log in page, here are the screen shots
[Legend General] marclh1992:
What ROM are you using and what WiFi is it? Look in your wireless settings. By the sound of it, it is 802.1X which I have trouble with on blay0's ROM.
[Legend General] abhishek_turbo911:
Its this rom - Superuser,Keep It Simple ...

http://xdaforums.com/showthread.php?t=811776

I dont really think its the problem with the ROM.
[Legend General] vip333:
hmmm

i've noticed a week wifi signal after installing cyanogenmod 6.1 dunno why is like that..

before when i had stocked rom wifi was running better thougt
[Legend General] abhishek_turbo911:
I dont think its with the signal range. Because ive stood under the router and the signal shows full. Its something else. Please help me out.
[Legend General] jo3bar:
Try in settings / wireless / wi-fi parameters

select your hotspot and in the window select forget

select a new time your hotspot and it should open the log in page.

I had similar problem with my box: connected but no internet access and this trick solve it.
[Legend General] abhishek_turbo911:
^ Tried that. It doesnt work. Erm, tell me how can i help you to get more details about the network ? Basically its a 802.11 g network.

Its not the problem with ONLY my legend. Its with all Legends. The BB Torch , for instance works with the wifi.

Its not the problem with the ROM coz another friend of mine faces the sane problem though he is on original 2.2
[Legend General] abhishek_turbo911:
Com'on guys ! help me out !
[Legend General] abhishek_turbo911:
Any help at all guys ?????? :(
[Legend General] abhishek_turbo911:
Still no reply ???
[Legend General] whitetigerdk:
Go to the network administrator.. ask him/her to help.. the phone is not the problem..
[Legend General] abhishek_turbo911:
I'm BUMPING this thread , as I returned to my uni and the my hostel is changed , the laptop still connects but not my Legend. FYI , original ROM also does not connect.
[Legend General] abhishek_turbo911:
please help me out guys !!
[Legend General] buddy1986:
I' ve exactly your problem. I can't connect to the my town wifi hotspots. Opened a thread here: http://forum.cyanogenmod.com/topic/27909-problem-with-open-wifi-connections/ but still no reply.

Did you installed an app for wifi thether?
[Fascinate General] TheFake:
I have the Samsung Fascinate and I recently rooted it to get all the wonderful benefits that come with rooting.

I downloaded the leaked Froyo update, renamed it "update.zip" and put it in my sd card folder in order to update.

I then turned off my phone and pushed the power button plus the volume up and down until I got to the boot screen. I kept getting an error saying it couldn't verify the package (or something along those lines) and then it sent me to a screen with the triangle, exclamation point and the little droid guy.

I also tried using Rom Manager but the same thing happened.

I hear you are supposed to use Odin, but I am running on a mac and Odin is a windows application.

Please help me, I'm desperate to get the Froyo update on my device.

Thanks in advance.
[Fascinate General] kyfredrickson:
Yikes u didn't do any research at all did you?? U can't use Odin on Mac....and u need it. Do u even have cwm? Probably not since u didn't Odin. U need to Odin cwm...Make a backup...Odin eb01 modem...flash rom. Update.zip is not correct...u don't rename .zip roms...you flash them via cwm. Not trying to bash u....but you are way off...and getting help via forums will b tough.

You need to go to irc and be polite and find some help there. Someone should hopefully be able to help you...I will b on eventually.

sent from my vanilla voodoo fascinate
[Fascinate General] TheFake:
I did my research but if I'm not literate with how or what a CWM is or how to use it, that doesn't mean I didn't do my research.

But are you telling me I can't install the update without a windows computer?

I have access to one where I am but I would rather know all the steps before I get on someone else's computer and start trying to figure it out there.

I looked through all 50 or so pages of the Froyo leaked thread and I saw a few people who understood all these things, but if I don't understand and there isn't a tutorial it makes it harder for me to accomplish my goal.
[Fascinate General] kyfredrickson:
Can your phone boot up?

Someone varify my directions.

This might work if u can get into download mode. U need to find all the links urself since I'm on tapatalk.

First off...find a pc. Without one you can't do anything. Put ur eb01 rom on sdcard for later. Instal the 32 bit or 64 bit Samsung drivers depending on ur pc. For many..its the 32 bit. Then get Odin. U will need to find a link to cwm...if I'm not mistaking there is one on like the 2nd or 3rd page in android development section...will say updated cwmq for dj05 or dl09 or something like that. Find directions of how to use Odin...but simply place the cwm.tar file in the pda section on Odin...then click start. When that's done...u should make a backup...however...u may not b able to boot up because of what u have already done. U may try odining the eb01 modem. Once u have that done...hold up down and power to get I to your new updated cwm. From there click instal zip from sdcard...and flash ur eb01 rom of choice....wipe wipe wipe...reboot system.

Again...this may not work since I'm not possitive what u already did to ur phone by not doing your research. Like I already said...be polite and head over to irc. .someone will have more time than I do to fix ur phone.

sent from my vanilla voodoo fascinate
[Fascinate General] kyfredrickson:
You obviously didn't research. There is an eb01 walkthrough on fascinate development section...impossible to miss. If ur incompetent at following step by step directions u should not be Modding your phone. Seek help and knowledge before doing anything...u don't want a 600 dollar paper clip do you?

sent from my vanilla voodoo fascinate
[Fascinate General] RayKinStL:
How would you use it as a paper clip? A paper weight I see, but not a paper clip?!?!
[Fascinate General] jenisiz:
Not to be a ****...but the first thing you learn when reading is how to flash the modem using ODIN...so, yeah....

Since you've f'd up the phone already. Download the restore to stock files and odin. Go to someone with a PC and follow the restore directions to the T. DO NOT FALTER.
[Fascinate General] TheFake:
No, but I also don't see the need for the disrespectful way you are treating someone looking for help.

Not everyone out there is as "smart" as you may be with modding but that's what this forum is for. Questions and answers, not smartass replies that don't help at all.

I appreciate the other posters response because at least he gave me information with no attitude. If you want to help someone, help them, don't demean them and offer a little advice.
[Fascinate General] TheFake:
The phone is working fine, if not better than before. :)
[Fascinate General] Kevin Gossett:
Honestly, you haven't done anything to your phone yet, so it shouldn't be running any differently than it was before.

There is a way to push CWM using ADB and Terminal on a Mac, but you would still need Odin to flash the modem, so might as well do everything that way. Download this Odin package from Android Central, and flash that using the PDA box in Odin. After that, you can flash a different 2.2 ROM or theme if you like
[Fascinate General] TheFake:
The only thing I am having trouble with is how to "flash" something.
[Fascinate General] jenisiz:
Go to the Eb01 modem thread and read it. They will tell you how to "flash". You download the modem, plug in your phone, select PDA in ODIN and hit write or whatever...

It's as easy as reading and searching,

http://xdaforums.com/showthread.php?t=948679

Not searching for things will get you flamed, ignored and banned (If not reading the rules). The reason I suggested you flash back to complete stock is because until you know what flashing is, difference between a ROM and a Radio...you are in dangerous territory of bricking your phone.
[Fascinate General] thetodor:
Guys, I'm also new to this flashing thing, but I've used Odin before and have read all the steps in the EB01 thread. My question is: can I install EB01 on top of stock, unmodded EA28 (which is the latest Eclair from Verizon) without wiping my data? All sets of instructions I've read include wiping, wiping, wiping... But since the new ROM is supposedly signed with the same Samsung/Verizon key as my current ROM, why shouldn't I be able to just install it on top, without wiping my data?

Or is it that because the guy who posted the ROM actually modified it, it's no longer signed with the Samsung or Verizon key?

I searched, but didn't find. I think the answer to this may be relevant to the original poster of this thread too, that's why I'm posting here.
[Fascinate General] jenisiz:
It's always recommended to wipe. Those that don't are typically those who end up complaining about bad battery life, force close loops and utter suckageness...now flashing let's say super clean 2.0 to 2.2...that's fine bypassing the wipe, but imho that's the only exception.
[Fascinate General] Kaze105:
You can install without wiping (saying from experience) as long as you dont mind problems later. I had plenty of force close problems and widget problems when I didnt wipe data.

Most ROM here are modified, to help protect the person who leaked it.
[Fascinate General] thetodor:
Interesting. Do we know the cause of those problems? How come no such problems exist when you update OTA with a similar official build?

I'm a developer and it seems weird to me that if you're starting with a stock ROM and upgrading to another stock ROM, apps will have issues. Or are the issues due to the fact that the newer ROM is still buggy (and that's probably why they haven't officially released it yet)?

Also, it doesn't hurt to try, right? And if I do get problems, THEN I can just do a simple wipe and start off clean. But if I don't have huge problems, I don't have to go through the trouble of restoring all my apps and settings, logging into everything again, etc.
[Fascinate General] notoriousB:
it's not hard to restore apps/data, use titanium backup.

go ahead and try it without wiping, just do a full nandroid backup first. then if it sucks or you get funny errors you can revert really easily. I'd wipe with a major change like this, but if you're determined to try it there's really no big downside. just back up!

I ran EB01 over the weekend, didn't like a couple of things and was back up and running on DL09 in no time when I decided to switch back.
[Fascinate General] kyfredrickson:
Its recommended to wipe but I've seen it a lot where u OK not wiping... u can try without and it u get bootloop just do a wipe. Like posted...titanium backup is ur bff when I mod.

Also about the post about me being rude.. I gave u the info u need...just telling you to research. U said u did, and I pointed out u didn't. If your not going to take the time to learn what ur doing...then expect help ASAP...expect ppl to b a bit rude. Ppl are welcome to help...but if u do something dumb without research...expect people to tell you.

Glad u got it working ok

sent from my vanilla voodoo fascinate
[Fascinate General] thetodor:
Just FYI everyone, I was able to to install Froyo without wiping and everything works fine. (except that my home screen shortcuts and maybe even some of my settings got reset... which was one of the things I was trying to avoid... but whatever.). The only issue I've run into so far is that Google Maps hangs for many seconds every once in a while. But I reset its internal cache and it's better now. All other apps are working fine.
[Fascinate General] chronster:
umm "TheFake" is obviously a troll

nobody is that stupid, and his screen name gives it away
[Desire Q&A, Help & Troubleshooting] adixme:
Hey.. Iv been doing some movie watching on my desire and it seems pretty pathetic on cm7 for i have noticed that while trying to watch a movie on megavideo or similar sites the player seems to only buffer a few minutes before it stops and unlike on the computer does not continue to buffer unless you have watched till it buffered.. it gets very frustrating to wait for it to buffer for people with a slow connection like me :(.. iv tried most of the browsers available and the problem seems to be there on all browsers and mostly all builds.. does someone know of anyway to set the adobe flash player cache to SD card ?

P.S. Caching Dolphin HD and other browser to SD only caches webpage load on that not the

flash video

as iv checked the temp files cached on SD..:(

A Solution would be really great :) I am sure alot of us with slow old connections would benefit from it.
[Desire Q&A, Help & Troubleshooting] adixme:
any help please..?
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] chrisp7:
Does that mean I can use this number with my recently bought HD2?
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] TheOnly1:
Probably yes.
[Droid 2 Android Development] bigxie:
I especially need some feedback from Droid 2 users. The feedback from DX users has been good.

I'm curious as to how well the overclocking script works for D2, if it does, and the keyboard.

Toolbox functionality should be identical to the DX.

Thanks!
[Droid 2 Android Development] bwhite757:
Tried to install, returned error:

E:Failure at line 10:

set_perm_recursive 0 2000 0755 0755 SYSTEM:bin

Installation Aborted.

Any ideas?
[Droid 2 Android Development] bigxie:
Sounds like a corrupt download (or my upload corrupted)

I'll check the md5 in a few minutes and report back.

EDIT: here's the md5sum from my confirmed working file:

a7b30fffda622df749b50fcbf7356e35 Fabolous_ApeX_V1_4_0-D2.zip

I'll download a copy from my server to see if the upload corrupted.

EDIT2: oof, they don't match. Sorry, let me reupload!

OK, it's fixed now. Sorry about that!
[Droid 2 Android Development] dinofan01:
Okay every things been running fine except one thing. From the second I started up i kept getting failure reports for swype. Every four seconds it was saying it needed to be force closed. I had to uninstall it and reinstalling didnt help. Im guessing it has to do with the keyboard size change? Not sure really.
[Droid 2 Android Development] jdog94:
yup i tried to install swype and it just force closes
[Droid 2 Android Development] scarsofthumper:
Apparently if you move this to system/lib swype will work

http://fabdroid.com/goodies/libSwypeCore.so
[Droid 2 Android Development] dinofan01:
that worked! Im starting to getting general force closing issues though thats separate from swype.
[Droid 2 Android Development] jdog94:
this rom is running great nice work
[Droid 2 Android Development] scarsofthumper:
I'm a Liberty convert, and I absolutely LOVE this ROM.

Not all of us like pure vanilla and being able to take our favorite parts of Blur and mixing them with stock. Personally I like having the Blur widgets/messaging/gallery with the stock Car Home.

Kudos!
[Droid 2 Android Development] Abowersq:
So far so good. Coming from gummy jar, had issues with data throttling. Aggravated me so I'm trying this for a bit
[Droid 2 Android Development] Abowersq:
So just flashed back to 2.5 gummy jar. My dialer would not work. Would reset my radio connection every time i tried to pull it up to make a phone call.

Im just kinda irritated at that.

Other than that great rom. Wish i could stay with it, but gotta have the phone functioning.
[Droid 2 Android Development] xguntherc:
So this is basically a 2.2 build for DX/D2 that is vanilla, or as Moto Blurry as you'd like. With that powerful ApexToolbox that lets the user customize whatever he wants or liked? Right?
[Droid 2 Android Development] TheFirst&Last:
I'm coming from Fission just to try something different on my droid 2. It inst bad the only issues Ive had is that theirs no prediction for the hardware keyboard. I do enjoy some blur and I do like the balance. I just hate the whole issue with Facebook contact sync and blur contacts but other than that its a nice rom.
[Droid 2 Android Development] HerroMoto:
How do I get the 'Vega' notification ringer. If I ever move to another ROM is there anyway I can keep that ringer?