Most of my apps get a force close msg - Nexus One Q&A, Help & Troubleshooting

I have the latest cyanogen rom. The apps were working fine before when I had first installed the rom the first time. I tried to install the flash player mod and it just froze the launcher so I had to wipe and reinstall a fresh cyanogen rom and now I am getting most of my apps telling me to force close them.

This didn't work for me but I had a different issue completely, but I read elsewhere that it may fix the chain force-closes. So download this file, then in a terminal emulator run:
su
sh /sdcard/fix_permissions.sh
See if this helps.

is there a location I am to put the file to all I am getting is sh: can't open /sdcard/fix_permissions.sh sorry I am kinda new to all this so please bare with me and ty for the fast reply/ help.

ok wierd it's fixed now all I did was reboot the phone and everything is working now

slvr69tiger said:
ok wierd it's fixed now all I did was reboot the phone and everything is working now
Click to expand...
Click to collapse
I'm guessing this is your first Android phone, so let that be a lesson to you... when you have any issues, the first thing to do is reboot. If they still persist, it's time to do a full wipe and reflash.

Related

auto rotate function disabled? (solved)

hi guys my auto rotate function got disabled when I was flashing cyan new recovery image and I don't know how to fix it I tried the directions on his thread and I guess I just don't understand them. I am on cyan 3.6.8.1. can someone explain in layman's terms how to fix it? thanks and have a great day!
Check your settings. In settings-->sound+display, on the bottom see if orientation is checked
it is checked. no rotation.
gtrplr71 said:
it is checked. no rotation.
Click to expand...
Click to collapse
Accelerometer might be broken. Try playing papijump.
what is papijump?
gtrplr71 said:
what is papijump?
Click to expand...
Click to collapse
A game lol. Search it on the market. It tests if your accelerometer is working. If the little red guy won't move no matter how much you turn the phone the you know the accelerometer is broken or that there is a software problem.
Its not broken. Go to crayogens Rom the stable ones thread and in the faq on the 1st paste there is a command u enter in the terminal to fix the auto rotate I ran into this problem a few times myself and it was easily fixed be the script
pistol4413 said:
Its not broken. Go to crayogens Rom the stable ones thread and in the faq on the 1st paste there is a command u enter in the terminal to fix the auto rotate I ran into this problem a few times myself and it was easily fixed be the script
Click to expand...
Click to collapse
Could be heres the script
20. My auto-rotate/accelerometer isn't working!
Not really the fault of the ROM, but here's how to fix it: Go into recovery, drop to console, "mount /data", then "rm /data/misc/akmd* /data/misc/rild*" and reboot.
solved thanks guys
how did you guys fix this because the commands did not work for me and i have tried numerous times
If the commands don't work u might wanna wipe and reflash. I say just make sure the feature is on, then try the script again and if all fails the wipe and reflash. I hate to wipe myself so try to avoid it. Try the script in the terminal in recovery then reboot and try in terminal in rom itself and reboot.

cant' turn off soft keyboard vibrate on Cyanogen.

I can't seem to turn off the vibrate function on Cyanogen 4.02. I uncheck it, but it always turns itself back on. This has been happening ever since the first Cyanogen rom I used a while back.
In the past I used:
adb remount
adb shell
cp /system/intmem/app/HTC_IME.apk /system/app/HTC_IME.apk
rm /system/intmem/app/HTC_IME.apk
reboot
Click to expand...
Click to collapse
to fix it, but that no longer works.
Any advice, ideas. I searched the gigantic Cyanogen thread and the only thing that came up is people having problems with it not vibrating. Go figure!
Thanks, guys.
This was happening to me before and it was because there was 2 htcime installed..im guessing the one that I installed on my phone before flashing to cyans rom, which already comes with htc_ime, (apps2sd kept older on there even after wipe)..what i did was uninstall all of them and delete all traces of it from sdcard and then reinstall cyans .. did it all through app manager
I'll give that a shot, thanks!

SU app broken since Donut.

