yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Zenety:
Hey rcll,

I eventually gave up. Even with rotating TWRP to for example 270 it was unusable for me. I broke half my screen so it was impossible for me to work with. I eventually installed CWM and everything flashed fine in there. I did ran into another problem when booting the new rom. The Google Setup also does not rotate. So it was impossible to continue there. I then removed the Google-SetupWizard from Gapps and finally was able to use my phone.

The zip you are referring to is a fix for a ROM I guess? Won't help you in TWRP.

I then added this line to the build.prop: log.tag.launcher_force_rotate=VERBOSE

So the launcher also rotated.

I got sick of it after a week and bought a Nexus 6 xD
[Nexus 4 Original Android Development] rcll:
Hehe, Nexus 6 is probably the best solution.

I also decided to just flash CWM and then flashed the radio, bootloader and stock ROM from this thread: http://xdaforums.com/nexus-4/development/rom-stock-flashable-rom-t3084656

After flashing I ran into the same problem with Google Setup requiring touch on the bottom area with no ability to rotate. I was hopeful because the zip is supposed to fix the deadzone issue and confirmed working on the stock 5.1.1 google ROM: https://github.com/gkraynov/nexus-4-navfix/releases/tag/LMY47V

My issue started with no touch response only on the very bottom edge, then wild ghost/phantom touches along the top edge of the new deadzone. After flashing the phantom touches have stopped but the deadzone has grown to almost half-way up the screen. So the issue on this unit look more severe than others who had their problem fixed by that zip patch, it seems to make no difference here. Its a shame, I really like the design and size of the Nexus 4, probably a replacement Digitizer+LCD assembly is the only way to save it, but who knows if the problem will start again :|
[Nexus 4 Original Android Development] PDXMatt:
I don't know about the Nexus 4, but the latest TWRP borked the hell out of my Note 4 screen.
[Nexus 4 Original Android Development] Moronig:
Version 2.8.7.0 Works with the OTG patch from this thread. Of course, you need to have a cable to power the usb device externally, and also you need to have it plugged in when you boot to recovery, else you won't be able to select OTG in the storage options for backup and restore.
[Nexus 4 Original Android Development] SdtBarbarossa:
https://drive.google.com/file/d/0B-tlso-zNf9NR3c0MThkMmtBbUk/view?usp=sharing

twrp 2.8.7.0 without USB-otg ....you will not get the errormessage here.... BUT you will not be able to use otg
[Nexus 4 Original Android Development] thebrainkafka:
Is there a f2fs version ?

Thx
[Nexus 4 Original Android Development] SdtBarbarossa:
i could do one.... but you would need a working f2fs kernel + rom ....otherwise its useless
[Nexus 4 Original Android Development] axsdenied1:
That would be really appreciated. I think quite a few people are using kernels which support f2fs, Quanta for example.
[Nexus 4 Original Android Development] mchartier:
It would be greatly appreciated! :D
[Nexus 4 Original Android Development] SdtBarbarossa:
so you guys got f2fs rom + kernel? how did you tested them?
[Nexus 4 Original Android Development] mchartier:
Yes, i've been using Terminus rom and Quanta V6 Kernel for F2FS, I used an older version of TWRP (2.8.6.0?) someone had modded for F2FS to flash it all
[Nexus 4 Original Android Development] SdtBarbarossa:
ok understood^^ i will need some time....eta maybe next week (first of all have to fix major problems on other devices)
[Nexus 4 Original Android Development] jb91:
Is there a version of TWRP that lets you rotate the screen? Part of my touchscreen is unresponsive due to a broken digitizer, so I'm unable to install TWRP like this.
[Nexus 4 Original Android Development] z31s1g:
Multirom twrp has rotation:

http://xdaforums.com/showthread.php?t=2472295
[Nexus 4 Original Android Development] aang741:
Hi im newbie in this recovery, previously i was using CWM now i installed this and SD card doesn't appear, is not detected. In CWM this not happens. So, What's the problem? My phone is a S4 I9500
[Nexus 4 Original Android Development] elonus:
If you used the recovery from this thread, that would probably be the problem as this is the Nexus 4 thread. You should find a recovery for your phone in the S4 forum.
[Nexus 4 Original Android Development] aang741:
No. I'm using the recovery to samsung galaxy s4 but I wanna know if any of yours has been that problem
[Nexus 4 Original Android Development] gioxoid:
No simply because Nexus4 doesn't have SD :)
[Nexus 4 Original Android Development] aang741:
thank you my sincere apologizes
[Nexus 4 Original Android Development] thebrainkafka:
Any news?
[Nexus 4 Original Android Development] SdtBarbarossa:
ok sorry i had to have a eye on some critical error devices first (skyrocket + i9305 + ghost)

what was the matter in here? wich bugs to fix? (cant remember)
[Nexus 4 Original Android Development] jb91:
Quick question: Is there a way for me to install a ROM in TWRP, if this part of my screen (marked red) does not work?

https://img.bi/#/KfuEVGz!hbyHwwgdyz0wCHG96QdB5KuQcTS6GQsKXl4g5A0v

Would really appreciate an answer to this, thanks!
[Nexus 4 Original Android Development] z31s1g:
You could try the multirom recovery:

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

But you would have to rotate the screen orientation depending on what you want to do. Not sure if all buttons you'll need are always reachable.
[Nexus 4 Original Android Development] jb91:
Unfortunately Multirom is no alternative for me, because as they write:

"Device encryption

MultiROM doesn't support encryption on Nexus 4 because I don't physically have the device and can't test it."

The sole reason that I want to have TWRP on my device is because it supports device encryption on custom ROMs. If anyone has a solution on how to install a ROM on TWRP, if this part of the screen (marked red) is not working, please tell me: https://img.bi/#/KfuEVGz!hbyHwwgdyz0wCHG96QdB5KuQcTS6GQsKXl4g5A0v
[Nexus 4 Original Android Development] z31s1g:
The ADB Sideload button is reachable. So you should try this:

https://youtu.be/Oo2cErfUSSE

If this fails, you're out of luck. At least with anything involving twrp.
[Nexus 4 Original Android Development] jb91:
Thanks, this actually looks promising. Now I've heard that you should always wipe everything (system partition, dalvik cache, cache, and factory reset), before installing a new ROM from scratch. I see in the video at around ~2:38, that Wipe Dalvik Cache and Wipe Cache is at a place that I cannot press on my device. Can these things be done somewhere else in the TWRP menu, where I can reach them?

Also, as far as I understand, if I encrypt my device, it will ask for the decryption password, when I want to enter TWRP. This will be needed if I want to update my ROM or create a NANDROID, because it needs to access my encrypted data from within TWRP. Do you know, if entering the decryption password in TWRP will pose any problem with my partially broken screen, AND if creating a NANDROID backup will be possible like this?
[Nexus 4 Original Android Development] z31s1g:
Password: yes, keyboard is reachable.

Now that I think of it, you could also try apps that interact with twrp via open recovery script. Apps that can queue zips and then trigger a reboot to recovery, flash the stuff, then the device reboots again. If you've ever used flashify, you get the idea. I believe twrp manager can also queue in the wipe actions.

You could also look on XDA for a tutorial about open recovery script. One can trigger backups, install zips, wiping defined partition, basically everything.
[Nexus 4 Original Android Development] emanoj.i9103:
The latest version v2.8.7.0 for mako crashed out with OpenGapps Aroma package, v2.8.6.1 works fine. Should I ask Opengapps team to investigate or is it a known issue with latest TWRP. Tia
[Nexus 4 Original Android Development] jb91:
I'm still really new to all this, so I'm not sure if I get it. Flashify looks interesting though. https://play.google.com/store/apps/details?id=com.cgollner.flashify

Especially "2 - Flash zip files. Option to wipe cache, dalvik and data when using TWRP or Philz recovery." and "5 - Full nandroid backups/restores when using TWRP or Philz recovery."

