[Redmi Note Q&A, Help & Troubleshooting] shubhamkarande:
I did that but it doesn’t seem to work.

After "repo status" I get this output:

shubhamkarande@ubuntu:~/pac-rom$ repo status
project developers/samples/android/ (*** NO BRANCH ***)
-- admin/DeviceOwner/Application/.gitignore
-- admin/DeviceOwner/Application/README-fragmentview.txt
-- admin/DeviceOwner/Application/README-singleview.txt
-- admin/DeviceOwner/Application/proguard-project.txt
-- admin/DeviceOwner/Application/src/main/AndroidManifest.xml
-- admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/DeviceOwnerFragment.java
-- admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/DeviceOwnerReceiver.java
-- admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/InstructionFragment.java
-- admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/MainActivity.java
-- admin/DeviceOwner/Application/src/main/res/drawable-hdpi/ic_launcher.png
-- admin/DeviceOwner/Application/src/main/res/drawable-mdpi/ic_launcher.png
-- admin/DeviceOwner/Application/src/main/res/drawable-xhdpi/ic_launcher.png
-- admin/DeviceOwner/Application/src/main/res/drawable-xxhdpi/ic_launcher.png
-- admin/DeviceOwner/Application/src/main/res/layout/activity_main_real.xml
-- admin/DeviceOwner/Application/src/main/res/layout/fragment_device_owner.xml
-- admin/DeviceOwner/Application/src/main/res/layout/fragment_instruction.xml
-- admin/DeviceOwner/Application/src/main/res/values/strings.xml
-- admin/DeviceOwner/Application/src/main/res/xml/device_owner_receiver.xml
-- admin/DeviceOwner/build.gradle
-- admin/DeviceOwner/buildSrc/build.gradle
-- admin/DeviceOwner/gradle/wrapper/gradle-wrapper.jar
-- admin/DeviceOwner/gradle/wrapper/gradle-wrapper.properties
-- admin/DeviceOwner/gradlew
-- admin/DeviceOwner/gradlew.bat
-- admin/DeviceOwner/screenshots/1-main.png
-- admin/DeviceOwner/screenshots/icon-web.png
-- admin/DeviceOwner/settings.gradle
-- admin/DeviceOwner/template-params.xml
-- admin/NfcProvisioning/Application/.gitignore
-- admin/NfcProvisioning/Application/README-fragmentview.txt
-- admin/NfcProvisioning/Application/README-singleview.txt
-- admin/NfcProvisioning/Application/proguard-project.txt
-- admin/NfcProvisioning/Application/src/main/AndroidManifest.xml
-- admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/NfcProvisioningFragment.java
-- admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/ProvisioningValuesLoader.java
-- admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/TextWatcherWrapper.java
-- admin/NfcProvisioning/Application/src/main/res/drawable-hdpi/ic_launcher.png
-- admin/NfcProvisioning/Application/src/main/res/drawable-mdpi/ic_launcher.png
-- admin/NfcProvisioning/Application/src/main/res/drawable-xhdpi/ic_launcher.png
-- admin/NfcProvisioning/Application/src/main/res/drawable-xxhdpi/ic_launcher.png
-- admin/NfcProvisioning/Application/src/main/res/layout/fragment_nfc_provisioning.xml
-- admin/NfcProvisioning/Application/src/main/res/values/strings.xml
-- admin/NfcProvisioning/Application/tests/src/com/example/android/nfcprovisioning/tests/SampleTests.java
-- admin/NfcProvisioning/build.gradle
-- admin/NfcProvisioning/buildSrc/build.gradle
-- admin/NfcProvisioning/gradle/wrapper/gradle-wrapper.jar
-- admin/NfcProvisioning/gradle/wrapper/gradle-wrapper.properties
-- admin/NfcProvisioning/gradlew
-- admin/NfcProvisioning/gradlew.bat
-- admin/NfcProvisioning/nfcprovisioning.txt
-- admin/NfcProvisioning/screenshots/1-main.png
-- admin/NfcProvisioning/screenshots/icon-web.png
-- admin/NfcProvisioning/settings.gradle
-- admin/NfcProvisioning/template-params.xml
-- connectivity/bluetooth/BluetoothAdvertisements/Application/.gitignore
-- connectivity/bluetooth/BluetoothAdvertisements/Application/proguard-project.txt
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/AndroidManifest.xml
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/AdvertiserFragment.java
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/Constants.java
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/MainActivity.java
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/ScanResultAdapter.java
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/ScannerFragment.java
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/drawable-hdpi/ic_action_refresh.png
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/drawable-hdpi/ic_launcher.png
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/drawable-mdpi/ic_action_refresh.png
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/drawable-mdpi/ic_launcher.png
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/drawable-xhdpi/ic_action_refresh.png
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/drawable-xhdpi/ic_launcher.png
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/drawable-xxhdpi/ic_action_refresh.png
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/drawable-xxhdpi/ic_launcher.png
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/layout/activity_main.xml
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/layout/fragment_advertiser.xml
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/layout/listitem_scanresult.xml
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/menu-v21/scanner_menu.xml
-- connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/res/values/strings.xml
-- connectivity/bluetooth/BluetoothAdvertisements/build.gradle
-- connectivity/bluetooth/BluetoothAdvertisements/buildSrc/build.gradle
-- connectivity/bluetooth/BluetoothAdvertisements/gradle/wrapper/gradle-wrapper.jar
-- connectivity/bluetooth/BluetoothAdvertisements/gradle/wrapper/gradle-wrapper.properties
-- connectivity/bluetooth/BluetoothAdvertisements/gradlew
-- connectivity/bluetooth/BluetoothAdvertisements/gradlew.bat
-- connectivity/bluetooth/BluetoothAdvertisements/screenshots/1-main.png
-- connectivity/bluetooth/BluetoothAdvertisements/screenshots/icon-web.png
-- connectivity/bluetooth/BluetoothAdvertisements/settings.gradle
-- connectivity/bluetooth/BluetoothAdvertisements/template-params.xml
-- connectivity/network/NetworkConnect/screenshots/icon-web.png
-- connectivity/network/NetworkConnect/screenshots/main.png
-- connectivity/wifidirect/DirectP2P/Application/.gitignore
-- connectivity/wifidirect/DirectP2P/Application/proguard-project.txt
-- connectivity/wifidirect/DirectP2P/Application/src/main/AndroidManifest.xml
-- connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/DeviceDetailFragment.java
-- connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/DeviceListFragment.java
-- connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/FileTransferService.java
-- connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/MainActivity.java
-- connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/WiFiDirectBroadcastReceiver.java
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-hdpi/ic_launcher.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-hdpi/ic_wifi.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-ldpi/ic_launcher.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-mdpi/ic_launcher.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-mdpi/ic_wifi.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-xhdpi/ic_launcher.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-xhdpi/ic_wifi.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-xxhdpi/ic_launcher.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/drawable-xxhdpi/ic_wifi.png
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/layout/device_detail.xml
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/layout/device_list.xml
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/layout/main.xml
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/layout/row_devices.xml
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/values/colors.xml
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/values/strings.xml
-- connectivity/wifidirect/DirectP2P/Application/src/main/res/values/styles.xml
-- connectivity/wifidirect/DirectP2P/Application/tests/AndroidManifest.xml
-- connectivity/wifidirect/DirectP2P/Application/tests/src/com/example/android/wifidirectp2p/tests/SampleTests.java
-- connectivity/wifidirect/DirectP2P/build.gradle
-- connectivity/wifidirect/DirectP2P/buildSrc/build.gradle
-- connectivity/wifidirect/DirectP2P/gradle/wrapper/gradle-wrapper.jar
-- connectivity/wifidirect/DirectP2P/gradle/wrapper/gradle-wrapper.properties
-- connectivity/wifidirect/DirectP2P/gradlew
-- connectivity/wifidirect/DirectP2P/gradlew.bat
-- connectivity/wifidirect/DirectP2P/packaging.yaml
-- connectivity/wifidirect/DirectP2P/screenshots/1-main.png
-- connectivity/wifidirect/DirectP2P/screenshots/2-discovery.png
-- connectivity/wifidirect/DirectP2P/screenshots/3-client.png
-- connectivity/wifidirect/DirectP2P/screenshots/big_icon.png
-- connectivity/wifidirect/DirectP2P/settings.gradle
-- connectivity/wifidirect/DirectP2P/template-params.xml
-- content/WidgetData/Application/tests/src/com/example/android/widgetdata/tests/SampleTests.java
-- content/documentsUi/StorageClient/screenshots/icon-web.png
-- content/documentsUi/StorageClient/screenshots/main.png
-- media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/AlbumArtCache.java
-- media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/Playback.java
-- media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/MutableMediaMetadata.java
-- media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/CarHelper.java
-- media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/ResourceHelper.java
-- media/MediaBrowserService/Application/src/main/res/xml/allowed_media_browser_callers.xml
-- ui/Interpolator/Application/tests/src/com/example/android/interpolator/tests/SampleTests.java
-- ui/actionbarcompat/ActionBarCompat-Styled/screenshots/1-activity.png.png
-- ui/actionbarcompat/ActionBarCompat-Styled/screenshots/big_icon.png
-- ui/views/RecyclerView/screenshots/1-linear.png
-- ui/views/RecyclerView/screenshots/2-grid.png
-- ui/views/RecyclerView/screenshots/icon-web.png
-- ui/views/RevealEffect/RevealEffectBasic/screenshots/1-main.png
-- ui/views/RevealEffect/RevealEffectBasic/screenshots/icon-web.png
-- ui/views/TextSwitcher/screenshots/icon-web.png
-- ui/views/TextSwitcher/screenshots/main.png
-- wearable/wear/Flashlight/screenshots/icon-web.png
-- wearable/wear/XYZTouristAttractions/Application/.gitignore
-- wearable/wear/XYZTouristAttractions/Application/proguard-project.txt
-- wearable/wear/XYZTouristAttractions/Application/src/main/AndroidManifest.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/TouristAttractions.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/ListenerService.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/UtilityReceiver.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/UtilityService.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/AttractionListActivity.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/AttractionListFragment.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/AttractionsRecyclerView.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/DetailActivity.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/DetailFragment.java
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-hdpi/ic_action_map.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-hdpi/ic_stat_maps_pin_drop.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-mdpi/ic_action_map.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-mdpi/ic_stat_maps_pin_drop.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-nodpi/empty_photo.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-xhdpi/ic_action_map.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-xhdpi/ic_stat_maps_pin_drop.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-xxhdpi/ic_action_map.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/drawable-xxhdpi/ic_stat_maps_pin_drop.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/layout/activity_main.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/layout/fragment_detail.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/layout/fragment_main.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/layout/list_row.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/menu/detail.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/menu/main.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/mipmap-hdpi/ic_launcher.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/mipmap-mdpi/ic_launcher.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/mipmap-xhdpi/ic_launcher.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/mipmap-xxhdpi/ic_launcher.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/transition-v21/explode.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/transition-v21/fade.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values-sw400dp/dimens.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values-sw600dp/dimens.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values-sw720dp/dimens.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values-v21/styles.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values-w820dp/dimens.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values/colors.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values/dimens.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values/strings.xml
-- wearable/wear/XYZTouristAttractions/Application/src/main/res/values/styles.xml
-- wearable/wear/XYZTouristAttractions/Shared/.gitignore
-- wearable/wear/XYZTouristAttractions/Shared/proguard-rules.pro
-- wearable/wear/XYZTouristAttractions/Shared/src/main/AndroidManifest.xml
-- wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/Attraction.java
-- wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/Constants.java
-- wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/Utils.java
-- wearable/wear/XYZTouristAttractions/Wearable/.gitignore
-- wearable/wear/XYZTouristAttractions/Wearable/proguard-rules.pro
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/AndroidManifest.xml
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ListenerService.java
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/UtilityService.java
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/AttractionsActivity.java
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/AttractionsGridPagerAdapter.java
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/color/action_color.xml
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/drawable-hdpi/ic_full_directions_walking.png
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/drawable-hdpi/ic_full_explore.png
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/drawable-hdpi/ic_full_open_on_device.png
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/drawable-xhdpi/ic_full_directions_walking.png
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/drawable-xhdpi/ic_full_explore.png
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/drawable-xhdpi/ic_full_open_on_device.png
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/layout/activity_main.xml
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/layout/gridpager_action.xml
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/layout/gridpager_action_round.xml
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/layout/gridpager_action_square.xml
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/layout/gridpager_card.xml
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/layout/gridpager_fullscreen_image.xml
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png
-- wearable/wear/XYZTouristAttractions/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png

It seems that these files are not under any branch.They are just samples. :/

What to do after source syncing has been done?

Any device specific steps?