yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] pedrotorresfilho:
Pm in portuguese cant understand ur engrishy lol
[Motorola Droid RAZR] luckas122:
por casualidad hablas español ? soy de argentina y el ingles mucho no me ayuda jaja
[Motorola Droid RAZR] pedrotorresfilho:
I saw that. Lol

I can perfecly undertand spanish, so send me a PM in spanish
[Motorola Droid RAZR] luckas122:
te llego el MP ?¿
[HTC One S] Homangni:
hey guys can u please help me out...its been years I've been using the HTC Wildfire and now i seriously need to upgrade my device...so guys tell me ur overall experience about the One S ,I've seen many reviews around YouTube but they dont tell me all i need to know...so what's the sound quality ,battery life ?? mine sucked in Wildfire,I've also heard it has bugs like overheating,multitasking,micro arc oxidation failure,Wi-Fi problems..pls tell me everything as u mates know this better..I'm going for this next month!! Thanks
[HTC One S] JohnHenrySDM:
Coming from an HTC G2 and a Nexus One before that, I'm extremely pleased with battery life and snappiness of the processor. It's the best phone I've had to date. Haven't had any of the overheating or other problems you mention and not sure how widespread they are; it's always difficult to judge those, as it's generally only the complainers that post online.
[HTC One S] merdok:
Also coming from g2. Very solid phone. The only hurdle I'd see is the 10gb storage. But as long as are using it to hold your mp3 collection its not an issue.

Do not think I would buy anything but a HTC at this point. Have been consistently great devices.
[HTC One S] Homangni:
thanks guys..now I definitely need to get me the One S btw hows the gaming ,loudspeaker (music) quality and multitasking, does it include beats headphone in it??? I've seen some online stores where beats headphones are included with the box.
[HTC One S] merdok:
The loud speaker does sound good even at max volume. The phone does not come with any earphones! I was rather shocked that didnt get even a dinky set that you would get with most phones.. esp when its branded beats.

Guess they wouldn't throw in 200 pair of dre autographed headphones, but giving you nothing?! this a marketing way to keep you from settling on the el cheap-os?

I cannot comment on the gaming as chess and scrabble are all i seem to play on phones these days.
[HTC One S] BH505:
The gaming works awesome, i downloaded Grand Theft Auto 3 and it works without a lag!
[HTC EVO 3D] akong:
I have install Virtuous Shooter v.3.0.2.I test some app.I found VoiceGo app on Virtuous Shooter v.3.0.2 have bug.

When you run VoiceGo app,and click places.you can click oil station or anyone.It will search where you want and show google map.But when you click google map it's will FC.

It's haven't this bug in my Asus eeepad.So I make sure this is not VoiceGo problem.Could someone can test and found problem?

Please use Google Play to search VoiceGo

This is chinese app.Maybe have other language.Thanks a lot.
[Samsung Galaxy Nexus] Jerald2:
So just the other day my phone started thinking it was charging when it wasn't and when it is charging it doesn't say that it is is messing with the screen on and off any ideas?! It's so frustrating any ideas guys?

Also I haven't tried another rom to verify if it's a hardware or software problem just wondering if this has happened to any one else

I'm on aopk m5 stock kernel
[Samsung Galaxy Nexus] Jerald2:
Thanks for all the responses.. Haha but seems as if I fixed it for now. I went and cleared the dalvik and cash I also took the battery out. Pretty sure it was that haha thanks any ways fellas
[Android Software Development] SifJar:
Duplicate lines are always right after each other, right? I could throw together a script to delete the second line I think. I don't have time right now, but if no one has posted anything by this afternoon, I'll give it a shot for you.
[Android Software Development] zach.antre:
there is no need to create a script.

There are many text editors that can do that.

e.g. Notepad++

line 64-65

<string name="car_mode_disable_notification_message">برای خروج از حالت خودرو انتخاب کنید.</string>
<string name="car_mode_disable_notification_message">برای خروج از حالت خودرو انتخاب کنید</string>

in the above example there is a dot (.) more in 1st line, and for that reason a program will not recognise it as duplicate.

In notepad++ you can check for specific content, mark the duplicated and then delete the marked lines.

We need to delete a duplicate line of "<string name="car_mode_disable_notification_message">" so we make it in notepad++ to search for duplicates that have this pattern

<string name=" ">

and delete duplicate lines.

I am sure that this can be done because i have used it in the past (long ago).

