Shot me if this was asked before (plenty of gun apps on the market)
What are the Pros and Cons of running the following off the sdcard:
/data/data
/data/app-private
/data/dalvik-cache
I have read that some of you do all of the above to sdcard, some dont.
So I would like to know what you run off your sdcard and why or why not.
Thanks
Pro: Marginally more memory to store your apps.
Con: A dozen threads on the forum every day from newbies who don't know how to search asking how to create an ext2 partition or fix their unbootable device.
jashsu said:
Pro: Marginally more memory to store your apps.
Con: A dozen threads on the forum every day from newbies who don't know how to search asking how to create an ext2 partition or fix their unbootable device.
Click to expand...
Click to collapse
Lmao!!!
I should not laugh I WAS one of them (maybe still am)
Lakers3408 said:
Shot me if this was asked before (plenty of gun apps on the market)
What are the Pros and Cons of running the following off the sdcard:
/data/data
/data/app-private
/data/dalvik-cache
I have read that some of you do all of the above to sdcard, some dont.
So I would like to know what you run off your sdcard and why or why not.
Thanks
Click to expand...
Click to collapse
Pro's - virtually unlimited storage by moving dalvik and cache's
cons - none i have found
DONT MOVE DATA!! Caused all kinds of problems for me. If you move dalvik no need to move data, its a working alternative to moving data.
jashsu said:
Pro: Marginally more memory to store your apps.
Con: A dozen threads on the forum every day from newbies who don't know how to search asking how to create an ext2 partition or fix their unbootable device.
Click to expand...
Click to collapse
haha, and about 10-20 emails a day to me from people on the market asking why my apps to sd program won't work for them. BTW: my app won't allow you to do anything if you don't have the setup right, so you might wanna use it if you're a newbie at this stuff and worried about an unbootable device. Also, I agree with Ryanmo5: moving data SOMETIMES works but even if you do it perfectly sometimes android just doesn't like you.
Ryanmo5 said:
Pro's - virtually unlimited storage by moving dalvik and cache's
cons - none i have found
Click to expand...
Click to collapse
So other than storage on the phone itself, there is no other benefit?
Lakers3408 said:
So other than storage on the phone itself, there is no other benefit?
Click to expand...
Click to collapse
Well put it this way, i have installed 20 plus apps/games since i move dalvik and my storage went down 1 mb. That includes ghwt which is 10mb's installed. Is that not enough of a pro? lol
Ryanmo5 said:
Well put it this way, i have installed 20 plus apps/games since i move dalvik and my storage went down 1 mb. That includes ghwt which is 10mb's installed. Is that not enough of a pro? lol
Click to expand...
Click to collapse
Im sold!!... Doing it now, Thanks for the advice.
Ok having a bit of an issue
How EXACTLY do I need to type the command in Terminal?
I dont want to mess things up and have to re-install all my (75) apps/games.
Thanks
1) reboot and backup!
2) connect phone and don't mount
3) Command Prompt:
4) adb shell
5) #mkdir /system/sd/dalvik-cache
6) #busybox cp -a /data/dalvik-cache /system/sd/dalvik-cache
7) #rm -R /data/dalvik-cache
8) #ln -s /system/sd/dalvik-cache /data/dalvik-cache
9) #reboot
Ryanmo5 said:
1) reboot and backup!
2) connect phone and don't mount
3) Command Prompt:
4) adb shell
5) #mkdir /system/sd/dalvik-cache
6) #busybox cp -a /data/dalvik-cache /system/sd/dalvik-cache
7) #rm -R /data/dalvik-cache
8) #ln -s /system/sd/dalvik-cache /data/dalvik-cache
9) #reboot
Click to expand...
Click to collapse
Thanks for the instructions a real help.
I did #5 and #6 then got a call in the middle of doing this and my phone rebooted.
So then after the reboot I did #7, #8 and #9.
Now how will I know it everything worked???
I forgot to check my phone memory before doing this so I cant really tell if my phone memory incressed.
Easy way to tell is get the my account app from t mobile in market. Then hit phone on top. It will tell you how much storage you have. In terminal emulator type in
su
ls -l /system/sd
dalvik should be in list, if it is your good to go. If you ever want to reverse type in
rm /data/dalvik-cache; cp -a /system/sd/dalvik-cache /data/dalvik-cache
Remember that phone can only hold so much so storage if reversed.
Related
Hey, Im following
http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=2248
For how to set debian up. However chmod 4755 * fails for me saying operation not permitted when I am cd /sdcard/debian I read through a couple other posts on google and the site above where it says people can on versions pre 1.5 but once on 1.5 US it breaks the su whitelist some?
Anyways, Anyone have some ideas for me, as the google trail went cold for me as the people who had this issue was already at the end of the threads with no resolve or joy. Thanks. =)
too much in 'yo chmod!
hey i have set up mine. you just gotta forget about the chmod and just skip it and do the rest of the steps then type exit. then once it reboots, just type
su
cd /sdcard/debian
sh bootdeb
then it should be running
Yea I thought so too on the chmod step, so I tried going to the next, the installer.sh and said not allowed or something.
I tried running boot debian and so, and it came up with the load screen, then it had a chmod issue and then the G1 restarted. So what am I missing here? =/
hmm, im not entirely sure. when i installed it i simply
su
cd sdcard/debian
chmod 4755 *
su sh ./installer.sh
exit
su
cd sdcard/debian
sh bootdeb
Well I was reading other posts, Could it be a issue that Im already running apps off the EXT2 part of my SD card? I have the debian files on the FAT32 area. I saw some people saying that might be a cause of the issue?
if your debian dir is on fat32, you need to delete the first line of installer.sh script
Ok did that and the installer.sh ran did alot of not found errors then when I tried to bootdeb it looked like it was trying to load, then it rebooted the G1. =/
Any other ideas? Also if I wanna try to uninstall the work it did, what does it create to delete?
Mysticales said:
Ok did that and the installer.sh ran did alot of not found errors then when I tried to bootdeb it looked like it was trying to load, then it rebooted the G1. =/
Any other ideas? Also if I wanna try to uninstall the work it did, what does it create to delete?
Click to expand...
Click to collapse
Which image are you using? There's one for fat32 and one for ext2. Try this: download fat32 version http://www.androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=21
you may need to remount when entering the following commands in the terminal
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
place zip file on sdcard. go to terminal and enter:
su
unzip "whatever_your_debian_file_is_named".zip (not sure what its called)
cd "whatever_your_debian_file_is_named"
cp installer.sh /sdcard/gscript
then go to Gscript and load installer.sh, before you save, delete the line that says "./fsrw"
then save this edited script as installer1.sh
go back to terminal
cp /sdcard/gscript/installer1.sh /sdcard/debian
cd /sdcard/debian
su
sh ./installer1.sh
sh ./bootdeb
if that doesnt work out try rebooting and doing these commands
cd /sdcard/debian
sh ./bootdeb
to delete, go to debian directory then
rm -r debian
afaik, all the data from debian is self-contained in debian.img
Ill try that, btw yea I have that file you linked to. But before I do this, the stuff your mentioning, wont affect the fact that I have my apps installed to the SD right? Mounting and unmounting things.
Mysticales said:
Ill try that, btw yea I have that file you linked to. But before I do this, the stuff your mentioning, wont affect the fact that I have my apps installed to the SD right? Mounting and unmounting things.
Click to expand...
Click to collapse
No, your apps should be safe. If you're using the link I posted, you need to put debian on /sdcard which is fat32
you're apps2sd should be mounted at /system/sd and should be unaffected by your debian installation/uninstallation.
I'm not sure if remounting /system is required, but i think it allows you permissions so you can use the utilities in /system/bin. I would remount just to save myself time.
Btw, I could not chmod my debian directory, but debian runs fine for me.
jonnybueno said:
to delete, go to debian directory then
rm -r debian
afaik, all the data from debian is self-contained in debian.img
Click to expand...
Click to collapse
Oops, my bad. Should be:
cd /sdcard or cd /system/sd depending on where you put your debian directory
the you can
rm -r debian
Jonny your great. =) The remounting thing worked! Then ran the installer, got alot of not found, but after that all, I booted into Debian, and did the onetime.sh to set the unix pw.
(Which for the record to anyone in the future doing a search on this once your in debian, do cd scripts and enter that folder and type sh onetime.sh )
Now onto the next step and adding a GUI Which gonna attempt that all now.
Edit: And Grr... not gonna try to do the rest of the repos on EDGE connection.. Gotta wait till I get home. =( (Wifi rules for linux starts lol)
I think the image we installed is only 750MB so from what I've read, it is advisable to resize your debian img. Thats another world of brain hurt for me... but there is this guy with this thread who is offering to upload his custom image.
http://forum.xda-developers.com/showthread.php?t=528262
5 more votes by the end of the day and maybe he'll upload it.
Well... I already did the resize heh. Got a 2.3GB image on right now, which fits on my 4GB, since I have a 1GB EXT2 Partition and rest is fat32.
I used ubuntu to make a image and mount both images and copied the data from one into the other, then did the tasks after I booted debian again to get everything smooth again. =) But I wont stop him from uploading his image if it has a GUI already installed, which is what im after atm. =)
Update, So far having a lil issue getting the desktop to show up on VNC, however I did get other tasks done and stable running. Also came across this post which is vital as the default install seems to want to give you a repo that 404s too much so before you start your tasks, after you install debian and get into it, do this stuff.
ZilverZurfarn said:
For those (like me) who get errors when apt-get'ing thightvncserver and/or lxde:
(from the thread at androidfanatic.com)
instructions
cd /etc/apt
nano sources.list
now add
deb http://ftp.debian.org/debian lenny main contrib non-free
deb-src http://ftp.debian.org/debian lenny main contrib non-free
after the first one
then hold down the trackball and hit o
then hit return (to save the new sources.list)
then hold the trackball and hit x (to exit nano)
then type
apt-get update
apt-get install tightvncserver
apt-get install lxde
That did the trick for me at least.
/Mats
Click to expand...
Click to collapse
yeahhh
now my problem is that debian is restarted all time
error
chroot: can't change root directory to /data/local/mnt: No such file or director
y
Well While mine worked, sorta, I just went with the 1 click debian install thread, made life a lil easier. Heh.
I have looked all over for the answer to this and I am at my wits end...
I have been trying out different roms and themes to find that sweet spot for me, and I think I have now. I know that alt+w on the bootloader only wipes factory data and such, and that if I reformat my sd card it'll wipe everything including my ext2 partition. But I don't want all of that to happen. I want to wipe the apps I have on my sd card but keep the music, movies, etc I have on there without having to uninstall each one thru a file mgr (I have 83 apps right now).
The problem I am having that is making me do this is that when I flash cyan3681 and start over at the adp screen where you tap the android, right after that it starts showing force closes for a number of apps, and it always opens open overclocker and kinda hangs there. On top of all that, at some point, it messed with some apps in my drawer and either won't allow me to access them anymore or it shows the stock apk icon with the little gear and the page behind it.
I just want a fresh start, without having to spend an hour(s?) doing it. Thanks for any help.
run this in terminal
su
rm -rf /system/sd/*
Bzerk1 said:
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Click to expand...
Click to collapse
in recovery console just type
mount /system/sd
rm -rf /system/sd/*
alritewhadeva said:
run this in terminal
su
rm -rf /system/sd/*
Click to expand...
Click to collapse
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Bzerk1 said:
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Click to expand...
Click to collapse
You would be running in recovery console so you would need to use alritewhadeva's method posted a couple posts up:
Do this before the above:
Code:
# mount -o rw /dev/block/mmcblk0p2 /system/sd
Thank you, that worked perfectly.
I am M3 said:
Do this before the above:
Code:
# mount -o rw /dev/block/mmcblk0p2 /system/sd
Click to expand...
Click to collapse
just "/# mount /system/sd" works fine
Adam17 said:
Thank you, that worked perfectly.
Click to expand...
Click to collapse
You're welcome. Please change the thread title to [SOLVED]
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.
something weird happened on my phone when I installed the SuperD 1.9.3 rom. I've never had this problem before, so see if you can help me. I installed Chompsms and Acontacts amongst a variety of other apps. Well, I was texting earlier, when my phone froze. No biggy, I popped the battery out, placed it back in, and turned it on. Well I got the green boxes in place of the the logos for Chomp and Acontacts. I clicked on them and it said that the apps weren't installed? um, ok. I have aps2sd with ext3, so I figure something must have corrupted the file, no biggy, I'll just redownload it. So I go to the market, and it says the program is installed. I click on the program to try to reinstall, and the bottom where it says "open, uninstall" are greyed out. So the app isn't installed, but it is, so I can't uninstall and re-install. Anyone, help please? I really use these 2 apps!
Delete the apk's from /system/sd/
It also sounds like your marketdb file is still there too. I've had this problem with Backup for root users. It'll import the marketdb but sometimes it won't import the APK's. So that leaves you with no apps and the market seeing that you already have it. I'm trying to find where the program is pulling that file, and i'll let you know. If anyone else knows where it's at feel free to jump in.
nolimit78 said:
If anyone else knows where it's at feel free to jump in.
Click to expand...
Click to collapse
/data/data/ I think.
evilkorn said:
/data/data/ I think.
Click to expand...
Click to collapse
That's what I was thinking but I didn't see it there...
While Im still looking for that file, you could also do the following:
Code:
Use switchrom and save your rom
flash a new rom
download the apks that are giving you problems (if its not too many)
use linda to save the apks to your SD card
switchrom back to the old rom
download and use linda to install the apks you saved.
It's not pretty but it'll get the job done.
Had a little time to look at the phone, did you try to delete the folder in /data/data/com.android.vending/?
Goto terminal emulator.
Type - mount -o remount,rw /dev/block/mtdblock3 /system (enter)
Type - rm /data/data/com.android.vending/databases/* (enter)
Type - reboot (enter)
Words in bracket are instructions and not to be typed.
shadowch31 said:
Goto terminal emulator.
Type - mount -o remount,rw /dev/block/mtdblock3 /system (enter)
Type - rm /data/data/com.android.vending/databases/* (enter)
Type - reboot (enter)
Words in bracket are instructions and not to be typed.
Click to expand...
Click to collapse
yeah I found that it was in the vending/databases folder, I just hadn't had time to post until now. Good job!
i had the same problem and it worked...at first the terminal emulator went like 'are you root' and im like whaaat...i have cynogen 4.2.14.1...so had to type su before the 3 lines of codes...it worked
this is app2sd for spica, i'm using xjd1 firmware (eclair 2.1) + root_lkupdate_v3_pda
first, I will not responsible for any damage of your device...
you will need a partitioned sdcard, just use paragon partition manager to create fat32 and ext2 partition, create fat32 first then ext2
it's recommended that you use at least class 4 microsd...
here it is:
#mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl6 /system
#busybox df -h --> make sure /sdcard is on /dev/block//vold/179:1
#cd / --> go to root directory
#mkdir /system/sd
#mount -t ext2 /dev/block/mmcblk0p2 /system/sd
#busybox df -h --> make sure /dev/block/mmcblk0p2 is mounted on /system/sd, if the mounting process fails you can't continue...
#mkdir /system/sd/app
#cd /data/app
#cp * /system/sd/app <-- if you do fresh firmware update, skip this step
#cd /data
#rm -r app
#ln -s /system/sd/app /data/app
basically app2sd is ended here, but you will lost app2sd every phone reboots, so you'll need to edit install-recovery.sh, add "mount -t ext2 /dev/block/mmcblk0p2 /system/sd" in the last line...or simply download edited install-recovery.sh here: http://cid-c4b7e1a837cca944.skydrive.live.com/self.aspx/.Public/install-recovery.sh
install-recovery.sh is meant to autorun app2sd when phone reboots...
#cd /system
#chmod 0777 etc
#mv /system/etc/install-recovery.sh /system/etc/install-recovery.old --> backup the oiriginal install-recovery.sh
#exit
$exit
prompt>adb push install-recovery.sh /system/etc --> push downloaded install-recovery.sh to spica, don't turn off phone if pushing install-recovery fails!!!
if you wan't to turn off your phone you'll need to type:
#mv /system/etc/install-recovery.old /system/etc/install-recovery.sh
to restore install-recovery.sh to the original one...then you can safely turn off your spica...
prompt>adb shell
$su
#cd /system
#chmod 0755 etc
#chmod 0755 etc/install-recovery.sh
reboot to check if it works...
I will try to answer any questions you may have about the tut here but be forewarned, I'm no guru when it comes to this stuff. Therefore, if a question is asked that I can't answer, it would be appreciated if someone else who can does so.
I successfully allocated 560mb for /data/app
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this credited to mboisker
Update:
it seems live wallpaper not working for me after using app2sd, it always force closed
don't know the problem, maybe the microsd is causing the problem...
nice work!!!
please ignore
ok so i have found me a free copy of paragon and have partitioned to fat32. how would i then create ext2 on the sdcard? ive been looking through the program and am not seeing how to creat ext2. Suggestions? I use win7 32bit. Thanks
johnnywhojr said:
ok so i have found me a free copy of paragon and have partitioned to fat32. how would i then create ext2 on the sdcard? ive been looking through the program and am not seeing how to creat ext2. Suggestions? I use win7 32bit. Thanks
Click to expand...
Click to collapse
first you need to delete all partition...
now, create fat32 partition first, specify how much mb you want to create for fat32
and then create partition again, choose ext2 for file system...
that's all...
darkcell said:
first you need to delete all partition...
now, create fat32 partition first, specify how much mb you want to create for fat32
and then create partition again, choose ext2 for file system...
that's all...
Click to expand...
Click to collapse
i have allocated 5gb for fat32. but when i attempt to partition to ext2, my only choices are 'not formatted' or 'fat16' or 'fat32' or 'apple hfs'
so im close but just not there. lol
johnnywhojr said:
i have allocated 5gb for fat32. but when i attempt to partition to ext2, my only choices are 'not formatted' or 'fat16' or 'fat32' or 'apple hfs'
so im close but just not there. lol
Click to expand...
Click to collapse
what version your paragon?
try to install version 10
darkcell said:
what version your paragon?
try to install version 10
Click to expand...
Click to collapse
ive downloaded 2010 free edition and demo edition. i am also inprocess of 9.0 professional. so, once that is done and installed i will try again. looks like a little trial and error til i get it. thanks for the replys and point in the right direction!
UPDATE: So i dl'd 9.0 pro. and it worked to create ext2 on the sdcard. so now i will attempt this again and go from there. again thanks for the help.
2nd update:
#mkdir /system/sd/app
#cd /data/app
#cp * /system/sd/app <-- if you do fresh firmware update, skip this step
#cd /data
#rm -r app
#ln -s /system/sd/app /data/app
got to #rm -r app and it deleted all my apps and wouldnt allow me to carry on. so i would assume that this should be done using adb?
That's wonderful !
Would it be possible to store some apps on the SD card, and let others in the phone's memory ?
Thanks in advance
johnnywhojr said:
ive downloaded 2010 free edition and demo edition. i am also inprocess of 9.0 professional. so, once that is done and installed i will try again. looks like a little trial and error til i get it. thanks for the replys and point in the right direction!
UPDATE: So i dl'd 9.0 pro. and it worked to create ext2 on the sdcard. so now i will attempt this again and go from there. again thanks for the help.
2nd update:
#mkdir /system/sd/app
#cd /data/app
#cp * /system/sd/app <-- if you do fresh firmware update, skip this step
#cd /data
#rm -r app
#ln -s /system/sd/app /data/app
got to #rm -r app and it deleted all my apps and wouldnt allow me to carry on. so i would assume that this should be done using adb?
Click to expand...
Click to collapse
no, before you rm -r app, you should cp * /system/sd/app as told in above steps, so the applications still there in /system/sd/app, and now link the app to /data/app/ with ln -s /system/sd/app /data/app
so the /data/app is basically just a link to /system/sd/app now since it has been removed...
That's wonderful !
Would it be possible to store some apps on the SD card, and let others in the phone's memory ?
Thanks in advance
Click to expand...
Click to collapse
no it's not possible, the apps only installed on sdcard now...
darkcell said:
no, before you rm -r app, you should cp * /system/sd/app as told in above steps, so the applications still there in /system/sd/app, and now link the app to /data/app/ with ln -s /system/sd/app /data/app
so the /data/app is basically just a link to /system/sd/app now since it has been removed...
Click to expand...
Click to collapse
I printed the instructions out and followed step by step. i wi ll however try again. lol i really dont mind flashing my phone again. i like the trial and error part. i did exactly as mentioned.
d
UPDATE: Just attempted this again and again my phone crashed. are you sure its rm first then ln or is it ln first then rm? also does it matter that i'm using a latest firmware from samsung-firmwares?
lol i think i know what happened. is that it may have copiued my files over before i could ln them
johnnywhojr said:
lol i think i know what happened. is that it may have copiued my files over before i could ln them
Click to expand...
Click to collapse
No, the instructions are correct. They copy the files over, remove them from their original location & finally link the now empty source directory to point to the new app filled directory on the sdcard.
If you tried to do it the other way around & created the link first you'd no longer be able to access the apps in /data/app in order to copy them to the sd card.
Why don't you try the process from scratch after a nandroid restore & then cut & paste the entire sequence of commands & their output into this thread?
lol...too late. have already reflashed. may attempt again. i usuallly delete all stock apps anyways to clear space using root explorer or through connectbot. what my problem was as soon as i typed in rm -r app, everything went funny and lost my terminal. so i could ln -s /system/sd/app /data/app. so not sure why that happened. lol, once i get that figured, i still need to figure out the next step. lol i dont mind the trial and error. its a lot more exciting than a damn blackberry or iphone.
johnnywhojr said:
lol...too late. have already reflashed. may attempt again. i usuallly delete all stock apps anyways to clear space using root explorer or through connectbot. what my problem was as soon as i typed in rm -r app, everything went funny and lost my terminal. so i could ln -s /system/sd/app /data/app. so not sure why that happened. lol, once i get that figured, i still need to figure out the next step. lol i dont mind the trial and error. its a lot more exciting than a damn blackberry or iphone.
Click to expand...
Click to collapse
do you use terminal in the phone? or adb shell via PC?
terminal in the phone. i havent figured out adb. i do however have sdk installed. lol havent had this spica more than a month and its been flashed about 10 times...lolol. i'm learning as i go. slowly figuring this out.
johnnywhojr said:
terminal in the phone. i havent figured out adb. i do however have sdk installed. lol havent had this spica more than a month and its been flashed about 10 times...lolol. i'm learning as i go. slowly figuring this out.
Click to expand...
Click to collapse
you can't do app2sd via phone terminal, it's for adb shell...
lol yup found that out. twice. lol
darkcell said:
you can't do app2sd via phone terminal, it's for adb shell...
Click to expand...
Click to collapse
What makes you think that? All it involves is moving some files, creating a symbolic link & editing one other file. That said, I'd use adb if I was at my PC, if only because it gives me a proper keyboard & decent sized terminal.
cauli said:
What makes you think that? All it involves is moving some files, creating a symbolic link & editing one other file. That said, I'd use adb if I was at my PC, if only because it gives me a proper keyboard & decent sized terminal.
Click to expand...
Click to collapse
Would you mind explaining how this could be done using terminal without losing anything?