yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] The Race To Die:
it has just been moved to the top underneath the blue divider. backup name: (current date), just tap that and rename away
[Nexus 4 Original Android Development] rawdealer:
I tried to copy ROM backup from phone to laptop (W7) and stops after few seconds. On 2.5.0.0. I didn't have this problem. Can someone try please?

Sent from my Nexus⁴
[Nexus 4 Original Android Development] soumoks:
What are the functions of wipe data,wipe system and format data,which all should i do for a clean install? or is factory reset enough? new to twrp here :)
[Nexus 4 Original Android Development] rickbosch:
Can confirm both of these. Doesn't fill the entire screen on mako (previous versions did) and can't copy backups to PC. Using Windows 7, 64 bit.
[Nexus 4 Original Android Development] ssauger:
Same for me, back to 2.5.0.0 and i can copy to pc again.

Gesendet von meinem Nexus 4
[Nexus 4 Original Android Development] TrenchKato:
Factory reset is enough. A couple of those other ones will also wipe your virtual SD...

Nexus⁴ Life
[Nexus 4 Original Android Development] VivaErBetis:
Same problem here :(

Using FTP (ES Explorer FTP server / Filezilla client on Win XP) it only transfers to the PC the unencripted files from the backup. All the encrypted files just fails......
[Nexus 4 Original Android Development] TheByteSmasher:
Also, it cold just be an MTP problem. MTP is notorious for not liking to copy stuff in Windows, I've found Linux to work better...
[Nexus 4 Original Android Development] VivaErBetis:
But in my case I'm using FTP to transfer files...

Adding more info: FTP transfer of backup files fails in my nexus 10 too with TWRP 2.6. And it seems that it doesn't matter if the backup is encrypted or not; all the backed system and data files are not copied to the PC or even between two android devices (so it is not a windows problem), but the other files (md5 & boot) are.

Reverting to TWRP 2.5 fixes the problem, I mean, the backups done with 2.6 cannot be transfered but any newbackup done with 2.5 can be transfered without problems.........
[Nexus 4 Original Android Development] occtec:
Hey guys is 2.6.0.0 a worthy upgrade from 2.5.0.0 ?
[Nexus 4 Original Android Development] Vangelis13:
Meh, waste of money.

Wish it was free so people could just flash it without hesitation..

(Yes, of course it is a worthy upgrade. If not it wouldn't be released ;).)
[Nexus 4 Original Android Development] VivaErBetis:
In my opinion the "Backup files not transferibles bug" is enought reason to stay in 2.5.0.0 until it's fixed.
[Nexus 4 Original Android Development] GTDarthYoda:
ugh did an advanced wipe... the top 4 options changed slightly... Just wiped my internal storage... nothing was backed up...
[Nexus 4 Original Android Development] kenshinta:
I would like to copy the TWRP backups to my PC.

However permissions for the main system.ext4.win prevents me form doing so.

Like this: "rwSrwSr-- root sdcard_rw 562504192 2013-07-11 17:15 system.ext4.win "

Even as root I'm unable to copy.

Is there are proper way to offload the TWRP backups? Or is it ok if i just chmod / chown the file?
[Nexus 4 Original Android Development] raiderep:
Don't feel so bad, I did the same thing last night. I don't like that option being there so I'm back on 2.5 :good:
[Nexus 4 Original Android Development] TheByteSmasher:
Flash this to fix the issue with TWRP 2.6 backups not transferring... It fixes file permissions https://copy.com/UwH7k also, zip is in my Sig.
[Nexus 4 Original Android Development] xanthrax:
Can we have a little bit more info about this? Thanks !^_^!

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] owendesira:
Noob question: How do I update to the latest version please?
[Nexus 4 Original Android Development] xanthrax:
Via goo manager from market

Or flash the zip from few posts above

Or flash via fastboot the zip image from the op

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] spaceman860:
Goo.im app or find the zip file posted a few pages back.

