yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Gene Poole:
Yeah, that's weird. It works as you typed it in a regular linux shell, but the busybox on my android gives me the same error. Might be a bug in busybox, or perhaps the date parser in the busybox version is less tolerant on the date format. It may be a config option as well. I know that date/time parsing is very "expensive" in libc and perhaps busybox just doesn't implement it by default.
[Android Q&A, Help & Troubleshooting] die-hard:
10x bro,

I solved installing busybox 1.18.0 git
[Android Q&A, Help & Troubleshooting] mizch:
My busybox touch accepts dates in ISO format:
[Android Q&A, Help & Troubleshooting] memtew:
Hi

I have CM 10.1 with busybox 1.20.2-jb installed. Touch binary doenst have -d option:

1|shell@android:/sdcard $ touch --h
touch --h
touch: usage: touch [-alm] [-t time_t] <file>

-t option only accept date in unix timestamp format, but default format ( [[[[cc]yy]MM]dd]hhmm[.ss] ) needed for me.

Can anybody provide touch binary with -d option support or with -t option, that accept date in this format: [[[[cc]yy]MM]dd]hhmm[.ss]?

Second question:

shell@android:/ $ awk 'BEGIN {print mktime("1970-01-01 00 00 00")}' <
-5454000

Why awk return -5454000 instead 0?

I tried update busybox to 1.21.0 version, it doesnt help.
[Android Q&A, Help & Troubleshooting] scandiun:
Use the touch inside busybox, not the one that comes with the stock rom. Install Busybox from Stericson on your android device. It has also the -d option. You must run it as root, so check that you are superuser if using a script.

su
busybox touch -c -t YYYYMMDDHHMM[.ss] yourfile
[Android Q&A, Help & Troubleshooting] diabolyk:
hi,

i have the command working, but is it possible to keep the date and time of each file like "vid_yyyymmdd_hhmmss.mp4" to push it in the command for each file of the folder ?

Thanks.
[Android Q&A, Help & Troubleshooting] diabolyk34:
nobody to help ???
[Android Q&A, Help & Troubleshooting] scandiun:
You want to rename the files?
[Android Q&A, Help & Troubleshooting] diabolyk34:
no, just change the time of creation of the file
[Android Q&A, Help & Troubleshooting] scandiun:
Don't understand exactly what you want to do.
[Android Q&A, Help & Troubleshooting] diabolyk34:
I have found a command that working well but I should change the files one by one and I would like to find a command which is changing all videos files of a folder.

video name for example : vid_20170717_103251.mp4

need to extract date and time (in the name of the file) to put it in the command.

here the command which is working :

busybox touch -c -t 201707171032 *

and it changes all the files of the folder with the *...

I would like to extract the elements of the name from each file to give it its own date and time.
[Android Q&A, Help & Troubleshooting] scandiun:
Ok to do that you need a shell (bash) script. For example this code will get the date in the format you want, now you just need to read it from files and change the timestamp accordingly.

echo vid_20110717_103251.mp4 | sed 's/vid_*//' | sed 's;.mp4*;;' | sed 's/_//'

Test it online here: http://www.learnshell.org/
[Android Q&A, Help & Troubleshooting] diabolyk34:
ok thanks for your help, your code is well working

Is it possible to keep all without the seconds (last 2 digits before .mp4) ?

And after that it should put the result in the command 'busybox touch -c -t result name_of_the_file'

and how to repeat that for each file named 'vid_xxxx' ?

thanks a lot
[Android Q&A, Help & Troubleshooting] scandiun:
Go to the folder of the vids with "cd /sdcard/DCIM/Videos" or the appropriate and then execute this:

for i in * ; do touch -c -t "$(echo $i | sed 's/vid_*//' | sed 's;.mp4*;;' | sed 's/_//' | sed 's/..$//')" "$i" ; done

Make sure that in that folder there are only files that have the same exact filename pattern.
[Android Q&A, Help & Troubleshooting] diabolyk34:
in the folder there is img and videos but if i should put videos on a separate folder i can...

this code will do all i need ? (i think missing just "busybox" in the code)

