yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ikslawlok:
Sure : use fastboot

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 4 Original Android Development] CamoGeko:
Flash in Recovery?

There's a link posted above.

Sent from my baked potato
[Nexus 4 Original Android Development] lbrenes:
+1
[Nexus 4 Original Android Development] spupuz:
is TWRP for mako available with version 2.7.10?
[Nexus 4 Original Android Development] z31s1g:
Not yet.

techerrata.com/browse/twrp2/mako
[Nexus 4 Original Android Development] spupuz:
in omni changelog they talk about the 2.7.1.0
[Nexus 4 Original Android Development] z31s1g:
Yesterday the version number was bumped to 2710. This usually means they have now started building the new version for all devices.

https://gerrit.omnirom.org/#/q/status:merged+project:android_bootable_recovery,n,z

Last time (2700 update), it took another day or two after the version bump before the new version was available for download.
[Nexus 4 Original Android Development] Nikki1993:
Anywhere to see a pre-release patch notes? or until devs publish one, just gotta live in misery? :)
[Nexus 4 Original Android Development] z31s1g:
Klick on the link in my previous post (the one you quoted) [emoji12].
[Nexus 4 Original Android Development] Nikki1993:
I meant in a more user friendly way like on their main website.
[Nexus 4 Original Android Development] z31s1g:
I'd sum it up like this:

Load of fixes and optimizations under the hood.

Most obvious new feature is the ability to format partitions in f2fs.
[Nexus 4 Original Android Development] Nikki1993:
Exactly what I needed. I am not that good at deciphering gerrit commits just yet :D
[Nexus 4 Original Android Development] Vlad Paul:
Great news. Thank you! How can i make screenshot in TWRP recovery menu?
[Nexus 4 Original Android Development] z31s1g:
Unfortunately, screenshot feature will not be available with this update.

The comments at gerrit suggest that the current implementation causes problems on some (non nexus) devices, which is why they have not merged the patch yet.
[Nexus 4 Original Android Development] boardlord:
TWRP 2.7.1.0 available at techerrata :)
[Nexus 4 Original Android Development] xanthrax:
ok , because [MENTION=2966468]azrash[/MENTION] looks busy atm , i`ve replaced the new twrp image in his zip and made a flashable 2.7.1.0

don`t thank me please , anyone can do it :cowboy:
[Nexus 4 Original Android Development] wong.izzat:
Hi Cowboy. At least your effort ease our life.
[Nexus 4 Original Android Development] Vlad Paul:
Thank you Man!

Trimis din debara
[Nexus 4 Original Android Development] RolF2:
and where we can choose which file system will be used when formatting partitions (f2fs/ext4) ?
[Nexus 4 Original Android Development] abalam:
Can someone post a changelog?
[Nexus 4 Original Android Development] xanthrax:
maybe here

https://gerrit.omnirom.org/#/q/status:merged+project:android_bootable_recovery,n,z
[Nexus 4 Original Android Development] azrash:
Domo arigato! i am just a lurker now :P busy with uni.

anyway, i have uploaded the 2.7.1.0 zip file on dev host too.

j.mp/n4twrp for TWRP

j.mp/n4cwm for CWM Touch and normal

Flash it in recovery and you are all done. You can revert back to either recoveries by flashing the version you want to.

all zips have been tested on my N4. recovery img files are sourced from clockworkmod.com for CWM and goo.im or techerrata.com for TWRP.

p/s: just knew that 4.4.3 is out! lol

also check out [MENTION=2719389]z31s1g[/MENTION] 's holofied TWRP theme.
[Nexus 4 Original Android Development] Nikki1993:
Literally, 1 page back I asked for user-friendly changelog... just go and check the answer.

---------- Post added at 06:41 PM ---------- Previous post was at 06:39 PM ----------