From my BLACKED OUT N4
[Nexus 4 Original Android Development] TheByteSmasher:
It chown's the internal SD card, then sets proper permissions for both user and system files... It seems that the new TWRP does something weird to the backup file permissions... this fixes it. Also, if you find after an ADB push or a nandroid that you can't access certain files/folders or create/delete the same even with root, till fix it
[Nexus 4 Original Android Development] anazhd:
Thanks for this fix thou I'm not using the backup function. But it might come in handy, so I flashed it.

With thanks to osm0sis
[Nexus 4 Original Android Development] xanthrax:
Thanks pal, I thought so, is about permissions , gonna try it but not now, nearly midnight here :)

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] TheByteSmasher:
It's been mentioned as a problem since 2.6
[Nexus 4 Original Android Development] cdx47:
Got the tshirt mate LoL. It wipes your backups as well so don't worry about it. I now have a basic backup on pc and regular backups in the cloud.
[Nexus 4 Original Android Development] GTDarthYoda:
Ditto
[Nexus 4 Original Android Development] kenshinta:
Does this fix PREVIOUS backups made by 2.6 or only new ones?
[Nexus 4 Original Android Development] TheByteSmasher:
It should fix previous ones. Future ones might need this flashed again until TWRP is fixed.
[Nexus 4 Original Android Development] ilanderek:
so I´m using TWRP 2.6.0.0 and when I try to backup only my data it includes everything, what can I do so that doesnt happen? or how can I only restore data?
[Nexus 4 Original Android Development] occtec:
Use 2.5.0.0 ;)
[Nexus 4 Original Android Development] ilanderek:
could you please give me a link I cant find it =(
[Nexus 4 Original Android Development] occtec:
Here you go http://xdaforums.com/showthread.php?p=40107184 don't forget to hit thanks ;)
[Nexus 4 Original Android Development] JamesInsights:
Hi guys if i am on CWM and want to switch to TWRP what's the way to go? Use goomanager too?
[Nexus 4 Original Android Development] elban:
I believe the best way is by using goomanager, being on cwm or not.
[Nexus 4 Original Android Development] occtec:
You could flash via cwm twrp.zip which I have provided link for above ;)
[Nexus 4 Original Android Development] VivaErBetis:
I use Flashify (needs root):

https://play.google.com/store/apps/details?id=com.cgollner.flashify
[Nexus 4 Original Android Development] occtec:
I believe this only supports TWRP not CWM ;)
[Nexus 4 Original Android Development] xanthrax:
Nope, both are supported
[Nexus 4 Original Android Development] VivaErBetis:
Yeah, but it adds more options if you use TWRP (like multi-zip flash or optional wipes).
[Nexus 4 Original Android Development] ilanderek:
=( just tried it out and still the same it backs up everything not only my data any ideas?
[Nexus 4 Original Android Development] JamesInsights:
Hi do I just use flash recovery and add the twrp image? Thanks a lot
[Nexus 4 Original Android Development] VivaErBetis:
Yes, choose flash recovery and then choose the recovery image to flash (you can use its built-in file browser).

Once flashed it will ask you if you want to to reboot into the flashed recovery, but it's not mandatory.
[Nexus 4 Original Android Development] maurocds:
i did it with cmd, with no problem,

E. Optional -- Root

If you want to get root access follow the steps below. (And no, this will not flash a custom recovery, and not, it will not make you "not stock".) Unlocked bootloader required. See steps above.

1) Download (to your computer) the latest version of CWM (from here) or TWRP (from here) for your device;

2) Rename the file to customrecovery.img, and make sure it is in the same directory as your fastboot.exe file;

3) Download (to /sdcard on your device) the latest version of either ChainsDD's Superuser (not currently working), or Chainfire's SuperSU;

4) Restart your device in fastboot mode and plug into computer;

5) Open a command prompt in the directory mentioned above and type: fastboot boot customrecovery.img

6) Wait for it to boot;

