deleted sd card - G2 Q&A, Help & Troubleshooting

I was preparing to do a factory reset to prepare to sell my rooted phone, and mistakenly (in twrp) did a "format data" in the factory reset page, deleted my back up files and the roms I had stored in the internal sd card.
What can I do to get a rom back on this g2, if possible (or do I have a $100 paperweight)
Thanks
edit: everything came back to the ROM I had installed, without any personal data, just what I was trying to do.

Related

[Q] recovering from soft brick

i THINK i know what i did wrong:
i flashed firmware that i found from another site (not filefactory) with mobile odin. i had done a few backups, but did a fresh one anyway from cwm, and moved it to the "external" sd card. i unchecked everroot--i dunno why, i was going to root with the zip file... this may have been my mistake. but i also checked, "factory reset/wipe data/wipe cache etc" from within odin. THIS may have been my mistake... well, when it rebooted, mobile odin went to it, said everything went fine, then rebooted. now i'm stuck on the gTab start-up screen. it doesn't load the boot animation even. i can get into download mode, and i can get into recovery. tried flashing a rom and a kernel on top of whatever is on the device. that didn't work. mobile odin DID take away root. so i rerooted it thinking that cwm may require root to work.
the problem from within cwm is that it isn't seeing the "internal" sd card, or it thinks the external is the internal... that's how i was able to root again, by applying zip from sd card. it worked. so it IS still seeing internal storage.
this may have already been fixed had i not LOST the USB cable.... another one is on order and en route. i can see no solutions with it as is, i'm going to need desktop odin to reflash...
so the problem as i see it: i can't just restore because i erased the "internal" sd card. i moved my cwm folder to the "external" so even though it's on there, and cwm is reading my "external" as "internal" it's still unable to access the cwm folder with my backups available.
so the solution still requires the usb cable, even if i were to just move the cwm folder BACK to the internal card once i get it plugged in. in the mean time i'm dead in the water...
thanks for any help!!!

[Q] What can i wipe without losing my nandroid backups?

I have searched online, and there is no definative reliable content on what portions of memory I can delete safely without loosing the nandroid backup. What I mean is, I have TWRP on my handset. Aside from the factory reset option, what else can I wipe? I am asking because I built a Cyanogenmod unofficial image, and flashed my handset with it. The phone booted ok; I got an error about NFC service stopping. So I restored the phone back to a previous nandroid image. I then, tried to install my image again. This time the phone goes into download mode. I think I saw something online about how doing advanced clean would fix this. So when I log into TWRP I have the following options:
Davlic Cache, System, Data, Internal Storage, Cache, and Micro SDcard. How can I know where my nandroid backups reside so I can avoid clearing that portion?
sansari123 said:
I have searched online, and there is no definative reliable content on what portions of memory I can delete safely without loosing the nandroid backup. What I mean is, I have TWRP on my handset. Aside from the factory reset option, what else can I wipe? I am asking because I built a Cyanogenmod unofficial image, and flashed my handset with it. The phone booted ok; I got an error about NFC service stopping. So I restored the phone back to a previous nandroid image. I then, tried to install my image again. This time the phone goes into download mode. I think I saw something online about how doing advanced clean would fix this. So when I log into TWRP I have the following options:
Davlic Cache, System, Data, Internal Storage, Cache, and Micro SDcard. How can I know where my nandroid backups reside so I can avoid clearing that portion?
Click to expand...
Click to collapse
By default nandroid backup is on internal storage but you can choose to save it on sd card as well. Tap on the top box/menu after you enter restore menu. If you choose sd card and twrp shows no backup then the backup is on internal storage. Explore a bit mate.
Or use file explorer check twrp folder in both storage. There should be subfolder of 'backup' in it.
You don't need factory reset. And just choose wipe cache/dalvik/system/data to install new rom/restore nandroid backup

[Q] SafeStrap 3.71 Formatted my EXTSD card!

I have a pretty serious issue. I was trying to upgrade to the latest version of Hyperdrive, and somehow using SafeStrap 3.71 I emptied my stock OS slot (System partition size is 0, and it says no OS installed when I try to reboot). Obviously, I had put all my backup files and the new ROM on my external drive. In the midst of trying to restore my stock ROM, I tried the "Wipe" Format Data option just to get back to a fresh start. It says all "internal storage" will be formatted. I had no idea this included my EXTSD! Now I can't install the custom ROM that was on it, can't get back to factory ("no os installed"), and I've lost every bit of data, pictures, business files etc.
Any help here? I'm pretty intelligent but this is over my head. I've got to restore that data on that SD card if nothing else.
Thanks,
Matt
You are in the wrong section. Our S4 don't use safestrap. You need to be here:
http://forum.xda-developers.com/galaxy-s4-att
ps try to read your sdcard in your pc to see if the data is really gone.

LG G2 Factory Reset Mystery