However, wiping cache, dalvik and data isn't enough, because I also need to format system, as far as I know. As for Open Recovery Script, I've found this page: http://wiki.rootzwiki.com/OpenRecoveryScript . It seems that this also won't let me format system though.
[Nexus 4 Original Android Development] z31s1g:
Most custom roms wipe system anyways before writing the rom to it, I wouldn't worry too much about this.

Just had a second look at flashify, it should do all you want.

Worst case: flash factory image, flash twrp, try again. ;)
[Nexus 4 Original Android Development] Bastlwastl2010:
Any news about F2FS TWRP 2.8.7.0
[Nexus 4 Original Android Development] thebrainkafka:
+1
[Nexus 4 Original Android Development] SdtBarbarossa:
sorry! forgott about this device x) i will have a look tomorrow!
[Nexus 4 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 4 Original Android Development] axsdenied1:
Right version of TWRP? This is nexus 4 forum.
[Nexus 4 Original Android Development] chief2842:
My bad, I subbed to this thread when I had my Nexus 4. Let me go post this in the Nexus 6 thread. Thanks
[Nexus 4 Original Android Development] SdtBarbarossa:
Here is my first testbuild....

https://drive.google.com/file/d/0B-tlso-zNf9NLURFU3V1ZUprbDA/view?usp=sharing

Changelog:

- added new design by [MENTION=2719389]z31s1g[/MENTION]

- added f2fs

please test and report to me
[Nexus 4 Original Android Development] Bastlwastl2010:
Thanks will test it next week. Its to hot here in Germany to spend much time in computer.#

Its time for Barbecue and drinking :D:D
[Nexus 4 Original Android Development] :
+1 really tooooooo hot
[Nexus 4 Original Android Development] SdtBarbarossa:
Yea thats why im a bit late xD (im from Essen ^^)
[Nexus 4 Original Android Development] Bastlwastl2010:
Ok Quick test.

CM12.1

Kernel Quanta V6 support F2FS

The Recovery boot. :)

looks nice the design from z31s1g

Backup works with ext4

Only convert cache to F2FS - works

Later this week convert internal sd toF2FS

Looks like a great job
[Nexus 4 Original Android Development] SdtBarbarossa:
good to hear^^ what about /data ?
[Nexus 4 Original Android Development] Bastlwastl2010:
With internal SD i mean data

