yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Kick-Ass Joe:
Hi there, I've noticed that in my recovery mode there is a black bar along the right hand side as if the program is not centered. Is this normal? I'm on Nexus 4 with AOSPA rom and stock kernel. Thanks!
[Nexus 4 Original Android Development] 3rdstring:
Yes, that's normal. The N4 uses the same layout as the gNex which is slightly narrower.
[Nexus 4 Original Android Development] Kick-Ass Joe:
Thanks!
[Nexus 4 Original Android Development] Fr33L4nc3r:
You can avoid this by using a theme : http://xdaforums.com/showthread.php?t=2035234
[Nexus 4 Original Android Development] joshndroid:
okay i was wondering if I can ask a few small questions regarding twrp... i have tried to ask in the irc channel but no one replies lol this is in regards to making an updater script that will work better for twrp

1. how does twrp handle rebooting back to recovery?

2. where is the location of the recovery.log?

3. what is the string that deletes the media without deleting contents from your sdcard?

looking through the logs I cannot find these strings... as it is only displaying the blanket copying recovery log to sdcard type thing

if anyone could help me out that would be greatly appreciated
[Nexus 4 Original Android Development] hhyong99:
battery percentage not correct and drain really fast?

I'm using TWRP 2.3.3.3

After I fully charge the battery, then I reboot into recovery. But the battery is showing 98% only.

I tried another with 70% left. But then when I reboot into recovery, it shows only 68%.

Yesterday I encounter even worst, suppose there is 65%. But in recovery mode it's showing 45% only.

I don't encounter this with my GNex. Is this normal? Please advice. Thanks.
[Nexus 4 Original Android Development] ViViDboarder:
Yea. It can be off depending on the device. It's not always exactly what Android reports.
[Nexus 4 Original Android Development] Dees_Troy:
Updated!
[Nexus 4 Original Android Development] Chochiwpg:
Just tested and 2.4.0.0 is working great. Thanks Dees Troy for your continued support. TWRP is my favourite / go to recovery. :good:
[Nexus 4 Original Android Development] apat183:
Re: [RECOVERY] TWRP 2.4.0.0 touch recovery [2013-01-29]

Thanks for the update, love TWRP.

Really hoped that this update would bring differential/incremental nandroids. Only feature missing.

Awesome work tho. :)
[Nexus 4 Original Android Development] gianton:
Thanks for the update! Haven't look back to CWM since I first tried TWRP!
[Nexus 4 Original Android Development] Guto ViP:
I agree!
[Nexus 4 Original Android Development] iamsmallpang:
Thank for update twrp
[Nexus 4 Original Android Development] A2Eric:
Re: [RECOVERY] TWRP 2.4.0.0 touch recovery [2013-01-29]

Can't get this to flash through Goo Manager. Goo keeps crashing. Not sure if the problem is with Goo or my ROM or Superuser. I'm too lazy right now to fast boot it.
[Nexus 4 Original Android Development] rskyline:
Why this isn't on Original Android Development Forum?
[Nexus 4 Original Android Development] fr3quency:
http://techerrata.com/browse/twrp2/mako :D

fr3quency to the rescue~
[Nexus 4 Original Android Development] firewater88:
THANKS!
[Nexus 4 Original Android Development] bombadier:
Thanks [MENTION=1225126]fr3quency[/MENTION] & [MENTION=4686563]jgcmurray[/MENTION] for testing

TWRP 2.8.6.0 with working MTP

updated Flashable Zip

Seems the old problem with the wrong device ID was the cause, made some edits to the init.rc it works again

Cheers all
[Nexus 4 Original Android Development] Rev4:
I'm currently on TWRP 2.8.4.0 and want tot update it tot its latest version. Unfortunately, the app as mentioned on the TWRP website doesn't work for me and as far as I know I can't just flash it using this version. Any help is appreciated.
[Nexus 4 Original Android Development] bombadier:
Then why not use my flashable zip or my MTP fixed image ?
[Nexus 4 Original Android Development] pincher65:
mtp works now, thanks
[Nexus 4 Original Android Development] txuki2005:
Go Scotish people!!

:p

Thanks [MENTION=2714876]bombadier[/MENTION]
[Nexus 4 Original Android Development] sordna:
Cool, are your fixes merged in the twrp github so they come with the next official release?
[Nexus 4 Original Android Development] maxver0:
They just did :cowboy:
[Nexus 4 Original Android Development] bombadier:
Would not have a clue where to start with github lol, I am sure that it will be fixed in the next release
[Nexus 4 Original Android Development] sordna:
Well, then your best bet is to go to the twrp irc channel and tell the developers about what you fixed and they can add your fix to the code base. Unless the fix is committed, the bug will keep occurring in future releases.