extract the name of each file without seconds, put for each one the extraction in the command : busybox touch -c -t 201707181200 vid_20170718_120000.mp4 (for example of a file of today at 12 o'clock)
[Android Q&A, Help & Troubleshooting] scandiun:
This code will alter only files starting with vid:

for i in vid* ; do touch -c -t "$(echo $i | sed 's/vid_*//' | sed 's;.mp4*;;' | sed 's/_//' | sed 's/..$//')" "$i" ; done

You can try with or without busybox first and see which one works for you.
[Android Q&A, Help & Troubleshooting] diabolyk34:
thank you very much i will try this in an hour to send you the answer if it's working or not ;)

are you a developper ? cause it seems very hard to know all that...
[Android Q&A, Help & Troubleshooting] diabolyk34:
i have another question, is it possible to put 1 or 2 less than the hour because of GMT ?

201707172000 should be 201707171900...
[Android Q&A, Help & Troubleshooting] diabolyk34:
the answer of the command (not working) is :

touch: invalid date 'VID20170717_2000'

repeat for all lines....

i think it keep too many characters.

characters keeped should be 201707172000 (without "VID" and without "_")

how to delete that from the echo ?
[Android Q&A, Help & Troubleshooting] diabolyk34:
No idea for that ?
[Android Q&A, Help & Troubleshooting] diabolyk34:
Hi,

I have found this command to put less 100 (for hours) :

echo vid_20110717_103251.mp4 | sed 's/vid_*//' | sed 's;.mp4*;;' | sed 's/_//' | sed 's/..$//' | awk '$1-=100'

but now i need to do this for each file in the folder...
[Android Q&A, Help & Troubleshooting] scandiun:
Try this

for i in [Vv][Ii][Dd]_* ; do touch -c -t "$(echo $i | sed 's/vid_*//' | sed 's;.mp4*;;' | sed 's/_//' | sed 's/..$//')" "$i" ; done
[Android Q&A, Help & Troubleshooting] diabolyk34:
Hi,

Thanks for your answer.

the problem is not the term vid because i have put all files in a separate folder so i can use "for i in *"

the problem is the output which is with the term vid_xxxxx_xxxxx
[Android Q&A, Help & Troubleshooting] scandiun:
Don't understand.
[Android Q&A, Help & Troubleshooting] diabolyk34:
you don't understand why or you don't understand what is the problem ?

---------- Post added at 02:53 PM ---------- Previous post was at 02:10 PM ----------

??
[Android Q&A, Help & Troubleshooting] diabolyk34:
I have found the correct command and much more easy :

echo * | tr -d 'VID_.3gp'

now I will try to integrate it in the script to see if it's ok ;)

---------- Post added at 10:18 PM ---------- Previous post was at 09:42 PM ----------

ok

I have my command :

for i in * ; do busybox touch -c -t "$(echo $i | tr -d 'VID_' | sed 's/......$//')" "$i" ; done

and in order to remove 1 hour because of GMT I should had this :

for i in * ; do busybox touch -c -t "$(echo $i | tr -d 'VID_' | sed 's/......$//' | awk '$1-=100')" "$i" ; done

Many thanks for your help ;)

with your help i could search what i need to modify on forums and found the solutions ;)

:good:

---------- Post added at 10:37 PM ---------- Previous post was at 10:18 PM ----------

a last question,

how to integrated seconds ?

I understand that I should keep the last 2 digit before extension of file and put a "." before those last 2 digits (how to do that ?)

