yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] gorilla p:
I'm having trouble with 2.8.3.2

The wipe usb-otg option doesn't show.

When I select wipe cache, it tries to wipe usb-otg and fails.

It seems that the wipe cache command was replaced with with wipe usb-otg command.

Was fine on 2.8.3.1
[Nexus 4 Original Android Development] jacoghi:
I can confirm that, trying to clear cache outputs the following message: "E: Unable to mount '/usb-otg'" and there's no "Clear usb-otg" option anymore on Advanced Wipe menu (which in my case is all good since I don't use it, but that's me).

Don't know about 2.8.3.1, since I went straight from 2.8.1.0 to 2.8.3.2. Also, the recovery is not taking the entirety of the screen, there's a black bar on the right edge, can't remember if it was already there before.

Editing:

Looks like we were wrong, I dumped a log to check what the error could be, and looks like the system checks whether the USB otg path is mounted every time (which is unlikely for most people), which causes the error message. The cache partition is being wiped correctly, no problems on that end. The funny part of the log is that the recovery uses the fingerprint from omnirom (didn't even know they were still around).
[Nexus 4 Original Android Development] rskyline:
Just had a weeeird issue, I get back to recovery and wiped dalvik and cache and it fu*** up my ROM, it just keep saying that I was low on memory and every app was crashing. Anyone has a clue? Stock 5.0.1.

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] fr3quency:
What does it have to do with the recovery? TWRP is a mechanism to flash things; it cannot do any damage to your system.

Also, what do you mean by 'flashing dalvik and cache'"? Do you mean 'wiping' them?
[Nexus 4 Original Android Development] rskyline:
Yes sorry for that typo I meant wiped. And woah if I did the wipe on recovery it doesn't have to do with recovery itself? O.o **mind blows**

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] fr3quency:
Yeah, it have nothing to do with the recovery, because wiping cache and dalvik is just... that. Nothing more nothing less. This is a ROM/dalvik-related problem and not a TWRP problem. A TWRP problem would be to not be able to mount it and so on and so on.
[Nexus 4 Original Android Development] rskyline:
Hope that you know what is the real process behind a partition wipe, and I hope you know too that a partition can become corrupted with a formatting. You must be new here...

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] fr3quency:
Me? New? You must be kidding, right? Just paint your phone blue and throw it to the sea if it gets corrupted that way.
[Nexus 4 Original Android Development] rskyline:
You look new. Or maybe too lucky that never seen an issue on PC using any partition tool. But anyway, it happened using twrp, never seen that before, so I post it here where it belongs, and to see if anyone has experienced the same, not to "learn" how custom recovery works, if you're willing to help that's awesome, unfortunately you aren't.

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] halloga:
What about fix permission? Still causing bootloop in lollipop?
[Nexus 4 Original Android Development] fr3quency:
Yeah. it has to do with the SElinux policy or something. it's different on Lollipop. Why would you need to fix permissions btw? Just don't do it again.
[Nexus 4 Original Android Development] underskyzx:
Yeah great advice
[Nexus 4 Original Android Development] fr3quency:
There is nothing you can do about it. Got a better advice for not screwing his phone? kthxbai
[Nexus 4 Original Android Development] bombadier:
Flashable zip for TWRP 2.8.4.0

Changelog in the OP or

What's new in 2.8.4.0:

MTP fixes and improvements - you can now copy zips to the root of storage - thanks to _that

Add flashing of boot and recovery images via the TWRP GUI (Find the Images button on the Install page)

Fix some MTP related crashes and bugs

Eliminate TWRP toggling USB IDs during boot if MTP is enabled

Fix various adb sideload issues

Improve threading of actions

Eliminate separate thread for screen timeout

Update libblkid to 2.25.0

Use power button as back button on watch themes for easier navigation

Add mutex locking to data manager

Improve custom theme handling on encrypted devices

