Very odd TWRP Issue - Nexus 4 Q&A, Help & Troubleshooting

Right, this is very weird...
I made a Nandroid backup (compressed) on TWRP for this first time, it completed successfully and then I powered off and turned the Nexus 4 back on. However to my surprise, I could not find the backup on my SD card. I checked everywhere (data/media...TWRP folder...etc). I even checked the entire phone (with root explorer enabled), nothing. However the backup was successful because my Available Space has fallen by roughly 1gb, the size of my backup. Does anyone know whats going on here?
Thanks in advance, really appreciate your support.

esskayy said:
Right, this is very weird...
I made a Nandroid backup (compressed) on TWRP for this first time, it completed successfully and then I powered off and turned the Nexus 4 back on. However to my surprise, I could not find the backup on my SD card. I checked everywhere (data/media...TWRP folder...etc). I even checked the entire phone (with root explorer enabled), nothing. However the backup was successful because my Available Space has fallen by roughly 1gb, the size of my backup. Does anyone know whats going on here?
Thanks in advance, really appreciate your support.
Click to expand...
Click to collapse
it should be in the twrp folder, backups..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Hmm, unfortunately I don't get that. This is what I see.
Could it be because I am using a theme on my TWRP (the Holo one btw, which no one else has reported a problem on)...
Edit: Okay, I think I solved it...I went onto the root of the phone again this time, searched the data folder and was able to find Media -> Backups (see below). Why is that it appears here rather on the SD card data folder?

esskayy said:
Hmm, unfortunately I don't get that. This is what I see.
Could it be because I am using a theme on my TWRP (the Holo one btw, which no one else has reported a problem on)...
Edit: Okay, I think I solved it...I went onto the root of the phone again this time, searched the data folder and was able to find Media -> Backups (see below). Why is that it appears here rather on the SD card data folder?
Click to expand...
Click to collapse
maybe because you compressed it? i dont compress mine.

Thanks for the help Simms, but after digging around on XDA forums, I found the cause and the solution (posted here):
jasonwc said:
There was a weird bug with TWRP that put the FIRST backup in /data/media/TWRP/backups (read: wrong). After rebooting the recovery, all future backups will go into /mnt/sdcard/TWRP/backups, which is where you want them.
Here's what I think happened:
1) Your first backup was stored in /data/media/TWRP which is not where TWRP looks for backups. So, TWRP showed no backups.
2) You ran a second backup which showed up correctly in TWRP, and was stored in /mnt/sdcard/TWRP/backups.
3) You renamed the most recent backup, and then checked /mnt/sdcard/TWRP/backups, and assumed the renaming actually moved the folder. I don't think it did.
Click to expand...
Click to collapse

Related

Loosing storage capacity..anyone have an explanation?

