27 মার্চ, 2025 থেকে, আমরা AOSP তৈরি করতে এবং অবদান রাখতে aosp-main এর পরিবর্তে android-latest-release ব্যবহার করার পরামর্শ দিচ্ছি। আরও তথ্যের জন্য, AOSP-তে পরিবর্তনগুলি দেখুন।
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি বুট ইমেজ প্রোফাইল কম্পাইলের সময় কোডের অপ্টিমাইজেশান গাইড করে সিস্টেমের কর্মক্ষমতা বাড়ানোর জন্য ডিজাইন করা হয়েছে। সংক্ষেপে, এটি ডেটার একটি সেট যা সিস্টেমকে জানায় যে কোডের কোন অংশগুলি বুট প্রক্রিয়ার সময় এবং মূল সিস্টেমের উপাদানগুলির দ্বারা প্রায়শই ব্যবহৃত হয়। এই তথ্যটি সিস্টেমের রানটাইম এনভায়রনমেন্টকে এই ক্রিটিক্যাল কোডটি আগে থেকেই কম্পাইল এবং অপ্টিমাইজ করার অনুমতি দেয়, যার ফলে দ্রুত বুট টাইম, মসৃণ অ্যাপ লঞ্চ এবং সামগ্রিক সিস্টেমের প্রতিক্রিয়াশীলতা উন্নত হয়।
বুট ইমেজ প্রোফাইল সম্পর্কে আরও তথ্যের জন্য, বুট ইমেজ প্রোফাইল দেখুন।
বুট ইমেজ প্রোফাইল ডেটা
AAOS বুট ইমেজ প্রোফাইল নিম্নলিখিত অন্তর্ভুক্ত:
বুট ক্লাসপথের জন্য প্রোফাইল ( vendor/auto/embedded/products/boot-image-profile.txt )। বুট ক্লাসপাথ থেকে কোন পদ্ধতি অপ্টিমাইজ করা হবে তা নির্ধারণ করে।
কার্যকরভাবে প্রোফাইল এবং একটি বাস্তবসম্মত বুট ইমেজ প্রোফাইল তৈরি করতে, আপনার কাস্টমাইজড CUJ এর সাথে বুট ইমেজ প্রোফাইল তৈরি করুন দেখুন।
বিশেষ করে নমুনা AAOS CUJ-এর জন্য একটি বুট ইমেজ প্রোফাইলের দ্রুত প্রজন্মের জন্য, যা Google Maps এবং Google Play চালু করছে, art/tools/boot-image-profile-aaos-sample-generate.py স্ক্রিপ্ট ব্যবহার করুন। এই স্ক্রিপ্টটি উপরে উল্লিখিত লিঙ্কে বর্ণিত পদক্ষেপগুলিকে অন্তর্ভুক্ত করে।
শুরু করুন
অ্যান্ড্রয়েড তৈরি করতে, কাটলফিশ চালু করতে এবং একটি নমুনা AAOS বুট ইমেজ প্রোফাইল তৈরি করতে স্ক্রিপ্টটি চালাতে নিম্নলিখিতটি চালান।
অ্যান্ড্রয়েড তৈরি করুন
একটি লক্ষ্য চয়ন করুন এবং নিম্নলিখিতটি চালান (উদাহরণস্বরূপ aosp_cf_x86_64_auto-ap4a-userdebug ):
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-14 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-14 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Boot image profiles\n\nA *boot image profile* is designed to enhance system performance by guiding the\noptimization of code at compile time. In essence, it's a set of data that\ninforms the system about which parts of the code are most frequently used\nduring the boot process and by core system components. This information allows\nthe system's runtime environment to preemptively compile and optimize this\ncritical code, leading to faster boot times, smoother app launches, and\nimproved overall system responsiveness.\n\nFor more information on boot image profiles, see\n[Boot image profiles](/docs/core/runtime/boot-image-profiles).\n\nBoot image profile data\n-----------------------\n\nAAOS boot image profiles include the following:\n\n- **Profile for the boot classpath** (`vendor/auto/embedded/products/boot-image-profile.txt`). Determines which methods from the boot classpath get optimized.\n\n### Example profile contents\n\n Landroid/accounts/AccountManager;\n Landroid/app/ActivityManager;\n Landroid/app/ActivityTaskManager;\n Landroid/app/ActivityThread;\n Landroid/app/AlarmManager;\n Landroid/app/AlertDialog;\n Landroid/car/Car;\n Landroid/car/input/CarInputManager;\n Landroid/car/media/CarAudioManager;\n\nGenerate boot image profiles\n----------------------------\n\nTo effectively profile and generate a realistic boot image profile, refer to\n[Generate boot image profiles](/docs/core/runtime/boot-image-profiles#generating-boot-image-profiles)\nwith your customized CUJs.\n\nFor a quick generation of a boot image profile specifically for sample AAOS\nCUJs, that is launching Google Maps and Google Play, use the\n`art/tools/boot-image-profile-aaos-sample-generate.py` script. This script\nincorporates the steps outlined in the aforementioned link.\n\n### Get started\n\nRun the following to build Android, launch Cuttlefish, and run the script to\ngenerate a sample AAOS boot image profile.\n\n#### Build Android\n\nChoose a target and run the following (for example\n`aosp_cf_x86_64_auto-ap4a-userdebug`): \n\n source build/envsetup.sh\n lunch \u003ctarget\u003e\n m\n\n#### Launch Cuttlefish\n\nFollow [Get started](/docs/devices/cuttlefish/get-started)\nto launch the Cuttlefish target.\n\n#### Run the script\n\n python3 art/tools/boot-image-profile-aaos-sample-generate.py\n\n| **Note:** The current `LOGCAT_READY_PATTERN` is set to when CarLauncher is displayed, to enable logcat wait functionality. You can customize your `LOGCAT_READY_PATTERN` by modifying the script.\n\n#### Optional: Specify ADB device\n\n export ANDROID_SERIAL=\u003cyour_device_serial\u003e\n\n| **Note:** If multiple devices are connected, set the `ANDROID_SERIAL` environment variable to specify the default ADB device. To revert, run `unset\n| ANDROID_SERIAL`."]]