7) Navigate the menus the recovery menu on your device and select an option like "update zip from sdcard". Find the zip that you downloaded, and apply it.

8) Reboot. Done.
[Nexus 4 Original Android Development] kenshinta:
I just did a backup and restore with 2.60 and everything as expected - no extra stuff just data was backedup and restored.

Did you check the correct options (ie data only)?

---------- Post added at 03:02 AM ---------- Previous post was at 03:00 AM ----------

I studied this issue and your script more, it seems to fix beng able to move/ copy/ transfer TWRP backups you can do it within TWRP using filemanager > chmod 755 option the *.win file in question. Not too hard to do, so not really a reason to settle for 2.5 over 2.6.

Still need that correction though soon I hope.
[Nexus 4 Original Android Development] teamshao:
Hey guys, got a question: updated to 2.6.0.0 from 2.5.0.0 but I've had the same problem with both: there's a black bar running down the right hand side. Purely graphical, but it doesn't show like that in the screenies so I'm just trying to figure out if this is a problem. Thanks!
[Nexus 4 Original Android Development] VivaErBetis:
Don't worry. It's because nexus4 screen size is not very standard. It happens only in our machines.
[Nexus 4 Original Android Development] teamshao:
Awesome. Thanks for alleviating my fears!
[Nexus 4 Original Android Development] rskyline:
It's just me or backup/restore is 2x faster than before?

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Nexus 4 Original Android Development] Lownita:
Backup isn't, but I didn't restore anything lately.

Tapatalked from my Nexus 4
[Nexus 4 Original Android Development] rskyline:
Before it takes about ~300 secs now it takes less than 200 for both.

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Nexus 4 Original Android Development] :
I've noticed a considerable speed bump, too. I'm pretty sure it's faster. :)
[Nexus 4 Original Android Development] uzii305:
Is there a way to update recovery through a flashable zip? I'm on 2.5.
[Nexus 4 Original Android Development] :
Flashable .zip:

http://xdaforums.com/showpost.php?p=43409083&postcount=985

AND

other means:

http://xdaforums.com/showpost.php?p=43557044&postcount=1014
[Nexus 4 Original Android Development] Droid2drummer:
Yes. I did find your awesome internal memory to work first try. But I did this on accident. Now I'm trying to find my way out. Toolkits seem useless. Anyone know a fix? I have twrp still but no OS yes I was in my zone use to wiping everything in advanced but I updated twrp and my own fault for not reading. No blame but need help.
[Nexus 4 Original Android Development] occtec:
Hey guys just a quick one, if I upgrade from 2.5.0.0-2.6.0.0 will I be able to restore backups made in 2.5.0.0 without any problems? 2.5.0.0 has been great and just wondering if it's worth upgrading.

Thanks in advance :)
[Nexus 4 Original Android Development] spaceman860:
Yes you can restore backups with the newer version. Read the op for whats new in 2.6.0.0

From my BLACKED OUT N4
[Nexus 4 Original Android Development] Craxx:
For me the backups with 2.6.0.0 fails, after going back to 2.5.0.0 all is well working.

Gesendet von meinem Nexus 4 mit Tapatalk 4 Beta
[Nexus 4 Original Android Development] Michealtbh:
2.6 working great here, thanks
[Nexus 4 Original Android Development] occtec:
2.6 all good here, thanks allot! :thumbup:
[Nexus 4 Original Android Development] Slymobi:
2.6 worked perfect along with 2.5 but gone back to 2.4 because I've got the tendency to button bash and paranoid of hitting the the newer layout buttons eeeeeeeek.

MokeeOs Flying
[Nexus 4 Original Android Development] vicky7180:
mount is not working..??as it selects internal storage right bt on pc i m unable to partition..?? any solution??
[Nexus 4 Original Android Development] spaceman860:
You can't mount internal storage in recovery on nexus devices

http://teamw.in/DataMedia

