Dear all,
We were going through BootTimeTuning Section 8.6.3 of Android user guide. We understood from it that we can build User build variant to optimize boot time by 0.5 sec.
So when we were checking different 'lunch command' combinations for imx8qm-Android9-Auto we didn't find this build variant present. Only Engineering and Userdebug are present.
Could you please let us know how to build 'User' variant for this ??
Here are present lunch combo: Relevant combos are highlighted
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. sabresd_6dq-eng
8. sabresd_6dq-userdebug
9. sabresd_6dq_car-eng
10. sabresd_6dq_car-userdebug
11. sabreauto_6q-eng
12. sabreauto_6q-userdebug
13. evk_6sl-eng
14. evk_6sl-userdebug
15. sabresd_6sx-eng
16. sabresd_6sx-userdebug
17. sabreauto_6sx-eng
18. sabreauto_6sx-userdebug
19. sabresd_7d-eng
20. sabresd_7d-userdebug
21. evk_7ulp-eng
22. evk_7ulp-userdebug
23. evk_8mq-eng
24. evk_8mq-userdebug
25. evk_8mq_drm-eng
26. evk_8mq_drm-userdebug
27. evk_8mm-eng
28. evk_8mm-userdebug
29. evk_8mm_drm-eng
30. evk_8mm_drm-userdebug
31. aiy_8mq-eng
32. aiy_8mq-userdebug
33. mek_8q-eng
34. mek_8q-userdebug
35. mek_8q_car-eng
36. mek_8q_car-userdebug
37. mek_8q_car2-eng
38. mek_8q_car2-userdebug
39. aosp_car_arm-userdebug
40. aosp_car_arm64-userdebug
41. aosp_car_x86-userdebug
42. aosp_car_x86_64-userdebug
43. mini_emulator_arm64-userdebug
44. m_e_arm-userdebug
45. m_e_mips64-eng
46. m_e_mips-userdebug
47. mini_emulator_x86_64-userdebug
48. mini_emulator_x86-userdebug
49. uml-userdebug
50. aosp_crosshatch-userdebug
51. aosp_blueline-userdebug
52. aosp_cf_x86_auto-userdebug
53. aosp_cf_x86_phone-userdebug
54. aosp_cf_x86_tablet-userdebug
55. aosp_cf_x86_tablet_3g-userdebug
56. aosp_cf_x86_tv-userdebug
57. aosp_cf_x86_wear-userdebug
58. aosp_cf_x86_64_auto-userdebug
59. aosp_cf_x86_64_phone-userdebug
60. aosp_cf_x86_64_tablet-userdebug
61. aosp_cf_x86_64_tablet_3g-userdebug
62. aosp_cf_x86_64_tv-userdebug
63. aosp_cf_x86_64_wear-userdebug
64. cf_x86_auto-userdebug
65. cf_x86_phone-userdebug
66. cf_x86_tablet-userdebug
67. cf_x86_tablet_3g-userdebug
68. cf_x86_tv-userdebug
69. cf_x86_wear-userdebug
70. cf_x86_64_phone-userdebug
71. cf_x86_64_tablet-userdebug
72. cf_x86_64_tablet_3g-userdebug
73. cf_x86_64_tv-userdebug
74. cf_x86_64_wear-userdebug
75. aosp_marlin-userdebug
76. aosp_marlin_svelte-userdebug
77. aosp_sailfish-userdebug
78. aosp_walleye-userdebug
79. aosp_walleye_test-userdebug
80. aosp_taimen-userdebug
81. hikey-userdebug
82. hikey64_only-userdebug
83. hikey960-userdebug
Hello Amit Kulkarni,
Would you confirm which BSP you are using? Is it P9.0.0_2.1.1-AUTO-ga? There should be a mek_8q_car-user lunch option available, but I would need to doublecheck if for some reason it was not defined on that specific BSP.
Regards,
Dear gusarambula
Thanks for you reply.
Yes BSP version is android_p9.0.0_2.1.1-AUTO-ga. I checked and i didn't find any mek_8q_car-user option in the 'lunch' command. Only mek_8q_car-eng and mek_8q_car-userdebug are available.
For us changing the build variant is very important for Boot Time tuning.
Request you to check and let us know.
Hello Amit Kulkarni,
I'm testing building this BSP with lunch mek_8q_car-user. Apparently it does take it as a valid profile, but I'm asking our experts if this profile is indeed valid and correctly setup, as there are a couple of threads with problems with the user variant.
Regards,
Do you have any update gusarambula here ?? We are stuck!
Hello Hello Amit Kulkarni,
I'm still waiting for an update from our experts. My apologies for how long it's taking. I will let you know as soon as I have more information.
Regards,
Hello gusarambula
Okay, Thank you so much.
Hello Amit Kulkarni,
My apologies for the delay. I asked our experts and both the "user" and "userdebug" build showed no boot failure. Even tough these are not listed these would be valid variables.
Would you please test with the "user" variant and provide the error log if there's any?
Regards,
Thanks gusarambula for valuable input.
I will build this now and update here at the earliest
Dear gusarambula ,
Thank you for your reply and testing. Yes i too saw that there are couple of threads on the community regarding the same issue. Please let me know once you have any update on this.