[RECOVERY][TWRP][dragon]

Search This thread

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
April 1, 2017 .. and it's not an April Fools' Day Joke --> TWRP for Pixel C is official now !

https://twrp.me/google/googlepixelc.html

I would like to continue this thread for publishing test builds and other troubleshooting.
Once the changes are stable and tested I will merge them into TeamWin github for the next official build.

Known issues:
- FBE (file based encryption) is not working correctly, pls use FDE (full disk encryption) instead.

fwtool
The "fix fastboot" advanced menu item has been removed as it's not part of the official TWRP sources.
The fwtool is still existing (/sbin/fwtool) - only the menu item has gone.
If you need the fwtool, to fix fastboot, you can use it like before, but now you have to type the command into terminal inside TWRP.
For more details, pls have a look here .. http://forum.xda-developers.com/showpost.php?p=64777133&postcount=96

Installation:
Please install the new version from your current TWRP.
Pls make a "reboot to recovery" once you have installed the new version.
Of course you can install it via fastboot too.

Sources:
https://github.com/TeamWin/android_device_google_dragon
https://github.com/omnirom/android_bootable_recovery

DOWNLOAD:
https://drive.google.com/drive/fold...oaU1iazg?resourcekey=0-4krcBcSF3tnMFvgcP4kMvw

Have fun!

XDA:DevDB Information
[TWRP][dragon], Tool/Utility for the Google Pixel C

Contributors
followmsi

Version Information
Status:
Stable
Current Stable Version: 3.3.1-2
Stable Release Date: 2017-04-01

Created 2016-06-17
Last Updated 2023-01-11
 
Last edited:

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
Changes:

Official 3.7.0_9-1 (2023-03-25)
- Exclude MTP
- Restore stock values for init.recovery.dragon.rc
- Enable Screen Timeout
https://dl.twrp.me/dragon/twrp-3.7.0_9-1-dragon.img.html

Official 3.7.0 (2022-10-10)
- New official version -> https://twrp.me/site/update/2022/10/10/3.7.0-released.html

Official 3.6.2 (2022-06-01)
- New official version -> https://twrp.me/site/update/2022/06/01/twrp-3.6.2-released.html

Official 3.6.1 (2022-03-10)
- New official version -> https://twrp.me/site/update/2022/03/10/twrp-3.6.1-released.html

Official 3.6.0 (2021-11-28)
- New official version -> https://twrp.me/site/update/2021/11/28/twrp-3.6.0-released.html

Official 3.5.2 (2021-04-07)
- New official version -> https://twrp.me/site/update/2021/04/07/twrp-3.5.2-released.html

Official 3.5.1 (2021-03-17)
- New official version -> https://twrp.me/site/update/2021/03/17/twrp-3.5.1-released.html

Official 3.5.0 (2020-12-31)
- New official version -> https://twrp.me/site/update/2020/12/31/twrp-3.5.0-released.html

Official 3.4.0-0 (2020-06-22)
- New official version -> https://twrp.me/site/update/2020/06/24/twrp-3.4.0-0-released.html

Official 3.3.1-2 (2020-03-01)
- Script updates to improve encryption -> Thanks to updateing from Team Mokee !

Official 3.3.1-1 (2020-01-27)
- Script updates for Android 10
- Added more languages
- Fixed build issues
- New Kernel

Official 3.3.1-0 (2019-05-19)
- New official version

Official 3.3.0-0 (2019-04-10)
- New official version

Official 3.2.3-0 (2018-07-29)
- New official version
* Fix automatic installing of OTA zips on encrypted devices
* Remove SuperSU from TWRP
* Support both md5 and md5sum file extensions when doing MD5 checking for zip files

Official 3.2.2-0 (2018-06-30)
- New official version
* DRM changes

Official 3.2.1-0 (2017-12-18)
- New official version

Official 3.2.0-0 (2017-11-29)
- New official version

Official 3.1.1-1 (2017-09-15)
- Including all changes for Oreo and for better en/decryption from unofficial V1 and V2

Unofficial 3.1.1-0 twrp-3.1.1-0-dragon-Android-O-v2.img (2017-09-11)
- New "pulldecryptfiles.sh" to copy all "bin" and "lib64" files from system/vendor partitions.

Unofficial 3.1.1-0 twrp-3.1.1-0-dragon-Android-O.img (2017-07-31)
- Official TWRP Nougat ramdisk mixed with new Oreo kernel binary to support Android 8.0 (SDcardFS .. etc.)

Official 3.1.1-0 (2017-05-17)
- Upgrade to 3.1.1-0

Unofficial 3.1.1-0 (2017-05-14)
- Latest TWRP changes (3.1.1)
- Latest kernel sources (2017-05-12)
- Latest LineageOS changes (Android 7.1.2)

Official 3.1.0-0 (2017-04-01)
- Removed "Data (incl. storage)" partition for usb-otg backup of "complete" data partition.

3.1.0-2
- Custom installer script problems should be fixed now.

3.1.0-1
- Removed all the FBE changes - will take longer to get it running on dragon :)
- Added NTFS-3G support for NTFS R/W -> USB-OTG
- Used new kernel binary with changed F2FS config

3.1.0-0
- @dees-Troy just tagged version 3.1.0 - made a new version based on latest sources.
- Added some more config changes for FBE.

3.0.3-4
- Used latest TWRP and AOSP soruces and enabled some features for FBE encryption.

3.0.3-3
- Added "Data (incl. storage)" partition for usb-otg backup of "complete" data partition
- fstab modification (usb-otg -> auto)

3.0.3-2
- F2FS enabled
- tegra-3.18 kernel -> v170210 (ntfs + f2fs enabled)

