Getting some Blur back? - Droid 2 General

As shocking as it may seem I want some blur on my phone! Im currently running gummy 2.5 but after using blur for a couple of months i miss the messaging, email, alarm, camera, sticky note widget and most importantly the icons! is there anyway for me to get any of this back? I tried installing the apks but to no avail. I think I could do with just the icons. Any advice? Thanks!

They won't install like normal apks to the best of my knowledge. You seem to have all of the APKs though from blur so try one of these methods, not 100% sure it will work but it likely should. (Edit: I'm not entirely sure what you are talking about with the icons, but this should help you get the APKs you want back)
REMEMBER TO BACKUP EVERYTHING BEFORE DOING EITHER OF THESE!
1) Download the empty InstallAPKs.zip from this post.
2) Open the archive in 7z or winrar
3) Navigate to system/app and put all the APKs you wan't to install into the zip (just drag them into the archive and let it add/update them. I'd have stuck them in the zip for you but I don't have any blur apks with me)
4) Reboot recovery and install the zip
or
1) You could manually go into the system folder and replace the apks using root explorer. Remember to set permissions to 644 for each file you replace if doing this.

Related

[Q] picking and choosing what you want from a theme?

hey guys,
just curious if you could some how choose what you want to have in the theme and if you can mix themes, if so how? for example i installed epic unleashed 2.5 and i loved the battery indicator and i installed the 982dark theme for the droid 2 and it's great with a couple exceptions... personally I think i'm going back to the Kangerade Blue for the Droid2 but i still want the original battery indicator from the epic rom.
thanks
-Jim
As far as I know, we don't have this level of customizability on D2 as of now. However, we are starting to see this. Like this, for example:
http://www.xda-developers.com/forum/showthread.php?t=784855
I used to use a ROM for the old Touch CDMA that did in fact have this level of customizability - there was a thread that had pretty much every individual piece available to customize. But again, I haven't seen this for D2 yet.
damn... ok well hopefully we get there eventually... until then I'll just stick with the theme I overall like the best lol
I have this problem with themes too, and the solution is simple. Take the theme that you are going to install, open the zip, and just remove the apps, fonts, or framework you don't want altered.
For example, I despise the font changes alot of themes force on you. Makes my twitter streams unreadable, so I just open the zip, and delete the fonts folder. That way it won't override the stock fonts. I've never tried deleting individual files, but that method should work for icons as well.
Just open the framework.res (rename the .res to .zip or .rar if you have WINRAR installed, or just use the "open with or choose default program" option) goto the res folder, then drawable-hdpi and just delete the battery images from the folder before you install the theme.
An easy way to do this, is to make a copy of the zip first so you'll have a proper version of the theme to view. Open it up with winzip, WINRAR or whatever archiving tool you use on your computer. Then browse the files in thumbnail view to find the images you want to get rid of. Make a note of their file names, then open up the other zip, locate the files in question, right click, delete em.
I'm not quite understanding what you're saying Natty
For example, right now I'm using the Revolution Remix theme. If I unzip it, there are 2 folders: META-INF and system.
Under system there are 3 folders: app, fonts, and framework. In the framework file there are 2 .apk files (framework-res.apk and blur-res.apk) and the systems.jar file.
In the app folder there are all .apk files, and the font folders are all .ttf
I'm not seeing any pictures to be deleted, unless you mean to actually delete the respective app .apk files (for example, I dislike the Talk app icon and the Market app icon)
Edit:
So I guess you're supposed to just rename the .apk to .zip, but for some reason the files are not allowing me...Could these files be locked? (I don't know if that's a stupid question or not lol)
Edit #2:
So I got 7zip (yay for google), but when I go to open the .png files they don't want to open...an application opens to view them, but it just sits there saying "loading"
Natty_lite said:
I have this problem with themes too, and the solution is simple. Take the theme that you are going to install, open the zip, and just remove the apps, fonts, or framework you don't want altered.
For example, I despise the font changes alot of themes force on you. Makes my twitter streams unreadable, so I just open the zip, and delete the fonts folder. That way it won't override the stock fonts. I've never tried deleting individual files, but that method should work for icons as well.
Just open the framework.res (rename the .res to .zip or .rar if you have WINRAR installed, or just use the "open with or choose default program" option) goto the res folder, then drawable-hdpi and just delete the battery images from the folder before you install the theme.
An easy way to do this, is to make a copy of the zip first so you'll have a proper version of the theme to view. Open it up with winzip, WINRAR or whatever archiving tool you use on your computer. Then browse the files in thumbnail view to find the images you want to get rid of. Make a note of their file names, then open up the other zip, locate the files in question, right click, delete em.
Click to expand...
Click to collapse
I'm not sure if that would work for png files inside of framework-res.apk.... I would think that would cause a bootloop
It will work for the fonts folder and for any app you dont want to get altered in /system/app.
So just remove the app from the system/app folder? That's what I'm somewhat confused about.
DGalt11 said:
So just remove the app from the system/app folder? That's what I'm somewhat confused about.
Click to expand...
Click to collapse
If you dont want a themed app to overwrite your current app, then just delete the apk file from /system/app inside of the themed zip file. Or if you dont want a themed font to overwrite ur current font, then just delete the fonts folder inside of the themed zip file.
But deleting files from inside the framework-res.apk... I doubt that would work.
Any idea how to edit the Market? It's not under system/app.
Edit: Never mind, didn't know "market" was actually vending.
removing the png specifically will cause an issue however if you have another png that you would like you use you can just replace this and it will not overwrite then.
theecho said:
removing the png specifically will cause an issue however if you have another png that you would like you use you can just replace this and it will not overwrite then.
Click to expand...
Click to collapse
yeah that's what I did. just copy / replace.
DGalt11 said:
yeah that's what I did. just copy / replace.
Click to expand...
Click to collapse
So did the install go smoothly without the M logo freeze or bootloops? I hope so.
I'm Glad others came to pick up my pieces, lol. That's why this forum is so great. To summarize for those joining the party late, just take the .png's from another theme, and replace the unwanted images with those. Don't just delete them
It's working fine, no reboots or stuck in boot loop or anything. Didn't even need to wipe data / cache.
Now if I could just figure out a way to remove the font they used from just the browser and my apps and nothing else (b/c it looks really nice in the notification bar, the menus, on the widgets, etc. but makes reading email or reading stuff in the browser really difficult) I'd be golden.
So I started removing one font at a time, nothing changed.
So I removed the whole fonts folder, and still didn't get any change in the fonts in the theme.
Ideas?
Thats exactly why I got rid of it. What good is a font that you can't read? I'm not sure if you can just remove it from the statusbar specifically.
Remember, removing them prevents it from changing the fonts that are currently installed. So if they're already different, then they'll just stay that way when you install the edited version of the theme. You're gonna need to flash to the stock theme first, then flash to another theme (like the NexTheme for example) with all the edits that you made.
I see, so those files in the fonts folder aren't actually fonts. They're more like...where the fonts you want get stored. So you need to actually replace the file.
From what I've figured out, the majority of the fonts are derived from DroidSans. If you change that, you change most of the fonts including those in the apps, widgets, etc. So is there no way to specifically change a font in, lets say, apps vs. widgets? And what are all those other files in the fonts folder for
I have no idea. I just deleted the whole folder prior to installing to ensure I kept all stock fonts.

