Quote:

Originally Posted by

Ladies and Gentlemen I present to you the



kn0x0ut Toolbox v1.03!

(notice the 0x0 reference! hehe)



This script allows you to install custom roms, and mods that you would normally have to flash with custom recovery.

,

But as we all know, if you want to keep knox warranty void at 0x0 you cannot use a custom recovery or kernel.



If your knox warranty is already void aka 0x1 then you can still use this tool but it wont bring back the warranty...



---



This kn0x0ut toolbox itself requires root! You will have to use "Root de la vega" or some other method to get rooted while keeping your warranty intact.



---



How to use:



Extract the download from below to your internal or external sd card.



Then browse into that directory with terminal or adb shell and type:





Code: sh kn0x0ut.sh

Code: sh kn0x0ut.sh help

Code: sh kn0x0ut.sh install

Code: sh kn0x0ut.sh new_rom

Code: sh kn0x0ut.sh new_rom all_addons

This is only version 1.03 - I got more ideas to integrate but I dont wanted to hold things back any longer...



A word of warning though:



This is made for lazy people (like myself) and not for dumb people! (aka: its made to save time and ease up things and should be used with caution to not mess up things)

(for example: dont clean_base or use new_rom without actually installing a new rom or you will most likely end up without system apps and device not booting correctly - like you wouldnt wipe system in a custom recovery without installing a rom...).



It can be used over adb or terminal, but if you install a rom (clean_base) the system ui gets stopped, so better do it over adb!



It basically does the steps I described in my guide to install custom roms on knox firmware in a script, plus some other nice little timesavers.



Dont worry about error messages that say files dont exist or that they already exist! (thats normal)



Feel free to check out the source code and suggest improvements or enhancements like new mods to integrate.

orand you will get all the commands supported currently.---or(this is the command to install a new rom basically, meaning: backup and clean base, clean dalvik, install rom, reboot)or if you want to install a rom with all the mods currently available:NOTE: The install script looks inside the extract_files_here folder for data and/or system folders to be copied over to the system or data folder on your device respectively.All other folders it finds will get "ignored" (they will be copied to a folder "not_installed" which is created if the script finds incompatible folders or files). After the seperationof the data and system folder from the unsupported ones, some dangerous libs which cannot be copied while the system runs will get removed from the temporary installationfolder so to ensure that there is no crash during the copy process. Once these files are removed the safe files get copied to your system and the permissions get fixed withmy permission fixing script.The files that have been installed will get moved into a subfolder called "installed" and into another subfolder with the date and time of the installation.The files that could not be installed by the script in the first run get moved to "not_installed".These files could still become installed if you copy or move them over to the extract_files_here folder again for a second run. But remember that a data and/or a system folder is expected by the script inside the extract_files_here folder - so you have to make sure the structure is alright if you do things like this.---Example:X-Note has the following folders when extracted:META-INF, data, system, xnote.The data and system folder will get installed, while the metainf and xnote folder wont. Inside the xnote folder you will find stuff that would normally be installed by aroma through user choice.If you look inside there at the acid mod folder for example, there will be a system folder. To install this mod with kn0x0ut in a second run, you would have to move that system folder backto the extract_files_here folder and then run the install command again. Only things inside data or system folder will ever be installed. And even then you gotta make sure the folder structure isas on the system or data partition itself. (so apks need to be inside ..../kn0x0ut/extract_files_here/data/app or ..../kn0x0ut/extract_files_here/system/app to be moved to the right folder, etc...you get it. (if not you should not use it for stuff like that)---