[GUIDE] Unlock Bootloader, Install Custom Recovery, and Root the Pixel C (2/4/2016)

Search This thread

Alxoom33

Senior Member
May 18, 2011
5,128
1,836
New York
www.sack-ip.com
Been using it since it was published. I think in March or April. Works fine although sometimes the widget will fc. I just reinstall the apk and a is well!

Sent from my Pixel 2 XL using Tapatalk
 
Last edited:
  • Like
Reactions: m+a+r+k

kbal86

New member
Jun 25, 2014
2
0
Hi there,

I'm trying to root and flash a ROM on my Pixel C, however I keep having a weird issue.
I have unlocked the bootloader and have flashed TWRP

C:\Pixel C>fastboot flash recovery twrp.img
target reported max download size of 268435456 bytes
erasing 'recovery'...
(bootloader) erasing flash
OKAY [ 0.109s]
sending 'recovery' (11872 KB)...
OKAY [ 0.325s]
writing 'recovery'...
(bootloader) writing flash
OKAY [ 0.390s]
finished. total time: 0.825s

Then when I restart the tablet and go to open the recovery, it goes to the normal Android one and says 'No Command', whenever I've flashed TWRP it's always gone directly into that and never back into Android recovery.

Am I missing something?
 

kbal86

New member
Jun 25, 2014
2
0
Check out my post on this. I'm now using magisk 16.4 instead of superSU but the process is the same. http://forum.xda-developers.com/showthread.php?p=74789442

That was the exact post I was following actually, my only issue is TWRP isn't showing up.

The overall rooting procedure doesn't really change:
- Do initial configuration and let it finish setting up
- Enable developer options
- Enable USB debugging
- Unlock Bootloader from ADB:
adb reboot bootloader
fastboot oem unlock
fastboot reboot
- Install TWRP from ADB:
adb reboot bootloader
fastboot flash recovery <twrp img file name>
fastboot reboot-bootloader
- Hold the power button+VolumeDown (7-10 seconds) to get to the bootloader menu and select Recovery. TWRP should be there.
- Use TWRP install menu to Install SuperSU.


So these two aren't working for me, I flash TWRP and when I go into the bootloader it's not there.
Am I using a wrong version?
 

tevil

Senior Member
Aug 10, 2011
1,041
124
New Haven, CT
Google Pixel 4a 5G
guys so heres my issue, my screen stopped working after a few of the last android updates. I have no way to get into any settings to enable debugging or dev mode. All I can do is get to fastboot. Would I be able to unlock my bootloader and flash TWRP and a rom? Im trying to see if flashing to an older version or custom rom will fix this issue since it obviously started after their updates.

also I have no way to restore since my recovery partition is corrupted..... odd since this tablet has never been rooted at all.
 

Mother_Teresa

Senior Member
Jul 11, 2012
182
27
guys so heres my issue, my screen stopped working after a few of the last android updates. I have no way to get into any settings to enable debugging or dev mode. All I can do is get to fastboot. Would I be able to unlock my bootloader and flash TWRP and a rom? Im trying to see if flashing to an older version or custom rom will fix this issue since it obviously started after their updates.

also I have no way to restore since my recovery partition is corrupted..... odd since this tablet has never been rooted at all.

If you can boot to fastboot and use adb you can do a lot.
Check this older topic fe. and flash the kernel also, posted in Pixel C Android Development.

You can just boot to a TWRP recovery image without the need to have flashed it if you want.
 

tevil

Senior Member
Aug 10, 2011
1,041
124
New Haven, CT
Google Pixel 4a 5G
If you can boot to fastboot and use adb you can do a lot.
Check this older topic fe. and flash the kernel also, posted in Pixel C Android Development.

You can just boot to a TWRP recovery image without the need to have flashed it if you want.

I unlocked my bootloader and was able to boot to TWRP using the wugtoolkit. I was wondering though If I could install a custom ROM through that without having TWRP fully installed. If I install a custom ROM would I still need to worry about the force encrypt or would it pretty much wipe everything anyway?
Thanks

edit:

its just not working, I was wrong and it has to be hardware related. Even in TWRP it no longer works with touch. Im going to actually pull the thing apart, reseat some of the cable and clean it all up and see whats going on. Im disappointed that this pricey device didnt really last that long, I actully did like this tablet.
 
Last edited:

