yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] jacopastorius:
Thank you but I can't find the zip flashable link in twrp website..
[Nexus 4 Original Android Development] Fr33L4nc3r:
You fail to understand one thing here ... this ain't an aftersale forum ... you will find only users helping each other.

It's unlikely anyone here will provide you a "solution" (ie have a look at TWRP code and update a fix)

You can either :

Keep using CWM

Try any mentioned workaround

Submit your issue to bug tracker
[Nexus 4 Original Android Development] rskyline:
So which version would make the backups restorable? I don't want to make a backup and then another to boot anytime.

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] ziddey:
Onus on you to figure out what's wrong / contact the creator @ androidtweak.in. This is not a problem with twrp, and perhaps, the author got lucky cwm allowed it to work.

I took a cursory look at the script and already see a few massive problems, most importantly that it's trying to run scripts off /sdcard. Firstly, this should be a permissionless partition and thus nothing can execute. Of course, since we have an emulated "sdcard" there may be differences in how cwm vs twrp presents this (and the underlying partition is ext4..).

I'm not looking too deeply into it, but the first sign of weirdness is in the main updater-script itself where it unmounts /sdcard before copying files to it. It's possible this is so that /sdcard reverts back to simply a directory on the "rootfs" and so will have executable support. Of course, this doesn't make any sort of sense at all why anyone would do this vs simply using /tmp. So, I'm imagining the point is to store backups in /sdcard.

Seeing how there's a later unmount /sdcard again, the first one perhaps should be a mount.

There are differences between recoveries that could allow buggy code to work only on the recovery it was tested against.

edit: heh, http://xdaforums.com/showpost.php?p=30950470&postcount=140
[Nexus 4 Original Android Development] gpvecchi:
Thanks, this answer has sense! I noticed that scripts are a little ugly; but they worked with old TWRP...

I assume that the sdcard is not correct with latest permissions. In fact Cwm creates a folder in data/media; could you suggest a correct path for permissions?

Thanks!
[Nexus 4 Original Android Development] rush420:
hey guys is the newest version working through goo. manager? I'm a little wary the last time I tried I got a soft brick but it wasn't on the nexus it was sgs 2 an with no computer I would have no way to fix it.

thanks
[Nexus 4 Original Android Development] playya:
May I also suggest that at the edge of every thread name there may or may not be a paperclip and if you click on it you will see any files attached in the thread. There you would of found your zip file for TWRP. Searching is your friend... :D
[Nexus 4 Original Android Development] galaxys:
Had no issues flashing 2.6.3.0 with goomanager few days ago...
[Nexus 4 Original Android Development] rush420:
I got it. I used the flashable zip worked fine thanks a million
[Nexus 4 Original Android Development] rskyline:
[MENTION=3946657]xanthrax[/MENTION] mate do u know which version was doing the backup well? i mean before i was giving erros to restore 'data'
[Nexus 4 Original Android Development] xanthrax:
I'm using the first 2.6.3.0 version lime-fied by addyzile

I'll upload it soon

Is working just fine , normal backup , compressed backup , restoration from normal or compressed , haven't tried to copy the backups though

https://db.tt/DZkdGJq3

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] rskyline:
I'm using the stock .3.0 and i had to come back to stock to test something. I did a nandroid of my cm rom. And when i wanted to get back to cm. The backup fails when restore data. I want to use the version which doesn't have this issue. You or anyone knows which one could be?

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] Stryder5:
I made a backup using 2.6.3.0 and restored it just fine a few days ago.
[Nexus 4 Original Android Development] rskyline:
I happens to me twice. When i tried to restore the backup the data partition just failed.

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] boardlord:
This happened to me also. But only, if the data partition backup was larger than 1 GB so it was split to 2 files. The first file's md5 wasn't matching the one in the md5 file (I re-computed it after the backup file was made). Oh, and compression was enabled.
[Nexus 4 Original Android Development] gpvecchi:
Just for info, I reverted back to 2.6.2.0, it seems that everything works fine...
[Nexus 4 Original Android Development] pepdavies:
I wish I'd read this. Just tried to restore two different backups. Both failed :(

Sent from my Nexus 4
[Nexus 4 Original Android Development] xanthrax:
CWM backups ?
[Nexus 4 Original Android Development] pepdavies:
This is the TWRP thread lol

