Multi Mod. - T-Mobile Samsung Galaxy S 4

This Is A Request For A Multi DPi MOD
Request Please. I like using Custom DPI whenever i flash A New Rom but the SecPhone, SecContacts and Gallery doesn't always look right.
SO If someone could please create a Multi DPI or 360 DPI hack of of these three system Apps i'd really appreciate it or If someone could give me a walkthrough otherwise i'd appreciate it as well.
If this is in the wrong thread ,Please MOVE, not DELETE

BlackGURU said:
This Is A Request For A Multi DPi MOD
Request Please. I like using Custom DPI whenever i flash A New Rom but the SecPhone, SecContacts and Gallery doesn't always look right.
SO If someone could please create a Multi DPI or 360 DPI hack of of these three system Apps i'd really appreciate it or If someone could give me a walkthrough otherwise i'd appreciate it as well.
If this is in the wrong thread ,Please MOVE, not DELETE
Click to expand...
Click to collapse
There's an app for that. In the Xposed family there's a mod called "Per App DPI". Would that be what you're looking for?

lordcheeto03 said:
There's an app for that. In the Xposed family there's a mod called "Per App DPI". Would that be what you're looking for?
Click to expand...
Click to collapse
I am actually very familiar with that but what I mean is that If I have a 360 Dpi, I want Dialer, Contacts and Gallery as well to be on 360 dpi not 480. Per App DPI gives me the option to scale it down, but it doesn't look right at all, because though the apk dpi changes, the framework-res doesn't change at all...
Thanks for the reply.

BlackGURU said:
I am actually very familiar with that but what I mean is that If I have a 360 Dpi, I want Dialer, Contacts and Gallery as well to be on 360 dpi not 480. Per App DPI gives me the option to scale it down, but it doesn't look right at all, because though the apk dpi changes, the framework-res doesn't change at all...
Thanks for the reply.
Click to expand...
Click to collapse
You are right.
However, it has nothing to do with the framework-res lol. It is the apk itself. (Ie gallery, Contacts etc) i am trying to figure out the camera one, I am not sure but i think it might be a layout inflater which should be relatively easy to fix. just gotta find the xml files. however it may also be programmatically added.

elesbb said:
You are right.
However, it has nothing to do with the framework-res lol. It is the apk itself. (Ie gallery, Contacts etc) i am trying to figure out the camera one, I am not sure but i think it might be a layout inflater which should be relatively easy to fix. just gotta find the xml files. however it may also be programmatically added.
Click to expand...
Click to collapse
Yeah I said that backwards lol..So are you familiar with this, I have done some research and foind some helpful files here on XDA, i have gone adead and downloaded Java, the SDk android tools, apk tool, and pretty much everything necessary to decompile the apk and rebuild. The only thing I need now is a guid or a how to and I'm set to go. Well, that and some time as well. lol.

BlackGURU said:
Yeah I said that backwards lol..So are you familiar with this, I have done some research and foind some helpful files here on XDA, i have gone adead and downloaded Java, the SDk android tools, apk tool, and pretty much everything necessary to decompile the apk and rebuild. The only thing I need now is a guid or a how to and I'm set to go. Well, that and some time as well. lol.
Click to expand...
Click to collapse
Im very familiar with decompiling stuff. However, i usually prefer to stick to source code edits via smali. I dislike themeing or anything in that ball park.
By "finding some helpful files" have you figured out what needs to be edited? And you can use my GUI APK Tool to decompile things and recompile them without a command reference.

elesbb said:
Im very familiar with decompiling stuff. However, i usually prefer to stick to source code edits via smali. I dislike themeing or anything in that ball park.
By "finding some helpful files" have you figured out what needs to be edited? And you can use my GUI APK Tool to decompile things and recompile them without a command reference.
Click to expand...
Click to collapse
Yeah not really into themes myself.. I found some help on some websites, but they didn't relate to the s4, it was mostbly about the s4 and galaxy ace or something of that sort. Lol. I'm still looking into it and if I do ever get it, I will release it for public use, because I know that a lot of people don't like using custom DPI

BlackGURU said:
Yeah not really into themes myself.. I found some help on some websites, but they didn't relate to the s4, it was mostbly about the s4 and galaxy ace or something of that sort. Lol. I'm still looking into it and if I do ever get it, I will release it for public use, because I know that a lot of people don't like using custom DPI
Click to expand...
Click to collapse
can you link me to the stuff you found?
---------- Post added at 08:28 PM ---------- Previous post was at 08:19 PM ----------
Lol i just found
http://forum.xda-developers.com/showthread.php?t=2269483

