- Jun 16, 2012
- 2,871
- 986
A little while back I was asking for a copy of the modified framework-res.apk to enable network location. The reason I wanted a different copy was that I had compiled my own, but thought I had done something wrong in the compiling process. The reality is that something went wrong in the installation process. I was simply copying framework-res.apk over to \system\framework and causing my tablet to bootloop. I then created a flashable zip and ran the zip through Clockworkmod, but even after fixing permissions the tablet bootlooped. This was a bit of a surprise for me at the time because my theme I use on my Dell Streak has a modified framework-res.apk, and installing the flashable zip with the file inside worked without an issue.
7:30am this morning it finally dawned on me what it was I was doing wrong. I took my compiled copy of framework-res.apk and installed it using the steps below, and the end result is a network location service that works correctly. Installing the changed file also resolves issues with Google Earth force closing. So, for future reference, if you want or need to manually change your framework-res.apk, follow these steps.
UPDATE: As of 10/14, I now have a flashable zip available that can be installed through Clockworkmod. Busybox is required for the install to work, so if you don't have busybox installed, get it.
As of 10/17, I have consolidated all my preferred tweaks into one thread. The frameworks in the aforementioned thread include new battery indicators for the status bar. However, the original framework and its flashable zip will remain available for those who don't wish to have a new battery indicator.
7:30am this morning it finally dawned on me what it was I was doing wrong. I took my compiled copy of framework-res.apk and installed it using the steps below, and the end result is a network location service that works correctly. Installing the changed file also resolves issues with Google Earth force closing. So, for future reference, if you want or need to manually change your framework-res.apk, follow these steps.
- Have a backup of your system in case of problems.
- Root your tablet if not already rooted.
- Install a file manager with system r/w capability.
- Copy the framework-res.apk from wherever you have it stored to \system. Do not copy the file to \system\framework at this point or you will cause the system to bootloop.
- Change the file permissions to rw-r--r--. Graphically it would look something like this:
You may also have the option to set the Owner and the Group. With the file manager I use, Super Manager, I have this option when setting permissions. If you do have this option, change both Owner and Group to 0. This sets both to root. - Move framework-res.apk from \system to \system\framework, letting it overwrite the original. You will have been successful if the tablet does not instantly reboot upon copying.
- Completely power down your tablet, then power it back up.
UPDATE: As of 10/14, I now have a flashable zip available that can be installed through Clockworkmod. Busybox is required for the install to work, so if you don't have busybox installed, get it.
As of 10/17, I have consolidated all my preferred tweaks into one thread. The frameworks in the aforementioned thread include new battery indicators for the status bar. However, the original framework and its flashable zip will remain available for those who don't wish to have a new battery indicator.
Last edited: