I was playing with TWRP and tryign to re-flash my rom and instead of factory resetting, i accidentally formatted data, in which you have to type yes. For some dumb reason I thought that was factory reset, then i flashed my roms like no problem and now its loops at the screen. I then tried to factory reset and it says failed.
I did a search and i found out i have to adb push the rom to the directory but i already ahve the rom on my sd card, would this fix it to?
Are you fimiliar with Odin?
You might try this: http://forum.xda-developers.com/showthread.php?t=2259513
You might have to re-root, I don't know. Read carefully.
I am about to give my AT&T Samsung GS4 a new beginning. I have had issues with my current stock ROM and restoring to a previous recovery is giving me issues. I am ready for a new start. The device is rooted, and I have TWRP 2.6.3.0 installed. I don't mind switching to CWM (Jeboo v1.1 is already on my flash list). I am leaning toward Graviton 1.4 ROM. Maybe Goldeneye.
I have just over 2 GB free on my internal storage, which I see getting used up pretty quick with photos of kids and other stuff. I have looked into a few folders, not knowing if they are important. I would like a fresh start with a new ROM and a clean internal storage. I'm even starting anew with a new empty SD card.
What can I do to clean out this internal storage and still keep TWRP (or CWM) recovery intact so I can install a new ROM? My goal is to have a fresh start on a new ROM with no junk files in the internal. Will wiping the internal storage from recovery wipe out my recovery?
In the interest of avoiding catastrophic meltdown and loss of everything, I have indeed made a copy of my internal drive, the sd card, and a few Nandroid backkups, which are all stored on a flash and/or PC.
Device config: Rooted stock ROM, UCUAMDL, stock kernel 3.4.0-453947.
duckredbeard said:
I am about to give my AT&T Samsung GS4 a new beginning. I have had issues with my current stock ROM and restoring to a previous recovery is giving me issues. I am ready for a new start. The device is rooted, and I have TWRP 2.6.3.0 installed. I don't mind switching to CWM (Jeboo v1.1 is already on my flash list). I am leaning toward Graviton 1.4 ROM. Maybe Goldeneye.
I have just over 2 GB free on my internal storage, which I see getting used up pretty quick with photos of kids and other stuff. I have looked into a few folders, not knowing if they are important. I would like a fresh start with a new ROM and a clean internal storage. I'm even starting anew with a new empty SD card.
What can I do to clean out this internal storage and still keep TWRP (or CWM) recovery intact so I can install a new ROM? My goal is to have a fresh start on a new ROM with no junk files in the internal. Will wiping the internal storage from recovery wipe out my recovery?
In the interest of avoiding catastrophic meltdown and loss of everything, I have indeed made a copy of my internal drive, the sd card, and a few Nandroid backkups, which are all stored on a flash and/or PC.
Device config: Rooted stock ROM, UCUAMDL, stock kernel 3.4.0-453947.
Click to expand...
Click to collapse
Reset Flash Counter
http://www.youtube.com/watch?v=2FXULkN5rAU
Reflash Stock
http://www.youtube.com/watch?v=ZpdWLPaJpiQ
What is the purpose of resetting the flash counter? As far as I know my bootloader is still locked.
Returning to stock? Wont i ose root and recovery? Wont I risk ending up with MF3 instead of the MDL that can be rooted?
On-On and Beer Near
If you've got everything backed up, a nandroid, the new ROM, a custom kernel (if you so desire) and the loki-doki zip (if not flashing a loki'd ROM or kernel) all on your micro SD card, then you're ready to begin.
In recovery, wipe everything except the external sd card. I've heard of users having problems after wiping/formatting data in twrp. May want to look into that. I think some users reverted to an older version of TWRP to avoid that. I use cwm. Check out the I337 guide in my signature. It details everything to wipe for a clean slate (system, data, etc).
Cheers
I have one each of a TWRP and CWM backup and recovery. Can a CWM be restored in TWRP?
On-On and Beer Near
duckredbeard said:
I am about to give my AT&T Samsung GS4 a new beginning. I have had issues with my current stock ROM and restoring to a previous recovery is giving me issues. I am ready for a new start. The device is rooted, and I have TWRP 2.6.3.0 installed. I don't mind switching to CWM (Jeboo v1.1 is already on my flash list). I am leaning toward Graviton 1.4 ROM. Maybe Goldeneye.
I have just over 2 GB free on my internal storage, which I see getting used up pretty quick with photos of kids and other stuff. I have looked into a few folders, not knowing if they are important. I would like a fresh start with a new ROM and a clean internal storage. I'm even starting anew with a new empty SD card.
What can I do to clean out this internal storage and still keep TWRP (or CWM) recovery intact so I can install a new ROM? My goal is to have a fresh start on a new ROM with no junk files in the internal. Will wiping the internal storage from recovery wipe out my recovery?
In the interest of avoiding catastrophic meltdown and loss of everything, I have indeed made a copy of my internal drive, the sd card, and a few Nandroid backkups, which are all stored on a flash and/or PC.
Device config: Rooted stock ROM, UCUAMDL, stock kernel 3.4.0-453947.
Click to expand...
Click to collapse
You have the answers already, but I will advice one thing, do not do any twrp over version 2.5.0.2, or you will for sure be starting over again at some point. Those versions have issues.
good luck.
TheAxman said:
You have the answers already, but I will advice one thing, do not do any twrp over version 2.5.0.2, or you will for sure be starting over again at some point. Those versions have issues.
good luck.
Click to expand...
Click to collapse
TWRP 2.6.0.0 is why we are having this conversation...
I have TWRP on my Asus TF700 tablet...not sure which version. Perhaps I need to get CWM on that device also.
Now I'm thinking the SD card that I was using at the time was the problem. I have not been able to write any files to that card using a PC. I have found another card from a different manufacturer. I have clockworkmod installed. My sd card contains recovery files and a new ROM.
I think all I need to do now is go into recovery, wipe everything including internal storage but not the external SD. Flash the new rom and kernel then reboot.
I believe this is all I need to do. Sound good to you?
On-On and Beer Near
I tried to flash a custom Rom I had tried to build and it didn't work. I thought it might work, though, if I formated system, data, cache, (everything except internal storage). Then this time I couldn't flash the ROM, couldn't work my previous backupe and could make another rom boot, because even if I flashed any ROM it would be stuck at that Nexus Logo.
I'd like to know how to recover my internal storage data so I can flash stock image, as it erases everything. I tried to use ADB to pull my data from the phone but it didn't recognize my device, which was already "bricked" by the time. What can I do? Can I make my backup work or is there a way I can recover my data to flash the stock image?
Xintorrim said:
I tried to flash a custom Rom I had tried to build and it didn't work. I thought it might work, though, if I formated system, data, cache, (everything except internal storage). Then this time I couldn't flash the ROM, couldn't work my previous backupe and could make another rom boot, because even if I flashed any ROM it would be stuck at that Nexus Logo.
I'd like to know how to recover my internal storage data so I can flash stock image, as it erases everything. I tried to use ADB to pull my data from the phone but it didn't recognize my device, which was already "bricked" by the time. What can I do? Can I make my backup work or is there a way I can recover my data to flash the stock image?
Click to expand...
Click to collapse
[EDIT] Nevermind, problem solved.
I wonder whether it's possible to manually flash PA without touching the /data partition. I used to do it to manually when updating factory ROMs because I couldn't update OTA. I would have backed up all apps and data but Nexus 4 doesn't have external memory card slot and I already ran out of space for a complete back up.
By manual flash I mean unpack the ROM and flash each section one by one using command line.
I understand backing up is very important. But there seems no good solution. Is there a way to back up all data, I mean all - photos and app data both internal and external - when I am still running factory and restore all data once I flash to PA? What are the commands I need to use?
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.