[Q] How to apply custom skins in Desire HD builds

I am currently using the super fast and reliable desire_hd2 build on my HD2. I have changed the icons (framework-res.apk) on the build with no trouble but I have come across this thread. Here are some cool looking skins which I would love to apply to my device but having trouble doing so.
I am asking for help on how to get these skins onto my phone as I think it would be awesome to swap and change these skins at will without changing the build.
Thanks in advanced.
nokn956120 said:
I am currently using the super fast and reliable desire_hd2 build on my HD2. I have changed the icons (framework-res.apk) on the build with no trouble but I have come across this thread. Here are some cool looking skins which I would love to apply to my device but having trouble doing so.
I am asking for help on how to get these skins onto my phone as I think it would be awesome to swap and change these skins at will without changing the build.
Thanks in advanced.
Click to expand...
Click to collapse
dl the skin apk you want, install as if a normal app, then go to settings - personalise - themes, choose your theme. done.
kam333 said:
dl the skin apk you want, install as if a normal app, then go to settings - personalise - themes, choose your theme. done.
Click to expand...
Click to collapse
The skins that come as a .apk file are easy to install. What if they come in a zip or rar file like this one. Now once this zip is extracted it has system/app folders with a load of .apk files for browser. calendar, friendstream etc and a META-INF folder. I have tried placing these folders into the root folder of the Android folder (desire_hd2 or simular, depending on which build you are using) and restarting. The first two times I tried, with different themes my phone would not boot past the htc splash screen and melody. I thought it might be because I were putting the META-INF folder in there as well. I have just tried to leave out the META-INF and my phone booted up fine. Then came the problems. Everytime I tried to start an application like browser, camera, mail etc, then a force close would come up and the application would refuse to start. I am currently reinstalling the desire_hd2 build for the third time today and still wondering what I am doing wrong.
Any help please
nokn956120 said:
The skins that come as a .apk file are easy to install. What if they come in a zip or rar file like this one. Now once this zip is extracted it has system/app folders with a load of .apk files for browser. calendar, friendstream etc and a META-INF folder. I have tried placing these folders into the root folder of the Android folder (desire_hd2 or simular, depending on which build you are using) and restarting. The first two times I tried, with different themes my phone would not boot past the htc splash screen and melody. I thought it might be because I were putting the META-INF folder in there as well. I have just tried to leave out the META-INF and my phone booted up fine. Then came the problems. Everytime I tried to start an application like browser, camera, mail etc, then a force close would come up and the application would refuse to start. I am currently reinstalling the desire_hd2 build for the third time today and still wondering what I am doing wrong.
Any help please
Click to expand...
Click to collapse
hi,
as far as I know, we can't use those native android files on android ports as they often require recovery mode to install (hopefully someone will correct me if I'm wrong).
sorry ur stuck with the apk's for now.
I do know you can put the framework-res.apk in root-system-framework in the android folder on your sd card, reboot to alter the wifi, battery and other icons at the top of the screen, just experimenting now to see if you can import the the icons for calendar, mail, message, internet friendscreen etc. Seems there might be a problem moving the com.htc.resources.apk to framework folder as you would framework-res.apk. Will try and report my findings on here.
good luck.
would be interested to see if you get it sorted