Also when I put the command with the awk for different GMT, the hour change after a few files, and change another time after few others... (it put GMT+1 or GMT+2 but don't know why)

thanks
[Android Q&A, Help & Troubleshooting] diabolyk34:
I have found the command to add the point before seconds so my line of command could keep seconds now and should be :

for i in * ; do busybox touch -c -t "$(echo $i | tr -d 'VID_' | sed 's/....$//' | awk '$1-=100' | sed 's/^\(.\{12\}\)/\1./')" "$i" ; done

for now, just missing a thing, why the time is laways changed as i says ???
[Android Q&A, Help & Troubleshooting] anmac1789@gmail.com:
Hi, how do I use touch on a folder in android from PC to set the original timestamps of a folder when copying a file inside because when copying a file inside a folder on android, the folder containing the newly copied file gets its timestamp updated
[Android Q&A, Help & Troubleshooting] diabolyk34:
Hi,

What an old topic 😲

Right now I'm using "Image & Video Date Fixer" and it works as a charm...

When file copied in another folder use it and you can give date and Time you want, or use the name of the file...

Have a nice day
[Atrix 4G General] RPK925:
Ever since got.my Atrix I was seeing very disappointing download speeds from speedtest.net anywhere from .9mbps to 3.5 mbps. But never into the 4mbps range. But tonite Iam seeing consistant speeds of 4.5-5mbps. I live income the Bay Area near San Francisco. maybe there is hope. This might just be a coinsidence but I was also able to download the Blockbuster app, though it is not fully working right now, but before tonight I was not even able to download it from the Market.
[Atrix 4G General] gnoW:
does the bay area have 4G yet? or H+?

I know Tampa is going to take a while to get 4g :/
[Atrix 4G General] PixoNova:
Think he's talking about San Francisco. XD I live in Tampa myself and am eagerly awaiting HSUPA. I heard Orlando airport is getting it though.
[Atrix 4G General] ytwytw:
Toronto has 42Mbps HSPA+ here :D

but download is still only 5mbps, upload is sadly 200kbps......
[Atrix 4G General] killster:
still poop 1.5 and 250k here in harrisburg PA..

just sayin...

/me hugs inspire running cm7 w/ fast interwebz speed.

I will be honest, i like the atrix more, i really do, and if Att got with the program and gave me speeds i want and pay for, the inspire would be for sale in my signature, and not the atrix... just sayin

killster
[Atrix 4G General] nickgto:
3278kbps download / 321kbps upload here in Los Angeles CA 90016
[Atrix 4G General] RPK925:
I haven't found one single att affiliated person that can give me a straight up answer on hspa+ or 4G anywhere! Either they will tell you that " oh yes hspa+ is available in your area now, or they have no idea about the release date about anything. The straighest answer I " think" I got, ( I don't trust a single thing att says to me anymore) was from a second tier tech support rep who said that mid 2011 4G would be available in certain areas. He said he had no idea where it would be since there is no map. He also told me att should not even be selling 4G phones now at all.
[myTouch 3G, Magic General] aris_prast1:
I have a HTC Magic 32 A. Cupcake 1.5 ... I want to upgrade to enclair or etc.....

How is the most complete tutorial ..............

My HP Version

SAPPHIRE PVT ENG 32A H S-OFF

HBOOT-1.33.2010 (SAPP10000)

CPLD-12

RADIO-3.22.20.17

Jun 2, 2009, 17:27:03

That match the details of the above, life is what??? Along with the tutorial. Because I saw another forum .... different version of boot so I do not dare to upgrade ............

Please...............

Please Help .....
[myTouch 3G, Magic General] DonJuan692006:
Click me.

10character
[myTouch 3G, Magic General] aris_prast1:
Thanks................
[LG Optimus 2x] FormelLMS:
Hey Optimus 2x Fans,

I've ported my GlasStatusbar for the optimus 2x. It looks very well on the normal MCR rom.

You can try it on other roms, but I don't know, if it works well.

Please make a nandroid backup before.

​

How To

Download the update.zip file below

Put it in /SD_ext/"anyFolderyouwant"

Reboot to recovery

Wipe Cache

Wipe Dalvik Cache

Install the zip file

reboot

ready

It contains

- GlasStatusbar

- Nicer Battery

- Tweaked pulldown menu

- custom transition animations

The Widget in the app drawer is widgetsoid.

HELP!!!!

When your phone doesn't boot or you want to go back to your stock look, you can easily reflash your rom file without wiping

It looks very cool.

Download

http://dl.dropbox.com/u/7886087/Optimus Speed/GlasStatusBar.zip
[LG Optimus 2x] FormelLMS:
reserved for changelog
[LG Optimus 2x] goofy584:
hold the home button on press power button

:)
[LG Optimus 2x] donny-t:
picture