Mother_Teresa

Senior Member
Jul 11, 2012
182
27
I unlocked my bootloader and was able to boot to TWRP using the wugtoolkit. I was wondering though If I could install a custom ROM through that without having TWRP fully installed. If I install a custom ROM would I still need to worry about the force encrypt or would it pretty much wipe everything anyway?
Thanks

edit:

its just not working, I was wrong and it has to be hardware related. Even in TWRP it no longer works with touch. Im going to actually pull the thing apart, reseat some of the cable and clean it all up and see whats going on. Im disappointed that this pricey device didnt really last that long, I actully did like this tablet.

Hard to say what is what.
Can you manage to just flash some original image?
I would worry about the rest after you managed to get it to work etc.

The toolkit may be outdated also, I just make sure my PC has the drivers to connect to the device to push or load as I please.
TWRP needs not be installed, it can be just used when you let the device boot to a twrp image.
Again, flash a factory image with bootloader and all etc (will wipe device) and go from there.
 

tevil

Senior Member
Aug 10, 2011
1,041
124
New Haven, CT
Google Pixel 4a 5G
Hard to say what is what.
Can you manage to just flash some original image?
I would worry about the rest after you managed to get it to work etc.

The toolkit may be outdated also, I just make sure my PC has the drivers to connect to the device to push or load as I please.
TWRP needs not be installed, it can be just used when you let the device boot to a twrp image.
Again, flash a factory image with bootloader and all etc (will wipe device) and go from there.

I know its hardware now. I was able to boot to temp TWRP and it still didnt work so its not anything with googles software since TWRP is well before that. . My stock android recovery is blown out for some reason (little android with exclamation = no command) but can get to the further in reset menu. that worked once then not again. I figured if I could Cyo on there or something it might work again but without touch on the recovery menu for TWRP Im not getting to far.

I was thinking of just pulling the screen off and trying to heat gun the main board and see if a reflow might help. At this point Ive really go nothing else to lose as its just a big bright dead screen right now.
 

Alxoom33

Senior Member
May 18, 2011
5,128
1,836
New York
www.sack-ip.com
I know its hardware now. I was able to boot to temp TWRP and it still didnt work so its not anything with googles software since TWRP is well before that. . My stock android recovery is blown out for some reason (little android with exclamation = no command) but can get to the further in reset menu. that worked once then not again. I figured if I could Cyo on there or something it might work again but without touch on the recovery menu for TWRP Im not getting to far.

I was thinking of just pulling the screen off and trying to heat gun the main board and see if a reflow might help. At this point Ive really go nothing else to lose as its just a big bright dead screen right now.
Do you have adb and fastboot working?

Sent from my Pixel 2 XL using Tapatalk
 

Mother_Teresa

Senior Member
Jul 11, 2012
182
27
I know its hardware now. I was able to boot to temp TWRP and it still didnt work so its not anything with googles software since TWRP is well before that. . My stock android recovery is blown out for some reason (little android with exclamation = no command) but can get to the further in reset menu. that worked once then not again. I figured if I could Cyo on there or something it might work again but without touch on the recovery menu for TWRP Im not getting to far.

I was thinking of just pulling the screen off and trying to heat gun the main board and see if a reflow might help. At this point Ive really go nothing else to lose as its just a big bright dead screen right now.

It took me flashing my Pixel 2 XL to understand your issue.
I hope you did not break it yet ;)

The no command 'dead android' screen was new for me also.
In that screen press the power and click the volume-up. After the volume-up button is released you should get to the screen with a menu where you can choose, fe, to load 'adb mode'.
Also from there you can boot to 'bootloader' for sideload etc.
 
Last edited:

tevil

Senior Member
Aug 10, 2011
1,041
124
New Haven, CT
Google Pixel 4a 5G
The no command 'dead android' screen was new for me also.
In that screen press the power and click the volume-up. After the volume-up button is released you should get to the screen with a menu where you can choose, fe, to load 'adb mode'.
Also from there you can boot to 'sideload' etc.

yes I can get to that, thats how I was doing everything. Im learning these issues are all common with this tablet. To me this should call for some kind of recall on the device. this was not a cheap tablet. I havent opened it yet, just no time right now. The thing is I have a hunch that its not actually "the screen" thats the problem but something on the board causing the screen not to communicate with the rest of it. I thought trying the reflow might help. I tried chilling it in the freezer for a while first and that did nothing.
 

