Accidentally transferred 2GB file to /system - Nexus 5X Q&A, Help & Troubleshooting

So I'm brand new to Android (coming from iPhone) and my friend convinced me to try and get Cyanogenmod on my phone.
Somewhere along the line I used command prompt on windows to transfer a 2GB .zip file to /system or something. This folder is nowhere in the Nexus device when you plug it in to view files.
I have no idea how to locate it or delete it (along with any other files I transferred to various system locations).
I'm basically at factory reset with nothing on my phone and it still says I have 8GB free of 10.6 - so that 2GB file is hidden somewhere I imagine.
Any ideas/advice is appreciated.

if you just flash the factory system.img file it will override whatever you have in the system folder.

You won't be able to see that with a pc viewer.
My advise is flash the stock image and then take a week and learn what you are doing. Compared to the iPhone you just skipped like 5 grades. If you do something wrong and end up with a brick then you are out a ton of money and will have to get a new device.

Related

Technical Question: Recovering a lost file byte-for-byte

Hi all,
My girlfriend has an XDA-II that - on a whim - decided to hard reset itself. (It has done this once before for me aswell.)
Most of the lost files are of no consequence because a backup is available. However, there is one Word document that we would like to recover that is not backed up. The device has not been used since the hard reset.
I presume that it is likely that the text contents of this Word file are likely to still be in tact somewhere in the RAM (i.e. the bytes are unlikely to have been overwritten just yet). I suppose then that it must be possible - at least theoretically - to obtain a dump of all the contents of the volatile RAM memory (perhaps writing out the contents of RAM to a PC hard drive in one dump).
With this resulting RAM dump I could then search it for words that we know are definitely in the file to obtain most of the text back again.
I was wondering if anyone knows of any program for the XDA-II (or PC) that will copy the ENTIRE contents of all device RAM - byte-for-byte - to the PC.
Failing this, can anyone suggest any way whatsoever to view/copy RAM contents byte-for-byte?
Many Thanks,
Rob
you can undelete media like hd's magnetic storage and flash
because they dont fill in 0's in the bits when they delete they just free up the storage and overwrite the data next time data is saved
ram however goes 100% blank when power is not supplied
so ram cant be undeleted and data cant be recovered from it
which is why newer devices with 2005 place data in flash and not in ram
so their device dont goes blank when a hardreset or dead batt happens
Thanks
Not the feedback I was hoping to get! But thankyou very much all the same for letting me know.
Cheers.
Rob

gs3 cyanogen + clockwork storage issues

So I'm using cyanogen 10 and also have clockwork on my phone. I had issues before where the phone would act crazy and I had to do a wipe and restore from a backup file. That's easy
What has seemed to happen is that every time those episodes happened, it would create a new image on the internal memory. I figured this was going on but realized it actually was when I went into the files to clear some stuff out when my phone said low memory. What I am wanting to do is to merge this stuff all together and get rid of what isn't needed.
For example I have a /0/ file which is the same as the /sdcard/ file. Which has the same stuff, just updated.
What do you recommend to use to handle this on a computer? I'd much rather handle it on a laptop then through the phone.
Thanks for the help.
Just copy one of the multiple files to your computer... format the phone memory all together then copy and paste it back.... Or do you want to do something different?
Should update to latest recovery to stop that from happening (at least on TWRP), and stop using nightlys also, if they keep causing crazy episodes.

Nexus 7 File Recovery Help

So, I bought my wife a new Nexus 7 (2013) as a wedding gift last month and she loved it. However, a couple days ago she installed an update and got the 'hanging at x' issue. After trying to fix it without a full wipe, I was forced to wipe it. Unfortunately, she took a lot of photos of our honeymoon on the Nexus 7's camera. I am trying to recovery those files and have tried Recuva and Odboso FileRetrieval, but neither one seems to recognize or read the Nexus 7 when plugged into my laptop and thus cannot even attempt to recover any files. Does anyone have any tips on how I can get one of these types of programs to recognize the Nexus 7 when it is plugged in so I can see if any file recovery is possible? Thanks in advance.
If the files are still on the device: have you tried installing a file manager (like "AntTek Explorer" or "Astro FileManager" or something like this)? If not, try to connect the Nexus to your computer, it should show up as an mass-storage device - from that you could take a raw snapshot and give some file recovery tools a try.
Your data is most likely gone.
An ext4 partition is used for '/data' that also includes a '/data/media' folder that is mounted as a virtual '/sdcard'. So you need a recovery tool that understands the ext4 file system. Even if you find a tool to recover files from ext4, Android 4.3 uses trim and if a trim cycle did run in the meantime (runs every 24h if there is idle time + enough battery), your data can't be recovered anymore.
Even after you've accidentally deleted and/or formatted the partition, the data is still on your device. There are apps in the Playstore that claim to do the same thing as similar PC software does as long as you have not overwritten the data.

[Q] Help me with media issue?