From my BLACKED OUT N4
[Nexus 4 Original Android Development] vicky7180:
whts them solution??? as i have taken yesterday...i flashed recovery then i flashed aokp jb mileston2 bt it says installation failed..now my phone is automatically going to recovery...whts the solution..im panic...plz help
[Nexus 4 Original Android Development] spaceman860:
You maybe got a bad download download the ROM again go into recovery and use adb to push the ROM to the sdcard.

adb push nameofrom.zip /sdcard/

Then factory rest flash ROM gapps reboot

From my BLACKED OUT N4
[Nexus 4 Original Android Development] itlnstln:
I'm having problems with backups on 2.6 as well. 2.5 is working great, though.
[Nexus 4 Original Android Development] Federico_96:
Sorry for noob/stupid question, it's my first time modding a smartphone, i wanted to restore a backup, but if from twrp recovery i press restore i can't find my backup, there is just the grey menu but there aren't any folders or files, if i press install i can find my backup in twrp folder, is this related to the fact that i renamed my backup from the pc? if i restore my backup with the install option instead of restore option will it work?
[Nexus 4 Original Android Development] Paschalis:
4.3 bootloader version? :)
[Nexus 4 Original Android Development] Federico_96:
No i'm on 4.2.2 bootloader :o
[Nexus 4 Original Android Development] kyokeun1234:
TWRP 2.6 works on 4.3 bootloader. Tried it.
[Nexus 4 Original Android Development] :
Hi!

Whenever I create a Nandroid with TWRP 2.6.0.0., I can't copy the backup to my computer, both with MTP (Windows) and ADB (pull) protocols, and in System state and in Recovery state.

Does anyone else have this problem?

If so, why isn't this listed as a known issue on the TWRP for Nexus4 official page?

Thanks!
[Nexus 4 Original Android Development] azrash:
Here

Flowed from my Nexus⁴ using Tapatalk 4 Beta
[Nexus 4 Original Android Development] saintsinner25:
backups working great here on 2.6.0.0 backed up and restored more than 4-5 times and it works just fine.but i got another problem,the recovery doesn't completely cover the screen.as in,black bars are left on the right side of it.i know it seems like a pretty stupid explanation but i don't really know how else to convey this :|
[Nexus 4 Original Android Development] Federico_96:
Sorry for auto-quoting could someone help me :good: ?
[Nexus 4 Original Android Development] xanthrax:
You shouldn't rename your backup from pc, you should be done it from twrp interface, few pages above there's a fix for backup not transferring https://www.copy.com/s/UwH7k a flashable zip

you can try to revert it to 2.5 and check if you can see the folder
[Nexus 4 Original Android Development] :
Aaah...Okay, I'll try that out. Thanks!

However, why isn't that listed as a 'known issue' on the N4's TWRP page?
[Nexus 4 Original Android Development] italia0101:
Anyone know how to fix adb sideload not working ? Adb works fine when the phone is on and in fastboot , but as soon as I enter twrp its an unrecognised device on my computer?
[Nexus 4 Original Android Development] Suman_Auddy:
when i try to install it from GooManager it just downloads and stays there,phone doesn't even reboots. Tried to download from the direct link and it is stuck at 99.99%.

I am on Nexus 4 4.3.
[Nexus 4 Original Android Development] playya:
Sometimes if not enough people have a bug they may not list or it could be that they have not gotten to it as of yet. Either way whether you look for it on a bug list or the web you have got to search. As you see your answer was actually in this thread and posted not too long prior to your posting. Hopefully all is well for you now :D
[Nexus 4 Original Android Development] oxxshadow:
upgrade?

