[Q] Losing default app settings on reboot - Galaxy S II Q&A, Help & Troubleshooting

Hey there.
Recently, my phone has been doing this crazy thing.
Whenever I reboot, it deletes all my default app settings.
For instance, it asks me what launcher to use on boot, what browser to use and so on (not all on boot obviously).
Also, SwiftKey keyboard sometimes has no downloaded language packs (like they were removed) and right now just mess up the writing (this is a new problem that I experience now for the first time).
The other threads with this problem are with custom roms, but I'm using stock rom rooted.
Edit: if there's a file in the system that is written to when you choose default app (it should be), then what file is it? If I knew what file it was, then perhaps I could do a backup of the file or make it read-only or something. Anything really.

Related

rom build issue : user apps disappearing on reboot

i am currently building a rom for the samsung captivate built off 2.3.5.
The base im using is stock - deodexed/ ziped / minorly changed
this base flashes and works just fine!
what i am doing to it:
remove bloat.
- at&t apps,
- protips.apk
- remove broken swype
- remove stock email (not gmail)
- removed stock launcher
change to hacked camera.apk
remove bootsound
remove shutdown sound
change bootanimation
added user apps in data/apps
added widget picker in system/app
changed default wallpaper in framework_res.apk
changed install script
changed CSC
custom twwallpaperchooser
everything works fine through the install.
but durring the "setup" on first boot " phone setup wizard " will force close right at the step where you setup your google sign in.
BUT THATS NOT THE PROBLEM, (just the first sign of it)
the real problem is any apps installed after flashing do not show up in data/apps
any apps installed through the flash are there, but any installed after ARENT.
and no they arent on the SD card.
the apps will slowly disappear after installing one by one.
when i reboot THEY ALL DISAPPEAR!!!
it seems that the apps install to cache or memory.
as the memory gets cleared or you reboot, they get wiped away!
i have tried various things to fix this
i have rebuilt my rom MANY times.
with and without my framework res changed file
with and without my custom install script
with and without removing stock launcher
with and without changed CSC files.
with and without twwallpaperchooser
if i flash the base i was working from again, all is good.
this only seems to be an issue when i flash data/apps from the zip file. however i have used a script from a rom that successfully flashed data/apps before without this issue, so i do not think it is a permission problem....
im stuck and lost.
more specific, rewritten description i emailed to a few friends
holy hell i bet youve been busy...
me too, i finally have my rom built. for KH2 KJ1 and KJ2 !!
have it down to an easy process now. install script working!
but im having one final issue and cant find any useful info on it anywhere and its very specific
**I know KJ1 and KJ2 install any app to the SD if possible by default. any app on SD will not be affected by this issue ***until it is moved to phone
if I build my rom to install apps to data/app (through cwm flash )- any app that gets installed after (through market or sideload) will slowly disappear after some use or immediately after reboot. they also will not show up in data/app or system/app when installed ** once again not including apps on SD. and if apps on SD are moved to data/app they do not end up there. they disappear.
this leads me to beleive that they are installing to cache or memory, as the memory gets cleared or the phone reboots. they are gone!
if i build my rom without user /data/apps (and without that part of the script).
everything is fine. any app installed after shows up in data/app and is still there after reboot.
i have also used unmodified scripts with and without the package_extract ("data", "/data")
that have been known to work with the original rom they were taken from. without the issue i am seeing.
so i do not think it is a script / permission issue not allowing the system to write new data to that location. but i could be wrong.
my rom is ready for release once i can get this last part figured out. otherwise ill have to release with no user apps... any input would be greatly appreciated.
thanks again!
Click to expand...
Click to collapse
one search i came across mentioned something about possibly not being converted to rfs, but I have flashed to stock with re-partitioning ( rfs for sure ) and the rom and kernel i am building does not support it so that shouldn't be an issue.
from what other rom builders have told me this is an issue with gingerbread roms.
have apps copied to SD card and ask users to install manually.
Dude just found this post....sorry i was busy with KJ2
glad you got a tempory fix
ya you gave me the fix in the PM! LOL
TRusselo said:
ya you gave me the fix in the PM! LOL
Click to expand...
Click to collapse
you just got spanked!!

[Q] Ninja Morph Problem

