Apps2SD Question - Hero CDMA Q&A, Help & Troubleshooting

Hello,
I installed appsToSD, did everything as it says in this tutorial:
http://forum.xda-developers.com/showthread.php?p=5542400
Seems to be working, but
i can see all my apps in both
/data/app/
/system/sd/app
Also, when i'm trying to open AppsToSD, it says that i need to follow the tutorial above
i'm confused, please advise

so, basically you would like to know if apps2sd is working correctly?
the first thing i did was search this sub-forum (you could search google also, this is not strictly a CDMA hero related question) and i came up with this!
the question is "is apps2sd working?" so i searched apps2sd working and this popped up!
http://forum.xda-developers.com/showthread.php?t=603052&highlight=apps2sd+working
its theraginasian's root cheat sheet, its in the guide wiki at the very top of the 1st page. useful information all in one easy to use place!

thedudejdog, i have checked that cheat sheet before,
ls /system/sd/app/ lists applications, meaning apps2sd is working properly
but ls /data/app/ lists them too, and that what confuses me
Just wanted to clarify it for myself

will22 said:
thedudejdog, i have checked that cheat sheet before,
ls /system/sd/app/ lists applications, meaning apps2sd is working properly
but ls /data/app/ lists them too, and that what confuses me
Just wanted to clarify it for myself
Click to expand...
Click to collapse
Code:
cd /data/app
pwd
if it returns /system/sd/app, it's working. If it displays /data/app, it's not.

will22 said:
thedudejdog, i have checked that cheat sheet before,
ls /system/sd/app/ lists applications, meaning apps2sd is working properly
but ls /data/app/ lists them too, and that what confuses me
Just wanted to clarify it for myself
Click to expand...
Click to collapse
That's because there is a symlink to trick your phone unto thinking your apps are stored there.
How's your internal memory?

ohhh, duh!
Memory jumped from 25 to 88 free, so everything is fine.
Thank you for the reply

Related

Ran apps2sd and all apps disappeared... (superhero 3)

I'm pretty sure that they didn't just disappear all together... but after I ran the included apps2sd app on SuperHero v3... the apps probably got moved to the sd card but the link is probably broken to it... how can I fix this?
http://www.mediafire.com/?z05dzymmgtt
this is not a fix but will let you check /system/sd/ to make sure file are there
well thats interesting... they are not there... the folders exist... but the apps are not there... all I see in /system/sd/app is Astro and root explorer apks... so did all of them get erased???
rigamrts said:
http://www.mediafire.com/?wtfdude
this is not a fix but will let you check /system/sd/ to make sure file are there
Click to expand...
Click to collapse
Wrong type of forum for sharing warez. The program is £1.20... Buy it if you like it.
For the OP -
Code:
su
cd /system/sd
ls -al
Typing that in Terminal Emulator would do the same thing as the program this guy linked to you.
It sounds like the a2sd script you tried didn't complete successfully. Are your programs under /system/app ?

New recovery script "utility" / AUTO PARTITION!!!