So I have twrp 2.5.0.0 on stock 4.3. Is there a way to upgrade to the latest version? I tried the Goo manager method, but it did not work. Thanks !
[Nexus 4 Original Android Development] kyokeun1234:
Flash using fastboot while in bootloader. That's how I usually flash it when Goo doesn't work.
[Nexus 4 Original Android Development] oxxshadow:
do you need sdk for that? I tried a flashable zip but no luck. Any ideas?
[Nexus 4 Original Android Development] kyokeun1234:
You don't need the whole SDK but you do need proper drivers and adb.exe and fastboot.exe. I don't understand how flashable zip can fail... Are you sure the zip file is correct and not corrupted?
[Nexus 4 Original Android Development] oxxshadow:
I'm pretty sure it was ok. I flashed it through CWM, but it doesn't finish the flash. Anyways thanks I'll try fast img
[Nexus 4 Original Android Development] Droid2drummer:
Fixed.
[Nexus 4 Original Android Development] cobyman7035:
https://www.youtube.com/watch?v=leCiKG9-tNc

installed using this tutorial! thanks twrp2.6 touch looks better then CWM touch

How to flash Franco r170 boot IMG? Thx
[Nexus 4 Original Android Development] :
" E: Unable to locate storage device" - when I try to make a backup with 2.6. 2.5 was fine.
[Nexus 4 Original Android Development] Lownita:
You could use the app flashify. But Franco also posted a flashable .zip of the kernel in his thread.

Tapatalked from my Nexus 4
[Nexus 4 Original Android Development] gpvecchi:
Flashing packages that cointeins mod to system make loose root. It seems that this doesn't occur with CWM... Any help?
[Nexus 4 Original Android Development] wizardwiz:
How can I revert to stock recovery? i wanna update to 4.3 and naturally OTA won't work on TWRP
[Nexus 4 Original Android Development] elban:
I used twrp to flash OTAs successfully multiple times.
[Nexus 4 Original Android Development] occtec:
Just flash stock recovery from here http://d-h.st/jSl ;) OCCAM JDQ39

and Stock boot image from here http://d-h.st/j96

Sent from the wizard of OZ
[Nexus 4 Original Android Development] wizardwiz:
Did you downloaded the OTA image and flashed it via TWRP or when you got the notification about a new system update you simply followed the OTA and installed?

Can I flash the stock recovery via the Goo app ?
[Nexus 4 Original Android Development] elban:
Both worked for me: I did 4.2.2 with the standard system update and 4.3 with manual ota zip file download.
[Nexus 4 Original Android Development] wizardwiz:
Any link to the OTA zip ?

Thanks
[Nexus 4 Original Android Development] elban:
http://xdaforums.com/showthread.php?t=1971169
[Nexus 4 Original Android Development] wizardwiz:
I have just realized that WugFresh's Tookit (V1.6.4 and on) has a utility can revert the recovery back to stock. It'll download all necessary files, boot into bootloader and flash the stock recovery
[Nexus 4 Original Android Development] Swifty31703:
2.6.0.0 fails at breaking up the archive file into different parts on stock/rooted 4.3 with 4.3 bootloader. I have re-installed 2.6.0.0 twice now to see if I had a bad install/img file.

Found a work around myself:

Apparently disabling compression allows the backup to finish properly.
[Nexus 4 Original Android Development] :
Nobody?
[Nexus 4 Original Android Development] VivaErBetis:
I don't have that problem. Maybe you don't have enought free space to store the backup :what:
[Nexus 4 Original Android Development] :
Nope, I checked that and it works with 2.5. The error doesn't add up either. Something's ****ed with 2.6.
[Nexus 4 Original Android Development] grissli1:
Hi,

same thing on my Nexus 4 with 4.2.2. Can't save the Backup. Not on PC and not to Cloud. But only "data.ext4.win" and "system.ext4.win".

Greets

Chris
[Nexus 4 Original Android Development] sayogs:
compress img file and transfer to nexus4 install with boot to twrp and flash

Sent from my Nexus 4
[Nexus 4 Original Android Development] VivaErBetis:
That is the main issue of TWRP 2.6.

You can solve it. After the backup is done, and before rebooting, select in TWRP Advanced -> Terminal command, then select the backup folder and enter this command:

chmod 777 *

It grants all the possible permissions to backup files and you can save the backup to any other place.

Obviously this procedure should be done after every backup you done, until TeamWin solves it.
[Nexus 4 Original Android Development] grissli1:
Hi,

