Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

My phone is a Sony Ericsson Xperia X8, and I'm using CyanogenMod. There is an app called ROM Manager included in CyanogenMod, and I found an option 'Fix permission' there. I shouldn't have used this: I had no problems before but I have some now. During the fixing process I got a lot Force close dialogs, and after next reboot the phone had reset to the default CyanogenMod home screen configuration, default options for many programs, and default network parameter. I also got some more Force close dialogs.

I have a backup done a week ago, but I really installed a lot during the week, so I don't want to lose it all. I hope there's a way to recover current situation.

I tried this through adb shell:

chmod -R 755 /data/data
chmod -R 744 /system/app

but it didn't help.

I even tried this stupid idea:

chmod -R 777 /

but it made even worse: after reboot, my phone forgot even my Google account and offered to reconfigure it as if it was the first time I switch the phone after buying it.

Can somebody tell me which file/directory permissions could ROM Manager change and how should I restore them to make everything work? Currently I have a backup made immediately after I discovered the problem.

UPDATE: This fix_permissions.sh didn't work for me.

share|improve this question
    
Try booting into recovery and resetting permissions there. IIRC it's in advanced. –  Richard Borcsik Jun 12 '12 at 12:08
    
I have «CWM-based Recovery v5.0.2.7» on «nAa kernel», and it doesn't have anything about permissions in the menu. –  Maaaks Jun 12 '12 at 12:12
    
Well it should be there. Advanced -> Fix Permissions –  Richard Borcsik Jun 12 '12 at 15:04
    
I'm sure, it's not there. In Advanced, I have only «Reboot Recovery», «Wipe Dalvik Cache», «Wipe Battery Stats», «Report Error», «Key Test», «Show log», and nothing else. Hmm, should I reinstall/replace this recovery with another one? –  Maaaks Jun 12 '12 at 15:06
    
Yes you should. I'm using the official version download through Rom Manager. –  Richard Borcsik Jun 12 '12 at 16:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.