So, I'm stuck in TWRP - deleting cache forever - G2 Q&A, Help & Troubleshooting

So I installed TWRP with the no root method, then I rooted.
I wanted just to wipe cache/dalvik but it seems to take forever.
How do I Hardreboot or get out of this loop?
thanks

ok problem solved, so wiping cache takes like forever...never mind

I got scared first time too!
Then I read in Clean ROM post #2 "For faster wipes go into TWRP settings and choose the option "rm -f". Then wiping cache is normal.

mkext4fs takes a long time for some reason. You'll see the same thing if you ever have to wipe system in TWRP.

I waited so long I almost stopped breathing....

Thank god
Others are saying the same thing. I should have went to settings and changed it. I can confirm it is taking FOREVER!!!!!!!

I never changed any settings in twrp, and it does not take me forever to wipe cache. No idea why
Sent from my LG-VS980 using xda app-developers app

Lawlrus said:
I never changed any settings in twrp, and it does not take me forever to wipe cache. No idea why
Sent from my LG-VS980 using xda app-developers app
Click to expand...
Click to collapse
Hey just flash the 2.6.3.3 twrp, comes in zip format too just flash....has fix for long wipes....
And supports 4.4

Related

[Q] Correct procedures for doing a Restore via CWM

Do I need to do a full factory reset if I bootloop before trying to do CWM restore. I have been unsuccessful in making the restore stick. I have bootlooped a couple of times and the CWM restore would not successfully boot, it too kept bootlooping. SO I was wondering what the HECK am I doing wrong . I need to understand this before diving into the phone too much. Also having problems getting adb to install from the android sdk, but that is probably just not enough time spent looking at proper install instructions. That's what I get when I only have about 30 minutes a day to actually plug into the laptop and work on these things.
I found what I was looking for. Needed to be on working rom then restore works. Got it.
Never mind... You got it.
Sent from my SCH-I400 using xda app-developers app
Or so I thought. Do I need to wipe personal data? Basically do the factory restore/reset? If yes then is that done through CWM or through settings menu? In my head I think doing it through CWM is the more appropriate place, then Get to working ROM then do a restore? Final question for this post, do I need to reflash the mods on their own or is that part of the restore.
I have not needed to officially complete a restore as I do not have much that is not already on sd card that I need to keep. But it is important to know how to do a restore in the event it is needed. It does get annoying when I bootloop and can't restore to my previously working settings, especially if it was a setup that I was particularly fond of.
How about this for steps?:
Wipe data
Flash EG04 Deo.zip
Wipe Dalvik
Reboot
Recovery mode
CWM Restore
Reboot
Okay, in trying to follow you on this. If you made a backup with CWM recovery when your phone was working, you should be able to flash it at any time. So let's say for some reason your phone starts bootlooping, you should:
Boot into recovery
Wipe cache partition
Wipe dalvik cashe
Flash your backup
IF your backup had any mods you WILL need to flash them after you flash the backup. If you don't the phone probably will bootloop..
Cross fingers
Reboot phone
Your back up should have been made with a working rom, so you shouldn't need to flash one before you flash the backup.
Someone else please jump in if I missed something!!
Sent from my SCH-I400 using xda app-developers app
roaddog665 said:
Okay, in trying to follow you on this. If you made a backup with CWM recovery when your phone was working, you should be able to flash it at any time. So let's say for some reason your phone starts bootlooping, you should:
Boot into recovery
Wipe cache partition
Wipe dalvik cashe
Flash your backup
IF your backup had any mods you WILL need to flash them after you flash the backup. If you don't the phone probably will bootloop..
Cross fingers
Reboot phone
Your back up should have been made with a working rom, so you shouldn't need to flash one before you flash the backup.
Someone else please jump in if I missed something!!
Sent from my SCH-I400 using xda app-developers app
Click to expand...
Click to collapse
And here is even more fun. I was booting up into recovery every time for awhile because it didn't like something I flashed. So I erased all my data and had to reflash eg04 deo twice before it took. Right now rebuilding the phone. Everything seems to be working correctly now. I didn't even try the restore because it didn't work.
Back to the using restore issue. What I'm hearing is that I can flash restore at anytime, and maybe have to flash the mods (is 1-3 TB101 everything mod) if it doesn't boot properly. I use EG04 deo topped with TB 101 mod and ciscogee's i400 SuperSU zip.
jaycush said:
Back to the using restore issue. What I'm hearing is that I can flash restore at anytime, and maybe have to flash the mods (is 1-3 TB101 everything mod) if it doesn't boot properly. I use EG04 deo topped with TB 101 mod and ciscogee's i400 SuperSU zip.
Click to expand...
Click to collapse
That would be correct. I use TB's mods also, and anytime I restore a backup I have to flash the mod too. Not sure why, because the backup "should" have the mod in it also, but that's the way it is.
Sent from my SCH-I400 using xda app-developers app
Today I successfully comlpeted my first restore. I flashed the restore and immediately went and flashed the TB mod and it worked. Very cool, and thanks a lot for the help.
jaycush said:
Today I successfully comlpeted my first restore. I flashed the restore and immediately went and flashed the TB mod and it worked. Very cool, and thanks a lot for the help.
Click to expand...
Click to collapse
Awesome... Glad you got it working!
Sent from my SCH-I400 using xda app-developers app