picture please?
[LG Optimus 2x] FormelLMS:
Ah, cool feature, thank you!!!

I will add now the Images.
[LG Optimus 2x] donny-t:
nice

nice!!!!

thanks for the pictures.
[LG Optimus 2x] Gilg@mesh:
Possible to add battery percentage?
[LG Optimus 2x] FormelLMS:
Then we have to use another framework-res.apk. Shure, this will work^^

Look, theming an existing (I've done that for HTC Hero and Nexus One before, can't live without a glass Statusbar) thing is really simple.

Everything in this "Theme" is in the framework-res.apk, like the battery percentage mod is, too.

It could be, that there are problems on other MCR Versions. Paul has so many options in his kitchen, so I can't put this on every version and so one.

What I can do is a zip file which contains the folder with the replaced icons and a zip file with a working update script.

All, what the users have to do is extracting their own framework-res.apk out of their downloaded rom, open it with 7zip (or similar) and put this icons in it. Then put the patched framework-res.apk in the update.zip and flash it.

Sounds bad but is really easy.

Is this an option for you?
[LG Optimus 2x] Gilg@mesh:
Yes no problem, I can try that :)

edit: I flashed this, worked, but my toggle buttons is gone (wifi,bluetooth etc) and would it be possible to make the "slide down" black instead of white? :)
[LG Optimus 2x] FormelLMS:
These are the Iocns for the Theme:

http://dl.dropbox.com/u/7886087/Optimus Speed/framework-res.zip

I think, you must delete my Battery Icons for your work.

EDIT:

Yes, thats what I've expected from Pauls Kitchen.

Mine doesn't have the toggles.

You must do, what I have written before.

Open your framework-res with 7zip and copy the icons to the correct folders.

Now put your framework-res.apk in the update.zip and reflash. Problems gone.

So we can easily make it possible for every rom and kitchen version^^

EDIT2:

Black Version. Look into the folder, there are only a few icons. You can see the file and change it with another in the colour you want.

But transparency doesn't work there.
[LG Optimus 2x] ezangrando:
Did you added transition animation??:confused:
[LG Optimus 2x] FormelLMS:
Whoops, forgotten that. Yes, I have.

Nice, isn't it?
[LG Optimus 2x] mrhtml:
Figured it out myself :)
[LG Optimus 2x] ezangrando:
Yes nice =) just one i loved on nexus is missing, the one that flip from a side when you open the widgets/wallpapers etc menu on launcher :D
[LG Optimus 2x] Ekkis:
IS it meant to be like this ?

Hi,

I flashed your them and everything works fine. but when im on the lockscreen i can see my whole background image under the statusbar but when im in startscreen the statusbar is black.....

How can i change it ? is it possible ?

//Ekkis
[LG Optimus 2x] FormelLMS:
You are on Launcher Pro, right?

Sorry, Fede doesn't have an uncheck for wallpaper hack, like ADW Launcher has.

This problem is only with Launcher Pro and static wallpapers.

Two workarounds:

1. Use ADW Launcher

2. Use Launcher Pro, install "Shake them all" Livewallpaper, activate this and choose your static wallpaper as background of "Shake them all"

I prefer first^^
[LG Optimus 2x] otto_di2:
Black time in statusbar :-S

Hello everyone.

coming from a ROM with standard ASOP screen, and the time in statusbar is black? can I change that somewere?

/Otto
[LG Optimus 2x] FormelLMS:
I will make a how-to, that everyone can do his own framework-res, so that everyone can use the theme with every rom.

About the black clock:

I can try to patch it with Colour Changer. Anyone tried this with 2x?

It is because you are not on the stock themed MoDaCo Rom, right?
[LG Optimus 2x] Ekkis:
Thanks ! :)
[LG Optimus 2x] otto_di2:
That it right, I am on a another ROM and that is why it is black.

/Otto
[LG Optimus 2x] Bigpsy:
Can you tell me the way how to modify the transparency of statusbar? I think changing images are not enough...
[LG Optimus 2x] rori~:
...it´s enough (in Froyo) :)
[LG Optimus 2x] Bigpsy:
can u tell me which image files do i have to modify to make statusbar transparent? I tried many times but black background color was not changed.
[LG Optimus 2x] yoel740:
Very nice theme

