yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] danarama:
No, me neither.
[Nexus 6  Original Android Development] cyberon:
No EFS backup on 2.8.7.1.?
[Nexus 6  Original Android Development] sansnil:
I had the same thought - but I did see mentioned in the release notes it's intended more for devices where the OEM doesn't make the images available which is a valid use case. I've never had issues just as you said because I'm always stock AOSP but I could see how it's useful for others.
[Nexus 6  Original Android Development] henrybravo:
It's there, just scroll down within the partition subsection and you'll see it. It's below the Recovery option.
[Nexus 6  Original Android Development] wrydgj:
I just flashed 2.8.7.1 version, but the apk from playstore still shows 2.8.6.0 and keeps crashing when I try to check for updates("recovery version to install") I'm on 5.1.1 stock rooted(with lean kernel if that makes a difference)
[Nexus 6  Original Android Development] z31s1g:
If the apk from playstore is twrp manager, don't trust it. Important is the version number you see in recovery.
[Nexus 6  Original Android Development] dawiseguy77:
New version not on the app how do I install new version?
[Nexus 6  Original Android Development] z31s1g:
Download the image and flash it from within recovery (on install page toggle "image" mode in the lower right corner, the select the image and flash away). Or use flashify if you want to use an app.
[Nexus 6  Original Android Development] :
I had no idea of that option within TWRP. Thank you! :)
[Nexus 6  Original Android Development] casonswag:
Just download flashify and u can download the latest twrp and flash it in the app
[Nexus 6  Original Android Development] Megaflop666:
Even easier, download it and install it in twrp if you already have twrp. Click install, choose images, and flash it and reboot twrp... Done
[Nexus 6  Original Android Development] danarama:
That's not easier. Not saying its harder but definitely slower than using flashify.
[Nexus 6  Original Android Development] Megaflop666:
Hmmm... Only takes me about a minute total with reboots, idk, never seemed slower.

Was just wanting to throw it out there since it seems most people don't even know twrp can flash boot and recovery images. [emoji106]
[Nexus 6  Original Android Development] danarama:
Only slightly slower ;)

Flashify will download and flash from within 1 app.

good point :)
[Nexus 6  Original Android Development] spaceman860:
You can't flash bootloader image with twrp. You can flash a boot (kernel) image.

Sent from my Dirty Nexus 6
[Nexus 6  Original Android Development] :
Actually, you can. :)

http://xdaforums.com/showthread.php?t=3066052
[Nexus 6  Original Android Development] danarama:
I think he means a direct unpack of an .img file to the respective partition natively rather than a zip with an updater-script, but yeah, you can flash anything in a zip if you want :)
[Nexus 6  Original Android Development] spaceman860:
You can flash a bootloader zip not a image

Sent from my Dirty Nexus 6
[Nexus 6  Original Android Development] shiznu:
Bootloader images or boot images? Edit My bad didn't read ahead
[Nexus 6  Original Android Development] Megaflop666:
Meant boot, sorry. I had only had one cup of coffee when I replied. Than you for the correction.
[Nexus 6  Original Android Development] tdamocles:
I just noticed that if I backup something in compression mode in 2.8.7.1, I cannot fully restore that backup. It just takes 30 seconds to not fully restore the full backup(just barely gets to restore system image) and it automatically reboots and bootloops. If I go back to 2.8.7.0, I then can restore that same compressed 2.8.7.1 backup.

Sorry, upon further inspection I noticed that I was trying to restore system image on top of all others(data, system, boot, etc) which caused the problem. I will no longer be saving system image. I'm not clear of what use it is.
[Nexus 6  Original Android Development] adrman:
I just finished a successful 2.8.7.1 compressed restore of system, data and boot.
[Nexus 6  Original Android Development] :
Been using 2.8.7.1 since it dropped and flashed, backed up and restored several times with no issues.
[Nexus 6  Original Android Development] luizffgarcia:
I can confirm that trying to restore system image breaks everything.

I am also intrigued what is the usage of this...
[Nexus 6  Original Android Development] bruce7373:
My understanding is that it's a way to keep an unmodified system partition in order to take OTAs. But, if you can't restore it properly, what good is it? Is it possible to switch out the system backup of a regular Nandroid with it, and restore it along with boot & data?