Casuals recovery

I rooted with casual and have the recovery installed. My question is I supposedly full wiped and flashed Goldeneye. My issue is it didnt full wipe because when I go into internal memory all the crap that should be gone, its folders are still there taking memory so I have to manually delete. Am I doing something wrong ?
When I had my htc a full wipe meant a full wipe Everything gone. Dont understand why its not happening on my s4.
Sent from my SAMSUNG-SGH-I337 using xda premium
go into recovery and do a factory reset, it will clear it.
Thanks
That dont work all the folders are still there even though the apps are not installed.
Sent from my SAMSUNG-SGH-I337 using xda premium
most recoverys are set up to format data without touching the internal storage. this is a feature, not a bug. if you want to wipe internal, go to format, then format internal. easy peasy
Reinaldo33897 said:
I rooted with casual and have the recovery installed. My question is I supposedly full wiped and flashed Goldeneye. My issue is it didnt full wipe because when I go into internal memory all the crap that should be gone, its folders are still there taking memory so I have to manually delete. Am I doing something wrong ?
When I had my htc a full wipe meant a full wipe Everything gone. Dont understand why its not happening on my s4.
Sent from my SAMSUNG-SGH-I337 using xda premium
Click to expand...
Click to collapse
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
chocodough said:
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
Click to expand...
Click to collapse
just make sure you don't have anything you care about, like Roms or nandroids, in /sdcard.
fwiw this isn't a CASUAL issue, its a TWRP issue.
Awesome was looking for the correct way to do a Total Full Wipe in recovery.
Sent from my SAMSUNG-SGH-I337 using xda premium
chocodough said:
Here is what I do when I flash a ROM. I am a bit OCD for flashing cleanly.
1) Boot into Recovery
2) Wipe Data (Factory reset)
3) Wipe Cache
4) Wipe Dalvik Cache
5) Format /System
6) Format /sdcard
Then I flash my ROM. Those steps will definitely clean everything out before you flash. Especially formatting /system and /sdcard.
Click to expand...
Click to collapse
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Ya it might be a little bit overkill, but atleast this way you know everything is cleaned and wiped before you flash your ROM. I hate dirty flashing ROMS, so I prefer to be really thorough.
jd1639 said:
It's a little over kill. Just need to wipe the caches and data. If you wipe system, just make sure you do it before you flash a rom. And make sure you flash a rom before you boot. Wiping system and then rebooting is detrimental to your phone.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
It might be overkill but I like to make sure its a complete wipe even if I have to overkill it. Thanks all for the replies.
EDIT: DO NOT FORMAT INTERNAL if you have twrp the part where you have to type in yes. You will have serious issues and will end up ODIN back to stock to repair. If you format internal in twrp phone will not boot up. You can enter recover but if you power off phone will not boot up again.

[Q] Defy does only RSD help ?