Tutorial: How to use 7zip to Theme your favorite ROM: Updated how to mod market app.

I decided to detail and share how I used 7zip to Theme my favorite ROM. Im doing this because I found it a bit tough to find a detailed guide that contained all the steps. Hope this will help some people who would just simply like to change a battery or signal icon, or whatever.
Have you ever seen a ROM that you really liked the icons but it was not for your phone. Well I did so heres what I did.
1. Download 7zip.
2. Download your current ROM, and the ROM which contains icons you like.
3. Right Click on your current ROM, choose 7zip and choose" extract to "what ever your rom is called"". This will create a folder with contents of your ROM.
4. Do the same for the ROM that you may want to take icons from.
5. Now start opening up the folders. I like to keep one ROM on one side of the screen and the other on the other side. Depending on whether the two roms are for the same phone will determine whether similar files will be in the same location. For the most part you will be opening framework_res.apk and systemui.apk.
6. Opening these apk's is as simple as following step 3 again. Right click apk, choose 7zip, extract to whatever apk is called.
7. Go into the folder of the apk, go to res, go to different hdpi folders, there may be a few. I found it helpful to have both roms open at the same time. Looking for icons of the same name.
8. So you've found the icons you want to change. Once you are ready to copy them from one rom to the other, you must be certain they have the same name, if they dont, then you must change the name of your new icons to match the ones you plan on replacing. Do this before copying them. When you copy them over its important that your computer ask you if you want to replace the file of the same name. That means it does in fact have the correct name.
9.This is where I got confused, putting it back together again. So here is what you do. Back out of the folder that you just changed all the pngs in. Lets say its drawable hdpi. Keep this drawable hdpi folder handy cause you will need it in a moment. Now open up the folder which contains your ROM in a seperate window. Lets say we are changing stuff in the systemui.apk. Navigate to the original apk for systemui, not the new folder of the same name.
10. Right click it, Choose 7zip. But this time select open archive. Now in archive navigate into the res folder and you will see drawable hdpi.
11. Right click it. and delete it. Now remember I said to keep the other drawable hdpi folder handy....drag and drop it into the archive to replace the one you just deleted. Now close the window. Do this for as many system apks you choose, most common are like I mentioned earlier framework-res and systemui, but you may want to change things in settings, dialertabactivity, contacts....etc.
12. Now you want to put these newly themed apks back into the original rom. Its easy. Keep the newly themed apks handy.
13. Right click on the original rom zip, choose 7zip, choose open archive. Navigate to the apk you want to replace. Delete it. Now drag and drop the newly themed one into the archive. Repeat this process for all the apks you may have changed.
14. Close the archive window and install the newly themed zip in cwm. You may want to add something like a V1 onto the end of the newly themed rom, that way when you copy it onto your sd, you can keep the original on there as well.
Hope this will help someone get there rom exactly how the like it...and if it did...hit thanks.
Lets say you are running cm9 with theme Chooser but you don't like some of the icons but more less like the theme.
Copy the apk from your data app folder using root explorer or whatever you are using...paste to your SD....copy it too your computer.
Use 7zip the same way you do with a system app. But this time at the point where you are in the archives delete the Meta folder also. Don't replace, just delete it. Now close 7zip.
Next you will need a tool called autosign, just Google it. With this tool you will drag and drop your newely themed apk into it and run it. Its very easy you will see, the result be an new signed apk being produced. Rename it back to original and move your modded apk back to your SD. By now you should have uninstalled the original from your phone so that you can install this one.
Remember if this apk ever has an update on the market it will revert back and you would need to mod the new version.
Hope this helps. If it does hit thanks.
vanisleryan said:
I decided to detail and share how I used 7zip to Theme my favorite ROM. Im doing this because I found it a bit tough to find a detailed guide that contained all the steps. Hope this will help some people who would just simply like to change a battery or signal icon, or whatever.
Have you ever seen a ROM that you really liked the icons but it was not for your phone. Well I did so heres what I did.
1. Download 7zip.
2. Download your current ROM, and the ROM which contains icons you like.
3. Right Click on your current ROM, choose 7zip and choose" extract to "what ever your rom is called"". This will create a folder with contents of your ROM.
4. Do the same for the ROM that you may want to take icons from.
5. Now start opening up the folders. I like to keep one ROM on one side of the screen and the other on the other side. Depending on whether the two roms are for the same phone will determine whether similar files will be in the same location. For the most part you will be opening framework_res.apk and systemui.apk.
6. Opening these apk's is as simple as following step 3 again. Right click apk, choose 7zip, extract to whatever apk is called.
7. Go into the folder of the apk, go to res, go to different hdpi folders, there may be a few. I found it helpful to have both roms open at the same time. Looking for icons of the same name.
8. So you've found the icons you want to change. Once you are ready to copy them from one rom to the other, you must be certain they have the same name, if they dont, then you must change the name of your new icons to match the ones you plan on replacing. Do this before copying them. When you copy them over its important that your computer ask you if you want to replace the file of the same name. That means it does in fact have the correct name.
9.This is where I got confused, putting it back together again. So here is what you do. Back out of the folder that you just changed all the pngs in. Lets say its drawable hdpi. Keep this drawable hdpi folder handy cause you will need it in a moment. Now open up the folder which contains your ROM in a seperate window. Lets say we are changing stuff in the systemui.apk. Navigate to the original apk for systemui, not the new folder of the same name.
10. Right click it, Choose 7zip. But this time select open archive. Now in archive navigate into the res folder and you will see drawable hdpi.
11. Right click it. and delete it. Now remember I said to keep the other drawable hdpi folder handy....drag and drop it into the archive to replace the one you just deleted. Now close the window. Do this for as many system apks you choose, most common are like I mentioned earlier framework-res and systemui, but you may want to change things in settings, dialertabactivity, contacts....etc.
12. Now you want to put these newly themed apks back into the original rom. Its easy. Keep the newly themed apks handy.
13. Right click on the original rom zip, choose 7zip, choose open archive. Navigate to the apk you want to replace. Delete it. Now drag and drop the newly themed one into the archive. Repeat this process for all the apks you may have changed.
14. Close the archive window and install the newly themed zip in cwm. You may want to add something like a V1 onto the end of the newly themed rom, that way when you copy it onto your sd, you can keep the original on there as well.
Hope this will help someone get there rom exactly how the like it.
Click to expand...
Click to collapse
Thanks Vanisleryan for this. I always wondered exactly how to do this!
Subscribed to it and looking for more guides...
-----------------
I9000 powered by RemICS-JB
If I understand your tutorial, we modify the ROM apks/theme before flashing the whole ROM on phone ?
But what if we just want to adjust some icones without re-flashing the complete ROM ?
I may not have really understood tour tutorial I try to do my best with english language lol, anyway thanks for it
That's how I do it, but yes you could just theme one system app like say contacts. Delete it using root explore and then reinstall it after. You may have a few force closes but everything should be fine after you do a reboot.
Personally I like having the whole rom themed so its easy to get back to reinstall if go and try some other rom. To each there own..there is always more than one way to do just about anything.
JW1 with Dmore 3.1, personally themed to look like Omega black and blue.
Updated second post how to change a market app and reinstall on phone.
JW1 with Dmore 3.1, personally themed to look like Omega black and blue.