I make it.....twice...... but I have no luck. Either the F2FS implementaion is brocken or i make something wrong or the Quanta F2FS is broken...To many options :(

This guide is very helpfully

http://obihoernchen.net/1032/convert-your-nexus-4-to-f2fs-without-loosing-data/

To bring back all the backup files to the right place

After reboot (yea its rebooting) CM is meaning the device is encrypted. After filling out the password CM is meaning the password is OK but the data is broken.

Revert all back to EXT 4
[Nexus 4 Original Android Development] Bastlwastl2010:
Yeahh it works...but not with your recovery.

After follow the links on obihoernchens site and digging in xda...We have a F2FS 2.8.7 recovery since 06.30:

http://xdaforums.com/showpost.php?p=46223393&postcount=2

With this recovery its works like a charme...no problems
[Nexus 4 Original Android Development] ayyub46:
Anyone get message :

updating partition details...

E: Unable to mount '/usb-otg'

Any idea how to solve this issue ? Its a really annoying message when im flashing.

Mako, 2.8.7.0

No USB OTG patch or anything similar. ﻿
[Nexus 4 Original Android Development] Bastlwastl2010:
I think this is not a issue.

TWRP will attempt an USB-OTG to mount it automatically, but you have no USB-OTG.

So IMHO its only a warning or info massage
[Nexus 4 Original Android Development] SdtBarbarossa:
Yea it is because of missing "removeable" flag in mountpoints (like sdcard external) it always excpect usb-otg is on... please redirect this info to the dev...
[Nexus 4 Original Android Development] ayyub46:
I hope so, thanks guys.
[Nexus 4 Original Android Development] imeem:
i made a backup of cm 12 android 5.01 version using twrp 2.8.6.0 (?). I tried restoring it after trying miui andorid 4.4.4 (now on twrp 2.8.7.0), and I get EEextractTarFork() process ended with error=255
[Nexus 4 Original Android Development] KSLevel11:
Hello!

I have weird problem with flashing TWRP recovery on my Nexus 4.

There are steps I done to flash:

1. Boot into fastboot mode.

> fastboot reboot-bootloader

> fastboot erase recovery

> fastboot flash recovery *img. name*

> fastboot reboot

2. System booted up, so I shutdown phone.

3. Boot into fastboot mode again, then choosed "recovery mode"

And here is the problem: Instead of TWRP recovery, I have green Android with red triangle...

Could you help me? Is it bug or something?

Thanks in advance.

Greetings.
[Nexus 4 Original Android Development] n0b0dy666:
After you flash it, immediately boot to recovery.
[Nexus 4 Original Android Development] MPAI:
When I try to install I get the message "Ensure the partition listed below is correct"

"/dev/block/platform/msm_sdcc.1/by-name/recovery" - Should I press yes?
[Nexus 4 Original Android Development] xX NeOnShK Xx:
Does anyone have a flash able zip of 2.8.7.0? Can I just replace the recovery.img in the 2.8.7.0 zip and flash it?
[Nexus 4 Original Android Development] jr67:
Yes, replacing the img file in the zip with the new version should work. I assume you're not currently on a recent TWRP recovery build since if you were you could simply flash the img file.
[Nexus 4 Original Android Development] xX NeOnShK Xx:
Ooh I had completely forgot about that. I was on 2.8.6.0. Ended up using flashify. Now rocking marshmallow ?
[Nexus 4 Original Android Development] nashi99:
I've encountered a problem in TWRP...

My soft keys are not working at all, so how can I go back into the main menu in TWRP without using the soft keys in TWRP, very strange :/
[Nexus 4 Original Android Development] xyomguix:
Same here. Did you find a work around ?

Edit: found a workaround using a Theme
[Nexus 4 Original Android Development] yuppicide:
I thought I posted here, but I can't find my post.

I am running 2.8.5.0 I believe. I'd like to upgrade, but am at work (and also feel lazy). I'd like to use TWRP Manager (Root). it asks me if the partition is correct.. where do I find that info?

I have an HTC One M8 Sprint and run ViperRom 4.3.0. It says /dev/blockm/mmcblk0p43
[Nexus 4 Original Android Development] underskyzx:
This is the N4 forum....

Use Flashify to get latest TWRP, search in Play Store.
[Nexus 4 Original Android Development] yuppicide:
Oh, sorry I didn't see that. I didn't find one in search, so I ended up going to Google and searching which brought me here.

Anyway, that couldn't have been faster and easier. Worked perfect!
[Nexus 4 Original Android Development] hansdiegans:
Usb-otg support is broken on 2.8.7.0 ...

I'm using a modified recovery kernel from this thread.

Usb-otg will mount as /usb-otg, however, it cannot be selected as backup target.

Tried the same with twrp 2.7 and it works.
[Nexus 4 Original Android Development] od666:
is 2.8.7.0 recovery marshmallow compatible?

I just tried to install cyanogenmod 13 and nothing happened after massage about "storage found" appeared, i was waiting about half an hour, then rebooted my phone and i was still on cm 12.1

After installing cyanogen recovery i was able to install cm 13, so i guess something is wrong with twrp
[Nexus 4 Original Android Development] axsdenied1:
It worked with Chroma MM ROM here.
[Nexus 4 Original Android Development] jamesrt:
Seems to be a known issue with the "otasigscheck" script that is a new part of CM13:

http://forum.cyanogenmod.org/topic/119469-cm-130-20151217nightly-does-nothingwont-install/

EDIT:

This should be fixed, as at 20160105 nightly.
[Nexus 4 Original Android Development] bfoos:
Yes, unfortunately usb-otg is missing from all of the select storage dialog boxes, thus limiting the usefulness of the function. Seems like it would be easy to fix in source and recompile but alas I don't have a build environment set up so I can't take a stab at it myself. Seems OTG is an afterthought made up of partially functioning pieces for the mako as you have to use that kernel replacement zip to even get usb-otg to mount. However, with all that said, I did some rather extensive testing last night and found that the latest version of TWRP that has the option to select storage usb-otg is v2.8.3.1. So with that said, if having the latest isn't the most important thing to you, it's perfectly functional after replacing the kernel. Mount, backup to, restore from and install from usb-otg is all working perfectly.
[Nexus 4 Original Android Development] ddaggebi:
http://www.xda-developers.com/twrp-3-0-0-has-arrived/

When will TWRP 3.0.0 come to Nexus 4?
[Nexus 4 Original Android Development] dragos281993:
It's not available for any device yet. It's still in works, but in maximum 2 days it will be available for our N4, most probably.
[Nexus 4 Original Android Development] aney1:
It has been built for all devices now, and is available to download.

Sadly the build for many devices including the Nexus 4 failed.
[Nexus 4 Original Android Development] dragos281993:
We'll get it eventually. It's not like the current recovery is not good enough, so an update is not absolutely required.
[Nexus 4 Original Android Development] bfoos:
Boom! Someone was kind enough to build it for us!

http://xdaforums.com/nexus-4/development/unofficial-twrp-mako-3-0-0-ext4-f2fs-t3309705

My initial impressions of 3.0.0 are good. USB-OTG is in the select storage dialog boxes, though like every build of TWRP for our device before, it is unmountable by default. However, the zip file contained in this thread remedies that... http://xdaforums.com/nexus-4/development/recovery-mod-twrp-2-6-3-0-externally-t2412689

***EDIT***

[MENTION=912474]Dees_Troy[/MENTION] 3.0.0-0 is still not available at https://dl.twrp.me/mako/
[Nexus 4 Original Android Development] jacomail95:
Twrp 3.0 Multirom Edition and new Multirom zip here

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

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] mariospizza:
Can confirm it works :)
[Nexus 4 Original Android Development] Jakub_Z.:
Oh, I see that latest 3.0.0 build is ready but i dunno where can I download that...