Select Wipe from the main menu, select partitions you want to wipe and under it you will notice the option, something like "erase or change file system".
[Nexus 4 Original Android Development] rickbosch:
Flashify users, it's available as a download option.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Shooting Star Max:
My Nexus 4 has been converted to All-F2FS, but this new TWRP version cannot read any filesystem. Do we have to wait until a special F2FS-enabled version is created?
[Nexus 4 Original Android Development] jmtjr278:
Same here. I freaked out after flashing and finding none of my files and the recovery telling me I had no OS installed.
[Nexus 4 Original Android Development] VivaErBetis:
What's new in 2.7.1.0:

- Add GUI option to change or repair file systems on individual partitions. The change is destructive so backup your data including internal sdcard first. This option should make it a little easier to migrate a device from ext4 -> f2fs, for instance. You will find this option under Wipe -> Advanced Wipe, then select only one partition and then press the Repair or Change File System button. If a developer has added f2fs support for your device and we don't have it in TWRP, please contact me via PM to arrange for it to be added.

- Various bugfixes to backup and restore

- Improvements to USB storage handling

- Added a class to search for files to make finding the correct brightness file automatic in most cases

-Various other bugfixes and tweaks

Taken from:

http://teamw.in/project/twrp2
[Nexus 4 Original Android Development] Medel-Silver:
I flashed this & my N4 was full wiped :confused:
[Nexus 4 Original Android Development] Rohit02:
What.. ? lol.. hahhaaa.. All good here.. Flashed recovery and rebooted. done.
[Nexus 4 Original Android Development] gioxoid:
Flashed via market app, but still seeing 2.7.0.0 ...
[Nexus 4 Original Android Development] jmtjr278:
Mine told me the same. I was so bummed. But I went to reboot system twrp told me no OS but I rebooted anyways and everything was fine
[Nexus 4 Original Android Development] Medel-Silver:
Really strange, but it's good to know that
[Nexus 4 Original Android Development] jpmccarthy:
+1
[Nexus 4 Original Android Development] wong.izzat:
Use flashify apps on the image file
[Nexus 4 Original Android Development] himanshu.khanna:
please help

Device specs: desire x (protou) stock rooted rom. I tried goo manager it didn't installed twrp then used fastboot n flashed IMG file. I rebooted into recovery n screen was not stable, so I flashed 2.6.3 n it was working fine all 2.7.x are giving same issue. screenshot attached.

This works fine:

View attachment 2785814

This is the latest TWRP 2.7.1.0 (gives error: cannot read SELinux Kernel)

Please help me/ guide me
[Nexus 4 Original Android Development] Stryder5:
Okay, but attach the screenshot into the proper thread. This is the Nexus 4 thread ;)
[Nexus 4 Original Android Development] himanshu.khanna:
sorry
[Nexus 4 Original Android Development] speedypoint:
Is anybody else having trouble formatting to f2fs using the advanced option? It simply says formatted to me and then if I check the partition it's still ext4.
[Nexus 4 Original Android Development] eltonpestana:
Can you share file .zip for flash on TWRP? Here APP Play store dont flash new version.
[Nexus 4 Original Android Development] Nekator:
http://xdaforums.com/showthread.php?p=53178831

sent from N⁴
[Nexus 4 Original Android Development] badaas:
I tried to change to f2fs /data partition with 2.7.1.0, but in advanced wipe i only have options for ext2/3/4 and fat?

Is there something i need to first ie, some zip to flash to partition before i format with twrp? at a loss.... welp!
[Nexus 4 Original Android Development] z31s1g:
It was the same with 2710 on hammerhead, grouper and flo, the fix came 2 days later with 2711. Unfortunately there is no 2711 for mako yet...
[Nexus 4 Original Android Development] badaas:
OK I'm not going mad then thanks! ?
[Nexus 4 Original Android Development] Calinho:
TWRP support OTG on Nexus 4? I have OTG Y power cable, would be really cool flash zip direct from my pendrive
[Nexus 4 Original Android Development] Rohit02:
Clear your concepts mate.. you dont need a twrp for OTG but a OTG supporting kernel..

