How can I make sure Apps2SD is working? - G1 Q&A, Help & Troubleshooting

I am running the SuperD donut rom. People have had trouble with Apps2SD not being active. I know there is something I can type into terminal to check if it is running, but I do not know what it is. I have searched, but the search on XDA does not work very well.

The only people with trouble are the ones using EXT4 which is the slowest but some say it has more feats than ext2.

Isn't there a terminal command that I can do that will confirm it is running though?

mekkelrichards said:
Isn't there a terminal command that I can do that will confirm it is running though?
Click to expand...
Click to collapse
No, check how much space you've used in phone storage

Related

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

Noobie question

so i managed to root my g1....now when i install apps how do i know that its installing in the memory card and not the phone memory
2:what are the full advantages of rooting
3:anythin i should know since i did my rootin
1. Type in terminal
Code:
busybox df -h
and look in your /system/sd, if any of it used - then you're doing it right.
2. Tethering, apps2sd, Ram swap, overclocking, different roms, etc,
3. Search before asking, google is your friend, post in the right forum (which you did). You can figure out everything else else.
Good luck.
borodin1 said:
1. Type in terminal
Code:
busybox df -h
and look in your /system/sd, if any of it used - then you're doing it right.
2. Tethering, apps2sd, Ram swap, overclocking, different roms, etc,
3. Search before asking, google is your friend, post in the right forum (which you did). You can figure out everything else else.
Good luck.
Click to expand...
Click to collapse
alrigth actually i searched but i didnt have the right question so i wasnt gettin the answer
thanx
borodin1 said:
1. Type in terminal
Code:
busybox df -h
and look in your /system/sd, if any of it used - then you're doing it right.
2. Tethering, apps2sd, Ram swap, overclocking, different roms, etc,
3. Search before asking, google is your friend, post in the right forum (which you did). You can figure out everything else else.
Good luck.
Click to expand...
Click to collapse
I get permission denied
what do you get if you type
Code:
su
and which rom are on you?
borodin1 said:
what do you get if you type
Code:
su
and which rom are on you?
Click to expand...
Click to collapse
it asks me if i want to allow or deny
Allow it (and check the mark to always to it, you'll get sick of allowing it every time).
See if works
Code:
su
busybox df-h
This is weird though....this does not modify anything else... just gives you the output of your partitions.... works for me without su prompt.
borodin1 said:
Allow it (and check the mark to always to it, you'll get sick of allowing it every time).
See if works
Code:
su
busybox df-h
This is weird though....this does not modify anything else... just gives you the output of your partitions.... works for me without su prompt.
Click to expand...
Click to collapse
now it says busybox not found...
i completed everythin from here
http://theunlockr.com/2010/04/26/how-to-root-the-htc-g1dream/
Which rom did you flash once you rooted your phone? This will determine if you have busybox utility (which is helpfull)
OK.... here's another one
Code:
ls /system/sd/app
ls /data/app
That will give you a list of apps installed in each partition (/data/app is internal, /system/sd/app is external)
Doesn't quite give you the size or free space in each but gives you at least some idea of where your apps are going.
Good luck.
borodin1 said:
Which rom did you flash once you rooted your phone? This will determine if you have busybox utility (which is helpfull)
OK.... here's another one
Code:
ls /system/sd/app
ls /data/app
That will give you a list of apps installed in each partition (/data/app is internal, /system/sd/app is external)
Doesn't quite give you the size or free space in each but gives you at least some idea of where your apps are going.
Good luck.
Click to expand...
Click to collapse
i flashed the generic rom from unlockr
So it may not have that utility... sorry I'm not about to look through that whole website just to find out. And it's not a big deal for most people anyway. I'm sure you will not be on that rom too long anyway .
borodin1 said:
So it may not have that utility... sorry I'm not about to look through that whole website just to find out. And it's not a big deal for most people anyway. I'm sure you will not be on that rom too long anyway .
Click to expand...
Click to collapse
thats ok actually i think i need to downgrade to 1.5 again cuz i'm not even able to instal other roms it just aborts

[Q] ADB not recognizing my Nook (Mac OSX, Bootable HC v4)

Subject largely says it all. ADB is running fine through terminal, but when I run the adb devices command, no results are returned. Trying to run the install script to get the market up and running.
Any help? And the old cliches ring true here "I've searched, and failed" for quite some time. The only similar result I've seen on here just wound up "working" for someone.
Cheers.
ADB wasn't recongnizing my Nook Color either so I downloaded the adbWireless app from the marketplace. Hope this helps!
ChickenGod said:
ADB wasn't recongnizing my Nook Color either so I downloaded the adbWireless app from the marketplace. Hope this helps!
Click to expand...
Click to collapse
Unfortunately until i have an adb connection, i cannot install the market, which is a shame considering i really enjoy the HC preview.
When had the same problem w nook color running CM7, somebody told me to put 0x2080 in .android/adb_usb.ini. it worked first time I tried. Next day, it did not. After I checked off Stay Awake (under Application,Development), it works since.
Well why dont you use the terminal that -should- be on the HCv4... you can use busybox to push and do other things...
What are you trying to do?
arrjaytea said:
Subject largely says it all. ADB is running fine through terminal, but when I run the adb devices command, no results are returned. Trying to run the install script to get the market up and running.
Any help? And the old cliches ring true here "I've searched, and failed" for quite some time. The only similar result I've seen on here just wound up "working" for someone.
Cheers.
Click to expand...
Click to collapse
Just use Auto-nooter and you'll get the market
ChickenGod said:
Well why dont you use the terminal that -should- be on the HCv4... you can use busybox to push and do other things...
What are you trying to do?
Click to expand...
Click to collapse
pdanders said:
Just use Auto-nooter and you'll get the market
Click to expand...
Click to collapse
I appreciate the attempts to help, guys - but I did think I made it somewhat clear in the OP that I was trying to load the market via the widely circulated ADB script. I don't know if busybox is an option - and Auto-nooter is definitely not.
Regardless, thanks again - and I did just decide to go with the flashable HcV4 as it included the market and gapps bundle. Now if only we can get that new fangled gmail up and running... though I know that's wishful thinking at the moment.
I had this exact same problem. No matter what I tried, I couldn't get ADB to work on my MacBook with HC v4. So I booted into Windows using parallel and that worked, so I have been using windows thus far to ADB into the Nook

[Q] partition SD on Milestone w/parted - SWAP enabling (brainstorming)

Hi!
Last 48h I've been digging forums for an answer. Is it possible to partition SD Card in Milestone using "parted" and THIS guide?
The problem comes with one little thing:
Code:
C:\Users\DrNO>adb shell
Milestone-Recovery:/
# parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
bash: parted: command not found
Milestone-Recovery:/
# exit
After sleepless night I'm richer in knowledge that (probably) parted is not included in AOR (it's 3.3 that I'm using) [as zeppelinrox posted HERE]
OK, 51dusty used CM recovery, I've tried CMR2.5.0.7, with little success. Maybe I've used it the wrong way but hey!... First I had trouble finding it, then tried to install/flash it through "ROM Manager 4.x", ok it said that's done, reboot into recovery > "Error". Then I looked into the package it looked like an "update" to apply in AOR. It worked, but "adb shell" freezes, it unfreezes after closing CMR. wtf... it was 3 a.m.
1. Am I doing something wrong?
2. Is it possible to implement "parted" in AOR
3. Is it possible to use mentioned above guide on Milestone?
The reason is to part SD "the right way" and split it: FAT32+EXT2(3)+SWAP
Please, help
You can't have swap on Milestone.
And... that's the guide that I used as well... I made a step by step post about it... see my Handy Dandy Fixes thread I linked to it in there... I think I called it "The Hard Way" but ended up being fun...
Oh... and it took me a whole weekend to get it right!
ok, i'll try that anyway, also I'll try to "mount" swap using app called "A2SDGUI", it did miracles with ext2 and it has swap initialing capabilities. when I try to punch it, it flashes short text for half a sec, something about not finding suitable partition, if I get it right, it might work...
two additional Qs:
1. call me retarded but where do I find proper "parted"?
2. is there a windows app that can part disk and make not only ext but swap too? currently I don't have any linux system running, I could install one or make live CD but it would be only for one thing only so I think that you can understand my lazyness ;P
DrNO[PL] said:
2. is there a windows app that can part disk and make not only ext but swap too? currently I don't have any linux system running, I could install one or make live CD but it would be only for one thing only so I think that you can understand my lazyness ;P
Click to expand...
Click to collapse
http://www.partitionwizard.com/free-partition-manager.html
Guide to using Minitool partition wizard.
http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning
DrNO[PL] said:
1. call me retarded but where do I find proper "parted"?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=12361294&postcount=842
thank you Sir for those above and more that I've already read around forum search module is not so great as I thought, because it never returned that post withw "parted".
will report soon how's the battle evolving...
Good luck.
ok then...
parted worked, SD8GB splited nicely:
FAT32 7,25GB
EXT3 512MB
SWAP 32GB
that was easy
next thing "apps2ext", reinstalled Darktremor script, restored ext2 backup, worked, mounted FAT, copied backup, reboot, OS did't even noticed any change (except cutting ext2 by a half and upgrading to ext3, in a good way). then swap. first i've tried some apps, like DroidSwap (only FC's), then Swapper2, which found swap partition, but is still limited by the "f" kernel. formating went OK, (un)mounting part. FAILed. then I've started messing arround > in short, bricked soft :] nothing serious, only /system could not mount, thank you nandroid you exist. now I'm back to the point after spliting SD, having Firefox weighting something like 0.8GB in memory with opened tabs about swap vs milestone. after much reading I'll try more serious approach, more digging, lower coding, no apps, console yes, wish me luck.
quick question, people keep saying linux-swap on milestone is not possible, therefore why are you still including it?
I believe it's possible but the commands the set it up / use it are unknown. It doesn't follow the standard "linux way".
Someone please correct me if I'm wrong.
Swap relies on the kernel being compiled with CONFIG_SWAP. Unfortunately for us, Motorola did not enable swap in the kernels they release. Coupled with the kernel verification scheme, we are unable to swap the kernel with one that has CONFIG_SWAP enabled.
If you do a mkswap and swapon on Milestone, you'd get "Not Implemented". So, swap support is not possible. I'd like to be proven wrong though.
Sent from my Milestone using XDA App
swap enable = impossible, dude..
If you read some threads at droidforums, alot of guys don't use swap anyway as it kills the sd card quicker.
Compcache is more interesting... you can squeeze more apps in the same amount of free ram via compression.
The debate is that it takes time to uncompress the app from ram when it's recalled but ram is fast and it would be even faster with a V6 under the hood lol
SWAP is impossible, because motorola kernel don't support it. So, as long as we can't compile our own kernel on Motorola Milestone, this will remain impossible.
Sent from my Milestone using XDA App

[Q] Help with rom installation?

Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Torin_93 said:
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Click to expand...
Click to collapse
Android Development is not for questions or Problems
Please post in the correct Forums
Moving to General
Torin_93 said:
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Click to expand...
Click to collapse
1 yes, you need cwm to put decrapified
2 once u install cwm, make sure ur battery is full (at least 50%, but i'll just say full) and make a backup using cwm of ur current system
3 see: 2
Sent from my VS910 4G using Tapatalk
S.Meezy said:
1 yes, you need cwm to put decrapified
2 once u install cwm, make sure ur battery is full (at least 50%, but i'll just say full) and make a backup using cwm of ur current system
3 see: 2
Sent from my VS910 4G using Tapatalk
Click to expand...
Click to collapse
Awesome thanks. Now I cant get the adb shell to work. ive done it on my dads phone before so im kinda familiar with it but the sdk still seems to be updating or whatever. Should it work when its finished?
Like when I type "adb devices" it says nothing can be found.
What operating system is ur computer on? Make sure you have installed the LG drivers if Windows.. also, doesn't hurt to be up to date w the sdk...
Sent from my VS910 4G using Tapatalk
Running windows 7 sdk updated drivers installed.
Im typing
cd C:\android-sdk\tools\
adb devices
nothing pops up. It says it isnt recognized?
1. install and update adb sdk.
2. Plug your phone in and install the drivers so it is recognized by windows as the revolution.
3. once 1 and 2 are done set your phone to internet only and turn on debugging.
4. now try adb
Torin_93 said:
Running windows 7 sdk updated drivers installed.
Im typing
cd C:\android-sdk\tools\
adb devices
nothing pops up. It says it isnt recognized?
Click to expand...
Click to collapse
also it is cd c:\android-sdk\platform-tools\
Haxcid said:
also it is cd c:\android-sdk\platform-tools\
Click to expand...
Click to collapse
I just figured out it was\platform-tools\
Like wtf they moved it? lol
I also forgot about internet mode. Im going to give it a go and if I bump into any problems I will let you know
Once I try to get su access (after checking adb access) it says not recognized. Why?
Torin_93 said:
Once I try to get su access (after checking adb access) it says not recognized. Why?
Click to expand...
Click to collapse
we're still getting cwm on...? and u already put recovery-cwm-pr1.img on ur sd?
S.Meezy said:
we're still getting cwm on...? and u already put recovery-cwm-pr1.img on ur sd?
Click to expand...
Click to collapse
Yes its there
But the su command wont work
You have skype? I could screen share.
Torin_93 said:
Yes its there
But the su command wont work
You have skype? I could screen share.
Click to expand...
Click to collapse
Make sure your screen is on when you type su so you can accept super user permission on your phone.
Sent from my VS910 4G using XDA Premium App
After I type adb devices I get the list then its:
C:\android-sdk\platform-tools>su
Right?
Cause it says not recognized
No type, adb shell, then at the next line enter su
Sent from my VS910 4G using XDA Premium App
mtmichaelson said:
No type, adb shell, then at the next line enter su
Sent from my VS910 4G using XDA Premium App
Click to expand...
Click to collapse
Great thanks!!! Im in
cat /dev/zero > /dev/block/mmcblk0p14
write: no space left on device
cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14
no such file or directory.
Im so confused. Now what.
Thanks for everyones help so far You guys are amazing!
Torin_93 said:
cat /dev/zero > /dev/block/mmcblk0p14
write: no space left on device
cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14
no such file or directory.
Im so confused. Now what.
Thanks for everyones help so far You guys are amazing!
Click to expand...
Click to collapse
If you are copying it in Windows, copy it to the drive marked "internal." If not, then this is telling you that file isn't on your sdcard. You need to move it there.
Its in the internal. Should it go in a folder? What about the fact that it says no space left on device?
I have plenty of space?
Torin_93 said:
Its in the internal. Should it go in a folder? What about the fact that it says no space left on device?
I have plenty of space?
Click to expand...
Click to collapse
It shouldn't need to go in a folder. The error message about space is normal (expected).

Categories

Resources