Stuck in a boot loop after changing app permissions - General Questions and Answers

I posted this in the Nexus 7 section, but this can apply to all AOKP based ROMs that have the "Permissions Manager" option.
Running SmoothROM with 4.2.2 (I think) and I was messing with the "Permissions Manager" settings under "Settings". I turned off several permissions on Facebook, such as SMS view/sender and location on it as well on some other apps. I then rebooted the tablet and now I'm stuck on a boot loop. I don't get how because these aren't system apps, so I don't think it should affect the system booting up at all. Sadly I didn't make a nandroid backup before doing this, since I thought the worse that could happen would be the apps force closing which is easily fixed. Since I didn't make a backup I rather try things that wouldn't make me lose any data.
I can get into recovery (TWRP) and have already made a backup of the current boot looping state. I have already tried deleting cache and dalvik-cache and still won't boot.
I have an idea: Turning the "Permission Management" setting to "Off" would make the apps have their default permissions. I would have to get into /data/data/com.Android.Settings and find the "Permissions Management" setting and set it to "false" or "off" through ADB. So I would have to pull the file and push the edited file back through fast boot or recovery. Anyone think this would work??
FWIW: I updated the kernel (Franco) with his franco.Kernel app 1 reboot ago, but it rebooted fine, not sure if it could be the kernel that has me in this bootloop?
Sent from my DROID RAZR using Tapatalk 4

Fix permissions in recovery mode
Sent from my GT-P3100 using xda app-developers app

sukkukikku said:
Fix permissions in recovery mode
Sent from my GT-P3100 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply.
I'm not talking about .apk or file permissions. I'm talking about permissions apps request, such as location, internet access, billing, reading contacts, etc. That's something the "Fix permissions" option in recovery mode has nothing to do with.

rda990 said:
Thanks for the reply.
I'm not talking about .apk or file permissions. I'm talking about permissions apps request, such as location, internet access, billing, reading contacts, etc. That's something the "Fix permissions" option in recovery mode has nothing to do with.
Click to expand...
Click to collapse
Im sorry but it sounds like if this issue cant be resolved you might need to reset youre phone but try to go into recovery mode and mess around and see if you can find anything that has to do with booting, good luck and ohh one more thing if all else fails in recovery mode try and find the wipe cache partition option and proceed to that ^.^ :good::good::good:

If you have the backup file you can try to reflash the rom
Sent from my GT-P3100 using xda app-developers app

^ also a very good idea
Sent from my SPH-L710 using XDA Premium 4 mobile app

Related

Can no longer copy anything on my S3?