Goto android section to get these kernels by [MENTION=1175139]justvarshney[/MENTION]. You will get all the kernels you want with otg support..
[Nexus 4 Original Android Development] tatnai:
i think he wants to access OTG from within TWRP recovery, not from within the ROM; still kernel dependent?
[Nexus 4 Original Android Development] Calinho:
I found this mod for TWRP : http://d-h.st/XAG , now OTG works inside TWRP 2.7.1.0 :good:

Backup and flash works fine direct from OTG pendrive
[Nexus 4 Original Android Development] abalam:
Where do you find this. Link pleace. Tnx
[Nexus 4 Original Android Development] xanthrax:
It is from zidey's thread, he posted it few months ago, I'm using it but I can't figure out weather is working because of my hellscore kernel with otg or this patch...

here

http://xdaforums.com/showpost.php?p=45181681&postcount=927

Sent from my Darkside of LG G2
[Nexus 4 Original Android Development] xanthrax:
OK, în this case try a kernel with otg {hellscore wich version? doh) and ve sure that your otg is powered

Sent from my Darkside of LG G2
[Nexus 4 Original Android Development] Dan1234567890:
Does someone know some detail about what should this new "repair" option do, and how does it function? Is it something like "repairing bad sectors" in Windows? Should partition be deleted or it can be with data while running this option? If repairing is done on partition with data, can data be lost? Just a few questions that I have for start. [emoji16][emoji16][emoji1]

Thanks for all the info. ☺
[Nexus 4 Original Android Development] roberpao:
Hi, I install the TWRP manager about 5 minutes, but I don't know where is the device name for my nexus4, can any help me, please?

Thanks and sorry for my poor english.
[Nexus 4 Original Android Development] xanthrax:
Look for mako

Sent from my Darkside of LG G2
[Nexus 4 Original Android Development] jekkel:
Change CWM to TWRP

Hi everyone,

Could you please confirm that I can change my recovery from CWM to TWRP by simply flasing TWRP from CWM?

Please let me know if I have to do something differently or there is something what requires extra attention.

Thanks!
[Nexus 4 Original Android Development] xanthrax:
Nope, flash away just be careful, someone may steal your girlfriend during the process...

Sent from my Darkside of LG G2
[Nexus 4 Original Android Development] Berrydroidcafe:
Confirmed! [emoji2][emoji3]

Sent with my Nexus® 10 minus 3
[Nexus 4 Original Android Development] Nekator:
i did it that way and it worked. I had to flash twrp through cwm because flashing the IMG via fastboot always gave me encryption error and twrp asked for a password.

sent from my paranoid N4
[Nexus 4 Original Android Development] Berrydroidcafe:
There's also an app in the Play Store called TWRP Manager.

https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager

Sent with my Nexus® 10 minus 3
[Nexus 4 Original Android Development] jekkel:
And will it overwrite CWM?
[Nexus 4 Original Android Development] Spiralzz:
Yes.
[Nexus 4 Original Android Development] badaas:
Need 2711 pleeease ?

/sent from a toilet in a galaxy far far away
[Nexus 4 Original Android Development] NeBouse:
You need something that doesn't exist for our phone ^^

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

No twrp 2.7.1.1 available.
[Nexus 4 Original Android Development] badaas:
See here http://techerrata.com/browse/twrp2/hammerhead

2711 fixes the f2fs support, shabba!

/sent from a toilet in a galaxy far far away
[Nexus 4 Original Android Development] Vlad Paul:
That is for hammerhead, for mako isnt yet available 2.7.1.1

Sent with mako via tapatalk
[Nexus 4 Original Android Development] moonlightinwhite:
I can't get TWRP Manager to work. First, it doesn't find the IMG for mako and redirects to me Techerrata, where it supposedly downloads. Then it says it's been successfully installed, but upon rebooting, I'm still on 2.6.x.x (I forget which build).
[Nexus 4 Original Android Development] sumit999:
+1
[Nexus 4 Original Android Development] moonlightinwhite:
Flashify

