I am using Cyanogen 3.9.2 with most applications on the sdcard. I booted my phone without sdcard. Now after I boot my phone with the sdcard in again, all applications on the card are acting weird. Force closes, reduced privileges for some applications (no network connectivity) etc.
Is there something I can do to fix this instead of just reinstalling every appication, like recreating some files?
machuidel said:
I am using Cyanogen 3.9.2 with most applications on the sdcard. I booted my phone without sdcard. Now after I boot my phone with the sdcard in again, all applications on the card are acting weird. Force closes, reduced privileges for some applications (no network connectivity) etc.
Is there something I can do to fix this instead of just reinstalling every appication, like recreating some files?
Click to expand...
Click to collapse
Have you got CMs recovery? If so go into the console in recovery and type fix_permissions - Not to sure if this will help but give it a go.. If not please post the logcat errors.
I did "fix_permissions" from the recovery console but it didn't help.
My logcat can be found at:
http://pastebin.com/m4eaa04e0
And I double checked. The files in the app/ and dalvik-cache/ on the sdcard are there with the right permissions. Unchanged as they were before this problem occurred.
My sdcard seems to be fine (no corruption) and is correctly mounted on the phone.
I also reinstalled Cyanogen 3.9.2. No luck
You're logcat is cut off. Says "installed without..." then moves on to the next line
alritewhadeva said:
You're logcat is cut off. Says "installed without..." then moves on to the next line
Click to expand...
Click to collapse
I noticed that too. But I copied it exactly as it was. I think the part following "installed without" is just an empty string :|
For the last couple of weeks i'm trying to get a Blur-rom working on my G1, but sadly it's giving me alot of problems.
I mainly tried flashing it from scratch, which means im running the following setup:
Running a class 6, microsd card;
fat32 (7200mb)
ext3 (500mb)
linux-swap (128mb)
Click to expand...
Click to collapse
I also tried the same setup, except i used ext2 instead of ex3.
The problems I have;
After flashing the rom everything works ok. I sign in to motoblur, and set everything up. But after doing a reboot, the problems start. Right after I enter my pincode, and the homescreen starts loading, i'm getting force closes all over. In the end all I see is a blackscreen, and the white taskbar.
Is my setup wrong? If you ppl want more information, I can flash it again, and will try to collect some logs.
Thx in advance.
*bump*
Still having the same problems, also when running the newest blur rom around (Motorola Blur / S-Blur_1.071 - Bluetooth).
Here is more info (my logs)
http://pastebin.com/m1b544f9c
Hopefully somebody can help, since I wanna run this one on my phone badly
FREAKJAM said:
*bump*
Still having the same problems, also when running the newest blur rom around (Motorola Blur / S-Blur_1.071 - Bluetooth).
Here is more info (my logs)
http://pastebin.com/m1b544f9c
Hopefully somebody can help, since I wanna run this one on my phone badly
Click to expand...
Click to collapse
First what kind of phone do you have? G1/MT3G/Hero ?
Next, did you make sure and do a COMPLETE wipe on your phone?
This means erase:
/system/sd/app_s
/system/sd/dalvik-cache
/system/sd/app
/system/sd/app-private
All of /data
You would do that from the Recovery screen. You can't just go into Recovery, then choose Drop to a terminal and then type
Code:
busybox rm -rf /system/sd
That won't work, when you boot into Recovery none of your partitions are mounted. And choosing "Do a data wipe" from the recovery menu DOES NOT erase your /system/sd partition. You need to mount /system/sd before clearing everything off of it.
As far as your partitions are concerned, keep it as ext2 and not ext3. Read the first post in the Blur thread and it explains how your sdcard should be partitioned.
You should also probably run a fsck on your ext2 partition to make sure it's still functional.
Code:
e2fsck -fy /dev/block/mmcblk0p2
And also verify your swap is still good
Code:
mkswap /dev/block/mmcblk0p3
Given the errors you're having it sounds like you did not do a complete wipe as explained in the first thread, or your ext2 partition is corrupt and you just need to run a fsck on it
I installed the rom completely fresh on a G1 (dream), formatted my sdcard and made 3 new partitions using parted on the recovery console.
So basically saying this isn't enough?
reformatting my sd card now and did the following;
mkpartfs primary fat32 0 7200
mkpartfs primary ext2 7200 7700
mkpartfs primary linux-swap 7700-7828
busybox rm -rf /system/sd
e2fsck -fy /dev/block/mmcblk0p2 (no errors)
mkswap /dev/block/mmcblk0p3 (swap information 128mb, so seems good)
Click to expand...
Click to collapse
will flash now, and get back to you when i have more info
FREAKJAM said:
I installed the rom completely fresh on a G1 (dream), formatted my sdcard and made 3 new partitions using parted on the recovery console.
So basically saying this isn't enough?
Click to expand...
Click to collapse
Technically yes that is all you would need, but once again follow the steps I outlined. No need to blow away partitions. I don't know your level of expertise so I don't know if you're doing it correctly. For all I know you could be creating the partitions, then forgetting to format /dev/block/mmcblk0p1 as fat32, or forgetting to format /dev/block/mmcblk0p2 as ext2, or forgetting to mkswap on /dev/block/mmcblk0p3.
Since you are the only one having this issue it basically means you are missing a step somewhere along the way. The ROM does not hate your phone, lol.
Please follow the regular ROM flashing guidelines. After you create the partitions make sure you can manually mount the fat32 partition at /sdcard and the ext3 partition at /system/sd. Also make sure you didn't somehow screw up the phone parititions, IE /dev/block/mtdblock[1-5]
I think I flashed my phone atleast 200x in the last 6 months..
I'm very addicited to flashing, and I setup a hero rom just like that using parted.
I always reformat my sdcard to start "fresh".
Anyways, flashing now
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
Model: SD USD (sd/mmc)
Disk /dev/block/mmcblk0: 8017MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 7200MB 7200MB primary fat32 lba
2 7200MB 7700MB 500MB primary ext2
3 7700MB 7828MB 128MB primary linux-swap(v1)
Click to expand...
Click to collapse
e2fsck -fy /dev/block/mmcblk0p2
e2fsck 1.41.6 (30-May-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p2: 11/244320 files (0.0% non-contiguous), 30701/488281 blocks
Click to expand...
Click to collapse
mkswap /dev/block/mmcblk0p3
Setting up swapspace version 1, size = 127995904 bytes
Click to expand...
Click to collapse
FREAKJAM said:
I think I flashed my phone atleast 200x in the last 6 months..
I'm very addicited to flashing, and I setup a hero rom just like that using parted.
I always reformat my sdcard to start "fresh".
Anyways, flashing now
Click to expand...
Click to collapse
K lemme know how that goes. If it crashes like that again do something for me, open up a shell using "adb shell" and do "cat /data/a2sd.log" and tell me what it says
Here is my log, phone is still booting tho, but seems a2sd is done already.
Beginning a2sd at 05:50 06/16/2009
Does post install script exist: No
Does /dev/block/mmcblk0p2 exist: Yes
Running fsck ....
e2fsck 1.41.6 (30-May-2009)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/block/mmcblk0p2 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p2: 11/244320 files (0.0% non-contiguous), 30701/488281 blocks
Mounting /system/sd : Ok
Changing owner on /system/sd to app user: Ok
Changing permissions on /system/sd to 771: Ok
Cleaning up any symlinks in /data
Moving apps to SD finally....
Created /system/sd/app
Changed uid/guid to app user on /system/sd/app
Changed permissions to 771 on /system/sd/app
*****CRITICAL / Watch below for errors ******
Moving /data/app: Ok
Deleting /data/app: Ok
Creating symlink to /system/sd/app: Ok
***** CRITICAL DONE ******
Created /system/sd/app-private
Changed uid/guid to app user on /system/sd/app-private
Changed permissions to 771 on /system/sd/app-private
Created /system/sd/dalvik-cache
Changed uid/guid to app user on /system/sd/dalvik-cache
Changed permissions to 771 on /system/sd/dalvik-cache
*****CRITICAL / Watch below for errors ******
***** CRITICAL DONE ******
Mounting dalvik-cache: Ok
Setting owner to app use for /data/dalvik-cache: Ok
Setting permissions to 771 on /data/dalvik-cache: Ok
Finished 05:50 06/16/2009
Click to expand...
Click to collapse
Still splashscreen on my phone atm.. booting takes longer then normal! Waiting for around 5 mins now.. will wait a bit longer
FREAKJAM said:
Here is my log, phone is still booting tho, but seems a2sd is done already.
Still splashscreen on my phone atm.. booting takes longer then normal! Waiting for around 5 mins now.. will wait a bit longer
Click to expand...
Click to collapse
Well what is adb logcat showing? Is it still progressing? Is it throwing errors?
Redid a total new format and flash cuz it was taking pretty long..
here is some stuff from the logcat;
http://pastebin.com/d2fef07f0
still on the splashscreen for some minutes now..
FREAKJAM said:
Redid a total new format and flash cuz it was taking pretty long..
here is some stuff from the logcat;
http://pastebin.com/d2fef07f0
Click to expand...
Click to collapse
The ONLY way to get the errors you got there are from a pre-existing installation on your phone.
#
E/PackageManager( 1714): Package com.arcsoft.mediagallery has no signatures that
#
match those in shared user android.media; ignoring!
Click to expand...
Click to collapse
Your md5sum for the update should be:
62b9b3925e95b70eda1c77e8317dc7a9 S-Blur_1.071-full.zip
If it is not then re-download the update again and try flashing.
Redo a wipe and when you are positive you have wiped, check manually that all the files are gone. Don't re-partition/format. Just do the following from recovery shell
Code:
mount /system/sd
busybox rm -f /system/sd/app_s/*
busybox rm -f /system/sd/dalvik-cache/*
busybox rm -f /system/sd/app/*
busybox rm -f /system/sd/app-private/*
umount /system/sd
mount /data
busybox rm -f /data/app/*
busybox rm -f /data/app_s/*
umount /data
mount /system
busybox rm -f /system/app/*
umount /system
Phewww, then do a flippin flash of the ROM. That should GUARANTEE that you have a clean wipe.
G:\>md5 S-Blur_1.071-full.zip
62B9B3925E95B70EDA1C77E8317DC7A9 S-Blur_1.071-full.zip
Click to expand...
Click to collapse
did the whipe just like u said..
and now flashing again.. pfew
will keep u posted!
thanks for the help so far!
It installed, and I logged in to gmail etc.
after first reboot, again FC all over. This rom really must hate my phone
http://pastebin.com/dc9c4e47
E/AndroidRuntime( 1844): java.lang.NullPointerException
E/AndroidRuntime( 1844): at java.util.Locale.setDefault(Locale.java:855)
did you make it through set up?
can u make it into settings and mess with that?
what blur rom are you flashing? it may be messed up
I can set everything up, all the info bout what rom I am currently trying to flash is found in the 2nd post.
After the first reboot, it's giving all the force closes.
FREAKJAM said:
It installed, and I logged in to gmail etc.
after first reboot, again FC all over. This rom really must hate my phone
http://pastebin.com/dc9c4e47
Click to expand...
Click to collapse
Where are you located? The US/Europe/somewhere else? It's having issues setting your locale. When the setup first comes up, are you selecting US English?
I'm from Holland. I select US English yes, but I vaguely remember that it jumped to Deutsch, and that I can't change it back to English.
Perhaps it won't let me run this rom since i'm from the EU.
FREAKJAM said:
I'm from Holland. I select US English yes, but I vaguely remember that it jumped to Deutsch, and that I can't change it back to English.
Perhaps it won't let me run this rom since i'm from the EU.
Click to expand...
Click to collapse
Hmmm there's a very good chance that it wouldn't work if you chose anything but English. You may need to use a different libril.so since the one in the ROM is for US. Or Motorola might have designated this only for US users as they will have a different device (the Dext ?) for Europe. Basically it's the Cliq but for overseas. Anyways, erase everything again, reflash and this time make sure you select US English and everything else US just in case Motorola is not allowing anyone outside of US. If that doesn't work you might be out of luck.
You would need to unpack the ROM and hack it to work on your device. Kind of how we hack it to work on G1's
I don't have to skills to "hack" system files. I'll try one more time, trying a US setup. Otherwise ill just have to live with it. Thanks for all the help, esp shafty.
So I tried this baby again after playing with Hero Eclair for a while.
The problem is that the setup-language during the first setup keeps jumping back to German. What files do I have to edit to remove the languages I dont need?
Thnx.
Just a couple of days ago my Market seems to have frozen. I'll try to start downloading something (or updating) and all it does is say "starting download". Never progresses beyond that. I've canceled the download and restarted a million times. I've tried to download any application on the market and get the same results. I've flashed back to a nandroid backup that was several days before this happened. I've turned wifi on/off several times, turned airplane mode on/off several times. Restarted more times than I can count.
No idea. Nothing changed from when downloads worked to now. No new apps, no settings changed. Just stopped downloading.
[Solved] - See post #7
Likely to be an issue at google's end...
try
Code:
adb shell mount -o rw /dev/block/mtdblock3 /system
adb shell echo "ro.config.nocheckin=1" >> /system/build.prop
B, what Does that code do? Do I just drop the adb commands if in terminal (same otherwise)?
B-man007 said:
try
Code:
adb shell mount -o rw /dev/block/mtdblock3 /system
adb shell echo "ro.config.nocheckin=1" >> /system/build.prop
Click to expand...
Click to collapse
What exactly does that do? First line mounts /system form editing, but I have no idea what the second line is about.
For cyanogen roms, cyanogen has a setting to disable the checkin service by google in his build.prop
the checkin service is required for setup wizard when coming from a wipe, but is not needed after. this is why its not disabled by default. Its what causes the market freezes most of the time. if its still giving errors, there may be a bigger problem.
Problem solved.
Didn't do your lines of code there B, but what I did do worked.
Went to Manage Applications and then Google Apps and cleared the data for it. That required that I resign into my Google Account when I went back to the Market.
On another note that may or may not be related, I keep getting gapps forcecloses. They seem to come randomly, not sure why. Don't know if that could be related, seems like it could be though.
My screen broke tonight enough to make it unusable, and I was offered in store exchange when I called B&N support. I am running CM7, and would like to know if it is possible to either restore to stock or wipe the hard drive to remove evidence of rooting before I send it back.
I managed to get into adb and read in another thread to try rm -r *, which is supposed to wipe everything, but I got a bunch of read only errors. It appears that the nook will now not boot into CM7 (which is good), but I fear that I haven't wiped it far enough to be safe from a chargeback. Any ADB wizards out there with some advice?
I think I have done it. I opened up a shell in adb, mounted /system as r/w, then did rm -r *. after a reboot it won't even boot into adb anymore. it comes on for about 4 seconds then shuts off immediately. I can't tell what is happening on the screen because of the damage, but i'm hoping it is enough that the folks who check returns at BN can't prove it was rooted.
What are you wanting it to boot into if you just deleted everything in the system partition?
Sent from my HERO200 using XDA App
I think he wanted it to not boot at all in preference to booting into CM7.
I'm pretty sure that if they looked beyond the broken screen they'd be able to determine that you've rooted it: Having no files but still a filesystem on /system is kinda suspicious, and I imagine that having CWM instead of the stock recovery would be something of a giveaway as well.
Hi,
I've just installed fresh CM10 ICS Nightly on my LG Optimus 2x. The original __EXTERNAL_SD folder in my Home was suddenly empty, so I thought the mount point of External SD has changed. I found it in /storage/sdcard1. However, Applications don't recognize that, because they obviously expect __EXTERNAL_SD simlink/folder (or whatever it is) in my home. So I decided to delete it and create a new one to new location. Deletion was successful,but I'm not able to create a new symlink.
Code:
[email protected]: /sdcard # ln -s /storage/sdcard1 __EXTERNAL_SD
link failed Operation not permitted
[email protected]: /sdcard #
This is what I get.
Furthermore, since I deleted original file, every time I start Apollo (music player) I get error Unfortunately, Apollo has stopped. That's kinda weird, because it acts like it requires working __EXTERNAL_SD, but I'm not 100% sure.
Can you please explain me how to create such a symlink? Thanks!
Have You tried with superuser?
Sure, sign # means I have root access. Anyway, the problem is not longer relevant for me, bacause I've reinstalled whole system from the bottom using factory reset.
I'm newbie to Android, and It's litte suprising for me that root can not create a simple symilnk, that shoul work every time (as in Linux).