[Q] "Android is Optimizing.." Issues - NEED HELP! - Galaxy Tab 2 Q&A, Help & Troubleshooting

Hi Everyone,
I've been having some trouble getting custom ROMs to fully boot on my girlfriend's Galaxy Tab 2 (p3113). I was able to gain root access (I used this method: http://forum.xda-developers.com/showthread.php?t=2510669) and managed to install the latest CM rom, SlimRom, or OmniRom (with their respective Gapps).
However, I always run into the same problem: whenever I reboot from recovery (regardless of which rom was installed), android begins "optimizing" apps (presumably because I've cleared caches, including dalvik) and at the end, reports 2-3 process that have unexpectedly stopped, and reboots. I've done clean wipes with each install, and even tried re-downloading the roms, but nothing seems to work. Also, it doesn't seem like the stopped processes are consistent between roms. For example, the CM rom would report calendar and keyboard processes that have stopped, whereas Omnirom would report mediastorage and google search processes that have stopped.
Anyone have any ideas of what I can do to fix this?

It sounds like you are not doing a full wipe, I dont think it should be optimizing on a fresh clean install. Try factory reset, wipe cache/dalvik. And possibly system.(usually recomended)
Sent from my SGH-T889 using XDA Premium 4 mobile app

Thanks - that what I suspected as well, although I thought I was doing a full wipe (including /system) in TWRP, but maybe not?
Anyway, I somehow got it working last night after formatting /data and then flashing the last CM stable release (CM-10.1.3, p3110). Got the tablet to boot and setup and everything. Maybe there was something conflicting in the data folder, or that there was no more space on the internal SD. Guess I won't know now..
But I decided to flash the latest Omnirom instead, to get a 4.4 rom. Seems to be working fine now. Thanks for the reply!

Related

[Q] CM9 v2.1 and Gapps for ICS V11 don't work

Hey everyone, I just updated my Nexus S from version 1.1 of the ROM here to 2.1
http://forum.xda-developers.com/showthread.php?t=1399035
Since I was already on CM9 I followed the instruction that says I don't need to do a full wipe. I did however wipe both caches and the boot just to be safe. I installed through ROM manager, booted into the ROM successfully, but GApps wasn't restored like it said it would be. After that tried installing GApps v11 like the directions say to. However, market just closes every time I open it now and none of my gmail stuff can sync because of it. I've tried reinstalling GApps. Anything I can do without having to wipe the whole ROM and recover it?
Another thing, every time I boot into this ROM I get the optimizing apps dialog, no matter how many times I reboot. I read a good bit of the thread and no one else seems to have that problem either, any ideas there?
Thanks in advance

[Q] Considerable Issues With Recent CM Nightlies

Beginning 4 or 5 days ago, the CM nightlies have become absolutely unusable on my phone. Even after a full clean flash (wipe system/data/cache/dalvik), the first boot will yield multiple force closes, usually including SystemUI and com.android.phone. After a couple reboots these will stop for the most part, but flashing gapps prompts a whole slew of new FCs (pretty much every gapp crashes, along with the accounts manager).
TouchWiz roms, older CM nightlies, and AOKP build 2 all run fine. But I simply cannot get CM to work.
Any ideas?
demonguard said:
Beginning 4 or 5 days ago, the CM nightlies have become absolutely unusable on my phone. Even after a full clean flash (wipe system/data/cache/dalvik), the first boot will yield multiple force closes, usually including SystemUI and com.android.phone. After a couple reboots these will stop for the most part, but flashing gapps prompts a whole slew of new FCs (pretty much every gapp crashes, along with the accounts manager).
TouchWiz roms, older CM nightlies, and AOKP build 2 all run fine. But I simply cannot get CM to work.
Any ideas?
Click to expand...
Click to collapse
I've tried all of the CM10 bases roms and the one that seems to run rock solid for me with zero issues so far is paranoid android, plus I like the things that he cherry picked, I'd give that rom a try as it works super smooth and fast with imo's lean kernel.
natethegreat86 said:
I've tried all of the CM10 bases roms and the one that seems to run rock solid for me with zero issues so far is paranoid android, plus I like the things that he cherry picked, I'd give that rom a try as it works super smooth and fast with imo's lean kernel.
Click to expand...
Click to collapse
That rom actually runs fine for me too, along with anything else based on a CM before ~9/17, but I'd love to know why my phone wont run the newer nightlies.
I have had no issues at all running the CM10 nightlies, works like a champ for me. If you find out what is going on please let us know!
Still having this problem on a clean flash of the 10-04 nightly. Email, gapps, setup wizard, talk, and Play store all chain force close on the first boot.
Your forgetting to format your system in cwm mounts/storage. That's a true clean install. Double check your md5 and try again doing all you did+format system.
Sent from my YP-G70 using xda premium
Hey so I have been having the exact same issue! I flashed back to the M1 snapshot and I'm staying there until this get sorted out. Weird how it's only happening to a couple of us...
Sent from my SCH-I535 using xda premium
Have you guys tried fixing permissions after flashing?
yosterwp said:
Have you guys tried fixing permissions after flashing?
Click to expand...
Click to collapse
So do you think that we should do a full wipe then install, boot, go back into recovery then fix permissions or can we do it without a full wipe?
yosterwp said:
Have you guys tried fixing permissions after flashing?
Click to expand...
Click to collapse
I wiped system, data, cache, and dakvik. Then I installed CM. Then I wiped cache and dalvik, and fixed permissions. Same issues ocurred.
Still having this problem with M2 and the new gapps after formatting and wiping and fixing literally everything.
demonguard said:
Still having this problem with M2 and the new gapps after formatting and wiping and fixing literally everything.
Click to expand...
Click to collapse
What I would do if I were you....
Odin all the way back to stock
Re-root
Re-unlock bootloader
flash cwm
Wipe data/factory reset
wipe cache
wipe dalvik
FORMAT /system <- under mounts
rewipe
install newest cm10
install newest gapps
boot
Odin'ing back and formatting will help wipe out any remnants you may have derp'd along the line somewhere
You should have no issue with these steps. It put me rock solid every single time (along with many many others). Report back and let us know.

[Q] Constant app lock ups - even after reinstalling

Hi all. I've had an issue for a few weeks now. I have apps that are constanly locking up and force closing on my phone. I'm currently running Jelly Beans 11 with a rooted and unlocked GS3.
All different apps force close: gmail, play store, kik messenger, system processes. It seems it's not centralized to gapps for instance.
I've installed Beans 5, 6, 8, 9 once. 10 about 2 times, and version 11 i think 3 times. Each time I do a delvik cache wipe, a cache wipe, and a factory reset via CWM. Some times even the initial setup wizard will lock up after first boot.
I've tried flashing different modems as well, and i'm currently on the newest verizon one, the K3.
If anyone has any information on how to fix this it would be much appreciated. Even a full phone wipe or something... I'm going to try clean rom and CM 4.2 tonight.
In a seperate issue, that may or may not be related:
I'm currently in iraq and i'm using the world phone exploit to get cell service and data here in Baghdad. It used to work great, but now the data connection will be connected, but no data will upload or download for long periods of time. For example i could send a kik message while connected to EDGE network, but it might take an hour for it to actually send. It didn't used to do this...
All things considered i'm wondering if I actually physically damaged the phone somehow...
If I haven't provided enough information, please let me know and i'll be happy to reply.
Ok, i tried CM 4.2 and there weren't any lockups. But i couldn't keep the rom, doesn't seem to be any way to get cell service. it won't let me change the band to global.
Going to try clean rom now.
Clean rom works fine as well...
So why would Jelly Beans ROM, that's worked fine for quite a while for me, through various versions of ICS and JB, to suddenly cause apps to force close and general instability?
I've checked MD5's and they're correct...
I think i still need a few more posts before i can post in the dev section as well.
Any help is appreciated, thanks
Have you tried fixing permissions?
Here's how I flash a rom:
Wipe data/ factory reset
Wipe cache
Wipe dalvic
Format system
Flash rom
Boot the phone, wait 5 min and then wipe cache and dalvic again. I then fix permissions and then boot the phone and profit.
Sent from my SCH-I535 using xda app-developers app
bobAbooE said:
Have you tried fixing permissions?
Here's how I flash a rom:
Wipe data/ factory reset
Wipe cache
Wipe dalvic
Format system
Flash rom
Boot the phone, wait 5 min and then wipe cache and dalvic again. I then fix permissions and then boot the phone and profit.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
+1
fixing permissions is a must after a flash/restore.
ok i'll try installing beans again and using fix permissions afterwards.
Thanks
still not working
Ok, i've tried fixing permissions and i'm still having problems. Gapps has stopped working... System UI has stopped working... I followed the above posts exactly.
Any other suggestions?
Are you flashing gapps or just using that term to describe the apps from Google?
Sent from my SCH-I535 using xda app-developers app
bobAbooE said:
Are you flashing gapps or just using that term to describe the apps from Google?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
gapps was the term that the phone said when it crashed. But no i'm not flashing the gapps, they're included on most of the roms like Jelly Beans 11. I've had a few different gapps force close, like the store and gmail. but i've also had the system ui and kik force close.
Sorry man, it's beyond my knowledge. Never had a bunch of apps stop working that fixing permissions or a clean install didn't fix.
Sent from my SCH-I535 using xda app-developers app
How did Beans build 10 work for you, was that running fine? There are only two things I could suggest since you've tested normal suggestions already:
1) Beans removed a few files from System/Bin on Build 11, these are all included in Build 10. Maybe your phone needs those in order to work properly:
gsiff_daemon
mpdecision
qosmgr
smdexe
This is why I ask was Build 10 working fine for you? If so, maybe pulling these files from the Build 10 zip then putting them into System/Bin, setting permissions as rw r- r-, and rebooting could help. Or it could not.
2) Try flashing with TWRP recovery and see if the FC issue pops up.
SlimSnoopOS said:
How did Beans build 10 work for you, was that running fine? There are only two things I could suggest since you've tested normal suggestions already:
1) Beans removed a few files from System/Bin on Build 11, these are all included in Build 10. Maybe your phone needs those in order to work properly:
gsiff_daemon
mpdecision
qosmgr
smdexe
This is why I ask was Build 10 working fine for you? If so, maybe pulling these files from the Build 10 zip then putting them into System/Bin, setting permissions as rw r- r-, and rebooting could help. Or it could not.
2) Try flashing with TWRP recovery and see if the FC issue pops up.
Click to expand...
Click to collapse
Well I think 10 was when the issue started but i'm not sure anymore. I've flashed so many versions in the past week, from 5 to 11 that i've forgotten. I'll see if I can't do that though and see what happens.
should I do a factory reset? i mean is there an equivelant to formating a hard drive and reinstalling windows that i can do on an android?
Icewolf69 said:
Well I think 10 was when the issue started but i'm not sure anymore. I've flashed so many versions in the past week, from 5 to 11 that i've forgotten. I'll see if I can't do that though and see what happens.
should I do a factory reset? i mean is there an equivelant to formating a hard drive and reinstalling windows that i can do on an android?
Click to expand...
Click to collapse
To be consistent, its best to clean flash (factory reset/dalvik/cache) build 10 just to see if it works fine.
The equivalent to a Windows reinstall would be using Odin to flash a stock image. Using Odin, you would reset your phone back to fresh out of the box, bloated Verizon OTA. I feel that's unnecessary though cuz you flashed CleanRom and had no issues. If you flash another TW JB rom and have no issues, then it's more telling. As of now, something specific in Beans Build 11 (we'll verify b10 soon) is causing issues for you. Are you restoring any apps with Titanium Backup or restoring text messages using another app?
Edit: to detail a little more about the Odin route. After flashing the stock image, then you would need to root, unlock, install a custom recovery all over again and THEN flash Beans build 11. Idk if you want to do all that, esp if you haven't confirmed if this is something that's been happening with prior builds or with other roms.
SlimSnoopOS said:
To be consistent, its best to clean flash (factory reset/dalvik/cache) build 10 just to see if it works fine.
The equivalent to a Windows reinstall would be using Odin to flash a stock image. Using Odin, you would reset your phone back to fresh out of the box, bloated Verizon OTA. I feel that's unnecessary though cuz you flashed CleanRom and had no issues. If you flash another TW JB rom and have no issues, then it's more telling. As of now, something specific in Beans Build 11 (we'll verify b10 soon) is causing issues for you. Are you restoring any apps with Titanium Backup or restoring text messages using another app?
Edit: to detail a little more about the Odin route. After flashing the stock image, then you would need to root, unlock, install a custom recovery all over again and THEN flash Beans build 11. Idk if you want to do all that, esp if you haven't confirmed if this is something that's been happening with prior builds or with other roms.
Click to expand...
Click to collapse
I just did a fresh install of 10, including cache, delvik, factory reset, system partition, and after first boot i went back and fixed permissions. I'm still getting force closes. media service, google play, etc. I don't have many apps on it yet to see what else will force close since i'm not using titanium backup to restore anything. Everything is fresh and coming from the play store...
I should be hitting 10 posts soon so i'll be able to try and post in the beans thread, or the dev section. But any other ideas would be appreciated. Thanks.
I also seem to be getting a lot of "invalid file" and "file couldn't be downloaded" when i try to install apps from the store. Not sure what this means
Beans 12 came out today and I tried installing that and i'm getting the same issue.
Tomorrow i'm going to do a full wipe to stock verizon image. and go through the unlock and root motions unless someone has any more ideas.
Thank you for the help so far, i appreciate it.
I did a complete stock OTA flash last night to verizon's jelly bean, and went through the root and unlock process again. flashed beans 12, and i'm still getting the same error.
I'm on beans 6 right now and it's working great. Going to try changing a few settings in 12 to see if it works and then maybe see if 10 works.

[Q] P5110: Random Rebooting (CyanogenMod 10.1 - RC5)

My tablet (Samsung Galaxy Tab 2 10.1 Wifi) keeps rebooting randomly. I'm running CM 10.1.0-RC5, and I've had the same problem with RC2, RC3, and RC4. I'll just be using my tablet, happy as a clam, when *BAM* I'm looking at the Cyanogen startup animation. This seems to happen randomly; sometimes every few minutes, sometimes every few hours. Always several times a day. Memory doesn't seem to be an issue; it looked like I had roughly 50% free during one reboot (I was looking at the "Running Applications" screen in "Settings" when it rebooted).
Anybody else having this problem? Any possible solution? I love CM and don't want to start from scratch with the stock ROM again, but these reboots are driving me NUTS!
jqcaffeine said:
My tablet (Samsung Galaxy Tab 2 10.1 Wifi) keeps rebooting randomly. I'm running CM 10.1.0-RC5, and I've had the same problem with RC2, RC3, and RC4. I'll just be using my tablet, happy as a clam, when *BAM* I'm looking at the Cyanogen startup animation. This seems to happen randomly; sometimes every few minutes, sometimes every few hours. Always several times a day. Memory doesn't seem to be an issue; it looked like I had roughly 50% free during one reboot (I was looking at the "Running Applications" screen in "Settings" when it rebooted).
Anybody else having this problem? Any possible solution? I love CM and don't want to start from scratch with the stock ROM again, but these reboots are driving me NUTS!
Click to expand...
Click to collapse
try reinstalling this rom!
before installing zip from sd
do
clear data/factory reset
clear cache
go to advanced>wipr dalvic
flash the rom
again wipe dalvic cache.
after the rom starts, let it be as it is for 5 minutes. the rom needs som time to get stable, this avoides many FC's.
hit thANKS,
jqcaffeine said:
My tablet (Samsung Galaxy Tab 2 10.1 Wifi) keeps rebooting randomly. I'm running CM 10.1.0-RC5, and I've had the same problem with RC2, RC3, and RC4. I'll just be using my tablet, happy as a clam, when *BAM* I'm looking at the Cyanogen startup animation. This seems to happen randomly; sometimes every few minutes, sometimes every few hours. Always several times a day. Memory doesn't seem to be an issue; it looked like I had roughly 50% free during one reboot (I was looking at the "Running Applications" screen in "Settings" when it rebooted).
Anybody else having this problem? Any possible solution? I love CM and don't want to start from scratch with the stock ROM again, but these reboots are driving me NUTS!
Click to expand...
Click to collapse
Have you done any undervolting or anything? That can cause this.
If not you may try doing a full wipe and reinstall of the ROM. Clearly you've got something borked up that an update flash isn't fixing. A full wipe may solve your problem. It's a pain in the rump, but sometimes you have to do that.
Siddharth121 said:
try reinstalling this rom!
before installing zip from sd
do
clear data/factory reset
clear cache
go to advanced>wipr dalvic
flash the rom
again wipe dalvic cache.
after the rom starts, let it be as it is for 5 minutes. the rom needs som time to get stable, this avoides many FC's.
hit thANKS,
Click to expand...
Click to collapse
Ive been having this same problem for the past few days now also.
I tried reinstalling rom with these exact instructions and after installing some of the basic apps i use, the tablet restarted itself again.
Try a new kernel. The problem wil fly away. :screwy:
Sent from my HTC One X+ using xda premium
Siddharth121 said:
Try a new kernel. The problem wil fly away. :screwy:
Sent from my HTC One X+ using xda premium
Click to expand...
Click to collapse
any suggestion on which kernal to try?
Domino_13 said:
any suggestion on which kernal to try?
Click to expand...
Click to collapse
Never mind my post. I got my devices mixed up.
Sent from your phone. You should be careful where you leave that thing.
Plz mention which rom you are using?
Press thanks ppz, it makes me solve your issue as it was mine :thumbup::thumbup:
Sent from my HTC One X+ using xda premium
Siddharth121 said:
Plz mention which rom you are using?
Press thanks ppz, it makes me solve your issue as it was mine :thumbup::thumbup:
Sent from my HTC One X+ using xda premium
Click to expand...
Click to collapse
It started for me when I upgraded from CM10.1 M3 to CM10.1RC3 i think it was. I have tried upgrading to Rc4 and RC5 also but same problem with the rebooting.
I also tried to go back to M3 but it was also just rebooting randomly.
Before I upgraded to RC3, I never had a problem with the tablet.
Problem Fixed...Hopefully
Siddharth121 said:
try reinstalling this rom!
before installing zip from sd
do
clear data/factory reset
clear cache
go to advanced>wipr dalvic
flash the rom
again wipe dalvic cache.
after the rom starts, let it be as it is for 5 minutes. the rom needs som time to get stable, this avoides many FC's.
hit thANKS,
Click to expand...
Click to collapse
I tried this last night, and thus far, I haven't had any more problems. I've been running it hard, too; prior to the factory reset and reflash, it would have rebooted several times by now. Here's hoping.
I have a theory as to what caused my problems. Looking at the original CM zip that I used, I realized that it was a nightly build rather than a stable Release Candidate. Perhaps my problem was building on a non-stable foundation? At any rate, I flashed CM 10.1.0-RC5 last night, and it's working great.
To anyone else having this problem, remember to do a FULL CLEAR DATA/FACTORY RESET. Simply clearing the cache and flashing a new ROM wasn't enough. I recommend backing up your apps and settings with Titanium, then just going for the clean start.
Normal practice for rom flashing
It is in my, and many others experiences that a failsafe way to flash a ROM is as described below..
Note: this is assuming that you have already downloaded the rom you want and placed it on your sdcard/external-sdcard and that you have a custom recovery like clockworkmod or twrp...
Reboot into recovery
Make a backup of your current system
Tip: its always better to have a removable external_sdcard when doing any kind of root tasks but not needed
Now for the ROM..
1. go to mounts & storage and select it
2. Scroll down to the "format" section
3. Now select format system (and then yes)
4. Select format cache (and then yes)
5. Select format preload (and the yes)
6. Select format data (you get it)
If you don't have an external_sdcard don't format anything else and proceed to step 8
Now if you have a (removable) external_sdcard and you have placed the ROM and gapps on it, then you should;
7. Select format sdcard (the NOT REMOVABLE, internal sdcard space)
8. ***go back***
9. Install zip from sdcard/external_sdcard and proceed with your normal install procedure...
By doing the format methods before installing a new ROM, you're insuring that the ROM is writing to all freshly wiped partitions on your device and this will always be the most redundant way of making sure something did not get left over from your previous setup.
Most install.zips that the ROM is packed up in do perform the format of system, data, and cache during the install and usually it works fine but however, it is not always reliable.. By doing the few extra steps above, you will always know that the installation is a clean one and will greatly reduce problems like described above in this thread.. Why not just be sure?
---------- Post added at 07:24 PM ---------- Previous post was at 07:00 PM ----------
If you have done a "FULL WIPE" like I described in the post above and your device is still randomly rebooting..
Then it is most likely due to something having to do with the kernel.
There are many reasons why it could be triggering the "panic" feature in android but the most common ones are;
Over clocking.. Either your devices processor CPU OR GPU, cannot handle being scaled up to the frequency that the ROM sets it at, or
Unstable... The kernel that came with the ROM you are installing is not yet stable enough for daily use and is in need of more debugging/development.
jqcaffeine said:
I tried this last night, and thus far, I haven't had any more problems. I've been running it hard, too; prior to the factory reset and reflash, it would have rebooted several times by now. Here's hoping.
I have a theory as to what caused my problems. Looking at the original CM zip that I used, I realized that it was a nightly build rather than a stable Release Candidate. Perhaps my problem was building on a non-stable foundation? At any rate, I flashed CM 10.1.0-RC5 last night, and it's working great.
To anyone else having this problem, remember to do a FULL CLEAR DATA/FACTORY RESET. Simply clearing the cache and flashing a new ROM wasn't enough. I recommend backing up your apps and settings with Titanium, then just going for the clean start.
Click to expand...
Click to collapse
You had either an app or a setting that wasn't doing what it was supposed to. That is the only way a factory reset would fix it.
That also means the problem could have been fixed without the reset. You would have just had to isolate the error, which obviously is tough. Just keep that in mind if it happens again, immediately try to remember the last thing you changed, the last app that was updated, the last setting you altered, etc. Then maybe you can fix it faster without the hassle of the reset.
Glad its fixed!
Sent from my HTC Sensation using xda app-developers app
After flashing and reflashing the CM 10.1 rom, and it still giving me random reboots, I flashed a custom kernal today and it seems to have fixed the reboot problem I had.
Domino_13 said:
After flashing and reflashing the CM 10.1 rom, and it still giving me random reboots, I flashed a custom kernal today and it seems to have fixed the reboot problem I had.
Click to expand...
Click to collapse
Which kernel?
I'm very new to this kernel stuff, I got the hang of roms (I think) and I'm now using Cyanogenmod. I read somewhere it already includes it's own kernel, correct?
All roms come with a kernel as part of the install package. You can change to different kernels as well.
Right now for the t mobile phone i think there is just the stock cm kernel and albinoman887's kernel. The aokp roms probably have some other kernel tweaks in their stock kernels
Sent from my SGH-M919 using xda app-developers app
Don't forget DhollmenCM Kernel.
Posted from my Galaxy Tab 2 with CM10.1
I am Having the same prob with galaxy tab2 7.0(gt-p3100)

Issue with CM 10.1.2 and periodic reboots

So, I've had CM 10.1.2 installed for about a month with no issues, it has been working great - this is my first experience with a stock Android-based ROM, and I like it more than Touchwiz. Yesterday, I received a notification for an update to CM 10.2 RC. I didn't think about it too much, I wanted to check out the update, so I just downloaded it (I know, I know....I definitely should have read up online about it beforehand).
Once downloaded, I started having an issue with my phone having periodic reboots - it reboots about every ten or fifteen minutes. I figured the issue was with the update, so I flashed back to 10.1.2 - wiped data/factory reset, wiped cache, wiped Dalvik cache, installed the stable 10.1.2 from CM website, installed the compatible Gapps, and rebooted.
Now, I am still getting the reboot issue. What would be the cause of this issue? Would there be something left over from the update yesterday that I could delete?
Thanks for any help!
Maybe this will help you
Might be, because you just updated it and you just overwrite the system so there will be leftovers from the update. I suggest you do a clean flash method which is Wipe Dalvik-Cache , Data , System , and Cache. Flash again the CM10.1.2 or CM10.1.3, there the same but actually I use CM10.1.3 and this time I have no issue of rebooting itself. Causes of reboot might be a bad applications or bad flashing.

Categories

Resources