Tweak theme without computer

I don't spend lots of time at the computer, so I like to find ways to do as much as possible on the phone. One thing I've found is that every theme I try has at least one element I wish I could change, as much as I like it overall. I don't know enough to make my own theme, but I found a way to change elements of the theme without using a computer. I'm sure this is not news to many of you, but I figured there might be other non-experts like me out there who might appreciate it.
1. Download Apktool apk file below, install it, open it, {it will automatically update on the first use for some reason}, go to settings and check 'device has root', {leave other settings alone}, then close the app, reopen and grant su access.
2. Make a directory in storage somewhere called 'apktool', {or something}, and copy the following to it: /system/framework/framework-res.apk, /system/framework/SemcGenericUxpRes/SemcGenericUxpRes.apk, and whatever themes you want to mix and match.
3. Open apktool app, navigate to apktool directory, and import the framework files by tapping on each one and selecting 'import as framework'. When done, you can then tap on the theme apk files and select 'decompile all', and they will be decompiled into folders called {appname}-src. Go into the folders with a root explorer and change what you want, then go back to apktool, and tap on the folder you want and choose 'recompile'. When recompile is done you end up with an apk called '{appname}-src.apk'. Tap on that and choose 'sign'. When done you will get an apk called '{appname}-src-sign.apk, which you can install normally.
-Notes, questions-
- I'm currently using Z1c stock .236 deodexed rom. This app should work on other phones, roms, versions, etc, but I can't say for sure. What I know is that there are at least 5 versions of the app out there, {Google search for 'apktool 4.4' or '5.2', etc}, and it seems like each one works better on certain versions of Android. There are also configurable settings. If you have a different phone or rom, etc, you just have to mess around with it.
- This app should work as normal apktool for modding systemUI and framework, but I can't get it to recompile on LP, but only on Kk. Decompile works fine, but on recompile it complains about lacking resources. I don't know what file it wants. If someone can figure it out that would be great.
-If you don't know what files to change, all I can say is that I didn't either. Start with the obvious stuff, like navbar keys, and see how brave you get. Just make sure your file names are changed, since every app doesn't use the same names for the same files. As long as you work with copied files you have nothing to lose. If something is wrong with your modifications, then it won't recompile correctly, and you'll just get an error message, so you can't really install something that's going to mess up your phone.
- This also works for changing appearance of other apps, not just themes. See my recent posts in the Naked Browser thread for examples. However, sometimes it won't be able to decompile an app, and there's probably nothing you can do. I think the way apktool works is based on how the app was created. If something is not compatible, it just won't work.
- You don't have to decompile just to pull files out of an apk, but you do need an app that can do it. I use Rom Toolbox Pro. There may be free ones, {maybe Mixplorer}. I think you can just change the extension to zip and extract normally. However, some files and folders are not the same zipped in the apk as they are when decompiled.
File link - https://drive.google.com/file/d/0B5E7sFT1phjoS003R0tkM21qUlk/view?usp=docslist_api
Nice tutorial bro :good:
Thank you very much!
Sent from my D5503 using XDA Free mobile app
Since sharing themes with others' work is not kosher, (http://forum.xda-developers.com/crossdevice-dev/sony/share-frankentheme-t3282360), I figured I'd add a little more here for anyone's personal use. In general, here's what I've found with these themes:
- Within each apk there is an 'assets' folder, which contains zip files. Each zip file mods a certain aspect of the ui. For example, there will be one for settings, which contains the little pictures next to each settings option, (personalization, with the little rainbow, etc). You can experiment with simply swapping these around with different themes. However, if you want to add a settings zip, for example, to a theme base that does not already have a settings zip in it, you have to mod the main android manifest file in the top level of the apk. If you want to see how it needs to be modded, look at one that has it already. It's pretty obvious, since it's the same entry for each zip, but with the corresponding zip name. You can also extract these zips and replace files in them and rezip. Keep in mind, though, that there are some things that aren't that simple and just won't work.
- There are some things that are coded in, and can't be changed, (as far as I can figure out), like accent color. It seems like accent color just comes with the 'android' zip, and there's nothing you can do about it. As a workaround, you can find an 'android' zip with a color you like, and change out the other files from the zip you wish you could change the accent on. Again, sometimes it just won't work and you won't know why.
- Some themes don't follow this pattern at all. I haven't learned much about them yet.
Screenshots show examples I've used...

