I want to make a MMS fix for ROMS I flash with the correct settings. I can do it the long way (adb pull, edit, adb push), but I've seen Devs out there who make flashable fixes and I want to learn how. I have the folder structure, just don't know how to make it flashable.
Could someone please assist?
When you say mms fix ... what do you need to do to make the fix work? Delete a file? Update a package? How your fix works will dictate how it needs to be installed.
Sent from my DROID2 using Tapatalk
What I mean is. I've edited the Default.xml files in /system/customize/CID & MNS so the phone can be found on T-Mobile in order to get full resolution on incoming picture messages.
I just need to know how to recompress the folder structure to make it flashable.
I can do it manually, but I wanted to share
I may be misunderstanding but ...
http://www.londatiga.net/it/how-to-create-android-update-zip-package/
Sent from my DROID2 using Tapatalk
I will give this a try, thank my friend
Related
Hi all,
I know how to change the wallpaper on the lockscreen but I was wondering if it's possible to remove the grey band displaying the operator and the time. It really doesn't match my wallpaper I've searched for this but I can't find any solution.
Drizzys rom has the type of lockscreen you are after. Drop him a PM and see if he can help.
It would be great if Drizzy could provide the way that the lockscreen can be customized so we can all know, instead of PMing each other.
Thanks ritdaw. I'll give it a look.
ill second that, this would be really really interesting!!
ZenorGR said:
It would be great if Drizzy could provide the way that the lockscreen can be customized so we can all know, instead of PMing each other.
Click to expand...
Click to collapse
Sorry I only said PM because I'm sure Drizzy doesn't get a chance to read all of the posts on here, Heck I try, but it takes a lot of time!
Perhaps once spamianspoon has some answers he can share with the rest of us.
You need to get one a ressource apk from your phone (/system/app/htc-ressources.apk or something like that), extract it (renaming it to .zip will do magic ), mod the ressource you need to, zip it and upload it back to your phone after renaming it to .apk .
Of course, you need to be root, and you must do a backup (nandroid is perfect for that) since it can make your current system unbootable
Thanks Dream team. I'll give it a try. Bit busy right now, so it'll be a few days. Have you done this yourself?
Cheers.
Dream_Team said:
You need to get one a ressource apk from your phone (/system/app/htc-ressources.apk or something like that), extract it (renaming it to .zip will do magic ), mod the ressource you need to, zip it and upload it back to your phone after renaming it to .apk .
Of course, you need to be root, and you must do a backup (nandroid is perfect for that) since it can make your current system unbootable
Click to expand...
Click to collapse
cant find that file in the path you posted.. are you sure name and path of the file are correct?
look here:
/system/framework/com.htc.resources.apk
i edited the file as described by dream_team. it works perfectly
Hey all, Well i know we could not wait for a Honeycomb theme, i know i cannot, but heres my conundrum.
I have made a honeycomb keyboard, but cannot get it to install for the life of me, ive used the testkeys, shared, platform, etc (all using Signapktic from Stericson. Does anyone have any clue as to why it will not install?
A few questions that i know you might ask, answered ...
No, there is no other keyboard, other than swype, and samsung keypad..
I made it off of the GB keyboard...
Yes, I have made many of themes, many of changes to Frameworks, and have had sucess installing, and running my custom roms....
My question basically is this, IF POSSIBLE, CAN ANYONE SIGN THE FILES I HAVE TO MAKE THIS WORK? PM ME AND I SHALL SEND THE FILES. CREDIT WILL BE GIVIN, I AM ON THE OTHER HAND GOING TO NEED SOME SORT OF PROOF YOU KNOW WHAT YOUR DOING, I WORKED REAL HARD ON THIS, SO FOR RIGHT NOW ITS PRIVATE, HENSE THE PM.
THANKS AGAIN IN ADVANCE. REMEMBER .. LETS GET THIS HONEYTCOMB GOING
I know that most of the keyboards dont work simply by installing but rather need to be pushed to the data\app or data\app_s folder depending on which rom you are running. You can accomplish this using adb or using a file explorer like RootExplorer.
Thanks
Thank you man, this helps a whole lot. Now do i need to re-sign each apk inside the rom folder? or can i just re-sign the .zip?
georgegreco86 said:
Thank you man, this helps a whole lot. Now do i need to re-sign each apk inside the rom folder? or can i just re-sign the .zip?
Click to expand...
Click to collapse
I'm not sure what .zip you're refering to other than a CWM recovery flashable .zip for you keyboard. If this is what you mean, then use the same signiture (key) you'd find in any of the flashable .zips on the forums. In other words, just copy over the META-INF folder from some other .zip to yours. Of course, you'll want to make sure the update-script in this folder is pointing at the proper directories for installation.
For your apk, you should only need to sign it if you changed the AndroidManifest.xml. Otherwise, just keep the META-INF folder from them original apk.
Finally! After days of struggling to figure out how to modify my ROM's framework-res.apk and create a working flashable update.zip to install the framework-res.apk changes, I have finally figured out how (big thanks to the guys here: http://forum.xda-developers.com/showthread.php?p=20962080#post20962080) and have created an automated script to help others struggling with the same problem.
Framework Flasher 1.1.4
Feel free to download and experiment with it. This is my first gift to the XDA/Android Hacking community, and I plan on doing more. I just want to test the waters for now Feedback would be nice. Let me know if I've helped you in some way!
---------------------------
What does it do?
It extracts your framework-res.apk file and allows you to edit the files. After editing, the script will compile, sign the apk, create your update.zip with the correct structure for flashing, and then sign the .zip. Everything you need to modify and flash your framework-res.apk file.
How do I use it?
Download the .zip from the link below and extract it somewhere on your PC. Drag the framework-res.apk file that you want to modify and/or flash into the /place-framework-res-here/ directory. Double-click on RunMe.bat and off you go! Do the steps (1-5) in order and you shouldn't have any problems.
Who needs this?
A LOT of people according to how many google searches I did in the past 3-4 days.
Will it work for files other than framework-res.apk?
Currently, no. However it would be easy to implement that functionality if I saw that people would benefit from it.
I found a bug... what do I do?
Post it in this topic. I'll do what I can to make continual updates as long as I see people are benefiting from it. I'm sure there are bugs in it somewhere, so just let me know.
Where do I download this snazzy piece of software?
http://www.mediafire.com/?1nc14hkhs2yrqmt
The little disclaimer
If you download this tool, please say thanks! Not only does it motivate me to continue to improve this software, but it also let's me know how many users are using it! Thanks!
This script is mainly intended for use with editing script files (xml, etc.), and normal (non 9png) images. 9pngs have been successfully repacked using this tool! If you run into any problems, be sure to make it known!
This tools was created to work with the Droid X2. If you are experiencing problems using it, first ensure that you are in fact using a Droid X2.
Change Log
1.1.4 (1/14/12)
- Corrected the Log error. You can now see error logs!
- Corrected an error processing problem where Framework Flasher would instantly close without warning
1.1 (1/7/12)
- Made compatibility tweaks
- Removed unnecessary overhead
1.0 (1/6/12)
- Initial Release
When reporting errors, please ensure that there are no spaces in your file path, and include what ROM and version you are running.
Hello
This is an awesome little tool you got here. I haven't tried it yet but I'll likely give it a shot eventually.
You should add functionality for SystemUI.apk, that's the other "real big" file people like to edit. Just a suggestion based on what I know about theming
Very nice!
So r u telling me this will modify everything including the. 9 png images..also can u get into the xml files as well or images only...i use apk manager and with the. 9 pngs u cannot touch the 9 patches or change the image without using draw 9 patch to ensure the apk will recompile
Sent from my DROID X2 using xda premium
PoorCollegeGuy said:
Hello
This is an awesome little tool you got here. I haven't tried it yet but I'll likely give it a shot eventually.
You should add functionality for SystemUI.apk, that's the other "real big" file people like to edit. Just a suggestion based on what I know about theming
Very nice!
Click to expand...
Click to collapse
Thanks. I will definitely look into adding this. I'll update the OP with any changes or updates.
Kevin3328 said:
So r u telling me this will modify everything including the. 9 png images..also can u get into the xml files as well or images only...i use apk manager and with the. 9 pngs u cannot touch the 9 patches or change the image without using draw 9 patch to ensure the apk will recompile
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Not tested 9pngs with this, it's mainly intended for scripting (xml files, etc. along with normal non 9png images). I've updated the OP to include a little disclaimer stating this fact. Thanks for pointing that out.
.9.png seems to work
Thanks Wesf90 for the tool. I was curious about the .9.png myself. Looking at the script it decompiles and compiles using apktool just like the apkmanager script does so just by looking at your RunMe.bat it looks like it would be fine. I did test it out to be sure though. So I took the framework-res from eclipse 2.0.3 changes some 9.png files and recompiled without any issues. It is important to note that you need to be careful when editing 9.png files to NOT change the black "patches" around the edge of those images. Doing so will cause bad patches and will generate errors when re-compiling. So for example if you apply a filter to the entire image double check that the color value of the black patches are still 000000 (I've done this ). If you don't mess with the patches all should be fine. It also depends on the original framework-res you are starting with. If you use one that has broken 9.pngs in it to start then you will need to fix them before re-compiling (I've done this too ).
Nice work. I especially like that step 4 that creates the update.zip. That is not in apkmanager that I've been using. So following steps 1,2,3,4 sure does make it simpler for a beginner which was your goal. Keep up the good work!
hedwig34 said:
Thanks Wesf90 for the tool. I was curious about the .9.png myself. Looking at the script it decompiles and compiles using apktool just like the apkmanager script does so just by looking at your RunMe.bat it looks like it would be fine. I did test it out to be sure though. So I took the framework-res from eclipse 2.0.3 changes some 9.png files and recompiled without any issues. It is important to note that you need to be careful when editing 9.png files to NOT change the black "patches" around the edge of those images. Doing so will cause bad patches and will generate errors when re-compiling. So for example if you apply a filter to the entire image double check that the color value of the black patches are still 000000 (I've done this ). If you don't mess with the patches all should be fine. It also depends on the original framework-res you are starting with. If you use one that has broken 9.pngs in it to start then you will need to fix them before re-compiling (I've done this too ).
Nice work. I especially like that step 4 that creates the update.zip. That is not in apkmanager that I've been using. So following steps 1,2,3,4 sure does make it simpler for a beginner which was your goal. Keep up the good work!
Click to expand...
Click to collapse
Thanks for the test run. I've updated to OP to state that 9pngs have been tested.
Creating the update.zip was the hardest part for me, learning how to use update-script and updater-script. Hopefully this will help everyone else get on the right path.
is it possible, that after the editing was done, to simply push the framework to its place? without flashing recovery?
Dude XDA did a writeup on this.. but the article states there is no. 9 compatibility .... which is not true your program decompiles just like apk manager and apk tool do... .9 can be edited the patches simply can't be touched.. making this an awesome little tool !!!
Sent from my DROID X2 using xda premium
Sweet tool, just what I've been looking for
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
XT69 said:
is it possible, that after the editing was done, to simply push the framework to its place? without flashing recovery?
Click to expand...
Click to collapse
Yes, definitely possible if you have ADB access. I may add this feature, but the idea of the tool is primarily to allow users to create a flash-able file for their's, or others', phones. I'll put it on my to-do list though
Kevin3328 said:
Dude XDA did a writeup on this.. but the article states there is no. 9 compatibility .... which is not true your program decompiles just like apk manager and apk tool do... .9 can be edited the patches simply can't be touched.. making this an awesome little tool !!!
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Yeah I noticed that about the 9pngs in the article, however several people (including yourself) have stated that 9png's work fine. So hopefully XDA will eventually update the post.
zaxondis said:
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
Click to expand...
Click to collapse
Interesting. I plan on releasing another update soon, so send me the file you tried (I sent you a PM), I plan on weeding out small bugs quickly. Once the update is ready, hopefully I can have this bug fixed (or at least resolved)
Wes
zaxondis said:
Just wanted to drop in and say thanks for this tool (button hit, donation forthcoming).
I tried this with my framework-res file from and ICS 4.0.1 ROM I'm running and it decompiles perfectly, but after I make edits and try and recompile, the script just closes.
I tried looking at the log in the folder of the tool and it didn't have any information except the date/time I ran the script.
Any thoughts? Would love to make use of this if you think it should work for me. Thanks again!
Click to expand...
Click to collapse
had the same here!
other then that great tool
Ok to u guys having this happen... try to decompile and them recompile immediately ... if this works odds are u damaged a .9 png... those images have a black 1 pixel boarder that cannot be touched
Sent from my DROID X2 using xda premium
Maybe a dumb question but do we flash this in recovery or is this for pc use?Thanks I been itching to try this on my Iced Sam Vib...
Program is for PC use when u r done it will create a flashing zip for u
Sent from my DROID X2 using xda premium
Dougfresh said:
Maybe a dumb question but do we flash this in recovery or is this for pc use?Thanks I been itching to try this on my Iced Sam Vib...
Click to expand...
Click to collapse
Yes, you're absolutely correct. Once you go through the steps and create the update.zip file, simple place that file onto your sd card. Then flash the .zip in recovery.
Wes
Doesn't work for me. It says that echo is off.
Thanks wesf90. Going to DL, and check this out.
Work with any Android?
Will this work with any Android system, like the GS2? Sorry if I missed the answer somewhere above.
Thx.
disclaimernotice said:
Doesn't work for me. It says that echo is off.
Click to expand...
Click to collapse
Does this happen as soon as you start it?
I've been looking into how to remove some apks from /system/app/ in CWM-flashable zips to save myself some time when going back and forth between ROMs. I understand (I think..) that after the removal process, I will need to resign the zip using JesusFreke's testsign.jar, but I still have some questions that I couldn't find much information on.
1) What exactly does the signing process do, and why would a flash of an unsigned zip fail?
2) This may be related to Q1, and may be a silly question, but why does a zip not retain the original signing if you alter the contents of the package?
3) Would using JF's testsign.jar affect the integrity of the ROM in any way? (In other words, are there any differences between testsign.jar and the signing process used by the ROM dev?)
4) Besides resigning, is there anything I should be aware of or anything else I need to do before flashing the updated ROM?
I am entirely new to this so I apologize for my entirely noob-ish questions, but really would appreciate any help! Thanks in advance.
Just open up the zip and delete the apps you don't want, add the apps you do want, and flash.
No need to do anything else.
harlenm said:
Just open up the zip and delete the apps you don't want, add the apps you do want, and flash.
No need to do anything else.
Click to expand...
Click to collapse
Don't u need to delete the permissions and everything from updater-script. I'm new to this so do u have to?
Sent from my SGH-I777 using XDA App
Usually the updater-script just sets permissions for the whole /system/app folder with one command.
Entropy512 said:
Usually the updater-script just sets permissions for the whole /system/app folder with one command.
Click to expand...
Click to collapse
How would u do that. Sry I'm a total noob to this. I only know how to set it per app.
Sent from my SGH-I777 using XDA App
The first reply already told you how to do it. I just delete the apks using winRAR and close the file, done.
I received a Text message sent from an E-Mail and I was wondering if it was possible to find the individual file on the filesystem holding the metadata for the E-Mail.
If so, would I have to root the phone? And where would that file be located?
I'm a techie, so no need to warn me that I could hurt my phone or files - I'm only looking to READ, not WRITE, and I'd be making a copy of that file beforehand anyways and porting it to a PC in order to check it with whatever program is necessary to decrypt (Probably only need a hex editor, but if someone knows better, feel free to pass that information along, too )
Anyways, is it possible?
Thank you for your time.
FordTough91 said:
I received a Text message sent from an E-Mail and I was wondering if it was possible to find the individual file on the filesystem holding the metadata for the E-Mail.
If so, would I have to root the phone? And where would that file be located?
I'm a techie, so no need to warn me that I could hurt my phone or files - I'm only looking to READ, not WRITE, and I'd be making a copy of that file beforehand anyways and porting it to a PC in order to check it with whatever program is necessary to decrypt (Probably only need a hex editor, but if someone knows better, feel free to pass that information along, too )
Anyways, is it possible?
Thank you for your time.
Click to expand...
Click to collapse
You can get access to system files by using a file manager. To edit files, you need to root your phone.
If it is *.txt attachment that was attached in that mail, go to downloads and look for it.
Now, serious. Why so serious?
If you are looking to decompile that mail app, use APKTOOL to decompile. Search on xda for the links. :good:
The apk file can be found on the device in: /system/app/ here
If the apk file is odexed, then you have to first deodex it to make it as one apk file Search on xda for the tutorials. :good:
If you are asking to decrypt mails, ask NSA :laugh: :laugh: :silly:
I am a newbie here. So I don't know where that file is located exactly.
Press thanks if I have helped you.
the_pirate_predator said:
You can get access to system files by using a file manager. To edit files, you need to root your phone.
If it is *.txt attachment that was attached in that mail, go to downloads and look for it.
Now, serious. Why so serious?
If you are looking to decompile that mail app, use APKTOOL to decompile. Search on xda for the links. :good:
The apk file can be found on the device in: /system/app/ here
If the apk file is odexed, then you have to first deodex it to make it as one apk file Search on xda for the tutorials. :good:
If you are asking to decrypt mails, ask NSA :laugh: :laugh: :silly:
I am a newbie here. So I don't know where that file is located exactly.
Press thanks if I have helped you.
Click to expand...
Click to collapse
Just to reiterate, the person sent me a TEXT. I open my text app and I read their text. I want to find the file containing that exact text. (Extra info, info you don't really need to know and MAY have confused you: The text was sent via an E-Mail... Meaning they logged into their E-Mail, typed my phone number, and my phone received a TEXT from that E-Mail address straight to my SMS inbox). I'm not sure if I was clear enough on that. But I am trying to open an SMS sent straight to my phone AS IF from another phone.
What did you mean why so serious? I'm just trying to seem professional in my question. Hate to confuse people. Also: Decrypying a file should a) not be necessary, but MAY be (still highly doubt it), and B) Does not require NSA lol. I can do it myself, and if not, I've got a buddy who could do it for sure. But ALL I'M TRYING TO GET is the "metadata" from the SMS that'll HOPEFULLY give me the metadata for the E-Mail.
Thanks for your time.
Solution
I think I have found a solution to your problem.
This is the absolute path to SMS and MMS DB on most android devices:
/data/data/com.android.providers/telephony/databases/mmssms.db
It is the file where these messages are stored.
I don't own this device but still I have posted the screen shots
I think you get what I am trying to say.
Press thanks if I helped