yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S III] metalfan78:
I keep getting this after I edit and try to recompile. SecSettings.apk, trying to do the clock mod by Didact74. Any help would be appreciated.

Team Rejectz QUICK FIX

Compiling...

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

aapt: warning: string 'cpa_err_msg_parameter_error' has no default translation

n C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res; found: en_U

ja ko

aapt: warning: string 'insert_simuim_card' has no default translation in C:\Us

s\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res; found: es_ES it ko p

zh_CN

aapt: warning: string 'insert_simuim_card_message' has no default translation

C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res; found: es_ES

t ko pl zh_CN

aapt: warning: string 'stms_version' has no default translation in C:\Users\Ke

n\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res; found: ja

C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res\xml\date_time_

efs.xml:8: error: Error: No resource found that matches the given name (at 'en

ies' with value '@array/clock_style_entries').

C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res\xml\date_time_

efs.xml:8: error: Error: No resource found that matches the given name (at 'en

yValues' with value '@array/clock_style_values').

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutEx

ption: could not exec command: [aapt, p, -F, C:\Users\Kevin\AppData\Local\Temp

PKTOOL6288621379714724474.tmp, -I, C:\Users\Kevin\apktool\framework\1.apk, -S,

:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\res, -M, C:\Users\K

in\Desktop\TeamRejectzJBQuickFix2.0\SecSettings\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.j

a:255)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)

at brut.androlib.Androlib.buildResources(Androlib.java:269)

at brut.androlib.Androlib.build(Androlib.java:192)

at brut.androlib.Androlib.build(Androlib.java:174)

at brut.apktool.Main.cmdBuild(Main.java:188)

at brut.apktool.Main.main(Main.java:70)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:

sers\Kevin\AppData\Local\Temp\APKTOOL6288621379714724474.tmp, -I, C:\Users\Kev

\apktool\framework\1.apk, -S, C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\

cSettings\res, -M, C:\Users\Kevin\Desktop\TeamRejectzJBQuickFix2.0\SecSettings

ndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.j

a:253)

... 6 more

!!!Aborted!!!

Press any key to continue . . .
[Sprint Samsung Galaxy S III] hardrockcaffe:
I Have the same problem as [MENTION=2326685]metalfan78[/MENTION]
[Sprint Samsung Galaxy S III] Stryke_the_Orc:
Did you if the framework-res.apk of your ROM?

Slithering from the nether regions of a twisted mind and tarnished soul
[Sprint Samsung Galaxy S III] metalfan78:
I if'd the framework, twframework, and systemUI.
[Sprint Samsung Galaxy S III] Stryke_the_Orc:
I just noticed you've got it installed on your desktop, try moving your folder to the root of your C drive and name the folder apktool.

Slithering from the nether regions of a twisted mind and tarnished soul
[Sprint Samsung Galaxy S III] metalfan78:
Ah, thank you. That might be the problem.

---------- Post added at 11:27 AM ---------- Previous post was at 10:53 AM ----------

My laptop went down so I'm reloading everything on a different one so I'll try again when I get everything up and running.
[Sprint Samsung Galaxy S III] hardrockcaffe:
sorry for asking, but, did you get to fix the problem? :)
[Sprint Samsung Galaxy S III] metalfan78:
Actually no I haven't. I've got everything set up correctly(I think). Decompile goes fine, I make edits and recompile errors and aborts. I'm sure I'm overlooking something small.
[Sprint Samsung Galaxy S III] metalfan78:
I'm wondering if I have all the environment variables set up correctly. I've found so many guides on that, I'm not sure if I did it right. My frameworks are install under users/Kevin/framework. That's where they were automatically installed.

---------- Post added at 07:55 AM ---------- Previous post was at 07:52 AM ----------

Looking through the errors I see that 'could not execute command aapt etc' I think that's the problem but I don't know how to fix it.
[Sprint Samsung Galaxy S III] metalfan78:
So, everything works, it was bad code during the editing that was causing the problem.
[Sprint Samsung Galaxy S III] Slimegod:
I'm using Miui ROM and only have q out of the 3 apk's. Only have framework-res.apk and framework-miui-res.apk
[Sprint Samsung Galaxy S III] Stryke_the_Orc:
Use both of those and you should be fine.
[Sprint Samsung Galaxy S III] Slimegod:
Have a question about steps 7-9 to decompile a apk. So for clarification cause I'm a noob at this. The dist folder holds the new apk, correct. When it says using the build folder to put into the apk of the ROM does that build folder have the dist folder within it? Also once I drag the file back into the apk of the ROM will it automatically make the changes needed? Because initially when you start decompiling your moving or copying the apk your decompiling? Also the apk I would like to decompile is phone.apk which is in apps. But there is no systemui.apk in MIUI ROMs. If not can I still decompile it?
[Sprint Samsung Galaxy S III] Stryke_the_Orc:
The apk in the dist folder will have all your edited smali files, png's, etc. The only thing missing is the meta-inf folder, which you can copy into the new apk using 7zip (or a similar program) the dist folder will be its own folder inside the apk named folder. Afaik, the build folder is backups of the original files, could be wrong about that though. You should be fine to do miui roms with this tool.:beer:

Slithering from the nether regions of a twisted mind and tarnished soul
[Sprint Samsung Galaxy S III] Slimegod:
Ok cause I used a different apktool before and didn't have a dist folder when I recompiled that had my new and modified apk that's why I asked. My new apk was no where to be found
[Sprint Samsung Galaxy S III] timmetal6669:
Here is an updated version of this invaluable tool.. making development easy. .

http://d-h.st/fa9

Profit! !
[Sprint Samsung Galaxy S III] manufan721:
Someone just snuck back in under the radar..lol
[Sprint Samsung Galaxy S III] bilgerryan:
Nice
[Sprint Samsung Galaxy S III] timmetal6669:
Nice to see you guys too.. hit me up on handouts when you have the chance bilg..
[Sprint Samsung Galaxy S III] bilgerryan:
I get off work at 2 (EST)
[Sprint Samsung Galaxy S III] timmetal6669:
Thanks for hitting me back bro. You're appreciated.
[Sprint HTC EVO 4G LTE] E28 Bimmer:
So I might possibly have a fix for the continual dropping of the LTE connection, this is what I did

Enter the menu through the dialer via ##3282#

Select Edit Menu, enter your MSL number (You can get it from MSL Reader in the play store - requires root)

Select LTE Record

Change LTE scan Timer from 30 to 5

Select Menu and select commit changes, reboot and check LTE connection

I don't know if this is actually a good fix or just a coincidence that mine started working right after I made the change, I did this in an attempt to make my phone scan for LTE more frequently in hopes that it would stay connected, right after I made the change i have had absolutely no problem staying connected to the LTE network.

I would appreciate it if other people can change this and reply with their results so we can see if it actually makes a difference or not
[Sprint HTC EVO 4G LTE] om4:
Keep in mind that this will impact your battery life. You are forcing your phone to constantly search for a signal when you are in an area where there is none. Prl updates are now being used to update LTE info on the phone so try updating your prl
[Sprint HTC EVO 4G LTE] E28 Bimmer:
Updated prl many times only to be connected to LTE for a very short time and then kicked back to 3G, and i have not had any noticeable impact on battery life. As of right now I am at 4 hours on battery, 95% remaining, and 57% of that battery usage is from the screen
[Sprint HTC EVO 4G LTE] om4:
When you get to an area without LTE, the phone will constantly search for signal, that's when battery life will be impacted. This radio design is pretty low power though.
[Sprint HTC EVO 4G LTE] Tangobango:
I might have to try this but I definitely do not want my battery life to go down.

Thanks
[Sprint HTC EVO 4G LTE] E28 Bimmer:
well in my case and I imagine with most other people who are having LTE connection issues, I live and travel within the coverage area and when I do travel outside the area I have a car charger with me or something of that nature, and on the other hand my battery life with the EVO LTE is so excellent with MeanROM I never have really had to worry about it
[Sprint HTC EVO 4G LTE] shook187:
Isn't this a case with all LTE phones?
[Sprint HTC EVO 4G LTE] om4:
No, LTE does drain power but its set to only scan after a set time, this workaround lowers the time between scans significantly and will use more power. Some LTE phones have a separate chipset solely for LTE. They waste much more power then the integrated setup our phones use. Thunderbolt is a good example of that. Separate radios and terrible battery life
[Sprint HTC EVO 4G LTE] sgt. slaughter:
Ur also talking about chipsets that are 45nm process ones in regards to the phones with separate LTE modem chip like the thunderbolt... We are at 28nm process now with the current Qualcomm SoC....

Sent from my Wolfpack EVO
[Sprint HTC EVO 4G LTE] om4:
True, our phones are very efficient in comparison
[Sprint HTC EVO 4G LTE] digiblur:
Not really. Although the correct records have to be in the Prl for LTE to work they are not pushing updates to make lte work in new markets. Also the prl is not going to fix this connection issue.

