Reputation: 21
Now I can fetch the newest version of packages (repo sync) and compile them in my machine (make -j8) I cannot find a way to fetch older version of AOSP . what parameter should I pass to repo to be able to fetch old packages and work on an old version of android (e.g ICS)
Upvotes: 2
Views: 1094
Reputation: 20936
You should add -b
parameter. For instance, to download the sources of Android v.4.0.1 (ICS) you can use the following command:
repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
After downloading the sources the next steps are the same. More information you can find here.
Upvotes: 2