[Q] Editing Phone.apk - AT&T Samsung Galaxy Note I717

Is there something special about editing the images inside phone.apk?
Every time I edit them, it becomes unusable. Thankfully I have many back ups to choose from. I am on the latest leak of Team Perfections Rom. Any help would be appreciated.

Dont know why I even post questions in this area!

Raiderman said:
Dont know why I even post questions in this area!
Click to expand...
Click to collapse
Maybe no one that has read your post has tried to edit that file. I used to do a little theming on HTC devices but haven't tried on a samsung yet. What do you mean by unuseable? That term is very broad. Did you resign the app?

Means it Force closes when making a call. Never sign system apk's. Push them using ADB.
It was the same for me on HTC phones. Hit and miss when editing images inside Phone.apk

Sorry, then I can't help. I always used Auto Sign to sign the apps first. Goodluck.

Related

[Q] [REQ] Flipfont application apk

Can someone upload the Flipfont application apk? Accidentally deleted it and i want to change fonts now.
lol I'm a bit confused myself...but why don't you just pull the settings.apk from a ROM or something...?
You know. It's been a really long time since I was on these forums. I used to come here before for winmo devices (5-6.1). Everyone was very helpful and understanding. What's with the accusatory tone? No intention of "lying" to you, just a misunderstanding on my part. I thought my request for the FlipFont apk was innocent enough, certainly not underhanded.
So I didn't uninstall FlipFont. Turns out the One Click Lag Fix causes custom fonts to not work. But the OCLF app includes a font installer. I thought Flipfont was broken, but it was the OCLF.
Sorry if I came off wrong. I intend to be helpful as much as possible. Don't let a couple users discourage you. ( yes, including myself) We all have our good and bad days¡! IMO as long as you have a legit question, we as a community should think before we post, and do our best to help...Hope you see this.
Sent from my SGH-T959 using XDA App
OCLF and Fonts
With all that being said... Have we found a way to install custom fonts with the OCLF applied? Mine currently shows 'an error occurred retrieving the option list'
However, on my girlfriend's phone, it shows a couple of the fonts that were installed.
Is there a correct and incorrect way to install fonts for tOCLF to see them?
Hung0702 said:
Can someone upload the Flipfont application apk? Accidentally deleted it and i want to change fonts now.
Click to expand...
Click to collapse
Can someone please upload this app or post its location from where it can be pulled off one of your ROMs? Im an Epic user and would like to try and get it working on my phone, TIA!
It doesn't appear to be an app. It is part of the settings.apk. It is built into it. Just go to the dev section and download a rom and pull the settings.apk from it. It probably wont work on your epic.
Pull it/push it and let us know.
Just do a backup first.
Moved of: Samsung Vibrant > Vibrant Themes and Apps
To: Samsung Vibrant > Vibrant Q&A
Please put your questions to: Vibrant Q&A
Deleted off topic!
Now let's please comment on the subject of the thread! No Hassle!

[Q] Help with XML editing