elesbb said:
can you link me to the stuff you found?
---------- Post added at 08:28 PM ---------- Previous post was at 08:19 PM ----------
Lol i just found
http://forum.xda-developers.com/showthread.php?t=2269483
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1786990
http://forum.xda-developers.com/showthread.php?t=2303535
Don't Forget that Thanks Button

Related

[Q] De-TouchWizzing MusicPlayer.apk

hello guys,
i want to "de-touchwiz" the music player so i can use it on miui. i managed to merge the twframework styles and colors with the musicplayers' ones and looked for drawables in twframework that are referenced by these and put inside musicplayer. i looked through all the xmls and where i found some "touchwiz:color" or similar i changed it so it points now to the local color/style file not the twframework one
but i got stuck at some points: i have some layout files that refer to frame layout with com.sec.android.touchwiz.widget and inside these touchwiz properties, like for android:id or things like that but touchwiz:twIndexViewHandlePosition and xmlns:touchwiz="http://schemas.android.com/apk/res/touchwiz". what should i do with them?
and do i have to change the smali code, too? i guess so but i don't exactly know where to start with it.
thanks very much for your help
-picard
anyone?
-10char
instead of removing those tw attributes, you could try to merge the tw framework into the apk.
Just decompile the frameworks and copy their source folders into the music's app source folder.
that's what i try to do, i copied all referenced images and tw color attributes to the apk, but for these i don't know how to change (i guess i need to make it an android attribute, can i make it by simply merging those from the framework?)
but what is "com.sec.android.touchwiz.widget" referring to? what do i have to merge to my app?
I did not meant resources but code.^^
"com.sec.android.touchwiz.widget" is a class somewhere in one of the tw frameworks.
okay, my bad
trying it
How did you go with this apk? I'm working on the same thing at the moment, I'm interested to know what happened.
Thanks
interested) hope you can get something done
Sent from my GT-I9000 using Tapatalk 2
kage00 said:
How did you go with this apk? I'm working on the same thing at the moment, I'm interested to know what happened.
Thanks
Click to expand...
Click to collapse
actually i dropped the project due to lack of time and skills
picard666 said:
actually i dropped the project due to lack of time and skills
Click to expand...
Click to collapse
I know what you mean, this app is a nightmare - samsung really made sure this apk was bloody difficult to port, I dont know what else to try, I keep having errors and the apk wont start, I think it has something to do with the boot sequence not being the same on AOSP as on a samsung rom, it checks for a certain sequence and if it doesn't see it, the app won't start...

[MOD] Extended Notification Toggles [12.7.11]