3.0.3-1
- Based on Android 7.1.1 AOSP -> android-7.1.1_r14
- Based on TWRP branch for Android 7.1
- tegra-3.18 kernel -> v170208 (ntfs + f2fs enabled)

v23
- Based on Android 7 AOSP -> android-7.0.0_r3
- Based on TWRP branch for Android 7
- tegra-3.18 kernel -> v160907

v22
- Based on Android 7 AOSP -> android-7.0.0_r1
- Based on TWRP branch for Android 7
- chromeos-3.18 kernel -> v160823
- Maybe not fully working as v21 due to new sources.

v21
- Added BRIGHTNESS PATH ... Thx to @ggow

v20
- Added Battery PATH ... Thx to @ggow

v19
- "Failed to unmount `/system `(Device or resource busy)" - Finally fixed now :)
- New versioning

v18
- MTP is working in recovery now !
- Added dragon keyboard layout files

v17
- "Failed to unmount `/system `(Device or resource busy)" - Not fully fixed - hopefully soon !
- chromeos-3.18 kernel -> v160618

v16
- ADB shell was not working in recovery - fixed now !
- chromeos-3.18 kernel -> v160617
 
Last edited:

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
Well done to both you and NYChitman!

I have noticed that when I go to make a backup, it finishes but is unable to unmount partitions after the backup saying that it is busy. If I reboot I am able to mount and unmount properly

Sent from my Nexus 6 using XDA-Developers mobile app

Thanks for the feedback ..

Did you install something before .. maybe still mounted from before ?
Or you just made the backup only ?

Which partitions did you backup ? .. system as well .. or just data ?

Pls post recovery.log on pastebin.com .. helps a lot !

Thanks
 

YevOmega

Senior Member
Aug 17, 2012
728
372
Hey. I'm back. Considering taking the risk and installing TWRP again. Will I still be able to take OTAs? No, right?
 

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
N4 + Update.ZIP_PixelC_Ryu_NPD56N-system-vendor.zip (flashed via fastboot) +TWRP_dragon_3.0.2-0_v16.img.

loop boot recovery..I tried everything but no chance to boot into system again

You did flash system-vendor update.zip via fastboot ?
No good idea.

The kernel and the TWRP are fine to flash via fastboot, but not the system.img and vendor.img.
Like written on first page of the updatr.zip thread.

Pls install the package via TWRP.
Or use unmodified stock image from Google for fastboot.

For recovery bootloop I know only "fastboot reboot".
I had the bootloop once myself, as I still was on M, but the command did help me.
 

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
Hey. I'm back. Considering taking the risk and installing TWRP again. Will I still be able to take OTAs? No, right?
I am not the OTA User ;)
As I know, the tool "flashfire" from Chainfire should handle the whole OTA process smoothly.

The Update.zip packages I do anyway, because I am used to it .. over the years.
Did this for Nexus Flo ... Nexus 10 as well.
For Pixel C I just publish them, because nobody as else is doing it.
Look in Flo and manta xda .. They have these packages too, done by others.

Because of all the problems with OTA .. in the past ..and still today.

Today we have systemless root and regular OTA...times are changing.

Maybe it's time for something like flashfire in the next time .. ;)
 

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
sorry I made a typo :
I meant Update.ZIP_PixelC_Ryu_NPD56N-kernel-dragon.zip ( I extracted boot.img)
This should work .. the boot.img is just stock.

Were you rooted and decrypted before?
You did install SuperSu afterwards ?

And 'fastboot reboot' did not help either ?

People have reported they had to go back to M to be able to boot again.
There was one recovery bootloop with stock recovery as well ,;)

Maybe you try another kernel (boot.img) too ?
A fresh one .. below from the stock kernel ;)

Strange issue .. for me not reproducable at all!

Sorry, can't help you better ..
 

ilpolpi65

Senior Member
Aug 30, 2012
339
54
Monza
Nothing Phone 1
Google Pixel 7
This should work .. the boot.img is just stock.

Were you rooted and decrypted before?
You did install SuperSu afterwards ?

And 'fastboot reboot' did not help either ?

People have reported they had to go back to M to be able to boot again.
There was one recovery bootloop with stock recovery as well ,;)

Maybe you try another kernel (boot.img) too ?
A fresh one .. below from the stock kernel ;)

Strange issue .. for me not reproducable at all!

Sorry, can't help you better ..

True... It's really strange..but..pixel c too is a strange device...:)

anyway thanks for your help !
 

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
Yup... just the system partition.

v17
- "Failed to unmount `/system `(Device or resource busy)" - fixed now
- chromeos-3.18 kernel -> v160618

Please have a try with v17.
My problems are gone .. no more warning messages while doing backup or restore.

"Failed to unmount `/system `(Device or resource busy)"

Pls test as well !

Thanks
 

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
sorry for all this quick releases today .. this is the last one for now ! :)

but when something new is working .. I would like to share it with you ...

v18
- MTP is working in recovery now !
- Added dragon keyboard layout files

Enjoy !
 

redukt

Senior Member
Mar 4, 2009
568
238
Berlin
Samsung Galaxy Note II
i9100
Moah ey..... Yesterday I may had need it urgently ´cause I can´t restore a nandroid lol - this fuxxing mount issue... ;)

Well but a clean flash and set up the device completely new is always a pleasure - isn´t it? ;)

Will test it asap and thx again for your hard work :)
 

followmsi

Senior Member
Oct 10, 2013
4,245
13,277
Moah ey..... Yesterday I may had need it urgently ´cause I can´t restore a nandroid lol - this fuxxing mount issue... ;)

Well but a clean flash and set up the device completely new is always a pleasure - isn´t it? ;)

Will test it asap and thx again for your hard work :)

Today I have made 3 backups and restores ;)
No problems or messages so far ..

But pls test on your device as well .... On Pixel C you never know ;)

Cheers
 

Top Liked Posts