Allow the stock theme to be offset by build flags so we can center a lower res theme on a higher res screen especially for watches with round screens
[Nexus 4 Original Android Development] VivaErBetis:
And the screen has been centered in this new version :)
[Nexus 4 Original Android Development] dunghnguyen:
just flashed ...well done ...tks dev
[Nexus 4 Original Android Development] underskyzx:
The default theme? Centered? ??
[Nexus 4 Original Android Development] VivaErBetis:
Yep. Instead of having the vertical quite big black space at the right of the screen now we have two vertical black spaces of half size at both sides. Looks better IMHO.
[Nexus 4 Original Android Development] underskyzx:
Just restored a backup made in the previous version, everything working ok . ☺
[Nexus 4 Original Android Development] assassin2:
Hi guys I'm noob bout twrp,I am currently using twrp 2.8.1 and I would like to upgrade to 2.8.4,how can I install the latest version?should I flash via Odin or directly flash using my twrp recovery to update...tnx
[Nexus 4 Original Android Development] tvisforme:
I'd like to know this as well - can we update directly from TWRP recovery?
[Nexus 4 Original Android Development] skidaway:
[MENTION=6232988]assassin2[/MENTION] [MENTION=2998973]tvisforme[/MENTION] just flash the .zip file in [MENTION=2714876]bombadier[/MENTION]'s post from your current version of TWRP:

http://xdaforums.com/showpost.php?p=58153052&postcount=2499
[Nexus 4 Original Android Development] tvisforme:
Thanks you for the quick reply. I've searched but much of what I found indicated we had to either use the TWRP app or flash from a computer. This .zip is very convenient.

On a related note, did I correctly understand (from this thread) that 2.8 does not support reformatting partitions with F2FS on the N4?
[Nexus 4 Original Android Development] sga999:
I installed the latest TWRP (2.8.4.0) and followed the steps for usb-otg described in post 35 in this thread.

http://xdaforums.com/nexus-4/development/recovery-mod-twrp-2-6-3-0-externally-t2412689

But that TWRP version fails to mount usb-otg. So I went back to older TWRP versions to see where it went wrong. It looks like 2.8.3.0 and 2.8.3.1 (and many earlier versions) worked well, but 2.8.3.2 and the latest 2.8.4.0 will not mount usb-otg. Have others experienced this?
[Nexus 4 Original Android Development] gorilla p:
Yes, something changed with 2.8.3.2. In fact, 2.8.3.2 had a bug that wouldn't let me wipe cache and I had to revert to 2831.

2.8.4.0 is working fine, except for USB otg.

2.8.3.1 is the last version with the same USB otg feature. If it's important for you, id stick with that version for now.

Visit the NeXuS⁴ file repository at bit.ly/makostuff
[Nexus 4 Original Android Development] shawnbrennan55:
That modified recovery kernel is pretty old. Does it still work OK with TWRP 2.8.3.1?
[Nexus 4 Original Android Development] sga999:
Yes, that old kernel works with TWRP 2.8.3.1 for me. I was just hoping to use the latest TWRP (2.8.4.0), but as the prior post said, I will just stay on 2.8.3.1 for now.
[Nexus 4 Original Android Development] :
Download the img file of the latest version and flash via fastboot. You can also keep the file in your mobile and flash from mobile itself via Flashify. :good:

With TWRP 2.8.4.0, you've got a killer feature to flash img files from recovery, thus eliminating the need of Flashify. :)

Odin is only for Uncle Sammy devices. ;)
[Nexus 4 Original Android Development] VivaErBetis:
New version 2.8.5.0 here:

http://techerrata.com/browse/twrp2/mako

What's new in 2.8.5.0:

- Scale the GUI - TWRP can read the theme's resolution and scale it up or down to fit the theme to your screen's resolution

- Improve thread handling and move input handling into the main rendering thread to improve stability

- Make MTP work even if unplugged and plugged back in

Unify scrollable list code and make kinetic scrolling feel more natural

- Fix handling of mapped zip files for OTA updates (CM12 updater)