MORE INFO IN POST 3 HERE
I am happy to announce the release of my new utility script. This script currently has 11 functions as noted below. It runs in recovery with the help of sdutility which is another script that procures the necessary permissions and file location for some of the features. Some of these options are copied from Cyanogen's various scripts located in his recovery image.
Option 11 will ask you what size to make the swap and ext partitions and then it will partition your sdcard for you using the remaining space for fat32.
The menu looks like this:
Code:
1) Enable SDcard to USB
2) Disable SDcard to USB
3) Upgrade ext2 > ext3
4) Upgrade ext3 > ext4
5) Fix Permissions
6) Repair Filesystem
7) Clear Dalvik-Cache
8) Clear ext partition
9) Backup APPS on ext to FAT32
10) Restore APPS from FAT32 to ext
11) Partition SDcard
Q) Quit Utiltity Menu
Enter Number> _
i am going to get you samuel jackson's wallet from pulp fiction because that is what you are with these scripts.
I think these scripts, along with miketaylor00's fix_rotate script, need to be included in every ROMs /system/bin folders.
Btw, why the . in "./sdcard/sdutility"? I'll probably just move these scripts over to the /system/bin folder on my phone for consistency.
That is an execute command and is required because /sdcard is not in $PATH. sdutility copies the utility script which is the actual script doing all the work to /sbin, setting permissions to 755, and launching it. The point of all of that is with the script on the sdcard it can't partition it without deleting itself.
Fingerlickin said:
That is an execute command and is required because /sdcard is not in $PATH. sdutility copies the utility script which is the actual script doing all the work to /sbin, setting permissions to 755, and launching it. The point of all of that is with the script on the sdcard it can't partition it without deleting itself.
Click to expand...
Click to collapse
I follow... guess I can just keep it on SDcard to run it from.
I looked at the files and figured that's how it worked... I did copy utility to my system/bin and ran it from recovery console. I even backed up my apps using option 9. It gave me an access denied error from line 173 (the fi command in the script). However, it seems it did back up the apps.
dude, this is awesome. im gunna try it out later... using my ubuntu partition.
anyways, when you backup your apps from the ext partition, does it copy over the google apps as well?
backing up the apps copies the /system/sd/app folder to /sdcard/appbackup.
To the best of my knowledge this is NOT a violation because you are backing up your OWN apps including any closed source apps. As long as you don't distribute these apps you are fine.
P.S. I bought a movie tonight and immediately put it in my computer and ripped it. My reason for this is my computer stores all my movies and my xbox streams them to my TV. Nothing wrong with this because I am not distributing the movie to other people.
Fingerlickin said:
backing up the apps copies the /system/sd/app folder to /sdcard/appbackup.
To the best of my knowledge this is NOT a violation because you are backing up your OWN apps including any closed source apps. As long as you don't distribute these apps you are fine.
P.S. I bought a movie tonight and immediately put it in my computer and ripped it. My reason for this is my computer stores all my movies and my xbox streams them to my TV. Nothing wrong with this because I am not distributing the movie to other people.
Click to expand...
Click to collapse
hey finger, let your xbox stream video to my tv as well.
Fingerlickin said:
backing up the apps copies the /system/sd/app folder to /sdcard/appbackup.
Click to expand...
Click to collapse
I feel the urge to clarify this.
mounts both ext and fat32
check to see if both folders exist and creates /sdcard/appbackup if it doesn't
THEN it copies the CONTENTS OF /system/sd/app to /sdcard/appbackup
but david, I'm a good law abiding citizen and that would be illegal.
catch me on gtalk
So has anyone else had the access denied error referencing line 173?
Fingerlickin... any chance you could work with Cyanogen to integrate this with his recovery? I'm thinking it's time for a Cyanogen Recovery v1.5.
Great work fingerlickin
Unasari, the orig plan for this was to make cyan's recovery more noob friendly, hopefully cyan will roll this into his new recovery and add trackball support to it for the mt3g users. Don't be surpised if you see a wrecking crew modified recovey image
Great work I see all of us got something to keep us busy now.
I am looking into the line 173 error now. We need MT3G support before cyan will touch it, working on that too.
I can't recreate the error at line 173. Lets see if others have the problem as well.
Updated to v1.1 see post 3 HERE for details.
This has a possible fix for your line 173 error. I didn't anticipate someone trying to backup apps when they don't have any apps installed on the ext or you try to backup apps after partitioning the card because there obviously isn't a /system/sd/app directory in this case. I have no idea if this will fix your problem or not.
I also included support for ADB (MT3G) YAY
Updated again.
v1.2
updated to fix_permissions v1.29
fix_permissions always has the -r option

[APP] Gallery 3D - Terminal Install

