erofenoll, Linux needs to be rebooted in rare cases, for example, the updated kernel or daemon, which has many other dependent daemons
Of the options that can be made in this case (in case of an error):
(the crudest) to restart X, having completed the session, well, the most correct thing is to simply restart the terminal emulator (just by closing the window)
The only thing you can add to the instruction is:
- Or export the PATH variable with the addition~ / bin
export PATH = $ PATH: $ HOME / bin
- Or prescription of this export in.bashrc
echo "export PATH = $ PATH: $ HOME / bin">>~ / .bashrc
In the first case, the command can be used immediately, and restarting the terminal (or terminating the session) will reset the PATH variable.
In the second case, to use the command, you will need to restart the terminal (or end the session)
UA1000, I would like to add this point:
Team
make -j4 PRODUCT-<product_name>-user distit gives the user a build environment, but development or test utilities are often required, so the command can be used with such parameters
make -j4 PRODUCT-<product_name>-engmake -j4 PRODUCT-<product_name>-tests-eng- will bring together a developer system
-tests- will include in the system a wagon and a small trolley to test various possibilities of both the OS and the platform
I note that we, as developers, most likely want to be able to have full access to management, so we want to get root access. I could not do this with the help of various utilities, and adb shell unfortunately does not work for me. So we can make such changes to the AndroidOS code itself.
In the system / extras / su / su.c file, comment out lines 62-65 (given for cupcake and donut, may differ slightly in other versions)
/ * if (myuid! = AID_ROOT && myuid! = AID_SHELL) {
fprintf (stderr, "su: uid% d not allowed to su \ n", myuid);
return 1;
} */
Also note that the parameter you use
distafter compilation creates a bunch of, in fact, unnecessary trash. If you compile without it, you don’t have to touch any file.
product_name-emulator-eng.user.zipAnd just run from the directory
/ home / user / mydroid / out / target / product / board_namethe team
emulator -system system.img -data userdata.img -no-boot-anim*parameter-no-boot-animallows AndroidOS to boot fasterPost has been editedGilberg - 30.01.11, 00:53