So i was on g2 apps v5.5 rom for some time when all of a sudden my media stopped scanning, i wasnt sure why, rescan media apps werent working either, so i decided to flash a new rom and i chose candykat, since then all of my files that i used to have, pictures, videos, etc have completely vanished. i cant locate the files in 7 zipper, es file explorer, and media scan apps still bring me nothing. Yet my internal storage still has the same amount of space used that it did before, and also when i go into CWM and choose install a zip it shows all the folders and things that i am missing, but that is the only place i see the folders but i dont have access to my files from cwm. Also i have noticed that when i am on 7zipper looking through files my internal storage says storage/emoulated/0 and i have no idea what the emulated is about, if anyone has any info or knows what im talking about please to help, Im not too great with phone stuff but i am okay, so if anyone has any simplified steps to give me on how to fix this issue it would be appriciated, thank you.
No answers anyone?
Just do some searching mate. And use ROOT EXPLORER and give it access.
nsh121193 said:
So i was on g2 apps v5.5 rom for some time when all of a sudden my media stopped scanning, i wasnt sure why, rescan media apps werent working either, so i decided to flash a new rom and i chose candykat, since then all of my files that i used to have, pictures, videos, etc have completely vanished. i cant locate the files in 7 zipper, es file explorer, and media scan apps still bring me nothing. Yet my internal storage still has the same amount of space used that it did before, and also when i go into CWM and choose install a zip it shows all the folders and things that i am missing, but that is the only place i see the folders but i dont have access to my files from cwm. Also i have noticed that when i am on 7zipper looking through files my internal storage says storage/emoulated/0 and i have no idea what the emulated is about, if anyone has any info or knows what im talking about please to help, Im not too great with phone stuff but i am okay, so if anyone has any simplified steps to give me on how to fix this issue it would be appriciated, thank you.
Click to expand...
Click to collapse
The way Kitkat makes the "SDcard"/"Internal Storage" directory is different from how it was on Jelly bean. <--EDIT: By this, I mean that the directory path is different.
The card is reading that X amount of data is on the card, yet you can't see it because your files are technically still there, but under the old directory path.
There are a couple of ways to fix this, but the EASIEST (IMO) way is to first restore a JB Nandroid backup (you can backup your KK ROM first if desired). First thing you'll notice is that the files will be there again. Now, plug your phone into your computer and copy all the files to it.
Reboot into recovery and format the internal SD. It's best to do it from within recovery, because otherwise, JB will just recreate the JB file structure and immediately start saving stuff to it. So when you get to KK, there will once again be the old structure hidden and with some files taking up space.
Now either reflash your KK rom or restore your KK backup.
Boot it up and copy your files back to the phone.
*I ran into this same issue after flashing KK for the first time. This is the exact process I did to resolve it.
Another way is to use a root file browser and locate the old directory and copy everything over to the new one. However, I think this might take quite a long time since the phone can do this only so fast.
spexwood said:
The way Kitkat makes the "SDcard"/"Internal Storage" directory is different from how it was on Jelly bean. <--EDIT: By this, I mean that the directory path is different.
The card is reading that X amount of data is on the card, yet you can't see it because your files are technically still there, but under the old directory path.
There are a couple of ways to fix this, but the EASIEST (IMO) way is to first restore a JB Nandroid backup (you can backup your KK ROM first if desired). First thing you'll notice is that the files will be there again. Now, plug your phone into your computer and copy all the files to it.
Reboot into recovery and format the internal SD. It's best to do it from within recovery, because otherwise, JB will just recreate the JB file structure and immediately start saving stuff to it. So when you get to KK, there will once again be the old structure hidden and with some files taking up space.
Now either reflash your KK rom or restore your KK backup.
Boot it up and copy your files back to the phone.
*I ran into this same issue after flashing KK for the first time. This is the exact process I did to resolve it.
Another way is to use a root file browser and locate the old directory and copy everything over to the new one. However, I think this might take quite a long time since the phone can do this only so fast.
Click to expand...
Click to collapse
Okay, thank you, I will try that soon and see if it works.

Need to manually wipe phone, ALL files and partitions, copy files from clean phone mo

Hi,
I need to make an exact copy of a clean Nexus 5x motherboard's (mobo) memory. My phone was infected and I have not been able to get it clean. I know that there are many other file areas besides those copied in TWRP. I have used adb pull and push to copy /dev/block (All mmcblk0XX into mmcblk0XX.imgh files) from the clean phone mobo, and pushed them to the old infected one (mmcblk0 is supposed to be the wholeflash). It copied but it doesn't appear anything has changed. There was a bootup password on the old phone (mobo) but copying those files did not remove it. I then flashed all partitions in the google firmware download and it booted up like a clean new phone, but later went back to the password at bootup. I have had something like this happen a few times. I flash new firmware and somehow the old infected files are still there.
How can I REALLY wipe this phone (manually EVERY file from root / ) and copy over all the clean data from the new phone motherboard? I suspect that the infecter changed my bootloader and is making it persistent somehow. I have used TWRP and copied over the partitions many times. Not good enough.
Thank you.
The bootloader version is still an old one even though I have updated the firmware many times. it is BHZ10i and current one is BHZ11e!
I'M here just because of random, but maybe this unbrick method could help to fully reflash the phone?
http://forum.xda-developers.com/nexus-5x/help/req-help-to-unbrick-t3251740/post63889395#post63889395
Use this tutorial to fix your phone.

Categories

Resources