10 10 10 10 10
11 11 11 11 11
Don't look only in framework-res.apk, look in app and systemui.apk too
Repost.deletion
You are probably further ahead then myself, but I understand the frustration. I cant get the damn apktools to work for me to extract or decompile.i dont know if I have it installed right or what, but I didnt get any help yet. So far what I hear u can just extract system apks with 7zip/winrar if u are just swapping images(pngs)from originals as system apks sign themselves on boot.*Just passing information from what ive read in threads.Maybe u dont have 2 edit xml?Just tryin 2 help.
Sent from my R800a using xda premium
**Read next post**sorry triple posted...?
Sent from my R800a using xda premium
First off there plenty of theme tut threads. Second the blue bar is a .9. PNG not am XML. The second will be in the settings apk. Look at the display XML and that will lead you to it. Next one should not expect a reply mainly when the info is out there to be found aand by trial and error
first off im not an idiot. i know theres a bunch of theme threads. theres also a billion posts. even if i searched for this id have to go thru 100's of posts. dont be an asshole know it all. you can just answer my question and it'd be over with.
glenny buster said:
first off im not an idiot. i know theres a bunch of theme threads. theres also a billion posts. even if i searched for this id have to go thru 100's of posts. dont be an asshole know it all. you can just answer my question and it'd be over with.
Click to expand...
Click to collapse
OK well see here is the thing that image is not in the rom for my device. I only know the where to look from an older device I used to have. Second swearing on the forum is not allowed and yes there is alot of info that needs to be gone over. How do you think we did it. Search and ye shall find
And just to help a little to get the whole bar color changed you will need the framework Res, any device framework file and the contacts apk. Each section is a seperate .9.png that will need to be remade and then run the the tool in the sdk tools.
2.1 Language: XDA is a worldwide community. As a result what is ‘ok’ to say in your part of the world may not be ok in someone else’s part of the world. Please think about who is reading what you write. Keep in mind that what you think of as acceptable use of language may not be acceptable to others. Conversely, while reading member posts, remember that word you find offensive may not be to the writer. Tolerance is a two way street.
first, there is a lot of info in the rules but the word swearing was never included. a quick search and ye shall not find it. and i found your use of language by talking down to me very offensive. its a "two way street" remember.
second, a better way is to decompile the framework in apkmanager, edit the files in gimp/photshop/whatever, compile back with apkmanager. no messing with the 9 patches. but you already know that. because you know everything. senior moderator.
edit:
zelendel said:
Bottom line is people just cant talk to anyone any damn way they feel. This is not a site to make people popular. Hell I dont give a **** how many people use the kernel, rom, mod, or hack. Act like a fool and you deserve to be banned for good. The rules are here for a reason. Either follow them or leave, your chose.
Click to expand...
Click to collapse
did you seriously tell me about swearing? this is right in your sig. practice what you preach son.
cyrusalmighty said:
You are probably further ahead then myself, but I understand the frustration. I cant get the damn apktools to work for me to extract or decompile.i dont know if I have it installed right or what, but I didnt get any help yet. So far what I hear u can just extract system apks with 7zip/winrar if u are just swapping images(pngs)from originals as system apks sign themselves on boot.*Just passing information from what ive read in threads.Maybe u dont have 2 edit xml?Just tryin 2 help.
Sent from my R800a using xda premium
Click to expand...
Click to collapse
try apk manager. take your framework and put it in place-here-for-modding folder. run script. select 22 to set your project, select framework-res.apk. select 9 to decompile, keep the terminal open. the files you want to edit are in the projects folder. if you mess with the .9 png's dont touch the 9 patches on the outsides of the image. also, write down all the files you edit, youre going to need it later. after youre done making all your changes, go back to the terminal and select 11 to compile. if youre editing a system apk select Y when it asks you, then say Y to limit the amount of errors. it will then ask you to delete all the files you edited from the keep folder, the keep folder has all the original files, you want to delete all the files you edited from the keep folder so it can overwrite the originals with the edited ones. if you edited any xml files, delete the resources.arsc file also. after you deleted all the files you edited from the keep folder, go back to the terminal and press any button, it will finish compiling the apk. thats it
edit: i think its called apk multi tool now but i believe its all the same
I appreciate that detailed explanation. I couldnt do anything with the program, because I never hit 22 to set the project in the first step.lol. Now I was successful in decompiling my systemui.apk to swap out files & change colors in statusbar clock/date with another systemui.apk from a theme. I thought I did it right by compiling ,signing it afterwards, & changing permissions as I placed back in system/app folder but It just kept force closing anyways? The files I swapped were Clock.smali-Clock$1.smali & Dateview.smali- Dateview$1.smali. Dont know if these files are only in Sony Ericsson xperia play as this is phone im working with or what. Anyways thanks for helpful advice. Did you get any help with xml? Maybe try posting in phone specific forum?
Sent from my R800a using xda premium
Yes I did post that because people come here thinking they can disrespect anybody they want.
You can go ahead and edit the .9 that way all you want and I will keep an eye out for your next thread. Then ill even help you to show you how to properly edit the .9 or even do what I do and make your own.
I was not talking down to you. Sorry if you took it that way.I was telling to look for the info you needed as it is all here in the threads. Searching and reading is requried before opening a new thread. No spoon feeding here
As for your rule ref it states it right there. "What might be OK for you may not be ok for every one." Swearing is never cool in any civilized place. And no swearing has always been the rules.
Now I pointed you in the right direction. Take or not, your choice. Even if you want come on over to my teams themeing thread in the captivate or the inspire section. There is always great info in those threads.

Ninjamorph on Rezound?

Hey guys, got a quick question. I am new to the HTC Rezound, but not to Android in general. I am coming over from the D2G, and was wondering if I can use either Ninjamorph, or an app like it, the same way I would use it on the D2G. My goal is to change apk icons, so I can basically create the exact look and feel I want. I have read around that you can do it on a computer, but computer usage is few and far between for me.
So basically what my end goal would be is to find an image, download it to my phone, use some sort of app, and be able to alter the properties of the .apk file I am working with, so that I can change the icon thats displayed in my app drawer. Not sure if that makes sense.
I have tried to look around, and I haven't found anything saying whether this will or will not work on the Rezound, so if this has been posted elsewhere, I apologize, please just link me over.
Thanks for your help in advance!
Jonas. said:
Hey guys, got a quick question. I am new to the HTC Rezound, but not to Android in general. I am coming over from the D2G, and was wondering if I can use either Ninjamorph, or an app like it, the same way I would use it on the D2G. My goal is to change apk icons, so I can basically create the exact look and feel I want. I have read around that you can do it on a computer, but computer usage is few and far between for me.
So basically what my end goal would be is to find an image, download it to my phone, use some sort of app, and be able to alter the properties of the .apk file I am working with, so that I can change the icon thats displayed in my app drawer. Not sure if that makes sense.
I have tried to look around, and I haven't found anything saying whether this will or will not work on the Rezound, so if this has been posted elsewhere, I apologize, please just link me over.
Thanks for your help in advance!
Click to expand...
Click to collapse
I am also wondering if Ninjamorph or Metamorph work with the Rezound. I too am coming from a Motorola device, DX. There was another post on here asking about changing notification bar icons and I posted the question at the end of that thread. Hopefully someone has an answer
I had a d2g as well before upgrading to resound. I believe you can use ninjamorph/metamorph. Atleast to decompile/recompile the .apk. I have changed some .pngs in systemui.apk but what I did was extract all with rootexplorer, make my changes, zip it back together then rename the .zip to .apk. it worked like a charm.
Sent from my ADR6425LVW using xda premium
for gingerbread i say yes
for ics i say no

[MOD]HTCLinkifyDispatcher Fix - Oudated. See OP for Steal25's thread.