Extended toggles for your Epic Touch 4G
Decided to bring these back in a flashable zip. 14 toggles. Controls built into Settings>Display. Completely stock other than this mod. Enjoy.
Download [EK02]
No 4G toggle, working on a re-write when time permits.
Huge thanks to lidroid.
Nice!! Anyway to incorporate the wide app drawer and 5 icon launcher dock? I would love to incorporate this into my Calk 1.5a running on my phone right now. Appreciate the support
So what roms will this work on?
Sent from my SPH-D710 using xda premium
Good stuff; sort of looks a little "Cyanogen-ish!
ewalk4866 said:
So what roms will this work on?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Any ROM you want. It will remove any theming done to SystemUI though.
xlGmanlx said:
Nice!! Anyway to incorporate the wide app drawer and 5 icon launcher dock? I would love to incorporate this into my Calk 1.5a running on my phone right now. Appreciate the support
Click to expand...
Click to collapse
Different beast. I think there are already a few TouchWiz launcher mods that incorporate this. However, I will look into it cause it interests me as well and it's much more fun doing it yourself =P
Hmmm....it does sound interesting. What files in those are actually changed? Is it swappable like theming is? I hate to trouble you for a zip if i can crack open my own files and just make the changes etc.
barnacles10 said:
Different beast. I think there are already a few TouchWiz launcher mods that incorporate this. However, I will look into it cause it interests me as well and it's much more fun doing it yourself =P
Click to expand...
Click to collapse
This will also remove the 1x3G mod.. I assume?
xlGmanlx said:
Hmmm....it does sound interesting. What files in those are actually changed? Is it swappable like theming is? I hate to trouble you for a zip if i can crack open my own files and just make the changes etc.
Click to expand...
Click to collapse
Files in this mod? The three attached are all changed. I can try to get a zip up later. You can use an app such as root explorer as well, if you don't know adb, to put these in their place.
strongsteve said:
This will also remove the 1x3G mod.. I assume?
Click to expand...
Click to collapse
That is in systemui, yeah? Never looked into that one. If so, then yes, it will. However, I wouldn't mind adding that.
:shakes fist as sprint:
xlGmanlx said:
Hmmm....it does sound interesting. What files in those are actually changed? Is it swappable like theming is? I hate to trouble you for a zip if i can crack open my own files and just make the changes etc.
Click to expand...
Click to collapse
Gman.. I am not sure if you are still on one of my odexed roms..
I think I will do the smali edits to add back in 1x3G, odex, swap out images, and make flashable for my blue.
---------- Post added at 12:58 AM ---------- Previous post was at 12:57 AM ----------
barnacles10 said:
Files in this mod? The three attached are all changed. I can try to get a zip up later. You can use an app such as root explorer as well, if you don't know adb, to put these in their place.
That is in systemui, yeah? Never looked into that one. If so, then yes, it will. However, I wouldn't mind adding that.
:shakes fist as sprint:
Click to expand...
Click to collapse
Cool.. then I will wait for you to do the smali edits
as in i don't think every file in those are being modified so i was wondering if i could use a program like ninjamorph to open up those files and swap out applicable files. That is the extent of my "development" knowledge and its trivial, but less work to burden a dev with. Plus if its something "basic" like that, then no need to wait for theme's to incorporate the changes as i can do all that in one shot myself as the new stuff drops etc.
Basically i want to know if i can frankenstein this mod into my current ROM on my own or is it above my skill set haha
barnacles10 said:
Files in this mod? The three attached are all changed. I can try to get a zip up later. You can use an app such as root explorer as well, if you don't know adb, to put these in their place.
That is in systemui, yeah? Never looked into that one. If so, then yes, it will. However, I wouldn't mind adding that.
:shakes fist as sprint:
Click to expand...
Click to collapse
xlGmanlx said:
as in i don't think every file in those are being modified so i was wondering if i could use a program like ninjamorph to open up those files and swap out applicable files. That is the extent of my "development" knowledge and its trivial, but less work to burden a dev with. Plus if its something "basic" like that, then no need to wait for theme's to incorporate the changes as i can do all that in one shot myself as the new stuff drops etc.
Basically i want to know if i can frankenstein this mod into my current ROM on my own or is it above my skill set haha
Click to expand...
Click to collapse
Well the only way to do that would to bring over the classes which would cancel any java mods anyway. You could try dragging your theme over to systemUI, I can't guarantee it will work perfectly though. Worth a try
Updated OP with a 1x/3g compatible systemui
No worries, i am sure this will be incorporated across the board pretty soon anyways, just wanted to get bleeding edge. I sent Calk a PM to see if he had seen it, but patience is a virtue. Thanks again!
barnacles10 said:
Well the only way to do that would to bring over the classes which would cancel any java mods anyway. You could try dragging your theme over to systemUI, I can't guarantee it will work perfectly though. Worth a try
Click to expand...
Click to collapse
Looking at the OP, I take it this doesn't have screen rotation in the options.
maybe the "orientation" option?
Bobbywatts said:
Looking at the OP, I take it this doesn't have screen rotation in the options.
Click to expand...
Click to collapse
Thanks been waiting for this. This version does have working 4g icon and 3g signals in the staus bar.
---------- Post added at 08:42 PM ---------- Previous post was at 08:40 PM ----------
It's Auto Rotation
Man, this mod works great. Even fixed the stock volume toggle being slightly lowered after changing lcd density. Is there a chance you can change the lockscreen toggle to actually lock the device and turn off the screen(or I guess make a separate toggle)?
Can someone help me install using root explorer this is my first time using that app and I really wanna use.it
Awesome! I've been dying for this. I wish I could thank you more than once
---------- Post added at 03:29 AM ---------- Previous post was at 03:28 AM ----------
jxb25 said:
Can someone help me install using root explorer this is my first time using that app and I really wanna use.it
Click to expand...
Click to collapse
Just put the files on your SD card. Hold down the file > Copy, then go to the directories stated in OP, Hit the Mount R/W button, and paste. And then reboot
So, does this add toggles in addition to the stock ones? Will my 4G toggle and the other stock ones remain after these are added? Thanks.

