[T-Mobile Samsung Galaxy Note II] dwitherell:
[size=+2]

How to custom install Tweaked 2.x

[/size]

As I said, there are really three approaches to installing Tweaked 2.x:

[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 very minimal and basic set of options that harken back to the earlier days of the rom when I used a full aroma main install interface and offered a "default install" option.

When you flash the main installer zip as-is and it will give you a default setup after installation (the equivalent of the default install options in aroma) - at which point you can then reboot into recovery and flash the modificatinator (see downloads post

here

) - which is still aroma-based.

[size=+2]NOTE:[/size] For the next two approaches please be aware that the process should be redone with each new version to make sure you have access to all available options!

I keep changes to these files minimal, but changes do occur, 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]

----- BASIC -----

[/size]

This is the approach that is highlighted in the "SUPER SIMPLE SAFE APPROACH" in the first post. This approach utilizes the aroma installer, but it doesn't actually install anything. Instead, it creates and correctly places one of the files referenced in the advanced approach for you. On the surface it will appear quite similar to what you have seen from me in the past regarding aroma, but trust me nothing is being flashed (outside of one file being written to internal/external sdcard). You only need to do this once, unless you later decide you want to change your setup or you are flashing a new version of Tweaked.

Again - THIS DOES NOT FLASH TWEAKED!

[size=+1]

Basic Approach Installation Video

[/size]

Thanks to

Warrior1975

there is now a video that walks through the basic install approach. Make sure to thank him - this is very much appreciated!!

[size=+1]

CLICK HERE FOR THE VIDEO

https://www.youtube.com/watch?v=Z-ah0L0Ab3w

https://www.youtube.com/watch?v=Z-ah0L0Ab3w[/size]

[size=+2]

----- ADVANCED -----

[/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 Tweaked.2.x.AdvancedInstallInfo.zip file

---

[size=+1]

HOW TO CUSTOM INSTALL USING ADVANCED APPROACH:

[/size]

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)

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

2) Extract the TweakedInstall folder

---- Inside are three files - the main one of interest is install.prop

3) Open install.prop and read the instructions

---- it is on this file you select options

---- this is similar in idea to how it was done in aroma

---- 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 (see Tweaked OP for more info on this)

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 main installer zip :)

[size=+1]

TAKE HOME

:[/size]

The edited text file(s) 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 originally set it up with no more extra effort!

---

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 advanced approach. That being said there is one more point I want to elaborate on that goes beyond those included instructions, and it is relevant for users of both the Basic and Advanced approaches.

Want to remove things in the "base" rom

[size=+1]NOTE[/size]: THIS IS COMPLETELY OPTIONAL

There are certain apks that I have kept included as unalterable-by-custom-installation-options. For those that are comfortable and (hopefully) knowledgeable, there is now a way to quickly and easily "debloat" the rom at the time of installation beyond what I have done as a "base" or default. It requires using the applist file in combination with information on what is standard included from the baseappslist.txt file - both of which can be found in the Tweaked.2.0.AdvancedInstallInfo.zip file. It is this applist file that is being vaguely referred to in step 4 of the advanced approach instructions.

- The baseappslist.txt lists out the apk name of every apk that I include as part of the "base" of Tweaked. If after scouring the list you end up finding one or a few apks that you don't want as part of your install, copy the apk name(s) EXACTLY from the baseappslist.txt file and paste/transfer that information in to the applist file - ONE APK NAME PER LINE. This applist file needs to go in the same directory as your edited install.prop file - i.e. the TweakedInstall directory that is at the root of your int/ext sdcard. For the more visual in the crowd, here is an example of what the applist file should look like:

SomeApkName.apk
AnotherApkName.apk
YetAnother.apk

- In order for this applist to be read by the installer, one last step has to be completed within the install.prop. There is an entry called dangertweaks that is default set to =0. If you want applist to be read (i.e. you want to remove the apks that are listed in applist), you need to set dangertweaks=1. For users of the basic approach, there is a similarly named option you can select within aroma (it's the one labeled as DANGEROUS).

- You should note the variable name I use there - dangertweaks. That's because this CAN ROYALLY SCREW UP YOUR PHONE!! This is an extra option for those that know a thing or two about what can and can't be excluded from a rom/system - this is NOT a beginners tool! USE THIS AT YOUR OWN RISK!!