thank you that works!!!!!!!!

Greets

Chris
[Nexus 4 Original Android Development] Craxx:
Or stay with 2.5.0.0 :D

Gesendet von meinem Nexus 4 mit Tapatalk 4 Beta
[Nexus 4 Original Android Development] bigsky2:
Thank you, this works very well.

My follow up question is, do the permissions get reset each time the device is rebooted or powered off/on? Is that why you say "Obviously this procedure should be done after every backup you done"?

Prior to trying this method, I entered adb shell, su, and used chmod -R 777 /data/media/0/TWRP to get permissions to copy the backup files from my Nexus to my PC. But after restarting the phone, I was not able to copy files again from Nexus to PC connected via MTP. I tried entering the same command via adb shell, but was given a message "Permission denied". The only other way I was able to copy the files was via adb pull.
[Nexus 4 Original Android Development] VivaErBetis:
No, I express myself badly. I mean that this procedure must be done after every *new* backup (for every new backup).

I think that permissions changed using Terminal command in TWRP remains after every boot (well, in fact you made a reboot after change them) but I really haven't tested it because after downloading the backup to my PC I delete it in the device to save space... So I never tried it twice after other reboots...
[Nexus 4 Original Android Development] bigsky2:
Understood! Thank you for the clarification.

I also tend to delete the backups from the device save space. I wanted to test if the command to change the permissions were permanent or only temporary and I discovered that the command chmod -R 777 /data/media/0/TWRP only allowed me to copy the files I needed on one occasion. After a reboot, I tried to copy the same backup again but it did not allow me. Entering the same command above resulted in "Permission Denied".

Hopefully this is addressed in future update to TWRP.

Your command, entered via's TWRP's command line, worked well.
[Nexus 4 Original Android Development] rshankar:
Hey, I just installed TWRP 2.6 on my Nexus 4, android 4.3.

I noticed that the entire ui is offset towards the left of the screen. Am I the only one?
[Nexus 4 Original Android Development] .A.J.:
No, you're not the only one. It's like that on the Nexus 4.
[Nexus 4 Original Android Development] paranoid android85:
Also like that on the new nexus 7.
[Nexus 4 Original Android Development] rshankar:
Cool thanks! Just wondering..
[Nexus 4 Original Android Development] kazumisan:
Can you copy the back up of the phone to the computer with 2.6?
[Nexus 4 Original Android Development] Savant:
Yes I have done that multiple times ^
[Nexus 4 Original Android Development] TheByteSmasher:
Or you can Flash the Zip I made that fixes all the permissions:

Ω[TOOL] ★Internal SD FixerUpper Zip ★

;)
[Nexus 4 Original Android Development] Suman_Auddy:
When i am trying to install TWRP via Goo Manager nothing is happening after download is completed, tried to download it via the link also. Download is getting stuck at 99.99%. Any idea how to resolve this.

Using Nexus 4 with andro 4.3
[Nexus 4 Original Android Development] Thibaultvw:
I tried to fastboot flash it but it gives an error?
[Nexus 4 Original Android Development] rskyline:
What were the steps you did?
[Nexus 4 Original Android Development] Thibaultvw:
fastboot flash recovery recoveryname.img
[Nexus 4 Original Android Development] elban:
"fastboot devices" works?
[Nexus 4 Original Android Development] Michealtbh:
Are you literally typing that command, because it should be fastboot flash recovery TheNameOfTheRecoveryYouDownloaded.img
[Nexus 4 Original Android Development] Thibaultvw:
yup

of course not, I'm not stupid...
[Nexus 4 Original Android Development] VivaErBetis:
Hey, what's the error?

Maybe your bootloader is locked...

Or maybe you are using the newest 4.3 bootloader MAKOZ20i. In that case fastboot boot command is a bit broken and you should use:

fastboot -c "lge.kcal=0|0|0|x" boot thenameoftherecoveryfile.img