Sent from my Nexus 9
[Nexus 6  Original Android Development] rauschkugl:
Scroll down ;)
[Nexus 6  Original Android Development] ncdub:
With 2.8.7.1 I am having trouble making backups. It seems to hang on backing up system. Error 255. What am I doing wrong? Makes no difference if compression is enabled or disabled. Anyone else experience this and can't point to a fix?
[Nexus 6  Original Android Development] goti(0):
I'm experiencing pattern error issue with 2.7.8.0 I have tried all pattern that i have ever used nothing is working for me.

Sent from my Nexus 6
[Nexus 6  Original Android Development] ncdub:
FIXED... Somehow. went back to 2.8.6.0 -
[Nexus 6  Original Android Development] itsnie:
hii, can someone explant to me, how to resize my system partition?

Sent from my waifu
[Nexus 6  Original Android Development] MandoH:
Anyone have a Zip ????
[Nexus 6  Original Android Development] grv00711:
help ... accidentally wiped phone ...stuck in twrp ..,.nothing on nexus 6 internal tried to move rom and gapps zip from computer to flash no luck .. can anybody explain sideload for twrp ... factory image /?
[Nexus 6  Original Android Development] SweetwaterBurns:
If you wiped everything, including user data and SD card, go to https://developers.google.com/android/nexus/images and follow the directions to get back to stock. Everything on the phone will be erased. From there you can reflash twrp and root and do what you need to do.
[Nexus 6  Original Android Development] grv00711:
thank you..!
[Nexus 6  Original Android Development] Mao04:
Just load your favorite rom on a USB drive and plug it into the otg port. You can flash it in twrp from there. No need to mess with going back to stock and starting over. I think there is even a way to use twrp to flash a rom that's on your PC to your phone, while it's plugged in, but I've never tried that.
[Nexus 6  Original Android Development] ridobe:
Has anyone had success restoring an M2 backup? Mine successfully restores but then won't boot.
[Nexus 6  Original Android Development] david279:
won't boot with twrp installed. gotta go back to stock m2 recovery. ive been just booting the recovery instead of full installing it.
[Nexus 6  Original Android Development] ridobe:
Thanks for that. So, quite doable with fastboot. Is there a way to do this from just the phone itself?
[Nexus 6  Original Android Development] david279:
no nothing phone only. i tried all sorts of things and it just wouldn't boot for me with twrp installed. And i don't think the twrp team will deal with it till M is fully released.
[Nexus 6  Original Android Development] ridobe:
Agreed. I guess just don't tinker too much away from home, haha. Thanks for the information.
[Nexus 6  Original Android Development] micmars:
Yes, complete restore of M2 Preview, no issues whatsoever.
[Nexus 6  Original Android Development] ridobe:
Really? With TWRP or CWM? Installed or just booted? Interesting.
[Nexus 6  Original Android Development] micmars:
Installed, customized my setup (removed a ton of system app folders like Google Sheets, Slides, etc...added themed apps such as hangouts, YouTube, etc...added viper4android, added layers), backed up in TWRP 2.8.7.1, and was able to restore a few different iterations...and switch between a few different 5.1.1 roms in the process.

I played with the M2 developer preview on and off for a couple of hours this past weekend, and though I won't be using it daily, it is nice to discover new features headed our way.
[Nexus 6  Original Android Development] michmeister:
I also restored m2 preview with twrp 2.8.7.1. No issues at all.
[Nexus 6  Original Android Development] D3VI0US:
After I re-encrypt my phone and installed M Preview now when I got back to 5.1.1 and try to access TWRP it will always ask me for password .. is there is anyway to disable this ?
[Nexus 6  Original Android Development] :
Do you have it set to ask for password at boot? If so, remove your pin code and then add it again. It will ask if you want a password at boot.
[Nexus 6  Original Android Development] paroulis:
Same problem for me with TWRP 2.8.7.1 (nexus 6). Ιt is impossible to restore any backup other than some of the stock rom. Something goes wrong with the system mount.

I put the older version 2.8.6.0 but it no longer see the system image nor for backup nor to restore to existing backups.

Practically, the nexus is almost useless...
[Nexus 6  Original Android Development] obtained:
On 2.8.7.1

The only way i'm able to restore a rom is:

1. Wipe everything

2. Install ROM zip and GAPPS

3. Restore only data and boot

4. Reboot

Restoring System seems to work fine, but System Image will absolutely not work.
[Nexus 6  Original Android Development] Surge1223:
[MENTION=912474]Dees_Troy[/MENTION]

Would it be possible for you to use a newer busybox in sbin? The unzip in the 1.21 bionic is ancient. The one in 2.6.x worked fine?

I had to use a workaround that assumes the user has busybox installed in /system/xbin

