[AT&T Galaxy Note 3 Android Development] dwitherell:
[size=+2]

How to custom install Tweaked

[/size]

As I said, there are really two approaches to installing Tweaked:

[size=+2]

----- DEFAULT -----

[/size]

This is the approach used when one of two things has happened:

- 1) There was no preparation done or found as far as selecting options (i.e. no install.prop found where it should be on internal/external sdcard)

- 2) You are flashing an updated version of the main installer and failed to update your install.prop. Note that in this case your original install.prop can still be found, it just has a .bak added to the end of the file name.

This approach installs a set of default options that is slightly bloated but apparently covers all bases in terms of functionality.

When you flash the main installer zip as-is and it gives you a default setup after installation - you can opt to set up and flash the modificatinator (see downloads post

here

) - see the Modificatinator instructions below to learn how to set this up.

[size=+2]NOTE:[/size] For the custom approach please be aware that the process will likely need to be redone with new versions to make sure you have access to all available options!

I will try to keep changes to these files minimal, but changes are inevitable, so make sure to stay up-to-date with the version you are flashing, as otherise you will likely get the default install!

[size=+2]ALSO -[/size] with these approaches you can place the TweakedInstall directory on either the internal or external sdcard. That being said, in general if you have a TweakedInstall directory on BOTH your external AND internal sdcard, the files in the external sdcard directory will be chosen over those in the internal sdcard directory. Furthermore - it is VERY important that you DO NOT RENAME ANY OF THE FILES OR THE DIRECTORY! If you do you will likely get a default install when flashing the main installer (not the worst thing, but still).

[size=+2]

----- CUSTOM -----

[/size]

This approach requires changes you will have to do, and therefore needs a little reading and preparing ahead of time. In order to help things along, I've put together a zip file (see downloads post

here

) with instructions and needed files - make sure to read the... well, the README! The contents of that readme file are below:

---

From the READMEFIRST-INSTRUCTIONS.txt in the InstallInfoATT.zip file

---

#################################

#

HOW TO CUSTOM INSTALL ON ATT

: #

#################################

### NOTE: THE INSTALL.PROP EDITING DESCRIBED HERE ###

### NEEDS TO BE COMPLETED PRIOR TO FLASHING THE ROM! ###

1) Decide if you will be editing text files on the computer or the phone

- regardless of where you do this, the result must go in a specific directory on your internal/external sdcard (see below)

- if you use a computer to edit, make sure it uses the Unix-style end-of-line character (you can use Notepad++ on a PC)

- Not all text editors work as you need them to if doing this on the phone - I have only tried it using the built-in text editor in Root Explorer

######## THIS IS VERY IMPORTANT AND A SOURCE FOR SIMPLE MISTAKES - YOU HAVE BEEN WARNED! ########

2) Extract the TweakedInstall folder (either on PC or extract it to the ROOT of your sdcard - internal OR external)

- Inside are five files - the main one of interest for installing is install.prop

3) Open install.prop using a text editor and read the instructions

- it is on this file you select options

- this is similar in idea to how aroma works

- ALL you are doing with this is changing the numbers that come after the = signs

- DON'T CHANGE ANYTHING ELSE! ONLY NUMBERS!

- Follow the instructions for what each number means for each choice

4) Complete any other OPTIONAL file edits per how you want to install

OPTIONS INCLUDE (these are for the more advanced users around - THEY ARE NOT NEEDED AND CAN BE IGNORED):

- If you opted to further debloat beyond available options and have set dangertweak to = 1

- edit the applist file with the apk name that you want removed

- ONE APK PER LINE

- see baseapplist.txt for a list of apk names that are included on /system as "default"

- If you opted to keep some pre-existing system files and have set savelist to = 1

- edit the savelist file with the full path to the file you want saved

- so for example if you wanted to save a script file called 02ForExample that was in the init.d folder, you would enter

/system/etc/init.d/02ForExample

into the savelist file

- ONE PATH PER LINE

5) Make sure the directory along with your newly-edited files are moved to your sdcard if not already

### IMPORTANT: THIS DIRECTORY HAS TO BE AT THE ROOT OF YOUR SDCARD (INTERNAL OR EXTERNAL)!! ###

### IMPORTANT: THE NAME OF THIS DIRECTORY MUST NOT CHANGE!! ###

### IMPORTANT: YOU ARE DOING THIS AT YOUR OWN RISK!! ###

6) Boot into recovery and flash the Tweaked rom zip :)

TAKE HOME:

The edited install.prop file (and optional ones related to it) being kept in the TweakedInstall directory on your sdcard will make it so you won't need to do any choosing the next time you want to flash the main installer. You can always come back to or reflash Tweaked exactly how you have set it up with no extra effort!

######################################

#

HOW TO USE MODIFICATINATOR ON ATT

: #

######################################

### NOTE: THE MODIFY.PROP EDITING DESCRIBED HERE IS ###

### TO BE DONE WHEN WANTING TO MAKE CHANGES AFTER ###

### THE ROM HAS BEEN INSTALLED! THE EDITS NEEDS TO BE ###

### COMPLETED PRIOR TO FLASHING THE MODIFICATINATOR! ###

Ok, let's say you've installed the rom and made a few custom selections, or regret not making some in hindsight. You can - without reflashing the entire rom - just go through and install/uninstall the particular thing you want to change using the modificatinator zip. BUT - it also requires you to do edits SIMILAR (but NOT IDENTICAL) to those you made to the install.prop, however in this case you will be using the modify.prop file. If you followed the above instructions for preparing a custom install, the modify.prop will be in the same directory as your install.prop.

1) Decide if you will be editing the modify.prop on the computer or the phone

- regardless of where you do this, the result must go in the same specific directory on your internal/external sdcard that the other files mentioned above are in

- if you use a computer to edit, make sure it uses the Unix-style end-of-line character (you can use Notepad++ on a PC)

- Not all text editors work as you need them to if doing this on the phone - I have only tried it using the built-in text editor in Root Explorer

2) Open modify.prop using a text editor and read the instructions

- it is on this file you select options

- this is similar in idea to how aroma works

- ALL you are doing with this is changing the numbers that come after the = signs

- DON'T CHANGE ANYTHING ELSE! ONLY NUMBERS!

- Follow the instructions for what each number means for each choice. PAY ATTENTION TO WHAT THE NUMBERS MEAN!

4) Move the edited modify.prop to the proper directory (same one the install.prop is in) if not already

### IMPORTANT: THIS DIRECTORY HAS TO BE AT THE ROOT OF YOUR SDCARD (INTERNAL OR EXTERNAL)!! ###

### IMPORTANT: THE NAME OF THIS DIRECTORY MUST NOT CHANGE!! ###

### IMPORTANT: YOU ARE DOING THIS AT YOUR OWN RISK!! ###

6) Boot into recovery and flash the modificatinator zip :)

TAKE HOME:

The edited modify.prop being kept in the TweakedInstall directory on your sdcard will need to be edited every time you want to use the modificatinator zip.

### WHEN EDITING TO MAKE A SELECTION MAKE SURE THAT ANY OPTIONS YOU HAD PREVIOUSLY SELECTED HAVE BEEN EDITED BACK TO "NO CHANGE" VALUES AS WELL!!! ###

---

End READMEFIRST-INSTRUCTIONS.txt

-

The hope is that these instructions are as simple but as thorough as possible for those wanting to embark on the custom approach.