Can anyone figure where the missing 2GB or so is gone? Tried pushing files from PC but it failed and the files don't show up but the missing 2GB is about the size of the pushed files that are nowhere to be found...
P.S. tried to push the same files to my Nexus 7 2013 and have the same problem there...anyone know how I could find and delete these files without resetting my device (I've already tried the search function on ES File Explorer and the same storage discrepancy can also be observed from the storage tab in android settings).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BrutalGreen said:
Can anyone figure where the missing 2GB or so is gone? Tried pushing files from PC but it failed and the files don't show up but the missing 2GB is about the size of the pushed files that are nowhere to be found...
P.S. tried to push the same files to my Nexus 7 2013 and have the same problem there...anyone know how I could find and delete these files without resetting my device (I've already tried the search function on ES File Explorer and the same storage discrepancy can also be observed from the storage tab in android settings).
Click to expand...
Click to collapse
Easiest way is just to flash the factory images and reset the partition
Sent from my Nexus 4 TMO @1.836 GHz on PSX v4.1 4.3
12.92gb total, thats what its supposed to be. you dont get a full 15gb to use, some goes to the system. if thats what youre talking about.
or, you are talking about the 2.43gb in the android folder?
simms22 said:
12.92gb total, thats what its supposed to be. you dont get a full 15gb to use, some goes to the system. if thats what youre talking about.
or, you are talking about the 2.43gb in the android folder?
Click to expand...
Click to collapse
that's not the point, the point is there isn't 4.97GB of data there. It should be 3GB at most...and pretty sure it used to be before I tried to unsuccessful push file to the devices.
BTW I was using wugfresh's toolkit when I tried to push the files if that is of importance
BrutalGreen said:
that's not the point, the point is there isn't 4.97GB of data there. It should be 3GB at most...and pretty sure it used to be before I tried to unsuccessful push file to the devices.
BTW I was using wugfresh's toolkit when I tried to push the files if that is of importance
Click to expand...
Click to collapse
did you ever make a nandroid backup in your recovery?
and yea, dont use toolkits. you think they make things easier, but they dont. plus they can cause their own issues too.

[GUIDE] Restore saved WiFi when flashing a new Rom

Greetings,
first of all, since this is my first guide, please be kind and for another thing, english is not my mother tongue so pardon eventual spelling errors.
I'am sort of a "flash-o-holic" and one thing that drives me nuts is everytime i flash a new rom, i have to reenter my saved WiFi-networks including their passwords. And since these passwords are really long, about 16 to 26 characters, it's a very tedious process.
But a found a solution or workaround, that i want to share with you.
First, grab your wpa_supplicant.conf file, usually it's saved under /system/etc/wifi/ (you can either pull it via adb or copy it with a root explorer to your sdcard) a save this file on your PC.
Now download your desired rom (if you haven't already), open it with a zip tool (i use 7zip and so should you ), navigate to /system/etc/wifi/ and replace the wpa_supplicant.conf file.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And that's it!
You can just flash it like normal via custom recovery.
Worked for me everytime. (=
Nice, I never thought about that. I usually restore this using Titanium Backup, but that requires getting TB onto the phone first. With your method wi-fi will be available imediately after booting.
EDIT: Except... that file is mostly empty. For me the file with my wifi data is /data/misc/wifi/wpa_supplicant.conf
...or you can just backup your data using Google. it restores your WiFi passwords
Chezbel said:
Nice, I never thought about that. I usually restore this using Titanium Backup, but that requires getting TB onto the phone first. With your method wi-fi will be available imediately after booting.
EDIT: Except... that file is mostly empty. For me the file with my wifi data is /data/misc/wifi/wpa_supplicant.conf
Click to expand...
Click to collapse
Thanks for the information. As soon as i got home i'll update the guide.
IINexusII said:
...or you can just backup your data using Google. it restores your WiFi passwords
Click to expand...
Click to collapse
I could do that, but i don't want to save my WiFi-Settings & passwords on a google server. It's silly i know but i'am kinda paranoid.
MrCrunch said:
I could do that, but i don't want to save my WiFi-Settings & passwords on a google server. It's silly i know but i'am kinda paranoid.
Click to expand...
Click to collapse
Same for me
Well, i guess the Main Argument against that would be:
When you need to restore from Google, you have to connect to wifi first, right?
Sent from my HTC One using xda app-developers app
Thanks for the info! I have a ton of logins for various businesses. PITA to manually redo all of them.
Hallucinogen775 said:
Well, i guess the Main Argument against that would be:
When you need to restore from Google, you have to connect to wifi first, right?
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
No, you have a phone so use your 3g/4g connection to go through the setup process
more easy , venom tweaks )

[Q] Storage issues

Nexus 4, rooted, CM, gravity box.
I want to update to CM11 M6 but I can't get my phone to make a nandroid (using ClockworkMod) because I keep getting an error basically saying I have insufficient storage. These are the steps I take:
Backup using titanium
Go into recovery
Backup using ClockworkMod
It's at this point where it lists backing up the system, but then it gets hung up backing up the data card. I have tried to go back in and delete everything I could possibly think of (w/out wiping the whole thing) but to no avail. I have cleared my cashe and even deleted the titanium backup which was around 1gb and still no dice.
Attached are some screenshots that may be helpful. There has to be something hidden but I just don't know where to look for it. I tried to install DiskUsage but I can't since I don't have enough room. How do I clear up this phone?! Any help would be much appreciated!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
brahmaboba said:
Nexus 4, rooted, CM, gravity box.
I want to update to CM11 M6 but I can't get my phone to make a nandroid (using ClockworkMod) because I keep getting an error basically saying I have insufficient storage. These are the steps I take:
Backup using titanium
Go into recovery
Backup using ClockworkMod
It's at this point where it lists backing up the system, but then it gets hung up backing up the data card. I have tried to go back in and delete everything I could possibly think of (w/out wiping the whole thing) but to no avail. I have cleared my cashe and even deleted the titanium backup which was around 1gb and still no dice.
Attached are some screenshots that may be helpful. There has to be something hidden but I just don't know where to look for it. I tried to install DiskUsage but I can't since I don't have enough room. How do I clear up this phone?! Any help would be much appreciated!!
View attachment 2743357
View attachment 2743358
View attachment 2743359
Click to expand...
Click to collapse
You need at least 3GB of free space to make CWM able to create backup... but you won't find that backup in /sdcard/cloclworkmod folder it's in /storage/emulated/blablabla or something like that and you won't be able to get access there from your computer
parkourz said:
You need at least 3GB of free space to make CWM able to create backup... but you won't find that backup in /sdcard/cloclworkmod folder it's in /storage/emulated/blablabla or something like that and you won't be able to get access there from your computer
Click to expand...
Click to collapse
Ok, I'm not sure I understand. I'm in the emulated folder and went into the clockworkmod folder and keep descending and come to just 1 file that is just 7.63mb called "recovery-clockwork-....img". This can't be the solution, can it?
try in /storage/emulated/legacy/clockworkmod... or flash TWRP instead of CWM... if both won't help then you can try to make a backup with toolkit for PC, for example Wug's toolkit
Twrp is showing the backup size and a poseibility to compress it. You probably have much apps or there is some .something fokder what is using much or much cache just like on an desktop. Many things can cause it.
You may want to checkout what is using so much by deleting old folders from old apps or old things yiu dint use anymore.
Verstuurd vanaf mijn Nexus 4 met Tapatalk

XT1033/Asia Retail/Dual Sim/4.4.4/TWRP2.7.1.1 - Cant backup, wrong file size

XT1033
Stock Rom 4.4.4 Asia Retail
Rooted
Unlocked bootloader
TWRP 2.6.3.3
So heres how i ended up in this situation. I installed a custom kernel the other day and find it not to be useful for me.
Before i flashed the kernel i made a backup on my rom. I used TWRP 2.6.3.3 but if failed in the middle of the backup. So i used online nandroid backup. And backup was successful. When i find the custom kernel not not useful for me, I decided to restore the nandroid backup i made. Did not wipe anything. During the restoration I noticed that TWRP restarted.Then it prompted me to a No OS Installed (something like that). I wipe dalvik and cache i think. ThenI tried to restore it again and completed the restoration. When it booted, looks like i only did a factory reset, which should not be the case. I restored it like twice but same result. Now i ended up installing all the apps again. I was able to install some of the apps from Nandroid Manager. Only the apps and not the data as it took forever to restore one app, i have like 200 apps. I used TB to restore apps and data but it looks like it only detect 7 apps (all were xposed modules). Im almost done now but I have 2 apps that i want to restore but cant. MagicJack as we can only register the app one time. And i used temporary email when i registered which i already forgot. And also i want to restored one of my google account which i used in registering in some sites. Too bad i forgot the password.
So yesterday I decided to install TWRP 2.7.1.1 (with OTG support). i have installed it successfully. because i want to restore the old nandroid backup. I nlow made a titanium backup so i can restore the apps with data.
Now when i go to TWRP i noticed that the file size of the data is toooooo big. (see the pic)
When i hit the refresh it shows the real size but then it goes back to the wrong file size.
As a result i cant backup because the file is too large for my 16Gb USB using OTG.
Now im using the online nandroid backup again, and backup seems to be fine.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Someone please help me.
I dont know if its a bug or I just f*cked up my phone.
I also tried the 2.7.1.0 still the same.
Do you know any recovery that support USB otg?
I used cwm on my old phone and it works like it should.
What version of twrp do you use?

All media (songs, pictures, video) vanished from gallery/media players, but still exi

Hello all, first off, my apologies if this has already been discussed, I did a somewhat thorough search on this topic, but my efforts kept returning a separate issue, opposed to my specific situation.
Anyways, out of nowhere yesterday, my media player (Player Pro) stopped showing my 30+ gigs worth of music. I also noticed that my gallery was empty. Naturally, I assumed that my sd card took a dump, until I checked via ES Explorer, and all of my files were perfectly intact. I also noticed that the unrecognized files weren't exclusive to my sdcard, but also affected my internal sd as well.
I've tried rescanning my media store, battery pulls, unmounting my memory card, everything. I was hoping somebody had a solution that doesn't involve a factory reset, although it isn't the end of the world if I have to.
I'm rooted on 4.4.4. Here's a screenshot of my "about phone," in case it helps.
Thank you for the help,
Matt Leaf
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mattrleaf said:
Hello all, first off, my apologies if this has already been discussed, I did a somewhat thorough search on this topic, but my efforts kept returning a separate issue, opposed to my specific situation.
Anyways, out of nowhere yesterday, my media player (Player Pro) stopped showing my 30+ gigs worth of music. I also noticed that my gallery was empty. Naturally, I assumed that my sd card took a dump, until I checked via ES Explorer, and all of my files were perfectly intact. I also noticed that the unrecognized files weren't exclusive to my sdcard, but also affected my internal sd as well.
I've tried rescanning my media store, battery pulls, unmounting my memory card, everything. I was hoping somebody had a solution that doesn't involve a factory reset, although it isn't the end of the world if I have to.
I'm rooted on 4.4.4. Here's a screenshot of my "about phonel," in case it helps.
Thank you for the help,
Matt LeafView attachment 3291538
Click to expand...
Click to collapse
Try searching your root folder and sd card for a .nomedia file. If you find any, delete them.
Tulsadiver said:
Try searching your root folder and sd card for a .nomedia file. If you find any, delete them.
Click to expand...
Click to collapse
Duuuuuuuuude, aka my savior, aka my hero, aka the man, aka the truth, aka the legend, I performed the search as you suggested, found about eight different .nomedia files, deleted them all, ran another media store scan and BOOM, I'm back in business, baby. Thank you so much, you just saved me a lot of time.
Much appreciated,
Matt
Out of curiosity, do you have any idea how those folks are created in the first place? Several of them were pretty old, but, what I assume is the culprit, was created yesterday. Weird. Thank you again.
You are welcome. Do you have rom manager on your phone?
No. The closest I have is titanium backup. Is Rom manager known to create nomedia files?
Mattrleaf said:
No. The closest I have is titanium backup. Is Rom manager known to create nomedia files?
Click to expand...
Click to collapse
That is my understanding. Lots of apps can do it though.

Categories

Resources