I had been using Cloudy G3 2.0 rom and when i had to sell my phone i did a factory reset but when i checked my file manager my files were still there so i had to manually delete them. Why is this the case? Every other phone or rom i have used factory reset wipes the internal storage clean leaving it new out of the box. I never understood this.why is this the case? All apps were uninstalled but some files or all were left intact. How can this be?
The default "Wipe data" option in TWRP excludes the internal storage (since phones with internal storage are likely storing the exact files they are trying to install in there) in order to keep the user from accidentally wiping the zip files that they are wiping data for. Boot it into TWRP and then do an advanced wipe for data and internal storage and you should be fine.
I had used factory reset option within the Android settings menu not the TWRP recovery, i never reset from TWRP always from the android OS settings.
Sent from my D6653 using Tapatalk

TWRP backup question

If I backup my system on tw recovery, and flash a new rom, will wiping my phone delete the tw recovery backup in case I have to restore my phone? Feel free to correct me on this, but to my understanding teamwin has it's own partition, and wiping does not mess with this partition?
matthewbhass said:
If I backup my system on tw recovery, and flash a new rom, will wiping my phone delete the tw recovery backup in case I have to restore my phone? Feel free to correct me on this, but to my understanding teamwin has it's own partition, and wiping does not mess with this partition?
Click to expand...
Click to collapse
I think TWRP backups are normally stored on your internal storage partition, so if you perform a (EDIT full factory reset doesnt wipe this, thanks Silesh) or wipe your internal storage, your backups will be erased too. The TWRP itself does install to the recovery partition (which will only be affected by a flash to the recovery, which a wipe will not perform), you're correct on that but the backups are held separately to that. You can copy your backups to another computer or SD card, I found my backup under /SDcard/TWRP/BACKUPS - you could either copy the folder with a root browser or use the ADB pull command (with the ADB terminal), though the TWRP backup may not show on a Windows desktop even if it's been copied correctly. However, if copied back to your phone, the TWRP backup should function.
Edit: thanks Silesh for correcting me, I was thinking of app data rather than user data!
echo92 said:
I think TWRP backups are normally stored on your internal storage partition, so if you perform a full factory reset or wipe your internal storage, your backups will be erased too. The TWRP itself does install to the recovery partition (which will only be affected by a flash to the recovery, which a wipe will not perform), you're correct on that but the backups are held separately to that. You can copy your backups to another computer or SD card, I found my backup under /SDcard/TWRP/BACKUPS - you could either copy the folder with a root browser or use the ADB pull command (with the ADB terminal), though the TWRP backup may not show on a Windows desktop even if it's been copied correctly. However, if copied back to your phone, the TWRP backup should function.
Click to expand...
Click to collapse
Thanks for replying. I can't transfer files from my computer to my phone, but I have thought about using the ADB sideload option from recovery. Is there a way that I can move my backup from my phone to my computer (and to my phone from my computer) using the sideload option, just in case I need the backup? I refuse to flash a new ROM without access to my complete backup, lol.
Internal storage is not formatted during a normal wipe. You have to specifically go into the advanced wipe and select internal storage to wipe it completely. So there is no issue while flashing a new rom if you don't choose the advanced wipe option.
You could also create the twrp backup in your external sdcard. That way your backup stays even if you wipe your phone using a factory reset or by mistake.
Strange. What's the problem of making backups to external SD? The function is right there (as Silesh mentioned). BTW: the very last version of TWRP is able to make backups straight to pc. This needs to be done FROM a pc though. TWRP is capable to work with fastboot now (using special command though, or with this GUI for pc: https://forum.xda-developers.com/android/software-hacking/tool-twrp-backup-restore-tool-pc-t3572241 )
You can choose whether you want to use internal storage or SD card when making a backup. It doesn't matter which you choose as long as you (and I learned this the hard way) pay attention to what you are doing and DO NOT WIPE internal storage or your SD card. Advantages of SD card is you won't lose your backup if you decide to flash stock. Disadvantage: if your card craps out on you backup is lost unless you have copied to PC or saved on cloud.
My Solution
I solved my problem by using the pull command in adb. Now if I decide to flash a new ROM, I can push my TWRP recovery back to my phone using adb and then recover it in my TWRP recovery.. I also backup using adb backup which backs it up directly to my computer anyways.
I knew about storing my TWRP backup on an sd card, but I haven't made time to get one. . I recently switched to the Motorola G4 Plus after my iPhone 6s decided to turn off and not turn back on. I eventually grew tired of the iPhone anyways due to lack of accessibility and freedom. Back in the day I owned androids but never rooted one or had one that was rooted. I did jailbreak my 4th generation iPod a few years ago. But I went through an iPhone 5s, and upgraded to a 6s and had that for a few months. I eventually just switched back to android after the longest time and I can't say that I regret it.
My Moto G4 Plus has been an amazing phone. I've only had it for a few weeks now, but I rooted it the day after I got it . So I'm a bit of a noob in the rooting community, . Since then it's been a pretty smooth transition. I've only got root access and xposed framework as of now. I was thinking about flashing a ROM so I made backups just in case, but I don't plan on making any major changes to the kernel or flashing another ROM. I'm satisfied with the stock ROM since Motorola pretty much made it as minimal as possible. I would recommend this phone to anyone. It's the most solid phone I've had yet.

Categories

Resources