I'll search some more to remember and post the way to do it.
[Android Software Development] Aternus:
Merged with Post#1
[Android Software Development] Aternus:
Useful Resources

Merged with Post#1
[Android Software Development] SifJar:
Well, I decided to go ahead and throw together this:

deldupe.exe

Basically, pass the XML to deldupe.exe (drag the XML and drop it on EXE, or run it from command line like this: "deldupe.exe example.xml"). It'll delete all the lines with the same "name" attribute. It'll leave the first one. I tested it on the example XML you posted in your first post, got this as a result:

test.xml

Seems about right I think.

Dunno if you actually need this or not anymore, but it only took a few minutes to make, so I figured I may as well.

EDIT: It's also probably easier than messing with a text editor's settings. Just drag and drop, job done.
[Android Software Development] SifJar:
I have to be honest, I'm not really sure what you mean. In the first file you linked, in reference to XML nodes, I can't see any duplication...

And the second part, I'm not really sure what you want. I understand you want to delete the duplicate lines from each version of each file. But I don't get the bit about merging. What is the final result you want to achieve?

I'm probably just being stupid here, but I can't really work out what it is you want the tool to do. If you could try and explain it in another way or something, I might be able to help.

EDIT: With the nodes stuff: Do you mean deleting a whole array when it is duplicated? If so, I think that could be trickier, but I could try it. I won't until I get confirmation though, don't want to waste time on something that isn't right :p

Also, seeing as they couldn't be sorted, it would probably be a longer process.
[Android Software Development] SifJar:
Ah I think I got you now. This seems a LOT more complicated than what the app I posted already does. I might be able to do this, but I most likely won't I'm afraid. I will see what I can do though.

I have some ideas of stuff that might work. I'll start working on a few of them now.

EDIT: I have modified my previous script to now delete elements with duplicate "name" attributes, regardless of position in file. i.e. if an element with attribute is found a second time, it will be ignored. The next step is to modify the app to do this for two files, and then attempt to make it merge the results. I will look into nodes following that. I have made more progress than I had expected to be able to, I am now more hopeful about the chances of being successful.
[Android Software Development] SifJar:
OK, here is a new, updated EXE. This one takes two inputs, an original XML and a translated XML. It deletes duplicates from both (from anywhere, don't have to be line after each other), then merges all translated strings into the original XML, and saves it. You need to run it from the command line, something like this:

apk-trans.exe trans.xml orig.xml dest.xml

Gives this output with the two shortened XML fragments you posted: dest.xml (even with me manually duplicating some lines, in random places)

Here's the EXE: apk-trans.exe

I'll work on removing duplicate nodes next, then make it a little more user friendly (e.g. usage instructions built it, some sort of sign it is doing something, maybe an optional GUI [it would appear if app was run with no parameters, so command line usage would still work]).

I reckon removing duplicate nodes could be the hardest part. I may now stop working on this for today and resume tomorrow.

EDIT: At this point, this should work for files like strings.xml. plurals.xml and arrays.xml will both not work. Not actually sure how it would handle files like that. The duplicate deletion stuff shouldn't change them at all. Not sure what the merging will do. Probably also nothing. I'll test now though. EDIT: I tested, spits out the original (untranslated) XML, almost unchanged (spacing at start of line is slightly different, but that shouldn't matter at all)

EDIT: Updated the EXE, noticed it output XMLs with the wrong encoding, fixed that.

EDIT: Saw updated first post - this EXE does pretty much what the command line tool described at the start describes, for strings.xml. It doesn't sort, but it automatically deletes duplicates and those not not present in the original XML.
[Android Software Development] Aternus:
I've updated the first post with the most recent info and examples so that newcomers can easily get all the info they need.

Hopefully we can turn this into a serious project, next thing I'm going to create a couple of GUI images to better portray how and what the application should do.

@SifJar

Thanks a lot for your help so far my dear friend. I'm hopeful that we can achieve all the required features and make Android translation process an easier experience :) No doubt that it will catch a lot of attention as soon as its done!

EDIT:

I've tried the tool with the following files and I think I found a bug, the tool hangs... :(

Please see attached file.
[Android Software Development] Aternus:
First post have been updated again to better fit the new section :)

Thanks to the mods for moving it! :D
[Android Software Development] SifJar:
Huh. Dunno why it doesn't work with those files. I will look into it more a bit later on.

EDIT: It does work. It just takes a while and there is no visible sign the program is running. That is one of the things I mentioned above as needing to work on. I was focusing more on the functionality for the time being.
[Android Software Development] Aternus:
Hmm weird, I'm on a Quad-Core Q6600 and I let it run for 10min but it didn't finish yet :o How much time did it take on your machine?

Thanks!
[Android Software Development] SifJar:
I didn't time it, but it took a while. I added some command line output to reassure that it is doing something, here's an updated binary:

{see below}

Usage is as before, only now you must add |more to the end of the command, or you won't get any command line output. (Limitation of the scripting language I use seemingly).

EDIT: Seems to take less than 10 mins on my computer, which is lower spec than yours. I'll add a GUI with a progress bar now to show proper progress.

EDIT: OK, here's a new .exe (again). This time, if you add a fourth parameter (can be anything, but I use "gui"), a progress bar will be shown, to show how the tool is progressing. Seems to work nicely for me. Usage is something like this:

apk-trans.exe t_strings.xml s_strings.xml dest.xml gui |more

The |more gives command line output, the "gui" parameter gives progress bar. You can have both. |more is not necessary if you just want the progress bar (has info on what is currently being done under progress bar on window, same info as is output to cmd line).

Here's the EXE: http://d.pr/f/VmwC

Obviously I will improve the GUI in future, this is just a quick thing thrown together in a few minutes.
[Android Software Development] Aternus:
Can you please make it so it will generate a proper exit code (0) and get rid of the pop-up if not in GUI mode?

Since it will be used mainly in bash a graphical GUI will be rarely used...

Btw, which language are you using? :)