Sent from my Nexus 4
[Nexus 4 Original Android Development] xanthrax:
oops , sorry , haven`t noticed :p well ... what about your internal storage , is there any Mb left ?
[Nexus 4 Original Android Development] cmajetic:
wrong thread sorry
[Nexus 4 Original Android Development] rskyline:
Did you get the same results with TWRP?
[Nexus 4 Original Android Development] cmajetic:
no i didn't but flashing TWRP again and just installing the rom won't fix anything right?
[Nexus 4 Original Android Development] rskyline:
You tell me! We're in the TWRP thread and you don't use it lol.
[Nexus 4 Original Android Development] cmajetic:
yes i already edited my post. it didn't happen with TWRP in the past. screw cwm...
[Nexus 4 Original Android Development] Rycon33:
It will fix it, that's what I did last time doing a clean install of PA. No baseband, I just flashed latest twrp and the ROM again and baseband was back.

Tapatalked from my N4
[Nexus 4 Original Android Development] cmajetic:
you are right. already posted in the cwm thread. then I will stay on twrp :)

but a big shame on the cwm developers. no working version on a nexus device is a no-go...

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] jlg19753:
2.6.3.0 my guess it supports 4.2.2 roms also still on 2.5 but want to upgrade?

Sent from my Nexus 4
[Nexus 4 Original Android Development] rskyline:
Recoveries doesn't have anything to do with your rom version.

Enviado desde mi Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] StephenMSmith:
I just upgraded my AT&T HTC One w?the 4.3 OTA update. FOr some reason, TWRP 2.6.3 is still saving a looking for backups in the /DATA/MEDIA folder, even though I have a /DATA/MEDIA/0 folder which is my SDCARD. It appears to detect the /DATA/MEDIA/0 folder in the log file below, but it still saves backups to /DATA/MEDIA which isn't accessible outside of Root Explorer. Any ideas?

Starting TWRP 2.6.1.0 on Thu Oct 10 20:34:21 2013

BOARD_HAS_NO_REAL_SDCARD := true

TW_INCLUDE_DUMLOCK := true

I:Internal path defined: '/data/media'

I:External path defined: '/external_sd'

I:Mount: Unable to find partition for path '/data'

RECOVERY_SDCARD_ON_DATA := true

TW_NO_USB_STORAGE := true

Starting the UI...Pixel format: 1080x1920 @ 32bpp

Pixel format: RGBX_8888

framebuffer: fd 3 (1080 x 1920)

=> Linking mtab

=> Processing recovery.fstab

I:Processing '/boot'

I:Processing '/cache'

I:Processing '/data'

I:Backup folder set to '/data/media/0/TWRP/BACKUPS/HT361W907616'

I:Settings storage is '/data/media/0'

I:Processing '/recovery'

I:Processing '/system'

I:Processing '/usb-otg'

I:Created '/usb-otg' folder.

Updating partition details...

I:Data backup size is 1949MB, size: 26206MB, used: 12688MB, free: 13900MB, in data/media: 10739MB.

I:Unable to mount '/usb-otg'

I:Actual block device: '', current file system: 'vfat'

I:Unmounting main partitions...

Thanks,

Steve
[Nexus 4 Original Android Development] xanthrax:
hi Steve !

check on the back of your phone , is it written Nexus ?
[Nexus 4 Original Android Development] StephenMSmith:
Not a Nexus. This is an AT&T HTC One that just received the 4.3 update (from 4.1.2 I think).
[Nexus 4 Original Android Development] xanthrax:
well , i`ve noticed ... i was kidding ... sorry , but still wondering why do you post a HTC ONE issue on Nexus thread ...

-=-=-

here , on Nexus you can see the backups through file explorer , i use solid explorer , your app needs root permission

check its settings
[Nexus 4 Original Android Development] StephenMSmith:
Ah whoops! I got here from searching XDA and thought it was a general TWRP thread. Didn't realize I was in the Nexus forum, lol.
[Nexus 4 Original Android Development] xanthrax:
I thought so ... Now this explains the strange smell coming from my laptop , I'll be staying on mobile for a while :D

Try what I said and if still doesn't work search for your cuisines on HTC one forums :rolleyes:
[Nexus 4 Original Android Development] BrandoHD:
Oh man, at least you didn't flash anything from this thread, no harm no foul, thanks for the laugh though

Sent from my Nexus 7
[Nexus 4 Original Android Development] abjexstallion:
On 2.6.3.0 the "mount USB" function didn't work. My phone was half-bricked, but thankfully found a workaround. Just checking if it works or not. Or how to make it work.

After all... It's a NEXUS!!!
[Nexus 4 Original Android Development] ziddey:
http://xdaforums.com/showthread.php?t=2181820
[Nexus 4 Original Android Development] StephenMSmith:
Yeah, that woulda not been good, lol.