If I don't do that I get the unzip errors about 1 and 8. Unless you have any ideas how I can use the tools in the included busybox to unzip without using unzip.

Thanks.
[Nexus 6  Original Android Development] Darian71:
Anyone have any idea as to what has happened with my N6? Lol. I've been on the M preview Bootloader, Euphoria Rom, Despair kernel and TWRP 2.8.7.1 for nearly a month now with no issues backing up my system to try another. But tonight, I deleted my backup so that I could make a fresh backup to flash a new Rom for testing and got this error. The only thing I've done differently in the past 7 days is flash the XtraSmooth 5.1.1 Rom found here ( http://xdaforums.com/showthread.php?t=2998811 ) lastnite but didn't like it so restored my nandroid. Thanks.
[Nexus 6  Original Android Development] adrman:
Haven't ever seen this error (knock on wood), but I noticed you're backing up 4 partitions. A normal nandroid would be 3, system, data, boot. Any chance you have "system image" checked off as well?
[Nexus 6  Original Android Development] Casper34:
Is that partition mounted? Sounds like its looking for your folder but its not there, or mounted.
[Nexus 6  Original Android Development] Darian71:
I normally only backup 3 partitions as that is all that will restore anyway. In this instance I was just trying system image to see if it made a difference. I did check the mounting and it showed everything mounted as usual so I got to thinking there's 2 possible reasons, 1 being the ROM I flashed, or 2 being I cleared my boot loader logs a day ago to get my battery percentage back in sync. So I decided to just wipe the system partition,flash my Rom I'm currently on,wipe caches and rebooted. Then went back into TWRP and it was fixed. Not exactly sure still what happened but I found a fix for anyone who happens to encounter this. Thanks a lot for the replies and help. :sly::thumbup:
[Nexus 6  Original Android Development] adrman:
If I'm reading the first paragraph here correctly, the system image backup is only to be used as a way to return to factory images in order to receive ota updates. I'm not sure how this is supposed to apply to the Nexus as we have factory images available to us.
[Nexus 6  Original Android Development] flashallthetime:
Deleted sorry guys
[Nexus 6  Original Android Development] wtherrell:
While you're at it, there are some other sorry guys I would like to see deleted as well!
[Nexus 6  Original Android Development] chief2842:
So I've finally installed the latest version of TWRP on my Nexus 6 but I am having a problems flashing a rom once in TWRP. I can chose the file I want to flash in TWRP but it's not let me slide to the right to flash the rom. Anyone else having this problem?
[Nexus 6  Original Android Development] str8str:
Sounds like an issue with the file. If not reflash twrp and check settings

---------- Post added at 21:00 ---------- Previous post was at 20:48 ----------

Yes it's for people who have their phone n6 stock and want to take a copy of the system image before any mod is made so they can restore it and take ota updates when wanted.
[Nexus 6  Original Android Development] chief2842:
Thanks still a no go. The first time I installed 2.8.7.1 flashed the img file using fastboot. This second time around I used flashify and Im still not able to swipe to flash any file. I've attached a screen shot.
[Nexus 6  Original Android Development] micmars:
Just as an FYI, it looks like you're flashing an old file (I don't believe that themed combo is current to the latest versions of either calendar or Google App)...I'd suggest removing the theme you're running, dialing down your version of TWRP (to, say, 2.8.6.0), then updating it back to 2.8.7.1...although I'm pretty certain the theme isn't the issue, I still think that it's better to start with a clean slate.
[Nexus 6  Original Android Development] z31s1g:
Update the theme. There was a change in the theme engine regarding the placement of sliders.
[Nexus 6  Original Android Development] chief2842:
Thanks, its been awhile since I've messed with themes how do I do that?

Edit: I removed the theme now back in business. Thanks again.
[Nexus 6  Original Android Development] z31s1g:
On your internal storage, go to /sdcard/TWRP/theme and delete the ui.zip.

Download a up to date version of the theme you're using from here:

http://xdaforums.com/showthread.php?p=57803982