Actually, usually only Dees_Troy merges fixes on github, but other contributors post patches on gerrit which are reviewed, and when approved they get merged to github. Here is the twrp gerrit site where you can see recent patches that have been contributed:

https://gerrit.omnirom.org/#/q/project:android_bootable_recovery
[Nexus 4 Original Android Development] spider623:
guys is the sideload issue fixed?

---------- Post added at 09:08 PM ---------- Previous post was at 09:03 PM ----------

just tested and no, it's not, seriously i reported this weeks back... i'm the only one that sideloads?
[Nexus 4 Original Android Development] bombadier:
Dont use sideload but I fixed MTP not working so have you tried my version?

http://xdaforums.com/showpost.php?p=59972285&postcount=2585
[Nexus 4 Original Android Development] sordna:
Hi, can you please post the patch that shows the changes that fix the issue?
[Nexus 4 Original Android Development] bombadier:
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/375

I have said what I changed in the issue I opened

write /sys/class/android_usb/android0/idProduct 4EE2

write /sys/class/android_usb/android0/functions mtp,adb
[Nexus 4 Original Android Development] zyr3x:
option fix permissioin broken system!!!!!!!!!!!
[Nexus 4 Original Android Development] fr3quency:
Why would you need to fix permissions? It's known if you try to do it, it will mess with your phone. Something to do with SELinux policy or something? I'm not sre so don't take what I say for granted, but... why would you do that? Who uses this option nowadays?
[Nexus 4 Original Android Development] spider623:
thanks and will, what takes them so long?

the tf201 aka transformer prime twrp is also broken with the same issues
[Nexus 4 Original Android Development] Feahnor:
I'm using 2.8.6.0 in stock 5.01 and after a backup I can't find my TWRP folder when I plug the phone to the computer. I already tried the restorecon command but didn't work.

What can i do?
[Nexus 4 Original Android Development] dragos281993:
You mean you cannot see on the PC, your device/ the internal storage while you're in recovery when you plug it in, right?

I assume that's what you meant, so in that case you either need to flash an older version of twrp (2.8.5.2 will work), or you can download and flash the version of twrp 2.8.6.0 with MTP fix made by bombadier, using fastboot, cause the latest official version of twrp has an id... problem. I hope you know how to flash an image using fastboot.
[Nexus 4 Original Android Development] Feahnor:
Flashing the 2.8.6.0 recovery with the MTP fix fixed it. Thanks.
[Nexus 4 Original Android Development] dragos281993:
No problem. I had the same problem and didn't know it was a twrp bug. I even installed back windows 8.1 cause I thought that windows 10 was the problem. But I found out what it was, eventually.
[Nexus 4 Original Android Development] fr3quency:
If it worked in previous versions and not now, then how is it Windows 10's fault/problem? It's simple math. It worked before, and now that you updated to some new version it doesn't work. So it's the new version's fault, providing that you used Windows 10 for both the old TWRP builds and the new one. :p
[Nexus 4 Original Android Development] dragos281993:
Just chill, dude. Excessive stress leads to cancer. I usually use WugFresh's tool to root my phone and install a custom recovery when coming from stock lollipop. So I didn't pay attention to what version of twrp was being installed at all, cause it wasn't necessary. The thing is, when I was on windows 8.1, that tool was v2.0.2, which used twrp 2.8.5.2 (which I didn't know at that particular moment). Then I decided to install windows 10 to see how it behaves on my laptop. I installed Wugfresh's tool on the freshly installed windows but I didn't realize that it was updated to 2.0.5 with a new twrp (2.8.6.0). After trying a lot of things, including going back to windows 8.1, I realized it was not a problem caused by the OS. So I researched, went through a few comments, and found out what the problem was.