- USB keyboards should now work on all devices that support USB host mode via a USB OTG cable

- Other small fixes and improvements

---------- Post added at 10:02 PM ---------- Previous post was at 09:17 PM ----------

Decryption of /data partition doesn't works in new 2.8.5.0 version :crying:. I've just reported it at TWRP IRC...
[Nexus 4 Original Android Development] sga999:
Well, I was hoping usb-otg would work with the "kernel install method" I described in post #2509. Since there were some changes reported in 2.8.5.0 that might relate to usb-otg, I was optimistic. But no luck....2.8.3.1 is the latest version that works with that method. Can anyone tell me why this no longer works? Or does someone know a different flashable zip to use instead of the one that worked for me until very recently (2.8.3.2 and higher do not work)?
[Nexus 4 Original Android Development] VivaErBetis:
Why don't you report that problem at TWRP IRC? Dees Troy is there in this precise moment:

http://webchat.freenode.net/?channels=twrp
[Nexus 4 Original Android Development] thebrainkafka:
Flashable ZIP available?
[Nexus 4 Original Android Development] VivaErBetis:
You can just take any old zip and replace the .img file inside it for the new one.

I've done one, but it's not tested: http://www34.zippyshare.com/v/lJEBpfvs/file.html
[Nexus 4 Original Android Development] rsdunlop:
Since 2.4.8.0 you can flash img files directly in TWRP.

CHANGELOG for 2.8.4.0:

-Add flashing of boot and recovery images via the TWRP GUI (Find the Images button on the Install page)
[Nexus 4 Original Android Development] sga999:
I am not familiar with that TWRP forum, but I did go there and post something. But I don't know how to see any responses. I didn't sign in with any login specific to myself...I just entered a name (sga) and it let me in there. Should I get an account first and try it that way instead? Sorry for my lack of knowledge about that site.
[Nexus 4 Original Android Development] VivaErBetis:
Just enter and write. it's a chat, not a forum.

Edit: I saw you there
[Nexus 4 Original Android Development] sga999:
I see your posts there after mine too. Do I need to address my posts specifically to Troy, or does he just monitor the chat and answer at random times?

I really don't know what has changed, but this kernel (you pointed to the right thread) worked for more than a year. It was only with 2.8.3.2 that it starts going bad. So it was good on 12/22/2014 with 2.8.3.1 but bad the next day with 2.8.3.2. I've been using this kernel since late 2013, and it hasn't been changing, yet it kept working through several Android releases.
[Nexus 4 Original Android Development] VivaErBetis:
Just wait (patiently), all is monitored, leave the tab open.

Sometimes there is no answer. In that case try to address the question to Dees Troy.
[Nexus 4 Original Android Development] jlin5647:
Not sure if it's just me, but mtp stopped working after I updated. I'll probably reflash a few more times...
[Nexus 4 Original Android Development] MusadiqManas:
I've just flashed your zip and it worked fine for me.
[Nexus 4 Original Android Development] kurt.gomez:
MTP has stopped for me as well after the 2.8.5.0 update... reverted to 2.8.4 and it works...
[Nexus 4 Original Android Development] sordna:
That's weird... 2.8.4.0 works? Various previous posts say the last version with working MTP was 2.8.3.1
[Nexus 4 Original Android Development] kurt.gomez:
yup... 28.4.0 works for me... 3 N4's at my place... works on all
[Nexus 4 Original Android Development] jlin5647:
Yea I changed back to 2.8.4.0 and MTP works fine. Dunno what happened in the 2.8.5.0 version
[Nexus 4 Original Android Development] danslecarton:
Is it possible to flash img's of kernels and ROMs from TWRP now?
[Nexus 4 Original Android Development] z31s1g:
Only boot (kernel) and recovery images can be flashed directly.
[Nexus 4 Original Android Development] JG:
yep same here.
[Nexus 4 Original Android Development] sga999:
I did see Troy Dees make one comment in response to you, saying I probably was using a powered cable. Then I wrote there that I did use the correct cable, and I described how this worked for 2.8.3.1 and earlier but not for 2.8.3.2 (released only one day apart). But I didn't see any comments from him after that...I may have just missed it (difficult to look through that chat...maybe there's a search function). Anything else I should do to call attention to this problem?
[Nexus 4 Original Android Development] fr3quency:
MTP doesn't work on latest build. I reported the problem on IRC but guess they cannot listen/search for the problem.