Or try my flavor from here (there are also black versions available made by other users if you prefer a "blackout style":

http://xdaforums.com/showthread.php?p=56224195

Either way, rename the downloaded zip to ui.zip. and copy it to the theme folder. Reboot to recovery, swipe away... ;)
[Nexus 6  Original Android Development] chief2842:
Thanks
[Nexus 6  Original Android Development] jcsww:
With the IMG file flashing. How does that work? I'd like to use TWRP to flash the LYZ28J to my phone instead of Fastboot. Is it fairly similar to using Fastboot or are there other things I should be aware of?
[Nexus 6  Original Android Development] Megaflop666:
Flashing images in twrp is only for boot and recovery images. You click install, select images, select your image and flash it. Very simple.
[Nexus 6  Original Android Development] jcsww:
Does that mean I can't or shouldn't flash the IMG files within a Google factory Image with TWRP? I am not too familiar with TWRP so forgive me for the noobish questions.
[Nexus 6  Original Android Development] npjohnson:
You can only flash the boot and recovery images DIRECRTLY through twrp. You can dd it from and shell (theoretically, never tried this).

Wipe system. Manually unmount system from twrp mounts, then Enter terminal in TWRP, and run su, then dd if=/sdcard/system.img of=/dev/block/platform/sdcc.1/by-name/system.

Should work. It will hang there for maybe 10 minutes? Then report success.
[Nexus 6  Original Android Development] david279:
Be careful with dd
[Nexus 6  Original Android Development] danarama:
Agreed
[Nexus 6  Original Android Development] npjohnson:
If you use the block #? Sure. Cause that's easy to flub up. If you use the partition name? No major danger, unless phones battery dies in those 10 minutes.
[Nexus 6  Original Android Development] ben_pyett:
Any one successfully restored a backup from 2.8.7.1 on 2.8.7.1?

Today, I tried, when i needed to restore after bad ROM install, kept jumping to Google logo mid way through restore.

So I reverted to the 2.8.6.0 and restore completed without a hitch.

Was this because I left system image ticked?
[Nexus 6  Original Android Development] danarama:
Sort of but people have had issues.

I restored /data only but it didn't seem to boot...I forced a reboot and it rebuilt all the ART Stuff the second time then seemed ok.
[Nexus 6  Original Android Development] NYCHitman1:
Why not just use fastboot? You do own a Nexus device, after all..
[Nexus 6  Original Android Development] cam30era:
Yes, I've had no problem. But as [MENTION=2872010]danarama[/MENTION] said, others have reported problems.
[Nexus 6  Original Android Development] adrman:
No problems here either.
[Nexus 6  Original Android Development] mrgwap:
Is there a zip I can just flash to upgrade? I'm on nexus 6
[Nexus 6  Original Android Development] adrman:
Use Flashify.
[Nexus 6  Original Android Development] ridobe:
If you already have TWRP installed, you can flash right from TWRP itself.
[Nexus 6  Original Android Development] treezy26:
what does "E: Unable to locate 'system_image' partition for backup process"?

E: unable to locate '/system_image' partition for backup calculations?

when in TWRP making a backup these errors pop up. I am able to complete the backup and restore with no issues, well so far I have...
[Nexus 6  Original Android Development] adrman:
Start reading from this post. It sounds as if you were attempting to do a system image backup.
[Nexus 6  Original Android Development] :
Or you can just download twrp image and enter recovery, hit install and select image in right lower corner and flash it that way. Works perfecto. :)
[Nexus 6  Original Android Development] adrman:
That works as well. I always just prefer Flashify because it (usually) will download the latest version and flash without digging around on techerrata.com for the image.
[Nexus 6  Original Android Development] maddoggin:
is this working good on android m?
[Nexus 6  Original Android Development] danarama:
It doesn't work on android at all. Recovery is completely separate to android. When you boot into recovery, android is not running.
[Nexus 6  Original Android Development] droidroidz:
I think he meant to use the word "compatible" with m
[Nexus 6  Original Android Development] Alxoom33:
Yes, perfectly![emoji12]
[Nexus 6  Original Android Development] danarama:
It doesn't need to be, that was my point.
[Nexus 6  Original Android Development] frozenpandaman:
I have TWRP 2.8.7.1 installed (running CM 12.1 – boots correctly and everything). However, when trying to update my ROM to the most recent version, no .zips show up in /sdcard under "Install". /data also appears empty. Trying to do a backup, it says "Unable to mount storage." In Mount, it says "Storage: Internal Storage (0MB)" – hence as it's unable to mount/read storage, it can't find the .zip to flash that I've downloaded.

I've tried reflashing the recovery via adb/fastboot to no avail.

Any tips on how to fix this? Thanks!
[Nexus 6  Original Android Development] Formhault:
Go back to 2.8.7.0?
[Nexus 6  Original Android Development] frozenpandaman:
Just tried this – still the same problem, and /sdcard (and /data) still appear empty (unable to be mounted/read).
[Nexus 6  Original Android Development] Formhault:
Wow, okay, that's beyond me. Perhaps the encryption went haywire or... the entire internal storage went bananas?! I don't really know, I thought it must be due to the recovery bugging out.

