yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] DirkStorck:
Hi Could someone please help me? I try to mod the Jelly Bean SecPhone.apk for SGS3. If I compile the apk I get the following error

I am using the ICS version of apktool.

Thank you! :)

I: Building resources...
aapt: warning: string 'callFailed_timeout_408_487' has no default translation in d:\Download\Android\_SGS3\ICS Apktool\S
ecPhone\res; found: pt
aapt: warning: string 'reject_cause_location_reg_fail' has no default translation in d:\Download\Android\_SGS3\ICS Apkto
ol\SecPhone\res; found: pt
aapt: warning: string 'reject_cause_location_registering' has no default translation in d:\Download\Android\_SGS3\ICS Ap
ktool\SecPhone\res; found: pt
aapt: warning: string 'reject_cause_skt_registering' has no default translation in d:\Download\Android\_SGS3\ICS Apktool
\SecPhone\res; found: pt
d:\Download\Android\_SGS3\ICS Apktool\SecPhone\res\values-es\strings.xml:195: error: Multiple substitutions specified in
non-positional format; did you mean to add the formatted="false" attribute?
d:\Download\Android\_SGS3\ICS Apktool\SecPhone\res\values-es\strings.xml:196: error: Unexpected end tag string
d:\Download\Android\_SGS3\ICS Apktool\SecPhone\res\values-es-rUS\strings.xml:201: error: Multiple substitutions specifie
d in non-positional format; did you mean to add the formatted="false" attribute?
d:\Download\Android\_SGS3\ICS Apktool\SecPhone\res\values-es-rUS\strings.xml:202: error: Unexpected end tag string
d:\Download\Android\_SGS3\ICS Apktool\SecPhone\res\values-it\strings.xml:201: error: Multiple substitutions specified in
non-positional format; did you mean to add the formatted="false" attribute?
d:\Download\Android\_SGS3\ICS Apktool\SecPhone\res\values-it\strings.xml:202: error: Unexpected end tag string
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p,
-F, C:\Users\dirk\AppData\Local\Temp\APKTOOL4913679202066901079.tmp, -I, C:\Users\dirk\apktool\framework\1.apk, -S, d:\
Download\Android\_SGS3\ICS Apktool\SecPhone\res, -M, d:\Download\Android\_SGS3\ICS Apktool\SecPhone\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dirk\AppData\Local\Temp\APKTOOL4913
679202066901079.tmp, -I, C:\Users\dirk\apktool\framework\1.apk, -S, d:\Download\Android\_SGS3\ICS Apktool\SecPhone\res,
-M, d:\Download\Android\_SGS3\ICS Apktool\SecPhone\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
[Android Q&A, Help & Troubleshooting] lreyes:
You need to set your touch wiz framework too
[Android Q&A, Help & Troubleshooting] vegeta1:
Am getting this, thanks for the help
[Android Q&A, Help & Troubleshooting] evol4g:
You have a broken .9png
[Android Q&A, Help & Troubleshooting] vegeta1:
thanks so much....any way outs ??
[Android Q&A, Help & Troubleshooting] danieldmm:
Try this.

http://xdaforums.com/showthread.php?t=1638978 and this http://xdaforums.com/showthread.php?t=1344909

Cheers and nice work you done in S3... ;)
[Android Q&A, Help & Troubleshooting] vegeta1:
thanks bro... il pm you something :)
[Android Q&A, Help & Troubleshooting] rsngfrce:
Thanks for the update to this thread, 1.5 is simpler than the prior method and also got rid of the plurals issue I was always having to fix. :D
[Android Q&A, Help & Troubleshooting] evol4g:
Well I don't know about simple ICS apk tool.. use the latest apk tool posted in op and also it looks like you don't have aapt
[Android Q&A, Help & Troubleshooting] rsngfrce:
As I've said before in this thread, I am no expert, but until someone who is comes along...

FROM THE OP: If you are decompiling any framework other that AOSP ie: sense, touchwiz, ect you will have to install the framework and systemui.apk for them as well, ie: for miui it's framework-miui-res.apk

Thought it worth asking if you are following that step? For example, on my Samsung E4GT with stock ICS Touchwiz ROM, besides installing framework-res.apk, I also install twframework-res.apk which is also found in the system/framework/ folder.
[Android Q&A, Help & Troubleshooting] evol4g:
Yes.. If its touchwiz the command is

java -jar apktool.jar if twframework-res.apk

Htc is framework-htc-res.apk i think... Idk i dont work with sense often tho..

@vbcoder

Try deleting those two folders that are in the error is reporting

ALSO ANYONE POSTING ERRORS USE THIS SITE

