yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] sirxdroid:
Depends what you mean by "it was just taken out of the box". If you wan to go back to the stock ROM, unrooted, no custom recovery, it's more complicated than that. There are guides on how to do it, look in the sticky threads.

If you just want to go back to your custom ROM defaults, keep the custom ROM and root but wipe any apps you may have installed, what the post above me said. note that Factory Reset will not wipe /sdcard, so your photos, music, movies will still be there. This is important if you sell the phone or send it away for service.
[Nexus 4 Original Android Development] Birba:
Do those with the same problem also have set custom download folders in goo manager or franco app?
[Nexus 4 Original Android Development] dkm911:
A quick question: is the mounting function of internal storage available in Nexus 4 now??
[Nexus 4 Original Android Development] casonswag:
V2.5 is Solid!

NEXUS⁴
[Nexus 4 Original Android Development] nevertells2:
Reports from those installing the HP Touchpad/Tenderloin version of 2.5.0.0 are disappointing. The link below is the only place that any active discussion is going on.

http://rootzwiki.com/topic/37783-if...how-it-works-for-you-good-or-bad/page__st__50

Any help from the devs appreciated.
[Nexus 4 Original Android Development] 3r1k:
Confused... Where can I find wipe dalvik cache or cache partition like in cwm?
[Nexus 4 Original Android Development] casonswag:
When u click Wipe look for Advanced and u can check which partition to wipe

NEXUS⁴
[Nexus 4 Original Android Development] Stryder5:
This is the N4 thread... And in the OP:

If it was hard for you to read that, then imagine how much harder it is on the devs to keep up with over 40 threads ;)
[Nexus 4 Original Android Development] nevertells2:
And where in the OP or thread title does it say this is a N4 thread, since I did read it and saw nothing about N4.:(

There is a thread for the TouchPad, would it be too hard for someone from TeamWin to keep it up to date like they do this thread?:D

http://xdaforums.com/showthread.php?t=1400649
[Nexus 4 Original Android Development] Stryder5:
The fact that this thread is in Google Nexus 4 > Nexus 4 Original Android Development boards should clue you in...

And did you completely ignore again what I quoted? What's the point of updating any threads if you aren't going to read it anyways?
[Nexus 4 Original Android Development] njeske:
This thread is in the Nexus 4 forum, it doesn't also need to be noted in title or op since that would be redundant.
[Nexus 4 Original Android Development] dasbooter:
I have searched around for awhile and through this thread but I cannot seem to find out why I cannot get adb to work with TWRP. ADB commands work well with a rom booted up not when I am in TWRP. I have noticed that unplugging the usb cable and plugging it back in doesnt seem to initiate the process of mounting the device in anyway? adb devices list nothing but space?
[Nexus 4 Original Android Development] nevertells2:
Well guess what sports fans, when I Googled TWRP 2.5.0.0, the search brought me directly to this thread, so how am I supposed to freakin' know by the title of the thread that it's N4? The black text in the title is what stands out and tends to catch one's eye. Maybe you should try a little less rude and a little more helpful.
[Nexus 4 Original Android Development] drmclove69:
Even then it shows nexus 4 forum. Top left to be exact
[Nexus 4 Original Android Development] Stryder5:
The bolded part of my previous part is in the top left corner. So that's exactly how you are supposed to know which boards you are in.

And I'm not sure how I was rude and not helpful. I answered your question by quoting exactly what the dev said in the OP. I also addressed the fact that you were in the wrong board and gave you a link where to report issues.
[Nexus 4 Original Android Development] Vangelis13:
You didn't bow, forgot chocolate and flowers.:p
[Nexus 4 Original Android Development] kurniawan77:
Come on peeps.... Stop nagging!

sent from N4 to AOKP
[Nexus 4 Original Android Development] casonswag:
Okay back on topic please

NEXUS⁴
[Nexus 4 Original Android Development] scottx .:
Did a full backup earlier and flashed a ROM to try out and when I went to restore it back there was no data partition backed up. Thank goodness for titanium backup. I'm going to reboot now and make sure I backed it up correctly.
[Nexus 4 Original Android Development] rskyline:
Are you using 2.5.0.0?

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] scottx .:
Of course
[Nexus 4 Original Android Development] Nebucatnetzer:
Somehow I had quite some problems with every version after 2.3.X I think.

I had it three times that the backups were broken on 2.4 versions and now on 2.5 I have a backup which gives me constant UI FCs. MD5 check goes trough without a problem.

