TUTORIAL - Swapping out PNG's in .apk - LG Nitro HD

Swapping out PNG's!
**This is for system apk's, not for market ones. To modify apps you've downloaded and installed, you will need a program like the fantastic Apk Manager, since non-system apps are signed and have to be resigned after getting messed with**
*MY TYPICAL DISCLAIMER!*
I AM NOT A DEV! I just like tinkering with this phone because I'm overall an extremely picky and obsessive person. I have no prior android experience (besides a little tinkering with my X10), and am in NO way an expert. But since I know how to mess with my phone a little bit and I've been asked to share, I will =) But follow these instructions at your own risk! I am not responsible for the untimely death of your phone, so please be cautious and careful, and if you have any questions about any step, before you try it, ask me or someone who knows! I don't want the blood of your dead phone on my hands! It's Christmas, after all! =)
These instructions are for Windows computers. Sorry, I'm just not familiar with mac or linux. =(
***Swapping out PNG's***
Okay, so say you have an icon or an image in your phone that you just don't like and would like to swap out with something (or swap out with nothing, so you can't see it at all). Here is what you'll need:
7zip for your computer
Root explorer for your phone
Some kind of image editor. I'm partial towards Paint.net. =) (Only if you're actually going to edit an image. If you're just going to swap it out for something else, you obviously won't need this.)
Here is a good example of something where I really felt like I needed to change some images we can use that I just discovered last night while calling to activate my credit card over the phone. Here is the dialer when you start the phone:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Notice those handy letters next to the numbers =)
Once I started the call to the credit card company, it asked me to verify myself by inputting, using the keypad, the letters of my mother's maiden name. So I opened the dialer, and what did I see?
For whatever STUPID STUPID REASON, they REMOVE the letters next to the numbers on the keypad that opens DURING the call, making it extremely difficult for me to type my mother's maiden name in the time permitted, given that no, I don't off the top of my head know where the letters sit on the dialer. So I felt this needed fixing =)
1.) Copy the apk you want to modify from your phone (using root explorer) and transfer to your computer
In this case, I wanted my Phone.apk, which is in /system/app. The vast majority of system apps are in this folder with the major exception of framework-res.apk, which is the phone’s BIG cajone in /system/framework, and as such, should be handled with utmost care. Messing with framework-res.apk incorrectly is an EASY way to brick your phone in a heartbeat.
2.) Unzip the apk using 7zip and look for your PNG's!
Keep the original, untouched, zipped apk somewhere safe on your computer. You’re going to need one to modify and another copy for safekeeping in case you want to revert back to the stock apk, or something goes wrong. Unzipping the apk just makes searching for the PNG you’re looking for much easier, since you can change the folder view in windows to give you a thumbnail of each of the items. And lookee, lookee, here they are in phone/res/drawable-hdpi, right next to other dial buttons with those handy letters!!
3.) Edit your PNG's however you want.
In this case, the work is pretty much done for us! I just swapped out the PNG's without the letters for copies of the ones with the letters, and just changed the names of the files to the original versions, like so:
4.) Using 7zip, right click on the original, untouched apk, choose 7zip, and open archive. DO NOT EXTRACT.
Open archive will let you explore the apk without having to extract it and lose the proper packaging of the apk.
5.) Select all your newly modified PNG’s and drag and drop them into the correct location in the open archive of the original apk, letting them overwrite the old PNG’s.
6.) Put this newly modified apk back onto your phone. Using root explorer, copy the new apk into the /system folder of your phone.
7.) CHANGE THE PERMISSIONS of the apk to match those of the original apk in /system/app.
In this case, long press on the phone.apk, select permissions, and select the check boxes as follows- Owner: Read, Write; Group: Read; Others: Read. This matches the permissions of phone.apk in /system/app
8.) Move the new apk into /system/app, and let it overwrite the original!
9.) Restart your phone!
Voila! Now when I call my credit card company and have to type in names, I can!

Just got my nitro yesterday. your mod worked like a charm.

Well I cant use it:/ Anything I try I get Access Denied! Using Windows 7. Getting it with 7-zip and Winrar same error just access denied or storage full when trying to copy over a PNG.

hyelton said:
Well I cant use it:/ Anything I try I get Access Denied! Using Windows 7. Getting it with 7-zip and Winrar same error just access denied or storage full when trying to copy over a PNG.
Click to expand...
Click to collapse
You need to copy the file to your SD card, no other place.. And when using Root Explorer, you have to make sure that when your in the System/app folder, you have to tap the button at the top of the screen that says "Mount R/W" and when you do, the button will change to "Mount R/O", that will allow you to modify things in that folder.
---------- Post added at 06:23 PM ---------- Previous post was at 06:15 PM ----------
Here's my problem:
I follow the instructions to the T, after changing the permissions of the file, i paste it in the System/App folder and immediately the phone app starts force closing, constantly non stop. I have to hold the power button to bring up the menu and mash the force close button as fast as i can until my finger ends up hitting the power off button that is underneath the force close button, than i can hit the ok button and restart. When i do that and the phone boots back up, some phone storage thing force closes a few times, then after a few minutes the phone app itself force closes, and regardless of anything, my modifications are never there!
If i try to call anybody, my phone loads skype and calls, and if i try to call voicemail, i get ANOTHER force close, android.process.acore
Also, my phone is stuck with no signal, probably why skype tries to load..
I'm assuming this is because my phone is completely stock with root? I need to deodex it to do this stuff right?

Ok so I did it again, but this time, instead of making my own custom PNG files, i copied the ones with the letters, renamed them to the names of the ones without the letters, pasted them back, overwrote them, added them to the APK, and put it back on the phone.. Same problems happened, but i noticed something.
When changing the permissions of the file in Root Explorer, they dont stick.. Once i open up the permissions window again they are back to the way they were before, so i can only change the permissions of the file after copying it over and rebooting. I have all the same problems as before, except once i change the permissions of the file and reboot, everything seems to work fine once the phone is fully booted up, and the changes stuck.
So seems there's an issue with something im doing with the new PNG files, or 7zip isnt reconstructing the file 100% back to normal but close, or something... Either way, now im off to one change at a time! ugg...

Found my issue! I totally missed step 6 for some reason! Haha all good now

Okay, so nice tutorial! I am just wondering since you say framework-Res.apk is so dangerous, are you saying I could brick my device using this method, or is this method fine? I am not going to mess with the .9 pngs, just regular pngs.

This method is fine, but you have to be very careful to follow the protocol precisely (in particular, the parts about using root explorer and changing permissions properly). If you have any questions, please ask. And as usual, be sure to have both a nandroid and titanium backup of your phone juuust in case of the unexpected...