Try an unbrick tool to flash a stock image? Also, hope you have a backup of your internal memory. Here's a reminder to self : perform regular backups of internal storage... :eek:
[Nexus 6  Original Android Development] frozenpandaman:
Yeah, definitely weird. Never messed with any sort of encryption so I'd doubt that's the issue.

I still *have* all my data, internal storage, etc… it just can't be read/mounted from recovery. But my phone isn't bricked as it boots and functions all correctly – I just want to fix this (preferably without wiping data…) so I can update my ROM and be able to do nandroid backups!
[Nexus 6  Original Android Development] Formhault:
I'd backup the internal storage right now. Then flash a stock image. This looks really effed up, so who knows what else might go down. Flash a stock image as that's the best way to know everything is gonna be fine (right?).
[Nexus 6  Original Android Development] frozenpandaman:
Formatted/wiped the device (after backing up, of course) and suddenly everything in the recovery seemed to work (the time zone was constantly off/incorrect too, something which is now also fixed) – somehow the specific ROM was interfering with it, I guess? :) If that wasn't it, still no clue what was going on, but it's working (and updated) now!
[Nexus 6  Original Android Development] kipue:
Hello all,

I got a small question.

I'm using the latest 2.8.7.1, and last one I used was 2.8.6.0 on my OPO.

I noticed there is a new backup option (or is it Nexus 6 specific) to backup "System image" is it necessary to back this up?

I don't care really, it's just that it close to doubles the size of the nandroid, so I'm wondering if that's really necessary, without having to find out the hard way :)

Thanks ;)

EDIT:

Answering myself I think:

http://www.androidpolice.com/2015/0...creating-ota-friendly-system-images-and-more/

So, it's useful for the first ever backup of the system, right?

I'll still take any advice if anybody more knowledgeable has some to give!
[Nexus 6  Original Android Development] frozenpandaman:
OK, it's doing this again... works fine at first and then at some point, bam, Internal Memory 0MB and can't backup or mount in recovery. Not sure if this is an issue with just the recovery, or something IN memory/my data is messing it up...
[Nexus 6  Original Android Development] rawhide85:
Gettin' my N6 Saturday, look forward to flashing your recovery. +1

Sent from my SM-N900A running DynamicKat 7.1 by [MENTION=3105374]bri315317[/MENTION]
[Nexus 6  Original Android Development] mattmtx:
Hi, I have v2.8.7.1 and I can't use the USB OTG to do a backup. Anyone have the same issue and have a solution? please.
[Nexus 6  Original Android Development] Mistertac:
Is your issue just not betting able to see the OTG? If so plug it in then reboot recovery again and you'll see it.
[Nexus 6  Original Android Development] mattmtx:
I did that too, but the problems persist. TWRP shows me the internal and usb storage, but the internal with the free space and the usb in 0. I tried with two different otg usbs.
[Nexus 6  Original Android Development] 1Zero3forlife:
Glad to see you coming over from the Note 3.
[Nexus 6  Original Android Development] :
Honestly, if use multirom with a one of the holo themes out there. You get the benefits of twrp and of multirom.
[Nexus 6  Original Android Development] mattmtx:
Also I did a factory reset today for another problem, and I have the same issue with TWRP.
[Nexus 6  Original Android Development] pgilrene:
How to set password
[Nexus 6  Original Android Development] danarama:
You cannot set a password in twrp. If your device is encrypted and you have not set a password in android, you will use default twrp password.

If you want to use a password in twrp that isn't default, then set an android password.
[Nexus 6  Original Android Development] pgilrene:
I mean how to set password on twrp recovery. Everytime i go to recovery mode theres a "swipe to unlock" i thought it can have a pw.
[Nexus 6  Original Android Development] danarama:
Just told you.
[Nexus 6  Original Android Development] pgilrene:
Sorry but what do yo mean set pw on android? Lockscreen?? I need pass on recovery

Thank you
[Nexus 6  Original Android Development] danarama:
If your device is encrypted, twrp needs a password to access it. It will use the default twrp password if you haven't set a password in android. Otherwise it will use your android password.

It will only work on boot to recovery. If screen locks once in recovery, you will not be prompted for the password again.
[Nexus 6  Original Android Development] pgilrene:
Thanks a lot i know what to do now