I hope I've been clear enough for you.
[Nexus 4 Original Android Development] fr3quency:
I'm fine and thanks for worrying. I was making a conversation. I don't know why you'd think I need to chill or why you got upset all of a sudden. Don't you think the one who needs to chill is you? :p I'm not your enemy, relax. xD
[Nexus 4 Original Android Development] dragos281993:
I believe we're slowly going off-topic. You should see how relaxed I am right now. I'm so relaxed that I can't even move the mouse properly on the mousepad. LOL. But maybe that's just laziness. Anyway, you seemed unrelaxed by simply saying "it's simple math", and the whole thing you said was more like proving a point than just a conversation. At least that's what it looked like to me. But no worries, I didn't get upset at all. I don't get upset unless someone tries to run me over with his car. But I gave you an explanation that shows exactly what "I've been through" with that twrp thing.
[Nexus 4 Original Android Development] fr3quency:
lol. yusoserious.png? Providing a point doesn't mean there's no conversation or I'm not willing to do one. Jokes aside, it's simply math.
[Nexus 4 Original Android Development] dragos281993:
I'm happy I've been taught not to be arrogant. Or more precisely, not all the time, cause I'd actually be an arrogant by saying that I'm not. I don't know what it is you're trying to prove, and to be honest I don't think that I care, at all. I even bothered explaining to you how I ended up doing everything I did (about twrp), but sometimes people don't have the patience to read everything, which leads to jumping to conclusions (probably wrong ones), and sometimes they read it to the end, but, not paying attention, they end up understanding it the way they want, which is mostly completely wrong than how it actually is. So let's end it here, because we won't find common ground, for sure. I'm sorry you didn't understand me.

PS: Completely gone off-topic, as I previously said. So sorry for that.
[Nexus 4 Original Android Development] steviemch:
Now now ladies.

Sent by neural subspace transceiver node.
[Nexus 4 Original Android Development] bulletmark:
I installed TWRP 2.8.6.0 to my previously stock Nexus 4 but it just keeps booting in a boot loop showing the blue teamwin window every few secs. Re-downloaded it, compared the binary file, flashed it again but same problem. Downloaded previous 2.8.5.2 and same problem. Are these later versions known to work with the N4? I am new to this stuff but I am sure my procedure is correct (fastboot flash recovery <file>; fastboot reboot). Messages on screen look happy.

PS Later edit: I tried a much older TWRP version 2.4.4 but same problem. I downloaded Google's latest 5.1 image and ran the flash-all.sh script which updated everything and it booted up fine to the welcome screen. Any ideas how to get TWRP to work with the N4?
[Nexus 4 Original Android Development] sordna:
Make sure your download went well. Since twrp went with a new website I noticed my download (of 2.8.6.0) was a much smaller file than the expected 9,007,104 bytes. Sure enough the md5sum did not match. So I downloaded the image with my computer, and then transfered it to my phone. I don't know if this is the issue you are having but make sure you verify the md5sum before flashing it to ensure a proper download.
[Nexus 4 Original Android Development] bombadier:
If you look back a few pages you will see that I fixed MTP not working in recovery, download my recovery flashable zip and flash

tapatyping fae the bacon
[Nexus 4 Original Android Development] bulletmark:
My original file was the same 9007104 bytes. As I said, I downloaded it again and did a binary compare (cmp on linux) and it was the same. They don't seem to publish the MD5/SHA sum on the TWRP download page? (They should BTW). So how can I check it? The MD5 sum of the file I downloaded is d936d9bf2d5a319c5c7e3f2ab258cb2a, SHA1 sum is 3bdac61ec0853cdc9d6ddcf28c8d0842e089b7f0.

[MENTION=2714876]bombadier[/MENTION], I don't see how MTP can be relevant to my issue? I don't use MTP anywhere.
[Nexus 4 Original Android Development] bombadier:
As you were then, I suggested my version as it comes as a recovery flashable zip which may of helped you since you have been unable to fastboot install,are you using a theme?

Take your point as you cannot install the recovery so a zip is no good

tapatyping fae the bacon
[Nexus 4 Original Android Development] bulletmark:
Do you mean a TWRP theme? No. I have never installed TWRP before today. I vanilla installed it on my Nexus 5 today also and had no problems there. TWRP and Android boot fine on the N5. It has never booted successfully on the Nexus 4, just loops with that blue teamwin window cycling, with all the versions I listed above. I can interrupt the N4 by holding the power button and can back to the bootloader prompt. but that is all.
[Nexus 4 Original Android Development] bombadier:
If you have ruled out a bad download then not sure what to suggest, twrp does work on the n4, after trying to enter recovery can you boot into your ROM and go to /cache/recovery and check the log to see if it gives any clues?

tapatyping fae the bacon
[Nexus 4 Original Android Development] underskyzx:
Just want to say 2.8.6.0 finally got the UI right, theming was a necessity now if you like to keep things default you are no longer punished by that ui.

