EDIT: I tried pretty much everything I could think of over the last few hours and the only thing that worked was unrooting, rerooting, flashing radio and dangerspl again, and installing CM5.0.8 again. Since neither my nandroid or bart backup would work (I let them "restore" for about a half hour each). I lost everything so I am in the process of restoring. Everything google backs up pretty well and many of the apps that I use come with a backup option (ADW, my collection, key ring etc) so hopefully there is minimal damage.
I'm still not quite sure how this happened.
Hey everyone, its been a long time since I had to ask for help, however this situation has got me a little stumped.
Some background before we begin....
1) I wanted to rearrange some icons on the homescreen so I did that and then backed up the ADW settings by going into settings>ADW>backup then rebooted
2) I cleaned out some apps that I no longer use by uninstalling them via the settings menu rather than the market method
3) I browsed my sdcard via a file explorer application and deleted some of the left over folders and files from the apps I uninstalled in step 2.
4) After steps 1-3, I opened the official twitter app and was getting constant forcecloses as soon as I opened the app however it appeared to run perfectly normal behind the FC screen.
5) I tried FC and opening twitter a few times and it didn't work so I opened up the terminal app and ran a fix_permissions
6) While the fix_permissions was running, I noticed it got caught in some kind of loop when it reached the market app (com.android.vending etc). The screen just kept repeating the same commands over and over again.
7) To stop the loop, I hit the back or home button (cant remember which) and got back to the home screen. I tried to open several apps and then everything starting to FC. I left the phone for the night and went to sleep.
8) This morning, I rebooted the phone and was stuck at the first splash screen for much longer than usual so I used DroidExplorer to reboot into recovery.
9) In recovery, I toggled the sdcard so that I could have a looksie at the fix_permissions log file to see what was going on. Everything is there up until the com.android.vending part where it was looping.
10) I deleted the log file off the sdcard and just decided it was time to restore a nandroid which is from right after my fresh, wiped install of CM5.0.8 stable from about a week ago.
11) This is the step I am on now....the nandroid didn't go thru and its been about 25 minutes so my assumption is that something is wrong.
My guess at this point is to just wipe and reinstall CM5.0.8 stable?
Any help to fix the problem would be great, but I would also like any insight as to what may have caused this in the first place. Presumably, my interruption of the fix_permissions is mostly to blame for the softbrick, but what about the FC from Twitter that started this whole mess?
Thanks,
DM
Flash the rom again without wiping
Fix permissions
Wipe Dalvik Cache
Fix Permissions
Reboot
Reboot will take a while because of wiping the Dalvik Cache
The ROM flashed fine, then I dropped to terminal and started the fix_permissions and its looping again at step 91 of 121 but the screen is going so fast, that was the only info I was able to get.
Now the screen is blank, lit, but blank. Going to try to get back to recovery and see if I can get access to the fix_permissions log file.
EDIT 1: The fix_permissions file on the sdcard is blank...something is seriously wrong.
Related
First I installed advanced launcher as a normal apk and that went fine. Then I tried to add a theme that had advanced launcher, but the themed version did not take and I was stuck with just the tab instead. So I tried to extract the launcher from the theme and install that, and got an error that it could not be installed on this device.
I have tried the steps in the topic created for the launcher:
Reverting the installation after making a backup (before update 15)
- Remount the /system file system: "adb remount"
- Push your backup: "adb push LauncherBAK.apk /system/app/Launcher.apk"
- Reboot your phone.
But it never takes and I am stuck with the same thing.
The only thing I thought of was it was saved to the sd card. So I went to my ext3 partition and deleted that, then deleted the launcher from the normal spot and it still would not work. Where else could it be saved to.
I have tried with the phone in recovery, normally on, from terminal, from adb and I can't think of what else to try, short of a wipe, but I really don't want to, only as a last resort.
Thanks for any help,
Dan.
If you're having problems pushing it back, you can reflash the theme (or the ROM, if you're not using a theme) to get it back. You won't loose your settings as it won't touch /data...
I have had limited success with that approach. Sometimes it will just stay at a black screen after the unlock screen.
Long story short: When restoring via Nandroid it hangs, when using advanced restore the data portion says
E:Can't mount /dev/block/mmcblk0p2
(file exists)
Error mounting DATA:!
Click to expand...
Click to collapse
This afternoon I tried running the Voodoo zip, but the one I downloaded from their site isn't for the Captivate. I ended up with a phone that was constantly displaying 90 degrees off from what it should have been (holding it straight up had the phone thinking I had it on its side).
I decided to uninstall voodoo by creating the "disable lagfix" folder on my card. I rebooted and the phone hung and remained hung at the spinning progress wheel for an hour. I pulled the battery since I couldn't get out of that screen. Rebooting after that had me in what appeared to be the stock version and showed a few of my non-stock apps as "com.etc..." apps.
More reading on here and I found the Captivate-specific version of Voodoo. I figured I'd try to install that before restoring from the Nandroid backup I ran before installing the Voodoo. However, when in recovery mode I couldn't "click" anything with the power button. I tried using adb reboot recovery which didn't fix the problem and instead put me into a non-stop cycle of non-functioning recovery modes after boots.
So I used Odin to get back to stock. Now I'm trying to restore back to where I was before Voodoo. I tried to just run a simple Restore but it hung and after 90 minutes it hadn't completed. So I tried to run an advanced restore and all sections restored except for Data. When I try to restore Data i get the error at the top of this post. I've googled for an answer and everything I've read so far is Cyanogen specific and appears to require Cyanogen to fully fix it. Anyone know how to fix this on a Captivate? Anyone have a link that I'm missing?
Thanks!
If you can boot the phone, then go into android terminal emulator (you may have to download it from the market first) and type mount in the terminal. See what type of partition /data is. If it's ext 4, the disable lagfix was not finished before you pulled the battery. Your best bet then is to download the Captivate voodoo beta 4 kernel version 1.6, which is sticky post in the Captivate development forum here, remove the disable lagfix folder/file from /sdcard/Voodoo/ and let it boot. It will then get you to the point where you should have been at first without having rotation issues and with a kernel that understand ext4. After that, restore your phone to the way it needs to be with Titanium, or by manually downloading and reinstalling any apps that got deleted by your premature battery pull. When ready to do a nandroid backup, do a disable lagfix and let it fully reboot to convert the ext4 to RFS. Then you can do a nandroid backup of restore, as clockwork recovery does not understand ext4 (yet).
Thanks Rajendra! I'll try that and follow up with the results.
I used Odin again to bring it back to stock, which appears to have given it back RFS formatting on data which means I'm able to restore to it now.
However, my restore is hung on one file and has been for a good 25 minutes now. Is it normal for it to sit on a file? Anything I can do to skip/bypass the problem file or find out what it is? All it says is '-274738110' for the file.
Duplicate post (no way to delete I guess?)
RobertDeBord said:
I used Odin again to bring it back to stock, which appears to have given it back RFS formatting on data which means I'm able to restore to it now.
However, my restore is hung on one file and has been for a good 25 minutes now. Is it normal for it to sit on a file? Anything I can do to skip/bypass the problem file or find out what it is? All it says is '-274738110' for the file.
Click to expand...
Click to collapse
Try this - once the phone boots - then go to internal sd card and see if there is a Voodoo folder (which there still should be) inside the Voodoo folder make a folder called disable-lagfix - reboot and it should go through the reverse process of creating the lagfix (robot voice). After it finishes reboot go to rom manager and restore.
Hope This Helps....
I can tell you, I've never had a successful restore from rom manager/clockwork recovery. Not once! The only thing that program is good for is as a replacement recovery reboot, it lets you select which zip you want to install from, rather than having to manually name everything to "update.zip". I can't honestly think of anything else its good for. I've tried literally dozens of restores on my captivate and everyone of them has crashed or frozen at some point during the restore. Worthless!!
Sorry guys, I have searched through, tried all possible things... but cannot get things working... here's my story (long, but gives the whole picture)
1. Was on CM 6.0 (stable) and Amon RA 1.7 recovery
2. Got a new SD card (8gb class 6)
3. Had Nand backups, so just removed the old card and inserted the new
4. Booted into recovery, partitioned SD card, copied CM 6.1.0 RC and gapps onto the SDCard
5. Performed Wipe Data/Factory reset, Wipe cache, Wipe Dalvik-cache and flashed CM 6.1.0 rc and gapps
6. Booted into the ROM, signed into my account, got all my apps from market
7. Everything was running fine
8. Booted into recovery, made a Nand backup and installed Steel my Elegance
9. Booted into the ROM and realized something was not correct, so decided to restore from the Nand backup
10. Booted into recovery and tried to restore - failure, asked me to run nand backup from adb
11. Did that but that did not resolve the situation
12. Performed step #5 (above) again and got it to the original state
13. Did not login into my account, as I wanted to get a backup of a fresh install
14. Booted into recovery made a Nand backup successfully
15. Just to be on the safer side, tried restoring... did not work. Same error - run SH from adb - tried that, but did not work
16. Read somewhere on the forums to wipe cache before backup and try, did that backed up and tried restoring - no go
17. Decided to flash ClockWork recovery - did that through terminal (ROM booting properly)
18. Booted into recovery - successfull
19. Tried creating Nand backup - failed at Cache - cannot image cache error message or something
20. Performed format SD card, cache, system and all other formats available from the recovery (ClockWork mod)
21. Tried performing nand backup - created some folders/files under the clockwork mod folder with junk characters
22. Performed a SD card format from computer (FAT32)
23. Booted into recovery and tried nand backup - no go
24. Decided to revert back to Amon RA 1.7 - flashed through terminal and rebooted into recovery - phone won't go to recovery
25. Though there might be some problem with the img file, so downloaded from multiple locations and tried it - still no go
26. Followed all sorts of instructions - mount/remount, flash_image - no go. When I do flash_image recovery <image name>, the command exits without any errors, but still can't boot into recovery
27. Installed ROM manager and flashed clockworkmod recovery from within, still no go.
28. Performed "Fix permissions" - ended with "Could not run some privileged commands"
29. I can still boot into the ROM and when I go to terminal can do SU - takes me to "#" from "$" - so I am guessing I still have root
It just doesn't add up... and I feel very lost, right now. I guess the only thing remaining to do is go back to 2.1 RUU, reroot and go from there. Is there any other way? Or did I do something wrong?
Can someone please help?
Edit: I had enough battery juice or wall power plugged into the phone while trying the backups and restores...
Do you still have the super user app? Check the permissions in the app, maybe one couldve gotten declined???
go to impalers cyanogen mod q&a, ask there, impaler is really knowlegable and helpful, you should get some concrete help.
I don't think this has anything to do with CM, else would have posted there.
Thanks anyways.
cordell12 said:
Do you still have the super user app? Check the permissions in the app, maybe one couldve gotten declined???
Click to expand...
Click to collapse
Checked that, everything that needs access seems to have it.
Any other ideas? I am so close to going RUU route......
Maybe this can help? I dont know never had this happen?
http://forum.xda-developers.com/showthread.php?t=845069
Thanks everyone... I ended up going the RUU way. Got my recovery back, backup/restore and CM6.1.0 RC up & running. Loooonnnnggg night .
andythegreenguy said:
Thanks everyone... I ended up going the RUU way. Got my recovery back, backup/restore and CM6.1.0 RC up & running. Loooonnnnggg night .
Click to expand...
Click to collapse
I hate that you had to go that route, but atleast all is well now. It couldve been worse and not even let you RUU Thats a Scary thought!
cordell12 said:
I hate that you had to go that route, but atleast all is well now. It couldve been worse and not even let you RUU Thats a Scary thought!
Click to expand...
Click to collapse
No kidding... . It was so frustrating, just going through it all.
Originally, I had rooted my phone that had 2.31.651.7 on it. So, I applied that RUU and went through the root. It seemed to have rooted fine, but then it won't allow me to flash recovery - did the same steps as I had performed during my first rooting process, but didn't work. Then went through all possible ideas suggested on the forums... still no luck. So, finally put the 2.27.651.5 RUU, followed regaw_leinad's rooting method and everything worked out.
All-in-all a good learning experience .
BTW, for anyone that is reading, I think the issue was a corrupted SD card. I might have pulled it while the phone was running and then applied a corrupted recovery image.
Quick SUMMARY (see details below if you've got some minutes to read!)
-> I need HELP!!!
-> Phone is rooted stock GB with jb hboot unlocked bootloader and TWRP v2.2.0, also superCID.
-> Problem is phone apps keep force closing and won't retain any change I make after reboot
-> Last installed program was ROM Toolbox
-> Steps already taken include: Reboots, Fix permission, Wipe (ALL), ROM Update using Windows, RUU using SD card.
Details
I have a Vivid with Stock Gingerbread (Rooted, Bootloader Unlocked, Juopunutbear hboot, SuperCID S-OFF, TWRP Recovery v2.2.0)
I recently removed the SD card on my vivid to use on another phone (SGS III) and when I returned the SD card and started my vivid, I tried using the file manager (ES Explorer) and it force closed, following series of other apps force closing.
I restarted the phone and the force closing didn't stop. I tried uninstalling the most recently installed app (ROM Toolbox) thinking it might be the culprit and nothing changed. I rebooted the phone and noticed every time I rebooted, the phone goes back to the state (installed apps, settings and every other thing) it was before I removed the SD card.
I installed Titanium Backup to make a Backup and flash the phone, but it kept force closing and after several reboots and attempts, it installed but couldn't acquire root.
I restarted to recovery to fix permissions and cleared cache and dalvik cache then rebooted the phone. No luck!!!
I eventually decided to wipe the ROM and do a fresh RUU install. I wiped system and data using recovery but when I restarted the phone, it booted to the (pre-SD card removal) state and was still force closing.
I tried installing ICS using the RUU from att and I got an "Error 155" on the way. I also tried installing the RUU using PH39IMG method with the SD card, it goes through the normal install process and when the phone booted, it's still the same state it was that it takes me to changing nothing.
I've tried all I know and it seems the phone is "write-locked" as it won't retain any change after reboot, suggestions to what I can do to fix this weird problem please.
I am not so sure...
Did the sgs3 reformat your sdcard to a different file system?
Sent from my HTC Holiday using Tapatalk 2
rignfool said:
I am not so sure...
Did the sgs3 reformat your sdcard to a different file system?
Sent from my HTC Holiday using Tapatalk 2
Click to expand...
Click to collapse
No it didn't. I only used the sdcard to copy some files to the sgs3 and I still could access the sdcard on my vivid through Root Browser in ROM Toolbox.
hardware maybe
Interesting... One thing you could do is enable USB debugging, and save a logcat showing your phone hitting some of these FCs so we can see what is causing them.
Once USB debugging is enabled, simply boot your phone, plug into your computer via USB, open a command prompt to where you have ADB tools installed, and type "adb logcat > log.txt
That will stream the log from your phone into a text file. After you get one or two FCs, on the command window hit CTRL + C to close the console, and save the log. Then post it as an attachment here.
ess.boyer said:
Interesting... One thing you could do is enable USB debugging, and save a logcat showing your phone hitting some of these FCs so we can see what is causing them.
Once USB debugging is enabled, simply boot your phone, plug into your computer via USB, open a command prompt to where you have ADB tools installed, and type "adb logcat > log.txt
That will stream the log from your phone into a text file. After you get one or two FCs, on the command window hit CTRL + C to close the console, and save the log. Then post it as an attachment here.
Click to expand...
Click to collapse
Thanks ess.boyer. I've been busy over the past few weeks so just saw your reply now.
The phone is in a pretty bad shape right now, I managed to drop it and the screen is shattered so I can't touch the screen to use it.
But I put it on and did the log. Please find attached.
Thanks for wanting to help!!!
So I think the install is probably botched. I'd recommend wiping EVERYTHING and reinstalling from RUU (maybe try a different RUU even).
However, first, please try wiping your cache and dalvik cache. Most of the errors are from not being able to find symbols in dalvik.
Also, are you restoring apps using Titanium backup or some other such program? If so, that could also be an issue. If you have, and wiping cache & dalvik cache don't work, you may want to try wiping /data entirely, and NOT restoring apps before you can confirm that the FC issues you were seeing are still there.
Give the cache & delvik clean a try, and if that doesn't work, please attach a similar log so I can confirm you're seeing the same issues, then we can go from there.
ess.boyer said:
So I think the install is probably botched. I'd recommend wiping EVERYTHING and reinstalling from RUU (maybe try a different RUU even).
However, first, please try wiping your cache and dalvik cache. Most of the errors are from not being able to find symbols in dalvik.
Also, are you restoring apps using Titanium backup or some other such program? If so, that could also be an issue. If you have, and wiping cache & dalvik cache don't work, you may want to try wiping /data entirely, and NOT restoring apps before you can confirm that the FC issues you were seeing are still there.
Give the cache & delvik clean a try, and if that doesn't work, please attach a similar log so I can confirm you're seeing the same issues, then we can go from there.
Click to expand...
Click to collapse
Please see my steps already taken.
I've wiped cache and dalvik, I've installed RUU thru windows, I've installed RUU from SD card. But whenever the Phone boots up, the phone state does not change at all (all apps are as they are, all settings are as they are).
I even tried to lock bootloader, remove superCID. Just a reboot and it all goes back to what it was.
Thanks
What happens if you reboot the phone without the SD card in it?
ess.boyer said:
What happens if you reboot the phone without the SD card in it?
Click to expand...
Click to collapse
The phone boots up to homescreen normally and the apps installed on SD don't work, with reduced FC
Hi,
I have an HTC One m7 on T-Mobile, rooted and running Android Revolution 82.0.
I messed up, now I need help to dig myself out of this hole. I do not understand some of this, this could be partly due to my stupidity.
I backed up my system and boot in twrp before i had done any of this.
Last night I wanted to update TWRP. I downloaded "TWRP manager" through the play store, I opened the app and went down to "install twrp" - i installed TWRP 2.8.1.0 through the app, it said flashing successful. Everything was fine. I rebooted my phone into recovery to verify that it had worked. The correct twrp version was displayed at the top. I rebooted my phone into system. After the boot sequence it loaded into the first time run set up manager (by this i mean the thing that comes on when you turn on your phone for the very first time). This shocked me. I went through the procedure to "set up" my phone. All my apps were gone, all settings, everything. It looked as if it were brand new. Even the pre-loaded apps for android revolution were gone. I rebooted back into twrp recovery, went to the file manager and went to the main directory "/". I looked for the folder "/storage" but it wasnt there. I went to go restore my phone to the backups i had made before i tried updating twrp to see if that would help. Nothing changed. after this, I reinstalled the rom through TWRP without wiping anything. All my apps were still gone, all settings were gone, yet all my photos were still there. All of my files for the apps are all there, they are all in the internal storage, all the folders are still in /data , i do not understand what happened. I am also concerned that when I am in recovery and i am in the file manager i cannot see "/storage", as if it is hidden from the recovery file manager. Also, when i select "backup" and it gives me options to backup system, data, etc., under data it only shows 756 mb of data, i have at least 2000 mb, I am wondering if my phone is accessing the storage somewhere else? Please help me find out how to fix my errors. I wish to go back to where i was, or at least figure out what happened to increase my knowledge and NEVER do something like this again.
for some reason which i do not know, my sdcard files are saved in different places? i assume this is just how it's supposed to be. these loacations are : "/storage/emulated/0" - "/storage/emulated/legacy" - "/storage/sdcard0" - "/sdcard" (all of these folders have all of the same files etc.)
Thank you,
Evan
ImMrBS said:
Hi,
I have an HTC One m7 on T-Mobile, rooted and running Android Revolution 82.0.
I messed up, now I need help to dig myself out of this hole. I do not understand some of this, this could be partly due to my stupidity.
I backed up my system and boot in twrp before i had done any of this.
Last night I wanted to update TWRP. I downloaded "TWRP manager" through the play store, I opened the app and went down to "install twrp" - i installed TWRP 2.8.1.0 through the app, it said flashing successful. Everything was fine. I rebooted my phone into recovery to verify that it had worked. The correct twrp version was displayed at the top. I rebooted my phone into system. After the boot sequence it loaded into the first time run set up manager (by this i mean the thing that comes on when you turn on your phone for the very first time). This shocked me. I went through the procedure to "set up" my phone. All my apps were gone, all settings, everything. It looked as if it were brand new. Even the pre-loaded apps for android revolution were gone. I rebooted back into twrp recovery, went to the file manager and went to the main directory "/". I looked for the folder "/storage" but it wasnt there. I went to go restore my phone to the backups i had made before i tried updating twrp to see if that would help. Nothing changed. after this, I reinstalled the rom through TWRP without wiping anything. All my apps were still gone, all settings were gone, yet all my photos were still there. All of my files for the apps are all there, they are all in the internal storage, all the folders are still in /data , i do not understand what happened. I am also concerned that when I am in recovery and i am in the file manager i cannot see "/storage", as if it is hidden from the recovery file manager. Also, when i select "backup" and it gives me options to backup system, data, etc., under data it only shows 756 mb of data, i have at least 2000 mb, I am wondering if my phone is accessing the storage somewhere else? Please help me find out how to fix my errors. I wish to go back to where i was, or at least figure out what happened to increase my knowledge and NEVER do something like this again.
for some reason which i do not know, my sdcard files are saved in different places? i assume this is just how it's supposed to be. these loacations are : "/storage/emulated/0" - "/storage/emulated/legacy" - "/storage/sdcard0" - "/sdcard" (all of these folders have all of the same files etc.)
Thank you,
Evan
Click to expand...
Click to collapse
The answer to your mysterious factory reset lies here in this link. For further information see the link in this link
http://forum.xda-developers.com/showpost.php?p=55741117&postcount=83118
When in the TWRP file manger your /storage is a Folder called /sdcard.
And the multiple storage locations. Not all of these are actually physical locations you only have one memory chip with one set of files, the other locations are just emulated/virtual copies of your main storage
If you found my post helpful, no need to say thanks. There's a button for that
Danny201281 said:
The answer to your mysterious factory reset lies here in this link. For further information see the link in this link
http://forum.xda-developers.com/showpost.php?p=55741117&postcount=83118
When in the TWRP file manger your /storage is a Folder called /sdcard.
And the multiple storage locations. Not all of these are actually physical locations you only have one memory chip with one set of files, the other locations are just emulated/virtual copies of your main storage
If you found my post helpful, no need to say thanks. There's a button for that
Click to expand...
Click to collapse
So what I've gathered from this, is that all my apps are gone forever because I forgot to backup the data. And that is because "Then along comes the recent TWRP builds (2.7.1.2+) that read the bcb on boot. You flash it and boot into recovery, TWRP starts, reads the wipe_data command out of the bcb and proceeds to wipe the /data partition."? Also should I run the reset script in this post? http://forum.xda-developers.com/showpost.php?p=54370858&postcount=492
since I have a non-sprint htc one I'm not sure if this would do me harm or not. The reason I am asking all these questions is because I want to make sure I don't do something stupid again.
ImMrBS said:
So what I've gathered from this, is that all my apps are gone forever because I forgot to backup the data. And that is because "Then along comes the recent TWRP builds (2.7.1.2+) that read the bcb on boot. You flash it and boot into recovery, TWRP starts, reads the wipe_data command out of the bcb and proceeds to wipe the /data partition."? Also should I run the reset script in this post? http://forum.xda-developers.com/showpost.php?p=54370858&postcount=492
since I have a non-sprint htc one I'm not sure if this would do me harm or not. The reason I am asking all these questions is because I want to make sure I don't do something stupid again.
Click to expand...
Click to collapse
Yep that's about right. Running the script shouldn't do any harm but since you already experienced the Factory reset. The command should no longer be in your bcb anyway. As far as I'm aware this only happens once after a new flash and shouldn't repeat every time you use recovery.
But using the zip to clear your bcb is not a bad idea for piece of mind.