BTW, I found the answer elsewhere here on XDA (which applies to all devices) -- you have manually delete the .twrp preferences file from the TWRP directory. This info is probably somewhere in up in this thread too.
[Nexus 4 Original Android Development] kenkiller:
I'm guessing he's talking about connecting to the PC via usb in recovery, not usb otg. :D
[Nexus 4 Original Android Development] imeem:
so the other day, i tried nandroid restoring my phone back to 4.3 stock rooted, but i notice that the folder size is 22 mb. I made 2 backups of 4.3 stock rooted and both of them were 22 mb. This seems wrong.....?

i was trying to restore those files with the latest recovery, however i don't know the version of TWRP i used to make the backup for the 4.3 stock/rooted.
[Nexus 4 Original Android Development] ziddey:
Well I'll be damned. As it turns out, there may be something worth looking into after all. I ended up borrowing the precompiled zipalign to use myself. I did all my testing from Android and not TWRP and didn't realize until now (weeks later) that it indeed does not work in TWRP (2.6.3.0 at least):

# ./zipalign
CANNOT LINK EXECUTABLE: could not load library "libutils.so" needed by "./zipalign"; caused by could not load library "libcorkscrew.so" needed by "libutils.so"; caused by could not load library "libgccdemangle.so" needed by "libcorkscrew.so"; caused by cannot locate symbol "__sprintf_chk" referenced by "libgccdemangle.so"...

Any ideas?

edit: I used the google! http://xdaforums.com/showpost.php?p=30950470&postcount=140

resolved
[Nexus 4 Original Android Development] melbourne408:
Haha this is why I'm sleeping good tonight (at least trying to,) you guys are heroes in my eyes, thanks for sharing the laugh!

(This below me was towards the other side of the equation , my bad, below are my credentials.)

↓

DaeR ««‹»»»heT‹›Po

;/ Sorry for the broken English , I try good! :sly:
[Nexus 4 Original Android Development] xanthrax:
gotcha !!!

READ THE OP !!! :cool: good one !
[Nexus 4 Original Android Development] soylukral:
Guys need help here...

I just updated twrp from 2.6.0.0 to 2.6.3.0 with the zip file via recovery. After flashing, the recovery asked me to fix root. After that the phone turned off en wont boot anymore. Any One knows why and hoe i can fix this??

---------- Post added at 08:28 PM ---------- Previous post was at 08:20 PM ----------
[Nexus 4 Original Android Development] gpvecchi:
Could you boot into bootloader, keeping volume down and power toghether? If so you can use ADB to flash new recovery and kernel and eventually rom...

EDIT: Sorry, how can you "send from your Nexus 4 using XDA Premium 4 mobile app" if it doesn't boot?
[Nexus 4 Original Android Development] xanthrax:
You need the superSU 1.65

https://db.tt/IdffXJGk
[Nexus 4 Original Android Development] soylukral:
No, it doesnt do anyting. I allready treid to pull out the battery, but still nothing.
[Nexus 4 Original Android Development] gpvecchi:
Pulled out battery? Do you have a Nexus 4? In this case it looks bad...
[Nexus 4 Original Android Development] soylukral:
Yes i did pull out the battery or connector, you name it. But how Can it be the battery, i still had 35% of power left when i flashed the recovery update?
[Nexus 4 Original Android Development] :
I occasionally get a message telling me to "fix root". Don't know if this is a supersu problem or a twrp problem. Anyone else get this?
[Nexus 4 Original Android Development] xanthrax:
SuperSU , flash the latest one
[Nexus 4 Original Android Development] ziddey:
Solution: http://xdaforums.com/showpost.php?p=30950470&postcount=140
[Nexus 4 Original Android Development] gpvecchi:
You could check it with a multimeter...

Thanks, I'll try it!
[Nexus 4 Original Android Development] rskyline:
Cant manage to make any 2.6 version to restore data properly.

Enviado desde mi Nexus 4 usando Tapatalk now Free
[Nexus 4 Original Android Development] imeem:
works fine for me. are your nandroid backups corrupted?
[Nexus 4 Original Android Development] rskyline:
How can be/become corrupted? Tried .6.0.3 and .6.0.0 and when the data partition is being restored it fails.

Enviado desde mi Nexus 4 usando Tapatalk now Free
[Nexus 4 Original Android Development] :
And that is v1.65?
[Nexus 4 Original Android Development] Bill Gamble:
Yes.
[Nexus 4 Original Android Development] imeem:
Whenever i make backups, i move them to my pc to save space on my phone. And the files can b corrupted during the transferring process.

Try making another nanadroid back up and restore it. If the data partition doesn't restore then it should mean that it's something to do with TWRP. If it restores normally, it may mean that your data partition are corrupted/ not properly backed up.