iJimaniac said:
Okay, so nice tutorial! I am just wondering since you say framework-Res.apk is so dangerous, are you saying I could brick my device using this method, or is this method fine? I am not going to mess with the .9 pngs, just regular pngs.
Click to expand...
Click to collapse
.9 png's aren't that bad, as long as you know what to do with them.
To put in one simple line....don't touch the 1 pixel wide border around the edge!!
That's it really. The border isn't part of the image, it's instructions for stretching the image. As long as you avoid changing it, you can change the actual image itself as much as you like.

Hey.....thank u for the tutorial.....
i tried replacing the png's in Framework-res.apk.....there was a change in the size of the apk
and when i copied it in system/framework phone wont boot....but am able to go into recovery.....

Thanks, Man!!!
Thank you!!! I finally managed to edit the phone.apk without breaking to whole system...

Just wondering if this would still work? I see its from back in 2011 and last thing I seen on it was 2013.. --- Might give this a try

Related

Rooted Evo 4g - Boot Animations not seeming to work, black screen result.

Hey guys. I am quite new at the forums and I currently own an EVO 4G which I recently rooted with S-Off and also have Root Explorer installed.
I seem to be having an issue with replacing my Boot Animation. I have searched google far and wide and tried different methods of replacing the animation and have had no luck. I see the EVO 4G HTC white screen and then either a blank black screen or the default flashing "Android" symbol until my phone finishes booting up and Im sent to my main page.
I have tried placing files initially into my Data/Local page but then realized that my boot animation files are located in my system/customize/resource file under the name "spc_bootanimation.zip. The first time, I renamed the original file, but then replaced it when the new zip file did not work. I have tried replacing that file countless times with three to four different renamed boot animation zips with turning "write" and "read only" settings on and off, changing all sorts of capitalizations, ect. None have had any luck. They replace just fine, but have no effect on the phone's animation. Ive also deleted the "Final" mp3 and one of the jpg backgrounds that were in that folder. I also adjusted the permissions to what they need to be and still no luck.
These are the current animations Ive tried.
Red Rage
Linux Droid Log
Chaos Plain Black
Honeycomb with Tron
The last played the audio but nothing else happened.
Any help on this matter would be appriciated. Im hoping it is just something simple I overlooked.
Put this in the search box...."custom boot help"
It explains in this page on how I successfully booted up a boot animation. If I helped you hit the thanks button
Sent from my PC36100 using xda premium
Im going to try putting the spc_bootanimation.zip in my data/local folder and the SPC_animation_final.mp3 file in the system/customize/resource folder. This is what you did, right? Just to make sure?
Also, did you change the permission on the bootanimation file? Thank you again. I really want to get this working.
Update: I tried the above instructions and it still didnt work. Instead of the black screen, im getting the stock flashing android one. Also, the sound effect cut out. When I put both back into the system/customize/resource folder, I get the blank black screen and the sound cuts back on. I still dont know how to get the animation to work though. Any ideas?
if using root explorer
you need to unzip it and take out the bootanimation.zip and android_audio.mp3, the mp3 file gets move with root explorer to system/customize/resource and the Htc_bootanimation file gets moved to data/local.
Permissions permissions permissions... rw-r--r--
Sent from my PC36100 using XDA App
ruben1221 said:
if using root explorer
you need to unzip it and take out the bootanimation.zip and android_audio.mp3, the mp3 file gets move with root explorer to system/customize/resource and the Htc_bootanimation file gets moved to data/local.
Click to expand...
Click to collapse
My files are named a bit different but I did as you did putting the spc_bootanimation.zip in the data/ local folder and the mp3 in the system/ customize/ resource folder and still nothing. I get three flashing android symbol meaning it does not recognizea replacement file at all. .
I did play with the permissions and used the same pattern everyone else has been using. It is all three in the first Collum checked and then the next one to the right on the "user" tab. Is that right?
all i did was put bootanimation.zip into /system/customize/resource/ and it worked fine
That was the first thing I tried.. sadly it didn't work. I'm not sure what I'm doing wrong as I've tried it quite a few different ways. I either get the blank black screen or three android flashing screen
What Rom are you using ? Or is it stock ? I have it under data/local named hTC_bootanimation.zip the other Rom I used I had it under system/custumize/resource named just bootanimation.zip. notice that spelling and caps count.
I can't post pictures but the permissions should look like an upside Down "L" or a flip flopped "7"
Hopes this helps. Don't know what else to say
Sent from my PC36100 using XDA App
Rename the file to the bootanimation. Use es file manager [make sure r/w is enabled from the settings menu] or root explorer [enable r/w from the button at the top], then reboot. You may have bad files, because I know that one works, as I'm currently using it.
I'm currently using s-off. I made sure to keep the permissions in that order. I've also tried renaming files and nothing works even after checking spelling and case. My stock boot animation was listed under "spc_bootanimation.zip". I renamed each of my downloaded ones that and replaced. I have tried all case of 'spc'. . I've even taken "spc" out of the name completely. Was I supposed to rename the zip something else?. Also, the desc file is supposed to be in the zip file right. Mine all are but I wanted to check
Kai_Wolf said:
I'm currently using s-off. I made sure to keep the permissions in that order. I've also tried renaming files and nothing works even after checking spelling and case. My stock boot animation was listed under "spc_bootanimation.zip". I renamed each of my downloaded ones that and replaced. I have tried all case of 'spc'. . I've even taken "spc" out of the name completely. Was I supposed to rename the zip something else?. Also, the desc file is supposed to be in the zip file right. Mine all are but I wanted to check
Click to expand...
Click to collapse
Once u download the zip file, extract it and take out the bootanimation file place it in data/local and then take the audio clip out and make sure to change the last letters to mp3 and set that into the system/customize/resource. That should do it. And make sure those permissions are set to what it needs to be. Let me know if that works.
Sent from my PC36100 using xda premium
ruben1221 said:
Once u download the zip file, extract it and take out the bootanimation file place it in data/local and then take the audio clip out and make sure to change the last letters to mp3 and set that into the system/customize/resource. That should do it. And make sure those permissions are set to what it needs to be. Let me know if that works.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Just tried it. All I get is the flashing android logo. No dice. Im not sure why it isnt working.
Kai_Wolf said:
Just tried it. All I get is the flashing android logo. No dice. Im not sure why it isnt working.
Click to expand...
Click to collapse
And you deleted the the other bootanimation file right? or named it differently so it won't read the current bootanimation.
Sent from my PC36100 using xda premium
Yes indeed, sure did. I did this yesterday as well and it no longer recognizes my bootanimation file in the data/local folder, which is why I think the stock android one comes up. It only seems to recognize it in the system/customize/resources folder. Maybe it is specifically for the EVO. Im not sure.
ruben1221 said:
And you deleted the the other bootanimation file right? or named it differently so it won't read the current bootanimation.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Kai_Wolf said:
Yes indeed, sure did. I did this yesterday as well and it no longer recognizes my bootanimation file in the data/local folder, which is why I think the stock android one comes up. It only seems to recognize it in the system/customize/resources folder. Maybe it is specifically for the EVO. Im not sure.
Click to expand...
Click to collapse
Try a different file to download. Maybe its not meant for the EVO. If it was it could be a bad download file. But i am running out of ideas. For sure it has to be the file.
Sent from my PC36100 using xda premium
I just downloaded another boot animation specifically meant for the evo and it came with a folder called META-INF that you are supposed to put into the root of your SD card. I did that and it worked! The animation I am trying to use though does not include this and maybe that's why it wont work.
I wanted to know if anyone has an EVO 4g and can see if this boot animation works for you.....This is the animation that does not work that I am trying to use. It is the animation that would not work for me. Maybe someone can see why it wont work for the EVO.
Where in the hell did you get that it has trafficview.apk in it and an mp3 file and a desc but no Bootanimation.zip
Heres what I got when I dl'ed it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
brought to you by the little voices in my head
dased14 said:
Where in the hell did you get that it has trafficview.apk in it and an mp3 file and a desc but no Bootanimation.zip
Heres what I got when I dl'ed it
brought to you by the little voices in my head
Click to expand...
Click to collapse
Yikes, I must have forgotten to put the bootanimation in the zip. This is ALL that came with the download. I zipped it into the spc_bootanimation.zip. It came with a desc, part0 folder, and traffic app file.
Let me know if anything can be altered to make it work on the EVO. Thanks again.
here try this i resized them, ran through pngoptimizer and fixed the desc.