Edit: This fix is defunct as of the current OTA. For a working version of this software (Thanks Steal25!) check out the thread here: http://forum.xda-developers.com/showthread.php?t=1947686
I'll be requesting this thread be closed at this point, though I'll leave the files for anyone still on older software versions. It's served it's purpose. Thanks everyone!
Original post:
There are a number of build.prop edits out there for various fixes. One such edit gives back the ability to make a choice of what program you want for a specific action. This was removed by HTC due to Apple claiming a patent infringement of patent #5,946,647. This patent is what caused the Evo 4G LTE to be stuck in customs.
Due to the nature of build.prop files containing many areas that can be tweaked, ROM devs tend to make different tweaks between ROM's. Until now this could have caused issues.
This script makes a backup of your current build.prop, and then EDITS IT IN PLACE.
What does this mean? It means you can flash THIS file on ANY ROM on this phone and it will not mess up any tweaks your specific ROM dev has put in place.
Why is this important? There are a number of build.props edited with this fix (and others)...some of them are from the stock ROM and some are from various other custom ROMs. Simply copying one over your current build.prop could lose you important optimizations, or custom fixes your dev has set up. By flashing this script you keep those customizations and still get the benefit of having your choices back.
Instructions:
To tell if this edit worked for you, check in settings. If the app associations menu option is gone, then it worked.
You will need to clear defaults for specific programs in order to have a choice pop up.
Example:
If you have selected Chrome for your default browser in app associations, you will need to go to menu/settings/apps/downloaded/Chrome/clear defaults.
The next time you tap a URL you will have a choice of which browser to use.
Credits:
Thanks to iconeo for the original thread found here: http://forum.xda-developers.com/showthread.php?t=1693809
Thanks to Steal25 for the actual build.prop edits.
I am including two zip files. The first one will make the build.prop change to allow you to choose your own defaults.
The second one (HTCLinkify-revert.zip) will allow you to put your build.prop back to its default.
There are other build.prop edits out there and I will be creating ROM agnostic flashable zips for those as well.
Please let me know if there are any issues with this flash.
Edit: I have uploaded a new zip that should work with the latest OTA.
nice man
so people can flash this and still keep their tweaks
loving the support this phone is getting
flex360 said:
nice man
so people can flash this and still keep their tweaks
loving the support this phone is getting
Click to expand...
Click to collapse
Yep, exactly. For people that have a hard time editing build.prop on their own, this will do the trick.
Plus it's the easiest way to re-implement the fix if your ROM dev updates the ROM but doesn't include it by default.
So I'm guessing you can only use this if your phone is rooted right ?
Sent from my Xoom using xda premium
MRFERRARI23 said:
So I'm guessing you can only use this if your phone is rooted right ?
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
You can only manually edit the build.prop if you're rooted to begin with, so even if you choose not to do it this way, you'll still need root to make the change yourself.
To flash the zip requires root and unlocked bootloader since you need a custom recovery to flash zips.
Made a correction to the first post. It was Steal25 who came up with the original build.prop edit, not SteelH. Sorry Steal25!
Mines ready fixed by me. But still, thanks mass for this.
Edit: thinking about this makes me realize just how bad apple effd HTC. I mean, if I was one of the vast majority of users who dont root and just buy a phone and leave it how it is, I would honestly probably return this device and buy something different. And that would be hard because i love HTC and this device. But, removing the 'complete action using' dialog is just not something I could live with. Apple really, really, screwed HTC... and end users. :screwy:
Sent from my EVO using xda premium
It's fantastic, thanks man.
I've been following this issue, and it seems the build.prop fix also works for other HTC ICS phones. I assume this flashable zip would work for those phones as well, correct? Since it's editing in place, seems like it should work for all (One X, One S, Amaze 4G, etc.).
thanks, was looking for this mod
oryan_dunn said:
I've been following this issue, and it seems the build.prop fix also works for other HTC ICS phones. I assume this flashable zip would work for those phones as well, correct? Since it's editing in place, seems like it should work for all (One X, One S, Amaze 4G, etc.).
Click to expand...
Click to collapse
It should, yes. However I only had an Evo 3D and an Evo 4g LTE to test on, so I can't support other phones.
But as long as build.prop is in /system and contains the line ro.da1.enable=true this script should work.
Again though I can't test, so you're on your own.
Edit: One thing though: You'll need a modified updater-script. Right now I have 2 versions of this zip, one for Shooter (Evo3D) and one for Jewel (E4GLTE).
You'll need to modify the line at the top of updater-script to your own phone's model:
getprop("ro.product.device") == "shooter"
Replace "shooter" with "jewel" for the E4GLTE for example. Or you could simply remove the line. Should work fine without it.
Ok, I may be asking a lot...
But I'm not familiar with editing the script lines,
Could you possibly either make a zip with the jewel edit in place?
Thanx
Sent from my LtEvo using XDA
KaptainRandom said:
Ok, I may be asking a lot...
But I'm not familiar with editing the script lines,
Could you possibly either make a zip with the jewel edit in place?
Thanx
Sent from my LtEvo using XDA
Click to expand...
Click to collapse
This one already has jewel. If you want it for another device I can make a quick update for you, just let me know the device name. Or if you want to test it without the device check line I'll pull that for you and you can test it that way.
Many thanks for this. Although i was able to modify fue build prop myself, i did have a hard time. Everytime i edited the build prop with root browser it made a copy of itself . Confusing stuff. Finally sorted it with SM mánager.
Anyways this is much easier for someone with my skills
Thank you
SENT FROM MY EVO LTE USING XDA
corcgaigh said:
Many thanks for this. Although i was able to modify fue build prop myself, i did have a hard time. Everytime i edited the build prop with root browser it made a copy of itself . Confusing stuff. Finally sorted it with SM mánager.
Anyways this is much easier for someone with my skills
Thank you
SENT FROM MY EVO LTE USING XDA
Click to expand...
Click to collapse
Not a problem. It will come in handy later if your ROM dev makes an update. Just flash and go.
This worked flawlessly for me. It's SO nice to have the features back that I was used to on previous devices. Thanks!
OstrichSak said:
This worked flawlessly for me. It's SO nice to have the features back that I was used to on previous devices. Thanks!
Click to expand...
Click to collapse
Glad it did the trick for you.
smw6180 said:
Glad it did the trick for you.
Click to expand...
Click to collapse
No, thank you!
Will we ever be able to long press pics in the browser and have the menu come up with share with (list of programs)
It works now!
Sent from my EVO using xda premium