I also don't use compression.

Does someone have similar problems?
[Nexus 4 Original Android Development] casonswag:
I dont have those probs i just restored a backup now and its running fine no compression and v2.5

NEXUS⁴
[Nexus 4 Original Android Development] Nebucatnetzer:
It doesn't happen with every backup. But to often for my taste.
[Nexus 4 Original Android Development] kerngehirn:
Hi, i don't get twrp running in fullscreen.

On the right corner there are about 6 mm missing.

What's that?

Thanks
[Nexus 4 Original Android Development] galaxys:
Because its designed for many devices not just the N4. There are themes for it in the Themes section.
[Nexus 4 Original Android Development] VaksenDK:
It's that much bigger our screen is compared to the Galaxy Nexus device.
[Nexus 4 Original Android Development] kerngehirn:
Yeah well, i tried the theme from the xda nexus 4 forum which is designed for it. But still no full screen.
[Nexus 4 Original Android Development] stankyou:
I've made several backups and restore and I also don't have any problems woth v2.5. I even have compression enabled.

via xda app
[Nexus 4 Original Android Development] VivaErBetis:
Yesterday I restored a backup done several days ago with v2.5 and compression enabled,and it was restored without any problem too.
[Nexus 4 Original Android Development] arc_u:
I install goomanager, hit the 3 dots and hit "install openrecoveryscript" and a toast told me that "no recovery found for your device" ........
[Nexus 4 Original Android Development] VivaErBetis:
Today I've done another compressed backup with TWRP 2.5.0.0. and everything seems to works well.

I've taken some screenshots of the parameters I've used and the results:

It creates the following files:

19/04/2013 22:21 23.068.672
19/04/2013 22:21 48 boot.emmc.win.md5
19/04/2013 22:20 814.047.958 data.ext4.win
19/04/2013 22:20 48 data.ext4.win.md5
19/04/2013 22:21 326.800 recovery.log
19/04/2013 22:18 313.651.054 system.ext4.win
19/04/2013 22:18 50 system.ext4.win.md5
7 archivos 1.151.094.630 bytes

And all the md5 hashes (stored inside md5 files) match with their corresponding file.

I even check that the .ext4.win files are correctly generated using 7zip (checking integrity).

So in my opinion the backup is OK. People that have problems maybe are using other parameters... but anyways I suggest you to check the backup integrity before storing it as lifesaver.

BTW: file boot.emmc.win is not compressed (?).
[Nexus 4 Original Android Development] freddysam:
After performing a backup of my data partition with TWRP 2.5.0.0, my sdcard partition became corrupt. I'm currently trying to recover everything using this guide. Anybody else run into this issue? I'm hoping this was just a freak occurrence.
[Nexus 4 Original Android Development] stankyou:
That's for the Galaxy Nexus. This thread is for Nexus 4. The Nexus 4 doesnt have an sdcard slot so you wont get much help here.

via xda app
[Nexus 4 Original Android Development] DesignGrits:
I had something similar happen to me the other day, didn't know if it was the recovery or something else. But yeah I couple flash a new rom or restore from a backup at all, stuck in the recovery screen, no boot past the google logo. I had to restore to stock and then make my way back, was not fun.
[Nexus 4 Original Android Development] freddysam:
That thread is for recovering files from the internal memory of your phone, not an external sdcard. It worked on the Nexus 4. The only change was extracting mmcblk0p23 instead of mmcblk0p12.

Update: I was able to recover some files, but most of it is lost or mangled. I restored my phone to stock using google's factory image. I then redownloaded and reinstalled this recovery. When I attempted to create a backup, TWRP claimed to have succeeded, but when I booted up into the stock rom looked for the backup using MPT, the only thing in the /sdcard/TWRP/ folder was a single file called ".twrps". I can see the backup folder and files when I use an android file browser, but for some reason my computer doesn't see it. It looks as though the file system is corrupted again...or something. But everything seemed to be working again until I backed up with TWRP. Any help would be appreciated.

I think the partition table must be corrupted and flashing to stock doesn't fix it. Does anyone have a way to fix the partition tables on the nexus 4?

Update 2: After resizing the userdata partition and reinstalling the factory image, everything is working. This seems to have been a cascade of problems. Besides the partition table problem, the media storage app was corrupted when I installed the stock image the first time. That is why the TWRP backup didn't show up on my computer.
[Nexus 4 Original Android Development] 3thman:
the factory rest goes very quickly why ?
[Nexus 4 Original Android Development] casonswag:
Twrp just fast like that

