The Team Lambent Corrosion member presents:
UpdatezipCreator
Some of you remember my old app UpdateThemeCreator. I've found some time to build a new app that can create updates (as zip archive flashable via recovery).
Changes/Improvements since the last version of ThemeUpdateCreator:
-new interface
-adding files to other folders than system/framework and system/app
-new algorythms
-editing update-script (saving, loading, making default etc)
-saving settings
I hope that app will work without any bugs
Changelog:
1.0.0.1
-adding update-binary to edify scripts (possibility of choosing own update-binary)
-added default scripts for edify scripts
-settings not stored in my documents
1.0.0.2
-Adding folders
-Drag&Drop
-Signing single zip archive
1.0.0.3
-Fixed bug with the wrong name of edify scripts
1.0.0.4
-Not signed archive is kept in temporary directory
-Functions library (inserting functions)
1.0.0.5
-Problem with update_ont_signed path solved (I hope so)
1.0.0.6
-Log mode
1.0.0.7
-Signing bug fixed
1.0.0.8
-Handling linux newline character in scripts
DOWNLOAD:
Rar archive - about 500 kb
Source code - about 1,3 MB - Visual Studio C#
Windows installer (source included) - about 830 kb
I'll use it tomorow for my theme
Sent from my GT-I5800 using CM 6.2 Cyanbread themed
Looks cool
Maybe you can add an option to switch between amend (all cwm versions before 3.x - what we currently use ) and edify (3.x + - like in cm7 and apollo's dual/tri boot kernel)
Then it'ld be universal
Thank you.
cdesai said:
Looks cool
Maybe you can add an option to switch between amend (all cwm versions before 3.x - what we currently use ) and edify (3.x + - like in cm7 and apollo's dual/tri boot kernel)
Then it'ld be universal
Click to expand...
Click to collapse
Yeah, it's already done
Waiting for a permission for use update-binary.
I haven't made phone databes for mounting points, I think that everyone who will be using edify scripts will change it manually in script-editor.
benzyniarz1 said:
Yeah, it's already done
Waiting for a permission for use update-binary.
I haven't made phone databes for mounting points, I think that everyone who will be using edify scripts will change it manually in script-editor.
Click to expand...
Click to collapse
I replied to your email... (same link as the email contained)
Also if you'd like to utilize the database xml from my amend2edify project, feel free to (someone is already using it in a market app).
Your tool looks nice and simple, I've considered doing something similar in the past, never got around to doing it, and now looks like I don't have to. Good work.
Also, maybe this could be moved to a more general section, as it's not restricted to Galaxy 3 devices. (Suggestion, you could add in zip signing to better support more devices.)
=]
nubecoder said:
I replied to your email... (same link as the email contained)
Also if you'd like to utilize the database xml from my amend2edify project, feel free to (someone is already using it in a market app).
Your tool looks nice and simple, I've considered doing something similar in the past, never got around to doing it, and now looks like I don't have to. Good work.
Also, maybe this could be moved to a more general section, as it's not restricted to Galaxy 3 devices. (Suggestion, you could add in zip signing to better support more devices.)
=]
Click to expand...
Click to collapse
Thanks a lot!
Zip signing is available and it's executed automatically (unless JRE is not available)
I'll post the thread in General Android Development and try to impelement your PhoneDatabase
So, app updated. Changes:
-adding update-binary to edify scripts (possibility of choosing own update-binary)
-added default scripts for edify scripts
-settings not stored in my documents
Thanks so much
Ability to sign already made update.zips(with some other tool or manually) would be nice!
EDIT:
Just tried it with folders and it wont work
aka
i can manually add all files and add path(bt tat'ld be a pain)
So how about selecting whole folders?
Drag and drop would be a nice option!
Version 1.0.0.2, changelog:
-Adding folders
-Drag&Drop
-Signing single zip archive
benzyniarz1 said:
Version 1.0.0.2, changelog:
-Adding folders
-Drag&Drop
-Signing single zip archive
Click to expand...
Click to collapse
Very nice (and fast) improvements.
I'll be sure to test this on Ubuntu under Mono sometime and lat ya know how it goes.
=]
Nice app ......nice share
nubecoder said:
Very nice (and fast) improvements.
I'll be sure to test this on Ubuntu under Mono sometime and lat ya know how it goes.
=]
Click to expand...
Click to collapse
It'd be nice, but I think that there are some changes in code neccessary.. the main: replacing executting "cmd.exe" to "adb", in ProccesStartInfo variables, so also parameteres are need to be changed (it's necessay to remove "adb" from parameters). I will probably install Linux in a few weeks on the virtual machine, so I'll have the environment to testing the code.
In the meantime, new version - fixed the wrong name of update-script for edify (changed to "updater-script" for edify, and left "update-script" for amend)
benzyniarz1 said:
In the meantime, new version - fixed the wrong name of update-script for edify (changed to "updater-script" for edify, and left "update-script" for amend)
Click to expand...
Click to collapse
aah, good update
benzyniarz1 said:
It'd be nice, but I think that there are some changes in code neccessary.. the main: replacing executting "cmd.exe" to "adb", in ProccesStartInfo variables, so also parameteres are need to be changed (it's necessay to remove "adb" from parameters). I will probably install Linux in a few weeks on the virtual machine, so I'll have the environment to testing the code.
Click to expand...
Click to collapse
What are you using adb for this app? It's just flash-able zip creation correct?
I can't think of a reason you would need to use adb for this (or how adb would be useful for this other than pushing to the phone's SD card).
Just curious, I haven't bothered to look at the sources.
=]
nubecoder said:
What are you using adb for this app? It's just flash-able zip creation correct?
I can't think of a reason you would need to use adb for this (or how adb would be useful for this other than pushing to the phone's SD card).
Just curious, I haven't bothered to look at the sources.
=]
Click to expand...
Click to collapse
ADB is used only for pushing created file to SD card, nothing more.
thanx a lot..... it helped me very much and saved me from full rom flash.....
Updated to new version. Changelong in the 1st post. Enjoy
awesome!thnx a lot!!! its really easy
edit:not tha easy as i thought can someone tell me the script i need to use to copy and maybe replace system apps?
edit1:figured it out
Hi everyone, I'm here to teach you guys on how to change the text "Swipe up or down to unlock" on Xperia Z lock screen. Since I saw some request on it.
Preparation:
*Framework Toolkit by Themike10452 http://forum.xda-developers.com/showthread.php?p=36085941 (at B section, only the toolkit) (from now on will call toolkit)
*Notepad++ http://notepad-plus-plus.org/ (under download tab)
*Java Development Kit http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html (choose the one compatible with your os) (install it before you open toolkit)
*Latest apktool (both apktool and and it's dependencies) http://code.google.com/p/android-apktool/downloads/list (use dependencies for windows if you are on windows)
*7zip File Manager http://www.7-zip.org/
{ above all software are essentials for one to mod any apk files and frameworks. }
*UxpNxtLockScreen.apk (extract from ROM either from phone memory using root file explorer or from flashable ROM zip (at system/app)
*A thinking Brain
**Framework Toolkit by Themike10452 http://d-h.st/Pkb (this is the version that I'm using to mod apk and framework (it mean it is working, for me), use it if your toolkit is not working, only for windows os only) (I have no idea am I allowed to share this tool or not, since i didn't get permission from Themike10452 yet, request sent but no reply at all at the moment, I will put this down if Themike10452 request so)
Click to expand...
Click to collapse
Instructions/Guide:
§ 1st, extract Framework Toolkit by Themike10452 and put it aside on any where of your comp (preferable desktop).
§ 2nd, extract apktool files with 7 zip. Yes, open the bz2 files you had download just now, you will see a tar file within, open it again, then you will see a folder, for apktool, you will see a file jar file ; for dependencies, you will see 2 files exe and bat each, copy them and replace the same file in toolkit folder (inside the "other" folder", just override the old files).
§ place UxpNxtLockScreen.apk in "place-apk-here-for-modding" within toolkit folder.
§ run "Apk-Multi-Tool.bat" as admin. Press any keys to continue after the "Multi Tool Screen" appear. It will lead you to a screen with multiple options shown with numbers in front of them.
§ check: at top right corner, "Current-App" should follow with "UxpNxtLockScreen.apk"(if no, please recheck whether if the file you put is in correct place or not and you shouldn't have more than 1 apk in that folder to start modding or theming), then press "9" and enter to decompile apk. Once it's done, minimize the toolkit, you will use it later, now go to root folder of toolkit, within projects folder you will see a folder named "UxpNxtLockScreen.apk".
(from 1st instruction until here is the general decompiling apk process, it should works on all apks unless the apk have extraordinary resources that can't be decoded by apktool by other toolkit, maybe? and the following instructions will be called "modding" *yes, you are now starting to mod a/an apk file now )
§ navigate to /projects/UxpNxtLockScreen.apk/res/values/ and you will see 11 xml files. Open strings.xml with Notepad++.
§ find the line with this name "lockscreen_unlock_hint", use Ctrl + F if you can't find them.
eg:<string name="lockscreen_unlock_hint">Swipe up or down to unlock</string>
§ change the sentence after " > " and before " </string> " with the sentence you desire and save the file (Ctrl + S)
§ Back to Apk Multi Tool, press " 21 " > enter > " 0 " > enter. ( This is to set compression level to 0. I'm not sure if it works with Compression level at 9) then " 11 " and enter to recompile the apk. A while later. screen will pause and show a message end with < y / n >:
2 options here:
# To be safe, press " y " and enter then wait for it to extract source from original apk, navigate to keep folder, delete a file named "resources.arsc" and back to apk multi tool and press any buttons to continues. (this is to keep the original sources at new modified apk to reduce error and maintain its compatibilities to the ROM.)
# Another is " n ", just press n and enter, and done. (i wont give 100% working in this way, do it on your own risk)
§ You will then get a file named "System_UxpNxtLockScreen.apk", move or copy it into your SD, rename to "UxpNxtLockScreen.apk", and replace it with correct permission ( R W - R - - R - - ).
Click to expand...
Click to collapse
# To change the number of times unlock to remove the unlock tips (unlock untill a certain times to remove the unlock tips), navigate to /projects/UxpNxtLockScreen.apk/res/values/ and open intergers.xml with note++, and find the following lines "unlocks_before_hint_removal"
eg: <integer name="unlocks_before_hint_removal">100</integer>
change the number value to number of times you desire and save the file, then recompile the apk.
Click to expand...
Click to collapse
Extra
You may use the apktool provided by stanlin salu from his tutorial of decompile/recompile apk. About decompile and recompile apk, follow his tutorial, just edit those files according to my instructions/guide. This thread is actually only providing the information about which file and which line to be edited to change the unlock tips and unlock times before remove tips.
{stanlin salu's apk decompile and recompile tutorial and apktool download------------> http://forum.xda-developers.com/showthread.php?t=2011337
CAUTION!
§ Please check both of your apk file by opening them with 7 zip file manager, compare both apk for their content(should be total of 3 files and 2 folders), all the files and folders within should have the same size except "resource.arsc" *unless you modified some other pictures, then check the number of files contained in the folder, the number of files must be the same. If "META-INF" is different, please copy the folder from original apk to modded apk and override them. None of those files (classes.dex, AndroidManifest.xml, META-INF...) can be 0kb (I think only odexed framework will get 0kb, deodexed framework will not get 0kb)
§ If you replaced any picture in drawable folders, please make sure that the picture have same file name with the original picture. And during recompile process, please delete the same picture file of the same name that you modified at keep folder if you choose < y > at the pause.
Miscellaneous:
§ If you seriously having problem to recompile or modding, you may upload UxpNxtLockScreen.apk or yours to me for modding and I will upload to you once I get it done.
§ Please give me some time to mod for you since I'm just a Pre-University Student who studied 12 hours a day and also spending my time with my family and friends as well. I'm doing all these as a part of my interest and my own free will. :angel:
Credits:
Themike10452 for the apk multi tool and his great tutorial there.
stanlin salu for his apk decompile and recompile tutorial (even though i didn't learnt to decompile apk from his tutorial, but something extra from his tutorial)
*I will take no responsibilities if your phone is bricked because of using any mod from this thread. Everything is done on your own risk. So please don't point your finger at me if anything goes wrong, or I will LMAO. You should have know the forum's rules, you are the one who chose to use this mod at your own decision, I do not use a gun point at you to use it
Please click the "Thanks" button if this mod helped you and of course those who are in credits for their effort
I´ll try and try but don´t works for me, I follow the steps. maybe i´ts a pc or sofware problem.
Re: [TUT] How to change "swipe up or down to unlock" for Xperia Z lockscreen
I think this should go in Theming section maybe if I'm not mistaken
But still nice work
Sent from my Xperia Neo V using xda premium
Ghostfreak NB said:
I think this should go in Theming section maybe if I'm not mistaken
But still nice work
Sent from my Xperia Neo V using xda premium
Click to expand...
Click to collapse
sorry about that, maybe i should request moderator to move this thread later
Re: [TUT] How to change "swipe up or down to unlock" for Xperia Z lockscreen
jordiluna said:
I´ll try and try but don´t works for me, I follow the steps. maybe i´ts a pc or sofware problem.
Click to expand...
Click to collapse
What kind of problem is it? Can you give more detailed info for me to sort it out? Best with screen shot of the toolkit.
Sent from my MT15i using xda app-developers app
Re: [TUT] How to change "swipe up or down to unlock" for Xperia Z lockscreen
xange said:
Hi everyone, I'm here to teach you guys on how to change the text "Swipe up or down to unlock" on Xperia Z lock screen. Since I saw some request on it.
Preparation:
*Framework Toolkit by Themike10452 http://forum.xda-developers.com/showthread.php?p=36085941 (at B section, only the toolkit) (from now on will call toolkit)
*Notepad++ http://notepad-plus-plus.org/ (under download tab)
*Java Development Kit http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html (choose the one compatible with your os) (install it before you open toolkit)
*Latest apktool (both apktool and and it's dependencies) http://code.google.com/p/android-apktool/downloads/list (use dependencies for windows if you are on windows)
*7zip File Manager http://www.7-zip.org/
{ above all software are essentials for one to mod any apk files and frameworks. }
*UxpNxtLockScreen.apk (extract from ROM either from phone memory using root file explorer or from flashable ROM zip (at system/app)
*A thinking Brain
§ 1st, extract Framework Toolkit by Themike10452 and put it aside on anyway of your comp (preferable desktop).
§ 2nd, extract apktool files with 7 zip. Yes, open the bz2 files you had download just now, you will see a tar file within, open it again, then you will see a folder, for apktool, you will see a file jar file ; for dependencies, you will see 2 files exe and bat each, copy them and replace the same file in toolkit folder (inside the "other" folder", just override the old files).
§ place UxpNxtLockScreen.apk in "place-apk-here-for-modding" within toolkit folder.
§ run "Apk-Multi-Tool.bat" as admin. Press any keys to continue after the "Multi Tool Screen" appear. It will lead you to a screen with multiple options shown with numbers in front of them.
§ press "9" and enter to decompile apk. Once its done, go to root folder of toolkit, within projects folder you will see a folder named "UxpNxtLockScreen.apk". and minimize the window, you will use it later.
§ navigate to /projects/UxpNxtLockScreen.apk/res/values/ and you will see 11 xml files. Open strings.xml with Notepad++.
§ find the line with this name "lockscreen_unlock_hint", use Ctrl + F if you can't find them.
eg:<string name="lockscreen_unlock_hint">Swipe up or down to unlock</string>
§ change the sentence after " > " and before " </string> " with the sentence you desire and save the file (Ctrl + S)
§ Back to Apk Multi Tool, press " 21 " > enter > " 0 " > enter. ( This is to set compression level to 0. I'm not sure if it works with Compression level at 9) then " 11 " and enter to recompile the apk. A while later. screen will pause and show a message end with < y / n >:
2 options here:
# To be safe, press " y " and enter then wait for it to extract source from original apk, navigate to keep folder, delete a file named "resources.arsc" and back to apk multi tool and press any buttons to continues. (this is to keep the original sources at new modified apk to reduce error and maintain its compatibilities to the ROM.)
# Another is " n ", just press n and enter, and done. (i wont give 100% working in this way, do it on your own risk)
§ You will then get a file named "System_UxpNxtLockScreen.apk", move or copy it into your SD, rename to "UxpNxtLockScreen.apk", and replace it with correct permission ( R W - R - - R - - ).
Credits:
Themike10452 for the apk multi tool and his great tutorial there.
Click to expand...
Click to collapse
Nice explanation for new learners...
I knew this but I thanked you because there was no post like this when I started theming.....
Cheers
---------- Post added at 04:30 PM ---------- Previous post was at 04:24 PM ----------
jordiluna said:
I´ll try and try but don´t works for me, I follow the steps. maybe i´ts a pc or sofware problem.
Click to expand...
Click to collapse
U should tell at which step u were struck whether it compiled and decompiled without errors
Sorry for the delay, I always compiled with errors, with this programe and with other versions of apktool. So I say it is software problem, something missing in my computer, I never could decompiled and compiled any apk.Whit this tutorial and others. This tutorial is great, and no doubt it will work.:good:
jordiluna said:
Sorry for the delay, I always compiled with errors, with this programe and with other versions of apktool. So I say it is software problem, something missing in my computer, I never could decompiled and compiled any apk.Whit this tutorial and others. This tutorial is great, and no doubt it will work.:good:
Click to expand...
Click to collapse
did you install the Java and restart your comp? the apktool require Java Development Environment(JDE) to run it. JDE download is on 1st post. and you must choose the correct version, for instance like me, i'm using windows 7 ultimate x64, so i installed windows x64 bits version. since you said u tried different version of apktool and its not working, you must have either java problem, or you did not running it as administrator.
Re: (Moderator plz move this to theme section) [TUT] Xperia Z change unlock screen ti
I download the java file, and restart, but run as administrator......., I'll try
send from my mind, without phone.
Re: [Tutorial] Xperia Z Lockscreen - change unlock screen tips
jordiluna said:
I download the java file, and restart, but run as administrator......., I'll try
send from my mind, without phone.
Click to expand...
Click to collapse
Try it friend and tell here...
If it still does nor work for u I will upload my apktool which I think will work 100%
I´ll try, ..... this is the apk, some png´s are modified by me. But something´s strange, classes.dex 0 kb, androidmanifest 0kb.In meta inf all three files 0 kb View attachment System_UxpNxtLockScreen2neon.apk
Is this normal?
And a lot of thanks for your time...:good:
jordiluna said:
I´ll try, ..... this is the apk, some png´s are modified by me. But something´s strange, classes.dex 0 kb, androidmanifest 0kb.In meta inf all three files 0 kb View attachment 1760764
Is this normal?
And a lot of thanks for your time...:good:
Click to expand...
Click to collapse
it souldn't be 0kb.... that dex file is what dalvik cache used to store. i upload mine apktool, you try and see if is it still the same or not......, you are running which os by the way?
would you mind to send me your original file as well?
Re: [Tutorial] Xperia Z Lockscreen - change unlock screen tips
I'm on windows vista. I'll send the original file this afternoon. Thanks
send from my mind, without phone.
Re: [Tutorial] Xperia Z Lockscreen - change unlock screen tips
jordiluna said:
I'm on windows vista. I'll send the original file this afternoon. Thanks
send from my mind, without phone.
Click to expand...
Click to collapse
I have a exam tomorrow after that I will surely solve it problem and by that time u will upload the original file
And till then just tell are u installing framework via apktool as uxpnxt is a framework dependent files
The original file......View attachment UxpNxtLockScreen4elements.apk
salsreloded said:
I have a exam tomorrow after that I will surely solve it problem and by that time u will upload the original file
And till then just tell are u installing framework via apktool as uxpnxt is a framework dependent files
Click to expand...
Click to collapse
I already uploaded a working version that i'm using......
jordiluna, you try it see if it works or not. and, after recompile, please recompare the modded apk and original apk, the 3 files must have same file size, choose < y > during recompile, just delete the resources.arsc only. leave other untouched files and pictures there to be rewrite to the new modded apk.
I downloaded apktool and I put the original file and.......recompile without errors!!! all files are well. but :crying: The word that I edit in strings, I put just UNLOCK, don´t shows in the lockscreen. I redownloaded notepad too, and nothing.:silly::silly::silly:
Please mod this file for me. I just only need this word- UNLOCK. And thanks for your time, a lot of thanks.
View attachment UxpNxtLockScreen.apk
Re: [Tutorial] Xperia Z Lockscreen - change unlock screen tips
jordiluna said:
I downloaded apktool and I put the original file and.......recompile without errors!!! all files are well. but :crying: The word that I edit in strings, I put just UNLOCK, don´t shows in the lockscreen. I redownloaded notepad too, and nothing.:silly::silly::silly:
Please mod this file for me. I just only need this word- UNLOCK. And thanks for your time, a lot of thanks.
View attachment 1765456
Click to expand...
Click to collapse
Apk is downloaded to my phone now, I will mod it and post to you once I done it tomorrow afternoon (+8 here) after I back from school.
Sent from my MT15i using xda app-developers app
Take your time, don´t hurry. And thanks.
jordiluna said:
Take your time, don´t hurry. And thanks.
Click to expand...
Click to collapse
Well, I gave you 2 versions. one is tips with "Unlock" as you requested, another one is "jordiluna @ XDA-Developers".
just rename anyone of those to UxpNxtLockScreen.apk and replace the old one with correct permission ( R W - R - - R - - ). correct permission 1st before replace. and reboot. hope you will like it
Hi,
when I download ZC 6.0_Rejuvenated http://forum.xda-developers.com/showthread.php?t=2155803, Avast in my computer (and 11 other AV on virustotal.com) reports virus in ROM (Android:SMSSend-PX[Trj] in NavBar.apk). Can I download anywhere the ROM without a virus? Do you have same problem?
Last update was in 2014-03-12. Can I expect that there is any new version corrected vulnerabilities?
@michal.652
I think it's a false positive. However ,thats the last and final version. Saqib Nazm no longer develops for MDPI.
@karandpr
Is there any possibility * .zip file to edit and remove NavBar.apk of ROM? I tried ROM unzip, delete untrustworthy (insecure) apk, packed into a zip and install but the installation is corrupted (Error: Installation aborted.) Replace * .apk another file with the same name also did not help. Finally I watched in the META-INF\MANIFEST.MF there is SHA1 for folder system\app, where is NavBar.apk. Can I create new SHA1 for folder system\app without NavBar.apk? How? I tried create the SHA1 for folder using Total Commander but it creates SHA1 only for files, not folder.
michal.652 said:
@karandpr
Is there any possibility * .zip file to edit and remove NavBar.apk of ROM? I tried ROM unzip, delete untrustworthy (insecure) apk, packed into a zip and install but the installation is corrupted (Error: Installation aborted.) Replace * .apk another file with the same name also did not help. Finally I watched in the META-INF\MANIFEST.MF there is SHA1 for folder system\app, where is NavBar.apk. Can I create new SHA1 for folder system\app without NavBar.apk? How? I tried create the SHA1 for folder using Total Commander but it creates SHA1 only for files, not folder.
Click to expand...
Click to collapse
In Windows use 7zip archiver.
Open the archive
Delete the file in the archive
and you are good to go.
SHA1 has no effect since that checksum is not verified in recovery.
Perfect, it's working! Thank you very much!
I tried unzip (with 7zip), deleted the file and zipped again. But not occurred to me to delete a file in the zipped file. I am in installation so I'm going to finish. I hope that now it be without problem.
Almost without problem. ANT+ doesn't working. :crying: ANT+ Heart rate belt working with another mobile. I have everything what I need: ANT Radio Service (4.14.0), ANT+ Plugins Service. In this Xperia with official GB 2.3.4 and official ICS ANT+ working perfect. Can I find out if the service is running? For example in terminal? Any advice or a solution?
Edit:
I try this: ANT+ fix and ANT+ works.
I'm testing clear voice during the call - the other side heard me fitfully/jerkily (=not cleanly, I don't know how I can say it. )