Ever since I switched from JF 1.51 to rooted TMO 1.6, my SU app has been broken. It just hangs while staying black and eventually force closes. As you can imagine, this is a big hassle because I can't give any apps permission.
Does anyone have a solution? Thanks.
hettbeans said:
Ever since I switched from JF 1.51 to rooted TMO 1.6, my SU app has been broken. It just hangs while staying black and eventually force closes. As you can imagine, this is a big hassle because I can't give any apps permission.
Does anyone have a solution? Thanks.
Click to expand...
Click to collapse
Are you sure you didn't load the wrong rom and you lost root?
supremeteam256 said:
Are you sure you didn't load the wrong rom and you lost root?
Click to expand...
Click to collapse
Uhh, yeah. I have root, all the apps id already given permission to still work. Its new ones that do not.
Have you tried to push su back or run enable superuser to see if that will help?
supremeteam256 said:
Have you tried to push su back or run enable superuser to see if that will help?
Click to expand...
Click to collapse
I don't know what either of those means. If you could provide some instructions (terminal commands, etc) that would be great.
Thanks in advance.
Try this first.
Code:
turn on your phone by holding the home+end(power) key
press alt+x to enter the recovery console and then press enter when it asks you
next type:
mount data
rm /data/data/com.koushikdutta.superuser/databases/superuser.sqlite
if you have the problem where it says this file does not exist, type:
rm /data/data/koushikdutta.superuser/databases/superuser.sqlite
Alright, I will try that in a little while when I am at a computer. Thanks
hettbeans said:
Alright, I will try that in a little while when I am at a computer. Thanks
Click to expand...
Click to collapse
Also in the mean time you can try the superuser whitelist in the market to see if that will work.
Hey, formatting my SD card seems to have fixed it, but thanks for the help.
no problem

Lost Root? Really Stuck on this one..

So I flashed SuperD yesterday, and all is cool. Its not my first time using roms, and everything went smooth.
But then today I wanted to change the keyboard layout back to the German layout. So I went to Terminal Emulator and began to edit the layout using this method (tested, working from these forums)
su
mount -o rw,remount /system
cp /sdcard/trout-keypad-v3.kcm.bin /system/usr/keychars
Anyway, once I finished, it said that this operation isnt possible. Then I realized that I forgot to put the file on sd card. So I added the file, but then the strange part came....
I then again went into terminal emulator and typed "su" to start the process again but now im getting the "permission denied error! 5 min ago I didnt have this error and could mount just fine! The phone is running fine, but it seems like I ve lost root.
Do I need to reflash the rom or the spl to reverse this? I really just need access to Terminal again. Anyone know how to fix this? I tried rebooting just to see if it was some type of bug, but even after reboot Im still getting permission denied.
Could really use some help on this!
Use adb shell. Try clearing the saved options in the SU application. Try a different terminal program. Lastly, try to just reflash the rom.
evilkorn said:
Use adb shell. Try clearing the saved options in the SU application. Try a different terminal program. Lastly, try to just reflash the rom.
Click to expand...
Click to collapse
I installed a new Terminal, and it seems to work fine. Might seem like a dumb question, but Im really not sure if I have root or not?!
If it worked what's the question?
evilkorn said:
If it worked what's the question?
Click to expand...
Click to collapse
Your right. Was a dumb question. It just confused me, as one terminal is giving me access, and another wont. Guess its just a bug.
Anyway, I reflashed the rom, and all is perfect. Thanks for the help though guys.

help installing apk using terminal