Mother_Teresa

Senior Member
Jul 11, 2012
182
27
yes I can get to that, thats how I was doing everything. Im learning these issues are all common with this tablet. To me this should call for some kind of recall on the device. this was not a cheap tablet. I havent opened it yet, just no time right now. The thing is I have a hunch that its not actually "the screen" thats the problem but something on the board causing the screen not to communicate with the rest of it. I thought trying the reflow might help. I tried chilling it in the freezer for a while first and that did nothing.

I bet you have a fair sense on such. Just wanted to make sure you managed to use that new menu (as it was new to me) ;)

Being able to flash all software would make me look for hw issue also if you get booboos.
I once opened up as much as I managed with a screwdriver of some laptop with a broken screen...
Poking here and there on a wire under the screen and wiggling/abusing it like the monster I am made the screen work.
It is now my backup pc.
 

tevil

Senior Member
Aug 10, 2011
1,041
124
New Haven, CT
Google Pixel 4a 5G
I bet you have a fair sense on such. Just wanted to make sure you managed to use that new menu (as it was new to me) ;)

Being able to flash all software would make me look for hw issue also if you get booboos.
I once opened up as much as I managed with a screwdriver of some laptop with a broken screen...
Poking here and there on a wire under the screen and wiggling/abusing it like the monster I am made the screen work.
It is now my backup pc.

Im going to give it all a shot. Have to break out my heat gun for it since the screen is basically glued in place. Maybe tonight if I get time. Ill def let everyone know what I find out. one major problem I have though is Im not able to actually shut the tablet down. Since I can only use the physical buttons all I can do it reset it so Ill be working on it all while its on which bothers me.
 
  • Like
Reactions: Mother_Teresa

tevil

Senior Member
Aug 10, 2011
1,041
124
New Haven, CT
Google Pixel 4a 5G
well took the screen off and wouldnt you know as soon as I disconnected the ribbons the screen no longer works at all. The lights on the back will turn on as if the tablet is working but the screen never lights up. Im assuming the screen has shorted. Im not going to buy another screen for this since its relativly pricey. Maybe if someone has a screen theyd like to sell cheap off their broken C or donate, Ill give it a shot and see if the screen is/was the issue or something internal. At least it might help solve other peoples issues.
Thanks all
 
  • Like
Reactions: Mother_Teresa

12paq

Senior Member
well took the screen off and wouldnt you know as soon as I disconnected the ribbons the screen no longer works at all. The lights on the back will turn on as if the tablet is working but the screen never lights up. Im assuming the screen has shorted. Im not going to buy another screen for this since its relativly pricey. Maybe if someone has a screen theyd like to sell cheap off their broken C or donate, Ill give it a shot and see if the screen is/was the issue or something internal. At least it might help solve other peoples issues.
Thanks all

Sorry you're having problems with your Pixel C.

I was too. However, I just bought my 2nd Pixel C from eBay for $122.00. It was in great shape and seems to be near new. Go take a look. They're going really cheap on eBay now. Probably way cheaper than a new screen.

Good luck!
 
  • Like
