[Galaxy Note II Q&A, Help & Troubleshooting] Robobob1221:
Make factoryfs

Is anybody running a linux machine or partition??

I've been checking out the make factory sf repository over on github and I noticed that the file I used previously was missing a lot of the resources, more precisely everything that was required to add root to the system image.

If so could someone help me with this as currently I'm having problems with my virtual machine. It should be a pretty simple process to set up and run.

You'll need to download the zip below and extract it, and then place the system.img.ext4 and cache.img in the same directory, which can be extracted from the firmware .tar. Once you done all that run the make_factorysf.sh from a terminal and it should run and compile a rooted system.

Check below for a translated README file

ROM su *** factoryfs.img containing genuine script generation rev2 *** (system.img.ext4)
Modded and ma34s modded flame

This one. What is this?

It is a tool to generate and re-su to put something (system.img.ext4) factoryfs.img of genuine ROM.
You can also resize (system.img.ext4) factoryfs.img of ROM overseas.

What you need 2. What is it?

(Has been tested in Ubuntu12.04 32bit/64bit) linux environment
· Factoryfs.img ROM genuine (any version), SE02E is also required cache.img
(SoC terminal is msm is system.img.ext4)

How do I use No 3.?

Please put (system.img.ext4) factoryfs.img of genuine ROM to the directory that contains the readme.txt.
OK if disposed as follows:

(Dir)
├ bin /
├ config /
├ sed /
├ user / (option)
│ └ (model name, such as SC02E) XXXX
│ └ (appropriate name) YYYY
│ ├ install.sh
│ └ xxxx.so
│ readme.txt
├ install_su
├ make_rooted_factoryfs.sh
├ user_custom.sh
├ what to add (cache.img) ※
└ those factoryfs.img added (system.img.ext4 or system.img) ※

Placement is finished please run "make_rooted_factoryfs.sh" from "(Terminal)" terminal.

※. Certain that the right to execute the sh has been removed.
Please add execute permissions and bin/ext4_utils/mkuserimg.sh make_rooted_factoryfs.sh.
(Dir) $ chmod a + x make_rooted_factoryfs.sh
(Dir) $ chmod a + x bin/ext4_utils/mkuserimg.sh

To run the (mount) command, you are prompted for a password, so you should have administrative privileges on the way
Please enter.

If there are no errors "SC0XXOMXXX-ROOTED-FACTORYFS (system). Tar.md5" in the form of burnt out Odin3 to be
Should have been created.

For information about removing 4. Preinstalled apps
Specify that you want to delete pre-installed apps
Open the config / list.XXXX, I want to write one single line that you want to delete the app.
) App / XXXXXX.apk cases

Treatment 5. User custom
I want to put an additional apk and lib. Putting the custom settings you have
You can support it by appending the process to user_custom.sh.

If there is YYYY / install.sh The following user / XXXX /, run automatically
) User/SC02E/test/install.sh cases

6 Update history.
Mod by ma43s
I want to be able to handle multiple users for each model r5
Puriin is indelible in the list based on the included bug fixes (line feed code had become \ r \ n)

Organize your r4 script, modified to model selection
We have to be able to add processing user_custom

We have to be able to select an action rooted in r2 SE02E

Added the ability to delete any pre-installed r1
I took off once the process rooted in SE02E

Mod by flame
Corresponding to the GT-N7000 SC03D SC05D SC06D

r2 SuperUser.apk version up v3.0.1 -> v3.0.7
Corresponding ICS v4.0.2

Change the rsync command from r1 cp command
fix typo
SuperUser.apk version up v3.0 -> v3.0.1
Added a note of execution right

first created r0