Blue Icons and removed carrier logo!

*I made this before any of these new roms came out and as such it was meant for and has been tested on only the stock Gingerbread rom that comes with the phone. I doubt it will be compatible with the new roms.*
This is for the AT&T LG Nitro, p930. I don't have any idea if it will work similarly for the Optimus LTE or even the Optimus from Bell in Canada! You will need root access to your phone and root explorer from the market. (I am aware root explorer is not free, but as far as I'm concerned, it's simply the best/safest explorer possible for tinkering with your phone. I tried the free es file explorer for this and that ended disastrously. I have the replacement phone to prove it =) So really, I wouldn't suggest even trying this if you don't have root explorer.)
*DISCLAIMER*
I AM NOT A DEV! I just like tinkering with how things look because I'm extremely picky. I am not smart enough to figure out how to save someone's phone if it gets bricked, I'm just sharing what I've played with since I want this forum to grow =). So everything I say, you are welcome to try, but keep in mind that it can always hit the fan, especially right now, while we still don't have a recovery mode yet. And since I lack the omniscience of the all-seeing all-knowing devs, I cannot be held responsible for what happens to your phone, if something undesirable (*ahem*, bricking) should happen! That said, everything I've done here I've done multiple times and tested, and it seems to work just fine in my hands so long as instructions are followed precisely. But regardless, try at your own risk! Until we have a nice recovery mode set up, you have to be willing to live on the wild side to mess with this phone, which apparently, a lot of us are...
So, after officially washing my hands clean of any disasters that may occur should you too decide to mess with your phone, as requested, I packaged a few combinations of icons and carrier-logo presence/absence in the following zips.
This is what it looks like with all modifications (blue icons - no carrier).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Essentially, I hate the android green, so I made that blue instead (blue wifi, 4g radio waves, battery, signal bars, upload/download... basically anywhere in the icons there used to be that green), and I loathed the space AT&T took up in the left side of the status bar, consuming room for notifications, so I got rid of that, too. (The status bar in the picture is black-er than stock, as I don't like the grayish/black gradient of the stock status bar, so I made mine solid black. No one seemed to want that, so regardless of which package of modifications you choose, none will affect your status bar color. It will remain as is. The black bar is just for me, I guess =) )
So here are the combinations:
Stock icons - no carrier
Stock icons - no carrier (ordinary factory icons, only the AT&T carrier logo in the status bar is removed)
Blue icons - with carrier
Blue icons - with carrier (blue icons. AT&T carrier logo STILL IN STATUS BAR! I couldn't imagine anyone wanting that, but just in case, here you go you weirdos =) )
Blue icons - no carrier
Blue icons - no carrier (blue icons and no AT&T carrier logo)
(If you have made any previous modifications to SystemUI.apk or framework-res.apk, they will be lost if you install any of these apks)
Before we get to instructions, I am writing these under the assumption that you are comfortable using root explorer (navigating folders, copying/pasting/moving files, changing permissions, etc. Most of these are simple long-presses on the file, followed by selecting "copy," "move," "permissions," etc). If not, get comfortable first! If you have any questions, please ask! I don't want the blood of your dead phones on my hands =)
Instructions:
1.) Download and unzip whichever ONE of the three packages you prefer onto your computer (this is NOT a mix and match! You can only use ONE package!)
2.) Copy the SystemUI.apk and framework-res.apk from the zip onto your sdcard (preferably into a folder called "modified" or something, just to distinguish from the versions of these files already on your phone. If you chose "stock icons - no carrier", you will only have a SystemUI.apk there. Congratulations, you only have to do half the work =) )
3.) Have root access and root explorer with SuperUser permissions! (When you open root explorer, a popup should say "Root Explorer has been granted SuperUser permissions," or something to that effect)
Backing up your original SystemUI.apk and framework-res.apk:
4.) Open root explorer, navigate to /system/app, and scroll down to SystemUI.apk. Copy (for the love of god, COPY, don't MOVE) this file to somewhere on your sd card (separate from the modified one from this site! Keep them clearly separated. Put this copy from /system/app in a folder called "backup" or something, but just know which is the original and which is the modified one you got from this site. You can't rename the files, either. They won't work then). This will be your original backup in case something goes awry, or you just want to revert back to your original settings.
5.) Navigate to /system/framework, scroll down to framework-res.apk and do the same (copy this file to somewhere on your sdcard, maybe that "backup" folder again, but keep it safe)
Putting in modified SystemUI.apk:
6.) Using root explorer, navigate to where you put the modified SystemUI.apk from this site. Copy the file to the /system folder of your phone (NOT /system/app YET!! Just /system). If root explorer interrupts your attempt to paste into /system by saying "you cannot paste here because the file system is read-only", click ok and press the "Mount R/W" button at the top. It should switch to "Mount R/O". Now try again; copy the modified SystemUI.apk from you SD card and paste it into /system. It should let you this time.
7.) Change permissions on SystemUI.apk that you just put into /system. (Long press on SystemUI.apk until the menu pops up, select "permissions", and change the check boxes to match the following exactly as shown in the image: Owner- read and write, Group- read, Others- read). Click "ok", and it should say "permissions changed successfully." Just to be safe, check the permissions AGAIN, and make sure the correct boxes are checked! This is ESSENTIAL for your phone to stay alive =)
8.) MOVE SystemUI.apk (with the correct permissions!) into /system/app. It will ask if you want to overwrite the SystemUI.apk already in there. Select yes, and voila. It should be copied.
9.) Turn off your phone and turn it back on. Once it boots up, you should see some changes in the status bar. If you chose either package with "no carrier", then the AT&T carrier logo should be gone. If you chose "blue icons - with carrier", then some of the icons should be blue (everything but the battery, I think). If you don't see anything different, something went wrong and either ask, or go back over the instructions really really carefully. (If all you wanted was "stock icons - no carrier", then you're done now! The rest of you, move on to framework-res.apk!)
*Don't try to swap both SystemUI.apk and framework-res.apk without restarting your phone in between. I think one swap (whichever you do first) will fail if you try to.*
Putting in modified framework-res.apk:
10.) If you have just turned on your phone after putting in SystemUI.apk, then I highly suggest you WAIT until the phone is done "scanning the sd card" for media or whatever before you do anything. Once it's done scanning, this is basically the same process as moving over SystemUI.apk. Use root explorer to navigate to the modified framework-res.apk file on your sd card.
11.) Copy this to /system on your phone. Again, if root explorer says you can't, click ok, press the "Mount R/W" button, and try pasting again.
12.) Change permissions on framework-res.apk to Owner- read and write, Group- read, Others- read, just like the permissions for SystemUI.apk. Long press on the file and select "permissions" again, just to be doubly sure they actually did change and that they are correct! For framework-res.apk, it is ESPECIALLY important that it have the proper permissions!!
13.) Once you are positive it has the correct permissions, MOVE framework-res.apk (with the correct permissions!!!) into /system/framework, and again, it will ask you if you want to overwrite. If you are brave, say "yes." Now turn off your phone and turn it back on. You should be done!
If you follow these precisely, you shouldn't have any problems. I have manually installed all the combinations on my own poor, tired phone myself just to be absolutely sure they're fine. That's how much I love you guys. If you have ANY questions about the process, please ask first! Good luck and godspeed!
Great!
But I'll wait for the battery numbers
P.S.
were you able figure out if it's possible remove the headphones icon? (you know, when headphones are plugged in)
Sort of. I can make it completely invisible really easily. But then technically the icon is still "there", ie, the space for it will still be there, so if any icons surround it, there will be this weird empty spot in the middle. That said, I don't know if any icons ever go past left of the headphones icon, so maybe you would never see that. But yeah, I think completely removing the icon (instead of just making it completely invisible) might be a little risky, and I'd rather not test that without a recovery mode available.
this worked perfectly for me, gracias!
scott0 said:
this worked perfectly for me, gracias!
Click to expand...
Click to collapse
Are you talking about the bootylishesness right?
gordec said:
Are you talking about the bootylishesness right?
Click to expand...
Click to collapse
indubitably, fine sir.
scott0 said:
this worked perfectly for me, gracias!
Click to expand...
Click to collapse
Haha, glad I could help remove a distraction!
itiskonrad said:
Haha, glad I could help remove a distraction!
Click to expand...
Click to collapse
it was a massive distraction from the 1st moment I turned on this phone! I was stoked to see your original thread/this solution on it.
Glad to help! Any other things I can try to tweak, let me know! This has become a bit of a hobby, so suggestions always welcome!
Got something for u to do, lets see how simple/hard it is to accomplish:
How does the Boot Animation on the Nitro look like? Does it actually have AT&T on it, something like the Atrix? If it does, can we easily replace it with any custom Boot animations we have strewn across our forums?
Let me know, and if u can find it n replace it, i suggest to start a new thread for it, cuz u're gonna get bombarded with requests on how to do it Good luck sir!
Boot animation is super easy to change. It's a file called bootanimation.zip in /system/media on your phone. Just find a different one on line and swap it out with root explorer. I get bored with mine and change it like every week =)
itiskonrad said:
Boot animation is super easy to change. It's a file called bootanimation.zip in /system/media on your phone. Just find a different one on line and swap it out with root explorer. I get bored with mine and change it like every week =)
Click to expand...
Click to collapse
I can't check right now, so quick question: what resolution is the AT&T animation on our Nitro HD?
Haha, you know what? It's been so long since I've had it, I can't even find the original file to check. Haha. Anyone who still has it know? I actually never paid attention to the resolution of the boot animations when I swapped them out. Either they're standard or it doesn't really matter much anyway...but yeah, I'll keep looking. I'm sure I have the original somewhere...
It's in /system/media/bootanimation.zip
The resolution is native to the screen which is 720x1280
@itiskonrad:
Can you tell how you edit SystemUI.apk? do you decompile it and recompile it? if so, would you mind give a little tutorial?
I've been trying do so with apktool, but it removes xhdpi folders and simply doesn't recompile it correctly...already twice soft bricked my phone trying figure this out using various tutorials on the google..
Thank you.
P.S.
By the way, since you figured out how to remove carrier name, in the status_bar.xml the next 4 lines below the last one you've changed have 6.0dp numbers, I'm trying change them to 1.0dp and see what they do, trying remove that wasted space around the clock.
Sorry for hijacking this topic...
Sure! I'll get right on it. I'd been thinking about putting up just a basic tutorial on editing png's and xml to make things look how you want them to look. Don't get me wrong, I love this phone, but I'm constantly finding little things here and there that I simply MUST change, and I'm sure a lot of people feel the same way, so I'll post a tutorial =)
Huzzah!
Just did this hack with just the no carrier. Thanks itiskonrad!
Yay! Great! Glad someone could make good use of hiding the carrier! =) I know I hate seeing AT&T, so I get rid of it anywhere I can. I also got rid of it in my lockscreen, among a variety of other mods. I think I'm too picky for my own good. I find myself reading xml for fun, just seeing what's buried where =)
argh i went to factory reset and forgot i had the backups on my SD card..can anyone post the original files so i can back it up ..just in case
hrnzir said:
argh i went to factory reset and forgot i had the backups on my SD card..can anyone post the original files so i can back it up ..just in case
Click to expand...
Click to collapse
K! Posted the very original stock SystemUI.apk and framework-res.apk as an attached zip in the first post, just in case anyone else loses backups!