The Nexus 4 is being recognized as a Galaxy Nexus when on recovery

(you can check in Control Panel > Device Manager on Windows). I have also reverted back to 2.8.4.0

I use Koush's Universal ADB Drivers.
[Nexus 4 Original Android Development] ya7hu:
Could someone please provide a mirror, tried three times and still stuck at 99%
[Nexus 4 Original Android Development] jacomail95:
In new version there is still a black band on the left edge, maybe it can be fixed reverting the centred recovery commit, so the new ability to fit any screen can cover all our 1280×768 display :) i hope in this

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] VivaErBetis:
Well, once reported at IRC is just a matter of wait. But you can report issues at github too:

https://github.com/TeamWin/Team-Win-Recovery-Project/issues
[Nexus 4 Original Android Development] Lawstorant:
Funny, MTP works flawlessly for me with 2.8.5.0 but nvm, let's try 2.8.5.1

Universal ADB too
[Nexus 4 Original Android Development] fr3quency:
Thanks for the heads up. 2.8.5.1 works now. I wonder what the problem was. Also, 2.8.5 was 8,2MB(2.8.4.0 was 8,8MB) and 2.8.5.1 is 9,2MB.
[Nexus 4 Original Android Development] Danielhammons1:
Okay guys I need some help here, I have an issue I haven't seen anywhere else and haven't gotten any answers so I'm going insane..

Alright I'm on a Galaxy s4 at&t it was the mdl version so I was able to get the gpe Rom by Dan on here but for some reason I can't get the newest one because it's 5.0 and it says to install the jeboos recovery because it auto lokis and I don't really know what else would be safe to use...

But the problem is I can't install jeboos by flash for some reason when I flash it just says "failed" and I need that to install the Rom.

Any ideas?

And I came here because I've seen several things about twrp auto loki-ing that's my current recovery but there isn't an option to automatically do it. So please, anyone?
[Nexus 4 Original Android Development] Lawstorant:
Maybe go to the Galaxy S4 subforum?

Nexus master race here
[Nexus 4 Original Android Development] Midomad:
2.8.5.1 version is out

http://techerrata.com/file/twrp2/mako/openrecovery-twrp-2.8.5.1-mako.img
[Nexus 4 Original Android Development] VivaErBetis:
Decryption now works with 2.8.5.1.

But the theme in 2.8.5.1 is shifted to the right, losing part of the screen. Look the keyboard in the image:

In 2.8.4.0 the theme was centered with a black bar at both sides but no losses at all:
[Nexus 4 Original Android Development] z31s1g:
Looks like the offset that centeres the theme on 2840 is still applied. In 285x, the ui is scaled to the full width, but the no longer needed offset still shifts it to the right.

[MENTION=1225126]fr3quency[/MENTION] will this be your second bug report in IRC today?
[Nexus 4 Original Android Development] VivaErBetis:
Yep, [MENTION=912474]Dees_Troy[/MENTION] just answer the same at IRC.
[Nexus 4 Original Android Development] M1rr0r:
Hi, no work OTG mode for transfer file. I'm back to 2.8.4.0 version
[Nexus 4 Original Android Development] VivaErBetis:
New 2.8.5.2 version fixes the shifted theme problem :)