Theres 1 thing left however, the behavior of the brightness slider in the screen options, it doesn't function as it should, maybe the steps are too little and the sliding bar too big?

anyway good work! it got a lot better with time but the result is here, TWRP is in it's prime, and with theming its a state of art, well done
[Nexus 4 Original Android Development] bulletmark:
I can't boot anything but the basic bootloader? Booting normally, or selecting recovery from the bootloader both result in the TWRP teamwin window cycling forever.

As I said, I was able to reinstall the stock recovery and image. I'll live with them for the moment. Thanks for all your help.
[Nexus 4 Original Android Development] bombadier:
Then there are more as just recovery problems, if that works fine then something is going seriously wrong when you fastboot flash the recovery as that should not stop the rom from booting,sorry mate but I am out of ideas with the situation you describe
[Nexus 4 Original Android Development] sordna:
Your download is good, I get the same md5 reported by ES File explorer on my phone:

d936d9bf2d5a319c5c7e3f2ab258cb2a

Maybe try different methods of flashing?

I use Rashr on the phone itself.
[Nexus 4 Original Android Development] Neet:
I accidentally updated TWRp to 2.8.60 and now I cant access my 'sdcard' in twrp. I tried flashing mtp fix version of twrp but can't figure out how to install it since my internal memory shows "0" bytes in twrp when i try to chose which file to flash. Can anybody tell how to flash the mtp fix version?
[Nexus 4 Original Android Development] fr3quency:
Which version did you download? The .zip or the .img? Try downloading the .img file and by using command prompt on windows and having a working adb(if you dont have adb search for adb helper, download it, unip it and navigate to its "main" folder. In there, open a command prompt window) type:

fastboot flash recovery name_of_recovery.img

Pro tip: you have be in fastboot mode. Turn off your phone and hold volume down+power
[Nexus 4 Original Android Development] spider623:
is it me or this fix takes way too long?

ironically since it's also in almost all other devices i work with it's pretty much a problem from the main branch........... and all other recovery projects are dead.......... cyanogen recovery(not cwm, the one they made with cm12) doesn't count
[Nexus 4 Original Android Development] Neet:
Thanks for the prompt reply... Fast boot method didn't work.. It kept booting into twrp to flash the modified twrp... Had to flash stock and unroot...reroot and then was able to flash modified twrp.... Upside... My phone feels like new with ample of space...
[Nexus 4 Original Android Development] Selmak:
I just switched from Phil's Touch to TWRP. This is my first time using TWRP, and I was hesitant to make the change after reading about the bug. Thanks for creating this flashable zip. It worked great.
[Nexus 4 Original Android Development] speakxj7:
are you encrypted? i haven't had luck with recent twrp's on my FDE encrypted device.

reverted back to 2.8.3 and was a-ok.

edit: tested more builds, 2.8.3-2.8.5 worked, just 2.8.6 gave crypto issues.
[Nexus 4 Original Android Development] miksontije:
2.8.6.1 is out. mtp working,but picture is not in center of screen. it was been same in couple version ago
[Nexus 4 Original Android Development] jacomail95:
Until a proper repack or 1280x768 version, i'll remain on 2.8.6.0

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] nsmart:
new build 2.8.6.1 is able to decrypt and mount the data partition on encrypted mako devices. Last version that worked for me with device encryption was 2.8.5.2.
[Nexus 4 Original Android Development] sordna:
Yay, 2.8.6.1 fixes this bug! I'm able to take encrypted compressed backups again.
[Nexus 4 Original Android Development] VivaErBetis:
Yeah!!!

But there are some visualization problems in the new 2.8.6.1 build.

I've opened an issue here:

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/409
[Nexus 4 Original Android Development] androidnandroid:
Can I just flash this zip through cwm and get twrp?

---------- Post added at 09:33 AM ---------- Previous post was at 09:11 AM ----------

Flashed working perfectly
[Nexus 4 Original Android Development] insigma28:
Yes it's safe to flash over Cwm.
[Nexus 4 Original Android Development] magnamentis:
twrp works great, only very early adopters from day one sometimes are facing issues eventually. should you ever feel uncertain about flashing

recoveries and/or updates of recoveries etc. you can always use flashify from the playstore, an app with a very good reputation which never failed on me.
[Nexus 4 Original Android Development] sordna:
Did you try 2.8.6.1 ? MTP works again (for me at least).
[Nexus 4 Original Android Development] nycelitemaster:
Can we get otg support for mako with external power