I tried searching for this type of install and couldn't find it. After re-flashing cyanogen 5.0.7 stable, I lost my 3d gallery again. I'm at work right now and don't have access to ADB so I had to figure out how to install this on-the-go, without having double galleries. These instructions can be used in terminal emulator without a system reboot. Make sure to download the attached gallery.apk and place it on the root of your sd card.
Code:
1. su (allows root permission)
2. mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system (make the system folder writeable)
3. rm /system/app/Gallery.apk (removes system Gallery)
4. cat /sdcard/Gallery.apk > /system/app/Gallery.apk (copies 3D Gallery to system)
5. enjoy
Help!!!
Permisson denied (are you root?)
yes i am... why doesn't it work?
s.aldrete said:
Permisson denied (are you root?)
yes i am... why doesn't it work?
Click to expand...
Click to collapse
before entering the above commands, try first entering "su", then when you see the # symbol enter in the above command.
so it may look like this, not sure if will work but you can try it:
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# rm /system/app/Gallery.apk
# cat /sdcard/Gallery.apk > /system/app/Gallery.apk
NguyenHuu said:
before entering the above commands, try first entering "su", then when you see the # symbol enter in the above command.
so it may look like this, not sure if will work but you can try it:
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# rm /system/app/Gallery.apk
# cat /sdcard/Gallery.apk > /system/app/Gallery.apk
Click to expand...
Click to collapse
Thanks for helping. I just added that step in the original post. I forgot all about it...
Can we use something like linda to install this and keep both galleries?
Yes you can have both galleries if you install using Astro or Linda but you'll get 2 identical galleries and thus arousing identification problems.
pziv2 said:
Yes you can have both galleries if you install using Astro or Linda but you'll get 2 identical galleries and thus arousing identification problems.
Click to expand...
Click to collapse
What do you mean by identification problems?
thank you man finally a simple way to push apps without using adb interface (that **** is hard when you have no idea what to do)
FatBoyExtraordinaire said:
What do you mean by identification problems?
Click to expand...
Click to collapse
on your device it will show two "Gallery" icons/apps. You wont be able to tell which is which because the 3D one wasnt modded and renamed. So you dont have for example seperate "Gallery" and "3D Gallery" labels, you just have two "Gallery" icons. hope that makes sense. if you look around the forums, you can rip out the modded 3D gallery from one of the roms so it can run side by side with the stock gallery and be properly labeled. maybe rip it out of one of cyanogen's old roms when he had them both before he removed the 3d one.
NguyenHuu said:
on your device it will show two "Gallery" icons/apps. You wont be able to tell which is which because the 3D one wasnt modded and renamed. So you dont have for example seperate "Gallery" and "3D Gallery" labels, you just have two "Gallery" icons. hope that makes sense. if you look around the forums, you can rip out the modded 3D gallery from one of the roms so it can run side by side with the stock gallery and be properly labeled. maybe rip it out of one of cyanogen's old roms when he had them both before he removed the 3d one.
Click to expand...
Click to collapse
I understand what you mean now, thanks for the explanation. Quick question though since I'm kind of novice at certain things, when you say rip out the modded one, is it as simple as opening up the zip, finding the app, taking it out, and then using Linda or such to install it beside the original? And do you know which test version it was when Cyan stopped using the 3d gallery? Thanks in advance.
Edit: I took the apk from Superbad, but it still had the same icon, do you know a specific rom that has a modded icon?
Edit #2: Nevermind, I was able to find 2 different icon-ed versions. Now just a matter of deciding which one I like most.
FatBoyExtraordinaire said:
Edit #2: Nevermind, I was able to find 2 different icon-ed versions. Now just a matter of deciding which one I like most.
Click to expand...
Click to collapse
Dude, can you possibly post the rom/s you took the iconed version/s from, or post the apk's on here as im interested in this myself.
Thanks
Trauma
yay! Thanks a lot! Works marvelously. Now if only somebody were to be able to speed it up, all my dreams would be fulfilled.
traumatism said:
Dude, can you possibly post the rom/s you took the iconed version/s from, or post the apk's on here as im interested in this myself.
Thanks
Trauma
Click to expand...
Click to collapse
No problem, I got it from right here: http://forum.cyanogenmod.com/index.php?/topic/145-gallery-3d-working-version/page__p__1398#entry1398
Just grab the gallery3d zip, take the apk out of it, and just use linda or astro to install. That's what I did.
FatBoyExtraordinaire said:
No problem, I got it from right here: http://forum.cyanogenmod.com/index.php?/topic/145-gallery-3d-working-version/page__p__1398#entry1398
Just grab the gallery3d zip, take the apk out of it, and just use linda or astro to install. That's what I did.
Click to expand...
Click to collapse
nice one dude thanks for that.
makes things easier if lots of images are in a folder
traumatism said:
nice one dude thanks for that.
makes things easier if lots of images are in a folder
Click to expand...
Click to collapse
Not a problem, glad I could help. I actually find the 3d gallery to be faster than the legacy one for me. I have 1200 images on my phone ( I pretty much site ripped G1-Walls and put it on my SD ) and after the initial boot when it creates its thumbs and other cache files, it flies for me. Plus it looks so damn good!
NP
...glad I could contribute to the android movement. F*** iPhone!
SG_Shadow said:
...glad I could contribute to the android movement. F*** iPhone!
Click to expand...
Click to collapse
Hell yeah!!

