Root Nexus

  • Upload
    mick65

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

  • 7/29/2019 Root Nexus

    1/5

    1. INSTALLING ADB/FASTBOOT DRIVERS

    The first thing you need to do is to install the adb/fastboot drivers. These areneeded so that you can unlock your bootloader, root your phone and flash CWM (ClockworkMod) Recovery.

    THE DRIVERS CAN NOW BE INSTALLED DIRECTLY VIA THE TOOLKIT. OPTION 1 IN THE MAINMENU.IF YOU HAVE ANY TROUBLE WITH THE TOOLKIT INSTALLING THE DRIVERS PLEASE POST IN THIS THREAD WITH YOUR OPERATING SYSTEM VERSION AND ERROR MESSAGE.

    a. If you dont want to use the ToolKit to install the drivers then the best bestdrivers to try are PdaNet for Android, download and run the 32-bit Windows 7/Vista/XP or 64-bit Windows 7/Vista and follow the instructions to install (selecting Samsung as your device manufacturer if asked).

    You can remove pdanet for Android from your phone and pc at a later time withoutremoving the drivers.

    b. After the drivers have been installed disconnect the usb cable and shut downyour phone. Keep holding the 'Volume Up' and 'Volume Down' buttons and press the'Power' button to boot the phone into FastBoot Mode.

    c. Goto your Control Panel on your PC and open the Device Manager. You want this

    open so you can see the FastBoot driver is installed or so you can install it manually.

    d. Connect the usb cable. In the Device Manager a new item called 'Android 1.0'should pop up and then the driver should install automatically. Once it is installed you will have a new section in the Device Manager called Android Phone without an "!" meaning its installed correctly.

    MAKE SURE YOU ENABLE USB DEBUGGING IN SETTINGS, DEVELOPER OPTIONS BEFORE CONNECTING THE USB CABLE IN ADB MODE SO THAT THE PC CAN DETECT THE PHONE PROPERLY.

    Note 1: If the driver doesnt install automatically then double click on the Android 1.0 item, then click on the driver tab and select 'update driver'. Select 'b

    rowse my computer' and browse to the Google Nexus 7 ToolKit\driver folder. Drivers should then be installed correctly.

    --------------------------------------------------------------

    2. USING MSKIPS' GOOGLE NEXUS 7 TOOLKIT

    a. Download the Google Nexus 7 ToolKit package and run to install the ToolKit toyour PC. The installation will also create a Shortcut on your desktop called 'Nexus 7 ToolKit' for easy access. You now have the option to include or exclude the drivers files at installation so if you already have your drivers set up andare just updating the ToolKit then you can untick the drivers if you wish.

    b. Once the ToolKit is installed double click on the 'Nexus 7 ToolKit' shortcuton your desktop to run it. You can run the ToolKit with your phone in Adb or Fastboot Mode.

    c. When you enter the Main Menu you will see 'Fastboot Mode' and 'Adb Mode' at the top. If you have installed your drivers correctly then you will see your phones serial number under the mode you are in at the time. If you see this then your device is connected and you can carry on.

    d. Each option has full and detailed information on what it is and how to use it

  • 7/29/2019 Root Nexus

    2/5

    .

    e. When you want to EXIT the ToolKit please use the 'x' option from the Main Menu as this will terminate the adb process and not leave it running in the background.

    ----------------------------------------------------------------------------------------------------------------------------

    ChangeLog:ToolKit v4.0.0 (5th November 2012)+Added support upto JB 4.2.1 for wi-fi only model+Added support upto JB 4.2.1 for gsm/hspa+ model+Updated SuperSU to 0.99+Added stability to all root routines+Updated cwm Touch Recovery to 6.0.1.9+Updated twrp Recovery to 2.3.2.1+Added option to install root files via adb sideload+Added (already unlocked) question to 1-CLICK+Added all google images to download/flash section+Added choice to format/leave userdata partition when flashing google image+Added boot Stock Recovery to boot options+Updated version checker to work on future updates

    ToolKit v3.2.0 (11th October 2012)+Edited some of the root routines for more stability+Added option to enable/ask/disable Update Check at Startup+Added NEW 'Quick Picks' Donators Feature with 10 programmable Slots and 5 Tasksto choose (for now)+Added text about cwm not booting without usb+Improved Flash/Boot .img stability+Added latest TRWP Recovery 2.2.2.0 image for flashing+Added root/unroot section with new options+Added cwm unroot file for quick unroot via custom recovery+Added cwm root option for Superuser or SuperSU via custom recovery+Added 'Auto Update' check in Settings Screen so you don't have to restart the Toolkit to check

    +Added uninstall batch file for clean uninstall of all folders excluding the backups folder+Re-wrote lots of procedures and checked the entire code. Made edits to parts where neededModsSection V2.1.0 [11th Sept 2012]+Fixed Insecure Boot Image boot for Stock users who need it+Added 720P recording, increase 480P bitrate and increase camera quality

    ToolKit v2.0.0 (7th August 2012)+Added 'WHAT'S NEW' viewer to see what's in the Auto Update+Fixed several scripts which crashed on non UK languages+Added auto reboot to fastboot option if required+Checked over entire program for any required minor tweaks and fixes

    +Updated driver inf file for more compatibility+Added pause after adb root commands+Wrote New Date/Time Stamp script to work across all Regions+Integrated script into all required features in ToolKitNote: This should fix all errors caused by incorrect stamp in ALL Backup Tasks,LogCat Dumps + several other tasks

    ToolKit v1.1 (1st August 2012)+Initial releaseQ. What is ADB Shell?

  • 7/29/2019 Root Nexus

    3/5

    Adb shell is a linux command line tool (because android is based on linux) usedto send commands to your android device. For S-ON devices, this is crucial for modifying files in the /system partition (where the rom sits) as you cannot modify anything in /system when the rom is running without S-OFF (e.g removing systemapps).

    From Google:

    Android Debug Bridge (adb) is a versatile tool lets you manage the state of an emulator instance or Android-powered device. It is a client-server program that includes three components:A client, which runs on your development machine. You can invoke a client from ashell by issuing an adb command. Other Android tools such as the ADT plugin andDDMS also create adb clients.A server, which runs as a background process on your development machine. The server manages communication between the client and the adb daemon running on an emulator or device.A daemon, which runs as a background process on each emulator or device instance.

    ----------------------------------------------------------------------------

    Q. What is FASTBOOT?

    Fastboot is 2 things. It is a mode on the phone, which looks a little like Bootloader. You can access it by holding 'Volume Up' and 'Volume Down' whilst turningon the phone.

    It is also a way of flashing radios, recovery, boot images and system images ina command line method from a PC much like adb.

    ----------------------------------------------------------------------------

    Q. I flashed CWM but each time I reboot the Stock Recovery is back

    There is an auto recovery restore system on certain Stock Android Builds that wi

    ll reflash the Stock Recovery if you flash CWM on a Stock Rom.

    Use Root Explorer to Mount the system folder as R/W (or use a free app from Google Play such as ES File Explorer). Rename the files /system/recovery-from-boot.pand /system/etc/install-recovery.sh. Now when you flash CWM Recovery it will NOT be overwritten after a reboot.

    OR you can use the ToolKit to rename the files.

    ----------------------------------------------------------------------------

    Q. I want to send my phone back so I need to flash a stock rom and relock the bootloader

    1. Download, install and run the Google Nexus 7 Toolkit.2. Install adb/fastboot drivers (if you havent already done so)3. Option 9 to download a Google Factory Image.4. After it finishes downloading you will be given the option to flash the imageto your tablet. Do this.4. Let the phone reboot, then shut the tablet down and reenter fastboot mode (orboot to fastboot mode via the Reboot Screen in the ToolKit).5. Option3, 2 to relock the bootloader.

  • 7/29/2019 Root Nexus

    4/5

    Your internal storage will be formatted and data and cache wiped. Your tablet will now be back to an out-of-the-box FULLY STOCK state and ready to send back.

    ----------------------------------------------------------------------------

    Q. What is the difference between Nandroid and Titanium backup?

    A NANDROID will backup the whole system including boot, system, data and recovery partitions so you can restore a complete rom and all data and settings.

    Essentially Titanium Backup is used to backup apps and associated user data. These could be restored AFTER a full wipe and a new Rom had been flashed on your phone.

    The other option now which google added into the new adb command list is the adbbackup which is in the ToolKit and can do the same job as Titanium Backup but will store the data on your PC rather than on the phone (where it takes up spaceand could be deleted).

    ----------------------------------------------------------------------------

    Q. When I try to open the ToolKit I get a box pop up for a split second and thenit goes away. My AntiVirus program says the file may be harmful.

    The exe files I compiled are not digitally signed with a Microsoft certificate (as they cost money) so certain AntiVirus programs (mainly Norton) will pick it up as potentially harmful when it is not. They will pick up ANY file that doesntcontain a purchased Microsoft certificate in the same way. Restore the deleted file and exclude it from further scans and it will be fine.

    ----------------------------------------------------------------------------

    Q. The ToolKit recognises my tablet in adb mode but not in fastboot mode (or other way round).

    Open the Device Manager on your pc and then boot your tablet into fastboot modeor adb mode (dont plug the usb cable in yet). Make sure USB debugging is enabled

    on your tablet in settings, developer options. Plug the cable in while watchingthe Device Manager and determine which item is added to the list with the device plugged in. Once you have found it right click on the item and select update driver. Select 'browse my computer' from the list and then browse to the 'drivers' folder in the ToolKit folder (wherever you installed the ToolKit to). Make sure sub folders is ticked and click next. Hopefully the driver will be picked up and installed.

    You can check if a driver has been installed by looking at the top of the Main Menu in the ToolKit while in fastboot mode and adb modes. If a serial number is displayed in each mode then it will work fine.

    ----------------------------------------------------------------------------

    Q. After I flash CWM Recovery I cannot boot to it from Fastboot Mode.

    This can easily be fixed by plugging in the USB cable before booting to Recoveryor by downloading the Quick Boot app or Rom Manager from google play. You can then boot into Recovery without any problems.

    ----------------------------------------------------------------------------

    Q. Can I back up my apps before unlocking the Bootloader so I don't lose everyth

  • 7/29/2019 Root Nexus

    5/5

    ing?

    Performing an APPS BACKUP (option2, 1) will backup all apps that were installedafter you first used your device. This will include any associated user data (such as settings or high scores for games) and apps you installed from Google PlayStore. Just follow the recommended options and remember to turn your phones screen on before starting it as you need to confirm on your screen.

    This option will NOT require your bootloader to be unlocked first.

    You can also backup your Internal Storage without unlocking using option 2, 3 from the main menu. This will backup anything you store on your Internal Storage such as game data, music, videos. This is just pulled from your /data/media folder so you can view or edit the files on your pc after they have been pulled.

    You can then unlock the bootloader (wiping your device) and retore the apps (option 2, 10) and Internal Storage data (option 2, 11) after doing whatever you want to with your device.

    The only thing you cannot do with the ToolKit is to save the system settings butsome of those are backed up by google if you chose that option when turning your device on the first time.

    ----------------------------------------------------------------------------

    Q. I am having trouble getting adb working with the drivers installed

    Try switching your connection type from 'media' (MTP) mode to 'camera' mode (P2P). To do this open the notification area, click where it says 'connected as' andchange from 'MTP' to 'PTP'.

    ----------------------------------------------------------------------------

    Q. I have Windows 8 and cannot install the drivers

    How to Disable Driver Signature Enforcement in Windows 8:

    From the Metro Start Screen, open Settings (move your mouse to the bottom-right-corner of the screen and wait for the pop-out bar to appear, then click the Gearicon).Click More PC Settings.Click General.Scroll down, and click Restart now under Advanced startup.Wait a bit.Click Troubleshoot.Click Advanced OptionsClick Windows Startup SettingsClick Restart.

    When your computer restarts, select Disable driver signature enforcement from the

    list. You can now load your modified driver. Reboot again once the driver is installed and all will be well.

    ----------------------------------------------------------------------------