[Q] Stuck in a force close loop on boot... - Galaxy S I9000 Q&A, Help & Troubleshooting

Hey, I wiped my dalvik-cache earlier via a Terminal Emulator using:
Code:
$su
#cd /system/sd/dalvik-cache
#rm *
#exit
$exit
It seemed to go fine and the cache was gone, got a lovely long boot after a restart too but once everything had loaded and I was unlocking the homescreen I was greeted by a LauncherPro force close, followed immediately by a SwitchPro widget force close, and then back to LauncherPro, so that it wouldn't allow me to see anything of the homescreen other than the wallpaper. I did recently make a Nandroid backup (plus a Titanium backup earlier today for my apps) would there be any way to use that or am I essentially restricted to flashing a new firmware with Odin?
Any help is greatly appreciated.

Related

Revert back advanced launcher

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.

how to store all sms in sdcard and recover later?

Is there a way to store all sms in sdcard and recover them after you have wiped your phone? I know there are some apps but they are so slow. In nandroid it backs up the whole system in like 30 seconds. But I cant use nandroid because I want to use a new rom.
Aside from apps like my backup pro from the market, you can do it through terminal. If you know how to create scripts or use GScript, its even simpler. What you can do is backup the mms/sms app database, then restore it after you flash the new rom.
Note: this method may not always work and you may need to reboot before it shows up in your app so keep that in mind.
In summary with the first step, you're backing up the database to your sdcard, and in the second you're restoring it to phone memory (after a new rom)
TO BACKUP:
Go into terminal and type:
Code:
su
busybox cp /data/data/com.android.providers.telephony/databases/mmssms.db /sdcard/mmssms.db
TO RESTORE: - once you flash a different rom, or wipe
Go into terminal and type:
Code:
su
busybox cp /sdcard/mmssms.db /data/data/com.android.providers.telephony/databases/mmssms.db
Then reboot.
Hope that helps.

[SOLVED] Softbrick and unable to restore nandroid

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.

htc hero stuck in safe mode