% battery - stock everything else

*I made this before any of these new roms came out and as such it was meant for and has been tested on only the stock Gingerbread rom that comes with the phone. I doubt it will be compatible with the new roms.*
*Typical disclaimer - short version - I'm not a dev, just a tinkerer, blah blah blah, use at your own risk, blah blah blah, god speed =)*
As requested, here's the framework-res.apk that changes nothing but adds the percent battery value to the stock battery icon. Everything else will look the same with the exception of the numbers on the battery, as such:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you haven't swapped framework-res.apk or SystemUI.apk, please read one of my previous posts for instructions, such as:
Blue icons and removed carrier logo
You CAN very easily brick your phone if you do this incorrectly (ESPECIALLY if you use a file explorer other than root explorer)! So please ask if you're not sure about something.
Just as a refresher,
Basic instructions -
1.) download/unzip on computer
2.) copy framework-res.apk to /sysem/ folder on phone (USE ROOT EXPLORER!)
3.) change permissions to owner: read write, group: read, others: read
4.) move framework-res.apk to /system/framework folder
5.) restart phone
Any other modifications you've made to framework-res.apk will have to be reinstated afterwards.
Hope you enjoy!
Ok first of all big thanks for this. However, I'm new to Android and it's a bit over my head. I'm going to have to check out your other thread I think.
Oh, sorry! Basically, you need root explorer from the market. I know it costs something like 3 bucks, but in my opinion, it's totally worth it if you do any mods on the phone at all. Messing with framework-res.apk with other file explorers can spell disaster. Root explorer is the only one I really trust.
1.) Using root explorer, COPY your framework-res.apk file at /system/framework/framework-res.apk to somewhere on your sd card for safekeeping, just as a backup.
2.) Move framework-res.apk from this thread's "stock icons - percent battery.zip" onto your sd card, and move it into /system folder on your phone.
3.) Long-press on this framework-res.apk in root explorer, and select permissions. Change permissions to: Owner: read/write, group: read, others: read.
4.) Move this framework-res.apk, now with the proper permissions, into /system/framework folder, and let it overwrite the original framework-res.apk.
5.) Restart your phone!
Oh, Root Browser works great for me and best of all it's free!
Have you used it specifically to replace framework-res.apk before? If it works for that, great! But if you haven't tried that already, be aware how the file explorer specifically handles framework-res.apk is the difference between the phone being fine or getting bricked. With root explorer, when you replace framework-res.apk, it prevents the phone from accessing the file while copying, and only actually swaps at reboot. With other file explorers like ES File Explorer, even with root permissions and all the same functionality of root explorer, when you swap framework-res.apk, the phone continues to try to read off the framework-res.apk as it is being overwritten, causing the phone to crash and an endless bootloop/brick. (I know because I tried to find a free alternative to root explorer and ended up with a brick =P) If Root Browser works for this, that's fantastic! But be careful! Unless you've already swapped framework-res.apk using this and it worked beautifully, be very very very cautious!!
Yep! I guess I lucked out when I went into it without really knowing what I was doing.
Haha, awesome! Great! There's a free alternative then! =) So percent worked okay with you?
I just bought the Root Explorer. I'm assuming it needs to say "Mounted as R/W". Otherwise it's in read only mode?
Yup! RW mode needed
itiskonrad said:
Haha, awesome! Great! There's a free alternative then! =) So percent worked okay with you?
Click to expand...
Click to collapse
Yeah everything looks great! Thanks.
Awesome! You're welcome!
bricked T_T
man... not sure what i did wrong but i used root explorer. now my p930 is in an endless bootloop.
what did you do to fix yours?
itiskonrad said:
Have you used it specifically to replace framework-res.apk before? If it works for that, great! But if you haven't tried that already, be aware how the file explorer specifically handles framework-res.apk is the difference between the phone being fine or getting bricked. With root explorer, when you replace framework-res.apk, it prevents the phone from accessing the file while copying, and only actually swaps at reboot. With other file explorers like ES File Explorer, even with root permissions and all the same functionality of root explorer, when you swap framework-res.apk, the phone continues to try to read off the framework-res.apk as it is being overwritten, causing the phone to crash and an endless bootloop/brick. (I know because I tried to find a free alternative to root explorer and ended up with a brick =P) If Root Browser works for this, that's fantastic! But be careful! Unless you've already swapped framework-res.apk using this and it worked beautifully, be very very very cautious!!
Click to expand...
Click to collapse
File Expert
Has anyone tried useing File Expert? I really cant see buying the root explorer for one time use... I have been using File Expert for a while but never got into the aformentioned files...
mdkrush said:
Has anyone tried useing File Expert? I really cant see buying the root explorer for one time use... I have been using File Expert for a while but never got into the aformentioned files...
Click to expand...
Click to collapse
I use root browser. Its free and worked for me.
daebaybay said:
man... not sure what i did wrong but i used root explorer. now my p930 is in an endless bootloop.
what did you do to fix yours?
Click to expand...
Click to collapse
I took mine back to the AT&T store =/ I was still within 30 days after purchasing.
You can follow the unbrick solution in this thread here
That sucks, dude! Any clue what happened? After copying framework-res.apk into /system/ but before putting it into /system/framework, did you change the permissions to owner: read write, group: read, others: read? Or did you use a file manager other than file explorer? Sorry, man! =(
heh, i did everything here with the root explorer so not sure what caused the bricking.
mine stopped doing the bootlooping but it force closes everything.
i wonder if it can be recoverable in this state without flashing.
maybe i can just sign up for the beta testing of the new dev roms since it's already bricked lol.
if you have any suggestions to what i can try, let me know
Forgot to mention, my unit is the bell optimus lte. Not sure if that is the difference.
itiskonrad said:
1.) Using root explorer, COPY your framework-res.apk file at /system/framework/framework-res.apk to somewhere on your sd card for safekeeping, just as a backup.
2.) Move framework-res.apk from this thread's "stock icons - percent battery.zip" onto your sd card, and move it into /system folder on your phone.
3.) Long-press on this framework-res.apk in root explorer, and select permissions. Change permissions to: Owner: read/write, group: read, others: read.
4.) Move this framework-res.apk, now with the proper permissions, into /system/framework folder, and let it overwrite the original framework-res.apk.
5.) Restart your phone!
Click to expand...
Click to collapse
thanks for the contribution! is it ok to do this change on the kernalpan1c custom ROm? it has been deodexed , i am unsure if that matters and wanted to double-check.
ty
Ohhh, I don't know. I tend to doubt it will work with a custom ROM... My gut says no
drat!
thx for the reply.