paste.ubuntu.com
[Android Q&A, Help & Troubleshooting] evol4g:
K

1) if you read the post above you you'd see that I don't want people posting long huge errors on here..

Please use paste.Ubuntu.com

I'll let it sly this time ;) lol

2) as far as your error goes its an interesting one at that.. have you tried simply decompiling and recompiling with no changes?
[Android Q&A, Help & Troubleshooting] icedventimocha:
Thanks for this thread. After sorting through my own user errors this works perfect. Now i just need to learn xml and ill be set.
[Android Q&A, Help & Troubleshooting] evol4g:
Its pretty easy once you get it down... I'll help anyway I can :)
[Android Q&A, Help & Troubleshooting] boyheadkick:
is this thread still active?if so please advise..

i just started learning how to this stuff and i found your thread so tried it out..i got a problem though when i recompile to apk..

i got error W: Could not find sources

i didnt do any changes with anything

please advise

if im violating any forum or thread rules please report this post
[Android Q&A, Help & Troubleshooting] danieldmm:
Did you make frist apktool if framework-res.apk ?
[Android Q&A, Help & Troubleshooting] boyheadkick:
I believe i did..i'll try again

edit: got it right with systemui.apk but got hiccups with framework-res.apk..i'll get it right eventually lol..thanks for the reply

sent from my LT26w

boyheadkick™
[Android Q&A, Help & Troubleshooting] danieldmm:
sometimes the problem its using files already modified, using stock untoutched its the best.
[Android Q&A, Help & Troubleshooting] boyheadkick:
Actually its my systemui thats been modifief heavily..my framework-res havent been changed yet..

sent from my LT26w

boyheadkick™
[Android Q&A, Help & Troubleshooting] DonDizzurp:
I was stuck for two days figuring out why the damn recompiled APK was smaller than the original. This helped a lot.. thanks!
[Galaxy S III General (US Carriers)] BlackDino:
I am absolutely amazed by the quality of he GPS, I get a lock in under a second and have 11 in use. Check this screenshot out

Just have to say if anyone is questioning the quality it is easily the best I have used
[Galaxy S III General (US Carriers)] Success100:
+1 Samsung finally got it right
[Galaxy S III General (US Carriers)] altitude909:
That would be the GPS and GLONASS working at the same time..
[Galaxy S III General (US Carriers)] BonesHopkins:
What app is that?
[Galaxy S III General (US Carriers)] Sephirothvfc:
Always had issues with my s2 locking onto me but I finally used gps today after a week with my S3 and it worked awesome. Locked fast and when opened navigation it instantly started navigating
[Galaxy S III General (US Carriers)] JayFReaZy:
Yes, it feels great finally having a fully functional gps unit. My captivate gps was absolutely useless for gps/navigation.
[Galaxy S III General (US Carriers)] mmark27:
Yup. Amazing. Sammy did their homework. This is from inside a brick house.
[Galaxy S III General (US Carriers)] dcaplinger76:
Looks like GPS Test
[Galaxy S III General (US Carriers)] ubigred:
What about Navigation, that's more important. Thx

Sent from my EPIC TOUCH!
[Galaxy S III General (US Carriers)] rakeshchn:
I am getting less than stellar GPS performance. I mean it locks on many satellites but don't get a fix! That has not happened in other phone. If it locks at least 1 satellite it should get a fix albiet low accuracy. But in gs3 i am not getting a fix. See screenshot.

View attachment 1177933

Sent from my SGH-T999
[Galaxy S III General (US Carriers)] brfield:
1 satellite will not give you a lock, it takes at least 3 to give any inidcation of location to the unit. In phones it is assisted gps. The radio helps determine location also. It will be 5 or 6 satellites before your phone will display a location, and more for accuracy.
[Galaxy S III General (US Carriers)] x_SCOS_x_ELITE:
My gps locks on really fast as-well, but it isn't very accurate, I live in Orlando Florida but it always locks on to Rio Pinar Florida
[Galaxy S III General (US Carriers)] theraffman:
I too am amazed by the quality of the GPS and navigation. Locks almost instantaneously and fetched directions just as quickly. GPS is something I use frequently.
[Galaxy S III General (US Carriers)] otariq:
This is good to hear I use my gps occasionally so the faster it locks the less time I waste going the wrong way lol
[Galaxy S III General (US Carriers)] accordex:
I bought the Vibrant 2 years ago...It was my first REAL smart phone...

Bought it for 2 reasons, to replace my $20 cheapo mp3 player, and my $80 sanyo slow outdated GPS unit...