Any help? :D
[Nexus 4 Original Android Development] pmatrix:
how release official twrp 3.0.0 for nexus 4 ?
[Nexus 4 Original Android Development] bfoos:
It failed the jenkins build due to multiple device trees being present. I'm not at all familiar with the jenkins automated build environment, but suffice to say, build #6 was the last attempt and it failed and has not been attempted again. Thus, no official 3.0.0-0 build for the mako. You can get an unofficial build in the following thread...

http://xdaforums.com/nexus-4/development/unofficial-twrp-mako-3-0-0-ext4-f2fs-t3309705

And if you want a ready to flash image with OTG working, see my post on page 2...

http://xdaforums.com/nexus-4/develo...-ext4-f2fs-t3309705/post65206107#post65206107
[Nexus 4 Original Android Development] choubeyaakash77:
Stuck in bootloop

Device : OnePlus X

Please reply here - http://xdaforums.com/oneplus-x/help/stuck-twrp-bootloop-t3311274
[Nexus 4 Original Android Development] xWolf13:
What exactly do you want us to do with it? You're literally in a different device forum asking for a completely different device.
[Nexus 4 Original Android Development] n0b0dy666:
twrp-3.0.0-0-mako.img has been built, now is just a matter of minutes until twrp dl index is updated :)

edit: https://dl.twrp.me/mako/twrp-3.0.0-0-mako.img.html
[Nexus 4 Original Android Development] tranced_:
Download it now: https://dl.twrp.me/mako/twrp-3.0.0-0-mako.img
[Nexus 4 Original Android Development] hastthou:
Hello guys, sorry for the noob question.