You could try reinstalling the latest TWRP again but don't do it with goomanager, do it on pc.
[Nexus 4 Original Android Development] rskyline:
Already done all of that, tried several Backups from several roms on 2.6.3.0 2.6.3.1 2.6.3.2 2.6.3.3 all flashed via TWRP by the zips posted here.

Enviado desde mi Nexus 4 usando Tapatalk now Free
[Nexus 4 Original Android Development] playya:
I see so many people asking for SuperSu and how to find it or whats the latest one. Just as an fyi he has an xda webpage which can also be found via a search http://xdaforums.com/showthread.php?t=1538053 - check there or google play for updated versions as well as some of his other good apps

---------- Post added at 01:23 PM ---------- Previous post was at 01:22 PM ----------

I have been following this thread for a while and it seems hit or miss with people and the latest 2.6.x series recovery. Honestly I just updated to 2.5 which from what I read is one of the last ones without issues and its been smooth sailing for me.
[Nexus 4 Original Android Development] rskyline:
Do you have any link to get older 2.5 versions?
[Nexus 4 Original Android Development] :
Yeah, I flashed v1.65 but it still gives me that message of "fix root" in twrp.
[Nexus 4 Original Android Development] playya:
i get it too after clearing cache at times and flashing new zips.... not a big deal just hit dont fix(I think) and keep it moving... All will be fine
[Nexus 4 Original Android Development] xanthrax:
https://dl.dropboxusercontent.com/u/40706234/TWRP-2.5.0.0-mako_flashable.zip

;)

images of all here

http://techerrata.com/browse/twrp2/mako
[Nexus 4 Original Android Development] playya:
Lol let me hook you up with some tricks here. If you go to the main page of this thread and you will see this TWRP 2.6.3.0 touch recovery [2013-09-16] (paperclip) If you were to click on the paperclip you will find all the attachments posted in this thread. Also a search of 2.5.0 probably would also find it for you... check it out :good:
[Nexus 4 Original Android Development] rskyline:
Ty mate.
[Nexus 4 Original Android Development] xanthrax:
i will never let down a friend when in trouble ... :D links posted :p
[Nexus 4 Original Android Development] playya:
You're a gentlemen and a scholar but I like to throw in a little D.I.Y. when helping it builds confidence and helps them for the next problem...:D :good:

As long as he got what he wanted its all good :D
[Nexus 4 Original Android Development] rskyline:
I think the restore issue is fixed. I made a full wipe to my phone and is working i guess.

Enviado desde mi Nexus 4 usando Tapatalk now Free
[Nexus 4 Original Android Development] swirly05:
Problem: Backing up takes forever! It says (breaking up in multiple ...)

How do I fix this?? Backing up my rom didn't use to take this long. Im on the latest. Thanks
[Nexus 4 Original Android Development] ben_pyett:
check that you've not enabled compression by accident, makes for smaller backup sets but takes ages...

The setting is in TWRP Backup screen (enable compression) is a tick box option at bottom of screen
[Nexus 4 Original Android Development] swirly05:
Thanks for the reply, that's not the issue. I didn't have it checked... Don't know what's the issue. Might have to factory reset the phone.
[Nexus 4 Original Android Development] ben_pyett:
Just for comparison sake, my full backups (system, boot, data) don't see the need to do cache or recovery, which are about ~2.5Gb, take just over 9.5mins (approx)
[Nexus 4 Original Android Development] rsdunlop:
Do you use Google music?

The Google music cache maybe causing this which you can clear in the app.
[Nexus 4 Original Android Development] Ridho1:
Is it possible to get a "push apks" feature? When I install a custom ROM, it is a bit of pain when I dont have an internet connection to download file manager on Play Store. Thanks.
[Nexus 4 Original Android Development] swirly05:
Cleared the asps cache. Going to try it now. Thanks for the reply

Edit: Did that and still a no go. Might just have to factory restart. Thanks again.
[Nexus 4 Original Android Development] ben_pyett:
how long is long? How many minutes? How much data? Which partitions do you backup?

Try wiping full cache partition or not even backing it up.
[Nexus 4 Original Android Development] swirly05:
One, and I'm not new to this. Thanks I'll try that now
[Nexus 4 Original Android Development] ben_pyett:
sorry but one what? How long does your backup take in minutes and how much data? how large is the resultant backup directory?
[Nexus 4 Original Android Development] swirly05:
Sorry auto correct messed that up. I mean, it backs up but it takes about 30min or so. It tells me it breaks it up into multiple parts. When restoring it goes in 1 - 2 parts.
[Nexus 4 Original Android Development] rsdunlop:
I think you maybe clearing the wrong cache?