How to use FROYO with OLD A2SD Method

Froyo sux....with apps i get all types of complications...ive done everything re-format and used all methods...no A2SD method works including Google's. I want the Old Method on the Ext.....but not even Rodriguez' works...anyone solutions or people suffering? cuz its either i cant put all my apps or they dont install....i even had a 'Contact Storage' problem where it bloated so big...my phone said i had low memory
+1
Anyone has a working solution for FRF50?
how bout you wait till froyo source is out then when can have all kinds of goodies
teflon252 said:
Froyo sux....with apps i get all types of complications...ive done everything re-format and used all methods...no A2SD method works including Google's. I want the Old Method on the Ext.....but not even Rodriguez' works...anyone solutions or people suffering? cuz its either i cant put all my apps or they dont install....i even had a 'Contact Storage' problem where it bloated so big...my phone said i had low memory
Click to expand...
Click to collapse
Try this rom
http://forum.xda-developers.com/showthread.php?t=644438
I'm not sure but I heard that Froyo doesn't like EXT partitions ...
Perhaps the kernel on the upper link should work. Give a try =)
i'm trying it now....let u kno how it works..and thanks for the suggestions
NO LUCK....DOESNT EVEN READ EXT PARTITION...I DUNNO what the hell KING is talking about
I have stock rooted froyo, and the apps that can be pushed to the sd card go to the fat32 part.
I have not tried using a2sd yet.
I will try pushing an app thru adb tonight to sd and see if it installs.
Update: I installed a couple of apps to the sdcard with ADB. One I don't use anymore, and one that I had installed from the market. I had to uninstall Google Earth, but I now have it installed on the sdcard and it is working just as well as if it were on the phone. Also tried Tower Raiders Free, and it also installed to the sdcard and plays with no problems. So I don't know if froyo needs the ext partition or not, but the newest ADB release does not in order for apps to work.
the benefit of EXT is space and i already have so many apps installed already from previous....the new method allows me only half and i would have to re-install all and for some reason...regular froyo doesnt sit well with my phone....like in 'manage application' it just says calculating...and i can never install certain apps
paul's (MoDaCo) r16 + have apps2sd on ext partition as an option.. i've been using it on ext4 since r16 dropped have about 75 apps including google earth and flash and have 135mb left on internal .. advanced task manager says 223mb with 20 apps running
did u have to activate the option? and how?
no .. its automatic... there are 2 ways... google (froyo) crappy apps2sd and our way of doing things.. just have your sd card fat32 /ext2/3/4 and thats it .. disregard the google froyo a2sd
You can try Darktremor A2SD and see if that works.
The rom you are on would need to have some form of a2sd launch command in the init.rc. In the old stuff, it would be a matter of putting the following lines in the init.rc:
1. Look for a line called class_start default. Add the next two lines above the class_start line:
start a2sd
on property:cm.filesystem.ready=1
2. Go to the end of the file and type the following:
service a2sd /system/bin/logwrapper /system/bin/sh /system/bin/a2sd
disabled
oneshot
Now, I'm not sure about Froyo and its Apps2SD...I'm not sure if you need to find the lines in init.rc (assuming they are actually in that file) and comment them out.
But try the program and see if it works.
http://www.darktremor.info/files/a2sd/a2sd-2.7-2-signed.zip
teflon252 said:
Froyo sux....with apps i get all types of complications...ive done everything re-format and used all methods...no A2SD method works including Google's. I want the Old Method on the Ext.....but not even Rodriguez' works...anyone solutions or people suffering? cuz its either i cant put all my apps or they dont install....i even had a 'Contact Storage' problem where it bloated so big...my phone said i had low memory
Click to expand...
Click to collapse
+1 (topic)
Anyone tried the above post on froyo?
A link to step by step instructions will be appreciated.
Some steps here: http://wiki.cyanogenmod.com/index.php/Apps2SD but dont know what else is needed for froyo.
I want this because my /data partition is completely out of space, and no more apps can be moved using the froyo method.
Forcing all apps to install by default on the sd card is buggy at best.
update: works, see the below post, http://forum.xda-developers.com/showpost.php?p=6952103&postcount=16
Is SWAP partition still necessary ?
I've read that swap is not needed. Works without one for me
@britoso - i see you talk of this file - a2sd-2.7-update3-signed.zip - is that a rom?
milomak said:
@britoso - i see you talk of this file - a2sd-2.7-update3-signed.zip - is that a rom?
Click to expand...
Click to collapse
its a flashable update that installs the a2sd components to your system.
Here is the thread, first message has instructions: http://forum.xda-developers.com/showthread.php?t=670087
britoso said:
+1 (topic)
Anyone tried the above post on froyo?
A link to step by step instructions will be appreciated.
Click to expand...
Click to collapse
just wanted to note that this works fine on Froyo FRF83 too.
I used Paul Obrien's FRF83 rooted, deodexed rom.
1)nandroid+ext
2)flash frf83
3)flash apps2sd
4)reboot
5)bootloop!
to fix it:
Code:
adb remount
adb shell mkdir /system/sd
adb shell
/system/bin/a2sd install
a2sd repair
a2sd check
6)success!
edit: it does not start automatically on reboot, flash leofroyo's boot.img in bootloader mode to fix it
fastboot flash boot leofroyoboot.img
Click to expand...
Click to collapse