ok i just updated to CM 5. and well none of my apps are there, now im trying
this following :
sh /sdcard/installapk.sh /sdcard/theapp.apk
and no luck i think i can b doing it wrong.
cant DL the app cause i dont have the market app ether
Download DroidExplorer and you can do a bulk install of all your apps straight to the sdcard. Works everytime!!!
Link is in my sig
yea but i have no market on the phone and i dont have adb set up on my pc is it possible trew terminal to install astro so i can go on from there?
If your market is not there then you failed to flash the gapps.
You need to flash those AFTER CM5 or BEFORE. I've heard it works different for some people. First time I flashed it, it was before. Now it's after. Before and after won't hurt.
i figured that but the link on CM page for gapps is not working for me
I'm not really sure what having the market working has to do with anything. Clearly you didn't even take the time to click the link in my sig and go to the DroidExplorer thread.
it seems like that is for computers 64bit and up i have 32
brios86 said:
it seems like that is for computers 64bit and up i have 32
Click to expand...
Click to collapse
Are you talking about DroidExplorer? I have it installed on my 10 year old Dell and it is definitely a 32 bit machine. I'm assuming you are talking about something else.
You can use busybox if you have the latest CM ROM installed which you do. Busybox is included in the ROM so you can run busybox commands from terminal.
Put the apps you want to install on the root of your sdcard just to make them easy to find. Once in terminal, su so you have a # symbol
Then
Code:
busybox install /sdcard/yourapp.apk /sd-ext/app
great now i am F*** i tried installing the debug phone ota file that was required for CM 4.x and now i have no recovery it comes out the phone with exclamation mark
trying the droid explorer now
no luck droidexplorer seems to view the device but nothing else
brios86 said:
no luck droidexplorer seems to view the device but nothing else
Click to expand...
Click to collapse
Well that makes sense considering Droid Explorer requires root...According to your post on the first page, you are seeing an exclamation point when booting into recovery which means you lost root access by flashing whatever it is you flashed. Time to start all over again.
There is an updated rooting post for the Dream over at theunlockr.com
ok now my thing is i cant have the phone on cause it will keep getting FC and after a few it reboots
im trying to set up ADB on my pc now will that help me fix this? the phone boots up and the it reboots on its owne
It seems pretty clear that you don't really know what you are doing when it comes to modding your G1, and it is also pretty clear that you aren't willing to listen to directions.
I told you that you could batch install applications through Droid Explorer and you blatantly ignored my directions then said that it wouldn't work because you have a 32 bit computer.
I then gave you directions on how to use busybox to install the application that you wanted and never got a response regarding whether you even tried it or not.
You responded further into the thread saying that now you are getting an exclamation point when booting into recovery which MEANS THAT YOU DON"T HAVE ROOT ANYMORE!!!!!!!!!!!!!!!!!!
Installing adb and getting it working isn't going to do anything for you as far as installing applications because you lost root access which means you don't have the correct permissions to do anything anymore.
I gave you the link to an updated post on rooting so either do that or update this thread with where you stand exactly. Can you get into recovery? Is it an exclamation point? Can you launch the terminal app? When you type "su" do you get a # or an $? Does it say permission denied? ETC ETC ETC
DirectMatrix said:
It seems pretty clear that you don't really know what you are doing when it comes to modding your G1, and it is also pretty clear that you aren't willing to listen to directions.
I told you that you could batch install applications through Droid Explorer and you blatantly ignored my directions then said that it wouldn't work because you have a 32 bit computer.
I then gave you directions on how to use busybox to install the application that you wanted and never got a response regarding whether you even tried it or not.
You responded further into the thread saying that now you are getting an exclamation point when booting into recovery which MEANS THAT YOU DON"T HAVE ROOT ANYMORE!!!!!!!!!!!!!!!!!!
Installing adb and getting it working isn't going to do anything for you as far as installing applications because you lost root access which means you don't have the correct permissions to do anything anymore.
I gave you the link to an updated post on rooting so either do that or update this thread with where you stand exactly. Can you get into recovery? Is it an exclamation point? Can you launch the terminal app? When you type "su" do you get a # or an $? Does it say permission denied? ETC ETC ETC
Click to expand...
Click to collapse
My whole point with the no market is if he would have flashed the gapps or found another way to get them he could have installed a file manager then installed the app off his sdcard.
This was a 1 - 2 minute procedure that he has not made an hour/s procedure.
I agree with droidexplorer, I use it quite constantly. However, if he would have correctly installed CM5 this issue would have never arisen.
As for OP, I strongly advise that you unroot and stick to stock. If you cannot successfully do this, there is a high chance you are going to brick and it's just not worth it.
this is not the first time i try this i have a understanding of what i am doing, for some reason i decided to try another sdcard and it magically booted fine, now the gapps link doesn't work for me, so i am trying to install astro threw terminal emulator (astro is on the root of the sdcard) so i can just install the rest of my apps
thank you busybox worked thank you so much
funny after all the stuff i tried i decided to try a diff sdcard and it booted fine and then changed back to the old sdcard and it works fine

Categories

Resources