EDIT:

Perhaps you could create a GIT for it on Github or similar so others can share their input... :D
[Android Software Development] SifJar:
There should be no pop up if not in GUI mode. And no, I can't change the way it exits, sorry.

I am using AutoHotKey (AHK). Maybe I'll stick up the source somewhere. Give me a minute.

https://github.com/SifJar/apk-trans
[Galaxy S II Q&A, Help & Troubleshooting] 5tric5t:
Hi everybody from tapatalk. Recently I have installed the last Nightly Builds from cyanogenmod9, and when i unlock the screen, automaticaly the screen turn on aigan! I have testet all of options on settings, and I found nothing about it.

Someone know the solution?
[Galaxy S II Q&A, Help & Troubleshooting] sajadkhan806:
same here, and when i dial a no. the phone restarts....this was my first try...n m highly disappointed...i think cynagon is just an over hyped mod n nothing more than tha....
[Galaxy S II Q&A, Help & Troubleshooting] bluefa1con:
without codeworkx and his team's work you wont have ANY aosp roms

did you undervolt or chagned cpu settings?

or maybe its a app u installed thats overloading the phone

one more thing

cm9 is in nightly phase you cant complain on that

edit: looks like a recent patched messed the build

it is due a fix in time
[Galaxy S II Q&A, Help & Troubleshooting] toxicdust:
I tried custom roms for the 1st time yesterday and have to add I am a bit disapointed in CM9. Utmost respect to the creators and the effort they are putting into this.

Here is my list of Issues.

1. No task manager

2. No file explorer (IO on the Play store is ok but not close to the original with works best)

3. Contacts look a bit meh

4. No sliding on contacts

5. No Samsung Dive support

6. The kb is way to small and with my big hands i keep on pressing the wrong keys

7. When I phoned myself from a other number there was no voice coming through on either end

8. .... Uninstalled

There are still a lot of work needed on CM9 from what I could tell and using the latest Nightly build was probably not the right thing to do. Nightly build was from yesterday.

This is in no way to reflect negatively on anyone but just my person opinion and what I experienced
[Galaxy S II Q&A, Help & Troubleshooting] atifsh:
Your personal opinion is bit flawed....

Forget about Samsung stuff and way things work In aosp.

So slide to call that's touch wiz.

Keyboard is Android, not cm9 scad works pretty well you have to get use to it.

If it was your first time flashing than I say please do a full wipe, including formatting system.

Cm9 is very capable of daily driver without any major issues.
[Galaxy S II Q&A, Help & Troubleshooting] toxicdust:
Don't get me wrong. It looks awesome. And its very quick and stable from what i could see.

Thats just my personal preference. No point in being rooted if you cant get to the files. CM9 with the default File Explorer would have made it a very different story for me. Task manager is also somewhat a very nice to have cause I install and uninstall a lot of apps on a daily basis and without it is just meh.