As a delivery driver, I think we all know the stressful situations I went through with that thing. I cannot count the number of times the gps worked perfect on that thing until about 5 miles to the destination, where the signal was lost, had to restart it, and watch my position be 4 blocks over....AKA I'm on the freeway and it's PRETTY sure i'm on the freeway so it's fine...but as soon as I take an exit...yeah

I owned the GS2 for about a week, it had good GPS, but the rest of the phone was no where near worth the price of the upgrade....

This thing is amazing....I cannot believe how fast it locks...I'm in the same boat as most of you with 1-2 second locks...In the car on my lap, inside the house upstairs, or 5 feet below in my basement.

My only issue so far was today, inside of a Target store trying to use ShopKick...but that was deep inside ,as soon as I got towards the front checkout stand it locked.

Another nice thing I noticed the other day was pulling out of a parking lot and using nav. With the vibrant, it was always a gamble, do I pull out left or right? It never knew the direction untill I was 50 yards going the wrong way. Now as I'm pulling out of the parking lot, it knows exactly the direction I'm facing, and I know to go right, and as I'm pulling out and turn my car slightly right to take the turn, it immediately sees me make that slight right turn.

Nice job indeed Samsung. I don't think even dedicated GPS units lock this fast.
[Galaxy S III General (US Carriers)] eyecon82:
yea..this phone is amazing...esp when coming from a sgsII where I would have to restart in ordre to get the GPS to work and it still didnt even work as well then
[Galaxy S III General (US Carriers)] Sworkhard:
Biggest reason for the fast lock times is that our devices support both GPS and the Russian version of it called GLONASS. Gives us an extra 22 satellites to use for location.
[Galaxy S III General (US Carriers)] shazo85:
This is all good to know. I just ordered my 32gig today and should have it Saturday. I'm glad to hear that the GPS is good because I use that a lot and the GPS on the EVO 3D is not good at all. It takes to long to get a signal and when I do get one it some times drops.
[Galaxy S III General (US Carriers)] eyecon82:
This is actually pure speculation on the GLONAS satellites.....there is a member in here who is very high ranking saying it isn't true

regardless if it uses it or not, gps is amazing
[Galaxy S III General (US Carriers)] neyenlives:
That and the internal hardware has a actual .....****....forgot the name....hydrometer...i mean barometer..but not that word....lol brain fart
[Galaxy S III General (US Carriers)] biff6789:
Incorrect. You can see in his screenshot that he is connecting to sats 65-88. These are the Russian GLONASS sats.

This means that the North American version of the phone can see and use both GPS and GLONASS
[Galaxy S III General (US Carriers)] eyecon82:
link please? max satellties i can see are like 24 on a clear sunny day outside
[Galaxy S III General (US Carriers)] biff6789:
Meant to hit quote, but I accidentally gave you a free "Thanks" instead :)

Here are a few links showing that any sats numbered 65-88 are GLONASS:

http://www.anandtech.com/show/5533/motorola-droid-razr-maxx-review-18x-the-battery/3

http://developer.sonymobile.com/wp/2012/01/19/glonass-support-in-our-latest-xperia-phones/

Furthermore, due to the rotation of the earth, a device can only connect with 12-13 max sats when it can only see GPS:

If you can talk with 20+ satellites then you are definitely communicating with two separate systems
[Galaxy S III General (US Carriers)] eyecon82:
I'm seeing about 24 satellites max...and locking onto about 14 of them..

Thanks for the free thanks! lol..I gave you one back in return ;)
[Galaxy S III General (US Carriers)] Kalm_Traveler:
yeah just used it yesterday for the first time and was amazed at the instant GPS lock.

Coming from my old G2X which took several minutes at best, up to 10 in some cases this GS3 is a marvel!
[Galaxy S III General (US Carriers)] chconser:
So now the Russians will be able to find me, too?!?

Oh snap. :rolleyes:

