saving attachments annoyance - Sprint Samsung Galaxy S III

I'm using the stock messaging app and every time I try to save an attachment it tries to save it as attachment_2 and then tells me that unless I want to overwrite the other file I'll have to rename this one. How do I get it so that it automatically changed the name of the attachment so that I don't have to go through those steps? I want to just say save attachment and have it automatically name it the next one. please help!

There's no way man.. just add a different number letter period what ever you want and it will save it.. that's what I do zero problems!!

You would have to be experienced with smali editing and would bave to modify the MMS.apk app
Sent from my PG06100

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!

Change App Name

I was wondering if it was possible to change the name of the Messaging app in Sense based roms to something like "Messages2" Reason i want to do this is because i want to make to have to instances of the application running at once on the phone. This is for people who have phones on metro but dont have root on their phones so they cant run my scripts to get mms. Any help would be appreciated.
I've never done it before so I can't guarantee that something won't go wrong but use a file explorer like Root Explorer and go to /system/app. Scroll down to the messaging application "MMS.apk" long press and rename it
Sent from my Nifty MikG'd up EVO 4g while eatin some Chop Suey.
Hit that thanks button if I managed to help.
Bloodykiller86 said:
I was wondering if it was possible to change the name of the Messaging app in Sense based roms to something like "Messages2" Reason i want to do this is because i want to make to have to instances of the application running at once on the phone. This is for people who have phones on metro but dont have root on their phones so they cant run my scripts to get mms. Any help would be appreciated.
Click to expand...
Click to collapse
You can go decompile the apk and go into strings and change the app name but that will only change the name not the package name. If u want to change that you will have to decompilecthe entire apk then open up all the smali and XML files in note pad++ then do a search for the package name. U can find that in the manifest. Usually com.something.something. do a search and replace for the package name and then replace the .(periods) with a / and replace all in open documents again.
Then go into the smali folder and click on the com folder. If u cluck through it you will see the first "something" that u saw in package name. Change that if u changed it in package name. Click that folder and see the next "something" that u changed and change it as well. Then recompile apk. Don't forget to save the changes u made in notepad++ before u change the folder names.

[Q] Modify "updater-script"

Does anyone know how to modify the "updater-script" that is within the following file path: cm-10-20120818-NIGHTLY-d2spr.zip\META-INF\com\google\android
I just want to modify one line within the updater-zip. I tried using notepad plus by copying the "updater-zip", modifying the line I wanted to and then copying and pasting back into the CM-10 update zip (in the above mentioned file path), but I get errors. I think its an issue with file "signing" or the fact the original update-script is packed "compressed", and when I edit it, it compress's the file.
The reason I am doing this is I want to be able to dual boot my stock rom and the C10 nightlies. The current procdure allows for CM9 only but in the link below a developer found a work around where he calls for updating the script - he does not explain how to do so (I am new to to this). See link below to see what I mean:
http://forum.xda-developers.com/showpost.php?p=28906564&postcount=49
Is there an easy fix for this? Can this be done on the phone. I want to avoid having to deal with "apk signing" etc. Thanks!
i imagine ur errors are when you install?
Try mine https://dl.dropbox.com/s/6gzr055iyb1v6hp/updater-script?dl=1 you probly just got a typo somewhere. Make sure u delete .txt from my attachment as it will probly be added when you DL it. Same goes for the one ur editing. Notepad adds .txt. make sure ur deleting the extension. Mine worked perfect so if it doesn't post the error u get in recovery.
and this can be done on the phone I use root explorer but u have to unzip, edit then rezip the entire cm10 file. Easier to hit the PC and use 7zip or even windows explorer.
billard412 said:
Try mine https://dl.dropbox.com/s/6gzr055iyb1v6hp/updater-script?dl=1 you probly just got a typo somewhere. Make sure u delete .txt from my attachment as it will probly be added when you DL it. Same goes for the one ur editing. Notepad adds .txt. make sure ur deleting the extension. Mine worked perfect so if it doesn't post the error u get in recovery.
and this can be done on the phone I use root explorer but u have to unzip, edit then rezip the entire cm10 file. Easier to hit the PC and use 7zip or even windows explorer.
Click to expand...
Click to collapse
This worked perfectly Billiard. I can now dual boot CM 10 and also revert back to my normal TW rom with a simple reboot. Thanks again !

[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.

Default call picture

Is there any mod or something that could change the default in call picture for all calls? The default picture is horrible and creepy looking...i searched but didn't find anything??
Sent from my SM-N900T
pvchip3 said:
Is there any mod or something that could change the default in call picture for all calls? The default picture is horrible and creepy looking...i searched but didn't find anything??
Sent from my SM-N900T
Click to expand...
Click to collapse
If you're rooted you can grab the secphone.apk from your rom zip or from system/priv-app ....copy to pc and open with 7zip (or other archive reader) navigate through the res folder find the folder drawable-sw360dp-xxhdpi and I think the file you'll want to replace is "call settings default image"...the image you replace it with should match the dimensions of the original file and needs the name to match exactly to, just replace file, put the apk back on your phone, move the file into priv-app using Root Explorer (rename the current secphone.apk to secphone.apk.bak) then copy in your modded file, then set the permissions on the file followed by a reboot...done
\There are more direct methods I suppose, but with these steps you can have exactly whatever image you want.
I had the same problem. I just cropped a picture I wanted to use, sent/saved to phone, edited existing contact picture, and replaced the picture with the one I wanted. Now my picture shows, and not the bad one that was synced from where ever. It took a while because I had to do about 50 of them one by one, but it was worth it.

Categories

Resources