http://techerrata.com/browse/twrp2/mako
[Nexus 4 Original Android Development] Dan1234567890:
Do you have problems with downloading form that site with mobile chrome browser.... I can't download anything... Tried with request desktop site, but no difference.... [emoji15]
[Nexus 4 Original Android Development] andrea.giommi:
Me too. I solved using wug's toolkit
[Nexus 4 Original Android Development] sordna:
The website was just temporarily down. I was able to download later.
[Nexus 4 Original Android Development] VivaErBetis:
No problems at all and I use Chrome too.
[Nexus 4 Original Android Development] bombadier:
If anyone is still interested here is a flashable zip with 2.8.5.2
[Nexus 4 Original Android Development] geokilla:
It seems that F2FS support got removed? I thought TWRP supported F2FS. I know on the Nexus 7 and OnePlus One, TWRP supports F2FS. It's just the Nexus 4 that doesn't support F2FS it seems?
[Nexus 4 Original Android Development] Lawstorant:
Sadly, mako never had an official F2FS support in TWRP.
[Nexus 4 Original Android Development] tvisforme:
Is there any particular reason for this? Are there plans to add it for the N4?
[Nexus 4 Original Android Development] Lawstorant:
1. Nope

2. Nope

AFAIK
[Nexus 4 Original Android Development] bombadier:
From the OP

CHANGELOG for 2.8.6.0:

-Fix daylight savings time rules for USA and Europe (_that)

-Allow mulitple overlays for popup boxes (Dees_Troy)

-Add pattern style password entry for decrypt (Tassadar)

-Keyboard improvements (_that)

-Update AOSP base to 5.1 (Dees_Troy)

-Reduce theme count to 5 and rely on scaling (Dees_Troy)

-Various scaling improvements (Dees_Troy)

-Improved handling of resources in the GUI (_that)

-Make scroll bar size proportional to list size (_that)

-Allow scoll lists to render without a header (_that)

-Make console scroll per pixel with kinetic scrolling (_that)

-Support styles in XML to reduce XML size and improve consistentcy (Dees_Troy)

-Various other fixes and improvements (mdmower, bigbiff, codelover, etc)

Flashable zip twrp-2.8.6.0 mako
[Nexus 4 Original Android Development] xtrymind:
so, anyone interested in twrp f2fs, here twrp 2.8.6.0 with support for f2fs http://d-h.st/zopc
[Nexus 4 Original Android Development] icu64:
Can we have f2fs please?

---------- Post added at 02:42 PM ---------- Previous post was at 02:41 PM ----------

Officially?
[Nexus 4 Original Android Development] xtrymind:
use my costume twrp above for f2fs version, there's nothing i change except support for f2fs
[Nexus 4 Original Android Development] sga999:
I posted that in February about usb-otg no longer working with version 2.8.3.2 and later. I did write on the chat to Troy Dees, and I sent him a PM later about my issue, but I did not get a response. I just tried the newest 2.8.6.0, and it still fails. I suppose I have to give up on this method for getting otg while in TWRP unless someone can tell me another way. It's just so strange that it worked in December with TWRP 2.8.3.1, but the version on the next day did not. Obviously, something was removed.
[Nexus 4 Original Android Development] VivaErBetis:
And, as usual, the new version has encrypted data partition mounting broken...
[Nexus 4 Original Android Development] insigma28:
Just flashed 2.8.6.0 I think it's broken as the swipe in install not there here screenshot

So can't install things in twrp I have gone back to 2.8.5.2
[Nexus 4 Original Android Development] bombadier:
You need to update your theme
[Nexus 4 Original Android Development] insigma28:
Ahhh ok bud thanks for that and is there a link to which I can do this mate?
[Nexus 4 Original Android Development] bombadier:
https://basketbuild.com/devs/z31s1g/768/TWRP 286X_v1
[Nexus 4 Original Android Development] insigma28:
Cheers bud.
[Nexus 4 Original Android Development] icu64:
I understand that but on the terp website deestroy said he would add it to any device as long as we asked. I'm trying to get his attention
[Nexus 4 Original Android Development] Shooting Star Max:
I have been using MultiROM TWRP because of its F2FS support. I think they will update soon.
[Nexus 4 Original Android Development] quack75:
You are right, from Google plus