Thx !!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] EgoMaximus:
Hey guys.

Is there any known eta on Android 2.4 for HD2? As it looks like Desire S already has 2.4 pre-installed

http://www.phbeta.com/htc/htc-desire-s-android-smartphone-available-at-three-uk/
[HD2 Android Q&A, Help & Troubleshooting and Genera] stardust240781:
I thought 2.4 has been renamed to 2.3.3

- This message is brought to you by TyphooN CM7 for HD2 -
[HD2 Android Q&A, Help & Troubleshooting and Genera] metko:
if thats the situation then its availible you have many 2.3.3 roms for hd2
[HD2 Android Q&A, Help & Troubleshooting and Genera] chrisgto4:
I'm a Google employee. i will send it to you.
[HD2 Android Q&A, Help & Troubleshooting and Genera] metko:
Hahaha omg dont lie people cause HD2 is not a native android phone,al this android bulids are just ports they are not official neither by htc or google :) so stop lying :P
[HD2 Android Q&A, Help & Troubleshooting and Genera] pedroxxx:
It's not lie, it's joke :) and good one :) too bad 1.april is just a day :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] anouarhozman:
Elle a l'air tres belle...
[HD2 Android Q&A, Help & Troubleshooting and Genera] greg17477:
@chrisgto4

good one ;))))
[HD2 Android Q&A, Help & Troubleshooting and Genera] XthelordinatorX:
i found some more info:

(check the link for even more info)

Android 2.3.3 vs Android 2.4 | Gingerbread 2.3.3 vs 2.4 Performance, Speed and Features

Android 2.3.3 and Android 2.4 are two new updates to Android platform. Android 2.3.3 is a revision of Android 2.3 whereas Android 2.4 is a major release. Android 2.4 is a hybrid of Android 2.3.3 (Android 2.3 Gingerbread) and Android 3.0 (Honeycomb). Mobile phone manufactures are on the race to make their devices more power packed than the other. They are on an agenda to provide full mobile computing experience on this hand held device. 2011 saw many phones with dual core processors and other high end features. Google to support this hardware is continuously developing the Android platform and Android 2.4 is designed mainly to support multi core architecture.

Android 2.3.3 (Release January 2011)

Android 2.3 is a major release which has many additional features compared to Android 2.2 (FroYo). It was released in December 2010. Some of the important features include Near Field Communication (NFC), support for SIP calls, support multiple cameras, better power management and a new user interface. Android is the first operating system to incorporate NFC feature. Android 2.3.3 is a small upgrade to Android 2.3 (Gingerbread), it incorporated few feature improvements and API upgrades for developers. The upgrades are mainly on NFC (Near Field Communication) and Bluetooth. NFC is a useful technology in M-commerce that is expected to replace many types of cards we carry for transactions and can be used in ticketing and many other applications as well. The new API level assigned to Android 2.3.3 is 10.

Android 2.4 (Release: April 2011)

As said earlier, Android 2.4 is a hybrid of Android 2.3.3 (Android 2.3 Gingerbread) and Android 3.0 (Honeycomb). Android 2.4 is expected to include the following features. Like Honeycomb Android 2.4 will support both single core and multi core architecture and support symmetric multi processing in a multi core environment. It is also be backward compatible, you can use the applications designed for earlier versions on Android 2.4. Further, applications developed for dual core processor can be run on single core devices as well. The other features will include support for rich multimedia applications such as HTTP live streaming, built-in support for Media/Picture Transfer Protocol (MTP/PTP) over USB, and support more types of connectivity.

Viewsonic’s ViewPad 4 and Sony Ericsson Xperia Arc are among the phones to get the first experience of Android 2.4.

source: http://www.differencebetween.com/difference-between-android-2-3-3-and-vs-android-2-4/
[HD2 Android Q&A, Help & Troubleshooting and Genera] EgoMaximus:
Thanks for research! Rep.
[HD2 Android Q&A, Help & Troubleshooting and Genera] daysyang:
i dunno guys looks like 2.4 is not here yet...