So recently, I haven't been able to use the copy feature in any app. Every time I try to copy text, it then causes the app to force close. Anybody else having this problem?
Sent from my SCH-I535 using xda app-developers app
Have you recently flashed your rom?
illegalskittle said:
So recently, I haven't been able to use the copy feature in any app. Every time I try to copy text, it then causes the app to force close. Anybody else having this problem?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Have you recently flashed your rom?
If yes -
you may want to try clearing your data, cache, dalvik cache to make sure you have a fresh load.
If no -
Maybe see if you have a new OTA update for your phone
Cheers,
Azbobs
INC > TB > S3
azbobs said:
Have you recently flashed your rom?
If yes -
you may want to try clearing your data, cache, dalvik cache to make sure you have a fresh load.
If no -
Maybe see if you have a new OTA update for your phone
Cheers,
Azbobs
INC > TB > S3
Click to expand...
Click to collapse
Well I haven't flashed a ROM, but I wiped the caches anyway. Still doesn't work and there's definitely no software update (I hate you Verizon).
Sent from my SCH-I535 using xda app-developers app
I'm having the same issue! Sometimes it force closes, other times it let's me copy but won't let me paste. Are you using SwiftKey?
Sent from my SCH-I535 using xda app-developers app
2 options:
1) Factory Restore
2) ROOT device, install ROOT Explorer, navigate to / > data > clipboard, select ALL and delete all, than go into your Settings > Applications Manager > All, look for TestServices, than remove updates/clear data. Reboot and everything should be fine.
Something in your clipboard became corrupted by TestServices
Jayboy3775 said:
I'm having the same issue! Sometimes it force closes, other times it let's me copy but won't let me paste. Are you using SwiftKey?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I had the same exact issue (stock rooted) and I was using the newest SwiftKey as well. It's possible that it may be related to SwiftKey, so, maybe try changing back to stock keyboard? Anyways, for me, after I flashed my first ROM, the problem went away. Sorry, no direct solutions, but just wanted to chime in with my experience as well.
jbendo said:
I had the same exact issue (stock rooted) and I was using the newest SwiftKey as well. It's possible that it may be related to SwiftKey, so, maybe try changing back to stock keyboard? Anyways, for me, after I flashed my first ROM, the problem went away. Sorry, no direct solutions, but just wanted to chime in with my experience as well.
Click to expand...
Click to collapse
I had the same issue and I was stock EVERYTHING. I rooted just to get rid of it. It looks like the clipboard never clears itself. My folder had snapshots (using the Jedi hand wipe across the screen), text clips, weblinks, etc. each in their own separate folder. Wonder if this is a feature to data mine us Verizon users?
EDIT: Anyway, I found a link to fix this by user dr3do on Android Forums.
1. boot recovery (CWM) > advanced > wipe cache
2. reboot phone > Root Explorer > delete /data/clipboard/*
3. reboot recovery again > advanced > fix permissions
4. reboot phone > it's fine
Click to expand...
Click to collapse

New to rooting. Applications aren't working.

Recently rooted Samsung Galaxy Tab 2 10.1. As of now I'm running Cyanogen Mod 10. Before that I was using Cyanogen Mod 9.0. However I've experienced the same issue with both roms. My favorite apps wouldnt open. However Google play store works so I figured its not my gapps.
1) Spotify- just shows a blank screen nothing else.
2) Evernote- not able to create the database file and tells me to restart the device and make sure my memory card isn't full.
3). Lecture Note- App needs a directory at the media/shared/external storage (SD card) to store the notebook.
So just by searching the forum and not seeing much on the topic, I figured I missed something in the process.
I don't use titanium backup and neither am I familiar with it. But if I have to learn then please tell me so.
I've always wiped before flashing roms.
I know CM 10 is a nightly and all that jive but I really like it. But without apps working then it is useless for me.
Oh and not sure if this is related but every download from a hyperlink on a web page results in a download unsuccessful.
Sent from my SAMSUNG-SGH-I777 using xda app-developers app
May be try to reflash rom again latest nightly for your specific device + flash gapps jellybean not ics + full wipe after flashing those (wipe cash+wipe dalvik cash in advanced options)
If not working so try wipe data of apps you want in setting
If not so send messages to developers may be their apps not compatible with jellybean need update
Sent from my GT-I9100 using xda app-developers app
I too am having problems with certain apps not working, mine are more job specific such as the Cadillac mobile workbench and Cadillac mobile showroom. My Chevy components work no problem tho
However I m not new to rooting
Sent from my GT-P5113 using Tapatalk 2
I'm just now getting to the reflashing my ROMs from the advice given up above. Have you had any luck at all?
Sent from my GT-P5113 using xda app-developers app
I gave up. Going to cm 9 stable
Sent from my SAMSUNG-SGH-I777 using xda app-developers app
Okay so attempting to go back to cm9 to ended up in something that seemed like a hard brick but thank god it wasnt. Ended up going back to cm10 and now it ls running like a beast.
Sent from my SAMSUNG-SGH-I777 using xda app-developers app
Netflix
My device P5113 4.04 stock
I rooted using this : http://forum.xda-developers.com/showthread.php?t=1657056 but now netflix will load up, and I go to play a video and load forever then i get error 11003(note netflix works fine on my phone/ps3).
Does any body know a fix for this?
The original reason i rooted was to attempt to move the notification bar to the top (i hate it at the bottom b/c I constantly hit buttons). So i tried to do this:
http://rootzwiki.com/topic/18063-move-the-status-bar/
(1) download ES File Explorer
(2) go to settings and activate root explorer and mount r/w
(3) navigate to /system/
(4) click on build.prop and select "ES Note Editor"
(5) look for the line item called "ro.sf.lcd_density=160"
(6) edit it to read "ro.sf.lcd_density=161"
(7) exit and save the file
(8) reboot
Click to expand...
Click to collapse
and I broke android(would not boot, go only a black screen) b/c i added this to the file, because i didn't find it, so i had to reinstall.
So my other question is is there anyway to move the status/notification bar to the top? Im about to go back to stock but, i will root again if i can fix netflix.

Fix permissions

I recently noticed by using busy box there is an option to run a script to fix permissions. My question is can we use this feature to fix perm rather than rebooting to recovery, ie does this give the same results or is it recommended to use recovery just like when you do factory data reset.
Sent from my SGH-T959V using xda app-developers app
Almost always better practice to do things to the system when in single-user mode, or as close to it as you can get. Bad things can happen when you change the system under processes that are running at the time.
Does it accomplish the same result though
Sent from my SGH-T959V using xda app-developers app
You'd have to read the script you found and compare it to the one in your recovery. Even from recovery version to recovery version, the script can do slightly different things.
Adding to what jeff wrote, this rule is also good when messing with system apps and most importantly with framework-res. For these cases I run the Aroma file manager zip from the recovery, copy and replace what I need, fix permissions and reboot (without active processes noise)
sent from me
Ok thanks guys was trying to skip rebooting device but ill stick to recovery.
Sent from my SGH-T959V using xda app-developers app
anoymonos said:
Ok thanks guys was trying to skip rebooting device but ill stick to recovery.
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Even if you ran fix permissions (from any script), you'd still have to reboot.

[Q] Insufficient Storage, but 14.7GB free

I just installed ExynosAbuse APK v1.40 and i now have root so i could regain my copy/paste function back. (I delete everything in data>clipboard)
However now when i go to install any app i get the error, insufficient storage. As the title says I have ~15gb free (says the settings>storage). Even when uninstalling an app I cannot re install it as it says i have insufficient space. For example, i uninstalled angry birds SW (which was 60mb) and i cannot reinstall it, or any other apps.
Oh, and i uninstalled the Exynosabuse (but left root enabled) and now i cannot reinstall it to disable root. I also tried uninstalling the google play updates, and nothing changed. Installing apps with either google play or ES file manager gives the same result (insufficient storage space)
Thanks for the help.
UPDATE:
I found the problem, and solution in post 20
I had the same problem with an app i tried installing once, but it only happened with that particular app. Maybe try wiping cache and dalvik cache.
Sent from my GT-N8013 using XDA Premium HD app
RussellEstridge25 said:
I had the same problem with an app i tried installing once, but it only happened with that particular app. Maybe try wiping cache and dalvik cache.
Sent from my GT-N8013 using XDA Premium HD app
Click to expand...
Click to collapse
Thanks for the reply. I went to data>dalvik cache and deleted everything in there and restarted. I gained about 200 mb but still i cannot install anything.
Njord0 said:
Thanks for the reply. I went to data>dalvik cache and deleted everything in there and restarted. I gained about 200 mb but still i cannot install anything.
Click to expand...
Click to collapse
Did you wipe cache and dalvik cache in recovery mode?
Sent from my GT-N8013 using XDA Premium HD app
Im trying a factory reset now since i've only owned this thing for a few days. Though if anyone knows a solution to this, please post. I've came across a few threads with a similar problem and they have gone unsolved.
RussellEstridge25 said:
Did you wipe cache and dalvik cache in recovery mode?
Sent from my GT-N8013 using XDA Premium HD app
Click to expand...
Click to collapse
No just deleted it with es file manager
Njord0 said:
No just deleted it with es file manager
Click to expand...
Click to collapse
You should do it in recovery mode.
Sent from my GT-N8013 using XDA Premium HD app
If you are getting it for a particular app then try searching for the it using its name it must have left some file over during your previous installion delete all files with the app name and try installing it should install
Try uninstalling the update of play store by going into settings applications
The first one should do the trick
samir_a said:
If you are getting it for a particular app then try searching for the it using its name it must have left some file over during your previous installion delete all files with the app name and try installing it should install
Try uninstalling the update of play store by going into settings applications
The first one should do the trick
Click to expand...
Click to collapse
All of the apps in the play store that i tired (ones that haven't been installed before) gave the same error, not just ones previously installed. I also deleted some bloatware updates and tried to reinstall their updates afterwards. The problem persists.
I did uninstall the playstore updates and clearing the cache. Nothing changed.
I've restored to factory and its working again. Crappy solution though..
thanks for the help
I solved this problem with lucky patcher. Run it when you have this problem and it will remove the unused odex file. Then install normally and you shouldn't have the error. I found this happens to me when uninstalling modified apks and trying to install the official app after.
Sent from my GT-N8013 using Tapatalk 2
i only have this Problem when there is less than 500mb free space.
common -.- i want to install a 2mb apk File And it complains because there is only 490mb free space -.- any way to change that?
PurpleSh4rk said:
I solved this problem with lucky patcher. Run it when you have this problem and it will remove the unused odex file. Then install normally and you shouldn't have the error. I found this happens to me when uninstalling modified apks and trying to install the official app after.
Sent from my GT-N8013 using Tapatalk 2
Click to expand...
Click to collapse
I did have lucky patcher installed when i had this problem. When opening the program it did remove some odex files but the problem was still there. Is there an option to force it to check for odex files?
You could check your data/apps folder and check if there's an apk for the file there. If it is delete and try to reinstall
Sent from my Galaxy Nexus using Tapatalk 2
Well it's happening again.
How do I get into recovery mode to delete dalvik cache? Is that where you hold down power and the volume button, cause I don't see anywhere to delete the cache when im in there. It's just a screen thqts says downloading.
I cleard the dalvik cache In link2sd but it says it's empty. Also cleared app cache with link2sd.
I did notice that the system file space is at 17% (243mb left) which is still large enough to install the apps I'm trying. I have 25gb free out of 32gb.
This problem is not limited to one app. It also happens with apps that never been installed on this tablet.
Thanks for the help.
Did you try what I mentioned
Sent from my Galaxy Nexus using Tapatalk 2
Power+Volume Up until you see the GTN8000 or whatever model you have screen then leave power button while keep pressing the volume up button until you get into recovery
Dude i suggested going into recovery and wiping cache and dalvik cache a while ago but got no response. You didnt ask how if you didnt know and you obviously didn't search for it. Not trying to be rude here but it just is a little irritating when you try to help and you get ignored. Volume up and power till you see the boot screen then let go. And youll see wipe cache, do it. Then scroll to advanced and then to wipe dalvik cache, do it. Then go back to the firdt sceen and select reboot.
Also gmfeny had a suggestion did you try that?
Sent from my GT-N8013 using XDA Premium HD app
RussellEstridge25 said:
Dude i suggested going into recovery and wiping cache and dalvik cache a while ago but got no response. You didnt ask how if you didnt know and you obviously didn't search for it. Not trying to be rude here but it just is a little irritating when you try to help and you get ignored. Volume up and power till you see the boot screen then let go. And youll see wipe cache, do it. Then scroll to advanced and then to wipe dalvik cache, do it. Then go back to the firdt sceen and select reboot.
Also gmfeny had a suggestion did you try that?
Sent from my GT-N8013 using XDA Premium HD app
Click to expand...
Click to collapse
The first time you mentioned it i had already did a factory reset and my GN was working for the moment. When the problem came back i said i tried it in link 2 sd and i did boot to what it thought was recovery mode (i did google it but i must have miss read. I was holding power and volume down to get into recovery screen) and didnt see anywhere to delete dalvik cache. I should have stated clearly that i needed help on getting to the right place.
I will try that next.
gmfeny, I have looked in data>apps and nothing about the apps im trying to install is there. Also this problem isnt limited to apps that i've previously installed. So I wouldnt expect anything to be in there on those apps. However there is a folder im not sure about. its not very big (256KB) and its names mcRegistry.
I'm not sure if its a big deal, and further since no one seemed to have commented on it. Is there a problem with my system file space as mentioned above? (17% left, 250MB)
thanks
I have the GTN80013 (32gb no GSM/cdma)
Im in recovery mode now and i selected wipe cache partition. I dont see anywhere that says advanced. The only options i have are; reboot, apply update from external storage, wipe data/factory reset, wipe cache, apply update from cache.
still cannot install some apks. I tried to install appinstaller (which i've never installed/tried to install from the play store) and it failed. Also my game emulators failed to install with ES file explorer.
I was able to clear the dalvik cache by gong to data/dalvik-cache And deleting everything. after restarting it waa rebuilt. still can't install apps.
Maybe it's not the same as doing it in recovery, but that's not an option in my recovery mode from what I can see.
Thank for the help
I finally solved my problem.
I had installed Link2SD and a setting in that app was causing the problem.
The Fix:
Open up the menu (context menu) > settings
Click on install location and change it from External to Automatic.
I can install app now.
The only strange part is when i first had this problem, i didnt have this app installed. As suggested above, it was probably the Dalvik cache.
For anyone who has problems finding the 'clear dalvik cache' in recovery mode; You can use lucky patcher to delete it. Its in the menu>trouble shooting> delete dalvik cache and reboot.
Or you can do it manually by going to data>dalvik-cache and deleting everything in there.
Thanks for the help!

Sms[fix][ics][obsolete]

Here is an SMS Fix Taken from Another LG Devices with a little mod tested sms part don't know about mms should work tho
V2013-03-08 added delete of smsmms db Badsoul reminded me
Re: Sms[fix][ics][v1]
defcomg said:
Here is an SMS Fix Taken from Another LG Devices with a little mod tested sms part don't know about mms should work tho
IF it FC its because of sms db you may have to wipe
i added delete command to updater script never used it before so backup before you try
Click to expand...
Click to collapse
I just get force closes of the original Sms app and Handcent as we as power amp. I tried removing those applications and reflashing but it still doesn't work, the app won't even open, it tries then force closes.
Sent from my LG-SU760 using xda app-developers app
Re: Sms[fix][ics][v1]
saint_cow said:
I just get force closes of the original Sms app and Handcent as we as power amp. I tried removing those applications and reflashing but it still doesn't work, the app won't even open, it tries then force closes.
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
Yeah there's a conflict with some setting if backed up do a wipe and delete lgtelephonykroem and messages from app and then wipe
Sent from my LG-P940 using xda app-developers app
Wipe what?
defcomg said:
Yeah there's a conflict with some setting if backed up do a wipe and delete lgtelephonykroem and messages from app and then wipe
Sent from my LG-P940 using xda app-developers app
Click to expand...
Click to collapse
I have another issue now, I tried to re-install a backup and it just loops to twrp now. Also tried flashing a rom and the same thing, won't even boot.
The saga continues, tried xbsall brick fix and it still just boots back to recovery. Tryiny to reflash ICS now, running out of ideas.
saint_cow said:
I have another issue now, I tried to re-install a backup and it just loops to twrp now. Also tried flashing a rom and the same thing, won't even boot.
The saga continues, tried xbsall brick fix and it still just boots back to recovery. Tryiny to reflash ICS now, running out of ideas.
Click to expand...
Click to collapse
Flash bootv21e from Ressurection guide in General forum,turn phone on,let it appear to recovery,do factory reset(not sure if this is required), then flash back XBSA404 and turn on again so recovery could be booted.
arsen4oo said:
Flash bootv21e from Ressurection guide in General forum,turn phone on,let it appear to recovery,do factory reset(not sure if this is required), then flash back XBSA404 and turn on again so recovery could be booted.
Click to expand...
Click to collapse
Got it going again thanks.
Re: Sms[fix][ics][v1]
saint_cow said:
Got it going again thanks.
Click to expand...
Click to collapse
Use cwm
Sent from my LG-P940 using xda app-developers app
Is it possible to have an apk like your previous fix?
SedyBenoitPeace said:
Is it possible to have an apk like your previous fix?
Click to expand...
Click to collapse
No its not just the apk thats needed for it to work the Lgmms apk needs lgTelephony for mms sms etc thats why you cannot use the one from SU760 iCS thats why i added it to be deleted in updater script along with messages apk as it will fc and services.jar is modded to disable apk uid signatures needed in order for package manager to allow apk to run now you can pretty much pull apks from any other device without worrying aboud uid mismatch error
Now i understand why there is the message's bug...because despite the apk the lgTelephony for mms sms is from SU760...however thanks for your great work! Now i can't test this new fix...however i will!
hey defcomg , where is lgtelephonykroem file located???
edit: I seem to be doing something wrong, it just wont work i'm on acurav2 rom
rezzsha said:
hey defcomg , where is lgtelephonykroem file located???
edit: I seem to be doing something wrong, it just wont work i'm on acurav2 rom
Click to expand...
Click to collapse
Locate LGTelephonyKrOemProvider.apk in /system/app and delete it
Locate Messages.apk also in /system/app
Copy the apk's from ZIp
Reboot to Recovery i use CWM dunno about TWRP
Then in CWM mount system
then
adb shell
# rm /system/framework/services.jar
in another cmd prompt
adb push services /system/framework/
back to shell # chmod 644 /system/framework/services.jar
if you wipe data it work with no FC now the thing is the Old Messages apk left some .db database file which causes it have SQL errors hence the FC cant remember the exact path as i Just cleared the data just post Logcat so we can track down that db file and delete it.
Re: Sms[fix][ics][v1]
I just assumed you had to flash the zip through recovery, I tried it in TWRP and had all sorts of issues. Maybe I will try flash CWM tonight and try your process.
Sent from my LG-SU760 using xda app-developers app
saint_cow said:
I just assumed you had to flash the zip through recovery, I tried it in TWRP and had all sorts of issues. Maybe I will try flash CWM tonight and try your process.
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
the above post is the manual way im not sure if the delete command works in the updater script which may leave the files and cause all kinds of hell lol
Re: Sms[fix][ics][v1]
Working mms! Legend, thanks dude. Still.not sure what happens with messages over 160 but will try it out Over 160 character it says it's splitting into two messages but it actually is received as one long message. Love your work mate, brilliant stuff.
Sent from my LG-SU760 using xda app-developers app
hi defcomg. your rom is odexed, or deodexed? im on odexed xbsalls 5.2v and this your fix cant work on this rom for me. both apps from fix get to FC and phone lost service.
Defcomg....for "wipe data" you mean..."wipe data/factory reset" in CWM menu or in system and storage "wipe /data"...i think the second but in this way we will have some applications that are installed on the phone that won't work? Or i'm wrong?
Re: Sms[fix][ics][v1]
SedyBenoitPeace said:
Defcomg....for "wipe data" you mean..."wipe data/factory reset" in CWM menu or in system and storage "wipe /data"...i think the second but in this way we will have some applications that are installed on the phone that won't work? Or i'm wrong?
Click to expand...
Click to collapse
Yup correct
krija said:
hi defcomg. your rom is odexed, or deodexed? im on odexed xbsalls 5.2v and this your fix cant work on this rom for me. both apps from fix get to FC and phone lost service.
Click to expand...
Click to collapse
Deodexed it fc because of some db file
Sent from my LG-P940 using xda app-developers app
Re: Sms[fix][ics][v1]
It is in data/data/com.android.provider.telephony/databases/mmssms.db you need to delete it.
Optimus G is also working. It is very nice. Has themes And popup. I used telephonyprovider.apk from optimus 4x and G mms.apk
I can upload here so you can add it to first post.
So what you need to do is as defcomg said before:
Download zip, extract apks an copy them to /system/app/ before that backup and delete original message.apk and LGTelephonyKrOemProvider.apk. Set permissions to rw-r-r then clear data for LGMmms3.apk from /settings/app setings. Then go to data/data/com.android.provider.telephony/databases/mmssms.db and delete it.
Reboot.
iodak said:
It is in data/data/com.android.provider.telephony/databases/mmssms.db you need to delete it.
Optimus G is also working. It is very nice. Has themes And popup. I used telephonyprovider.apk from optimus 4x and G mms.apk
I can upload here so you can add it to first post.
So what you need to do is as defcomg said before:
Download zip, extract apks an copy them to /system/app/ before that backup and delete original message.apk and LGTelephonyKrOemProvider.apk. Set permissions to rw-r-r then clear data for LGMmms3.apk from /settings/app setings. Then go to data/data/com.android.provider.telephony/databases/mmssms.db and delete it.
Reboot.
Click to expand...
Click to collapse
Awesome lol So thats one issue down now to the FM Radio the hardest one lmao

Categories

Resources