Hello,
My Defy red lense was using CM10 from Quarx nightly 30.11. Everything was OK.
Yesterday my signal was lost (I thought RIL bug happened) so i normally reboot it. But booting stopped on cyan logo so i put out battery. After this phone booted almost ok but he stayed on "System updating... Running apps" (I translated this from Polish hope you know what I mean)
So I tried wipe Cache i Davlik and after boot was this application counting stuff and then again stayed on this "System updating...."
So I flashed same CM10 nightly. Wiped cache before and after. But it didn't help. Then I flashed some previous builds same way but nothing helped.
The last thing I did was flashing latest CM10.2 and gapps minimal for it. But still nothing. So right now once boot stop on cyan logo after putting out battery it boots further but stays on "System updating.." I waited long time even once I forgot to check and my phone was warm and battery drains very quickly (but I can charge no problem)
So my question is does only RSD help me or can I somehow revive my defy ?
Sorry for bad English.
System+ data+ cache wipe, and flash cm again
Sent from my MB526 using Tapatalk 4
thekguy said:
System+ data+ cache wipe, and flash cm again
Sent from my MB526 using Tapatalk 4
Click to expand...
Click to collapse
Can I somehow backup sms messages before this ?
Try entering recovery and backup data. Then after flash don't restore from twrp directly use nandroid manager to extract data from it. If backup fails at any point that means the partition was too damaged to yield any useful data.
Sent from my MB526 using Tapatalk 4
thekguy said:
Try entering recovery and backup data. Then after flash don't restore from twrp directly use nandroid manager to extract data from it. If backup fails at any point that means the partition was too damaged to yield any useful data.
Sent from my MB526 using Tapatalk 4
Click to expand...
Click to collapse
Thank you very much for your help.
I have one more question.
In TWRP I pressed Wiped->Advanced wipe-> wipe dalvik, cache, data, system. Then I flashed 10.2 ROM after that gapps for it. No wipes after flashing or between. System booted up fine. It started with Cyan account then I had to enter google account and phone did restoring and everything was great. Even my apps was automatically downloaded. But I bricked again after I installed SuperSU through recovery (needed for Nandroid Manager).
So again I wiped dalvik, cache, data, system. Then flashed like before. But know its only cyan account config and after that just Trebuchet.
I can add Google account manually but it doesn't have restore option.
Can you tell me what more should I wipe to get it like it was at the first time.
For getting it to account restore wipe data
Sent from my MB526 using Tapatalk 4
thekguy said:
For getting it to account restore wipe data
Sent from my MB526 using Tapatalk 4
Click to expand...
Click to collapse
It didn't help. Just cyan account appear and after that Trebuchet shows up.
Are you flashing gapps again? The restore account appears after a clean install(wipe system, data, cache + flash cm and then gapps)
Sent from my MB526 using Tapatalk 4
thekguy said:
Are you flashing gapps again? The restore account appears after a clean install(wipe system, data, cache + flash cm and then gapps)
Sent from my MB526 using Tapatalk 4
Click to expand...
Click to collapse
Yes. I did it like you wrote. In TWRP wipe -> Advanced -> checked system,data,cache,dalvik then Install CM10 and gapps at once (2 zips selected)
No wipes or reboots between ROM and gapps. None reboots after wiping.
Should I reboot after something ? Or wipe between ROM and gapps ?
So what you're saying is that repeating the same procedure, given identical starting points, you're getting different outcomes:what: . I have no idea how that screen is failing to show up, maybe due to full system partition, wrong gapps. I have always been able to restore directly after cm setup even without the elaborate wiping sequence. Not sure why this is happening
Sent from my MB526 using Tapatalk 4
thekguy said:
So what you're saying is that repeating the same procedure, given identical starting points, you're getting different outcomes:what: . I have no idea how that screen is failing to show up, maybe due to full system partition, wrong gapps. I have always been able to restore directly after cm setup even without the elaborate wiping sequence. Not sure why this is happening
Sent from my MB526 using Tapatalk 4
Click to expand...
Click to collapse
Gapps which I used are gapps-CM10.2_ONLY-20130813-minimal_edited_20131023.zip
I don't know if it has any meaning but at first time I didn't have my SIM card inside phone. But later I tried with SIM in and without it.
It looks like android keeps something on SD card or something is not wiped good enough.
I restored the broken ROM and after that I did all the wipe but nothing change. After cyan account Trebuchet welcomes me :/
So next thing I did was wiping data,system,cache,dalvik then I chose factory reset. After that i flashed ROM then right after this flashed gapps (not selecting 2 zips) and after reboot Google restore appeared.
However the apps didn't restore automatically because of this attempts when I add Google manually.
I don't know the exact reason but maybe this thread will help someone.
Thank you for your help.

[Q] what i need in order to install a kernel