"There's no such thing as Android 2.4 Gingerbread -- yet, says Google. The latest version of Android, which has already appeared on the Google Nexus S and HTC Desire S, is Android 2.3.3."

source date is april 8...

http://crave.cnet.co.uk/mobiles/wha...bread-its-233-instead-50003452/#ixzz1IybHhgs6
[HD2 Android Q&A, Help & Troubleshooting and Genera] stoolzo:
logged in error, please delete
[Touch Diamond, MDA Compact IV Accessories] Stephen Colbert:
Hi everybody,

I have got a question and I thought to ask you. So here it is. Does Linksys use any sort of naming convention to determine which of the aforementioned connectors they use for their antenna connections on the WRT54G? I need to order a router and hi-gain antennas, but it seems there's no way of knowing -- aside from having the router in hand -- which connectors it ships with.

Thanks in advance.

- Stephen Colbert.
[Touch Diamond, MDA Compact IV Accessories] Hakim Rahman:
you should visit and probably all order it at http://www.amazon.com/gp/product/B0..._m=ATVPDKIKX0DER&pf_rd_r=1F02VVMWQ3JJ4W53M2AN
[Touch Diamond, MDA Compact IV Accessories] intermatrixau:
The WRT-54G uses an RP-TNC connector. I found a couple of 12dBi antennas on eBay, works an absolute treat!.
[Windows Phone 7 Software Development] Westerhoff:
Hello Guys.

Windows phone 7 dosen't come with Danish language, so that means the keyboard of course doesn't support æ,ø,å, which is used in the Danish language. I wonder if anyone in here has further developed the keyboard, so there is no need for holding O to get Ø?

Some one got a solution, please let me know :-)

Best Regards,

Alexander W.
[Windows Phone 7 Software Development] eldstado:
hey. search for native keyboard...
[Windows Phone 7 Software Development] digger1985:
You can hold "a" to get ae and the other one. Unfortunately I don't know if you can make something a default.
[Windows Phone 7 Software Development] zyborg:
Why not just buy the Danish keyboard app from Windows Phone 7 Marketplace? ;)
[Desire General] Sirhcchris:
Hi All,

Does anyone know of a fix for a scratched camera window? Can it be replaced with out changing battery covers? Maybe a DIY? I'm considering the polishing attachments on my rotary tool at the moment.

Chris.
[Desire General] rollercoastervj:
Just ditch the camera window or get creative. watch in sequence:

http://www.youtube.com/watch?v=PGUZ38NxgRU

http://www.youtube.com/watch?v=Z9GRcSM--_M

http://www.youtube.com/watch?v=ayfhCM8LCvM

I followed it and the image quality improved a lot.
[Desire General] vnvman:
I had the same issue, and in the end i replaced the back cover because it was pissing me off. Not a cheap solution (25€) but worth it imho. Together with that i ordered a martin fields protector, which includes a small protector (much more resistant than default plastic) for that window, it helps a lot. Being that thing made of cheap plastic it's all you can do about it i'm afraid...it's a shame htc didn't use some more glass for a high end device tho...
[Desire General] sh500:
I saw a thread somewhere about people replacing the standard plastic lens cover with a sapphire glass one - clear image and no degradation in quality over time :)
[Desire General] tvr84:
yeah hope to fin something better then that cover in last vid
[Desire General] talonlan:
Just got a set of martin fields protectors, excellent but a little pricey compared to most, easiest fix is just remove the back cover when taking photos and then snap back on after.
[Desire General] tvr84:
Toothpaste

Toothpaste as done the trick for me, i will be going to a watchmakers for some sapphire glass.
[Desire General] vnvman:
Lol, are you serious? O.o
[Desire General] tvr84:
why not ?? :D:D i need something cant just leave it with a hole in lol, loads of **** will get in there. anyway its a lot better now i cleaned it.

Edit £16.00

you can buy one here >> http://www.edmundoptics.com/onlinecatalog/displayproduct.cfm?productid=1904&showall

Sapphire glass

Diameter 9.5mm

Thickness 0.5mm