[Q] can't edit /system/app files. not enough space??

hello everyone again!..today I have a puzzling question for you to help me with
today I rooted and flashed MIUI on my Gf's Droid 1 (Droid OG?). Since she came from an iPhone (and i successfully convinced her to go back to her old Android device)...I figured MIUI would be a good transition.
...Well..I have a problem...
I want to change the play store to a play store mod to where it's not device filtered a Google Play Store Modded apk...
....and change that broken and useless MIUI search and replace it with google search. And there is a way to do it.
my problem is that both of these processes require /system/app being edited...but when I copy or paste a file in /system is not enough space in the "/system" partition???
ROOT EXPLORER says: I have 2.15mb free of 138.22mb
SOLID EXPLORER says: I have 4kb left
I'VE SET ALL FOLDERS IN "SYSTEM" TO CHECK ALL PERMISSIONS AND SET SYSTEM TO R/W. and even used the R/W App in the play store...there is never enough space!...originally coming from Jelly Bean for Droid OG..I figured the ROM change would give me more space..it's all the same with any ROM I use...I even formatted everything individually in CWM..i'm not a noob or dummy with this and searched the forums first before requesting assistance
Is this just a internal memory limitation that comes with the phone?...if so...I'm very disappointed..but not surprised..due to it being one of the first Verizon android devices..(hell..I'm surprised I could get jelly bean on it!)
OR..is there a way where I can allocate more partition space so "system" won't be so cramped??...
EDIT: it says I need BUSYBOX. will install and report back. WON'T INSTALL.
Thanks for your concern = ]
guess nobody has a clue or doesn't care about the Droid OG anymore
I'm a Milestone user (europian version of Droid) so I'm not too familiar with the Droid, but on thing is common in these devices.
The free space on the internal memory is very limited. If you type in the Terminal Emulator the df command, you can check how much free space you actually have.
One other thing, maybe you should ask around in the droid development section. More people read those threads.
Erovia said:
I'm a Milestone user (europian version of Droid) so I'm not too familiar with the Droid, but on thing is common in these devices.
The free space on the internal memory is very limited. If you type in the Terminal Emulator the df command, you can check how much free space you actually have.
One other thing, maybe you should ask around in the droid development section. More people read those threads.
Click to expand...
Click to collapse
it's against XDA policy to ask questions in the "Development" section. Or else I would have done that
Terminal emulator command "df' says that I have 98% used in the "system" partition...holy balls!..is there anyway to make that smaller??
You could delete stuff like LiveWallpapers.apk from /system/app or some ringtones from idontknowwhereexactly...
Eiertschik said:
You could delete stuff like LiveWallpapers.apk from /system/app or some ringtones from idontknowwhereexactly...
Click to expand...
Click to collapse
thanks!...will do that..anything else that I can remove?
Basically you can remove everything you don't need - if you know that you don't...

Categories

Resources