NEXUS⁴
[Nexus 4 Original Android Development] 3thman:
No but After i updated my recovery .. i think the factory test ia not going well cuz when I install a new ROM im facing issues..
[Nexus 4 Original Android Development] casonswag:
Its been working fine with me i installed carbon xylon and aokp i would say reflash the recovery and or it may be the rom

NEXUS⁴
[Nexus 4 Original Android Development] rskyline:
I usually make the wipe twice and wipe system too.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] 3thman:
If i wipe the system... will my SD card be wiped??
[Nexus 4 Original Android Development] drmclove69:
Nope
[Nexus 4 Original Android Development] Vangelis13:
Nope, you're good to go.

Format Data would wipe your sd..
[Nexus 4 Original Android Development] kowcop:
Can someone please have a look at these actions and tell me what I am doing wrong..

So I have a custom ROM installed, and for example, it has a file included called ChromeBookmarksSyncAdapter.apk..I then create a new custom ROM with this file removed

So with the original ROM installed.. I do the following:

1. I go to TWRP (2.5.0.0) and go to WIPE and leave defaults and just slide the bar across to do a factory reset

2. I go to INSTALL, install the new ROM

3. after the install finishes, I go back to WIPE and then leave defaults and do another factory reset

4. I go to REBOOT and select system

In my mind, this should leave me with the fresh install of the new ROM with ChromeBookmarksSyncAdapter.apk missing... right?

Well it doesnt.. ChromeBookmarksSyncAdapter.apk is still there.

If I use the following method, it seems to correctly flash the ROM (ChromeBookmarksSyncAdapter.apk missing)

1. I go to TWRP (2.5.0.0) and go to WIPE and leave defaults and just slide the bar across to do a factory reset

2. I go to INSTALL, install the new ROM

3. after the install finishes, I do the DAVLIK/CACHE wipe on the install screen

4. I go to REBOOT and select system

Am I going crazy, or in the first method, is the second factory reset restoring the original files somehow?
[Nexus 4 Original Android Development] mbh87:
Chrome sync is a system app which is bundled in GApp packages.
[Nexus 4 Original Android Development] kowcop:
The name of the .apk is irrelevant. The .apk was deleted from ROM prior to installing it via TWRP.

The problem is that after installing the new ROM and doing a system reset, the file was still there when it should have been gone .. I went back and checked the file wasnt in the ROM file(zip).

I can get it to work as expected, but it means not doing the second system reset/wipe after the ROM
[Nexus 4 Original Android Development] Michealtbh:
Which rom? Some roms (Cyanogenmod) backup and restore some system apps/data between flashes
[Nexus 4 Original Android Development] kowcop:
It is a CM based ROM (JellyBeer), but like I say, I can get it to work and give me a fresh ROM by not doing the second factory reset/wipe and doing a simple DALVIK/CACHE wipe instead.. this indicates

1. I either have a missunderstanding of that this Factory Reset sort of wipe does

2. I am doing something wrong, or

3. there is a problem with TWRP
[Nexus 4 Original Android Development] kwerdenker:
Factory Reset doesn't wipe the system partition, only data and cache. If you want to make sure you have nothing left over from an old install you should also wipe system manually *BEFORE* flashing the new ROM obviously.

If I remember it correctly, this option is now (from 2.5.0.0 on) available under the advanced options.

Happy flashing!

Sent from my secret moonbase via space carrier pigeons
[Nexus 4 Original Android Development] kowcop:
Thankyou.. this seems to be the answer. I just restored a backup and confirmed that it is true.. I did actually select 'System' and it was the key to wiping the ROM correctly.. thanks a lot!

EDIT: lol... it seems so obvious now. I guess I am just getting accustomed to 2.5.0.0 wipes
[Nexus 4 Original Android Development] nasvi:
Anyone else having problems with file manager not showing anything except data folder in /system/app?
[Nexus 4 Original Android Development] nsmart:
Is it possible to do a nandroid backup with twrp of a Nexus 4 8GB and restore the backup to a Nexus 4 with 16GB storage? Will the data partition automatically have the full size available after restore or is some kind of "partition resizing' needed?
[Nexus 4 Original Android Development] kyokeun1234:
Probably but I am not sure if system is going to recognize that extra space. If something goes wrong, you can always wipe it and use Titanium Backup to restore apps and data
[Nexus 4 Original Android Development] dunghnguyen:
thks for thiss. I love it :)
[Nexus 4 Original Android Development] Dingo1:
Hi!