Hi guys...
I have a problem here. I rooted my Samsung Galaxy Ace S5830 through superuser one click and installed an app called ninja-morph from the market. This app can extract the files of an apk and we can replace objects such as image icons, in the folders in order to make them look as we want to. What happened now was that I changed the icons of two of my system apps successfully - Browser & Gallery. Then I thought of changing the icon of settings app, I tried 2 do so but what happened was that it didn't change and it started force closing. Then I went on to the web and searched for many solutions and so I downloaded an apk, shifted it to my phone an tried to install it but it didn't install. After many tries and changes through ninja-morph too I couldn't do anything. Now the problem is that I can't use wifi 'cause it needs settings. I can't even download any alternative 2 use wifi 'cause it needs wifi. I can't to anything related to internet or settings now. And worse, I just Factory Data Reseted to try if anything can be solved, but no... I just deleted all my apps. One way is to reload the software. But is it safe to do it with a root? Because I can't un-root it. Please Help Me Out.
abhaynayar said:
Hi guys...
I have a problem here. I rooted my Samsung Galaxy Ace S5830 through superuser one click and installed an app called ninja-morph from the market. This app can extract the files of an apk and we can replace objects such as image icons, in the folders in order to make them look as we want to. What happened now was that I changed the icons of two of my system apps successfully - Browser & Gallery. Then I thought of changing the icon of settings app, I tried 2 do so but what happened was that it didn't change and it started force closing. Then I went on to the web and searched for many solutions and so I downloaded an apk, shifted it to my phone an tried to install it but it didn't install. After many tries and changes through ninja-morph too I couldn't do anything. Now the problem is that I can't use wifi 'cause it needs settings. I can't even download any alternative 2 use wifi 'cause it needs wifi. I can't to anything related to internet or settings now. And worse, I just Factory Data Reseted to try if anything can be solved, but no... I just deleted all my apps. One way is to reload the software. But is it safe to do it with a root? Because I can't un-root it. Please Help Me Out.
Click to expand...
Click to collapse
Which rom are you using?
Seems your settinga apk got corrupted. Your options are:
-extract the original settings apk from the rom you're using and place it in system/app (with a root Explorer), with rw-r-r permissions.
-reflash a complete rom (custom through cwm or stock trough Odin)
Also, make a habit of backing up your original stuff before modding.
tomb20 said:
Which rom are you using?
Click to expand...
Click to collapse
i used the stock 2.2.1, but now i have flashed and solved the problem.

[Q] Phone stuck with an error message at boot

