Cheatography
                https://cheatography.com
            
        
        
    
                   
                            
    
                    Internet of Things: Setting Up Your DragonBoard™ Development Platform
                    
                 
                    
        
        
            
    
        
                                    This is a draft cheat sheet. It is a work in progress and is not finished yet.
                    
        
                
        
            
                                
            
                
                                                
                                
    
    
            1.DragonBoard 410C Overview
        
                        
                                                                                    
                                                                                            Overview of the DragonBoard 410C can be found in the FOLLOWING VIDEO  | 
                                                                                                                         | 
                                                                                 
                                                                         
                             
    
    
            2. Getting and Starting up the DragonBoard™ 410c
        
                        
                                                                                    
                                                                                            Order the board from  | 
                                                                                                                         | 
                                                                                 
                                                                                            
                                                                                            Register with 95boards.org  | 
                                                                                                                         | 
                                                                                 
                                                                                            
                                                                                            Register with Qualcomm  | 
                                                                                                                         | 
                                                                                 
                                                                                            
                                                                                            The FOLLOWING VIDEO describes Bringing Up the DragonBoard 410C   | 
                                                                                                                         | 
                                                                                 
                                                                         
                             
    
    
            3. Development  Environment   3.1 Android Studio
        
                        
                                                                                    
                                                                                            For Android Development  Android Studio with JDK 7 and up  will be used  | 
                                                                                 
                                                                                            
                                                                                            Android Studio Resources can be found in the following URL  | 
                                                                                                                         | 
                                                                                 
                                                                         
                             
    
    
            3.2 ADB Terminology
        
                        
                                                                                    
                                                                                            adb devices  | 
                                                                                                                        List Android devices connected to PC/Host  | 
                                                                                 
                                                                                            
                                                                                            adb shell  | 
                                                                                                                        Creates Terminal Session  | 
                                                                                 
                                                                                            
                                                                                            adb root  | 
                                                                                                                        RUns the ADB as a root user  | 
                                                                                 
                                                                                            
                                                                                            adb push  | 
                                                                                                                        Sends a file from the host to the device  | 
                                                                                 
                                                                                            
                                                                                            adb pull  | 
                                                                                                                        Downloads a file from the device  | 
                                                                                 
                                                                                            
                                                                                            adb kill-server  | 
                                                                                                                        Stops the server  | 
                                                                                 
                                                                                            
                                                                                            ADB Complete Reference URL  | 
                                                                                                                         | 
                                                                                 
                                                                         
                             
    
    
            3.3 Setting up ADB USB for Windows Hosts
        
                        
                                                                                    
                                                                                            The procedure described in the following URL is needed for Windows Hosts only  | 
                                                                                                                         | 
                                                                                 
                                                                         
                             
    
    
            3.4 Using ADB Over Wi-Fi
        
                        
                                                                                    
                                                                                            Using ADB Over Wi-Fi with the DragonBoard 410C is Described in the FOLLOWING VIDEO  | 
                                                                                                                         | 
                                                                                 
                                                                         
                             
    
    
            Changing  your Operating System
        
                        
                                                                                    
                                                                                            SD, Fastboot  | 
                                                                                 
                                                                                            
                                                                                            download  | 
                                                                                                                        download from 96boards.org, also download win32diskimager from sourceforge.net  | 
                                                                                 
                                                                                            
                                                                                            Path variables  | 
                                                                                 
                                                                                            
                                                                                            Flash to microSD  | 
                                                                                 
                                                                                            
                                                                                            flash to DragonBoard  | 
                                                                                 
                                                                         
                             
    
    
            3.5  Fastboot Protocol (ADB and Fastboot Commands)
        
                        
                                                                                    
                                                                                            The following is an ADB and fastboot command reference URL  | 
                                                                                                                         | 
                                                                                 
                                                                         
                             
                             | 
                                                                              | 
                                                        
                                
    
    
            4. Supplement Material - 4.1  Unix  Commands
        
                        
                                                                                    
                                                                                            ls  | 
                                                                                                                        List the contents of the current directory  | 
                                                                                 
                                                                                            
                                                                                            cd  | 
                                                                                                                        Change directory  | 
                                                                                 
                                                                                            
                                                                                            echo  | 
                                                                                                                        Print/calls something out of the terminal  | 
                                                                                 
                                                                                            
                                                                                            cat  | 
                                                                                                                        Outputs contents of a file to a different a different I/O  | 
                                                                                 
                                                                                            
                                                                                            export  | 
                                                                                                                        Used to create a path variable  | 
                                                                                 
                                                                                            
                                                                                            (sudo) su  | 
                                                                                                                        Enter superuser mode  | 
                                                                                 
                                                                                            
                                                                                            chmod  | 
                                                                                                                        Changes file permissions(read, write, execute)  | 
                                                                                 
                                                                                            
                                                                                            exit/quit  | 
                                                                                                                        Exit/quit current mode  | 
                                                                                 
                                                                                            
                                                                                            .  | 
                                                                                                                        Current directory  | 
                                                                                 
                                                                                            
                                                                                            ..  | 
                                                                                                                        Parent directory  | 
                                                                                 
                                                                                            
                                                                                            ./  | 
                                                                                                                        Executes files  | 
                                                                                 
                                                                         
                             
    
    
            4.2 Supplement Material - MS-DOS
        
                        
                                                                                    
                                                                                            dir  | 
                                                                                                                        Displays the content of a directory/folder  | 
                                                                                 
                                                                                            
                                                                                            cls  | 
                                                                                                                        Clears the skin( display)  | 
                                                                                 
                                                                                            
                                                                                            copy  | 
                                                                                                                        Copy files to a destination of choice  | 
                                                                                 
                                                                                            
                                                                                            echo  | 
                                                                                                                        Prints/calls something out to the terminal  | 
                                                                                 
                                                                                            
                                                                                            del  | 
                                                                                                                        Deletes a file  | 
                                                                                 
                                                                                            
                                                                                            undelete  | 
                                                                                                                        Restores a deleted file  | 
                                                                                 
                                                                                            
                                                                                            print  | 
                                                                                                                        Prints the contents of a text file  | 
                                                                                 
                                                                                            
                                                                                            mkdir*  | 
                                                                                                                        Make a new folder  | 
                                                                                 
                                                                         
                             
    
    
            5. Development Environment Setup - Git
        
                        
                                                                                    
                                                                                            git init    Initializes a git repository  | 
                                                                                                                        git init  | 
                                                                                 
                                                                                            
                                                                                            git clone    Copies a git repository to your local computer  | 
                                                                                                                        git clone <repository location>  | 
                                                                                 
                                                                                            
                                                                                            git add     Adds file to track  | 
                                                                                                                        git add <file name>  | 
                                                                                 
                                                                                            
                                                                                            git rm     Remove files from being tracked  | 
                                                                                                                        git rm <file name>  | 
                                                                                 
                                                                                            
                                                                                            git commit     Cretae a snapshot of a repository  | 
                                                                                                                        git commit  | 
                                                                                 
                                                                                            
                                                                                            git push    Uploads all local branch commits to online repository  | 
                                                                                                                        git push <remote-name> <branch-name>.  | 
                                                                                 
                                                                                            
                                                                                            git pull     Pull snapshots from online to local repository  | 
                                                                                                                        git pull <remote>  | 
                                                                                 
                                                                                            
                                                                                            git cheat sheet URL  | 
                                                                                                                         | 
                                                                                 
                                                                         
                             
    
    
            Recovering from a Bricked Board
        
                        
                                                                                    
                                                                                            Soft Brick  | 
                                                                                 
                                                                                            
                                                                                            Hard Brick  | 
                                                                                 
                                                                                            
                                                                                            Rescuing a Soft Bricked Board  | 
                                                                                 
                                                                                            
                                                                                            Brick Prevention:  | 
                                                                                 
                                                                                            
                                                                                            - GPIO Brick Prevention  | 
                                                                                 
                                                                                            
                                                                                            - Deleting Partition Tables Prevention  | 
                                                                                 
                                                                         
                             
                             |