Seriously though, the GPS & navigation rock on the S3.
[Galaxy S III General (US Carriers)] tckelsey:
Kinda bummed that you guys are getting such good GPS usage. The few times that ive tried to use mine its still VERY off. And I mean way off by miles. And it takes a few minutes to lock on at all. Almost as bad as my Evo 4G :(

Any suggestions?
[Galaxy S III General (US Carriers)] eyecon82:
my evo 4g had great GPS compared to the sgsII....that phone's radio and GPS blows
[Galaxy S III General (US Carriers)] Bowsa2511:
Best GPS I've used
[Galaxy S III General (US Carriers)] lopezpm:
Haven't really needed the maps that much. But the times I've tried it out, it has been extremely fast. It links on within a second or two.
[Galaxy S III General (US Carriers)] tckelsey:
Hmmm well my Evo 4g was terrible also... Would show me going the complete opposite direction and be off by miles.
[Galaxy S III General (US Carriers)] Juicy92:
I miss my moto already lol. Signal on this phone is not good and my gps just isnt locking on anything. Its pretty bad... i cant wait for some roms and whatnot
[Galaxy S III General (US Carriers)] spoonerdee:
In my warehouse (which is like a fortress) I get about 1-2 satellites, if I move to one of the windows it jumps to about 10-12.

Navigating is excellent thus far, it's able to lock on to my signal to tell me what room I am in in my house. Pretty neat.
[Galaxy S III General (US Carriers)] Juicy92:
Im in a brick building near the window and i got one connect for about a millisecond. Hope its not a hardware issue. Ill try it outside later.
[Galaxy S III General (US Carriers)] Lieu10ant:
complain to where you bought it from. tell them it's faulty and gps doesn't work. they'll return it.
[Galaxy S III General (US Carriers)] Gregen11:
I had it drive me home with navigation and it was flawless. I would pass roads at the same time as it showed on my phone.

Granted, I'm coming from the captivate, so almost any GPS is better, but it's still amazing nonetheless.
[Galaxy S III General (US Carriers)] neyenlives:
Sounds like a bad device. Since everyone else is having awesome success.
[Galaxy S III General (US Carriers)] Juicy92:
Must have been a combination of poor wifi and poor wireless signals all together. Great success on the way home. I can no longer complain lol
[Galaxy S III General (US Carriers)] Juicy92:
Does anybody elses phone constantly search for gps? I have no idea why but it searches about every 15 seconds
[Galaxy S III General (US Carriers)] BlackDino:
I think a paper map is better then the captivate
[Galaxy S III General (US Carriers)] rhambling:
GPS

I upgraded from a HTC Hero. that phone would take minutes to lock on, if even. it made using any app that needed GPS a pain. the S3 is pure awesomeness. GPS locks on within seconds and is pretty damn accurate.
[Galaxy S III General (US Carriers)] biff6789:
I know you're being facetious ;)

But to clarify to others who might be confused: GPS and GLONASS satellites don't track anybody. All the satellites do is constantly broadcast their precise location in space. It's the receiver in your phone that is then able to take those signals and do a little math to trilaterate your position.
[Galaxy S III General (US Carriers)] Juicy92:
So it seems that every 15-30 seconds my phone searches for gps and I feel like that would just be draining my battery. Batter monitor widget doesn't show enough info for me to track down what is causing it, does anyone have this issue or can tell me a better app that will tell me what is constantly checking my location?

Also , anyone know what this icon is
[Galaxy S III General (US Carriers)] TLS2000:
It uses more than just the precise location of the satellite. It also uses the synchronized clocks of the satellites. Having the locations of the satellites merely tells you where they are. The time allows your device to calculate it's location based on the different time that it receives from each satellite at the same moment. It also requires a minimum of three satellites for your device to be able to get a fix on it's position.
[Galaxy S III General (US Carriers)] tuffluck:
What the heck is that picture even supposed to represent?
[Galaxy S III General (US Carriers)] FreydNot:
Oh great. Now the trilateral commission is in on the act? Tinfoil hat time ;)

/also being facetious
[Galaxy S III General (US Carriers)] Juicy92:
Icom at the top
[Galaxy S III General (US Carriers)] babieblu:
I think that's to indicate that your location services (GPS, google, etc) are active. I think you can adjust this in settings > location services?
[Galaxy S III General (US Carriers)] Oridus:
Boom, 15-16 sats. 3 second lock on this screenie, but it's usually 1

Sent from my Marble White Samsung Galaxy S III on at&t.
[Galaxy S III General (US Carriers)] corythug:
Do our US variant of the sgs3 have the barometer invite for assisted gps accuracy? Just curious. Thanks.

Oh and I think the glonass thing is all but confirmed but my sgs3 saw twice as many potential satalites as my one x without glonass...
[Galaxy S III General (US Carriers)] chconser:
Yes I am. :D

Thanked you for your informative post. For real! (not being facetious :))

Sent from my SPH-D710
[Galaxy S III General (US Carriers)] chconser:
Lol, awesome! :D

Sent from my SPH-D710
[Galaxy S III General (US Carriers)] tacomojo:
Loving the excellence of this phone all together.
[Galaxy S III General (US Carriers)] BonesHopkins:
hrmm...My first real attempt to use the GPS yesterday and I was sorely disappointed. I used the built in Maps app which I assumed would work as well as the Maps app on my iphone, which is supposed to be pretty much the same thing and I was disappointed to see that according to the GPS I was between 1 and 2 blocks from where I really was and it had a hard time figuring out what direction I was moving even though I was traveling at about 50 mph.