It all boils down to personal preference.
[Galaxy S II Q&A, Help & Troubleshooting] bluefa1con:
left touchwiz for months and dont miss it at all
[Galaxy S II Q&A, Help & Troubleshooting] atifsh:
I say please do a full wipe, including formatting system.

Cm9 is very capable of daily driver without any major issues.

Contacts look just fine and work just fine.

You have ics task manager

File explorer is not bulletin in aosp, just put one that you use.

Calling and receiving works just fine too.

You certainly have issues with the flash, reflash after full wipe

Full wipe = format cache, data, system, internal storage, dalvik
[Galaxy S II Q&A, Help & Troubleshooting] scayre32:
Try another ROM

There are tons of different ROMs out there. I've tried all sorts but never a CM9 nightly because they warn you it might be broken and tell you not to complain about it.

Try something else and download a decent task manager. A lot of ROMs have one built in but I always revert to ES File Explorer.

It's all about testing and finding out what's right for you. You can always go back to TouchWiz if you want.
[Galaxy S II Q&A, Help & Troubleshooting] 5tric5t:
No, i dont change any CPU configuratin, and I dont know how to undervolt or overvolt CPU. I'm using Siyah Kernel 3.2.5 (released recently). There's something in ExTweaks to fix my problem?
[Galaxy S II Q&A, Help & Troubleshooting] bluefa1con:
use set cpu

there is a voltage menu

use the values from kernel test thread

for the phone issue wipe the data from contacts and dialer
[Galaxy S II Q&A, Help & Troubleshooting] Deeco7:
You'd receive better support if you posted your query to the CM9 Discussion thread. ;p
[Galaxy S II Q&A, Help & Troubleshooting] 5tric5t:
I already change my CPU voltage, but the screen keep turning on when I lock the screen (>_<)
[Galaxy S II Q&A, Help & Troubleshooting] 5tric5t:
Someone can help-me please? (>_<)
[Galaxy S II Q&A, Help & Troubleshooting] sterling_stroud:
CM9 and Boot Animation Sounds

Has anyone found a way to enable boot animation sounds on cyanogenmod9? I have read everything I can and have tried everything I have read but still cannot get this to work.
[Galaxy S II Q&A, Help & Troubleshooting] oldboy84:
cm9 wallpapers

hi guys!

i'm using cm9 stable and i think is very smooth and fast and looks good too.

i have a question.

i want to remove the static wallpaper, not the live w. or cm9 wallpaper, but the stock wallpapers in 4.0.4 firmware.

but i can't find them using RootExplorer or TB.

can someone help me to find out?

thanks a lot
[Galaxy S II Q&A, Help & Troubleshooting] nsavinash:
I've flashed CM9 on my S2 & its very stable & I seem to like almost everything EXCEPT Battery.

It discharges very fast. I end up charging daily.

I browse internet on wifi like for about an hour in a day & the rest of the time I explore the phone settings/features for a couple of minutes.

Voice calls - about 30-45min a day.

---------- Post added at 02:43 PM ---------- Previous post was at 02:35 PM ----------

How to use the CPU voltage settings ?

How do I know which one is best for my phone ?

The Governers seem to be self explanatory & also when choosing a governer from the menu the CPU Max/min changes accordingly.

But I would like to know the technical details.
[Galaxy S II Q&A, Help & Troubleshooting] bluefa1con:
Install bbs and see what's draining the battery
[Thunderbolt Q&A, Help & Troubleshooting] murderfacekill:
So i bought a thunderbolt on craigslist for 45 dollars with a minor crack on the left side of the screen. I didn't think it was a bad deal -.0 lol

Well, at first i could get past the the language selection screen by pressing the home button swiping to the search button and back. Now, its not working anymore.

So what can i do to get past this! its driving me nuts. I just want to be able to use this device through wifi and as a mp3 player

ELP! :<
[Thunderbolt Q&A, Help & Troubleshooting] brandogg:
Pretty sure you just touch the 4 corners of the screen from top left to top right to bottom right to bottom left.
[Thunderbolt Q&A, Help & Troubleshooting] murderfacekill:
well that would work, if i would be at the beginning of the setup process, but it just starts at the language selection screen and it doesn't work there >.<
[Thunderbolt Q&A, Help & Troubleshooting] disconnecktie:
You could try pulling the build prop and changing this

ro.setupwizard.mode=DISABLED

ro.setupwizard.mode=OPTIONAL
[Thunderbolt Q&A, Help & Troubleshooting] nowetdio:
Try taking out the SIM card.

