exploring apps2sd - G1 Q&A, Help & Troubleshooting

is there a way to do it on the phone through a file explorer from the market? id like to copy the apk's to fat32 or pc and reinstall after I change ROMs (don't wanna loose my paid apps). I don't have any partition programs or internet right now and don't wanna deal with commands. ill find someway to format my ext2 if I can save to pc. maybe someone can suggest a simple light partition utility program I could download using tether on edge speed.
I'm running Cyanogenmod 1.4 + jf recovery if it helps.

phatmanxxl said:
is there a way to do it on the phone through a file explorer from the market? id like to copy the apk's to fat32 or pc and reinstall after I change ROMs (don't wanna loose my paid apps). I don't have any partition programs or internet right now and don't wanna deal with commands. ill find someway to format my ext2 if I can save to pc. maybe someone can suggest a simple light partition utility program I could download using tether on edge speed.
I'm running Cyanogenmod 1.4 + jf recovery if it helps.
Click to expand...
Click to collapse
try astro (free) you should be able to see it
Root Explorer is the better option but its paid.
paragon has a free ext viewer (im not sure if thats what your looking for)
but you can easily back them up to your pc
Copy the following into notepad, save it and put it in the folder where you would like to back up your files. rename it from name.txt to name.bat
hook up your phone to your pc, and double click the .bat file
Code:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
all you have to do is set up adb
its much easier than copying them over one by one
note the above is for apps2sd set up already

Related

Backup Android SD contents to desktop?