Then I tried the ATT Navigator app and that wasn't much better. It got a GPS lock quickly enough but then took forever to refresh the map so eventually I gave up and pulled out my real GPS (Garmin nuvi) and used that to find my way around.

I'm taking another long drive today and will give it another shot. So far I'm not impressed though.
[Galaxy S III General (US Carriers)] boomerbubba:
For testing the actual accuracy of the GPS (as distinct from the imputed accuracy reported within apps such as GPS Test) I have found that the best tool is the My Tracks app. That app overlays the captured track on a Google map, which you can eyeball for accuracy and upload to your own Google account. Best to test some walking tracks as well as driving tracks. Even better is to run these courses simultaneously with another phone known to have an accurate GPS for comparison. Then you can post links to the test maps so we all can judge the accuracy, rather than just rely on the tester's adjectives in describing the result.
[Galaxy S III General (US Carriers)] Bagbug:
you need 3 locks to get a 2D fix with a GPS, 4 locks for a 3D fix (with altitude).

---------- Post added at 05:31 PM ---------- Previous post was at 05:22 PM ----------

The satellites provides only the signals (locations where they are), your phone does the math so you can see where you are on a map.
[Galaxy S III General (US Carriers)] neyenlives:
I wonder is that still true with an onboard barometer though. Thats what is really giving the fast locks and high accuracy I think. The real time barometric pressure gives the satellites real time elevation. So they do not need triangulation to establish location. Two satellites and the barometric data should locate, everything else is just gettinghere even moreto accuracy and establishing redundancy.
[Galaxy S III General (US Carriers)] rakeshchn:
Okay, that's right. But if you look at my screenshot there are 8 locks and still no fix (gps dot is yellow instead of green) and accuracy is not showing.

Sent from my SGH-T999
[Galaxy S III General (US Carriers)] Gregen11:
Haha, very true. I only ever used the captivate for Google maps, not navigation.
[Galaxy S III General (US Carriers)] boomerbubba:
Before this thread becomes a venue for misinformation, like we experienced hugely with previous generations of Galaxy S models across carriers, we should know whether the GPS hardware and software on all carriers' implementations of the GS3 are identical. They may be different again this time. I don't think we do know that yet.
[Galaxy S III General (US Carriers)] faulkton:
i was playing with Cerberus app, cool as hell btw, and was amazed how quick and accurate the GPS showed my location. Creepy really.
[Galaxy S III General (US Carriers)] mobilehavoc:
This is sitting in bed indoors about 15 feet from the nearest window. Simply amazing.
[Galaxy S III General (US Carriers)] Bagbug:
Try this, its free: http://www.samsungdive.com/DiveMain.do
[Galaxy S III General (US Carriers)] zmore:
Yes, the GPS is absolutely fantastic on the S3. A huge difference coming from the broken SGS1 Captivate. I get a lock (indoors even) in under 5 seconds, and with <= 10 feet accuracy. My Captivate used to take many minutes (if at all) to get a lock OUTSIDE, and the accuracy was all over the map.

GPS is so good now that I've placed an NFC tag on our main gate outdoors that I swipe my phone over to start "My Tracks" recording our routes. (I just love to see where I've been overlayed on maps)
[Galaxy S III General (US Carriers)] rakeshchn:
This service doesn't seem to be available in US phones.

Sent from my SGH-T999
[Galaxy S III General (US Carriers)] TLS2000:
I mistyped my earlier post. Three at the bare minimum will establish X, Y. 4 to get Z. In a 3d universe you must have 4 points of reference to establish your location. Barometric pressure doesn't just change with altitude.

2 will never work. You can establish the distance from each satellite, but you would end up in a situation where you would be in one of two spots in a 2d universe.

x<>x

X is satellite, you're at one end of both brackets either top or bottom.
[Galaxy S III General (US Carriers)] faulkton:
and it doesnt seem to have as many features as Cerbus either.

Front facing camera pic emailed upon failed unlock attempt = WIN!!

Definitely worth $3
[Galaxy S III General (US Carriers)] Juicy92:
This definitely
[Galaxy S III General (US Carriers)] BonesHopkins:
what are you guys using to check your gps? have you tried with the Maps app?
[Galaxy S III General (US Carriers)] insight3fl:
Gps works great for me in the car...No lock in hotel
[Galaxy S III General (US Carriers)] Bagbug:
I have a NA phone (Bell) and it works perfectly. I even registered my account on the Samsung US site...