[Q] Launcher2.apk image file edits?

Hi all,
I am trying to make a simple change to the Launcher2 desktop, I can't stand the divider line above the app drawer launcher button, which image file do I need to make transparent to achieve this?
Or is it not that simple??
Many thanks
Haven't tested, but check out res/drawable-xhdpi/divider_launcher_holo.9.png. I believe 9-patches have to be recompiled before replacing them in the APK, but I could be mistaken.
EDIT: Actually, might be hotseat_scrubber_holo.9.png and hotseat_track_holo.9.png instead.
copkay said:
Haven't tested, but check out res/drawable-xhdpi/divider_launcher_holo.9.png. I believe 9-patches have to be recompiled before replacing them in the APK, but I could be mistaken.
EDIT: Actually, might be hotseat_scrubber_holo.9.png and hotseat_track_holo.9.png instead.
Click to expand...
Click to collapse
Many thanks for this.
I am bringing this thread back to life folks as I would like to perform the same edit in Jelly Bean, but I would actually like to learn how to do it.
What are .9.png's and how do I edit them and are the files mentioned above still the same in Jelly Bean??
As I said I want to learn rather than rely on others to create mods so any help or a quick tutorial in how to remove the dock divider would be much appreciated!
Again, many thanks all!
wilskywalker said:
Many thanks for this.
I am bringing this thread back to life folks as I would like to perform the same edit in Jelly Bean, but I would actually like to learn how to do it.
What are .9.png's and how do I edit them and are the files mentioned above still the same in Jelly Bean??
As I said I want to learn rather than rely on others to create mods so any help or a quick tutorial in how to remove the dock divider would be much appreciated!
Again, many thanks all!
Click to expand...
Click to collapse
.9.png's are PNG image files that android recognizes as being stretchable, and it knows where to stretch them via the black outline around the image that can only be seen when decompiled.
.9.png's can only be edited when an apk has been decompiled, not just unzipped.
After decompilation you can use draw9patch, which is included with the Android SDK, to edit the border.
However, if you're just them(e)ing the image, you don't touch the border, as it could possibly mess things up. You really only use draw9patch to create a border on a new image.
Sent from my Galaxy Nexus using Tapatalk 2

Custom System sounds