I have TWRP 2 for my nexus 4, how can I install or upgrade to TWRP 3?
[Nexus 4 Original Android Development] tranced_:
If you want to install the upgrade, just type this command:

fastboot flash recovery twrp-3.0.0-0-mako.img

If you need further help: https://twrp.me/devices/lgnexus4.html
[Nexus 4 Original Android Development] hastthou:
can i just use the TWRP Manager app Install Recovery from my phone? Which is better method and safer?
[Nexus 4 Original Android Development] tranced_:
It should be able to. Not sure if it's gonna flash the latest version. But you can check it when you press the install recovery option.

EDIT: not available yet. See attachtment.
[Nexus 4 Original Android Development] pmatrix:
flashify:flash the latest version
[Nexus 4 Original Android Development] bfoos:
Aaaaand of course, USB-OTG is completely missing, not even an option to mount.
[Nexus 4 Original Android Development] Shiroh1ge:
Hey guys, my Odin doesn't recognize the 3.0.0 .img version, as it doesnt have a .tar in the end? How do I install the .img one? I can see the .tar one for 2.8.7.2. I'm on Galaxy S6
[Nexus 4 Original Android Development] tranced_:
Hi! As of now there's no a .tar version of this recovery for your device according to their site. So, wait for it :)

By the way, you're in the wrong forum.

Cheers!
[Nexus 4 Original Android Development] Shiroh1ge:
Oh, sorry I got here by google :D. Thanks for the info!
[Nexus 4 Original Android Development] bfoos:
You could install the img using flashify if you are rooted, but it will more than likely trip knox if you care about that.
[Nexus 4 Original Android Development] Thrikiller18:
Is there problems with lollipop and twrp3?
[Nexus 4 Original Android Development] bfoos:
It should work fine with lollipop roms. No harm in trying it, just make sure you have adb and fastboot working just in case.
[Nexus 4 Original Android Development] Rawwrius01:
You can flash the recovery.img straight in your recovery :D
[Nexus 4 Original Android Development] Crysis2:
installed it and so far every thing is ok!

thnx TWRP!
[Nexus 4 Original Android Development] czecx:
USB OTG

Is it possible to make the usb otg work on the TWRP 3.0.0? I need this for backups..:(
[Nexus 4 Original Android Development] bfoos:
Unfortunately, USB-OTG is entirely missing from the official build of 3.0.0-0. However, fear not for I have modified [MENTION=4831205]vocoderism[/MENTION]'s unofficial build to fully support OTG...

http://xdaforums.com/nexus-4/develo...-ext4-f2fs-t3309705/post65206107#post65206107
[Nexus 4 Original Android Development] Ommadawn101:
Impressions on the new 3.0.0.0 TWRP version, anyone?
[Nexus 4 Original Android Development] arjundas86:
I can't get access to my sd card from TWRP 3.0. When I flash back to 2.8.7, I see my SD card contents, but on 3.0, it says "Internal Storage (0MB)". Can't see my old backups, zip files, img files, nothing... I can't use TWRP 3.0 because of this.

I've looked at some other device forums where similar problems were discussed, but they were all for external SD cards, and were related to how they were mounted or formatted. Since mako doesn't have an actual "sd card," but rather just the onboard storage, i didn't find any of those answers applicable.
[Nexus 4 Original Android Development] bfoos:
Just a hunch here, but try deleting the .twrps file in the TWRP directory using the file manager in 2.8.7.0 then flash 3.0.0-0 while in recovery and reboot recovery and see if that sorts the internal storage.
[Nexus 4 Original Android Development] arjundas86:
Hmm... I tried deleting the .twrps file while booted into the system then went into bootloader flashed 3.0 from fastboot, and it didn't work. I'll try doing it from within recovery and see if it works that way. Thanks.

Update: Tried it. Didn't work :(

Follow-up - Just want to confirm that having an F2FS won't affect the recovery's ability to load internal storage, would it? I am currently using twrp-2.8.7.0-mako_f2fs_otg_multi.