I should note that Flashify works perfectly, though.
[Nexus 4 Original Android Development] z31s1g:
From my understanding the manager app is not made by the twrp team, so posting issues with it here won't get the app fixed. However, on the twrp theme manager play store page they say they're aware of the problem and working on a fix.
[Nexus 4 Original Android Development] z31s1g:
FYI

TWRP Holofied themes are now supporting flashing .img files directly, so no more flashable zips needed.

Supported image types are boot, recovery and radio/modem.

This feature is yet untested for mako, so please give it a spin and leave feedback in the

Holofied thread
[Nexus 4 Original Android Development] Mango Polo:
ironic?

isnt it strange that a twrp img file cannot be flashed via twrp? :D only fastboot and computer...?
[Nexus 4 Original Android Development] thunder2k:
You can flash it with Flashify https://play.google.com/store/apps/details?id=com.cgollner.flashify
[Nexus 4 Original Android Development] Mango Polo:
it worked on my Slimkat! thx
[Nexus 4 Original Android Development] Malkemid:
i have a problem with transfering backup files to pc. im using twrp 2.7 and windows 8.1

backup works fine..i can even restore it...but when im trying to copy backup folder to pc...the folder is empty!

its ok with solid explorer in phone...but windows show it empty with zero size.
[Nexus 4 Original Android Development] Rohit02:
[MENTION=912474]Dees_Troy[/MENTION] : Just a request why dont you add features like taking screenshot in recovery and flashin .img files in recovery..

This is possible by flashing the theme in themes sections but it makes twrp slow.. So thought I would request you here..

AS it is possible by just applying a theme why not we incorporate in recovery.

Thanks.
[Nexus 4 Original Android Development] boardlord:
Could someone pretty please compile 2.7.1.1 for our mako (or just 2.7.1.0 with the f2fs fix)? My humble thanks :)
[Nexus 4 Original Android Development] fr3quency:
Why? You can simply install the f2fs TWRP from this thread: http://xdaforums.com/nexus-4/orig-development/recovery-recovery-rom-f2fs-08-06-14-t2706825 . Then all you have to do is boot into recovery and type 4 simple commands. It's really simple

Boot into Recovery

Open adb and type the following:

adb shell
mkfs.f2fs /dev/block/mmcblk0p21 (System)
mkfs.f2fs /dev/block/mmcblk0p22 (Cache)
mkfs.f2fs /dev/block/mmcblk0p23 (Data) (Be careful, as this will wipe all your Pictures, Music etc.)

Note: You could first convert cache and system into f2fs, flash your rom and gapps AND THEN convert data into f2fs. If you convert data into f2fs before flashing your rom & gapps, you will lose everything(icluding your rom and gapps) and you will have to 'adb push' your rom and gapps into your Nexus 4. I did the last one; worked like a charm. Have fun with f2fs! ;)
[Nexus 4 Original Android Development] Midomad:
Last version is 2.7.1.0 right?
[Nexus 4 Original Android Development] meatboy371:
For the N4, yes.

— From my mako
[Nexus 4 Original Android Development] sikstiks:
Yikes!!

Hello,

I am in a bit of a pickle. I had tried to update my recovery with the TWRP app and for some reason it flashed a much older version of the recovery. v2.3.3.2 to be exact. I am unsure where that went wrong, but I am now left with a device that will not boot past recovery.

I am attempting to flash via fastboot the newest TWRP recovery. But it is just sitting at "waiting for device" in command prompt. I can not be sure if USB debugging was enabled or not... as I cannot boot the device.

Any thoughts on how I may proceed would be greatly appreciated.