Is there a an app to change the default system sounds in Android ive looked around and I've only seen apps that allow you to change ringtones or notifications I want for example to be able to change the low battery notification sound to some guy yelling charge it!
Thank you
Sent from my SPH-L710 using xda app-developers app
There's no app because it's different across phones...I'm sure one if the devs (like @rompnit or @freeza) knows where/which file it is that gets played on low battery, and you could then just go in and replace it with your own file
The files for sounds are in system/media/audio/ui. I use root explorer, read/write enabled. You're file needs to be a .ogg audio file. Then find the file you want to replace and rename the new one to match that, and just copy/paste to overwrite it. I do it every time I flash a new rom because the "bubble" sound for 'screen touch' sounds annoys me.
metalfan78 said:
The files for sounds are in system/media/audio/ui. I use root explorer, read/write enabled. You're file needs to be a .ogg audio file. Then find the file you want to replace and rename the new one to match that, and just copy/paste to overwrite it. I do it every time I flash a new rom because the "bubble" sound for 'screen touch' sounds annoys me.
Click to expand...
Click to collapse
Thanks for they tip! :highfive:
I got to say I love the XDA forum everything I know about modding android I've learned from here; Those were dark days when I had to mod my PSP with no community help. :good:
No problem, I learn something new from someone here almost daily. It's a great forum.
The only sound I can't find that I would love to change is the dialer button sounds. I've searched all over. That bubble sound drives me nuts.
metalfan78 said:
The only sound I can't find that I would love to change is the dialer button sounds. I've searched all over. That bubble sound drives me nuts.
Click to expand...
Click to collapse
Lol. You know it might be included in the phone app itself
That's true, I might need to dig around in there.
---------- Post added at 06:56 AM ---------- Previous post was at 06:52 AM ----------
The only files I found so far are callconnect and calldisconnect sounds.
metalfan78 said:
That's true, I might need to dig around in there.
---------- Post added at 06:56 AM ---------- Previous post was at 06:52 AM ----------
The only files I found so far are callconnect and calldisconnect sounds.
Click to expand...
Click to collapse
Just a heads up, the sound files you're looking for are in SecContacts.apk
Thanks! I would have never looked there.
metalfan78 said:
Thanks! I would have never looked there.
Click to expand...
Click to collapse
Haha no problem, wouldn't have either and didn't
I was looking through this thread (http://forum.xda-developers.com/showthread.php?t=2071970)
And the guy in the 1st reply talked about the bubble dial tone being in the SecContacta.apk
I've never messed with changing apks before. I'm assuming I unpack it, change what I want, rezip, and install. I think I might try to make a zip that changes this and the touch screen sounds. It will be my first attempt so it should be interesting.
metalfan78 said:
I've never messed with changing apks before. I'm assuming I unpack it, change what I want, rezip, and install. I think I might try to make a zip that changes this and the touch screen sounds. It will be my first attempt so it should be interesting.
Click to expand...
Click to collapse
Decompile, recompile, then take the original and delete the res, resources.arsc, and classes.dex files and move those over from the new APK you compiled (open both with something like 7zip)
You need to do this to preserve the system signature...otherwise you'll get bootloops or FCs
Thanks, I'll give it a shot this weekend. Any particular program I need to use to decompile? Or one you recommend? I was just searching and there is a lot of info. I feel like a newb all over again, lol.
---------- Post added at 06:57 AM ---------- Previous post was at 06:53 AM ----------
This seems to be the most user friendly method I have found
forum.xda-developers.com/showthread.php?t=2213985
metalfan78 said:
Thanks, I'll give it a shot this weekend. Any particular program I need to use to decompile? Or one you recommend? I was just searching and there is a lot of info. I feel like a newb all over again, lol.
---------- Post added at 06:57 AM ---------- Previous post was at 06:53 AM ----------
This seems to be the most user friendly method I have found
forum.xda-developers.com/showthread.php?t=2213985
Click to expand...
Click to collapse
Well the ONLY program that will decompile apks is apktool...you can use this though, just drag and drop to compile and decompile
http://forum.xda-developers.com/showthread.php?t=1913264
Thanks for the info, I appreciate it.
I definitely need to do a lot of reading. Couldn't get it to work like I wanted. I have even more respect for devs now, lol. I had a hard time even getting started.
metalfan78 said:
I definitely need to do a lot of reading. Couldn't get it to work like I wanted. I have even more respect for devs now, lol. I had a hard time even getting started.
Click to expand...
Click to collapse
One stop shop for all you need right here
http://forum.xda-developers.com/showthread.php?t=2281656
#21 and #22 will be useful
I'll have to give it a try again, life is busy though. Thanks for the link!
I keep getting errors with both tools during decompiling. I've read through so much info and I'm just stumped. I will have to try again later because I have to get to work. Oh well.

[Q]How to change 'Conversations.apk' background color

Device: Xperia z1c
ROM: D5503_14.2.A.1.114_Generic (deodexed)
I searched forum, tried to decompile and modify Conversations.apk and framework-res.apk, but cant find the files which would affect background ;(.
Attaching what background looks like, and roughly what i want to accomplish(edited screenshot)
Please help
Aculard said:
I searched forum
Click to expand...
Click to collapse
Except for Themes and Apps. - http://forum.xda-developers.com/showthread.php?t=2642634
Yea, ive searched for like 3 hours and didnt find it, yet it was right here. Sorry im inexperienced, and many thanks to you sir.
However is there a way to edit those background colors, its a bit too dark for me.
XperienceD said:
I'm going to turn this thread in to a tutorial instead, given the number of downloads and thanks received it's not really worth the effort these days of modding and testing which is twice the work for me as I theme them to suit my own theme too.
Click to expand...
Click to collapse
That would be awesome, sorry if im being too greedy of your time and will
Thanks again.
Aculard said:
That would be awesome, sorry if im being too greedy of your time and will
Click to expand...
Click to collapse
To change apps from light to dark you need to edit the styles.xml in the values folder of whatever app you want to mod, decompile one of mine and compare it to your stock and that will be your starting point, the rest is usually in the layouts folder and/or pngs to suit. There's a few links in my APK Modding & Theming Thread that will help too.

Categories

Resources