One thing I miss about my windows mobile device is the ability to backup the device to the desktop.
A search on Market didn't turn up anything.
Any options?
keenerb said:
One thing I miss about my windows mobile device is the ability to backup the device to the desktop.
A search on Market didn't turn up anything.
Any options?
Click to expand...
Click to collapse
When you say sd contents, are you refering to the fat32 partition of your sd card? You can just mount it to your computer and copy and paste it over.
Or you could also use ADB
Code:
adb remount
adb pull /sdcard desktop/backup
If you want the ext2/3/4 partition, it would be
Code:
adb remount
adb pull /system/sd desktop/backup
(I used "desktop/backup" as an example but you can pull the data to anywhere on your computer that you want)
As for a linux-swap partition, there's nothing in there that you would need/want to backup.
yeah, I know I can do that, but I'd like it to happen automatically.
I wish we had cron or some way to schedule SH scripts on this thing.
As it is for now, I put a shell script in my root directory on the SD card that rsyncs everything with a folder on my desktop PC.
So, whenever I mount the phone, I'll just run the script and it'll get synced.
keenerb said:
yeah, I know I can do that, but I'd like it to happen automatically.
I wish we had cron or some way to schedule SH scripts on this thing.
As it is for now, I put a shell script in my root directory on the SD card that rsyncs everything with a folder on my desktop PC.
So, whenever I mount the phone, I'll just run the script and it'll get synced.
Click to expand...
Click to collapse
Doesnt Gscript allow u o schedule scripts?
pentace said:
Doesnt Gscript allow u o schedule scripts?
Click to expand...
Click to collapse
Hm, I don't know. I saw where it lets you RUN scripts, but I don't recall seeing a 'schedule' option.
Maybe that's in the full version, I'll check.
It would be awesome to tar/gzip a directory on the SD card and then just upload it to an FTP server, but I don't know if there's a secure ftp application in the Android console.
*edit*
Looks like busybox does support SCP, tar, gzip in a console.
I am writing up a script to tar/gzip a folder and then upload it to an IP address on my internal ftp server
Sadly, gscript does not appear to be capable of scheduling a job to run at a specific time.
Still, it's a step in the right direction.
Ideally, I'll have the following features:
Blacklist of folders to not sync.
Verify Wifi connectivity. (Don't want to eat up my monthly bandwidth!)
Establish VPN connection to home if not on home network.
Tar/gzip file
SCP to home server
Most of this is relatively straightforward...
BUT HOW TO SCHEDULE???
*/edit*
General all-around fail so far.
tar czvf daily.tar.gz DCIM Books works fine. Archives and zips my images and ebook library, not speedy but not too slow.
The SCP command is all fail though.
scp -i /root/key1 [email protected] /sdcard/daily.tar.gz
/bin/cp: No such file or directory
cp is in /data/expstick/xbin/bb/

Boot animation location issues

ok so my data cable got wrecked (waiting for new one to arrive) and im using swiftp to get files onto my droid so how do i get the boot animation into data/local since astro and my computer wont let me view anything inside the data/ folder? i have terminal emulator app on my phone but not sure how to use the comands. how would i move bootanimation.zip into the correct directory?
Simple fix
Just search "Wireless ADB" on the Market, once you've got it set up (Google is your friend, but seeing as how you're already set up using swiftp sounds like you're good to go lol), do a little more Googling for the Terminal commands you'll need for ADB. Any questions, PM me and I'll do my best to help ya out (^_^)>b
Just use Root Explorer. It'll let you move, delete, copy, etc. any file anywhere all over your phone.
YoungSinema said:
Just use Root Explorer. It'll let you move, delete, copy, etc. any file anywhere all over your phone.
Click to expand...
Click to collapse
I agree. I just got Root Explorer on the Market and it works very well. You can also extract and compress zips. By far, the best file explorer I've used for Android!

dbdata folder is empty

Hi.
I am following this video tutorial on how to sideload apps on the Samsung Captivate with AT&T.
youtube.com/watch?v=Zo9BIRXvNfw
But, my dbdata folder is empty when I view it with DroidExplorer. It was also empty when I used ES File viewer. Why might this be?
I did install the Clockwork mod, but I factory reset my phone.
Those files are pretty much secure.. the only way I know to see those files are through Root Explorer.
if you want to sideload apps the easiest way is to just use Wonder side loading machine or something.. or if you have droid explorer.. go to batch installer.. then choose the .apk you want to install ( make sure your phone is in debugging mode)
Btw.. you can't really use droid explorer.. unless you have busy box.. and I believe busybox requires being rooted. So IMO, use the sideloader wonder machine

Accessing apk files

Thank you in advance, this is a great community.
I am running cognition 3.04 and making my first attempt at transparent widgets. However, I am uncertain if I am properly set up to access and reinstall apk files. I can find them on my phone using the file explorer in Andriod Mate. However, it appears that when I plug my phone into the usb or use any other file exploring software, the base directory is /mnt/sdcard/ . I feel that I am missing a critical component of this process, as I do not have ready access to the files I need to alter and eventually replace.
Thank you again,
Dez
Dezdemona said:
Thank you in advance, this is a great community.
I am running cognition 3.04 and making my first attempt at transparent widgets. However, I am uncertain if I am properly set up to access and reinstall apk files. I can find them on my phone using the file explorer in Andriod Mate. However, it appears that when I plug my phone into the usb or use any other file exploring software, the base directory is /mnt/sdcard/ . I feel that I am missing a critical component of this process, as I do not have ready access to the files I need to alter and eventually replace.
Thank you again,
Dez
Click to expand...
Click to collapse
You would need to copy them from ur /system/app folder to some folder on ur sdcard to see them on computer.
Below is the file system layout.
/ (root)
/system
/system/app
/...
/...
/...
/sdcard
/sdcard/...
/sdcard/...
/sdcard/...
/sdcard/external_sd
/sdcard/external_sd/...
/sdcard/external_sd/...
/sdcard/external_sd/...
When u connect to computer, it mounts only the internal and external sd cards. It does not mount the system areas like system, data, etc.

[WEBTOP][Bell][Mod] SimpleTop 07/05/2012

Here is what I have done for my personal webtop so far.
Download
To install:
Make a partition on a SDCard, formatted ext3, so that the first partition is FAT, second partition is EXT3.(2GB should be fine, YEMV)
Extract contents of osh2.tar.bz2 to this ext3 partition.
Make a backup of /osh/ubuntu.sh
Overwrite /osh/ubuntu.sh with the one on the root of the SDCard's EXT3 partition.
Backup your /data/home/adas folder.
Remove /data/home/adas, leaving just /data/home.
Reboot the phone.
You will need Linux to extract the tar properly and create the SDCard partitions.
You do not need to be unlocked or have a different kernel, you just need to replace ubuntu.sh, so rooted, temp root, whatever. I created everything from a stock Bell phone. Android 2.3.6. If anything doesn't work, just replace ubuntu.sh with the original file or just remove your sdcard.
Cheers!
edit: changed link
what has been modified:
fuse based smbnetfs installed, stock kernel can access windows shares and play video using motorola hd media center.
open office installed, gimp, some games
lxde set up, theme preconfigured.
No need for dependencies to be fixed or webtop to sd apps run, has zero errors and sudo apt-get dist-upgrade has completed without errors several times so adding extra sources and doing dist-upgrade won't cause errors.
Replaced firefox 7 with 8, rest is Bell webtop.
Been installing and playing with it for a while now, can't recall all the mods.
Yes, you can put the tarball on the phone and extract it to the sdcard that way, you just need to mount the partition. I keep a copy in internal memory to be able to restore when I install/uninstall something I shouldn't.
EDIT:
If you use xarchiver from another webtop to untar the archive, you may need more than 2GB.
Can you put the .tar file on the phone and extract there? I ask because I only have access to Windows machines. Creating the partitions on the sdcard is easy with MiniTool Partition on Windows.
I am can't downloading this file, webserver says: "This file is no longer available."
How has this webtop been modified?
Ramble via webtop:
My approach is to avoid established scripts for fixing dependencies and apps for moving webtop to sd card. Not that I have anything against those, but they were developed using ATT phones and might miss some compatibility with Bell.
One key difference for getting going from scratch is that I installed a standard armel busybox from the busybox site, that avoided a lot of errors when installing debs. Not sure where the busybox comes from in apps2sd but it is not as up to date and results in more errors with missing command line options.
I also didn't want to change/replace the contents of the phone too much so I could easily revert to stock, there is this ICS rumour..
This is what I did:
Starting off I updated the sources.list to be jaunty and just worked through the errors by installing debs manually. lxterminal was installed via deb and tomoyo was disabled by renaming the init and start files. Basically, I did a force install via deb file of some rootfs package contents, coreutils, cpio, dbus, dhcp, gpgv, grep, udev. All references to -mot versions were stripped of the -mot suffix so they could be more easily upgraded. I left the references to ~mot and -motorola in the versions of packages, not sure why, just did. Eventually I got to a place where synaptic was installed and I had no errors. Saved the state in a tarball and kept experimenting with installing things.
I really wanted a home folder elsewhere than /data/home but there are too many hard references to it in webtop for stability, I found a lot in scripts but I suspect they are in binaries as well. You can rbind once in webtop but you need it to have stuff in there during boot, not mix and match configs.
I tried an external hard drive, but there is a fundamental flaw in that logic, they only turn on once you open the lid of the lapdock, so you can't have boot files on it.
I copied the firefox-8.0 from ATT, deleted firefox-7, updated the soft links to point to the 8 version, redid profile.zip to have xda be the home page and adblock installed already, tossed in .xdg-bookmarks to add Network to pcmanfm. I originally had all the home folder stuff in profile.zip but some part of the scripts mess with settings and not everything was carrying over.
So, I did a tarball of my home dir's dot files and put it in /osh2/home/adas so when I do a factory reset and adas is wiped it restores my config. Tip: removing the entire adas folder gives you the same effect for webtop as a factory reset. Reboot and you are back to where you were.
I tried all the window managers, avant/awn anything is annoying when it shifts items left and right when an app opened or closed. I was able to have the stock awn working with a cairo menu, but it still shifted things left and right and was slow. I tried recompiling awn on the phone to get the option to just have launchers but there is this tendency for anything new you compile to require a new libc6. Xfce is cool, menu looked odd though, went with lxde, easy enough to switch if you want. Note: Compiz anything is a waste of time.
I have removed the stock webtop theme and replaced it with clearlooks and murrine window decoration. lxpanel is transparent via manual hack of the config file, the gui for changing things always sets alpha to 0, bug into the prefs app.
I could go on and on, but I like what I have done so far, thought I would pass it along. The main bit for me is not having to install a new kernel or wipe existing partitions, make a lot of phone mods, a pure stock phone can have a custom webtop, just needs to be rooted to copy one file over. Also, I like being able to watch tv shows on my lapdock, worth the price of admission right there for me.
Oh, size is around 1.4GB untarred, so it's a least a 2GB ext3 partition. I have an option in there for using mmcblk1p3 for var if you want to copy var over there formatted with smaller clusters. There are a few flags to control things, if you didn't want to remove your sdcard, touch /osh/no_osh2 and reboot the phone to disable. /osh/var_ownp enables the mounting and use of a third partition on the sdcard dedicated to /var. Use that one carefully, commit to it before installing a lot of things, having a mix and match could break the custom webtop.
Cheers!
Thanks for putting this up, I'd like to give it a try but am having difficulties, possibly cause i'm running Nochatrix (ATT 2.3.6).
When you say 'extract properly' to the EXT3 partition, what command would you use? Should extracting first then copying over work? Because I tried that, and it didn't!
Cheers
It has to be linux, either on the phone or on a pc so that tar -xvf will keep the ownership and file permissions.
VMware Player
CaelanT said:
Can you put the .tar file on the phone and extract there? I ask because I only have access to Windows machines. Creating the partitions on the sdcard is easy with MiniTool Partition on Windows.
Click to expand...
Click to collapse
Download VMware Player and the free copy of linux.. now you can run Linux.. :highfive:
https://my.vmware.com/web/vmware/evalcenter?p=player
NFHimself said:
... so that tar -xvf will keep the ownership and file permissions.
Click to expand...
Click to collapse
That's it, thanks. I was over-complicating things, putting in unnecessary arguments and trying to copy it over using -C. In the end I just copied the tar to the EXT3 and just unpacked it there.
Anyways, it works great! Everything ive quickly tried works nicely, openoffice, synaptic, Gnometris , etc, it's clean and quick, just what I was after.
can make a .zip CWM flashable file???
---------- Post added at 08:37 PM ---------- Previous post was at 08:37 PM ----------
jpinoy said:
Download VMware Player and the free copy of linux.. now you can run Linux.. :highfive:
https://my.vmware.com/web/vmware/evalcenter?p=player
Click to expand...
Click to collapse
where can i find Linux OS??
It work on stock 2.3.4?
It work on stock 2.3.4?
Click to expand...
Click to collapse
I haven't tested it, the webtop is from Bell's 2.3.6, probably not a large difference, but can't say for sure.
Can you make a CWM zip?
Click to expand...
Click to collapse
Yes, I can.
Cheers!
Chimpdaddy;[URL="tel:28700385" said:
28700385[/URL]]That's it, thanks. I was over-complicating things, putting in unnecessary arguments and trying to copy it over using -C. In the end I just copied the tar to the EXT3 and just unpacked it there.
Anyways, it works great! Everything ive quickly tried works nicely, openoffice, synaptic, Gnometris , etc, it's clean and quick, just what I was after.
Click to expand...
Click to collapse
Glad you like it!
Cheers!
I'd love to give this one a try. I'm using Webtop2SD right now. Can someone give a more detailed step-by-step instruction please?
Chimpdaddy;[URL="tel:28700385" said:
28700385[/URL]]That's it, thanks. I was over-complicating things, putting in unnecessary arguments and trying to copy it over using -C. In the end I just copied the tar to the EXT3 and just unpacked it there.
Anyways, it works great! Everything ive quickly tried works nicely, openoffice, synaptic, Gnometris , etc, it's clean and quick, just what I was after.
Click to expand...
Click to collapse
qaplus;[URL="tel:28824484" said:
28824484[/URL]]I'd love to give this one a try. I'm using Webtop2SD right now. Can someone give a more detailed step-by-step instruction please?
Click to expand...
Click to collapse
This does not use webtop2sd, so you would need to uninstall that first as it would likely cause problems.
Not sure how detailed you need instructions.
Cheers!
NFHimself said:
I haven't tested it, the webtop is from Bell's 2.3.6, probably not a large difference, but can't say for sure.
Yes, I can.
Cheers!
Click to expand...
Click to collapse
Thanks, but not seeing any zip on OP .....
I have limited experience with linux. What I got:
1. AT&T Atrix on 2.4.6.
2. Webtop2SD created ext3 partition on SD card.
What I plan to do:
1. Wipe ext3 partiion and copy the SimpleTop tar file to it
2. Log into Webtop ( boot from the Webtop partition from the internal sd card)
3. backup .sh and adas folder
4. untar simpletop in the ext3 partition
5. copy the new .sh file.
Will these steps work? I feel it's bit dangerous to do this on the phone. But how can I do this on a windows computer?
Thanks for any suggestions.
qaplus said:
I have limited experience with linux. What I got:
1. AT&T Atrix on 2.4.6.
2. Webtop2SD created ext3 partition on SD card.
What I plan to do:
1. Wipe ext3 partiion and copy the SimpleTop tar file to it
2. Log into Webtop ( boot from the Webtop partition from the internal sd card)
3. backup .sh and adas folder
4. untar simpletop in the ext3 partition
5. copy the new .sh file.
Will these steps work? I feel it's bit dangerous to do this on the phone. But how can I do this on a windows computer?
Thanks for any suggestions.
Click to expand...
Click to collapse
That is pretty much it. Just remember to be super user and include -p if using tar for backup. Tar -cvpjf /sdcard/ADAS.tar.bz2 . for example. Also, you don't want to be in webtop2sd mode if you are doing this but from a rooted webtop on the the phone itself. Or you could do it all from an adb shell.
Cheers!
Sent from my MB860 using xda premium
NFHimself said:
That is pretty much it. Just remember to be super user and include -p if using tar for backup. Tar -cvpjf /sdcard/ADAS.tar.bz2 . for example. Also, you don't want to be in webtop2sd mode if you are doing this but from a rooted webtop on the the phone itself. Or you could do it all from an adb shell.
Cheers!
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
I haven't used adb before. Can you list the commands in adb to install this? Thanks.
qaplus said:
I haven't used adb before. Can you list the commands in adb to install this? Thanks.
Click to expand...
Click to collapse
ADB is just a way to get a remote shell going over usb, so the commands are linux shell commands.
I would do something like this:
(Blank ext3 partition on sdcard, second partition)
adb shell
$ shsu
# mkdir /mnt/asec/osh2
# mount -t ext3 /dev/block/mmcblk1p2 /mnt/asec/osh2
# cd /mnt/asec/osh2
# tar -xvf /sdcard/osh2.tar.bz2
# cp /osh/ubuntu.sh /sdcard/
# cp ubuntu.sh /osh/
# cd /data/home
# tar -cvpjf /sdcard/adas.tar.bz2 .
# rm -r /adas
# sync
# umount /mnt/asec/osh2
# reboot
Cheers!

Categories

Resources