You need to clear the one in Google music > settings > clear cache

Not the cache in android settings > apps
[Nexus 4 Original Android Development] ben_pyett:
ok, that is excessive, check out your applications by size, see if you have and monsters lurking, otherwise as you say yourself might be time for wipe, I'm now out of ideas
[Nexus 4 Original Android Development] xanthrax:
A recovery log may reveal what happens

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] swirly05:
How do I do that??
[Nexus 4 Original Android Development] xanthrax:
Sorry for delay ... From recovery / advanced / left upper corner , log to SD , you will find it then on the internal storage

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] swirly05:
Thanks, I had already did a factor rest and I'm back on stock for a little bit until I decide to flash another rom.
[Nexus 4 Original Android Development] xanthrax:
On another note , there is the option to choose what to backup and you can skip the cache

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] gauthier81:
I was having the same issue with 2.6.3. Breaking data into multiples and it said backup was taking over 1000 seconds. Then when I wanted to restore the backup it would fail. I reverted to V2.6.2 and my backup only took 195 seconds and didn't separate into multiples. Just haven't tried to restore yet.
[Nexus 4 Original Android Development] pikachukaki:
When i wanted to flash a zip from my pc i mount my internal storage and my sdcard (on my oldest device) copy the zip and flash it...with n4 i cant mount my internal storage to my pc??what am i doing wrong?
[Nexus 4 Original Android Development] ziddey:
no usb mass storage anymore (our storage is emulated anyway). adb push in twrp. MTP available in android
[Nexus 4 Original Android Development] pikachukaki:
Thats bad....its a great feature and its easier to move files...anyway..thanks for the answer!
[Nexus 4 Original Android Development] CoolApps:
Just a quick question, will 2.6.3.0 break anything such has the baseband and radio like the other versions apart from 2.6.0.0?
[Nexus 4 Original Android Development] xanthrax:
Flashing a new recovery will change nothing into your system

Also , no harm will be done flashing stuffs through the new 2.6.3.0 , actually is the one recommended

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] CoolApps:
The baseband and radio is not in the system partition, what I mean't is this version of the recovery break them when installing a zip?

EDIT: Nevermind. :P
[Nexus 4 Original Android Development] xanthrax:
oh my ... :rolleyes:
[Nexus 4 Original Android Development] CoolApps:
Somehow I cannot install TWRP recoveries while on 2.6.0.0 within the system so I have created a flashable zip so I can install TWRP 2.6.3.0 and guess what?, it went flawlessly well so I decided to put it out there for the others who want it.

Download Link: http://caftp.3owl.com/Flashable_zips/Nexus_4_TWRP_Recovery_Installers/
[Nexus 4 Original Android Development] casonswag:
Twrp not finishing my backuos anymore now its just hangin at the last part where its breaking up the files into multiple something i forgot what it says but its not getting past that part?
[Nexus 4 Original Android Development] Rycon33:
Could it be due to not enough storage?

Tapatalked from my N4
[Nexus 4 Original Android Development] casonswag:
I have enough got like 6 gigs
[Nexus 4 Original Android Development] xanthrax:
or maybe the cache

Google music, if you stream from it, creates a tone of cache

try cleaning all caches or don't backup it

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] casonswag:
I don't backup cache i only backup boot system and data all this time its been working fine but now on these latest roms this been happening on latest cr rom and carbon rom
[Nexus 4 Original Android Development] xanthrax:
I think is the superuser issues, try to flash superSU

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] casonswag:
I already got the latest super su 1.65
[Nexus 4 Original Android Development] xanthrax:
I was so afraid that you will say so...

How about to get a recovery log?

Advanced /log to SD card

sent from my Darkside of Nexus 4
[Nexus 4 Original Android Development] ermacwins:
The time in the UK says 7:33AM while it is 1:33PM (UK)
[Nexus 4 Original Android Development] port76:
set your regional time in settings in recovery its fine I've just done mine and I'm in uk:D
[Nexus 4 Original Android Development] chrisnk204:
These last couple of pages got me confused i wanna switch from cwm to twrp just for a new feel but im hearing i cant format data for a fresh install? I format data all the time on cwm and my backups are fine
[Nexus 4 Original Android Development] gd6noob:
can I enable USB in this recovery?
[Nexus 4 Original Android Development] 3rdstring:
You can use abd to push/pull files but there is no USB mass storage mode
[Nexus 4 Original Android Development] gd6noob:
crap.. i dont know how to use abd