Regards
[Nexus 4 Original Android Development] fr3quency:
You need the drivers for the Nexus 4. Either install this: https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH or search for "universal nexus toolkit" and install the drivers from there(although it install universal adb drivers as well, don't know if the version is newer).

Anyway, after you have installed the correct drivers, download the latest version from here http://techerrata.com/browse/twrp2/mako

1) Reboot into fastboot

2) Type "fastboot flash recovery the_name_of_the_TWRP_image_goes_here.img"

(eg, if the name of the recovery was asdf then you should type "fastboot flash recovery asdf.img")

;) And reboot

Note: the TWRP image file must be in the same directory that fastboot is.
[Nexus 4 Original Android Development] Nekator:
Or you add fastboot and ADB to path variable to execute it in every location. ;)
[Nexus 4 Original Android Development] nsmart:
On twrp versions prior to v2.7.1.0 you find your backup under /data/media/TWRP

With v2.7.1.0 the backup path moved to /data/media/0/TWRP (/data/media/0 is what you see as internal sdcard)

You could try to make a copy of you backup with solid explorer on your phone and try to access this copy from your pc.
[Nexus 4 Original Android Development] rskyline:
Hi everyone. I want to report an issue I'm having with TWRP. About a week ago I had an issue where the /cache partition was broken, this wasn't letting me to boot any ROM I put on my phone. So, I didn't wanted to make a flash all and lose everything, and I tried to flash cwm, format /cache and go, and it works! And now I want to ask, does TWRP can format partitions too? I'm only able to see wipe option.
[Nexus 4 Original Android Development] yankeeornovember:
Device hangs on boot after flashing recovery via fastboot

Hey guys, I've found myself in a bit of a pickle...

Long Story:

Just picked up my old Nexus 4 after losing my phone, it was still on 4.3. In fastboot, I successfully unlocked bootloader, it booted into Android no problem. I used adb reboot bootloader to put the phone in bootloader, downloaded the TWRP .img file from the website, and put it in my platform-tools folder (where fastboot and adb are).

I used "fastboot devices" and the device was recognized, so I used "fastboot flash recovery xxxx.img", and it successfully flashed. From there, I hit reboot into recovery, the TWRP splash screen popped up, but instead of getting into TWRP, the Google home screen flashed on. Then it was stuck there for several minutes.

I held the power button to turn off the phone, pressed volume down to go into fastboot mode, and in terminal on my computer, typed "fastboot devices", and the device was again recognised. Then on the device I tried to boot it, and again, just the Google splash screen hung there, and it would not boot. I can get into fastboot mode, and I can get into recovery. When in fastboot, "fastboot devices" recognises the phone, and when in recovery, "adb devices" recognises it as well. I thought this was a good sign.

HOWEVER, from playing around in recovery (trying to wipe data, internal storage, etc.) as well as using the command "adb push rom.zip sdcard" and trying to flash it, it keeps telling me data and internal storage cannot mount.

Short Story:

- I can get into fastboot, and I can boot into TWRP recovery

- my computer recognises the device when it's in fastboot, AND when it's in recovery, using "fastboot devices" and "adb devices"

- my device cannot seem to mount internal storage, cache, or data.