[How-to] Disable OTA updates on Stock + Rooted ROMs

I see this question come up once in a while here, and I had a similar thread on the ET4G about this so I thought I'd recreate it here for you S3 folks. I recently flashed to LJ7 to do some testing and while there was getting bugged by the OTA update, so I tried this method out and confirmed it does work on the S3 as well.
[How-to] Disable OTA updates on Stock + Rooted ROMs
1. Download FOTAKill.apk* and copy to your Phone/SD
2. Use a root explorer (such as ES Explorer) to copy the file to /system/app
3. If the update already downloaded, use your root explorer to delete it from /cache
4. reboot
If the update notice is still in the notification bar after the reboot, simply swipe it away. That should be the last time you are ever prompted to update via OTA. Even if you manually go to system update and click check now it will no longer offer you the OTA. You can simply delete the apk from /system/app to reverse this mod.
*Credit for the apk goes to the CM team and or the folks who create the gapps packages!
*If anyone would like to make a CWM flashable I would be happy to add it here and give you credit.
rocket321 said:
I see this question come up once in a while here, and I had a similar thread on the ET4G about this so I thought I'd recreate it here for you S3 folks. I recently flashed to LJ7 to do some testing and while there was getting bugged by the OTA update, so I tried this method out and confirmed it does work on the S3 as well.
[How-to] Disable OTA updates on Stock + Rooted ROMs
1. Download FOTAKill.apk* and copy to your Phone/SD
2. Use a root explorer (such as ES Explorer) to copy the file to /system/app
3. If the update already downloaded, use your root explorer to delete it from /cache
4. reboot
If the update notice is still in the notification bar after the reboot, simply swipe it away. That should be the last time you are ever prompted to update via OTA. Even if you manually go to system update and click check now it will no longer offer you the OTA. You can simply delete the apk from /system/app to reverse this mod.
*Credit for the apk goes to the CM team and or the folks who create the gapps packages!
*If anyone would like to make a CWM flashable I would be happy to add it here and give you credit.
Click to expand...
Click to collapse
CNexus created a really good sticky guide to talk about OTAs. You might want to post this over there. Could you let us know what FOTAKill does? Does it work regardless of phone/carrier?
topherk said:
CNexus created a really good sticky guide to talk about OTAs. You might want to post this over there. Could you let us know what FOTAKill does? Does it work regardless of phone/carrier?
Click to expand...
Click to collapse
I expect it will work on other carriers/phones but only speak for devices I personally test it on.
The apk works by overriding the built in android OTA service. It has traditionally been included in Gapps packages as a way to disable carrier updates on AOSP roms but works just as well on stock based roms.
Sent from my SPH-L710 using xda app-developers app
I must be doing something wrong. I am unable to move the file, I keep getting "file is read only"
Update: I found that if you click on the downloaded apk that it installs itself in the correct folder however it still did not work for me.
I am on the DaRTHSTAULKER ROM S3 vX
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EVObastard said:
I must be doing something wrong. I am unable to move the file, I keep getting "file is read only"
Update: I found that if you click on the downloaded apk that it installs itself in the correct folder however it still did not work for me.
I am on the DaRTHSTAULKER ROM S3 vX
View attachment 1914304
Click to expand...
Click to collapse
You need to mount /system as RW
If your file manager does not give you the option to do so, go into a terminal and type the following:
Code:
mount -o remount,rw /system
The app needs to installed as a system app, if you simply install it by selecting it, it will be installed as a user app. Uninstall, mount system as ready write, and copy it to /system/app
That's correct, if you just click it and install like a normal app it won't work because it needs to be installed as a system app.
Sent from my SPH-L710 using xda app-developers app
So do I move the hole file or extract the app then move that?
NM I noticed it's a .apk file :fingers-crossed:
Ok, that worked it's now in my app list, thank you hopefully this does it.
Sprint GS3 Rooted, DaRTHSTAULKER X
Woohoo, it's been 4 hours or so and no notification, thank you thank you thank you.
Sprint GS3 Rooted, DaRTHSTAULKER X
Ok so I took a look inside the apk and heres how it works
App gets triggered when: Google Services state is changed; Android device checks in the the Google servers; and when Android device finishes booting (BOOT_COMPLETE)
If there is, it gets the info from the Google Services Framework intent (url, time, etc), logs it, and then cancels the notification
Sets the link to be empty (" ") and overrides the GSF notification, and then clears the notification
Removes the notification and OTA data from the Google Services Framework database
Attached is a universal flashable (meaning, for any Android device) that puts FOTAKill.apk into your /system/app.
EDIT: File pulled for the moment...
CNexus said:
Ok so I took a look inside the apk and heres how it works
App gets triggered when: Google Services state is changed; Android device checks in the the Google servers; and when Android device finishes booting (BOOT_COMPLETE)
If there is, it gets the info from the Google Services Framework intent (url, time, etc), logs it, and then cancels the notification
Sets the link to be empty (" ") and overrides the GSF notification, and then clears the notification
Removes the notification and OTA data from the Google Services Framework database
Attached is a universal flashable (meaning, for any Android device) that puts FOTAKill.apk into your /system/app.
EDIT: File pulled for the moment...
Click to expand...
Click to collapse
This is great, I am standing by. Since I did it the other way should I redo it this way? (I would guess no) Also I was going to ask if it worked for my wife's E4GT but sounds like this new one you are making will. TIA
EVObastard said:
This is great, I am standing by. Since I did it the other way should I redo it this way? (I would guess no) Also I was going to ask if it worked for my wife's E4GT but sounds like this new one you are making will. TIA
Click to expand...
Click to collapse
The file itself will work on ANY phone because it blocks the GSF app. I would recommend just using a root browser to put it in /system/app for the moment, i pulled the file because it somehow wiped my entire /system partition (yeah, i dont know either) so i didnt want anyone else to have issues.
And no, you dont need to redo it with the zip im making, it wont change anything.
Also, im not modifying the file in any way, I'm just making a zip that will flash it on any device.
This definitely works on the ET4G, I had that phone before the S3 and used it to stay on a GB rom for a long time.
Sent from my SPH-L710 using xda app-developers app
Thank you both very much. :good::good:
Here's a flashable http://db.tt/lfeO3giy fix permissions after flashing just in case
Sent from my ANTHRAX sniffing GS3
Disabling OTA updates
Hi,
Would anyone know if the FOTAKill.apk procedure works on a Galaxy S3 flashed to Boost or would that not make a difference?
Thanks.
andee39 said:
Hi,
Would anyone know if the FOTAKill.apk procedure works on a Galaxy S3 flashed to Boost or would that not make a difference?
Thanks.
Click to expand...
Click to collapse
Try it. Shouldn't hurt anything if it doesn't.
Thanks. A friend had mentioned to me he read about freezing SDM 1.0 but I don't have that file and wasn't sure if it was related to being flashed to Boost. I searched and came across your post but wasn't sure if I would run into a similar type issue. Will give it a try and fingers crossed it works!
Thanks again!
Fota will not paste into Apps folder
Every time I try to copy or cut and paste the file never goes into the apps folder. My phone is rooted using Mr. Robinsons method.I have tried two different root explorers witht he same results.
maf49 said:
Every time I try to copy or cut and paste the file never goes into the apps folder. My phone is rooted using Mr. Robinsons method.I have tried two different root explorers witht he same results.
Click to expand...
Click to collapse
Have you changed the read/write settings in the root explorer apps? They default to read only in order to edit you have to change to write.
Sent from the future via Tapatalk 4
edfunkycold said:
Have you changed the read/write settings in the root explorer apps? They default to read only in order to edit you have to change to write.
Sent from the future via Tapatalk 4
Click to expand...
Click to collapse
System folder and app folder both have owner rwx group rx and other rx. there is a checkbox to add w but it wont keep the setting

