Change "Operator Name" in Network Settings? - Verizon Droid Incredible 2

My Inc2 is running Virtuous Unity 2.3.9. The "Operator Name" of 31672 shows on the lock screen and in the Setting>About Phone>Network.
Any way to change this?

lair12 said:
My Inc2 is running Virtuous Unity 2.3.9. The "Operator Name" of 31672 shows on the lock screen and in the Setting>About Phone>Network.
Any way to change this?
Click to expand...
Click to collapse
Open your /system/build.prop file in a text editor and see if the string 31672 exists. If so, change it and save. Make sure permissions are still correct.
Could be a shot in the dark.

Nope. String 31672 does not exist in the file. Other ideas? I assume this would say "Verizon Wireless" if it was stock.
Other location ideas?

lair12 said:
Nope. String 31672 does not exist in the file. Other ideas? I assume this would say "Verizon Wireless" if it was stock.
Other location ideas?
Click to expand...
Click to collapse
Check your eri.xml in /data folder. Change the text "31672" to whatever and reboot.

artvandelay440 said:
Check your eri.xml in /data folder. Change the text "31672" to whatever and reboot.
Click to expand...
Click to collapse
Time I found something, art beat me to it.
Here is some more information on the eri.xml file
http://www.droidforums.net/forum/droid-hacks/57078-how-edit-eri-xml.html
Also there is an app that will do it for you lol
http://forum.xda-developers.com/showthread.php?t=901865

The app seems to do nothing. And when I look in my eri.xml file I do not see the 31672 anywhere to replace. Other thoughts?
Running Virtuous Unity 2.3.9 on Incredible 2 with Verizon if that makes a difference.