Sent from my SCH-i515 Toro
[Samsung Galaxy Nexus] timgt:
Ok, I am having a VERY strange issue with my gsm galaxy nexus. First off it started acting weird rebooting itself all the freaking time so I got fed up and decided it was time to try a new ROM (currently on stock 4.0.4).

Now here is where the crazyness starts. I tried to root and install CWM but nothing sticks, so I try to ODIN a factory image and when the phone reboots I am back on stock with all my settings and files still in tact like nothing flashed, I try to connect to my computer and transfer a file to my phone and when I reboot or go into recovery the file is gone. I have tried re-locking my bootloader and when I reboot, it is still unlocked. I have even factory reset my phone and all my data is STILL there. I don't understand. It seems as if my memory in my phone is not allowing any writing or something. Please tell me I am not the first to experience this.

Basically no matter what I do or try, my phone stays the exact way I currently have it. PLEASE HELP!!!
[Samsung Galaxy Nexus] timgt:
I also just noticed that when I enable wifi and then reboot, wifi is disabled and also whenever I reboot, my apps that I have already updated try updating again. It just seems like my storage is not writable.
[Samsung Galaxy Nexus] mentose457:
I think you need to make a video of you doing a factory rest and have it not work. I love paranormal videos.

Have you tried fastboot? If you are using the toolkit, stop, do it manually.
[Samsung Galaxy Nexus] timgt:
Yes, i have tried fastboot both manually and with the toolkit. I have literally tried everything. This makes NO sense. I have had a ton of android devices so I know how things should be working and this thing is busted.
[Samsung Galaxy Nexus] slick4mitch:
Format the internal memory ... last option but it might help, good luck ;)
[Samsung Galaxy Nexus] mentose457:
Are you able to boot into the OS still? Does adb work? Does fastboot work?
[Samsung Galaxy Nexus] timgt:
I just tried running some commands which should have pretty much wiped my device.

I ran

fastboot erase system

fastboot erase userdata

fastboot erase boot

fastboot erase recovery

fastboot erase cache

When I reboot the phone, all my damn data is still there and everything is in tact.
[Samsung Galaxy Nexus] mentose457:
Interesting...
[Samsung Galaxy Nexus] Ragnar:
http://xdaforums.com/showthread.php?p=25483948

Apparently it's common on gsm models.

Sent from a phone...
[Samsung Galaxy Nexus] timgt:
I also noticed if I try to uninstall any app the phone reboots itself and if it doesn't when I do reboot it myself the app I uninstalled is back.
[Samsung Galaxy Nexus] WiredPirate:
I think we can all agree there is only one thing that can be causing this: the ghost of Steve Jobs.;)
[Samsung Galaxy Nexus] Frosty666:
I read somewhere that the exact same thing happened to someone with an SII. I don't think they were able to find a solution.

This is very interesting. I'd contact Samsung.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] dario3040:
My friend has a possessed iPod touch, it just does things automatically.

Kind of funny to watch though.
[Samsung Galaxy Nexus] Flippy125:
Sounds like a bad flash chip. I'd suggest the repartition option in Odin but I'm not sure if it works on the GNex or not. Worth a try if you're desperate
[Samsung Galaxy Nexus] scoobdude:
If you do a reset through the settings menu what happens? If nothing it sounds like a bad chip. If it changes that you maybe good to go. I have seen an issue on my wife's phones where it was unable to write to the partition in recovery.
[Samsung Galaxy Nexus] timgt:
If i do a reset in the menu, it reboots to recovery with a red exclamation so i press all 3 buttons to bring up the menu and try to wipe data/factory reset in the stock recovery and it says it works but when I reboot all my data is still there.

I called Samsung and apparently they wont help me since it is an international version. So basically I have a phone that can't be fixed and will always be in the current state it is in now.

EDIT: I have now found 3 occurrences of this besides mine. One guy with a Galaxy S2, one guy with a Droid X and one guy with a Dell Streak 7. Nobody ever fixed it. Neat
[Samsung Galaxy Nexus] scoobdude:
Maybe there are some more option going through the debug port?
[Samsung Galaxy Nexus] timgt:
I'm limited on the number of commands I can run because I never rooted this phone. Should have been the first thing I did. Figures the only device I never rooted has this happen to it.
[Samsung Galaxy Nexus] android01:
Did you try rebooting?
[T-Mobile Samsung Galaxy S II SGH-T989] piggygirly:
what is the difference in updating via software update on the phone via updating via samsung kies usb connected??

thanks in advance