Hi all,
I've sort of bricked my new razr this morining after a reboot...
after reading the thread about trebuchet, I saw that it is adviced to put it in the system folder of the ROM. I then did the same with my current launcher to improve the speed of it (I don't know at all if this is a good solution but I wanted to test anyway).
Problem now is that my launcher force close at phone boot with a basic message saying that the launcher has stopped and a single 'ok' button. when I press 'ok' the same message appear again after a few milli seconds and does not allow me to launch any task.
Then I guess that the only solution for me is to re-upload my ROM (Motorola Razr latest OTA) and that this will suppress my launcher in the system folder but I wanted to share this experience because maybe someone could know a good solution.
Thanks for your help!
Can you go into system settings before boot and just change the launcher? Possible like this
go home, menu, settings, applications, manage applications, running, scroll down to find ADW launcher, open, scroll down and click clear defaults. then when you go home, it should give you a choice to pick your desired launcher. Be sure to check the box on the bottom of the choice box to set your default launcher to your desired choice.
Actually, the launcher started to crash before the system gave me the hand and allowed me to do anything. No way to perform any action with the phone (not any action, nothing was possible under the ROM itself)
Then I finally found some time to get my computer and re-upload the official ICS OTA ROM of the Razr. It had done basically 2 things (and one was the one I was expecting or hoping): lose the root (obviously) and lose the settings of the 2 apps I putted under the phone /system folder.
After that I removed the 2 apps that were installed on /system and changed my default launcher to stay safe :fingers-crossed: (done today, that's why I came back to the thread now)
Everything is ok now.
BTW, I discovered that in the worst case, it is possible to do a full wipe / factory reset under the official / native Razr recovery, and even better, it is possible to install a ROM under this recovery.
Everything is under control at the end.
Thanks for your answer!

[Q] Gallery won't work, need stock apk

Well, my girlfriend updated her Galaxy S3 a couple of days ago, and suddenly the gallery wouldn't work. It just showed up as com.sec.android.gallery3d in the app drawer. I've done everything in my power, even rooted the damn thing, but nothing seems to work.
Amidst my ferocious attack on the problem I seem to have gotten rid of the "faulty" gallery apk and can't find a good one via google that works.
Odd thing is that at first the com.sec.android.gallery3d app was missing from /system/app. When I did a search for "gallery" I found SecGallery2013.apk that was called "com.sec.android.gallery3d" in it's properties. Kind of like a symlink I think.
That original SecGallery2013.apk is now gone with the wind for some reason (my ADHD took over a while). I actually found a com.google.android.gallery3d that works (but not original) and com.sec.android.gallery3d-2be92cef98aab5194d4ae68382324577.apk (took away the number at the end of course) that seems to be the original, but crashes constantly.
I'm at a loss, hence why I did the topic name "need stock apk", as that might fix things.
Though somewhere on the filesystem (I'm still somewhat of a noob as to how android is built) there were once a folder called com.sec.android.gallery3d which is not there anymore. Any attempts at installing the apk has, obviously, also failed.
I've read almost every other possible solution, but all of them seem to be under the impression that I would have the sense to backup every single thing...
Help!
What android, firnware are you running right now?
You can get the gallery app from any STOCK BASED flashable zip (many lite version roms available in this forum). Just open the zip, look under system/app or something similar, take the apk file, put it in system/app of your own phone with rw-r-r permissions, then reboot.
Stock system apps can't be just installed, they must be manually placed in system/app directory.
Try to flash Google Apps from CWM or TWRP (I assume you already flashed CWM or TWRP with Odin)
A brief explanation of Google Apps:
Apps like Play Store, Gallery, Camera, etc... Or the stock proprietary software made by Google are all in this one zip file called GApps, All you need to know is how to flash ZIPs (easy as 1,2,3) and the GApps for your android version.
Other options:
Find another 3rd party Gallery alternative from Google Play (EASIEST)
Flash CyanogenMod or an alternate ROM (Too risky just for getting gallery back)
Just get the images from the device to your computer
Well that's all I got, PM me if you need anything, hit "Thanks" if I helped you

[Q] Jellbean 4.3 App Deleted

I just bought a Samsung Galaxy S3 SGH-T999L with Android 4.3, then downloaded Titanium Back-up, and then started removing several apps (in an attempt to strip the bloatware). Now when I go to Google Play and try to install a new app, I click the "Install" button and wait for the progress meter to reach 100%, but no "Open" button appears afterward (which used to happen). When I search my phone, there are no icons for any of the new apps I try installing.
Does anyone know which app I deleted that caused this problem? Thank you.
Put back you're nandroid backup. (I assume you make one before you start deleting some apps.)
Or flash a stock rom back without whipping. So you dont lose some data.
Send From A Devil3 - f2fs - Dualboot Jb4.3/cm11 Powered Machine
Have you tried rebooting the phone?
if you have installed TB then you have rooted the phone obviously. Explore your data folder from the root directory using TB or any advanced file explorers like Root explorer or Es file explorer. Find the apk files of the apps you have installed just to verify if your play store has downloaded the apps to your phone.
Also are you sure if you removed only bloatware or any core apks related to your android system... like eg: application provider.apk
I did not make a backup. Before flashing a ROM, I wanted to post here and see if anyone knows what app being deleted caused the behavior I described. That's what I'm wondering: Do you know which specific app being deleted would cause Google Play to have the described problem? When I try to install a new app, it gets to "100%" on the status bar, but subsequently fails to display the "Open" button. Everything else on the phone works flawlessly and I put a lot of time into customizing the phone with apps I like.
Having said that, I am curious about the option to flash a ROM that you mentioned. The reason I did not want an Apple phone is because they seemed to restrictive of options and freedom. But lately I am thinking about Google censoring AdBlock from Google Play, the EFF's criticism of doing away with AppOpps, and shoving Google+ down the throats of YouTube users. So, I looked into Cyanogen but my model of phone was not listed on Cyanogen's website for phones tested to work. I am interested to exploring the idea of flashing a ROM (which I never did before) but I definitely want to keep my 4G LTE functioning via T-Mobile. Any ideas?

Categories

Resources