Sent from my C64 w/Epyx FastLoad cartridge
[Sprint HTC EVO 4G LTE] leerage:
Will changing the LTE scan timer actually fix the threshold issue though?

I've found by doing *#*#4636#*#* and change the setting from CDMA +LTE/EVDO Auto to LTE,CDMA you can hold the LTE connection much longer. All the way up to -130 dBm RSRP. Even an LTE connection at -120 dBm should yield better results than 3G.

You'll still need to change it back once you are out of LTE though as you'll be left on 1X.
[Sprint HTC EVO 4G LTE] om4:
It does not, it just allows for the phone to reconnect faster.

Some people have not updated prl at all, they could benefit from an update.
[Sprint HTC EVO 4G LTE] xHausx:
I wonder if this is related to the wifi disconnecting in order to save battery life. Does it only drop LTE when the screen is off or does it also disconnect when it's being used?

If it's disconnecting on purpose shortening the reconnect time shouldn't harm battery life too much as long as you're in an area with LTE.
[Sprint HTC EVO 4G LTE] om4:
It won't if you are in a reliable area, in a fringe area you may connect. When the connection weakens, it will default to 3g and the phone will search again. If you make this change and live in an area without, it will continue to scan until signal is found
[Sprint HTC EVO 4G LTE] sslbaron:
Ok, so I was skeptical about the LTE issues of this phone. Because of this I grabbed my wife's LG Viper to see if she had 4G. She didn't, then I remembered I switched her phone to 3G only when she first got it to save battery life since her battery life sucks. When I switched back on get 4G, her viper connected to 4G right away. After playing around with her viper for a while and pulling in some good speed tests, I went back to my Evo, which was still sporting only 3G.

After cycling to airplane mode and back, my Evo showed 4G just long enough for me to get a signal reading of -113db. After playing around with my Evo for a while, I was able to hold a signal long enough to get a couple of speed tests in before it would switch back to 3G.

After playing with both phones for a while, I was able to observe that even though we are on the edge of a 4G tower, the viper did not switch over to 3G. It stayed on 4G even though the signals for 4G were pretty equal for the two phones. One thing I did find in the viper's ##data# menu is an option of "LTE, EVDO, 1X". Basically it looks like an order option for which the phone to look for service. I did not see this option on my Evo.

From what I've experienced, it seems that the Evo switches back to 3G a little too soon. Is there a way for us to make it hold on to the signal a little longer or with less db?

I will be playing around some more with the two phones. Right now, I switched my scan timer to 5. The only way my Evo is holding onto 4G right now is because I switched the data option to LTE only. The funny thing is that its been working great and holding onto 4G perfectly. I've seen it dip down to -118db and still function fine.

Sorry for the long post. I will have to agree that the Evo seeks to have a software issue.
[Sprint HTC EVO 4G LTE] sgt. slaughter:
Na this issue is more of a threshold issue I believe they are talking about. Ie seeing an EVO and an sgs3 side by side with only the sgs3 connecting to LTE... I can understand on weak signal areas as the sgs3 is supposed to have a tad better antennae and other things related to that area and such given the FCC docs results discussed at s4gru by AJ...

But in a fairly good area signal wise on both phones they both should get LTE which isn't the case at times it seems.... Hence the thought HTC needs to tweak the threshold here for us...I remember on WiMAX it was an easy edit, but haven't even looked once on our phone since I don't get lte here anyway. Lol
[Sprint HTC EVO 4G LTE] om4:
It is most likely a threshold issue. Too bad I can't seem to find anything either to fix it either, not in a reliable area to really justify mucking about with my phone. WiMAX was so much easier, then again just as easy to screw up. Could be one of the reasons this phone is locked down so tight
[Sprint HTC EVO 4G LTE] Pithism:
hey, im hoping to get some help.

I type in ##3282# and nothing happens on my dialer, am i suppose to hit something?

I am on aokp build 3, does that even matter?

I have had 4g in allston for a few weeks now, and for some reason i can not get a hold on that signal anymore. My phone says i have lte 13 connection, but i can not get a 4g internet signal.

Hoping getting into the phone debug menu or lte menu i can manual lock in on the tower better, but i can not get to the menu to edit those settings.

Ive updated to the 2.13.651.1 ota and PRI 2.45_003.
[Sprint HTC EVO 4G LTE] digiblur:
Nothing has really changed and the phone updates itself.

Sent from my C64 w/Epyx FastLoad cartridge
[Sprint HTC EVO 4G LTE] grizzlywan:
You can't use those codes on AOKP. It has to be on a sense ROM. You can use *#*#4636#*#*.. but not ##3282#
[Sprint HTC EVO 4G LTE] cables2590:
Also another code I found but don't know exactly what It does is ##786#. I lost all connection before and I have to go to this menu to rest everything but I really don't know anything else on that screen...

