Motorola Droid : How To Change Framework-res / Launcher?
Jun 10, 2010
Ok, so I've made changes to the status bar and other items, re-zipped the folder, placed it on the sd card and used the following command to update the file using terminal emulator..
View 9 Replies
Sep 6, 2010
How do you change the DOCK BACKGROUND when using ADW Launcher.
I am familiar with Launcher Pro and had no issues.
View 1 Replies
View Related
May 28, 2010
whenever i try to apply the framework-res.apk in metamorph it just gets stuck for up to 30 minutes before i just stop it. I have tried on 3 different themes and none of them work. Why is this?
View 6 Replies
View Related
Oct 11, 2010
I am rooted without ROM the only thing I have its 928DroidBlackGlassX-DroidX-OTA2315-DeOdexEERR-THEME, but when I install any other theme I don't get the dock, like when I install the fabulous revolution, I only get the framework. I don't get the dock, why?
View 2 Replies
View Related
Nov 1, 2010
Why did I do this? Well, I wanted to use Fightspit's circular battery icons. The DX's icons only change every 20% which is kind of useless for the icon set I wanted. It's easy to swap out icons (via 7zip) but adding icons creates a lot of problems. This forced me to come up with a workaround. Here's the process in case anyone else has been trying to do this.
---------------
Whats needed:
ApkManager
The themed framework-res.apk file
Extract framework-res.apk from any themed zip file
Or adb pull it from your THEMED phones system/framework directory
Stock framework-res.apk file
Extract this from TBHs deodexed 2.3.15 leak
Or adb pull from your STOCK phone
Batter and charging icons
I use 0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100 battery icons since the DX only reports battery readings in 10% increments.
I have 20 charging pngs. You can have more or less but youll have to modify some XMLs (see below) to get them to work.
You can use UOT Kitchen to generate battery icons. There are, also, other icons floating around on XDA. Just be careful to use HDPI compatible types.
The attached decompiled XML files (these go in the DECOMPILED drawable-hdpi folder along with the batter icons). Edit these if you add or remove pngs.
7zip or Winrar (I prefer the former for modding .apk files)
Working knowledge of DOS (optional) or patience
DIRECTIONS:
Stock framework-res.apk prep
Extract ApkManager (you can put this anywhere. I have it on c: to make things easier in DOS)
Put your STOCK framework-res.apk in the place-apk-here-for-modding folder
Run the script and DECOMPILE (Option 9) the apk. The decompile folder will be in the projects folder.
Delete the STOCK framework-res.apk from the place-apk-here-for-modding folder
Move the DECOMPILED framework-res.apk folder from projects into the main ApkManager folder. This will be your repository of stock files that you will need later
Themed framework-res.apk prep
At this point you should have NOTHING in your modding folder AND project folders
Put your THEMED framework-res.apk in the modding folder
From the ApkManager root folder, DELETE the log text file
Run the script and DECOMPILE (Option 9) the themed apk.
After the decompile is done, close the script and open up the newly created log.txt file
In the log youll see some .9.png errors in /res/drawable-hdpi folder. These are files that were not decompiled properly because some required information (9patch) was missing. Each of those 9.png files will be decompiled (wrongly) and then renamed to .png. Therefore for every SINGLE 9.png error file, there will be one USELESS .png file. NOTE: If you try to recompile with these broken 9patches, the resultant apk WILL cause you to bootloop.
Lets pause here for a bit:
All the 9.png files listed in the error log, as stated before, are BROKEN. The decompile script aapt (apktool) decompiles these broken 9.png files, makes a copy of said files, and renames the copies as *.png.
So, there are, actually, two broken files (one 9.png and one .png) for every error in the log. You have to delete BOTH of these files and replace them with healthy files from the stock framework we decompiled earlier. If you skipped that, go back up and do it. The awesome thing is that there are hundreds of healthy 9.pngs and even more .png files in your THEMED framework decompiled folder. Locating each of this files (sometimes 30 x 2) is a pain. My workaround is to use good ol DOS. You dont have to do the next few steps with DOS but you have to reach the same end.
Enter the dra¦ er decompiled framework-res folder in /projects.
Copy/mark the error 9.pngs into MS Word (or whatever you use). Keep Word and DOS open till were done with this part.
Using find and replace do the following:
Copy everything before the 9.png file and find/replace that with del.
Copy everything after .png and find/replace it with NOTHING (dont type nothing)
The outcome should be:
del first_example.9.png
del second_example.9.png
and should contain all the broken .9.png files
In DOS, cd to decoded frameworks folders drawable-hdpi folder
Copy and paste the contents of the Word file into DOS to delete all the broken 9.png files.
Go back to MS Word and find/replace .9.png with .png
The outcome should be:
del first_example.png
del second_example.png
and should contain all the broken, renamed .png files.
If you didnt close the DOS window, just copy and paste the modified contents of your Word folder into DOS to delete all the broken .png files. If you closed the DOS window, shame on you :P. Youll have to open DOS again and navigate back to the decoded frameworks drawable-hdpi folder first.
You should have removed both the BROKEN .9.png and .png files from the decompiled frameworks drawable-hdpi folder
Head back to MS Word one last time and edit the files to look like this
copy first_example.9.png c:APKManagerprojectsframework-res.apk
esdrawable-hdpi
copy second_example.9.png c:APKManagerprojectsframework-res.apk
esdrawable-hdpi
etc.
The c:... will vary depending on where you put your APKManager folder. If you put it somewhere else, copy the location from your address bar.
Head back to DOS and cd to your STOCK folders drawable-hdpi folder.
Copy the contents from MS Word into DOS and this will copy the healthy .9.png files to your THEMED decoded frameworks drawable-hdpi folder.
You can close MS Word and DOS at this point.
Replacing the battery icons and xml files.
Navigate to your THEMED decompiled frameworks drawable-hdpi folder.
Paste your new battery icons into this folder (overwriting all the existing ones). The files to look for are stat_sys_battery_X.png and stat_sys_battery_charge_animX.png
You should also replace ic_lock_idle_charging and ic_lock_idle_low_battery (I use the fully charged and the battery unknown pngs respectively)
Replace the xml files with your modified ones. The files to replace are stat_sys_battery.xml and stat_sys_battery_charge.xml.
Rebuilding your framework-res.apk
At this point you should have your THEMED framework-res.apk in the modding folder and your THEMED, decompiled framework-res.apk folder in the project folder (with your new png and xml files.)
Go back to the APK Manager main folder and run the script.
Compile the apk (Option 11)
You will be asked if this is a system apk. Choose YES.
You will be asked if you want to copy all unmodified files from the oringal apk. You can choose NO.
Sign the APK (Option 12).
Go into the modding folder, you will find a signedframework-res.apk
Open (DONT EXTRACT) signedframework-res.apk with 7zip or Winrar.
Open (again, DONT EXTRACT) the themed framework-res.apk (also in the modding folder) with 7zip or Winrar
Delete, from within 7zip, the META-INF directory and AndroidManifest.xml file from signedframework-res.apk
Copy, inside 7zip, META-INF and AndroidManifest.xml from your original themed framework-res to signedframework-res.apk Dont unzip anything.
Still in 7zip, navigate to /res/drawable-hdpi in both the original, themed framework-res.apk and signedframework-res.apk. Delete everything BUT the new (stat_sys_battery stat_sys_battery_charge) xmls and battery and charging .pngs from signedframework-res.apk. If you used my files, there will be only 40 items left.
Finally, copy (still in 7zip) everything BUT stat_sys_battery.xml, stat_sys_battery_charge.xml, and the battery and charging .pngs from the themed framework-res.apks drawable-hdpi folder to signedframework-res.apks drawable-hdpi folder.
Your modified framework-res.apk is ready to be pushed to your phone.
Putting the files on your phone.
Either push signedframework-res.apk to your phone via adb or
Create an update.zip for use with clockwork recovery. You can also take the themes zip file and replace the framework-res.apk as well. (I like this). Or you can just make one if you like.
Reboot your phone if you used adb and welcome to 10% heaven.
Im hoping our themers will incorporate the 10% hack into their themes. For them its only a matter of replacing the (2) xml files before compiling the theme.
Ill try to answer any questions as best I can.
Also, please donate to the DEVs (not me!) if you can. This little task took me almost a week (after work and no SSF4 for me ) to figure out. Imagine how much work is required to bring ApeX, RubiX, ZapX etc¦
Grab the Apex rEVO and NexTheme mods and files at:
REVOlution theme with 10% Circle Battery MOD and NexTheme 10% Circle Battery Mod.
Decompiled XML files
View 27 Replies
View Related
Sep 21, 2010
If anyone can upload the stock services.jar and stock framework-res.apk from their 2.1 Droid X (it's in the /system/framework folder), I will be forever in your debt. I (stupidly) overwrote mine when installing a theme and now I can't update to 2.2 with my modified files. I know I can flash the .sbf, but I am trying to avoid that.
View 2 Replies
View Related
Sep 9, 2009
Could an alternate home screen app replace the assets such as s "menu_item_background_pressed.9.png" or "list_selector_background_focus.9.png", both found in frameworks/base/ core/res/res/drawable in the open source project? I have altered those by changing out the assets and recompiling.
But can I make it so the installation of the home screen will open up framework-res.apk, replace the asset, then re-package framework- res.apk? I realize this would then have broad ramifications, but just wondering if it could be done. thanks.
Also wondering if a alt home screen app, can replace icons of core apps, such as Contacts, etc.
View 5 Replies
View Related
Nov 15, 2010
maybe im having a brain fart and cant remember a step im missing. I'm trying to replace an image in the framework. I have the new image I want on my sd card in a folder called "theme" and it is a .png image. I go into ninjamorph, newproject>system>framework>framework-res.apk>res>drawable-hdpi>scroll to the image I want to replace and select it. it says select the image you want to replace it with and sends me to my sd card I go to my theme folder, and theres no images there... the .png doesnt show up. I have also tried putting it in my galley, root of the sd card, several places. and none of them show up... I ont get it... did I miss a step somewhere?
Ive done it before but its been a while so maybe im forgetting something? (oh and to add to the confusion, three other .png images I have in there do show up, just not the ones im trying to swap.) only difference I can see between the .png's im trying to use and .png images that do show up, it that the ones that show up are ".png" and the ones that are not showing up are ".PNG" I dont see why caps would make a difference, and I cant seem to get them to not be caps...
View 2 Replies
View Related
Jul 15, 2010
I am running Pete's virgin deodexed FRF84B, with Chevy's LV 1.0 Ghz kernel.
I edited .png files in framework-res.apk; the sdcard preparing icon and also the usb connected icon.
I used this method:
Use terminal, since ADB doesn't work.
su
cp system/framework/framework-res.apk /sdcard
(edit files on your computer opening the framework as an archive using 7zip. put the file on the sd card)
assuming that you aren't in SU anymore..
su
cp /sdcard/framework-res.apk system/framework
chmod 644 system/framework/framework-res.apk
sync
reboot
(found here: Best way to edit/mod "framework-res.apk" in FROYO? - Droid Forum - Verizon Droid & the Motorola Droid Forum)
They are not the .9 png files, and the icons changed without problem, but immediately after a reboot almost every program on my phone is force closing.
View 24 Replies
View Related
Jun 24, 2010
I just updated my launcher pro beta.. it is now version 18..according to settings applications.so now when i press home it just goes to my original launcher and doesn't even prompt me as to what i want my default to be.i have a milestone and i'm rooted! but help. i hate the stock launcher!
View 2 Replies
View Related
Aug 5, 2010
I downloaded launcher pro. I see people customizing their lp. I'm not sure how to change the layout or anything. Do I need launcher pro plus. If so how do I get it.
View 7 Replies
View Related
Jul 9, 2009
When i was changing Launcher in the source codes, i was unable to find the desktop default picture.
View 2 Replies
View Related
Jul 20, 2010
Is there a way, either programmatic or with user gestures, to change the background of the launcher app?
It's a dismal black background. I'd like a sunny yellow. How to do this!?
View 2 Replies
View Related
Oct 25, 2010
New to Android & SmartPhones, Having a blast, but want to understand why use an Application Launcher vs. stock ? I have searched this forum but didn't find the underlying reason or short comings of "stock"
View 27 Replies
View Related
Apr 10, 2010
helix launcher 2 now works on android 2.1. Do not buy clockworkmod launcher. The link is Donators' Repo Home.
Step 1:EDIT EDIT EDIT Click the download link and rename .php to .apk.
Step 2 Download the beta on your phone.
Step 3: Go into astro and find the download in your downloads file. Step 4: install and whalah.
It wont let you install it directly from the downloads page for some reason. Dont set as default your first time incase of FC loop.
View 41 Replies
View Related
Apr 25, 2010
I have helix launcher(the first one) and I wanted to get 5 screens instead of three so I went to configure it and took off all my widgets like it told me to do. It restarted and I got a FC notification. It's set as my primary home and I can't get the message to stop popping up. I tried restrting my phone several times but before I can press the home button or any button the message pops up again and there is nothing I can do. Is there anything I can do to get past this FC notification?
View 12 Replies
View Related
Jul 6, 2010
I have been having troubles keeping my launcher (tested both ADW and LP) open in the background while doing most things. Sometimes it will stay open while I switch through a couple apps, but a lot of times I will literally hit the Engadget widget to read one article, 20 seconds later hit home and it will redraw the whole desktop and I wont be able to do anything for 5-10 seconds. It does this a lot. I very rarely have FC's with an error message, probly gotten 1-2 in the past 5 days I have been on this ROM, but it seems like the system has just killed the launcher and it has to reload everything, almost everytime I hit the home button.
There is some general info, here are my questions:
1. Does this happen to everyone and I just need to deal with it or use stock launcher2?
2. I have messed with the memory settings and tried many different combinations, is there one people have found works well with the Droid? Does this make a big difference?
3. Does using the market version of these launchers (which I am) matter? Would it be better to install them some other way, push them somewheres with ADB?
4. Is this a purely memory based issue? I was letting the BB task manager do it's job, problem was happening, then tried Advan. Task Killer with auto-kill on and off, problem still happened.
View 7 Replies
View Related
Sep 15, 2010
does anyone have any better icons for launcher pro or adw, i have the droid figure icon pack, but wondering if anyone has made more or acquired some, im almost tempted to make some if i can.
View 1 Replies
View Related
Jul 15, 2010
The problem I'm having is that I can't resize the Moto widgets.. This is a pretty big deal to me cause I love them. Is any body else's doing the same?
View 8 Replies
View Related
Nov 24, 2010
Ok feeling stupid so go easy. Downloaded Curve In but cant figure how to set as my dock?
View 2 Replies
View Related
Oct 6, 2010
lost my lp code its not on paypal how do I get a new one I pmd the dev but didn't get any response
View 7 Replies
View Related
Oct 21, 2010
Anyone having issues with Launcher Pro update installing? I'm running UD 1.0.0, other updates install, just not LP.
View 8 Replies
View Related
Jul 17, 2010
I have no idea what i did. i need to delete it. and start over
View 7 Replies
View Related
Jul 17, 2010
What Launcher do you use? And why?
I have ADW Launcher setup on my fiances, and as soon as my DX comes in, I will be using it as well.
View 17 Replies
View Related
Jun 17, 2010
I installed Launcher Pro on my motodroid and do not know where to look to be able to make setting changes to it. Looked under apps and widgets to no avail.
View 4 Replies
View Related
Apr 20, 2013
I'm running 240dpi on my n4 and I'd like to know how I would be able to center my google now launcher? If I turn it to landscape mode and i touch between home and recent apps, it'll launch google now. Even without using the shortcut. I would like to know how I can align these apps. I'm compiling from source so no worries if I have to edit any .java files. And no, I dont want to run aokp or PNA or PAC.
View 1 Replies
View Related
May 6, 2012
Is there a way to change the icons in the app drawer in ADW Launcher or ADW Launcher EX? Like choose the ones we want.
View 6 Replies
View Related
Jun 9, 2013
I'm using this CM10.1 on my ST5570 (S. Galaxy Mini) and want change Trebuchet Launcher system launcher with NOVA launcher on this release. I can't post on the thread linked above because I haven't yet permissions to do this.
View 4 Replies
View Related
Jul 26, 2012
I have successfully ported LewaOs to CM7.2 for my X10i.
But I need to make some changes, like changing the home launcher and music player and some other apk's ?
How can i do that ?
View 2 Replies
View Related
Jun 13, 2010
I want to switch from helix to launcherpro..but dont want to redo all my homescreens. is there a way to keep the app shorcuts and such from one launcher to another?
View 2 Replies
View Related