i have never been rooting myn nexus 4 but now i want to install a franco kernel. what i need to do in order to install a kernel? (i have guides for everything i need to do i just dont know the order of the things. first... second..
Install custom recovery, boot into it, flash the kernel zip, reboot
Sent from my Nexus 4 using XDA Free mobile app
wipe dalvik cache before flash the kernel
No need for a wipe
Sent from my Nexus 5 using XDA Free mobile app
Did you unlocked the bootloader? If no, you should start unlocking it but you will loose all data.
Enviado desde mi Nexus 7 mediante Tapatalk
So what i need to do is unlock the bootloader than install custom recovery and boot into it and than flash the kernel zip did i get it right?
jd1639 said:
No need for a wipe
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
yeah, but i do it everytime to avoid any possible issues
That is absolutely correct. But, as suggested before you may want to wipe the cache and dalvik cache partitions before flashing, and before you do anything in the recovery, please make a nandroid backup to restore in case you face any issues, it is very important.
Sent from my Nexus 4 using XDA Free mobile app
Calinho said:
wipe dalvik cache before flash the kernel
Click to expand...
Click to collapse
lolcakes203 said:
That is absolutely correct. But, as suggested before you may want to wipe the cache and dalvik cache partitions before flashing, and before you do anything in the recovery, please make a nandroid backup to restore in case you face any issues, it is very important.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
you never ever need to wipe dalvik nor cache when flashing kernels. they have nothing to do with kernels. its the same as going to wipe your behind so you can fill your car up with gas.
Alright, Thanks for the clarification. I am used to the old fashioned method that always told individuals to wipe the cache and dalvik.
Sent from my Nexus 4 using XDA Free mobile app
lolcakes203 said:
Alright, Thanks for the clarification. I am used to the old fashioned method that always told individuals to wipe the cache and dalvik.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
its from the past, when android was still young and we didnt know better. everyone was just told to do it always, regardless. and no one questioned it. but as we learned more and more, some upgraded their thinking, while others kept up with what was told to them in the past. when flashing roms as well, there is no need to wipe dalvik nor caches, as the act of flashing the rom automatically wipes both dalvik and cache
Thank you very much for updating me! I greatly appreciate it. We learn something new everyday
Sent from my Nexus 4 using XDA Free mobile app
thank you so much!! i just didnt understand something : how to make a nandroid back up and what is it for?
NEXUSKILLER123 said:
thank you so much!! i just didnt understand something : how to make a nandroid back up and what is it for?
Click to expand...
Click to collapse
you do it in recovery. it makes a complete backup of everything. so if you mess something up, you can restore it(also in recovery) and be back to the same place when you made the backup.

does wiping cache in recovery do anything?

Hi, it might sound as a noob question but does wiping cache partition in stock recovery do anything?
Reason I'm asking is that I remember doing it on my previous phones (in TWRP) and the phone would take quite some time to reboot afterwards and show a dialog such as "android is starting, optimizing app 1/100"... I wiped the cache partition in stock recovery, logs say that the cache was wiped but the phone reboots in seconds (I see no difference with a normal reboot), so I'm curious...
Thanks!
Remix22 said:
Hi, it might sound as a noob question but does wiping cache partition in stock recovery do anything?
Reason I'm asking is that I remember doing it on my previous phones (in TWRP) and the phone would take quite some time to reboot afterwards and show a dialog such as "android is starting, optimizing app 1/100"... I wiped the cache partition in stock recovery, logs say that the cache was wiped but the phone reboots in seconds (I see no difference with a normal reboot), so I'm curious...
Thanks!
Click to expand...
Click to collapse
That was because you wiped the dalvik/art cache. Can't do that in Stock recovery.
Sent from my SM-G930T using Tapatalk
or maybe it was wiping Dalvik in TWRP that caused the phone to take longer to reboot, anyways when Android is updated the phone goes through app optimization at reboot, can anybody clarify please?
thanks
wund3rground said:
That was because you wiped the dalvik/art cache. Can't do that in Stock recovery.
Sent from my SM-G930T using Tapatalk
Click to expand...
Click to collapse
wund3rground said:
That was because you wiped the dalvik/art cache. Can't do that in Stock recovery.
Sent from my SM-G930T using Tapatalk
Click to expand...
Click to collapse
Why is there an option for it then? Does it just do nothing?
http://android.stackexchange.com/questions/27232/what-is-the-cache-partition
Sent from my SM-G930T using Tapatalk
Thanks guys
wund3rground said:
http://android.stackexchange.com/questions/27232/what-is-the-cache-partition
Sent from my SM-G930T using Tapatalk
Click to expand...
Click to collapse

Categories

Resources