my htc hero is stuck in safe mode, i dont know how it got there, but all my apps and data arent there, but i can see some of the apps are installed when i browse thru market, i tried reinstalling the cm7 7.0.2 updat but that didnt help with much...what should i do?
kozmo198 said:
my htc hero is stuck in safe mode, i dont know how it got there, but all my apps and data arent there, but i can see some of the apps are installed when i browse thru market, i tried reinstalling the cm7 7.0.2 updat but that didnt help with much...what should i do?
Click to expand...
Click to collapse
What do you mean safe mode? What I would do is (since you're on cm7) is download and install es file explorer or root explorer from the market. Go to applications in the settings menu and move all apps back to the sd card, then open ESFE (give it root permissions for cyanogenmod in the settings...) or root explorer and go into /data/app and backup ALL apk files by multi selecting them all and copying them to your sd card. Then I'd flash clockworkmod recovery v3.0 + and then wipe cache, wipe dalvik, wipe factory data/reset, format system, boot, data, cache then install cm7 v 7.0.2 and gapps reboot into the phone and then once you get it set up again, use cm7's default file manager to install all your apk files again. THEN! open adb shell or your terminal emulator app and type this:
su (if using terminal emulator)
mkdir /cache/download
chmod a+x /cache/download
chmod ug+rwx /cache/download
then go into your market and read and accept the terms of service
then once you open the market it should have ALMOST all of your apps you have gotten listed (my market doesnt show everyone because i have about 30-40 apps I use).
This should fix it. If it doesn't then open ESFE (after giving it root permissions in the settings again) or root explorer and AFTER opening the market for the first time. Wipe the market's data in the /data/data directory and look for the vending folder(s) and delete those. Then reboot recovery and wipe cache, and then open the market again Should fix it so you have most of your apps showing
Have a nice time on CM7 v7.0.2
- Kifno
you probably held the menu button while it was on the bootanimation witch will make it go into safe just reboot it and you should be fine.
yes phones do have a safe mode much like a pc does so it makes it eiser to get in and do a reset if somethings screwing up.
the first time i experienced this was on nfx stock apps2sd i accedintly held the menu on boot up and it said safe mode on the bottom left corner and i was like what the hell is this so i rebooted and it was fine.

Tried to Install TWRP, I think I deleted Android...

I was following originally this guide by a user who posted steps that would basically allow me to move all of my apps from my internal storage to external SD card. The link to the thread I had posted about this can be found here: http://forum.xda-developers.com/lg-l90/general/internal-memory-storage-help-t3171582/post62245649
I managed to root my phone using the KingRoot method, right after, I installed Flashify, flashed the TeamWin Recovery Project, and right after, it automatically rebooted me. After that, I went to the reboot section, clicked on recovery, and than, it loaded me to an icon where the Android logo is opened from its belly with a red triangle with the ! mark inside the red triangle.
I am assuming that my Android OS was deleted, as I see I now have 3 GB of free internal storage space. I originally was running everything on stock. Is there any solution here? I did manage to install CM12.1, but I forgot to flash GAPPS, thus I had to manually download the Flashify and KingRoot APK's and ended up deleted CWM12.1 as it just seemed buggy.
At this point, I want to just go back to my normal Android, I am fine with using Stock, as long as I have free storage. Though, if using another ROM would be better (where battery life improvements and overall faster performances is always acceptable). I don't want to brick my phone, as it so far seems to be working.
I currently don't have any other backup phone on me, so I would love to solve these issues ASAP as I do need my phone to make calls and answer SMS Text Messages.
Thanks!
What is your L90 variant?
You probably messed just the system and boot, CM12.1 and other custom roms currently runs with KitKat bootstack, and you may flashed them with Lollipop bootstack. Try to boot holding PWR + VOL DOWN, wait for LG logo show up, immediately release PWR button and hold again (don't release VOL DOWN). If you aboot is fine, you'll be shown a white screen asking if you wan't to reset your phone. If you still have your stock recovery, your phone will actually be reseted to stock, if you changed the recovery to TWRP or CWM, it will boot into them.
From the recovery you can create the right .zip to flash stock system and boot images retrieved from your kdz of your phone with LG Fimrware Extract. If you are able to flash them back, you won't need Kingroot, since your bootloader is unlocked, you can root your phone straight from the recovery with SuperSU flashable zip.
If none of the two options happen, you probably messed your aboot or recovery partition.
F. Gacrux said:
What is your L90 variant?
You probably messed just the system and boot, CM12.1 and other custom roms currently runs with KitKat bootstack, and you may flashed them with Lollipop bootstack. Try to boot holding PWR + VOL DOWN, wait for LG logo show up, immediately release PWR button and hold again (don't release VOL DOWN). If you aboot is fine, you'll be shown a white screen asking if you wan't to reset your phone. If you still have your stock recovery, your phone will actually be reseted to stock, if you changed the recovery to TWRP or CWM, it will boot into them.
From the recovery you can create the right .zip to flash stock system and boot images retrieved from your kdz of your phone with LG Fimrware Extract. If you are able to flash them back, you won't need Kingroot, since your bootloader is unlocked, you can root your phone straight from the recovery with SuperSU flashable zip.
If none of the two options happen, you probably messed your aboot or recovery partition.
Click to expand...
Click to collapse
I think I did mess with my stock recovery boot, and instead TWRP is set as my boot. When I pres the VOLUME down and Power button, I get prompted to a White screen that says "Erase all user data and restore default settings?", after I select "Yes", and "Yes" again, it shows "Factory Reset Performing". Than a quick animation of the Android logo with gears running behind it, after that it looks like it reboots, but right back to Team Win Recovery Project. From there, when I select Reboot, and recovery, it just shows the Android logo with the red triangle.
What are my options from here? I should mention, when I select the option "Reboot" in TWRP and go to "Recovery", it does say "No OS Installed!" , after swiping it than says "Install SuperSU? Your device does not appear to be rooted. Install SuperSU Now?".
Is there a proper way to also root the device, since it seems to be rooted, even though I swipe to install SuperSU?
EDIT: I also have a LG L90 D415.
If TWRP is booting, you are fine. TWRP is your new recovery, takes place of the stock LG recovery.
I don't know how many variants L90 have, you are D415RD or its a different model? If it's the same D415 you said, you can flash the D415RD zip with TWRP from this topic: http://forum.xda-developers.com/lg-...flashablestock-zip-kk-l-via-recovery-t3137255 (use Lollipop if you were at LL before, use KitKat if it was KK. You cannot downgrade to KK if you were on LL before, they are different bootstacks).
I suggest before flashing, wipe > adv wipe > dalvik/system/data/internal storage (your internal sd data will be wiped)/cache - do NOT format sdcard, it's your microSD with the necessary zip files to go back to stock. Go back and format data, type yes. Go back to home menu, reboot > recovery so your data get remounted and accessible again (ignore warnings saying there is no android installed and asking to install super user). Install > select the zip and wait. You can also flash SuperSU to get root (do after flashing the rom): https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
F. Gacrux said:
If TWRP is booting, you are fine. TWRP is your new recovery, takes place of the stock LG recovery.
I don't know how many variants L90 have, you are D415RD or its a different model? If it's the same D415 you said, you can flash the D415RD zip with TWRP from this topic: http://forum.xda-developers.com/lg-...flashablestock-zip-kk-l-via-recovery-t3137255 (use Lollipop if you were at LL before, use KitKat if it was KK. You cannot downgrade to KK if you were on LL before, they are different bootstacks).
I suggest before flashing, wipe > adv wipe > dalvik/system/data/internal storage (your internal sd data will be wiped)/cache - do NOT format sdcard, it's your microSD with the necessary zip files to go back to stock. Go back and format data, type yes. Go back to home menu, reboot > recovery so your data get remounted and accessible again (ignore warnings saying there is no android installed and asking to install super user). Install > select the zip and wait. You can also flash SuperSU to get root: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
Click to expand...
Click to collapse
Ah okay, great, so I can easily fix this solution Just a question here - after performing this, when I go back to Stock, would it be recommended to just stick with it? I did some searching for fast Lollipop ROMs, and there are only a few out there from my search...
Also - Next time, is there a better way to do all of this? I was originally trying to install Xposed as a previous user had posted on these forums, that it allowed you to do a multitude of things additional to the whole Link2SD access.
Stick to the stock ROM.
TWRP is the best way of doing all of this, there nothing more easy than simply booting TWRP recovery and flash a zip file. Forget LG recovery and KDZ flash, TWRP is much better. TWRP allow to flash select partitions, thus preserving your unlocked bootloader and custom recovery.
If you are talking about all the partition format and reboot things I said, that actually is not really necessary, but since you tried to make some other changes other than simply flashing a new rom, I just wanted to make sure you were making a clean flash and first boot to avoid any obscure errors.
I don't know what is the current development status of Xposed in android LL and the recovery flasheable zip for our L90, but the last time I checked it wasn't stable and could lead to lots of FC to an unbootable system, so I just skiped any modification at this level.
F. Gacrux said:
Stick to the stock ROM.
TWRP is the best way of doing all of this, there nothing more easy than simply booting TWRP recovery and flash a zip file. Forget LG recovery and KDZ flash, TWRP is much better. TWRP allow to flash select partitions, thus preserving your unlocked bootloader and custom recovery.
If you are talking about all the partition format and reboot things I said, that actually is not really necessary, but since you tried to make some other changes other than simply flashing a new rom, I just wanted to make sure you were making a clean flash and first boot to avoid any obscure errors.
I don't know what is the current development status of Xposed in android LL and the recovery flasheable zip for our L90, but the last time I checked it wasn't stable and could lead to lots of FC to an unbootable system, so I just skiped any modification at this level.
Click to expand...
Click to collapse
YES! I was able to boot back into Stock ROM, but further more, I have root access via SuperSU! I was able to do the Link2SD method, and removed a bunch of the bloatware pre-installed on the ROM, it all works now! Thanks a lot for helping on all of this!
After spending literally my whole day trying to get my phone root acces, I think I will stick to Stock, everything works, and I don't want to kill another day trying to accomplish a miniscule achievment, since I already have Root access.
Now, one of my last questions: is there an appropriate way for me to boot into TWRP? Every time I reboot, I go straight to my ROM, not sure how to go back to TWRP (in the case I ever need to flash something again).
Otherwise, my phone works, and I was able to achieve my original goal of freeing up internal space.
Any cool tips or advice you recommend to possibly speed up or just enhance the Stock ROM now that I have root access?
Sent from my LG-D415 using XDA Free mobile app
I recommend to remove the software after flashing in TWRP, before doing the first boot, just mount /system and open ADB. If you do this after install, there is probably a lot of .dex files and app data remaining taking precious storage.
For example, if you update Youtube, Gmail and other pre-installed apps, after update they won't be removed, instead the new version will be renamed to something like com.google.youtube-2 and the previous version will remain in /system, you can notice this if you go to your app list in setting and try to uninstall, android will say that the version will be reverted to the stock one that shipped in the stock rom.
Here's a list of stuff and apps I removed before booting:
rm /system/usbautorun.iso
rm -r /system/app/Books
rm -r /system/app/ChromeWithBrowser
rm -r /system/app/Drive
rm -r /system/app/Gmail2
rm -r /system/app/GoogleTTS
rm -r /system/app/Hangouts
rm -r /system/app/LGSearchWidgetProvider
rm -r /system/app/Maps
rm -r /system/app/Music2
rm -r /system/app/Newsstand
rm -r /system/app/PlayGames
rm -r /system/app/PlusOne
rm -r /system/app/Street
rm -r /system/app/talkback
rm -r /system/app/Videos
rm -r /system/app/YouTube
rm -r /system/apps/bootup/LGBoxnet
rm -r /system/apps/bootup/LGFlashlightWidget
rm -r /system/apps/bootup/LGSmartWorld
rm -r /system/priv-app/LGBrowser
rm -r /system/priv-app/LGDictionary
rm -r /system/priv-app/LGEmail
rm -r /system/priv-app/LGFileManager
rm -r /system/priv-app/LGMemo
rm -r /system/priv-app/LGQTranslator
rm -r /system/priv-app/Velvet
rm -r /system/vendor/carrier/system/LGRemoteCall
rm -r /system/vendor/carrier/system/rspermlge
rm -r /system/vendor/overlay/com.android.browser
rm -r /system/vendor/overlay/com.lge.email
rm -r /system/vendor/overlay/com.lge.filemanager
rm -r /system/vendor/overlay/com.lge.lgworld
Of course, this is MY case, I removed applications that I thought not to be necessary to me. Apps such as Gmail, Youtube and etc I installed the most recent version from play store. Note that some apps cannot be removed or your cannot go past the setup wizard (the first screen after the first boot) e.g.: webview.
Don't try to install Xposed Framework, you will end with a lot of FC that will render the system unusable, I tried and didn't worked, but I had a TWRP backup and was just a matter of reverting everything.
Also, disable automatic system update. If you leave this checked in the settings and your phone updates, you will end in a soft brick.
To go to recovery you have 2 ways:
1 - Install Android Terminal Emulator, type su, then reboot recovery.
2 - Turn off your phone. Hold PWR + VOL DOWN, wait for LG logo show up, immediately release PWR button and hold again (don't release VOL DOWN). Don't worry, since you have TWRP recovery installed instead of LG recovery, your data won't be reseted, instead it will boot into TWRP.
I personally don't like the this second method because it's a good way to worn out your pwr and vol buttons, my previous phone was a LG Optimus 2x and the pwr/wake button became almost unusable after some time, I need to press very hard to work, use this second method only if you cannot boot into recovery from the OS.
To avoid always typing those command in Android Terminal Emulator, you can create a shortcut widget, just type reboot recovery in the argument, name the shortcut and it's done, everytime you tap the shortcut it will automatically open the terminal and reboot the phone. Don't forget to configure the app. to open always with su or the shortcut won't work (reboot command needs superuser access).
Xposed framework works in our L90 Lollipop, as long as you follow those steps I found @ reddit: https://www.reddit.com/r/LGL90/comments/3f8ycw/guide_how_to_install_xposed_framework_on_lollipop/
If you skip disabling the apps mentioned and clearing cache and dalvik, you will end in a infinite number of force closes and crashes, rendering the system unusable.
Of course, like always, do a system/boot/data backup with TWRP, if anything goes wrong, you'll be able to go back.
After the first boot a window will be shown saying that android system is updating some stuff, this will take a few minutes don't worry.
I installed LG Pie Support module to remove that annoying home google search ring when swiping from navigation buttons to screen.
Lollipop Memory Leak Fix module seems to have no effect tbh.

Categories

Resources