Never mind cuz I looked in it again I didn't see any reference to lte or anything that can be changed...

An here is another Site where it has all the different types of dial codes to mess with.. http://forum.androidcustomcreations...on/5477-htc-evo-4g-lte-dialer-codes-epst.html
[Sprint HTC EVO 4G LTE] ghettovirtuoso:
In the same menu you're referring to there is a bsr max timer. What is that, and what does it do.
[Sprint HTC EVO 4G LTE] waterbound:
I spent some time in Baltimore to watch the Orioles yesterday and LTE was everywhere. For the first time I connected unexpectedly to the 4g and was able to maintain a strong connection (14-18 down) the entire time. I was supprised but it worked perfectly. I have not adjusted any settings and running the new viper 2.0 Rom. Was ready to trade and get the gs3 but think ill wait for rollout to be complete everywhere, at least where I live etc..
[Sprint HTC EVO 4G LTE] Pithism:
ok ill try the #*#4636#*#*. do i just type in the info and it automatically connects or do i have to hit send or something?
[Sprint HTC EVO 4G LTE] leerage:
Just bring up the dialer and type *#*#4636#*#* and it will bring up a new screen.
[Sprint HTC EVO 4G LTE] xHausx:
Since it's using a built in/virtual sim we may need one of htc's sim tools to work with it. I'm not aware of any eng software being leaked for the evo lte, but if the one x has anything available it should work for us too.

It's safer to use a stock ROM if you're going to be messing with the radios. It can be very easy to ruin your device if the wrong things gets changed.
[Sprint HTC EVO 4G LTE] om4:
I've been patiently awaiting a leak but nothing so far le sigh
[Sprint HTC EVO 4G LTE] sgt. slaughter:
ahh the damn sim.... wouldn't of thought they would of stored the threshold settings and such there but could be why we haven't seen any mention of it yet i guess...
[Sprint HTC EVO 4G LTE] swaze:
Pretty much this. Just about every where in bmore I'm on lte and stay connected with no issue.
[Sprint HTC EVO 4G LTE] om4:
buck up sarge, we got a stable of great devs lol
[Sprint HTC EVO 4G LTE] sgt. slaughter:
Mmmmm this I very well know bud. Preached it from day one.

It shows that even with this stable that said value hasn't been found yet was the point there.

Sent from my Wolfpack EVO
[Sprint HTC EVO 4G LTE] digiblur:
It's in the NV but it is locked. Anyone know how to unlock stuff in there?

Sent from my C64 w/Epyx FastLoad cartridge
[Sprint HTC EVO 4G LTE] roids87:
which file contains the NV?
[Sprint HTC EVO 4G LTE] digiblur:
None, the NV is a file storage.

Sent from my C64 w/Epyx FastLoad cartridge
[Sprint HTC EVO 4G LTE] roids87:
I'm talking about the images that are flashed. There's 14to choose from in a radio update through an ota. If you can lead me to the correct image we can get some more help.
[Sprint HTC EVO 4G LTE] xHausx:
I'm just brainstorming here so I could be way off with that, but if anyone feels like getting their hands dirty with it a good place to start is:

http://xdaforums.com/showthread.php?t=1856327
[Sprint HTC EVO 4G LTE] sgt. slaughter:
Nothing wrong with brainstorming...just never would of thought the sim would of contained the threshold myself...would of thought it would be contained in the software somewhere or inside the radio files... I'd say maybe the PRLs since there is some lte info on them now evidently, but if that were the case digiblur would of known that already.

I think he said they were in the NV a lil while back...

Sent from my Wolfpack EVO
[Sprint HTC EVO 4G LTE] xHausx:
Yeah, thinking about it more the PRI or PRL may be a good place to look.

Edit: looks like the latest PRI (2.45_003) is mostly empty except for the version and a reference to: /nv/item_files/data/3gpp2/ehrpd_to_hrpd_fallback. The Chinese PRI (2.35_001) has two entries but are both different then this.

so far I'm only seeing references to 1x and EVDO in PRL 24006 (link)
[Sprint HTC EVO 4G LTE] sgt. slaughter:
so need to find the /nv/ location....makes sense there since thats where digiblur said it should be earlier...

got 0 clue off top of head...only thing "NV" that rings a bell is form the EVO4G...
[Sprint HTC EVO 4G LTE] xHausx:
AHAH! I just found it by dumb luck lol