I'd like to switch from CWM 6.0.2.7 to TWRP 2.5.0.0 as I find TWRP much better.

Is it possible to do it from within CWM?

I've found a zip file for my Galaxy Note 10.1 N8000 but not sure that I can do it from CWM

And is there any patch in TWRP which prevents rolling back to standard Recovery after reboot?
[Nexus 4 Original Android Development] Vangelis13:
You're in the nexus 4 forum, careful what you flash. Check the first post for instructions; flashing it through goo manager is the easiest.

There's no such thing as patches preventing you to roll back to whatever you came from; this is Android.
[Nexus 4 Original Android Development] nasvi:
Anyone else having problems with file manager in TWRP not showing anything in /system/app/ directory except a folder called data.
[Nexus 4 Original Android Development] kyokeun1234:
I'm not perfectly sure, but I think you might need to mount system first.
[Nexus 4 Original Android Development] Moemoks:
urgent help please

So i have bricked my phone. and i cant get it to work.

This happened when i was trying to install a new rom, i wiped the regular factory/system/cache but then i pressed wipe data and it wiped my entire internal storage i mean everything so i didnt have a rom to flash. after hours of troubleshooting i tried to restore to factory but that just left me in a boot loop and i cant adb push a rom to the sdcard everything is going wrong. some one please help.
[Nexus 4 Original Android Development] nasvi:
If you still have access to recovery (TWRP, CW) just put a ROM on a usb stick and find a usb-otg cable then mount the usb in recovery and flash the new ROM. That's the best I can tell you.
[Nexus 4 Original Android Development] otariq:
Try flashing the Google factory image from fastboot. It'll bring you back to complete stock. You're not bricked if the phone still boots up
[Nexus 4 Original Android Development] VaksenDK:
Yeah, that is why they hid the Format Data so well. You are not supposed to use that, when you don't know what you are doing, but I think you got that now. Can you turn off the phone by holding power button for 30 seconds and then get back into recovery? If so, I think you need to push an official stock image to the phone and then flash that to get it working. But I am not that strong in this serious kind of trouble.
[Nexus 4 Original Android Development] Vangelis13:
No you haven't. Follow this guide to return to stock. Know what you're clicking ok to next time. ;)

http://xdaforums.com/showthread.php?t=2010312
[Nexus 4 Original Android Development] Moemoks:
Thanks fixed everything
[Nexus 4 Original Android Development] Dan1234567890:
Sorry, I didnt go through all the posts, but I saw that it's not possible to mount internal storage in recovery....so is there any way to transfer rom (zip file) to my nexus4 and boot it if I have deleted data, system and made factory reset? (i wanted a "clean start") ;)
[Nexus 4 Original Android Development] rmkilc:
Yes, use ADB push.
[Nexus 4 Original Android Development] Dan1234567890:
Thx for the reply, I was hoping of some more user friendly way... ;)

Is this Nexus 4 "thing" or twrp? In some other recovery it is also not possible to mount internal?
[Nexus 4 Original Android Development] playya:
Also the root tools should be able to help you with moving over zips for flashing.
[Nexus 4 Original Android Development] nasvi:
You can't mount internal storage in recovery (TWRP)?

Works on my HTC.......
[Nexus 4 Original Android Development] rmkilc:
No, you can't. http://teamw.in/DataMedia
[Nexus 4 Original Android Development] rmkilc:
I was assuming you meant mount as a USB drive.
[Nexus 4 Original Android Development] Stryder5:
I'm guessing you didn't read what rmkilc posted. What's the point of asking if you're going to ignore the answer? :confused:
[Nexus 4 Original Android Development] spaceman860:
On a nexus you can't mount internal storage in recovery but on other device you can

Sent from my Nexus 4
[Nexus 4 Original Android Development] nasvi:
??? Me?:confused:
[Nexus 4 Original Android Development] Dan1234567890:
Well... I really didn't expect that from latest google device... :rolleyes:
[Nexus 4 Original Android Development] rskyline:
Google doesn't make their devices to make ppl happy. They make it by a guideline and for development. Almost all new phones comes with MTP only from factory.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] pikachukaki:
Anyone knows what im doing wrong and cant mount the device with my pc to drop a zip before flashing?i press mount but no device show on my pc!
[Nexus 4 Original Android Development] spaceman860:
If your booted up in android os you can drag and drop the zip but not from recovery

