yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Original Android Development] Aboody Zomar:
Sorry for that I didn't notice this thread for nexus 7 !! ?

Actually I did Google search and found nothing !! But I flashed a stock based ROM and installed the latest version of TWRP using TWRP manager and then everything went smooth !! I think the problem was with some partitions or something like that !! Anyway thanks for ur reply ?☺
[Nexus 7 (2013) Original Android Development] 8thphloor:
[MENTION=912474]Dees_Troy[/MENTION] i want to submit this http://xdaforums.com/showthread.php?t=3064562 to your attention to let you know that some brand new devices (mainly flo, bought in 2015) face this strange issue trying to flash twrp on lollipop stock via adb/fastboot....twrp can't mount anything (sd 0Mb) and reports several mounting errors about /data, /cache,.......

...same behaviour with cwm and phliz recovery

no way to correctly flash recovery nor root the device.

trying to reboot of course it says "no os installed"...

btw system loads without issues and after a reboot obviously stock recovery is there again...

but...modded twrp for multirom works like a charm

mounts all partitions without problems and let us flash supersu and custom roms...

is it possible in some way to understand what's wrong with these devices and/or make official twrp fully functional?

thanks in advance for your interest and for your work as a team...i have twrp on all my devices...simply the best one ;)
[Nexus 7 (2013) Original Android Development] NRadonich:
I'm having the same issue too, brand new Nexus 7 2013 WiFi (Flo) and trying to Root with Wug's tool produces errors when booting TWRP.

I'm curious if we need to install TWRP from Play Store, *then* try to Root?
[Nexus 7 (2013) Original Android Development] madbat99:
The new nexus 7 that come with lollipop out of the box, you have to use multi-rom twrp.
[Nexus 7 (2013) Original Android Development] Ambious:
I'm trying to flash TWRP 2.8.6.1 on top of the brand new 5.1.1 factory image for deb (LTE model), and I'm getting a "FAILED (remote: size too large)" message when I do.

Any idea what I'm doing wrong?

Edit: 2.8.6.0, which is about 2MB smaller, flashed fine.

Guess 2.8.6.1 needs some compressing :P
[Nexus 7 (2013) Original Android Development] coolek33:
Which method do you use. Tried flashing img in recovery?
[Nexus 7 (2013) Original Android Development] Ambious:
No, used fastboot flash recovery.
[Nexus 7 (2013) Original Android Development] coolek33:
Then try flashing it while in twrp 2.8.6.0
[Nexus 7 (2013) Original Android Development] shyd:
Hi,

I tried both ways to flash the new image. Either ways result in the same error.

Then I came here hoping to find a solution.

cheers
[Nexus 7 (2013) Original Android Development] madbat99:
If its just a recovery .img file then just use flashify from the play store.
[Nexus 7 (2013) Original Android Development] magnamentis:
try to find version 2.8.6.1 as far as i know 2.8.6.0 produce for quite many errors of this kind, but was fixed quickly.
[Nexus 7 (2013) Original Android Development] Goodtill:
This worked for me. All drive mounted and accessible. You need to install via fastboot.

http://xdaforums.com/nexus-7-2013/nexus-7-2013-qa/mount-recovery-t3064562
[Nexus 7 (2013) Original Android Development] ahow628:
Same here. Strange. Doesn't matter much because root is about all I use recovery for.
[Nexus 7 (2013) Original Android Development] Ultraboss:
Same too !
[Nexus 7 (2013) Original Android Development] ableeker:
Same here.

Version 2.8.6.0 flashes just fine, but 2.8.6.1 fails. Then again, version 1 is 11 MB, while version 0 is 8 MB.
[Nexus 7 (2013) Original Android Development] CrashTestDroid:
It fails because it's too large. Using Flashify or Rashr gives the same result. Use 2.8.6.0 if you need TWRP.
[Nexus 7 (2013) Original Android Development] 00bofh:
2.8.6.1 and 2.8.7.0 are both "Too large" for both deb and flo.

Something in the auto-build script got set for debug flags perhaps?
[Nexus 7 (2013) Original Android Development] jisoo:
I've done a build of 2.8.7.0 which is the appropriate size (~9 MB), but I'm not sure if it would be inappropriate to post it here.

It's fairly straightforward to build against Omni's android-5.0 tree with just pulling the recovery files from the android-5.1 branch, and the android_device_flo from TeamWin repo.
[Nexus 7 (2013) Original Android Development] quickdraw86:
Wouldn't be against the rules to share a build in this thread, though it would be better to start your own thread so as not to hijack this one, and to avoid confusing anyone.
[Nexus 7 (2013) Original Android Development] maximusmullivan:
Finally was able to flash 2.8.7.0., used flashify. Looks like a new smaller build, 8.7MB, replaced the version that was out previously that was over 10MB

Sent from my VS985 4G
[Nexus 7 (2013) Original Android Development] Natakranta:
I confirm and thanks for reporting.

TWRP 2870 downloaded from:

https://dl.twrp.me/flo/

Flashed using TWRP 2861 Materialised theme flashify script and added splash screen in the process.

2870 themes are available already.

Though 2860 dark play theme I had seams to be working fine.

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[Nexus 7 (2013) Original Android Development] semdoc:
Flashed via Flashify... It doesn't boot into recovery.

Then rebooted into Fastboot mode:

xxxxxxxxxxxxxxxxxxxxx/FAstboot $ fastboot flash recovery twrp-2.8.7.0-deb.img
sending 'recovery' (11116 KB)...
OKAY [ 0.372s]
writing 'recovery'...
FAILED (remote: size too large)
finished. total time: 0.375s
xxxxxxxxxxxxxxxxxxxxx/FAstboot $ fastboot flash recovery twrp-2.8.6.1-deb.img
sending 'recovery' (11020 KB)...
OKAY [ 0.371s]
writing 'recovery'...
FAILED (remote: size too large)
finished. total time: 0.374s
xxxxxxxxxxxxxxxxxxxxx/FAstboot $ fastboot flash recovery twrp-2.8.6.0-deb.img
sending 'recovery' (8284 KB)...
OKAY [ 0.272s]
writing 'recovery'...
OKAY [ 0.457s]
finished. total time: 0.729s
xxxxxxxxxxxxxxxxxxxxx/FAstboot $ adb reboot

Probably need to use LZMA instead of GZIP for compressing the ramdisk during building.

The sizes of current official deb builds are still "LARGE".

EDIT: Guys, can you link me to any compatible TWRP theme? for 1200x1920 resolution...
[Nexus 7 (2013) Original Android Development] quickdraw86:
You're in luck, the magnificent materialised theme is available in that resolution...

http://xdaforums.com/showthread.php?t=2915584

And versions for 2.8.7.0 are already up. Looks great on Flo, especially if you repack a good splash with your recovery themed recovery.
[Nexus 7 (2013) Original Android Development] bcote311:
Should I continue to use the Multirom version of TWRP if I have a new Flo, or can I upgrade to this new version? Not sure if I need to stay on the multirom version forever or not...
[Nexus 7 (2013) Original Android Development] matt4321:
You can change, it doesn't affect multirom directly. Although if you ever flash new ROMs/Kernels or want to add a new kernel you will need the multirom TWRP back to fix things.

I'd suggest staying and wait for tassadar to update multirom twrp to 2.8.7.0, I can't imagine it's be that long
[Nexus 7 (2013) Original Android Development] freddienuxx:
Can flash on new tarp on deb? I only see download for flo

Sent from my Nexus 7
[Nexus 7 (2013) Original Android Development] quickdraw86:
No... It's there, you just need to look more closely...

https://dl.twrp.me/deb/
[Nexus 7 (2013) Original Android Development] freddienuxx:
Yeah I flashed that one and now it won't boot in recovery! Someone said file was to big! Something in that matter. And Thx for the link

Sent from my Nexus 6
[Nexus 7 (2013) Original Android Development] Benlardi:
Hi,

just to make sure we are talking about the same thing: TWRP 2.8.7.1. for deb (in my case).

I can't find it anywhere and surely not on the official repo. Is there a link to nightly builds or something like this?

2870 definitely prompts the "too large" error and 2.8.6.0 doesn't work in my case (will boot to recovery but won't boot to system afterwards - vanilla 5.1.1).

@ jisoo: can you maybe create a new thread or MP with download link?

In order not to create 2 posts, I also take the chance to ask about another issue. I saw that there was an encryption issue with latest twrp. Couldn't find any details. Is this only for users who have encrypted their device or for any user?

Thanks a lot and sorry for being noobish.

Ben
[Nexus 7 (2013) Original Android Development] jisoo:
Sorry I didn't specify, but I was talking about flo, not deb, so I can't help you there.

The good news is, though, that decryption does work, at least for me (I'm running a CM-based ROM updated about a week ago.
[Nexus 7 (2013) Original Android Development] bcote311:
Thank you! I'll just stay put as I flash new roms/kernels frequently
[Nexus 7 (2013) Original Android Development] N'ash:
I Can't install any version newer than 2.8.6.0. it says remote file too large (tried both with fastboot and twrp)

(Deb LTE)
[Nexus 7 (2013) Original Android Development] z31s1g:
2871 for DEB

2871 deb version is available for download:

https://dl.twrp.me/deb/
[Nexus 7 (2013) Original Android Development] fluther:
The download on the official TWRP site seems to have been fixed. OS X is reporting the size of the .img as 9.2mb, whereas when I first downloaded it it was 11.4mb. Now it flashes no problem, and it's the first TWRP for Flo since 2.8.2.2 that can decrypt cm12.1 properly!

Thumbs up here.
[Nexus 7 (2013) Original Android Development] ronf1011:
May be wrong place to ask but, I have both twrp and cwm recoveries on my N7 2013, how do I delete the cwm recovery from my tablet?
[Nexus 7 (2013) Original Android Development] madbat99:
You can't have both installed. There is only 1 recovery partition. When you boot recovery which one boots up? That's the one you have. Installing one over writes the other.
[Nexus 7 (2013) Original Android Development] ronf1011:
So cwm comes up when I boot into recovery, how would I change that to twrp, I prefer twrp, its installed in the tablet, but you're saying its installed but not active, how to change?
[Nexus 7 (2013) Original Android Development] maximusmullivan:
Use flashify or TWRP manager from the play store

Sent from my Nexus 7 2013
[Nexus 7 (2013) Original Android Development] madbat99:
If cwm boots up then twrp is not installed. I did not say it was installed but not active. I said only 1 recovery can be installed. There is only 1 recovery partition. To install twrp you have to download it. You can download a zip of it and flash it in cwm, or download the .img file of it and use fastboot to install it. Or as previously stated, you can get flashify from the play store and use that to install it. Flashify will download and install it for you.
[Nexus 7 (2013) Original Android Development] ronf1011:
Thanks I finally got it, twrp manager App, installed and goodbye cwm, also stopped rom manager, so again thanks for the helpful info.
[Nexus 7 (2013) Original Android Development] jaibar:
You may be mixing two different things- recovery is *not* an app that you install.

You don't need twrp manager nor cwm rom manager in order to use recovery. In fact, both mentioned apps are more trouble than good, you may be well better without that crap. My personal opinion.

Now that you say you have a working recovery, best thing to do is boot into recovery and make yourself a fresh nandroid backup. Always good idea and you get to practice and see how it works.
[Nexus 7 (2013) Original Android Development] sebachamaca:
Hey guys, flashed the lastest recovery to my recently obtained FLO, and while it boots into the recovery, it tries to run the OpenRecoveryScript and then just go on a bootloop with the TWRP splash screen. Any help please? I really want to install a custom ROM to give this device new life :(
[Nexus 7 (2013) Original Android Development] quickdraw86:
If you're trying to flash twrp and you're on stock android 5.0 or later, you need to use multirom TWRP:

https://s.basketbuild.com/filedl/de...//multirom/flo/TWRP_multirom_flo_20150630.img

The error on stock has to do with TWRP being unable to read and Mount partitions correctly on devices coming from stock lollipop.

Here's a link to the thread for multirom too:

http://xdaforums.com/showthread.php?t=2457063
[Nexus 7 (2013) Original Android Development] NicoGa:
Do you mean that just flashing multirom TWRP should work without multirom installed ? or do we have to also install multirom ?

I have tried to flash the various latest TWRP image without success (on a flo that was updated to stock 5.1.1). I also tried to flash multirom TWRP alone but I get the exact same result as with the latest vanilla version of TWRP (2.8.7.0):

- OpenRecoveryScript seems to have trouble mounting disks.

So the question is :

- is this normal ? Am I missing something ?

- how should I proceed to install TWRP on the device that have a stock lollipop 5.1.1 ?

thanks in advance.
[Nexus 7 (2013) Original Android Development] NicoGa:
OK, thanks for the QA link ... !

In this post, I found an other link to a post where people discuss this very same problem.

Some one may have found a solution but it is kind of a tortuous cooking :

http://xdaforums.com/showthread.php?p=62865808
[Nexus 7 (2013) Original Android Development] quickdraw86:
I never had this problem, as I rooted and unlocked on 4.4.4, but from my understanding, using multirom TWRP alone fixed this issue for numerous other users whose devices came shipped with android 5.0 or later. You don't have to use multirom in order for this to work.

Try multirom 03-28 and 06-30 before considering other methods. It's fairly easy to replace the boot.img (kernel) in the stock image, but you'd be better off trying to save yourself some work beforehand by trying both of the versions I mentioned before. If that still doesn't work, try downloading and pushing the 5.01 factory image for razor/flo from Google, then try multirom TWRP.
[Nexus 7 (2013) Original Android Development] NicoGa:
Ok thanks a lot.

I will try tonight and let everybody know.
[Nexus 7 (2013) Original Android Development] NicoGa:
Ok so what I did :

- flash stock recovery image

- reboot android (all my data was wiped)

- set USB debug + non MTP

- reboot to bootloader

- Flash TWRP_multirom_flo_20150630.img

... I m now in TWRP recovery :)

thanks
[Nexus 7 (2013) Original Android Development] 6-speed:
where is the option for resize2fs? My 7 is not showing the correct internal storage size and I cant find resize2fs in TWRP anywhere. Thanks!
[Nexus 7 (2013) Original Android Development] cee43ja1:
Anyone make a backup on Marshmallow? My TWRP backup was successful, but trying to restore system results in error 255.

Lollipop backup works completely fine.
[Nexus 7 (2013) Original Android Development] coffer:
Yeh I tried it on M and got the same problem, I don't think its compatible yet!
[Nexus 7 (2013) Original Android Development] kindofabuzz:
Update your Titanium
[Nexus 7 (2013) Original Android Development] keynith:
Got mine flashed, but for some reason the slider toggle you use to wipe/flash files wasn't showing up.
[Nexus 7 (2013) Original Android Development] ckisgen:
I had this issue too.. Then realized I had a theme in the TWRP theme/skin directory. Deleted that and rebooted into recovery and all was well again. It's probably a theme that isn't compatible with the latest TWRP
[Nexus 7 (2013) Original Android Development] z31s1g:
Was it completely gone or just half way shifted towards the edge of the screen?

Themes are being updated along with the recovery to stay compatible. The slider issue appeared only for users that forgot to install the updated theme as well.
[Nexus 7 (2013) Original Android Development] chickentech:
Is anyone out there actually able to use twrp? what versions are you using? I was only able to get the multirom twrp package to actually work. Regular 2.8.7.0 TWRP would just give a whole lot of errors how it couldn't mount /data and a bunch of other partitions...

Word of warning to anyone else - save yourself a lot of hours of trying to make it work... it just won't for some reason...
[Nexus 7 (2013) Original Android Development] sbaeder:
not sure why you had issues...I have used it for a long time, and never had any issues. Currently using 2.8.7

What were you on before this attempt? How were you trying to flash it, etc...
[Nexus 7 (2013) Original Android Development] quickdraw86:
It's been known for quite awhile that nexus 7s that came with android 5.1.1 or later factory images preinstalled were unable to use official TWRP. The latest official TWRP works great on my device, and has for a long time.
[Nexus 7 (2013) Original Android Development] chickentech:
Well I wish it were easier for people who just got the device to know this. I just bought one and got it yesterday - so I started like I normally do to try to start with TWRP... but nothing I read said anything about it not working. Quite the contrary actually.

Are there any alternatives besides multirom for a good custom recovery that works on newer devices? Mine shipped with android 6.0.
[Nexus 7 (2013) Original Android Development] madbat99:
It's just the multirom build of twrp. It's still twrp. But I think the official build works now.
[Nexus 7 (2013) Original Android Development] chickentech:
I wish the official build did - however it doesn't as of yesterday. Attempts to boot over to recovery would give me an android guy with a triangle ! (exclamation point) coming out of him like a robot that needed repair.

I tried flashing latest stock 6.0.1 from Google and trying again. No luck. Tried flash back to stock yet again, then tried an older version of TWRP. No luck. Only way I could get to a recovery that worked was to use the MultiRom (TWRP_multirom_flo_20150630.img) on the 2nd post of their thread.
[Nexus 7 (2013) Original Android Development] madbat99:
The dead Android on his back is stock recovery. After you flash, you should boot straight to recovery. That will prevent the system from re flashing stock recovery.
[Nexus 7 (2013) Original Android Development] chickentech:
Very strange then because I rebooted directly to recovery. Up/Down volume and selected reboot recovery. This gave me what I described..

---------- Post added at 08:44 PM ---------- Previous post was at 08:42 PM ----------

I've got to be doing it right anyhow as I tried to get TWRP going with 3 different attempts and only had one try and multirom worked first time.. I didn't do anything different that time either.
[Nexus 7 (2013) Original Android Development] madbat99:
Strange indeed. But now that you are rooted with twrp installed, you can use flashify to install different versions of twrp. It can backup, restore, or install recovery images in the app.
[Nexus 7 (2013) Original Android Development] chickentech:
Still a little leery of trying that considering that I tried to flash TWRP recovery several times and didn't get it working. fastboot said it completed successfully and I had no reason to doubt it..

I'll try flashify sometime this weekend maybe and see what happens. Thanks.
[Nexus 7 (2013) Original Android Development] phonic:
That's very weird. If you erased the recovery partition, it should have been removed. Has anyone verified that the 'stock recovery' is really stock?
[Nexus 7 (2013) Original Android Development] j4g3rb0mb3d:
I can't get my N7 to boot after flashing TWRP. I formatted data, rebooted into recovery, then rebooted, and it won't boot what-so-ever. It gets stuck on the Nexus "X" while booting. Any suggestions?

Edit: I got it booting. I did a factory reset, and it booted normally after that.
[Nexus 7 (2013) Original Android Development] plbelanger:
I was just in the same spot though for other reasons as you lol and I did format data, reboot, then the wipe to factory (where you slide the bar at the bottom) and it worked after that.
[Nexus 7 (2013) Original Android Development] roborob1969:
Whew!!!! Thanks for this tip...I thought I bricked mine! :D
[Nexus 7 (2013) Original Android Development] Cinosinu:
hey, this worked, thank you! But FYI, the serial number began with 06f... maybe because I had previously accepted the OTA update? thank you again.... now do I just flash twrp?

---------- Post added at 01:09 PM ---------- Previous post was at 12:54 PM ----------

Sorry, can someone point me to the recovery file I am suppose to flash once unlocked? thanks.:eek:
[Nexus 7 (2013) Original Android Development] fosser2:
Yep just follow that first set of steps to flash twrp. Just a quick note, everyone's serial numbers will be different, so what I have might not be at all close to what you have.
[Nexus 7 (2013) Original Android Development] Cinosinu:
I'm trying to figure how to do just this ... where do i find it under GooManager?
[Nexus 7 (2013) Original Android Development] -viperboy-:
Did you flash that via fastboot flash recovery name_of_that_image.img? I have stock recovery image if that one isn't working for you. It worked for me using the command above with my img. Let me know.

Once you get stock recovery back on there, just do a factory reset from within Android.

Not sure why Google hasn't posted the factory images for this device yet...
[Nexus 7 (2013) Original Android Development] plbelanger:
Yep that is what I did. It successfully flashed but TWRP was still there. Also did a factory reset and same thing. TWRP was still there but no matter now, I just did an oem lock and brought it back to the store and exchanged for the 32gb one. Thanks for offering the file though :)
[Nexus 7 (2013) Original Android Development] Cinosinu:
Never mind, i got it guys. Thank you!!!:good:

---------- Post added at 02:29 PM ---------- Previous post was at 02:18 PM ----------

Hi, how do you get root?
[Nexus 7 (2013) Original Android Development] FallingEdge:
Installed this, stuck at Nexus X at boot. Trying to do a factory reset, fails. Cannot recognize adb. It does prompt me for a password when starting up TMRP. Any thoughts?

bootloader unlocked.
[Nexus 7 (2013) Original Android Development] phuduong:
When it prompt password, press cancel or back and u r in TWRP recovery. That's work for me, or try to download file and flash it again
[Nexus 7 (2013) Original Android Development] homemadehitshow:
Got it installed and working but a later reboot into recovery gives me the open Android graphic.

How do I make it stick ?
[Nexus 7 (2013) Original Android Development] Mr. Steve:
Go into the Mounts menu of TWRP. Mount system. Using the file manager in TWRP, navigate to /system. Rename the file recovery-from-boot.p to recovery-from-boot.bak
[Nexus 7 (2013) Original Android Development] engelsione:
Any step by step on how to unlock the bootloader and flash TWRP?

Flas
[Nexus 7 (2013) Original Android Development] tw1tch175:
http://xdaforums.com/showthread.php?t=2380126
[Nexus 7 (2013) Original Android Development] Cinosinu:
This guy's tutorial is awesome!!!

http://xdaforums.com/showthread.php?t=2381521

Props to zedomax :highfive:
[Nexus 7 (2013) Original Android Development] casonswag:
I downloaded the latest sdk but i cant find where thats locates inside of it in extras all i see is android i dont see google\usb driver?

---------- Post added at 03:21 AM ---------- Previous post was at 02:30 AM ----------

Okay when i type adb devices in command prompt it shows my device but says offline ??

EDIT got everything to work think i needed to reboot my laptop but im unlocked and rooted now with this recovery also
[Nexus 7 (2013) Original Android Development] plbelanger:
Did you install the package for it?

EDIT, nm see you got it sorted! :)
[Nexus 7 (2013) Original Android Development] Irish Cream:
Make sure USB debugging is enabled on your device
[Nexus 7 (2013) Original Android Development] bigknowz:
Thanks

Been searching for this solution for a few hours, nice work! Booting into 6.0.1 after many failed attempts to get past the 0MB error in TWRP. You saved me from returning the tablet, thanks again.
[Nexus 7 (2013) Original Android Development] madbat99:
What alternative are you looking for? Twrp is really the best recovery out there.