Here is all that is in my eri.xml file
lPromptId...0...CallPromptId0...CallPromptId1...2...CallPromptId2...RoamingIndicator...IconIndex...IconMode...EriText...AlertId...EriInfo...64...T-CDMA 64...65...T-CDMA 65...66...T-CDMA Ext 66...67...T-CDMA Ext 67...68...T-CDMA Roam 68...69...T-CDMA Ext 69...70...T-CDMA Roam 70...71...T-CDMA Ext 71...72...T-CDMA Ext 72...73...T-CDMA Roam 73...74...T-CDMA Ext 74...75...T-CDMA Roam 75.......`.......

Here's a modded eri.xml, but it's only been confirmed on AOSP roms.
Please make a nandroid first-always a good idea, and you can delete it after if you really need to.
1)Download attached .zip file and extract the eri.xml file
2) Using your favorite xml editor (I use sublime text) find the text "Captain Pickles" and change it to your text of choice.
3) copy it to /data file on phone
4) reboot and profit

Thanks, but not doing a thing. In fact, I don't think that my "31672" is going to be found in this file. I pulled my wife's eri.xml (she is running rooted stock) and it is the same as mine. Yet, her "operator Name" shows as "unknown", where mine shows the "31672".
So, It must be from data in another file and location.

lair12 said:
Thanks, but not doing a thing. In fact, I don't think that my "31672" is going to be found in this file. I pulled my wife's eri.xml (she is running rooted stock) and it is the same as mine. Yet, her "operator Name" shows as "unknown", where mine shows the "31672".
So, It must be from data in another file and location.
Click to expand...
Click to collapse
Good to know- since framework is different on sense roms, the mod must be incompatible.

this is the app i use to do it.
http://forum.xda-developers.com/showpost.php?p=13531011&postcount=12311

Sorry, but CCName app does nothing to change my operator name or anything on the lock screen with my VU2.3.9 incr2. I tried this again (as it was mentioned earlier), and no luck.
I can live with it just fine, if needed.

Here is only place I find "31672"
I did a superXT search of my backup, and find "31672" only in one spot: com.android.phone/shared_prefs/htc_cdma_settings.xml
I've attached a copy of the hex file image.
Is this what I should change to fix this???

lair12 said:
I did a superXT search of my backup, and find "31672" only in one spot: com.android.phone/shared_prefs/htc_cdma_settings.xml
I've attached a copy of the hex file image.
Is this what I should change to fix this???
Click to expand...
Click to collapse
Just decompile the apk and edit the xml file in plaintext. Then recompile the apk.
Sent from my Incredible 2 using XDA App

times_infinity said:
Just decompile the apk and edit the xml file in plaintext. Then recompile the apk. Making it a lot harder trying to hexedit the compiled xml.
Sent from my Incredible 2 using XDA App
Click to expand...
Click to collapse
Sent from my Incredible 2 using XDA App

The file has "un_31672". Do you really think this is where the "31672" is coming from on my phone?? Is this what the file does?
Where is the location of the com.android.phone APK? I was not able to track it down on the phone (but it must be there). Can you provide the specific set of folders to get to this?

Phone apk is in /system/app. Be careful in there though.
Sent from my Incredible 2 using xda premium

Just did a search. There is no 31672 or 3.1.6.7.2 anywhere in this decompiled file.

Moved to Q&Q, if you are asking a question-post in the correct forum.

Related

[REQ] Battleheart hack/money cheat

Trust me I have searched t'internet to no avail.
I don't need or want people asking me why I want to cheat in this game...needless to say I had a Galaxy S II stolen and lost a 12hour worth save of this game.
I'm amazed that the iPhone version has an easy hack... but nobody has been able to do this in the wonderful Android community....
Anyway... I offer a beer to whoever can help me with this (or the first person to haha)... I promise.
Thanks in advance.
Really, nobody has a clue on this one? I previously found a couple of properties files but for some reason can't find them now...
I'm serious about donation too
Sent from my GT-I9100 using XDA App
kickassdave said:
Really, nobody has a clue on this one? I previously found a couple of properties files but for some reason can't find them now...
I'm serious about donation too
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Really not that much harder than doing it on the iphone.
If you got titanium backup then backup the game then open com.KelliNoda.Battleheart-20110702-203401.tar
you get a folder called data.
then thers some folders inside it.
correct path to the directory where the file is you want to edit is data\data\com.KelliNoda.Battleheart\shared_prefs
thers an XML file in there, edit that one to your liking.
For the gold i edited this line
<int name="1gold" value="xxx" />
where x is the amount of gold you currently have on the what i assume is first save
i changed it to <int name="1gold" value="999" />
and i had 999 gold.
basically just edit it along and see what happens.
Not really sure where this XML file is located on your phone but since titanium is free on market you might as well use it
Some quote for an easier editing
Also if you want to change their level just look for
1partyDB#level. Replace the # with 0-8. Each number corresponding to a party member.
To edit their power and defense, look for
1partyDB#power and 1partyDB#defense. Replace the # with 0-8.
Click to expand...
Click to collapse
the # correspond with the heroes that you have. 0 is lucille, 1 is shepherd. and so forth
here's an example:
<key>1partyDB1power</key> <---- the first '1' corresponds to the save file. the second '1' correspond to the character (shepherd)
<integer>75</integer> <---- change this to change his attack power.
take a look at the picture I've attached to get a better understanding.
Please note that this was done with version 1.0.0.
I haven't tried it with the newer version yet.
Edit: I tried it with the newer version and it works still.
Also the best way to look for the hero's value is just to search for their name and then most of the value you would want to change would be just right above their name. [power level is right below their name though]
Click to expand...
Click to collapse
To change lucilles level look for
1partyDB0level and change it to
Code:
<int name="1partyDB0level" value="30" />
for shepherd look for 1partyDB1level and chance it to
Code:
<int name="1partyDB1level" value="30" />
so both
here's my xml file http://www.mediafire.com/?27gtc0ch59exxob where i got all possible partymembers at lvl 30 and lucille/shepherd at lvl 40 and and little over 23 million gold.
firstly make sure you got a folder called TitaniumBackup on your SDcard, if its not there then open titanium backup and make a backup of battleheart or if you havnt made a backup of battleheart then make sure you do that before moving on.
Put the above mentioned file into the TitaniumBackup dir.
unmount your SDcard
run titanium and choose to restore data only to battleheart.
then run battleheart and you should find a savegame called goa200
I'm also sure you could simply do
Code:
ADB push com.KelliNoda.Battleheart.xml /data/data/com.KelliNoda.Battleheart/shared_prefs/
but i dont have adb on this laptop so i never tried
just make sure you kill the battleheard process first
Thank you very much for your help. I owe you a beer. On my phone just now but you got a donate option I can send to?
I managed to work out how to do it from your first post. Only wanted to modify the gold but again thank you very much for the other information as well
Sent from my GT-I9100 using XDA App
kickassdave said:
Thank you very much for your help. I owe you a beer. On my phone just now but you got a donate option I can send to?
I managed to work out how to do it from your first post. Only wanted to modify the gold but again thank you very much for the other information as well
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
No need for any donate. i play battleheart as well and never thought it was that easy to cheat =)
kickassdave said:
Anyway... I offer a beer to whoever can help me with this (or the first person to haha)... I promise.
Thanks in advance.
Click to expand...
Click to collapse
I did promise! I think it's fair... but if you are sure it's ok... fair enough!
kickassdave said:
I did promise! I think it's fair... but if you are sure it's ok... fair enough!
Click to expand...
Click to collapse
and i kindly refuse said offer as it wasnt much of a thing to do =)
goa200 said:
No need for any donate. i play battleheart as well and never thought it was that easy to cheat =)
Click to expand...
Click to collapse
That's very nice of you dude, we appreciate the help. Thank you!
no matter how i edited the value, it wont stick. it kept returning back to original value.
edited: finally got it to work, i was using root explorer and it automatically restore backup file. thanks for the guide.
MorRoquen said:
That's very nice of you dude, we appreciate the help. Thank you!
Click to expand...
Click to collapse
I knew I wasn't the only person trying to work out how to do this... ended up doing a wee level hack as well haha.
Sent from my GT-I9100 using XDA App
when i edit the values it dont change, it back to the original, why?
My values go back to normal or the game force closes, what am I doing wrong? Nd I'm using version 1.13 arm
goa200 said:
here's my xml file http://www.mediafire.com/?27gtc0ch59exxob where i got all possible partymembers at lvl 30 and lucille/shepherd at lvl 40 and and little over 23 million gold.
firstly make sure you got a folder called TitaniumBackup on your SDcard, if its not there then open titanium backup and make a backup of battleheart or if you havnt made a backup of battleheart then make sure you do that before moving on.
Put the above mentioned file into the TitaniumBackup dir.
unmount your SDcard
run titanium and choose to restore data only to battleheart.
then run battleheart and you should find a savegame called goa200
I'm also sure you could simply do
Code:
ADB push com.KelliNoda.Battleheart.xml /data/data/com.KelliNoda.Battleheart/shared_prefs/
but i dont have adb on this laptop so i never tried
just make sure you kill the battleheard process first
Click to expand...
Click to collapse
thanks for the tip!
just a noob question. how do i edit the xml file inside the .tar.gz file? i tried extracting the contents and then editing the xml file but winzip cannot put it back into the .tar.gz file.
Y0sHii said:
My values go back to normal or the game force closes, what am I doing wrong? Nd I'm using version 1.13 arm
Click to expand...
Click to collapse
two things:
1) don't edit in windows. it inserts carriage return characters not compatible in Android/Linux/Mac's/etc. Download a text editor onto your phone (I used TextWarrior) or do it in Linux
2) make sure edited xml file has same owner, group and permissions as original xml file. Root Explorer can easily change owner/group/permissions.
aussiebum said:
2) make sure edited xml file has same owner, group and permissions as original xml file. Root Explorer can easily change owner/group/permissions.
Click to expand...
Click to collapse
I couldn't set owner/group even after the file was in /data/data/com.KelliNoda.Battleheart/shared_prefs/. Instead I just checked read/write for "Others" under permissions and that made it show up.
aph said:
I couldn't set owner/group even after the file was in /data/data/com.KelliNoda.Battleheart/shared_prefs/. Instead I just checked read/write for "Others" under permissions and that made it show up.
Click to expand...
Click to collapse
You can do it on a PC
If you take out the file and edit it using notepad, you can overwrite the file within the tar using 7zip without having to decompile and recompile the tar.
Open it up using 7zip, browse to the location of the XML file and click and drag your edited version in to overwrite. You'll get a couple of messages, ok them both and you're done. Now just move the tar file back to your titanium backup folder overwriting the original. Now restore your backup and hey presto.
Sent from my GT-I9100 using XDA App
kickassdave said:
You can do it on a PC
If you take out the file and edit it using notepad, you can overwrite the file within the tar using 7zip without having to decompile and recompile the tar.
Open it up using 7zip, browse to the location of the XML file and click and drag your edited version in to overwrite. You'll get a couple of messages, ok them both and you're done. Now just move the tar file back to your titanium backup folder overwriting the original. Now restore your backup and hey presto.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Using TB restore data on Battleheart yields FC's for me 100% of the time. After a phone crash, I've been working on restoring my chars (not interested in cheating) for 4 days, trying at least 2 dozen potential solutions.
The "Others r/w" hack works for me at the moment and after days of effort, I'm sitting happy getting it to work at all.
If it breaks again I'll give your method a shot. Thanks for the input!

7-zip cant modify files

I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Albinoman said:
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Click to expand...
Click to collapse
Not true, regular image files can (should) be able to be draged out, edited, and droped back in an apk using 7-zip.
nighthawklude99 said:
I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
Click to expand...
Click to collapse
My guess would be that the apk was decompiled at some point before, but not recompiled right, or with the right program. Which phone.apk are you having issues with, the one on your phone or the one your pulling the pngs from?
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
nighthawklude99 said:
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
Click to expand...
Click to collapse
Sounds like your install of 7z may be messed up. I just tried it to make sure something didnt change in an update and it works fine for me still with default configuration.

[Q] [Fixed] ICS 4.0.4 BCM RC3.4U0 Roaming Indicator

Just flashed the BCM RC3.4U0 and now I'm roaming. Anyone know why this might be, if there's a workaround, or if I should just ignore it?
I have a CDMA Desire on nTelos.
Solution
ron427 said:
Tutorial:
How To Remove Roaming Indicator
01. Download a text editor.
02. Download a file manager like root explorer.
03. Head over to http://dl.dropbox.com/u/30169771/eri.xml (from your phone).
04. Highlight text from eri.xml and copy to clipboard.
05. Open text editor and paste text from eri.xml into a new document.
06. Save as eri.xml
07. Open root explorer.
08. Mount as R/W
09. Find the eri.xml that you just created.
10. Select move from the menu.
11. Move eri.xml to phone/data/
12. Reboot to make changes take effect.
Thanks to zoodski for the fix. I just wrote the tutorial.
Click to expand...
Click to collapse
Exists there a CMDA-version of BCM?? If yes, did you make sure you flashed it?
MatDrOiD said:
Exists there a CMDA-version of BCM?? If yes, did you make sure you flashed it?
Click to expand...
Click to collapse
Yeah, it's GSM/CDMA. It automatically detects which you have during install.
I saw someone else had the same problem and may have fixed it by pushing an ERI.XML file to phone/data/ but I don't know enough to know what to do there. I'll just PM him.
This forum is made for help. And PMing someone does not support this idea.
So please post what your problem with moving that file is and you'll get help.
Sent from my HTC Desire using XDA
MatDrOiD said:
This forum is made for help. And PMing someone does not support this idea.
So please post what your problem with moving that file is and you'll get help.
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
My bad. The thing is, I don't even know whats causing the issue. I just know he may have fixed it by pushing that file. But I assume that the file is unique to different carriers. I have nTelos, and nothing with APN's and similar stuff plays well with my phones.
I'd have asked him when he first brought it up in the thread, but I don't have 10 posts yet.
If anyone else was having this issue, I edited the first post with the solution provided by ron427 and originally zoodski.
Okay, here's an dumb question. I've installed BCM ICS on a CDMA Desire with US Cellular. I'm having the "roaming" issue as well. Following the instructions in the OP and I've come to a place where I'm stuck. I can't find the phone/data folder. What am I missing? It's pretty hard to move the eri.xml file to a folder you can't find! Help is appreciated.
crisscross3 said:
Okay, here's an dumb question. I've installed BCM ICS on a CDMA Desire with US Cellular. I'm having the "roaming" issue as well. Following the instructions in the OP and I've come to a place where I'm stuck. I can't find the phone/data folder. What am I missing? It's pretty hard to move the eri.xml file to a folder you can't find! Help is appreciated.
Click to expand...
Click to collapse
The 'phone' folder is just the broadest folder on your phone. Using Root Explorer, if you are in another folder, there will be a folder at the very top that is labled ".." with the text "parent folder" underneath. Press that until you just see a forward slash at the very top.
When you open a file explorer, it should open up to the "phone" folder. Just go to the data folder. Once you are in the phone/data folder, at the top it should just say "/data". Move the file to that folder.
Thanks! Figured it out.

[Q] Changing Carrier Name On CM10?

Okay i'm on CM10 and I want to change the "Virgin Mobile" to my Carrier's name "Alltel" how would I go about doing this the correct way? I've searched numerous forums and have not ran across a solution that works for me.
Google about editing eri.xml I'm pretty sure that's what changes your carrier name. If you need any further help let me know.
Its inside your /system/framework/framework-res.apk in the /res/XML folder. You can use 7zip on your PC to open the apk and extract the file for modification.
Sent from my One V using xda app-developers app
whoshotjr2006 said:
Google about editing eri.xml I'm pretty sure that's what changes your carrier name. If you need any further help let me know.
Its inside your /system/framework/framework-res.apk in the XML folder. You can use 7zip on your PC to open the apk and extract the file for modification.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
I've tried a variation of that, I extracted the build.prop from the ROM I am wanting to install, 7zipped the framework apk file, extracted the eri.xml but when I open it in a HEX editor, the information is encrypted and I can't see much to edit, I tried locating the "Virgin Mobile" lines but had no luck even locating what I needed ot edit, as far as overwriting the old eri.xml placing it in the framework file, and replacing the old framework file with the altered one I can do, I am just having issues locating the information in a HEX editor, or even wordpad.
i uploaded an eri.xml that i edited to say Alltel. My phone says alltel now, use hxd (or your hex editor, i recommend hxd personally) to follow the directions on the picture attached. Highlight the words Virgin Mobile, and start typing Alltel, and you will probably have to add spaces behind it (or in 3 spaces in front of it and 3 (? or 4) spaces behind it to center it better than i did) so it doesnt change the size of the file. Save it, put it back into your framework-res.apk, and push it back to /system/framework
The eri.zip i attached is an already done copy, the instructions are just for your future reference.
Enjoy!
(make sure you have a good backup of your framework-res.apk to fall back on before you push the new one to its spot)
Awesome, took your advice, but so I can learn by doing, i just manually took apart the ROM and edited the files needed and just put them bacl, reflashed ROM, and boom, it says what I wanted, thank's alot man, greatly appreciated.

[Q] Changes in ROM

Hello, i have a question.
I'm currently working on a ROM, and i want to change things, as default. For instance ; 1 homescreen in Trebuchet, when it is by default 3. how do i set this?
Thanks,
Rinse.
TheRinseM said:
Hello, i have a question.
I'm currently working on a ROM, and i want to change things, as default. For instance ; 1 homescreen in Trebuchet, when it is by default 3. how do i set this?
Thanks,
Rinse.
Click to expand...
Click to collapse
you need to decompile the trebuchet.apk, then edit the xml files in the res folder.
chromium96 said:
you need to decompile the trebuchet.apk, then edit the xml files in the res folder.
Click to expand...
Click to collapse
First of all, thanks for reacting.
This might sound really stupid, but we'r all here to learn uh?
How do i decompile an APK file??
Thanks,
Rinse
TheRinseM said:
First of all, thanks for reacting.
This might sound really stupid, but we'r all here to learn uh?
How do i decompile an APK file??
Thanks,
Rinse
Click to expand...
Click to collapse
I managed to access the apk contents via WinRar. Try it.
// Another way to do the customization is by changing the app settings normally, and then include a "data" folder in your rom with the app data.
Thus, when the rom is flashed, the app will have the desired settings.
abaaaabbbb63 said:
I managed to access the apk contents via WinRar. Try it.
// Another way to do the customization is by changing the app settings normally, and then include a "data" folder in your rom with the app data.
Thus, when the rom is flashed, the app will have the desired settings.
Click to expand...
Click to collapse
Actually if you try to decompile the apk with winrar, it will do it...but not correctly
I tried it and the XML files were unreadable.
Instead use apkmanager to decompile, then use notepad++ to edit the xmls.
Sorry, on the data partition?
Sent from my HTC Desire using xda app-developers app

Categories

Resources