- HELP!! :(

*** update: in TWRP, when I select "reboot", and then "bootloader", it warns me: "no OS installed! Are you sure you wish to reboot?". I've hit the back button to cancel because I don't want to make anything worse. Any advice?!
[Nexus 4 Original Android Development] meatboy371:
[MENTION=4498857]yankeeornovember[/MENTION]

Flash a factory image from Google:

https://developers.google.com/android/nexus/images

— From my mako
[Nexus 4 Original Android Development] yankeeornovember:
Yup, I had completely forgotten Nexus phones have that option :P. For anyone else in my situation, ever, this tutorial was particularly helpful:

http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html

Thanks so much!
[Nexus 4 Original Android Development] The Zel:
The only thing that this recovery doesn't have is mount/USB, could it please be added [MENTION=912474]Dees_Troy[/MENTION] ?
[Nexus 4 Original Android Development] finistere:
Or you could just use 'adb sideload rom.zip' after enabling sideloading in twrp advanced tab.

Edit: Ooops, just noticed that you wrote that the partitions could not be mounted in recovery. So forget about sideloading...
[Nexus 4 Original Android Development] mixtapes08:
U can "adb push blahblah.zip /storage/emulated/0" without the cotations

Sent from my Nexus⁴
[Nexus 4 Original Android Development] fr3quency:
"adb push asdf.zip /sdcard" works as well. Why type that train? :P
[Nexus 4 Original Android Development] tember1214:
Delete
[Nexus 4 Original Android Development] nixie2121:
i got a new nexus 4. I copied all contents from the sdcard from my old nexus 4 to the new one. Installed TWRP. When I go to restore, it can not find the nandroid. It is in the TWRP folder I copied over, what step did i miss
[Nexus 4 Original Android Development] xanthrax:
Have you renamed the old backup?

Try to do another one and replace its content with the old one

Sent from my Darkside of LG G2
[Nexus 4 Original Android Development] nixie2121:
THANKS! that did it!
[Nexus 4 Original Android Development] bombadier:
Had a look but didnt see the solution, since I just encrypted my phone TWRP cannot mount the data partition! Am I going to have to do a complete wipe to get recovery working again ?
[Nexus 4 Original Android Development] bombadier:
Anyone ?
[Nexus 4 Original Android Development] xanthrax:
I'm not into encryption too much, actually I've never use it but most probably it is not recovery related but to encryption

So, data can't be mounted in recovery due to encryption

Sent from my Darkside of LG G2
[Nexus 4 Original Android Development] bombadier:
It is a recovery problem, If I reboot my phone I have to enter my pin to decrypt the phone and it boots normally,however if I reboot to recovery I dont get the chance to enter my PIN so the data partition isn't decrypted,therefore it cant be mounted,I cannot find much info on TWRP and encryption,its fast looking like I will have to completely wipe my phone and start again :(

Are there extra steps I need to do to get TWRP working with encryption?

the error I get is

E:could not mount /data and unable to find crypto footer.

Thought it was CWN that could not handle encryption?

CHANGELOG for 2.7.0.0:

-Faster graphics rendering by disabling alpha blending on fully opaque objects thanks to Tassadar

-Allow sideloading from /tmp on encrypted devices

-Check for a crypto footer before asking for a password to prevent user confusion

-Additional checks for validity to auto generated backup names

-Text wrap in the console output

-Proper caps lock support in the keyboard

-Mouse support via USB OTG for devices with a broken digitizer

-Improve scanning of storage locations for OpenRecoveryScript

-Haptic feedback for buttons, keyboard, and vibration at the end of longer running actions thanks to Samer Diab

-Fixed ext4 wiping when no selinux contexts are defined for that partition (e.g. sd-ext)

-Update SuperSU to 1.93 and improve installation process

-Added selinux contexts restoration to fix permissions

-Load RTC offset on Qualcomm devices to fix the date/time in recovery

-USB Mass Storage fixes Add SELinux support checking

-Add Disk Usage class to better handle excluded folders (e.g. Google Music cache)

-Add 4.4 decrypt support

-Add some toolbox utilities to TWRP (namely to support SELinux functions not supported in busybox)

-Various SELinux fixes and bug fixes
[Nexus 4 Original Android Development] skidaway:
I'm using 2.7.1.0 and it is working fine with my encrypted SlimKat install. Which ROM do you have installed, and are you on the latest version of TWRP?
[Nexus 4 Original Android Development] bombadier:
I am on the latest recovery and the latest Mahdi ROM,what happens when you reboot into recovery?with me I dont get asked for my pin,only when I reboot the ROM,I will ask in my ROM thread

Tapatyping from my Nexus 4