Can anybody tell me ? I need to make one for Xperia Pro with physical QWERTY (mk16i)
Google "flashable zip template" and download it
Don't extract it..open it with winrar..push your files in system/ folders
Apps to /app
Framework files to /framework
etc
[optional]Open META-INF folder go to /com/google/android, open updater-script via Notepad++ and here you can add your own text which will be shown during flashing
Close it and flash
Sent from your computer
Related
Hi,
I'm trying to make some changes to framework-res.apk.
I user APK Manager 4.9 to decompile the file, then made one trivial change to a XML file (changed one auto brightness related value).
I then compiled back to APK without signing and pushed to the phone in recovery mode the deleted Dalvik cache just to be on the safe side.
No matter how I play with it I always get FC from all the system apps immediately after the phone completes the boot process.
Some more information:
1. My original APK had directories like /res/drawable-hdpi-v4 while after decomplie they become res/drawable-hdpi (without the "v4")
2. After I recompile the "v4" directories are not created back and the generated APK contains the directories without the v4
3. If I use the "Reduce errors" feature of the APK manager complie option then I end up with APK that contains both the directories with v4 and those without.
4. I tried with the "reduce errors" option and without it (in which case I manually copied the signature directory into the APK) but got same FC.
5. It seems that once the FCs begin to happen they don't stop until a full nandroid restore. Even if I put the original framework.res.apk file I still get FCs after rebooting.
6. I'm using Revolution HD 2.0.11 ROM
7. The APK file I'm trying to modify was generated by the UOT kitchen.
Any idea what am I doing wrong?
No one knows?
erank said:
No one knows?
Click to expand...
Click to collapse
You dont need to decompile the framework to edit the files, heres the best way, take the the original framework-res.apk, and copy it to your pc, use 7zip to extract the .apk and extract any files you want to edit from the extracted framework, now go back to your original framework-res.apk and right click on it, find 7zip in the contex menu and click open, the contents of the apk will appear in a new window, now just drag and drop your edied files in the right directorys, once done, close 7zip, push the framework back to /system/framework/, wipe the dalvik cache and your done
AndroHero said:
You dont need to decompile the framework to edit the files, heres the best way, take the the original framework-res.apk, and copy it to your pc, use 7zip to extract the .apk and extract any files you want to edit from the extracted framework, now go back to your original framework-res.apk and right click on it, find 7zip in the contex menu and click open, the contents of the apk will appear in a new window, now just drag and drop your edied files in the right directorys, once done, close 7zip, push the framework back to /system/framework/, wipe the dalvik cache and your done
Click to expand...
Click to collapse
The files I want to edit are XML files which are compiled to reasources.arsc, as far as I know 7zip can't extract those, it has to be decompiled.
erank said:
The files I want to edit are XML files which are compiled to reasources.arsc, as far as I know 7zip can't extract those, it has to be decompiled.
Click to expand...
Click to collapse
Too true, the only other thing you could try is to sign the .apk before pushing it....
Sent from my Desire HD using Tapatalk
AndroHero said:
Too true, the only other thing you could try is to sign the .apk before pushing it....
Click to expand...
Click to collapse
Thanks AndroHero.
Everywhere I was looking they always say not to sign system APKs, but just to be sure I also tried signing it and not signing but copying the original META-INF directory - always got the same result - FC in all systems apps after boot.
Hi everyone. I'm not sure if this was already posted. If it was then tell me so I can contact moderator and remove this thread.
Yesterday I flashed MIUI first time and while trying themes I noticed that some words are in chinese.
So I will tell you how to change your lockscreen (look at the attachments)
1. Download lockscreen theme.
2. Connent your phone to your computer
3. Open Internal SD > MIUI > theme > theme you want to edit
4. Copy file to desktop
5. Use 7-zip to extract mtz file
6. Now you can delete mtz file
7. Open your theme folder (that was extracted in step 5) and choose lockscreen file.
8. Now extract lockscreen file with 7-zip (if you can add .zip after lockscreen so it should look like lockscreen.zip)
9. Open manifest.xml with notepad++ and edit what you need. I had to change this http://imageshack.us/photo/my-images/18/15447738.png/
10. Now save manifest.xml
11. Now open lockscreen file with 7-zip (step 7) and delete file manifest.xml
12. Drag and drop edited manifest.xml to 7-zip window like this: http://imageshack.us/photo/my-images/534/dragk.png/
13. Now delete file that you extracted in step 8
14. Now select files and choose add to archive (with WinRAR) mark ZIP as archive format when prompted AND RENAME .zip TO .mtz http://imageshack.us/photo/my-images/26/compress.png/
15. Save it and copy it to phone and install via file manager.
If you have questions post it below.
Any chance of permanently changing chinese to English characters?
Can't extract lockscreen file. See screen shot. Now what?
pcpimpin said:
Can't extract lockscreen file. See screen shot. Now what?
Click to expand...
Click to collapse
Never Mind I figured it out Just browsed to the file using windows explorer and copy and pasted manifest.xml file... All good!
---------- Post added at 06:22 PM ---------- Previous post was at 05:37 PM ----------
Dude I just want to say thanks for this info!!! I found all the chinese txt and used google translate and replaced the txt with english!!! Worked great!!! Now I have about 10 themes I need to do ...lol
help
once i save the manifest file into the lockscreen.zip file, is it suppose to stay .zip? because once i archive the files that were extracted from the original theme. and i go back to apply the theme. it gives me a totally different lockscreen.
the theme that im working with is Ice Cream MIUI_(805477.1).mtz and the problem that i have is that it won't show the weather which i don't care to see in my lockscreen (it would b nice) but the issue that i have is that it just gives me a line full of characters that i can't make out. they're not Chinese i believe they're a bunch up English letter overlapping each other.
has n e one come across this problem with this particular theme?
as soon as i can post a picture up i'll do so....having hit that 8 post yet...=\
Excellent! got it to work, now just tweaking it!
Edit:
Working on changing the slider to say "slide to unlock" next
PLEASE, can you explain me how to drag and drop manifest.xml in the folder advance?
themate1987 said:
Hi everyone. I'm not sure if this was already posted. If it was then tell me so I can contact moderator and remove this thread.
Yesterday I flashed MIUI first time and while trying themes I noticed that some words are in chinese.
So I will tell you how to change your lockscreen (look at the attachments)
1. Download lockscreen theme.
2. Connent your phone to your computer
3. Open Internal SD > MIUI > theme > theme you want to edit
4. Copy file to desktop
5. Use 7-zip to extract mtz file
6. Now you can delete mtz file
7. Open your theme folder (that was extracted in step 5) and choose lockscreen file.
8. Now extract lockscreen file with 7-zip (if you can add .zip after lockscreen so it should look like lockscreen.zip)
9. Open manifest.xml with notepad++ and edit what you need. I had to change this http://imageshack.us/photo/my-images/18/15447738.png/
10. Now save manifest.xml
11. Now open lockscreen file with 7-zip (step 7) and delete file manifest.xml
12. Drag and drop edited manifest.xml to 7-zip window like this: http://imageshack.us/photo/my-images/534/dragk.png/
13. Now delete file that you extracted in step 8
14. Now select files and choose add to archive (with WinRAR) mark ZIP as archive format when prompted AND RENAME .zip TO .mtz http://imageshack.us/photo/my-images/26/compress.png/
15. Save it and copy it to phone and install via file manager.
If you have questions post it below.
Click to expand...
Click to collapse
At step 11:Now open lockscreen file with 7-zip (step
7) and delete file manifest.xml, i can't delete manifest. xml. Why?
MIUI 3.8.2
It seems that in MIUI the folder for themes has changed. I searched in the MIUI folder but could not find it anywhere - there seem to be only settings for the actual theme in "theme" subfolder. I installed some themes manually (from SD card), but they got moved from install folder to somewhere I really don't know. With AndroZip I found nothing, searching the whole internal (and even external) sdcard.
Is there any possibility to get rid of the chinese letters in MIUI 3.8.2?
This is waayyyy more complicated than it needs to be, just open the mtz with the MIUI Theme Editor and edit the manifest taking all the Chinese out of the lockscreen and generate the mtz again.
Sent from my i747 on MIUI V5
SMN23 said:
This is waayyyy more complicated than it needs to be, just open the mtz with the MIUI Theme Editor and edit the manifest taking all the Chinese out of the lockscreen and generate the mtz again.
Sent from my i747 on MIUI V5
Click to expand...
Click to collapse
So no chance to remove it in already installed themes or themes from the MIUI themes app, I guess.
Anyway, thanks a lot for your help!
Zwulf said:
So no chance to remove it in already installed themes or themes from the MIUI themes app, I guess.
Anyway, thanks a lot for your help!
Click to expand...
Click to collapse
Go to /data/system/theme and pull the file named lockscreen from there, that's the currently in use lockscreen you're using. Put that file on your PC and extract it with 7zip, click "extract to lockscreen-\" then delete the ~ from the folder name. Use the MIUI Theme Editor and make a new theme and put that extracted folder in the theme, make sure the folder is called "lockscreen" and then open that folder, go into the advance folder and edit the manifest. Then in the MIUI Theme Editor click generate, put the new generated mtz on your phone and install it, profit!
complicated
this is really complicated , hard to get it for mean , hope have some simplifed methods
chaselxm said:
this is really complicated , hard to get it for mean , hope have some simplifed methods
Click to expand...
Click to collapse
Read my posts before yours, the OP's method is much more complicated than it needs to be.
Sent from my i747 on MIUI V5
nothing
themate1987 said:
Hi everyone. I'm not sure if this was already posted. If it was then tell me so I can contact moderator and remove this thread.
Yesterday I flashed MIUI first time and while trying themes I noticed that some words are in chinese.
So I will tell you how to change your lockscreen (look at the attachments)
1. Download lockscreen theme.
2. Connent your phone to your computer
3. Open Internal SD > MIUI > theme > theme you want to edit
4. Copy file to desktop
5. Use 7-zip to extract mtz file
6. Now you can delete mtz file
7. Open your theme folder (that was extracted in step 5) and choose lockscreen file.
8. Now extract lockscreen file with 7-zip (if you can add .zip after lockscreen so it should look like lockscreen.zip)
9. Open manifest.xml with notepad++ and edit what you need. I had to change this
10. Now save manifest.xml
11. Now open lockscreen file with 7-zip (step 7) and delete file manifest.xml
12. Drag and drop edited manifest.xml to 7-zip window like this:
13. Now delete file that you extracted in step 8
14. Now select files and choose add to archive (with WinRAR) mark ZIP as archive format when prompted AND RENAME .zip TO .mtz
15. Save it and copy it to phone and install via file manager.
If you have questions post it below.
Click to expand...
Click to collapse
:crying::crying: bro i found theme folder is empty..while i have 20 themes
The lazy man’s guide to theming.
I get requests all the time to make simple changes to my themes that anyone with a computer can do. So I put together this quick guide on how to theme the easy way. This is how I do most of my themes minus any xml edits or battery mods. This guide is for changing images only without having to decompile and recompile the entire apk file with apktool or apk manager. Great for when you just want to make a few changes to your existing setup.
What you will need.
~ 7zip use Google search it’s easy to find
~ image editor Gimp is great and free you can Google it also. I use Fireworks and Photoshop depending on what I am trying to do.
~ Draw9Suite. Created by tommytomatoe/kakomalo Thread found here http://forum.xda-developers.com/showthread.php?t=1272513
Download here: http://www.4shared.com/zip/TaDGMjde/9patchPngSuite.html
Unzip and place contents in folder, I have mine on my desktop.
~ An existing rom or theme to modify.
With just these tools you can do a lot.
Once you have 7zip and 9patchPngSuite on your system you will need to download the rom, or already existing theme for the rom you are on so you can make the changes you want to it.
Download the rom/theme you want to make changes to and use 7zip to unpack the rom/theme you downloaded, do this by right clicking on the zip file and chose open with 7zip. Inside you will find lots of folders, the ones you are looking for will be in system/app (for apps) or system/framework (for framework files). Extract the apk’s by just dragging them out of the 7zip window, to a folder on your desktop.
Inside the folder you extracted the apk’s to create a folder for each apk’s you extracted. Now you will want to extract the folder drawable-hdpi from the res folder of each apk to its associated folder, do this with 7zip also the same way you extracted the apk file. Once the drawable-hdpi folders are extracted you will see the images inside that you can modify.
At this point I create another folder inside each of the specific apk folders and name it .9 images and I copy and paste all the .9 images I want to change into that folder (these are for reference). I then copy all of those images into the compiled folder of 9patchPngSuite. And chose option 1 to decompile them. Now look in the decompiled folder and you can now take those images and change anything inside the black lines and dots you will see on the outside edge. If you feel like it you can also create your own .9 file with your own image by choosing option 2, this will open up draw9patch. Maser&Slave made a great tutorial on this so I won’t go into it. Edit your images, but be careful if the image displays words on it (like with popup_center_dark.9 )and it has a dark background it should remain dark so the word will still be readable, and vice versa if the image has a light background it most likely will have a dark font displayed on it that will be difficult to read if you make the image a dark color. Once all your images are edited use option 3 to recompile them, now in the output folder you will find your recompiled images that you can put back into your drawable-hdpi folder. Edit any other images you want just be careful with the pixel size if an image is 70X70 and you make it 140X140 it could cause some problems, some you can change others you can’t, it’s a lot of trial and error. Once all edits are finished put them all back in the drawable-hdpi folder you extracted from the apk, use 7zip to open the apk again, navigate to the res folder and delete the existing drawable-hdpi folder and drop the one you made the changes to into it, use the back arrow in the 7zip window and it will zip it back up and you can push the apk or flash it to test if your images came out the way you wanted them to. This will work with any image you chose to edit. You can also use this method add images from other themes you like to modify your theme to the way you want it. Just copy and paste the images you want to change into the drawabel-hdpi folder of the theme you are creating.
Brief list of what each apk controls, I am still new to ICS so if anyone knows more info please post.
Framework-res.apk
This will contain most of the images you will want to make changes to. Including check boxes, popup windows, menus, tabs, general status bar images, some lockscreen clocks, and a lot more. You will recognize them as you scroll through them. Some are hard to recognize like activity_tite_bar.9 and dark_header.9 because they are small, it will take some practice and trial and error to get the look you want.
Twframework-res.apk
This contains very little in ICS it still controls the tab backgrounds for a lot of apps but that is all I have found so far.
Systemui.apk
This apk contains most of the files for your dropdown and status bar, like signal bars, 3g 4g icons, wifi strength icons ,dropdown background and more. in ICS it also contains the battery images.
Ik95-res.apk and lidroid-res.apk
These apks contain the toggle images and background In the dropdown i.e. wifi toggle, airplane mode toggle etc. for the 14 ad 15 toggle mods.
Here is a standard flashable zip file you can put your modified apk files in and flash with CWM, open with 7zip and put your apk file in the corresponding folder in the flashable zip if you pulled it from framework put it back in the system/framework folder, if you pulled it from app put it in system/app folder in the flashable zip. Then flash like any other theme.
Flashable zip : http://www.4shared.com/zip/cmn3J1yd/My_flash.html
included below is a word doc of this tutorial.
future additions ....
Thanks for the guide, chief!
Has someone already tested this Mod on the Xperia ZL?
http://forum.xda-developers.com/showthread.php?t=2202383
Yes it works !!!!!
Yes I installed it, tested it and can confirm it works on the Sony Xperia ZL.
First I rooted the phone using this method:
http://forum.xda-developers.com/showthread.php?t=2186368
Then I download the files to computer then to my SD Card/external storage on smartphone.
Back up all necessary file from system/app such systemui.apk, systemui.odex, taskswitcher.apk, settings.apk and settings.odex files to my sd card/external storage in case it went wrong.
Deleted the systemui.odex and settings.odex files.
Copy on files at a time for example the systemui.apk file to the system folder then changed the permission to rw-r--r-- then delete and move the the systemui.apk file to the system/app folder. I did the same for teh other files as well.
Finally reboot the smartphone and voila it should work.
Darkfunnyguy said:
Yes I installed it, tested it and can confirm it works on the Sony Xperia ZL.
First I rooted the phone using this method:
http://forum.xda-developers.com/showthread.php?t=2186368
Then I download the files to computer then to my SD Card/external storage on smartphone.
Back up all necessary file from system/app such systemui.apk, systemui.odex, taskswitcher.apk, settings.apk and settings.odex files to my sd card/external storage in case it went wrong.
Deleted the systemui.odex and settings.odex files.
Copy on files at a time for example the systemui.apk file to the system folder then changed the permission to rw-r--r-- then delete and move the the systemui.apk file to the system/app folder. I did the same for teh other files as well.
Finally reboot the smartphone and voila it should work.
Click to expand...
Click to collapse
Thank you for your explanations, because I also have the problem.
I have some questions:
1. I did not use this method to root, which for me is more complicated. Is that my problem may be here?
2. What recovery are you using?
3. can you detail me this because I do not understand:
"Copy on files at a time for example the systemui.apk file to the system folder then changed the permission to rw-r--r-- then delete and move the the systemui.apk file to the system/app folder. I did the same for teh other files as well.
In the topic, asked to remove only two files."
Thank you to you for your help
Compare to other method to rooting I looked this is by far the easiest to root without unlocking the bootloader as well. It only takes a minutes or two.
Sorry I have not used any recovery as of yet apart from android software such as backup pro or backup and restore.
When you downloaded the files from here in Zip or WinRAR format I used I extract the three files systemui.apk, taskswitcher.apk and settings.apk to your computer/laptop then connect up your Xperia ZL to the computer/laptop then copy or move these files to your Xperia ZL on your sd card.
You need to download something like android app like file manager and make sure the settings on file manager is set to root.
Now I used the file manager copy the systemui.apk to the system folder then I press on systemui.apk to press option for permission to change the permission with the with the first column all boxes ticked for read and second column only the top for owner is ticked for write, all other boxes including the third column for execute is left unticked.
Now I move the systemui.apk file to the system/app folder replacing the current systemui.apk. I used the same method for settings.apk and taskswitcher.apk files. Once you done that reboot your smartphone.
Darkfunnyguy said:
Compare to other method to rooting I looked this is by far the easiest to root without unlocking the bootloader as well. It only takes a minutes or two.
Sorry I have not used any recovery as of yet apart from android software such as backup pro or backup and restore.
When you downloaded the files from here in Zip or WinRAR format I used I extract the three files systemui.apk, taskswitcher.apk and settings.apk to your computer/laptop then connect up your Xperia ZL to the computer/laptop then copy or move these files to your Xperia ZL on your sd card.
You need to download something like android app like file manager and make sure the settings on file manager is set to root.
Now I used the file manager copy the systemui.apk to the system folder then I press on systemui.apk to press option for permission to change the permission with the with the first column all boxes ticked for read and second column only the top for owner is ticked for write, all other boxes including the third column for execute is left unticked.
Now I move the systemui.apk file to the system/app folder replacing the current systemui.apk. I used the same method for settings.apk and taskswitcher.apk files. Once you done that reboot your smartphone.
Click to expand...
Click to collapse
Thanks.
Yes, I do that and it's ok.
Look at : http://forum.xda-developers.com/showpost.php?p=40569989&postcount=443
Hello Guys i just figured out that the root explorer app has a lot of inbuilt cool features it is lot more than a file explorer it can handle archives like .zip same as winrar so i thought to use it as i use it on my pc
In this guide i will teell you how to edit an app icon using root explorer only
1) Rename the .apk to .zip like example xyz.apk to xyz.zip
2)Hold the xyz.zip and select extract
3Wait for it to extract and go to extracted file
4)It will extract all its content iin a folder open it you will see res folder open it
5)There will be many folder sartibg with drawable like drawable-idpi,drawable-hdpi...etc
6)Search for the icon image now replace the image with any image of your choice but remember to maintain same resolution and a png file format as icons are png in that android
7)Once done go back and hold the foldet and select to zip it then go to that zip folder
8)Rename the zip to apk example xyz.zip to xyz.apk and you are done
Note : The new apk made might not be installed as direct apk you might need to push it to system to make it work
i think this in general section