Can't Modify SecContacts_M_OSup_Note_Legacy_USA.apk

Background: Really not loving the default New Contact icons and the random colors. Should be easy enough to change. What I tried (and failed miserably...)
MODest ROM 11 (Twiz/stock 6.01-based)
Flashpoint 5 Kernel
Copied SecContacts_M_OSup_Note_Legacy_USA.apk from
/system/priv-app/SecContacts_M_OSup_Note_Legacy_USA/
to my Win7 PC.
Used 7-Zip to unpack the file to a temporary folder.
Found the .qmg files I didn't like.
Found a .qmg that would be a passable replacement for the ones I didn't dig.
Made 11 copies of that image in a working folder.
Renamed each copy to the exact name of each of the 11 files I wanted to replace.
Dragged those 11 files back into the open .apk in 7-Zip
On the Phone, in Root Explorer:
Made a copy of SecContacts_M_OSup_Note_Legacy_USA.apk in the same folder:
/system/priv-app/SecContacts_M_OSup_Note_Legacy_USA/
deleted the original
Copied my mod'd apk back into this folder and set the perms.
Rebooted.
No Phone or Contacts on home screen or in Apps
Tried to 'install' the apk from Root Explorer.
Wouldn't install
Tried to delete cache & Dalvik from TWRP.
No Joy.
Tried to do a partial Nandroid restore of Contacts and sec.phone from Titanium (nothing there called /systempriv-app/SecContacts_M_OSup_Note_Legacy_USA)
No Joy.
Nandroid restore from TWRP.
Back to normal.
Okay, what did I do wrong, and how can I change the icons?
Should I have used APKTook instead of 7-Zip, created a new signature, etc?
Should my mod'd apk somehow be flashed from recovery rather than copied to a system folder?
Is this some perverted Samsung-ism that would have worked fine on any other phone on the planet?
Thanks for reading.
ForestCat said:
Background: Really not loving the default New Contact icons and the random colors. Should be easy enough to change. What I tried (and failed miserably...)
MODest ROM 11 (Twiz/stock 6.01-based)
Flashpoint 5 Kernel
Copied SecContacts_M_OSup_Note_Legacy_USA.apk from
/system/priv-app/SecContacts_M_OSup_Note_Legacy_USA/
to my Win7 PC.
Used 7-Zip to unpack the file to a temporary folder.
Found the .qmg files I didn't like.
Found a .qmg that would be a passable replacement for the ones I didn't dig.
Made 11 copies of that image in a working folder.
Renamed each copy to the exact name of each of the 11 files I wanted to replace.
Dragged those 11 files back into the open .apk in 7-Zip
On the Phone, in Root Explorer:
Made a copy of SecContacts_M_OSup_Note_Legacy_USA.apk in the same folder:
/system/priv-app/SecContacts_M_OSup_Note_Legacy_USA/
deleted the original
Copied my mod'd apk back into this folder and set the perms.
Rebooted.
No Phone or Contacts on home screen or in Apps
Tried to 'install' the apk from Root Explorer.
Wouldn't install
Tried to delete cache & Dalvik from TWRP.
No Joy.
Tried to do a partial Nandroid restore of Contacts and sec.phone from Titanium (nothing there called /systempriv-app/SecContacts_M_OSup_Note_Legacy_USA)
No Joy.
Nandroid restore from TWRP.
Back to normal.
Okay, what did I do wrong, and how can I change the icons?
Should I have used APKTook instead of 7-Zip, created a new signature, etc?
Should my mod'd apk somehow be flashed from recovery rather than copied to a system folder?
Is this some perverted Samsung-ism that would have worked fine on any other phone on the planet?
Thanks for reading.
Click to expand...
Click to collapse
That apk took me a long time to figure out too. It's one of the apps you I had to modify for multi dpi. The only way I know of is to change the compression when you're putting the app back together and even then it took a couple tries. There's probably a better way but the compression change seems to work well enough.
I don't know if 7-zip has this option, but with winrar you can change the compression to "store". You should know right away whether or not it worked. You'll see the little phone icon in the bottom left of the lock screen. You may still have to do a factory reset to see your changes (probably not though) but the app should work without it.
By the way, you can swap those image files for .png files if you'd like. Just delete the corresponding .qmg or .pio file.
I saw your post in the rom thread about theming TouchWiz. You should check out @supergrobi94's theming threads. He's put together an impressive collection of options for 6.0.1 and 5.1.1 and there's also a [how to] section that uses the vrtheme zip that will modify the res folder of a specific app without having to break it down. I'm not sure how active he is these days but he's always been very helpful with requests and questions in the past if you need it.
Supergrobi94's theming threads:
This one has all the themes
This is the [how to] thread
kevintm78 said:
That apk took me a long time to figure out too. It's one of the apps you I had to modify for multi dpi. The only way I know of is to change the compression when you're putting the app back together and even then it took a couple tries. There's probably a better way but the compression change seems to work well enough.
Click to expand...
Click to collapse
Ah, that makes perfect sense. But I'd never have figured it out myself, lol.
I'll dig into those theming threads, thanks.
kevintm78 said:
☆☆Edge Panel for ModestRom v11☆☆
DOWNLOAD-This will change your Contacts app to the S6 version and the IncallUI app to the Note 7 version because the people stripe will not work with the N4 contacts.
Click to expand...
Click to collapse
OK, this is from the MODest ROM thread, but I think it's germain here.
SO.....
If I want to 'try out' that Edge Panel, is there a way to revert back to the stock apps in question other than restoring a nandroid backup or re-flashing the ROM?
I ask because I'm thinking that, at least in the case of the Note 4 and its well known memory problems, 'bulk' memory writes like ROMs, nandroid retores, etc., stress the device, so I'm trying not to do it more than I have to.
During my last episode(see above) putting the stock apk back in its original folder didn't work.
Is there a standard procedure for either android generically, or touchwiz specifically, for safely reverting back to the stock system apps after experimenting w/ custom stuff?
EDIT: Just tried something. In Root Explorer, went into:
/system/priv-app/SecContacts_M_OSup_Note_Legacy_USA/
and simply renamed the .apk to .foo
Rebooted.
No Contacts, as expected, but no Phone either??? Not sure why.
Anyway, back into Root Explorer.
Rename .foo back to .apk
Reboot.
Still no Contacts or Phone, so something bigger at work here.
Before I have to restore Nandroid anyway (unless there's a better way???),
I flashed your EdgePanel.zip in TWRP to see if it would restore the Phone/Contacts apps.
Wiped the cache. Reboot.
Edge Panel is now there, but still no Phone or Contacts. WTF???
Last resort-TWRP- Factory Reset.
Now the Contacts/Phone are back (and all my other stuff is gone, lol)
So is whacking the Data a necessity here?
If so, it makes trying out things related to the phone/contacts a LOT more tedious...
Any workaround???
Thanks again.
ForestCat said:
OK, this is from the MODest ROM thread, but I think it's germain here.
SO.....
If I want to 'try out' that Edge Panel, is there a way to revert back to the stock apps in question other than restoring a nandroid backup or re-flashing the ROM?
I ask because I'm thinking that, at least in the case of the Note 4 and its well known memory problems, 'bulk' memory writes like ROMs, nandroid retores, etc., stress the device, so I'm trying not to do it more than I have to.
Click to expand...
Click to collapse
No, it doesn't look like I ever made an easy way to go back. I had thought I did but I'm either overlooking it or it's not there. Feel free to rifle through my androidfilehost folders if you want to double check. All of my stuff is very organized so it could be buried in there somewhere.
If you still need a recovery zip let me know and I'll get one together. I'm actually going to make one anyway but if you need it right away I can get on it. I didn't realize that there wasn't a way back to stock.
ForestCat said:
During my last episode(see above) putting the stock apk back in its original folder didn't work.
Is there a standard procedure for either android generically, or touchwiz specifically, for safely reverting back to the stock system apps after experimenting w/ custom stuff?
EDIT: Just tried something. In Root Explorer, went into:
/system/priv-app/SecContacts_M_OSup_Note_Legacy_USA/
and simply renamed the .apk to .foo
Rebooted.
No Contacts, as expected, but no Phone either??? Not sure why.
Anyway, back into Root Explorer.
Rename .foo back to .apk
Reboot.
Still no Contacts or Phone, so something bigger at work here.
Before I have to restore Nandroid anyway (unless there's a better way???),
I flashed your EdgePanel.zip in TWRP to see if it would restore the Phone/Contacts apps.
Wiped the cache. Reboot.
Edge Panel is now there, but still no Phone or Contacts. WTF???
Last resort-TWRP- Factory Reset.
Now the Contacts/Phone are back (and all my other stuff is gone, lol)
So is whacking the Data a necessity here?
If so, it makes trying out things related to the phone/contacts a LOT more tedious...
Any workaround???
Thanks again.
Click to expand...
Click to collapse
That is strange that they are not coming back. You may just want to double check your permissions and that there isn't two of the same apps in your folder. At the time of making that Edge zip I was still using other programs to make zips for me and the major downside to that is having to name the new apps the exact same as the old so it would get overwritten so if it doesn't match you'll end up with two active apps in one folder.
Now I think the best way to do that is to use a binary script (osm0sis has great tutorials for this) to change the app getting replaced to a .bak file and then just copy the new app to the system, set perms, and reboot (dalvik cache/ cache needs to be wiped if it's a framework .jar file). But to each their own. If you can get the job done a better way then I would use what you're comfortable with.
My system to test apps isn't much difference than yours. I think the only thing I do differently is change the app to be replaced to .bak instead of .foo although I can't imagine there's much difference. There's been a few apps like the Contacts app that gave me a bunch of trouble when modifying them but I can't remember ever having trouble bringing back the stock app. I wish I had more insight on that situation for you. If push comes to shove I would reflash the rom zip over factory reset only because the factory reset won't correct the system partition problem, if that's what's going on in this case.
kevintm78 said:
If you still need a recovery zip let me know and I'll get one together..
Click to expand...
Click to collapse
First, Merry Christmas!
Thanks very much. No rush on that, I'm OK on the Edge version for the minute.
What would be extremely useful if you have some time/curiousity would be to replicate my steps, ie renaming the untouched apk in a fresh MODest flash (i.e. break the contacts/phone function), and then see if you can get the whole thing working again without a factory reset, or if not, why. I see on xda, you & I are not the first ones to be tripping over this contacts.apk issue.
The other thing that would be telling is after successfully installing the Edge.zip, whether you can modify something (like a picture) within the contacts apk within the zip, reflash the zip and have contacts/phone still working with the change active.
I think there just HAS to be abetter way than Factory Resets.
Thanks so much again for the insights. I really want to become at least minimally competent at hacking my own ROMs together so I don't have to feel like such a noob/mooch on here, but I really do appreciate the help.
What are your weapons/platform of choice, or, if there are better tools for noobs learning the ropes, I'm all ears.
EDIT: Just found this. The last post is interesting...
https://forum.xda-developers.com/galaxy-s5/devs-only/recompile-seccontacts-apk-t3377142/page2
ForestCat said:
First, Merry Christmas!
Thanks very much. No rush on that, I'm OK on the Edge version for the minute.
What would be extremely useful if you have some time/curiousity would be to replicate my steps, ie renaming the untouched apk in a fresh MODest flash (i.e. break the contacts/phone function), and then see if you can get the whole thing working again without a factory reset, or if not, why. I see on xda, you & I are not the first ones to be tripping over this contacts.apk issue.
The other thing that would be telling is after successfully installing the Edge.zip, whether you can modify something (like a picture) within the contacts apk within the zip, reflash the zip and have contacts/phone still working with the change active.
I think there just HAS to be abetter way than Factory Resets.
Thanks so much again for the insights. I really want to become at least minimally competent at hacking my own ROMs together so I don't have to feel like such a noob/mooch on here, but I really do appreciate the help.
What are your weapons/platform of choice, or, if there are better tools for noobs learning the ropes, I'm all ears.
EDIT: Just found this. The last post is interesting...
https://forum.xda-developers.com/galaxy-s5/devs-only/recompile-seccontacts-apk-t3377142/page2
Click to expand...
Click to collapse
I'm not exactly sure what's going on with your contacts app not showing back up. Ever since modestrom v8 (I think) I've been doing the multi dpi on SecContacts_M_OSup_Note_Legacy_USA and every time I would test it doing the same as your way. After a reboot if the modified app was no good, then I would just delete that new app and change the name of the old app back to .apk, reboot and it would work again. I can't remember running in to any problems where I would have to factory reset or reflash the rom to get things working again.
There has been a couple times where I've had to factory reset to get a color change to show up or if you're adding toggles to the QS drop down that also (sometimes) requires a factory reset to show up.
As far as the post you linked, that is exactly how I do it except I use winrar to open the newly compiled app and drag the changes to the original. When I drag the changes over I change the compression method from "normal" to "store". If I don't change the compression the app doesn't work for me. The apps that I've ran into where I had to change the compression are: secContacts, secCamera, secSettings, and framework-res.apk. Any other app that I've worked on can be dragged and dropped without compression changes.
Jar files don't need an original signature though (so long as signature verification has been disabled, which it has in modestrom). They can be decompiled, edited, recompiled, and copied to the system. It does require a dalvik cache/cache wipe though on all framework files except for the framework-res.apk and twframework-res.apk
If you get a chance, you should start using apktool to decompile/recompile. It will make things easier for you in the long run and most of the time if you've made any mistakes in your edits apktool will catch it. If you're not familiar with apktool you can try using Tickle My Android or Advanced Apktool. You may also want to get Apktool by itself. I use all three of them. Android can be fickle and sometimes what works with one app won't work with another. What's nice about TMA and Advanced Apktool is that they'll do the drag and drop method for you, but when the compression needs to be changed that's when I use apktool by itself.
Sorry for the word vomit. Hopefully, this all makes sense.

Categories

Resources