Różnica między eng a user-debug build w Androidzie

Chciałbym poznać różnicę między tymi dwoma build_flavor.

Eng & user-debug

Różnica między smakami ENG i user build jest cicha. Ale eng i user-debug trochę mnie mylą. Jakie są dodatkowe funkcje debugowania dostępne w eng, które nie są obecne w user-debug?

Dla np.

If I take only the Kernel being built:

Will the Debugging levels differ for the eng and user-debug builds?

Mam do czynienia z problemem, w którym konfiguracja debugowania użytkownika uruchamia się na telefonie z Androidem. Ale budowa eng jest nie, a build_flavor jest jedyną różnicą pomiędzy tymi dwoma buildami.

Każda pomoc/wskazówki są mile widziane. Dzięki!

Author: spitfire88, 2012-12-19

2 answers

Eng: to jest domyślny smak. Zwykły make jest taki sam jak make eng.

- Installs modules tagged with: eng, debug, user, and/or development.
- Installs non-APK modules that have no tags specified.
- Installs APKs according to the product definition files, in addition to tagged APKs.
- ro.secure=0
- ro.debuggable=1
- ro.kernel.android.checkjni=1
- adb is enabled by default. 

User: make user

To jest smak, który ma być finalnym wydaniem bitów.

- Installs modules tagged with user.
- Installs non-APK modules that have no tags specified.
- Installs APKs according to the product definition files; tags are ignored for APK modules.
- ro.secure=1
- ro.debuggable=0
- adb is disabled by default.

Userdebug: make userdebug

To samo co user, z wyjątkiem:

Also installs modules tagged with debug.
- ro.debuggable=1
- adb is enabled by default. 

Dokumentacja: https://source.android.com/source/add-device.html#build-variants

 40
Author: rmdroid,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-08-04 08:07:01

Cóż różnica między trzema buduje mianowicie. eng, user I user-debug są następujące:

Eng - Engineering Build jest dostarczany z domyślnym dostępem roota.

User - User build jest Tym, który jest wyświetlany na telefonach produkcyjnych. Nie ma dostępu do roota.

User-debug - User debug build nie ma domyślnego dostępu do roota, ale może być zakorzeniony. Zawiera również dodatkowe logowanie.

Jedną z rzeczy, które należy tutaj zauważyć, jest chociaż ENG build może sugerować dodatkowe logowanie, że tak nie jest. User-debug będzie zawierał maksymalne logowanie i powinien być używany podczas tworzenia

 20
Author: spitfire88,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2013-01-23 04:33:06