I meant to bring up ##DIAG# but it hesitated so I typed in ##DEBUG# instead, and there it is. Very last option is "LTE Engineering"

edit: It looks like it just gives stats but it's a start
[Sprint HTC EVO 4G LTE] om4:
Lol been there already, didn't see anything out of the ordinary but I just took a quick glance. This is the first phone that I like so much that I'm worried about really digging into it. Looked at some of the settings and turned tail
[Sprint HTC EVO 4G LTE] xHausx:
Well I've got everything running smoothly and have full access to my NV files, any ideas about where to start looking? :)

The ehrpd fallback file referenced in the pri is only 7 bytes long and consists of:

01 01 01 01 03 00 00
[Sprint HTC EVO 4G LTE] om4:
Good luck, don't run away like I did lol
[Sprint HTC EVO 4G LTE] sgt. slaughter:
where were they located at?...

digiblur might be able to give some ideas on what values to tweak in there btw.
[Sprint HTC EVO 4G LTE] digiblur:
Schweet! So you are fully unlocked on the NV?

I have seen the ehrpd fallback being changed in the last 2 updates, but I'm not sure that is it.

---------- Post added at 08:09 AM ---------- Previous post was at 08:05 AM ----------

The PRL site is my doing as well. I need to update the analysis app to add if the geo's have the correct MNC/MCC records needed for LTE. And actually the EVO LTE takes the PRL you write, combines it with another file in NV and creates a 683-E version of the PRL with the PLMN record required for Sprint. But that's a whole other plan I have for something else. ;) Pretty cool though how it does that.
[Sprint HTC EVO 4G LTE] waterbound:
From Sprint Community

Take this for what it is worth.. from Sprint Community Forums regarding conversation with Sprint over recent LTE signal issues with the EVO 4G LTE. This is particularly voiced from a customer who was looking for credits and placing a complaint to BBB over the lack of service they aren't receiving:

http://community.sprint.com/baw/thread/95412?start=30&tstart=0

Direct from Sprint:

" September 28, 2012 Xxxxxx Xxxxx Better Business Bureau8080 Ward Parkway, Suite 401Kansas City, MO 64114 Re: BBB Complaint ID ####### Sprint Nextel Account ###### Sprint Nextel Case 1995693 Dear Ms. Xxxxx: Sprint Nextel is in receipt of the above-referenced inquiry of Mr. #### ####### Sprint Nextel received this inquiry on August 30, 2012. We appreciate your assistance in bringing our customer’s concerns to our attention. We appreciate Mr. #### taking the time to provide us with the details of his experience regarding his device concerns. We are continually striving to improve the quality of service provided to our customers. Please be assured that we value his feedback. We regret any inconvenience that this matter may have caused Mr. #####. Please be advised that our Technical Support group spoke with Mr. #### regarding his device and service concerns. At that time, Mr. #### stated that the voice quality has improved. However, he is still reporting trouble with his 4G LTE service. Our Technical Support group advised Mr. ##### that there is a known issue with HTC 4G LTE device regarding this issue. Technical Support further advised there is a software update in the works to fix this issue but it has not been released yet. Additionally, we are unable to comply with his request to credit his account $50 per month until this issue is resolved. We apologize for any inconvenience this matter has caused Mr. #####. If I can be of further assistance, you can contact me by calling the Executive & Regulatory Services Department toll-free at 1-866-727-0665, Monday through Friday, between 7:30 a.m. and 4:30 p.m., Central Time. Sincerely, Yyyyyy Zzzzzz, Executive Services Analyst"

It would be nice to see Sprint actually note this and make a public statement etc., (I know, I won't hold my breathe) but interesting none the less..
[Sprint HTC EVO 4G LTE] digiblur:
Very nice! Attorney General filings/complaints work very well too. Unfortunately it's the only noise that will get this fixed.
[Sprint HTC EVO 4G LTE] xHausx:
It's all good, I've already done much worse things to this phone and it survived. :)

You just have to be very careful not to change anything.

The NV is it's own file system stored in a protected part of the rom. I ended up using the QPST version the thread I linked to earlier mentions.

I found a few things I don't have access to and I haven't tried writing anything to it yet, but most of it is unlocked. I couldn't find the exact version of QPST or the drivers for this device though, so I'm still a little weary of it.
[Sprint HTC EVO 4G LTE] digiblur:
So how is the unlock accomplished?
[Sprint HTC EVO 4G LTE] om4:
That's my problem, I'm too curious, I'm liable to randomly change settings and like I said, its the first phone that I'm scared to ruin, I just like it too much lol