Sent from my Nexus 4
[Nexus 4 Original Android Development] Zenety:
Is there any way to rotate TWRP? To landscape for example.
[Nexus 4 Original Android Development] androidnandroid:
Any one having flashable g zip of latest version
[Nexus 4 Original Android Development] z31s1g:
No, stock twrp can't change orientation. But the multirom twrp can.

http://xdaforums.com/nexus-4/orig-development/mod-multirom-v24-t2472295
[Nexus 4 Original Android Development] Zenety:
Ah, thank you very much, installed it right now and found the rotation settings. The only problem is that the reason I wanted rotation in TWRP is because the bottom part of my touch screen is no longer working. And the settings for rotation happen to be on the bottom of the page :eek::eek::eek: Thanks the info anyways.

Does TWRP have some kind of .conf file?

Edit: It looks like all of the rotation modes are turned on. Little blue stripe above the button. But i'm unable to turn the screen.
[Nexus 4 Original Android Development] z31s1g:
The blue stripe is button decoration... :)

The configuration is saved to the ".twrps" file in the twrp folder. But I don't know if the rotation setting is also being saved there.
[Nexus 4 Original Android Development] Zenety:
I see the .twrps file has this in it:

tw_rotation 0

Although the file as text seems rather scrambled. I changed the value 0 to 270, but that caused TWRP to stop at the TWRP logo :P. I'll check what the TWRP file looks on a working phone with rotation on.

Edit: Ah, with UTF-8 encoding it looks fine.

Awesome, got it to work, thanks for the help [MENTION=2719389]z31s1g[/MENTION]
[Nexus 4 Original Android Development] MtG92:
where can I download 2.8.6.1?
[Nexus 4 Original Android Development] bombadier:
Bookmark it

https://twrp.me/devices/lgnexus4.html
[Nexus 4 Original Android Development] Automatik96:
Hello

I flashed twrp 2.8.6.1 yesterday and I'm having an issue every time i install, wipe or do something in twrp: the CLI prints "Updating partition details, E: unable to mount usb-otg" and if i go in Mount and tick usb-otg the phone just vibrates but it doesn't tick the option usb-otg. Now my PC can't see my device, it only charges it, but before yesterday there were no problem with connection PC-Nexus 4.

Any ideas on what could i do?
[Nexus 4 Original Android Development] kerngehirn:
I'm having the exact same problem with 2.8.6.0 and 2.8.6.1.

data restore ends with error

"I:extractTarFork() process ended with ERROR=255"
[Nexus 4 Original Android Development] thebrainkafka:
Is there a f2fs Version?
[Nexus 4 Original Android Development] ΦDroid:
I think multirom TWRP supports f2fs.
[Nexus 4 Original Android Development] airbeeting:
I see the new twrp-2.8.7.0-mako, someone install this version?
[Nexus 4 Original Android Development] jr67:
Just installed it.

Anyone know where we can find the change log?
[Nexus 4 Original Android Development] jb91:
Two quick questions:

- since part of my screen is unresponsive to touch, will i still be able to install this on my N4? How does the whole "mouse control" thing work?

- will i be able to OTA update CyanogenMod on an encrypted device with this bootloader?
[Nexus 4 Original Android Development] axsdenied1:
How about looking at the most obvious places like the twrp website or even the first post of this thread before asking the question...
[Nexus 4 Original Android Development] jr67:
The change log was not up in the first post nor could I find it on their website 2 DAYS ago when I originally posted this.
[Nexus 4 Original Android Development] axsdenied1:
In that case apologies.

Lots of people ask questions without even bothering to look.
[Nexus 4 Original Android Development] rcll:
Hey Zenety thanks for your post!

I have the same exact issue as you, unresponsive digitizer on lower 1/3 of screen so the bottom buttons of TWRP are unclickable.

I flashed the Multirom TWRP z31s1g linked and changed rotation value from 0 to 270 in the .twrps with notepad++ for encoding, but TWRP still boots up at default 0 rotation. I changed screen timeout to 43 just for testing, TWRP still stays at default 60. It seems changes in the .twrps file aren't being read. Did you run into this problem? Could you share your rotated .twrps?

I'm guessing you are flashing the navfix zip (https://github.com/gkraynov/nexus-4-navfix) after getting TWRP rotated.? Has that brought your digitzer back to working for the whole screen?

CWM 6.0.4.7 has working volume button navigation but I assume it would cause problems flashing 5.1.1 radio, bootloader,rom zips?