Reactions: tevil

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    The instructions in this guide are outdated and way more complicated than necessary. Once the official release of Android 7.0 Nougat becomes available/rooted, I will update the procedures in this thread. In the meantime, I recommend referencing this post along with the original instructions.

    A massive shout out to @cheep5k8 for all the hard work he did in getting root and recovery working on the Pixel C. Please donate to him if you can. He deserves it.

    Disclaimer: This will wipe your device. Backup anything important before you start. I mostly made this guide for selfish reasons. cheep5k8 has done a great job but some of the instructions are a little vague. I like being spoon fed and I wanted a resource to refer to in the future. You know the drill. If it breaks, not my problem. Post in the forums or hop onto the XDA IRC channel.

    There may be more efficient ways to do this, but this will get you where you need to be. If you find any problems or have any suggestions, feel free to reply (BE VERY SPECIFIC WITH STEPS) and I will do my best to update the instructions.

    Prerequisites:
    • ADB/Fastboot - Minimal ADB and Fastboot
    • ADB/Fastboot Drivers - I recommend using Wugfresh's Nexus Root Toolkit and using the full driver installation guide. Alternatively, you can install them yourself using the official Google Drivers (no installer)
    • An easy way to access the ADB prompt is to navigate to the directory that ADB is installed in, hold shift and right click inside the directory. This will give you an expanded right click menu that includes an option to "Open command window here." Select this option and a command prompt will open that is already in the ADB directory, saving you from having to do a bunch of cd nonsense. You can check to see if your device is recognized in ADB by typing "adb devices." If ADB and the driver are all working correctly, it should come back with something like "5A20001071 device." You can also check to make sure your device is recognized in fastboot by booting to the bootloader and typing "fastboot devices." It will show something similar.
    Necessary Files:

    Device Prep:

    Enable developer mode
    1. Go to Settings > About tablet
    2. Tap on Build Number 7 times until it says "You are now a developer"
    Enable OEM Unlocking
    1. Go to Settings > Developer options
    2. Enable OEM Unlocking
    3. Tap on Enable when a disclaimer pops up
    Enable USB Debugging (ADB)
    1. Go to Settings > Developer options
    2. Enable USB debugging
    3. Tap on OK when prompted with a disclaimer
    4. If the ADB USB driver has been installed, you will see a popup that says "The computer's RSA key fingerprint is: xx:xx:xx:xx(blah blah)"
    5. Check the box next to "Always allow from this computer"
    6. Tap on OK

    Unlock Bootloader:
    1. Open ADB prompt (see prerequisites)
    2. Input the following:
      Code:
      adb reboot-bootloader
    3. The device will now boot into the bootloader and say
      Code:
      Waiting for fastboot command...
    4. Input the following to unlock the bootloader:
      Code:
      fastboot flashing unlock
    5. You will be prompted on the tablet screen with a warning about unlocking the bootloader.
    6. Press the power button to unlock the bootloader.
    7. The device will reboot and say "Bootloader is unlocked and OS verification is OFF. Device will continue booting in 30 seconds." You will also hear an audible beep. You will then see the green android with some spinny stuff. This is the userdata being formatted.
    8. When complete, the device will boot back into the bootloader and say
      Code:
      Waiting for fastboot command...
    9. Boot back into Android by inputting:
      Code:
      fastboot reboot
    10. Your Pixel C will be reset, so you will need to re-enable USB debugging. Connect to your wireless network and then skip past everything else in the initial setup, as all of this setup info will be wiped again later on. Refer to the "Enable USB Debugging (ADB)" steps above to re-enable USB debugging.

    Install Custom Recovery:
    1. Open ADB prompt (see prerequisites)
    2. Input the following:
      Code:
      adb reboot-bootloader
    3. The device will now boot into the bootloader and say
      Code:
      Waiting for fastboot command...
    4. With the Pixel C in the Fastboot bootloader and the recovery file in your ADB directory, input the following:
      Code:
      fastboot flash recovery (replace with custom recovery filename).img
      Example:
      Code:
      C:\>fastboot flash recovery twrp-2.8.7.0-dragon-ryu-01082016-2.img
      target reported max download size of 268435456 bytes
      erasing 'recovery'...
      (bootloader) erasing flash
      OKAY [  0.054s]
      sending 'recovery' (13760 KB)...
      OKAY [  0.349s]
      writing 'recovery'...
      (bootloader) writing flash
      OKAY [  0.375s]
      finished. total time: 0.783s
    5. Reboot into Recovery using the physical buttons. If you reboot the device back into Android, it will write over the custom recovery with the stock one. This will be fixed in the future.
      Code:
      Power + Volume down until screen turns off, keep pressing volume down to boot into Coreboot Bootloader. Navigate to Reboot into Android Recovery with volume down and then press power to select.

    Install Root:
    1. In TWRP, navigate to Wipe > Format Data
    2. Type "yes" in the warning prompt and wait for the userdata partition to format. Again, this will wipe your tablet.
    3. Press the Home button at the bottom when the format is complete
    4. Navigate to Reboot > Bootloader to boot back into Fastboot
    5. In the ADB prompt, flash the new kernel:
      Code:
      fastboot flash boot (replace with xCeeD kernel filename).img
      Example:
      Code:
      C:\>fastboot flash boot xceed-kernel-google-dragon-02-01-2016-RC1.img
      target reported max download size of 268435456 bytes
      erasing 'boot'...
      (bootloader) erasing flash
      OKAY [  0.064s]
      sending 'boot' (6220 KB)...
      OKAY [  0.161s]
      writing 'boot'...
      (bootloader) writing flash
      OKAY [  0.197s]
      finished. total time: 0.426s
    6. Reboot into Android. The device may boot twice.
      Code:
      fastboot reboot
    7. Reboot back into Recovery. Power + Volume down until screen turns off, keep pressing volume down to boot into Coreboot Bootloader. Navigate to Reboot into Android Recovery with volume down and then press power to select.
    8. In TWRP, navigate to Mount and check only Data
    9. In the ADB prompt move su.img to /data:
      Code:
      adb push su.img /data
      Example:
      Code:
      C:\>adb push su.img /data
      5677 KB/s (33554432 bytes in 5.772s)
    10. In TWRP, navigate to Mount and uncheck Data
    11. In TWRP, navigate to Reboot > System
    12. Perform initial device setup
    13. Once you are at the home launcher, re-enable USB debugging (Refer to Device Prep)
    14. In the ADB prompt, install superuser.apk:
      Code:
      adb install Superuser.apk
      Example:
      Code:
      C:\>adb install Superuser.apk
      8612 KB/s (6227998 bytes in 0.706s)
              pkg: /data/local/tmp/Superuser.apk
      Success
    15. Install Busybox from the Play Store: link

    Congrats. You are now rooted (not in the Australian sense).
    6
    How To: Root the PixelC / Android N(7.0)

    I threw together a quick writeup, because why not :)

    Standard disclaimer: Perform these actions at your own risk. I take no responsibility for your actions, nor the outcome of any information/actions outlined below. If you don't know what you're doing, take the time to look around XDA and read, learn and ask questions. I'm not responsible for any damage, nor am I tech support.

    This post assumes the reader has some general competency around flashing, including but not limited to:
    • Your bootloader is already unlocked.
    • You have up to date adb and fastboot drivers available/installed.
    • You know how to install SuperSU from TWRP
    • You know how to flash the official android images from Google
    Make sure you're good with the above before proceeding further.


    Rooting:
    1. Following these steps will erase all data on your device - backup anything you want first.
    2. Fresh install Android N factory image from the official site - clean flash (flash-all) --Keep your life simple, don't mess around with a dirty flash on a major OS update
    3. Android N starts up as normal.
    4. Get SuperSU 2.76 on the device storage -- either from USB transfer from your computer or by downloading it with the tablet
    5. Turn USB debugging on in Android N
    6. Reboot to bootloader
    7. Flash followmsi's TWRP (3.0.2-21.img)
    8. Reboot directly to recovery (TWRP)
    9. Wait for a minute or three for TWRP to provide an interactive environment (not frozen, but looks like it for a bit)
    10. When TWRP Loads, swipe to allow modifications in TWRP (this can be tricky due to the very slow performance of TWRP-- just keep trying, I find a slow swipe works better; it can take multiple attempts)
    11. Now you're in TWRP proper - Install SuperSU as normal - again, be patient with the UI
    12. Reboot the device as prompted by TWRP - notice the warning that it can take a few minutes and/or loop a few times. Let it sit.
    13. Device reboots, probably more than once, this is fine.
    14. You're back in N - rooted -:good:
    5
    Yeah, ext4 is a filesystem -- you can't flash an image to that in TWRP.

    As for MTP access - it's not the fstab. It's the sysfs path which is different. The init.rc has to be modified to include this path creation for instances other than on boot.

    Thanks for your hints .. there were a few smaller issues.
    Finally I have manged it :)

    Uploaded new version .. as TWRP flashable zip !

    Update.ZIP_TWRP_dragon_3.0.2-0_v4.zip
    Just made a fresh backup to my usb-stick via USB-OTG .. :)

    Finally we can make OTG on Pixel C !

    Thanks for all your help ..

    Cheers
    4
    P.S. One thing to add, for those who bought SuperSU Pro, you can install that too from the Play Store instead of installing the APK, but at the moment, it will say that the su binary is outdated (because the xCeeD kernel comes with 2.66, but SuperSU is already at 2.67). There needs to be a somewhat better solution but it's a bit hard to come up with it.

    xCeeD v1-RC4 will have SuperSU updated to 2.67, and I'm thinking of how to make it possible to flash the normal SuperSU ZIP in TWRP. I will probably modify TWRP in some way to make that possible.