[MOD] [9/7/2012] AOSP Email attachment size 25MB from 5MB & ZIP restriction removed !

[MOD] [9/7/2012] AOSP Email attachment size 25MB from 5MB & ZIP restriction removed !
This will be my very first MOD I am posting.
After seeing how much cooler the AOSP Mail was over HTC Mail, and not to mention the extra security and certificates upgrades that the Exchange servers are going through. I decided to give it a spin.
My only let down was when i tried to attach a 8MB file, it FAILED and said that the attachment was too large..... WHAT A DEAL BREAKER.
Well, After doing some research I found out that the AOSP mail that has been out will only allow a 5MB attachment size.
I finally fixed the thing to allow up to 25MB of attachment size, b/c i was so frustrated with it, i did something about it and spent a lot of time hunting down things.
Below are three flashable zip files for your flashing pleasure.
AOSPMail_Exchange_25MB.zip is the modified AOSP with 25MB attachment size limit
OrigionalHTC_MAIL.zip will put back the original Mail.apk from HTC that came with the ICS Sense Global 3.6 - 4.03.605.2 update.
This one will assume that you flashed the AOSP mail with the Exchange.apk included in it. It will delete that Exchange.apk and put the original Mail.apk from HTC back in place.
AOSPMail_CM9_25MB.zip is the one for CM9 that was tested by someone to work with Kangs 9CM
Hope everyone enjoys and appreciates this ! I tested this out a couple of times on my Rezound and didn't have any issues using my hotmail account
A note about odex ROMS that are out there: You must delete Mail.odex in the \system\app folder to get this to work or you will get mail force close issues.
Any constructive feedback is appreciated! :good:
Don't forget to hit the thanks button if you like what i have done, and if you use my AOSP Mail.apk mod in your ROM please be sure to mention me.
Finally deciding to give back to the community in a small way at least; maybe a big one...
09/07/2012 - Added Mail for CM9 Kang with 25MB attachment limit.
12/16/2012 - Added the ability to download zip files now; zip restriction removed
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
AOSPMail&Exchange_25MB.zip MD5= dbb284d509ba1b6f5510b0d45eac8cd6
OrigionalHTC_MAIL.zip MD5= af22722cb557d8f8d327bc22926f3d76
AOSPMail_CM9_25MB.zip MD5= ac59315de142f9066df5172ffd58c3ab
this could be extremely useful to those who even use the email app.
Doesn't work on cm9 kang. Force close all mail apps now. Can't open
Sent from my ADR6425LVW using xda app-developers app
Great to have people who are making stuff. But, all I can say is Gmail.
Ohschit said:
Doesn't work on cm9 kang. Force close all mail apps now. Can't open
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Ok, it looks like the email for CM9 was modified in some way ( judging from file sizes, etc ) from the one that I modified,
I pulled out the email.apk from CM9 kang and made the necessary changes.
I need someone to test this for CM9 kang.
If this works I will post it in OP
10/05/2012 - posted in original post
Works! Thx!
Sent from my ADR6425LVW using xda app-developers app
Ohschit said:
Works! Thx!
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Rock! Glad it works. I will put in OP when I get a chance
Sent from my Rezound using xda app-developers app
Hi guys,
I installed the AOSP version through recovery and don't know where to find it. I have InsertCoin 9.6.3 currently. In the apps drawer I have the old Email HTC app.
Sorry for the noob question. Thanks.
nevrozel said:
Hi guys,
I installed the AOSP version through recovery and don't know where to find it. I have InsertCoin 9.6.3 currently. In the apps drawer I have the old Email HTC app.
Sorry for the noob question. Thanks.
Click to expand...
Click to collapse
The version in the zip replaces mail.apk in \system\app in case of NON CM9 roms ( sense base ),
insertcoin uses mail.apk so make sure you used the right one ( AOSPMail&Exchange_25MB.zip )
You could also use a program like root explorer to manually place the modified files in that location in system/app and set the permissions.
12/16/2012 - ZIP restriction removed
The zip restriction for downloading zip files has been removed
ENJOY
awesome email apk
does this bypass the exchange security measures? any or just PIN requirements? tried it and it doesnt but the email patcher does work.
the regular aosp didnt work with my jobs exchange server for whatever reason. i would get an error but the cm9 version did on my razr maxx(xt912)
its not often but when i do send larger files via email the only gripe i had has been relieved by your apk.
thanks a bunch.
soclean said:
does this bypass the exchange security measures? any or just PIN requirements? tried it and it doesnt but the email patcher does work.
the regular aosp didnt work with my jobs exchange server for whatever reason. i would get an error but the cm9 version did on my razr maxx(xt912)
its not often but when i do send larger files via email the only gripe i had has been relieved by your apk.
thanks a bunch.
Click to expand...
Click to collapse
well, i think that might be a little beyond me as far as removing those exchange security measures to be honest. This was/is my first mod.
I will look into it but i think i would require extensive code modification that i am just not familiar with at the moment.
carm01 said:
well, i think that might be a little beyond me as far as removing those exchange security measures to be honest. This was/is my first mod.
I will look into it but i think i would require extensive code modification that i am just not familiar with at the moment.
Click to expand...
Click to collapse
I appreciate the reply and your hard work on this. I've tried to work on apps myself but can't find the time and though you say its out of your depth to do what I'm inquiring about I can't even start to work on this stuff.
So again thanks for the hard work.
kitkat 5mb attachment limit
Hello,
I modified "AttachmentInfo.java" and "AttachmentUtilities.java" from
android 4.4 source code, then I rebuild the "Email.apk" application.
The problem is that after all those source code modifications, the 5MB attachment restriction it is still there.
What other files need to be modified?
I got to look, but it's a smali file and there is literally one one change that needs to be done in the code to get it to go to 25mb attachment size.
For the world of me I don't know who is the fool that keeps building them like this. I don't know off the top of my head atm.
Once I look up my mod notes I will reply to you message so you see it in the notifications. If you would mind reply to my post I would appreciate it as it was a coincidence that I checked this thread.
Best regards
Sent from my HTC6500LVW using xda app-developers app
Hi,
Thank you for the reply!
Quote "For the world of me I don't know who is the fool that keeps building them like this."
I think that the AOSP Email App is crippled because, and I will continue with something I read it somewhere, Google wants the big files to be transferred using its services: Gmail with the Gmail App, Google Drive, etc. and while transferring them back and forth, gain a little insight on their content too.
If you find your old notes, this will ease the required work to make AOSP Email a good daily driver:
- attach as much as you like to your emails (the server knows better how much it wants to accept)
- attach any files, not only jpg and video (I am not such huge multimedia freak, I want normal email use too)
- save any attachment (including the "very dangerous" zip files wich are now forbidden to be saved...)
- maybe delete directly (after confirmation) instead of moving to Trash, and then having to delete them again...
There are only 2 threads on XDA about this problem, and now. thanks to you, I am close to an answer.
carm01 said:
I got to look, but it's a smali file and there is literally one one change that needs to be done in the code to get it to go to 25mb attachment size.
For the world of me I don't know who is the fool that keeps building them like this. I don't know off the top of my head atm.
Once I look up my mod notes I will reply to you message so you see it in the notifications. If you would mind reply to my post I would appreciate it as it was a coincidence that I checked this thread.
Best regards
Sent from my HTC6500LVW using xda app-developers app
Click to expand...
Click to collapse
were you ever able to find your notes?
i hate the stupid limits in the default app.
the other thing i noticed is that hyperlinks are no longer highlighted (ie not clickable)
richard
DarkStarMedia said:
were you ever able to find your notes?
i hate the stupid limits in the default app.
the other thing i noticed is that hyperlinks are no longer highlighted (ie not clickable)
richard
Click to expand...
Click to collapse
I know what i did however the files were uncompiled source which i do not work off of. Furthermore, you will need to provide me with a deodexed version of the APK file in question.

Categories

Resources