[Q] Help! need platform.xml file

Hi - I'm desperately hoping someone can help....
In the process of endeavouring to enable RW access to my UK HTC One M8 (O2) I've sucessfully rooted and installed the SDFix from Next App in the hope that it would perform the necessary mod to the platform.xml file in /system/etc/permissions but it failed because it didn't recognise the file as xml.
I've checked into it and I can see that the file itself has become corrupt and is full of spurious korean (probably) text.
I'm desperately hoping someone would please email me a copy of their platform.xml file so I can overwrite this corrupt one as I don't dare switch my phone off until it has a chance of booting.
I've looked for a copy of the stock ROM but cannot see the wood for the trees.
I imagine the file from any HTC One M8 variant will do - certainly any viable platform.xml file would be better than a file full of garbage, although ideally for the UK model would probably be wise.
my email is etherkeiffer at the google email domain thanks in anticipation guys!
p.s. I appreciate this is kind of dev related but I don't have enough posts to post in that forum and this is so urgent as I don't dare switch my phone off for fear of bricking it
kw1mx5 said:
Hi - I'm desperately hoping someone can help....
In the process of endeavouring to enable RW access to my UK HTC One M8 (O2) I've sucessfully rooted and installed the SDFix from Next App in the hope that it would perform the necessary mod to the platform.xml file in /system/etc/permissions but it failed because it didn't recognise the file as xml.
I've checked into it and I can see that the file itself has become corrupt and is full of spurious korean (probably) text.
I'm desperately hoping someone would please email me a copy of their platform.xml file so I can overwrite this corrupt one as I don't dare switch my phone off until it has a chance of booting.
I've looked for a copy of the stock ROM but cannot see the wood for the trees.
I imagine the file from any HTC One M8 variant will do - certainly any viable platform.xml file would be better than a file full of garbage, although ideally for the UK model would probably be wise.
my email is etherkeiffer at the google email domain thanks in anticipation guys!
p.s. I appreciate this is kind of dev related but I don't have enough posts to post in that forum and this is so urgent as I don't dare switch my phone off for fear of bricking it
Click to expand...
Click to collapse
Now resolved, with thanks! Please close thread / delete
kw1mx5 said:
Now resolved, with thanks! Please close thread / delete
Click to expand...
Click to collapse
What was your fix?
brent372 said:
What was your fix?
Click to expand...
Click to collapse
A member (name withheld to respect his privacy) kindly emailed the relevant file.
kw1mx5 said:
A member (name withheld to respect his privacy) kindly emailed the relevant file.
Click to expand...
Click to collapse
I think you would have been fine restarting. If you're rooted and not S-Off it would revert all changes on reboot, like you never touched platform.xml at all.
Xdpker06 said:
I think you would have been fine restarting. If you're rooted and not S-Off it would revert all changes on reboot, like you never touched platform.xml at all.
Click to expand...
Click to collapse
yes - I'm sure you're right but I just didn't want to take any chances as I'm mostly a stock user and only root and make changes where I consider it absolutely essential so I don't have much experience (in case it doesn't show ).
With my previous Galaxy S2 that was both essential and the changes (removals) quite substantial - it's amazing how much crap Samsung were cramming on handsets, even a couple of years ago.
kw1mx5 said:
yes - I'm sure you're right but I just didn't want to take any chances as I'm mostly a stock user and only root and make changes where I consider it absolutely essential so I don't have much experience (in case it doesn't show ).
With my previous Galaxy S2 that was both essential and the changes (removals) quite substantial - it's amazing how much crap Samsung were cramming on handsets, even a couple of years ago.
Click to expand...
Click to collapse
Hi, The other day i tried to fix the Platform.xml. on my S5. i noticed sometime after that when i move files using the "My files" app, the phone would not refresh the files so that they would show up in gallery, videos etc.. I tried to undo the Media_rw by using SD Maid to find the Platform.xml and Axel to rewrite the Xml. In the platform.xml. i deleted the Media_rw and replaced the old xml with the new (original) one. I rebooted my phone. On swiping to open the screen i noticed alot of apps crashing one after the other. I when back to SD Maid and searched for Platform.xml and opened it with Axel but it said file not found.. i can not use the internet, i cant use most apps, i cant even use the Kies on my computer. I cant save anything to the storage either. I really need help. how can i reset the xml files on my phone..
Since I experience the same issue as the thread starter (just with a German HTC One M8) I would really appreciate to get a clean version of the platform.xml file also.
Thanks!
EDIT: I don't need the file anymore. For some reason it looked fine again after another couple of reboots. I have no idea what went wrong here...
Did you make your SD card writable to apps?
If yes, how?
Right now I'm on rooted One M8 from t-mobile. All those SDfix apps from Play Store do not work.
Sn8kbordin said:
Did you make your SD card writable to apps?
If yes, how?
...
Click to expand...
Click to collapse
Well, it's not really necessary to use any tools. They didn't work for me also, so I used this description (Method 1):
http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
You just need to add one line in the mentioned xml-file. That's it...
bama35453 said:
Well, it's not really necessary to use any tools. They didn't work for me also, so I used this description (Method 1):
http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
You just need to add one line in the mentioned xml-file. That's it...
Click to expand...
Click to collapse
Thank you.
When I edit the platform.xml with ES File Explorer and save it, it goes back to stock on reboot.
I tried to copy that file, edit in new location, save, and then:
1. When I overwrite platform.xml with ES File Explorer phone reboots and stock file is back
2. When I delete stock platform.xml to copy modified file in its place phone reboots and stock file is back.
Sn8kbordin said:
Thank you.
When I edit the platform.xml with ES File Explorer and save it, it goes back to stock on reboot.
I tried to copy that file, edit in new location, save, and then:
1. When I overwrite platform.xml with ES File Explorer phone reboots and stock file is back
2. When I delete stock platform.xml to copy modified file in its place phone reboots and stock file is back.
Click to expand...
Click to collapse
Well, you're right. I ran into that issue also. Finally I think I found a solution more or less by accident:
I moved the platform.xml to /data/data
• Boot in recovery mode
• Mount system*and*data
• Start ADB shell (on a Windows PC cmd: “adb.exe shell”)
• Type the following commands:
1 cd /system/etc/permissions
2 mv platform.xml /data/data
3 ln -s /data/data/platform.xml platform.xml
4 exit
Reboot phone and do the necessary changes to the platform.xml file:
1 Using a root-enabled file manager navigate to /data/data
2 Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3 Add an additional line containing the group definition for this permission: <group gid=”media_rw” />
4 Save the changes to the file.
5 Restart the phone.
Once done I moved the file back:
• Boot in recovery mode
• Mount system*and*data
• Start ADB shell (on a Windows PC cmd: “adb.exe shell”)
• Type the following commands:
1 cd /data/data
2 mv platform.xml /system/etc/permissions
3 exit
After that the changed file survived several reboots so far.
As always: If you also try it that way - it's on your own risk...
The following fixed apps write access to the SD card on my rooted (I followed this to root my phone http://forum.xda-developers.com/showthread.php?t=2066390 ) HTC One M8 from T-Mobile (Android 4.4.2, Sense 6.0) with TWRP recovery:
1. Copy platform.xml from /system/etc/permissions to SD card or internal memory with ES File Explorer or any other way.
2. Open copied platform.xml in new location and edit it according to http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/ (Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission. Add an additional group definition for this permission: <group gid=”media_rw” />)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Save the changes to the file.
4. Turn phone off.
5. Press and hold volume down and power buttons to boot into TWRP recovery.
6. Press volume down until "recovery" is highlighted, then press power button to boot into recovery.
7. Back up your phone before proceeding just in case something goes wrong.
8. In TWRP recovery mount system partition. This took me a while to figure it out as otherwise you can't find and overwrite stock platform.xml in /system/etc/permissions and it is not mounted by default.
9. In TWRP recovery go to advanced and copy the platform.xml from location you saved the edited copy to /system/etc/permissions and overwrite the stock platform.xml with edited copy.
10. Reboot
11. Apps have write access to SD card and SD is fixed.
Me too
Can someone email me the platform.xml file from an HTC one m8 please
my email is nickbruton at gmaildotcom
kw1mx5 said:
Hi - I'm desperately hoping someone can help....
In the process of endeavouring to enable RW access to my UK HTC One M8 (O2) I've sucessfully rooted and installed the SDFix from Next App in the hope that it would perform the necessary mod to the platform.xml file in /system/etc/permissions but it failed because it didn't recognise the file as xml.
I've checked into it and I can see that the file itself has become corrupt and is full of spurious korean (probably) text.
I'm desperately hoping someone would please email me a copy of their platform.xml file so I can overwrite this corrupt one as I don't dare switch my phone off until it has a chance of booting.
I've looked for a copy of the stock ROM but cannot see the wood for the trees.
I imagine the file from any HTC One M8 variant will do - certainly any viable platform.xml file would be better than a file full of garbage, although ideally for the UK model would probably be wise.
my email is etherkeiffer at the google email domain thanks in anticipation guys!
p.s. I appreciate this is kind of dev related but I don't have enough posts to post in that forum and this is so urgent as I don't dare switch my phone off for fear of bricking it
Click to expand...
Click to collapse
Help please
Dont need the platform.xml file, but after changing mine, I rebooted and lots of services failed, titanium backup crashes with Unfortunatley Titanium Backup has stopped.
adb doesnt seem to want to work anymore, can anyone help?
---------- Post added at 01:07 PM ---------- Previous post was at 12:38 PM ----------
What is the correct access mode on /system/etc/permissions/platform.xml ??
Sn8kbordin said:
The following fixed apps write access to the SD card on my rooted (I followed this to root my phone http://forum.xda-developers.com/showthread.php?t=2066390 ) HTC One M8 from T-Mobile (Android 4.4.2, Sense 6.0) with TWRP recovery:
1. Copy platform.xml from /system/etc/permissions to SD card or internal memory with ES File Explorer or any other way.
2. Open copied platform.xml in new location and edit it according to http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/ (Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission. Add an additional group definition for this permission: <group gid=”media_rw” />)
3. Save the changes to the file.
4. Turn phone off.
5. Press and hold volume down and power buttons to boot into TWRP recovery.
6. Press volume down until "recovery" is highlighted, then press power button to boot into recovery.
7. Back up your phone before proceeding just in case something goes wrong.
8. In TWRP recovery mount system partition. This took me a while to figure it out as otherwise you can't find and overwrite stock platform.xml in /system/etc/permissions and it is not mounted by default.
9. In TWRP recovery go to advanced and copy the platform.xml from location you saved the edited copy to /system/etc/permissions and overwrite the stock platform.xml with edited copy.
10. Reboot
11. Apps have write access to SD card and SD is fixed.
Click to expand...
Click to collapse
For those of us who use CWM / Philz, you can also mount system and do it over adb shell.
blondini said:
Can someone email me the platform.xml file from an HTC one m8 please
my email is nickbruton at gmaildotcom
Click to expand...
Click to collapse
Here is my modified platform.xml file from T-Mobile HTC One M8, Android 4.4.2
Looking to do an OTA update so I need the original unedited platform.xml file. I have tried manually editing it back to remove the sd fix (which worked), but the update still does not go through saying there is something wrong with the platform.xml again. If you have it please email it to me! jrsnively1 at gmail.
Thank you!

Categories

Resources