Vojtěch Boček

Condiviso pubblicamente *-* Ieri alle ore 20:50

*#Android

*

*

TWRP 2.8.6 is out, I will merge it and release it together with MultiROM v32 and all recovery updates during the weekend, for all currently supported devices (no shamu yet, my device was bricked and it is on RMA).

Some of the changes:

* Support for encryption on hammerhead, flo and grouper, for Android ROMs only.

* Bunch of ROM compatibility fixes.

* Minor GUI adjustments and random fixes.

* Entirely new way to modify updater-scripts in recovery, should be much more robust and more reliable.﻿

[emoji3]
[Nexus 4 Original Android Development] fr3quency:
Once again, they screwed MTP up. Doesn't work anymore and the Nexus 4 is shown as a Galaxy Nexus under Device Manager on Windows.

qq TeamWin.
[Nexus 4 Original Android Development] zman0900:
encryption broken

2.8.6.0 is no longer able to decrypt my encrypted partition. Downgrading to 2.8.5.2 fixes it. Bug opened here: https://github.com/TeamWin/Team-Win-Recovery-Project/issues/358
[Nexus 4 Original Android Development] abhishekjain.ims:
How can I backup stock recovery on Nexus 4 before installing TWRP recovery ?
[Nexus 4 Original Android Development] shawnbrennan55:
No need to. The stock recovery is available as part of the Nexus factory images.
[Nexus 4 Original Android Development] abhishekjain.ims:
So you mean whenever I want I can go back to stock rom by just flashing it with ADB commands mentioned by Google even if I have TWRP installed & it will erase TWRP with stock rom, am I right ?
[Nexus 4 Original Android Development] shawnbrennan55:
Correct. You don't even have to flash the whole image, you can flash bootloader, radio, recovery, and system partitions separately by extracting the img files and flashing with Fastboot.
[Nexus 4 Original Android Development] abhishekjain.ims:
Thanks a lot Shawn....Voted you up man :good:
[Nexus 4 Original Android Development] VivaErBetis:
I've commented in that issue too and at the TWRP IRC channel.

BTW: there is also a comment in the TWRP Google+ community:

https://plus.google.com/105738051131537231212/posts/bxrBY1r3ogQ

It's a very important issue and it happens with every new TWRP release so I think the developers should fix it quickly since it's quite usual.
[Nexus 4 Original Android Development] sordna:
Hi,

Looks like there is a bug, when taking a backup and selecting the encrypted option, the backup fails at the end. The logfile says "I:createTarFork() process ended with signal: 11"
[Nexus 4 Original Android Development] zaclimon:
I'm curious, how have you been able to compile for f2fs? I've been trying but I don't know how I can enable support for it.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Original Android Development] JG:
2.8.6.0

As posted earlier by another member touching on the fact that in this latest release that MTP isnt working for mako. I am just curious if anyone found a fix or a workaround to get it working other than reverting to 2.8.5.2 :D
[Nexus 4 Original Android Development] firewater88:
Can someone tell me the version history of TWRP around the date of 3-3-13? I am trying to restore an OLD backup that has a good EFS backup in it (well my only one). Tried with the oldest version I had and it just hung up. Can you point me to a link for said version? Thanks
[Nexus 4 Original Android Development] ragnarokx:
Google changed the file structure to MTP with the release of the Android 4.0 and the Galaxy Nexus. The Nexus 7 and multi user had not even come out yet.

+1

Sent from my Nexus 4
[Nexus 4 Original Android Development] rskyline:
This will stick after install any ROM? I mean, the Nexus 4 has a recovery partition?
[Nexus 4 Original Android Development] Fr33L4nc3r:
Yes and Yes :good:
[Nexus 4 Original Android Development] vikas_toad:
Can anyone answer this please?
[Nexus 4 Original Android Development] Stryder5:
Recovery uses its own kernel separate from the ROM kernel.