Sent from my Nexus 4
[Nexus 4 Original Android Development] ikslawlok:
Is it that you are talking about?

​
[Nexus 4 Original Android Development] nasvi:
Don't know if what your trying to do will work..... However if you buy a usb-OTG cable you could drop the .zip in a USB drive, and mount the USB in recovery and do it that way.....

Or use ADB fastboot...
[Nexus 4 Original Android Development] dunghnguyen:
hi gents, how can we wipe batterry in this twrp like cwm ? tks in adv for yr advice :)
[Nexus 4 Original Android Development] Vangelis13:
http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
[Nexus 4 Original Android Development] fkrone:
You mean battery stats? This is kind of useless so I think it is not implemented. If you thought wiping battery stats would improve your performance or battery life, I have to disappoint you. This is not the case.

Edit: Meh dat ninja
[Nexus 4 Original Android Development] Galaxy s2:
Sorry if these questions have already been asked before

1,Why cant i get into internal sd

2,Why is it so sensitive
[Nexus 4 Original Android Development] TheIntruder:
Not possible Google /LG's fault
[Nexus 4 Original Android Development] spaceman860:
http://teamw.in/DataMedia

Sent from my Nexus 4
[Nexus 4 Original Android Development] pnut22r:
I deleted my old backup from the file manager within TWRP. The backup is gone, but the space has not been released.

I've seen this before with my wife's phone. Had to wipe EVERYTHING, including the sdcard.

Anyone else? Fix besides wiping?
[Nexus 4 Original Android Development] shakatu:
If you chose the restore option, then choose delete, it works better. Then there's usually some sort of refresh option when making backups and stuff in TWRP that will update how much storage is free.
[Nexus 4 Original Android Development] Pumpino:
I decided to try a custom ROM on my N4 after running stock for a number of months. I've frequently flashed ROMs using TWRP on my Nexus S. However, this time, when I chose to wipe, it wiped absolutely everything, including my internal storage (and ROM backups). It specifically said that the wipe wouldn't remove my internal storage. I have most things backed up on my computer, but it's going to take me hours of work to install and reconfigure my apps, so I'm somewhat annoyed. Is this a bug or is there a setting that was set incorrectly?
[Nexus 4 Original Android Development] spaceman860:
If you chose factory reset it won't wipe internal storage. If you selected format data and type yes to confirm then its your fault

Sent from my Nexus 4
[Nexus 4 Original Android Development] Pumpino:
Oh, I see what you mean. All I needed to do was swipe to Factory Reset. I thought I had to select either Advanced Wipe or Format Data to continue. My mistake. I've been using an older version of TWRP on my Nexus S and I think the options might be displayed differently. Damn.
[Nexus 4 Original Android Development] spaceman860:
Yup just swipe for factory reset advanced is for when you want to just wipe cache and dalvik cache only

Sent from my Nexus 4
[Nexus 4 Original Android Development] random1204:
I've tried searching long and hard for a fix to this, but I just can't believe it's happening.

I used to LOVE TWRP. WHAT HAPPENED.

First, I was having to flash things two or three times. Then, it wasn't mounting anything, so I couldn't flash ANYTHING.

NOW, I made a backup, and IT WONT RESTORE AT ALL. EVERYTHING FAILS.

I trusted this Recovery which was a big mistake I guess. Now I've lost all my data because it won't restore. 2.5.0.0 has caused me nothing but trouble.

I'm not an idiot, and I've reflashed the recovery, tried fixing permissions, redownloaded it again. All of it.

It just doesn't work on my phone.

Switched to CWR to see if it was the recovery, and CWR flashed everything perfectly. I don't know what in the WORLD happened. But I'm just so disappointed, because I LOVED TWRP and I love that it's completely open source, etc. I believed in the team, etc.

I just hope it gets figured out. I hate not having this queue for flashing...
[Nexus 4 Original Android Development] rskyline:
Which version are you using?

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] Vangelis13:
^^ Bummer..

As you notice from the previous posts, nobody has the issues you describe.

If cwm works I'd stick to that.
[Nexus 4 Original Android Development] casonswag:
Any new updates?
[Nexus 4 Original Android Development] Chochiwpg:
IMO none are necessary, working perfectly and has all the options I like in a recovery. :thumbup:
[Nexus 4 Original Android Development] galaxys:
Yep, no problems and been on the latest since release...